98 Commits

Author SHA1 Message Date
f912206af8 feat(item-sliding): add open method (#17964)
resolves #17899
2019-05-07 11:43:19 -04:00
38ffb98421 feat(img): add ionImgWillLoad event and emit ionImgDidLoad when image is loaded (#18159)
- Adds `ionImgWillLoad` event that emits when the img src is set
- Moves the `ionImgDidLoad` event emit so that it happens when the image actually finishes loading

fixes #17652 closes #18161
2019-05-01 16:03:16 -04:00
a5b9066fee feat(searchbar): add disabled property (#17935)
closes #17921
2019-04-22 11:37:58 -04:00
04f931f694 feat(img): add ionError event (#17134)
resolves #16947
2019-03-27 10:58:03 -04:00
016fa16d44 feat(range): add ticks attribute (#17718)
closes #17717
2019-03-26 14:33:16 -04:00
c641ae10ed feat(checkbox): implement indeterminate state (#16951)
This adds an `indeterminate` prop to the `ion-checkbox` component, which visually renders the checkbox with a dash to indicate an indeterminate state.

closes #16943
2019-03-04 11:16:41 -05:00
69ecebb159 feat(select): add compareWith property (#17358)
* feat(select): add compareWith property

* style(select): fix lint errors

* test(select): move tests from preview to basic

* refactor(select): improve parameter names in compareOptions method

* chore(): add react usage docs

* chore(): update var names, update examples

* rerun build

* add doc on compareWith
2019-03-01 14:46:42 -05:00
d66b12b8d4 feat(skeleton-text): adds animated prop and support for CSS styling (#17612)
* moves most of the CSS to the host element so that it's easier to customize the skeleton text
* adds auto inherit for border-radius
* moves height to 100% so it will naturally fill an avatar and thumbnail
* adds animated property defaulted to `false`
* removes mode specific styles as they're the same
* changes background to an rgba making it easier to customize
* still works outside of a container element
* adds usage examples for javascript and angular
* moves the width to the parent element making it easier to style
* adds the ability to style the width using CSS
* uses the global theme text color as the background if a custom background is not supplied before defaulting

closes ionic-team/ionic-docs#407
2019-02-27 17:27:34 -05:00
cf607329a3 chore(range): revert neutral point (#17550)
* Revert "fix(range): improved rtl support (#17479)"

This reverts commit f832de5f4ac1e7db5a2a1c48ca7b85ad7ef671b5.

revert range rtl support

* Revert "feat(range): add neutral point (#17400)"

This reverts commit 15acb4be37eef4d1c90229cf64fb836e249c225c.

revert neutral point
2019-02-20 15:57:28 -05:00
15acb4be37 feat(range): add neutral point (#17400)
* feat(Range): add neutral point

* feat(Range): generate proxies and api

* fix(): check positive case in neutralPointChanged

* fix(Range): neutralPoint to min if neutralPoint < min

* fix(Range): active bar style

* fix(Range): tick styling
2019-02-12 17:17:23 -05:00
78005089e4 docs(): rebuilding 2019-01-30 10:53:24 -05:00
d169ebdf6d docs(): rebuild docs 2019-01-30 10:41:21 -05:00
d3b6e60adf fix(icon): update ionicons to flip for rtl (#17196)
- updates to latest ionicons 4.55 and adds rtl test
- includes e2e test for RTL icons

references #17012
2019-01-22 13:37:39 -05:00
835aea9c4a feat(slides): expose updateAutoHeight (#17208)
fixes #15079
2019-01-22 16:00:25 +01:00
a90084c077 feat(input): add getInputElement() (#17183)
expose internal <input> element

fixes #17174
2019-01-21 17:19:40 +01:00
d513e8a952 feat(datetime): add readonly prop (#17139) 2019-01-18 17:24:58 +01:00
d3b866b290 refactor(all): remove ionChange in non-inputs (#17101)
fixes #17071
2019-01-14 21:43:24 +01:00
8789748334 test(angular): add more ViewChild and event tests (#17099) 2019-01-14 17:38:31 +01:00
44fb45e2bc perf(angular): bundle size improvements for angular (#16966) 2019-01-07 22:05:36 +01:00
cda2573fdd chore(): update stencil (#16921)
* chore(): update stencil

* fix angular
2018-12-31 17:35:33 +01:00
09726b0d35 feat(radio-group): add missing implementation for property allowEmptySelection (#16880)
fixes #16841
2018-12-31 17:24:44 +01:00
6ca7645258 fix(tab-button): allow standalone tab-button (#16905)
* fix(tab-button): allow standalone tab-button

fixes #16845

* fix lint issue
2018-12-31 12:51:36 +01:00
ca9ec3e18a perf(angular): proxy fast properties (#16888)
* perf(angular): proxy fast properties

* update stencil
2018-12-28 18:37:24 +01:00
e8cec60faf fix(fab-button): adding size prop instead of [mini] (#16692)
- Consistency with rest of API
- Auto docs
- Helps react

fixes #16680
2018-12-14 23:16:20 +01:00
a6a17235d0 fix(item-divider): use prop for sticky (#16691) 2018-12-11 23:06:14 +01:00
2933f61e8d fix(react): add class based APIs (#16665)
fixes #16583
2018-12-11 01:08:00 +01:00
9167fb4fe1 feat(progress-bar): add progress bar component (#16559)
resolves #16558
2018-12-10 17:03:52 -05:00
437ad09122 refactor(angular): lazy loading tabs (#16637)
Fixes #16619
2018-12-08 17:23:39 +01:00
28b40fc725 refactor(angular): prefix all ionic components (#16618)
fixes #16550
2018-12-07 00:39:07 +01:00
8029df344a fix(segment): set colors in the parent segment and remove the unused color property (#16590)
* style(theming): clean up sass TODOs

* fix(item): use proper padding on small buttons in an item

* refactor(components): remove color from unused components

* chore(components): update build files to remove color

* fix(tab-bar): remove unused layout prop

* test(segment): add custom test and update standalone

* docs(segment): update usage examples to remove layout

* test(segment): update tests to remove layout

* test(tab-bar): update tests to remove layout

* fix(segment): set the colors in the parent segment

but use them in the child segment button

This allows the user to customize all of the segment buttons from segment, while still allowing the `color` property to take precedence, and they can also edit the segment button colors directly if desired.

This actually fixes some bugs surrounding colors and allows customization for a segment inside of a toolbar.

references #14853

* style(sass): fix lint errors

* chore(build): build files

* fix(segment-button): use transparent background

* docs(segment-button): add color activated back

* why does the build hate me

* fix(segment): set initial css variables to avoid inheriting

* fix(segment): set initial color activated

also add new line to the nav readme because reasons

* test(segment): parent mode should match children
2018-12-06 00:12:14 +01:00
2884076834 feat(ripple): adds unbounded ripple-effect (#16399) 2018-11-20 23:37:54 +01:00
4dd4ccc4ce fix(mode): lazy load same component, two different modes (#16401)
* test(mode): lazy load same component, two different modes

* chore(package): update to stencil 0.16.0-4

* chore(ng): update ng proxies
2018-11-20 16:27:07 -06:00
fd79b57748 fix(inputs): fix aria with shadow-dom (#16329) 2018-11-16 19:26:55 +01:00
256745cd1e feat(segment): adds scrollable and layout props and updates to follow the spec (#16273)
Adds the ability to apply a layout to the segment button in order to better match the Material Design spec, updates the design and UI to match the spec more, and separates the segment button styles back into the proper directory.

- moves the segment button css back into segment-button directory
- updates the design to match the MD spec better
- adds layout property to match MD spec
- adds custom properties for better styling
- allows for overscroll / scrolling tabs via scrollable attribute
- changes the indicator to a div - will need to animate it
- updates e2e tests and add spec test

fixes #16232 fixes #16081
references #14853

BREAKING CHANGES

Segment Button now requires the text to be wrapped in an `ion-label` element for improved styling.

*Old usage:*

 ```html
<ion-segment-button>
  Item One
</ion-segment-button>
```
 *New usage:*

 ```html
<ion-segment-button>
  <ion-label>Item One</ion-label>
</ion-segment-button>
```

Note: this will not technically break your app, but the styles may look wrong.
2018-11-15 12:22:35 -05:00
adae8d4ad1 fix(angular): adds tabs stack 2018-11-14 19:26:19 +01:00
91f07bc097 refactor(chip): update styles, remove chip-icon and chip-button (#16264)
This reimplements chip, removing the extraneous chip-button and chip-icon components and updating the design to match the updated Material Design spec.
2018-11-08 14:58:29 -06:00
72f0a76a1f fix(tabs): use slot instead of placement 2018-11-01 19:26:05 +01:00
6d11cc15f8 fix(tabs): name prop is not longer used 2018-10-31 17:35:04 +01:00
c2f58038f5 perf(angular): disable async queue (#16118)
* perf(angular): disable async queue

* wip

* update proxy
2018-10-30 20:33:46 +01:00
aad7711af2 fix(datetime): can participate in native <form> (#16106)
fixes #16075
2018-10-26 19:01:39 +02:00
6a138a6c55 refactor(show): remove show/hide-when components (#16098) 2018-10-25 21:32:41 -05:00
ef6895acbd fix(inputs): disabled handling (#16071) 2018-10-25 22:50:06 +02:00
4d3ad67740 refactor(tabs): apply design-doc (#16048) 2018-10-25 22:13:19 +02:00
45b46b4695 fix(angular): generate proxies for ion-tabbar (#15954) 2018-10-15 13:34:07 -05:00
a72fced6fe fix(all): docs for all missing props 2018-10-11 16:24:08 -05:00
098bd826cd fix(fab-button): add and document css properties
references #14853 references #14850 closes #14808
2018-10-11 13:43:13 -05:00
e3bbfd0b05 refactor(tabs): ion-tabbar can be used in standalone mode 2018-10-09 15:32:43 -05:00
64b52b54e4 feat(menu): add new lifeycle events 2018-10-09 09:53:44 -05:00
5f659420fd fix(reorder-group): delegate dom reordering
fixes #15836
2018-10-08 09:46:37 -05:00
f885f7d10a fix(item): add input highlight using an absolute div (#15856)
Adds the following CSS properties to item:

```
--highlight-color-focused
--highlight-color-valid
--highlight-color-invalid
--highlight-height
```

This also fixes an issue where we were showing the highlight on items
with no lines, and shows inset vs full properly. Adds documentation and tests for input focus.

fixes #14036 fixes #9639 fixes #14952 closes #15690
2018-10-05 16:15:39 -04:00