Commit Graph

37 Commits

Author SHA1 Message Date
Brandy Carney
ce41d90715 docs(breaking): rename segment events heading to remove conflict with main events 2020-02-18 15:13:52 -05:00
Liam DeBeasi
46d43032ec chore(): update breaking docs for segment event (#20384) 2020-02-05 09:05:37 -05:00
Brandy Carney
43d00415a5 docs(breaking): remove references to removed global css vars (#20348) 2020-01-30 18:20:35 -05:00
Brandy Carney
ae4e28969f docs(breaking): copyediting 2020-01-28 15:59:53 -05:00
Liam DeBeasi
a0fc21deee chore(): update breaking changes doc for ion-radio (#20307) 2020-01-27 10:51:53 -05:00
Brandy Carney
1c2d64873e docs(list-header): update list header API changes and usage (#20289)
closes #20284
2020-01-24 16:06:54 -05:00
Brandy Carney
94159291b2 feat(components): improve button states and add new css properties (#19440)
Before users had to know the exact opacity that the MD/iOS spec called for in order to change the hover or focused background color. This allows them to change the background without having to know the opacity. 

- changes apply to Action Sheet (Buttons), Back Button, Button, FAB Button, Item, Menu Button, Segment Button, Tab Button
- greatly reduces the requirement by users to set the background hover, focused states for dark modes and custom themes, also eliminates the need to know what the hover opacity is for each based on the spec
- updates the MD dark theme per their spec
- adds a component guide for internal use changing Ionic components

references #18279 fixes #20213 fixes #19965

BREAKING CHANGE:

*Activated Class*

The `activated` class that is automatically added to buttons on press has been renamed to `ion-activated`. This will be more consistent with our `ion-focused` class we add and also will reduce conflicts with user's CSS.

*CSS Variables*

The `--background-hover`, `--background-focused` and `--background-activated` CSS variables on components that render native buttons will now have an opacity automatically set. If you are setting any of these like the following:

```
--background-hover: rgba(44, 44, 44, 0.08);
```

You will likely not see a hover state anymore. It should be updated to only set the desired color:

```
--background-hover: rgba(44, 44, 44);
```

If the opacity desired is something other than what the spec asks for, use:

```
--background-hover: rgba(44, 44, 44);
--background-hover-opacity: 1;
```
2020-01-23 16:57:47 -05:00
Manu MA
a5229d90ca refactor(): remove checked property in favor of parent value (#19449)
BREAKING CHANGE:


The following components have been updated to remove the checked or selected properties:

- Radio
- Segment Button
- Select

Developers should set the value property on the respective parent components in order to managed checked/selected status.

Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2020-01-17 17:22:26 -05:00
Brandy Carney
ad96c462a6 docs(breaking): update ionicons to link to its own changelog 2020-01-15 15:59:11 -05:00
Brandy Carney
6fc1612f42 docs(breaking): add breaking changes for v5 (#20156) 2020-01-13 11:29:29 -05:00
Brandy Carney
b5f5812bb4 docs(breaking): add a file to redirect to the new directory 2018-04-05 13:10:52 -04:00
Brandy Carney
dc326c3887 chore(angular): move breaking changes document to angular directory 2018-04-05 13:03:35 -04:00
Manu Mtz.-Almeida
926c8859ce docs(breaking): alert, actionsheet 2018-04-03 18:49:53 +02:00
Brandy Carney
98403fa883 docs(components): update menu and breaking changes 2018-03-27 16:47:23 -04:00
Brandy Carney
ce5b47ef99 refactor(toolbar): rename the slots to match other component behavior
`left` -> `start`
`right` -> `end`
`start` -> `secondary`
`end` -> `primary`
2018-03-27 16:45:26 -04:00
Brandy Carney
574c346d45 revert(toolbar): revert to use old button attributes
references #14172
2018-03-23 14:39:13 -04:00
Brandy Carney
779f02c932 docs(breaking): update the order and toc 2018-03-20 16:34:31 -04:00
Brandy Carney
e19b2142c5 refactor(component): update design to match the modes more 2018-03-20 15:54:33 -04:00
Brandy Carney
d3105d1a76 docs(breaking): add a section on the spinner name change 2018-03-20 12:57:44 -04:00
Brandy Carney
e8cf9927cc refactor(toolbar): remove the mode-start and mode-end slots
- adds examples of the new way to achieve this in the e2e tests
- updates breaking change to document the new slots properly and with
examples
- removes the first-child margin on buttons in toolbar
- removes the margin on ion-buttons

closes #14172
2018-03-19 17:47:52 -04:00
Brandy Carney
cc365f829d refactor(fab): combine boolean position attributes to string props
fixes #13596
2018-03-07 17:31:05 -05:00
Brandy Carney
b1dbc1b733 docs(breaking): update theming changes to account for sass imports 2018-02-27 12:40:44 -05:00
Brandy Carney
3b2c1c9b9a docs(breaking): update breaking changes to include colors and item 2018-02-22 13:22:27 -05:00
Brandy Carney
2f32ecc15a docs(breaking): update breaking changes to include item sliding markup 2018-02-09 22:41:30 -05:00
Brandy Carney
5ed6c71888 fix(item-sliding): fix the item options visibility and wrap the button
- updates documentation
- renames `getSlidingPercent` to `getSlidingRatio `
- adds expandable as a property to option
- renames classes and updates styles
- fixes a bug where active class wasn’t being removed on drag end

references #13993
2018-02-09 22:35:20 -05:00
Brandy Carney
b4854eac87 docs(breaking): add breaking changes for menu toggle 2018-02-01 12:26:58 -05:00
Cam Wiegert
262a2ec8d8 docs(button) fix table markdown in breaking 2018-02-01 11:23:49 -06:00
Cam Wiegert
4f66a01cbf docs(button) add size, fill, expand to breaking 2018-02-01 11:19:42 -06:00
Brandy Carney
6d56d05cab docs(icon): update docs to mention isActive being removed
updates tests to no longer use is-active property
2018-01-12 13:00:40 -05:00
Brandy Carney
aa6ace9280 feat(text): add text component and documentation
also adds to the breaking changes file
2018-01-09 11:52:26 -05:00
Brandy Carney
b07eef63ad docs(item): add item group docs and update breaking changes 2018-01-09 10:25:50 -05:00
Dan Bucholtz
45c9f520f8 docs(): update nav breaking changes 2018-01-08 23:38:01 -06:00
Cam Wiegert
a47e2e87aa docs(breaking) update chip-button fill usage 2018-01-08 14:39:43 -06:00
Brandy Carney
c747f1e294 docs(select): add docs for select and add to breaking changes 2017-12-22 11:44:55 -05:00
Brandy Carney
11c954b283 refactor(sass): separate sass variables from styles (#13547)
* refactor(sass): separate sass variables from styles

also adds styles for stand alone avatar

closes #9192 closes #12880

* style(range): remove deprecated variable

* refactor(sass): move variables for chip and fix file naming
2017-11-30 10:30:40 -05:00
Mike Hartington
aff9b516ac feat(ios): add ios 11 layout support (#13473)
* feat(): support ios11 layout

* style(): update ios11 layout mixins

* style(): ios layout updates

* style(): adjust tabs vars

* refactor(app): add statusbar for md mode and move sass vars

adds cordova test for app and renames sass vars to remove cordova

* test(app): update app cordova test for button

* test(app): add page three
2017-11-29 10:33:02 -05:00
Brandy Carney
0c899904b8 docs(breaking): move breaking docs up a level 2017-11-15 13:53:55 -06:00