66 Commits

Author SHA1 Message Date
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
24f33730a0 feat(nav): animation is customizable
fixes #15851
2018-10-04 18:06:19 +02:00
3d985871e4 fix(tabs): badgeColor works again
fixes #15559
fixes #14840
2018-10-02 21:33:48 +02:00
5560dcd713 fix(all): avoid using focus() since it conflicts with HTMLElement
fixes #15810
2018-10-02 17:13:45 +02:00
a74fd6f414 chore(angular): update proxies 2018-09-25 21:02:40 +02:00
6da765b3d5 fix(): handle failure in hardware back button 2018-09-14 10:58:39 -04:00
239863465c fix(fab-button): add routerDirection
fixes #15551
2018-09-12 20:54:28 +02:00
3b957a6a59 chore(): update proxies 2018-09-05 23:50:11 +02:00
db1dbd40c2 4.0.0-beta.7 2018-08-30 19:12:15 +02:00
188dd12d9f chore(): update to latest stencil 2018-08-29 20:41:05 +02:00
e9e3d4bb9f chore(): update proxies 2018-08-27 19:29:02 +02:00
4a45effe8c fix(ripple-effect): using method invocation instead of events
fixes #15318
2018-08-24 22:58:12 +02:00
f204d4e8fb chore(): revert to using components.d.ts from latest stencil. 2018-08-24 11:17:07 -05:00
fe9a3e4f60 chore(): update to latest stencil release. 2018-08-23 14:18:40 -05:00
3d6caae13f chore(): update to latest stencil 2018-08-22 23:38:23 +02:00
9ddfb1bfee fix(angular): back navigation and back-button play better (#15293)
* fix(angular): use location instead of navigateByUrl
Closes #15290

* fix(angular): change router methods
2018-08-22 21:28:11 +02:00
f845803c04 chore(angular): update proxies 2018-08-16 15:47:49 +02:00
bae03d2d1c chore(): update angular 2018-08-08 11:13:39 +02:00
76b780f5d8 chore(angular): build 2018-08-01 17:48:19 +02:00
fc0d4c0776 fix(slides): update events to match swipers
Closes #14865
2018-07-30 17:00:31 -04:00
55ee69ff28 chore(angular): update proxies 2018-07-24 16:03:24 +02:00
12edfa003d chore(directives): update ng directives 2018-07-16 12:23:35 -05:00
2127fa2cec 4.0.0-alpha.10 2018-07-11 12:53:39 -05:00
a7f1f4daa7 refactor(components): update to use shadow DOM and work with css variables
- updates components to use shadow DOM or scoped if they require css variables
- moves global styles to an external stylesheet that needs to be imported
- adds support for additional colors and removes the Sass loops to generate colors for each component
- several property renames, bug fixes, and test updates

Co-authored-by: Manu Mtz.-Almeida <manu.mtza@gmail.com>
Co-authored-by: Adam Bradley <adambradley25@gmail.com>
Co-authored-by: Cam Wiegert <cam@camwiegert.com>
2018-07-09 12:57:21 -04:00
3bb661fa11 chore(angular): update angular tests to ng v6 and latest stencil 2018-05-16 11:40:28 -05:00
85702244f8 chore(angular): update proxies 2018-05-10 15:12:40 +02:00
427222cc29 refactor(item): remove no-lines attribute in favor of lines property (#14407)
* docs(components): update grammar and docs

* docs(item): update item documentation and add usage

* test(item): add lines test

* feat(list): add lines property to override borders on items

* feat(item): add lines property to override borders on items

* refactor(item): remove old uses of no-lines attribute

* fix(item-sliding): update item options to show border

- show the border on left options only if in a full list
- show the border on both options only if in an inset list (or ios by
default)
- don’t show border on either for no lines list (and md by default)

also renames isRightSide to isEndSide to match the side values

* chore(package): update package lock

* style(item): fix lint errors

* test(item): update item tests

* refactor(item): remove the custom styling of last child items

instead of us overriding first/last child items to have borders we are
going to add to the documentation how to style items with a full border

* fix(item): apply border to item inputs for MD mode

* docs(components): update docs based on new build

* docs(usage): update item usage to show lines being used

* fix(item): do not set the padding right to 0 on an item by default

* fix(item): cast lines to boolean

fixes: #5537 #13218 #12689 #12073 #9112
2018-05-07 17:16:11 -04:00
da0bfc7f7b fix(angular): update proxies 2018-04-30 18:53:20 +02:00
51ac33192b chore(): update to latest stencil 2018-04-23 17:46:44 +02:00
ae0541a465 chore(): update dependencies 2018-04-22 20:08:02 +02:00
4ea8881f33 refactor(all): enable strictPropertyInitialization 2018-04-19 18:48:38 +02:00
a47f138b31 chore(angular): update angular proxy 2018-04-13 15:10:22 -05:00
db5313e45b fix(angular): icon proxy 2018-04-13 15:01:17 +02:00