Commit Graph

8967 Commits

Author SHA1 Message Date
Manu Mtz.-Almeida
fd82716c8a chore(): update ionicons 2018-11-15 18:34:16 +01:00
Brandy Carney
e9e33add55 fix(segment-button): make layout optional 2018-11-15 12:33:42 -05:00
Brandy Carney
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
Manu MA
6d5944613a fix(ripple-effect): follow MD spec (#16330)
* fix(ripple-effect): follow md spec

* add box-shadow back

* add ripple effect to alert and action-sheet
2018-11-15 16:08:39 +01:00
Manu MA
02a266cc85 fix(tab-button): layout is mutable (#16332) 2018-11-15 15:35:16 +01:00
Manu MA
bd3ca42ea0 fix(checkbox): align vertically (#16331) 2018-11-15 15:20:56 +01:00
Ire Aderinokun
f58a7c05e8 style(fab): fix typo in height variable (#16227) 2018-11-14 17:04:59 -05:00
Brandy Carney
188a63546a fix(toast): update toast design to match MD spec (#16323)
Updates the Material Design Toast to closer match the spec: https://material.io/design/components/snackbars.html

- Updates the animation to use opacity, not translate
- Updates design with the right background, box-shadow, etc.
- Fixes the broken position middle of toast and updates e2e test to include this
- Allows for line breaks to be passed in the message

fixes #16271
2018-11-14 15:21:27 -05:00
Manu Mtz.-Almeida
adae8d4ad1 fix(angular): adds tabs stack 2018-11-14 19:26:19 +01:00
Manu Mtz.-Almeida
d9172b7d68 fix(angular): disable transition heuristics by default 2018-11-14 19:26:19 +01:00
DavideCan
4c525fd9f7 docs(changelog): fix the quotes in the HTML code 2018-11-14 13:31:56 +01:00
Manu Mtz.-Almeida
108691dc44 fix(angular): add swipe-to-go-back gesture 2018-11-14 13:22:31 +01:00
Manu Mtz.-Almeida
bfbbeca389 perf(angular): remove duplicated code in value-accessor 2018-11-14 13:22:31 +01:00
Manu Mtz.-Almeida
3ac05214f1 chore(): update to angular 7 2018-11-14 13:22:31 +01:00
Cam Wiegert
5d0050157e fix(range): increase MD horizontal padding (#16312)
This increases the horizontal padding on Material Design
range to prevent clipping within item.
2018-11-13 10:42:45 -06:00
Cam Wiegert
0fec72255b fix(alert): use tint for md button active background (#16278) 2018-11-08 18:23:18 -06:00
Kevin Ports
8e2a6ddd75 fix(toggle): match MD toggle track background for off state (#16277) 2018-11-08 15:20:44 -06:00
Cam Wiegert
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
Kevin Ports
6794447e10 fix(list-header): match MD bottom margin, match MD text color (#16274) 2018-11-08 14:05:55 -06:00
Kevin Ports
595786735c fix(searchbar): align cancel button to center with search icon position (#16259) 2018-11-07 16:31:21 -06:00
Cam Wiegert
bf96260b6b test(searchbar): add focused state screenshot (#16261) 2018-11-07 15:43:18 -06:00
Cam Wiegert
93ae2c8f66 docs(alert): document custom properties (#16251)
references #14850
2018-11-06 16:05:19 -06:00
Cam Wiegert
2fcff2c263 docs(action-sheet): document custom properties (#16250)
references #14850
2018-11-06 15:36:25 -06:00
Cam Wiegert
6d3042efe5 docs(menu): document custom properties (#16249)
references #14850
2018-11-06 12:50:06 -06:00
Cam Wiegert
3ecefcbf1e test(menu): add buttons and test push type (#16247)
- Augments the menu component's tests to include buttons for non-automated usage
- Uses the push type for one of the menus.
2018-11-06 11:55:34 -06:00
Cam Wiegert
fda48a0e52 docs(tabs): document custom properties (#16225)
* docs(tab-bar): document custom properties

* docs(tab-button): document custom properties

* chore: fix lint error
2018-11-05 07:47:57 +01:00
Cam Wiegert
07571265a3 fix(range): use fully opaque base in color active bar (#16224)
This fixes a specificity issue where Material Design ranges with a color attribute wouldn't apply a fully opaque color to the active portion of the range bar.
2018-11-04 17:44:31 -06:00
Brandy Carney
3c9ed3166d fix(backdrop): update opacity to match MD spec (#16188) 2018-11-04 14:04:06 -05:00
Brandy Carney
e416c23b3b fix(item): update to match Material Design spec (#16182)
- splits the item min height by mode
- removes padding end from the slotted end components in favor of using 16px on the item
- updates the icon color to lighter gray (rgb)
- removes font size change from text wrapped labels
- add list spec test to include MD examples

fixes #14799
2018-11-04 10:58:57 -05:00
Manu MA
091625df64 fix(all): update types to be required (#16218) 2018-11-03 20:54:58 +01:00
Manu MA
a9811169fc fix(angular): es6 build (#16207)
fixes #15979
2018-11-03 02:14:33 +01:00
Manu MA
d817cc3b30 fix(input): scroll assist works in with shadow-dom (#16206)
fixes #15888
fixes #15294
fixes #15895
2018-11-03 01:35:38 +01:00
Manu Mtz.-Almeida
0abf992a13 fix(inputs): inherit in edge causes problems 2018-11-03 01:20:14 +01:00
Manu Mtz.-Almeida
59bee23734 fix(input): remove clear icon in edge 2018-11-03 01:20:14 +01:00
Manu MA
a8be5291bb fix(label): placeholder + floating label (#16111)
* fix(label): placeholder + floating label

* fix placeholder type

* update docs

* uodate docs
2018-11-02 22:15:28 +01:00
Brandy Carney
4a2a458cc9 docs(breaking): update breaking changes to include css vars (#16201) 2018-11-02 12:52:59 -04:00
Manu MA
0680fe9251 docs(all): add global config docs (#16193)
* docs(all): add global config docs

fixes #16109

* lint issue

* add tabButtonLayout

* tabs docs
2018-11-02 17:30:37 +01:00
dwieeb
bc57ca9415 chore(ci): lock in node version (#16200)
We were using `circleci/node:latest-browsers` as the Docker image, and I believe it was recently updated to Node 11, which is not supported by our version of node-sass.
2018-11-02 10:41:51 -05:00
Manu MA
ecc2c55370 docs(all): possible values are extracted by stencil (#16190)
* docs(all): possible values are extracted by stencil

* add defaults

* remove all hardcoded defaults

* update stencil
2018-11-02 00:06:40 +01:00
Brandy Carney
335acf96ee fix(menu): update box-shadow for MD to match spec (#16183) 2018-11-01 15:48:33 -04:00
Cam Wiegert
240171a928 fix(checkbox): match MD spec (#16186)
* fix(checkbox): prevent transition inheritance

* fix(checkbox): use SVG for checkbox icon

* fix(checkbox): match MD spec size

* refactor(checkbox): use height/width custom props over size

* fix(checkbox): match MD spec off state border color

* feat(checkbox): animate check path for MD
2018-11-01 14:13:06 -05:00
Manu Mtz.-Almeida
9b33e28d4b 4.0.0-beta.15 v4.0.0-beta.15 2018-11-01 19:55:36 +01:00
Manu Mtz.-Almeida
1badf58014 chore(): bypass version check 2018-11-01 19:50:09 +01:00
Manu Mtz.-Almeida
72f0a76a1f fix(tabs): use slot instead of placement 2018-11-01 19:26:05 +01:00
Manu MA
1532bd2f48 fix(tab-bar): safe-bottom area is applied correctly (#16179)
* fix(tab-bar): safe-bottom area is applied correctly

fixes #16175

* add test
2018-11-01 18:29:33 +01:00
Manu MA
9c79d9856f fix(searchbar): fix crash on cancel event (#16181)
fixes #16143
2018-11-01 18:17:28 +01:00
Manu MA
fce30ebc06 fix(color): edge currentColor bug (#16177)
fixes #16168
2018-11-01 12:14:31 -05:00
Adam Bradley
1935deb012 test(input): fix input e2e (#16180) 2018-11-01 11:48:16 -05:00
Cam Wiegert
28322379e4 test(all): add medium weight of Roboto for screenshots (#16178) 2018-11-01 10:56:05 -05:00
mhartington
0f9faf8eed doc(): add new docs around tabs 2018-11-01 10:50:35 -04:00