938864e8d0
refactor(button): add ion-button attribute and icon attributes to style buttons
...
BREAKING CHANGES:
- `<button>` becomes `<button ion-button>`
- `<a button>` becomes `<a ion-button>`
- `<button ion-item>` does not get the `ion-button` attribute
- Buttons inside of `<ion-item-options>` do get the `ion-button`
attribute
- Removed the `category` attribute, this should be passed in
`ion-button` instead.
- Button attributes added for icons in buttons: `icon-only`,
`icon-left`, and `icon-right`
closes #7466
2016-08-16 17:11:02 -04:00
3c493652b2
test(): update to public navCtrl convention
2016-08-04 13:50:15 -05:00
dfb8ba4b98
docs(demo): update the item sliding demo so the archive does something
...
also hide pointer events on img
fixes #7547
2016-08-04 13:41:12 -04:00
108f821e99
docs(demos): clean up item sliding demo to simplify it
...
removed the toolbar styling and the reorder so it is just sliding.
references #7547
2016-08-04 13:16:21 -04:00
b5b804725f
refactor(select): rename the checked attribute to selected on option
...
BREAKING CHANGES:
The Option component’s `checked` attribute has been renamed to
`selected` in order to select an option. This is to the follow the MDN
spec for a select option:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
If a `ngModel` is added to the Select component the value of the
`ngModel` will take precedence over the `selected` attribute.
references #7334
2016-08-03 11:38:41 -04:00
ac8e4dce06
style(all): tslinter warnings
2016-07-19 13:31:46 -07:00
41064bf2be
refactor(tabs): rename tab input/config options to be more clear/consistent
...
BREAKING CHANGES:
Tab input/config options have been renamed. The following options were
renamed:
- `tabbarHighlight` -> `tabsHighlight`
- `tabbarLayout` -> `tabsLayout`
- `tabSubPages` -> `tabsHideOnSubPages`
- `tabbarPlacement` -> `tabsPlacement`
The previous names have been deprecated. They will still work in the
current release but will be removed in the future so please update to
the new names.
references #7143
2016-07-07 13:09:00 -04:00
ec99bfd019
feat(viewcontroller): add onWillDismiss callback
...
Fixed #6702
2016-06-30 08:06:19 -05:00
d993a1bfd8
fix(reorder): reorder can be used with any element
2016-06-30 01:14:21 +02:00
5119b57496
docs(segment): clean up docs on segment, update demo
...
the demo has been changed to show multiple segments in use, instead of
a lot of segments thrown on the page.
fixes driftyco/ionic-site#658
2016-06-29 17:16:02 -04:00
aad8f966a5
docs(demos): change the dot in item-reorder
2016-06-29 14:50:24 -04:00
1cad300622
docs(demo): update item reorder demo to use a playlist
2016-06-29 14:35:42 -04:00
2fc83c40d3
refactor(item): rename indices to indexes
2016-06-29 14:02:52 -04:00
08f22fb82b
docs(reorder): adds docs and demo for reorder directive
2016-06-29 17:35:33 +02:00
3fb58d95c3
demo(overlay): use injectable overlay controllers
2016-06-28 20:46:43 -05:00
3cd31c3d17
fix(menu): fix content going under header
...
Closes #7084
2016-06-28 16:22:39 -05:00
721b2bc4f0
demos(loading): update demo to beta10
2016-06-28 09:42:05 -05:00
bfdc898945
feat(item): sliding items work with list reorder
2016-06-24 17:57:21 +02:00
bd82c4d56f
docs(demos): fix tabs demo
2016-06-22 15:18:48 -04:00
05c7b8f0d7
docs(demos): update API demos so they all have ion-navs
...
- add spacing between imports
- alphabetize imports
- removed app.html files in favor of an inline ion-nav
- cleaned up config demo so it uses proper syntax
- use file name main.html for the first page for the demo
- name the app ApiDemoApp and first page ApiDemoPage
- replace the ion-toolbars with ion-navbars
closes #7019
closes driftyco/ionic-site#647
2016-06-22 14:45:49 -04:00
712ff81fb5
feat(list): add list headers and item dividers as items
...
- `ion-list-header` and `ion-item-divider` now take advantage of the
same content projection as the `ion-item`
- they are still styled as list headers and item dividers
- added docs and demos on this addition
closes #5561
2016-06-22 13:01:55 -04:00
927edfffcd
refactor(tabs): remove all uses of ion-navbar-section
2016-06-17 13:51:30 -04:00
33672aef62
demos(header): update header markup
2016-06-17 11:39:59 -05:00
db9fa7ead3
fix(item): improve open/close logic, update demos
2016-06-11 20:07:08 -05:00
82adf6f3d3
Feature/toast position ( #6804 )
...
* refactor(toast): refactored toast to support positions and clean up transitions a bit
refactored toast to support positions and clean up transitions a bit
* test(toast): added additional test
added additional tests
2016-06-08 11:54:31 -04:00
f8d1103eca
docs(input): add clear input example to demo and update doc to reflect
...
closes driftyco/ionic-site#618
2016-06-02 15:35:05 -04:00
fc819dd9c4
feat(range): add ability to add labels to the left/right of range
...
using `range-left` and `range-right` inside of `ion-range` will place
the element to the left or right of the range.
references #5422
2016-05-31 20:11:09 -04:00
e9d0c4569f
Merge branch 'ion-range' into 2.0
2016-05-31 18:47:58 -04:00
f7cf378042
docs(range): add API docs for range
...
references #5422
2016-05-31 17:09:07 -04:00
8a920a24a5
Merge branch 'bootstrap-refactor' into 2.0
2016-05-31 15:50:21 -05:00
774ab83637
demos(bootstrap): update to use ionicBootstrap
2016-05-31 15:49:56 -05:00
d24b080cb7
fix(range): fix styling on range, add demo
...
references #5422
2016-05-31 14:37:43 -04:00
6bd91f02a3
fix(popover): position MD popover on top of element clicked
...
fixes #6683
2016-05-31 13:40:36 -04:00
d563aa65a3
refactor(events): rename all Ionic events to start with ion
...
BREAKING CHANGES:
Renamed all Ionic events to start with `ion`. The following events were
renamed:
- **Checkbox**
- `change` -> `ionChange`
- **DateTime**
- `change` -> `ionChange`
- `cancel` -> `ionCancel`
- **InfiniteScroll**
- `infinite` -> `ionInfinite`
- **Menu**
- `opening` -> `ionDrag`
- `opened` -> `ionOpen`
- `closed` -> `ionClose`
- **Option**
- `select` -> `ionSelect`
- **Picker**
- `change` -> `ionChange`
- **RadioButton**
- `select` -> `ionSelect`
- **RadioGroup**
- `change` -> `ionChange`
- **Refresher**
- `refresh` -> `ionRefresh`
- `pulling` -> `ionPull`
- `start` -> `ionStart`
- **Searchbar**
- `input` -> `ionInput`
- `blur` -> `ionBlur`
- `focus` -> `ionFocus`
- `cancel` -> `ionCancel`
- `clear` -> `ionClear`
- **Segment**
- `change` -> `ionChange`
- `select` -> `ionSelect`
- **Select**
- `change` -> `ionChange`
- `cancel` -> `ionCancel`
- **Slides**
- `willChange` -> `ionWillChange`
- `didChange` -> `ionDidChange`
- `move` -> `ionDrag`
- **TabButton**
- `select` -> `ionSelect`
- **Tab**
- `select` -> `ionSelect`
- **Tabs**
- `change` -> `ionChange`
- **Toggle**
- `change` -> `ionChange`
Closes #6568
2016-05-31 12:01:46 -04:00
4db72cfc2c
feat(popover): fix long popovers that go off the page
...
Allow popovers to be of dynamic height and only cut them off when they
exceed the height of the body. Clean up styles for each mode.
references #5420
2016-05-25 12:12:18 -04:00
ff1680c26f
docs(popover): update config docs to include popover transitions
...
fix demos so the dot ripple displays correctly
references #5420
2016-05-24 14:13:09 -04:00
04a59d27a2
docs(demos): add popover API demo, tweak e2e demo
...
references #5420
2016-05-24 14:07:03 -04:00
6592981aac
test: fix all tests to remove app.getComponent
2016-05-20 21:07:29 -04:00
2b836a930f
chore(tests): correct components to use src path instead of ionic to ensure karma tests pass.
2016-05-19 16:58:08 -05:00
3817c91084
chore(demos): fix the index file and sass for local demos
...
references #6491
2016-05-19 14:59:40 -04:00
6113daf75e
fix(build): correct link in output.wp.scss file to old ionic directory.
2016-05-19 13:32:11 -05:00
c8f760f080
chore(build): rename ionic directory to src and update all references in the build process.
2016-05-19 13:22:40 -05:00
8598a2e2d2
fix(picker): use sanitizer on translate3d css prop
2016-05-19 11:06:30 -05:00
afd7cffbf1
docs(demos): datetime formatting updates
2016-05-17 09:12:05 -05:00
80bd1388a9
docs(demos): remove the time period from the paris time
2016-05-16 17:58:16 -04:00
d63b8ee635
docs(demos): fix datetime demo
...
references #5010
2016-05-16 17:16:59 -04:00
8935a6dda1
docs(datetime): update demo for datetime
...
references #5010
2016-05-16 16:38:39 -04:00
ea21c6ca3c
chore(angular): update to angular 2.0.0-rc.1
2016-05-16 14:55:08 -05:00
ba2826068f
docs(datetime): add docs for datetime and demos
...
references #5010
2016-05-16 11:51:18 -04:00
81cb0ff997
docs(config): update config docs to include a description for each property
...
also updated the demo to use quotes around the values.
references driftyco/ionic-site#585
2016-05-11 12:53:56 -04:00