Commit Graph

1002 Commits

Author SHA1 Message Date
Manu MA
437ad09122 refactor(angular): lazy loading tabs (#16637)
Fixes #16619
2018-12-08 17:23:39 +01:00
Brandy Carney
86fc9a557e fix(toolbar): style all slotted content in order not only buttons (#16617)
- style all slotted content to order properly in a toolbar, not only buttons
- removes duplicated sass variables
- use current color in select so icon will inherit toolbar color

BREAKING CHANGES

- Removes `--icon-color` and `--placeholder-color` from select in favor of inheritance with opacity
2018-12-07 17:55:59 -05:00
lukejoliat
c036cb0924 feat(range): add support for range bar border radius (#16519) 2018-12-07 10:42:06 -05:00
Manu MA
119e0c1fd2 refactor(all): avoid using export const enum (#16614)
* refactor(all): avoid using export const enum

fixes #16497

* add tslint
2018-12-06 21:19:49 +01:00
Manu Mtz.-Almeida
95c0b1bac7 feat(theme): default colors based in step colors 2018-12-06 21:06:05 +01:00
Manu Mtz.-Almeida
8050247e81 fix(select-option): using external style 2018-12-06 21:06:05 +01:00
Manu MA
235c6859d2 feat(modal): add css vars (#16605)
* feat(modal): add css vars

* add more css vars

* add docs

* add background

* fix e2e test
2018-12-06 15:36:09 +01:00
Manu MA
6776e65c9c fix(select): selection-option is hidden in edge (#16607)
fixes #16580
2018-12-06 01:52:50 +01:00
Brandy Carney
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
Manu Mtz.-Almeida
945dd2610b test(angular): no-progress CI 2018-12-05 22:31:34 +01:00
Manu Mtz.-Almeida
c8d9685bc9 fix(angular): routerLink updates href 2018-12-05 22:31:34 +01:00
Manu Mtz.-Almeida
e75618e82f test(datetime): add unit tests for parseDate() 2018-12-05 22:31:34 +01:00
Manu Mtz.-Almeida
aa9d0d4282 fix(all): type issues with TS 3.2 2018-12-05 22:31:34 +01:00
Brandy Carney
7ba94900bb refactor(themes): remove the outer-content class from core (#16589)
BREAKING CHANGES

The outer-content class has been removed in favor of setting the color in your app instead:

```
.outer-content {
  --background: #f2f2f2;
 }
```
2018-12-04 16:38:50 -05:00
Brandy Carney
9c8c6507fc fix(theming): update ios design for button and card (#16586) 2018-12-04 15:59:36 -05:00
Cam Wiegert
b1e56bbed6 fix(button): reduce iOS border radius (#16575) 2018-12-03 17:14:03 -06:00
Brandy Carney
841375e5c8 fix(segment-button): make layout default to icon-top (#16573)
- updates segment button so that when layout is not provided the following will happen
  - if both label and icon are there, it will apply icon-top
  - if only label or only icon, it will style as such
2018-12-03 16:57:12 -05:00
Manu MA
2ce986f39f fix(img): fire didLoad in safari (#16571)
fixes #16557
2018-12-03 19:22:37 +01:00
Stewan Pacheco
a251b500a9 fix(loading): add backdropDismiss closes #16527 (#16570) 2018-12-03 18:36:19 +01:00
Artfloriani
f1f35ddd66 docs(grid): fix links to grid and row components (#16538) 2018-12-03 10:52:56 -05:00
Paul Stelzer
802a3d14e7 fix(button): relax css containment to "content" (#16553) 2018-12-02 13:01:03 +01:00
Brandy Carney
7b3233f0b5 refactor(themes): combine background/color steps to one var (#16543)
closes #16202

BREAKING CHANGES

The background and text stepped color variables have been combined to one set of stepped variables. See the documentation for more information: https://beta.ionicframework.com/docs/theming/advanced#stepped-colors
2018-11-30 17:44:55 -05:00
Manu MA
6b7f8ae201 chore(): update stencil (#16506) 2018-11-29 18:54:51 +01:00
Manu MA
aa61e818a5 fix(segment): height fits content (#16511)
* fix(segment): height fits content

* fix segment
2018-11-29 18:32:18 +01:00
Brandy Carney
2d33c63c52 fix(item-sliding): use a white item background instead of transparent (#16507)
- use the global item background variable for md
- lowers screenshot threshold to catch this regression

fixes #16474
2018-11-29 11:25:15 -05:00
Daniel Karlsson
509650349e fix(radio): removd hard coded inner-width and inner-height for iOS 2018-11-29 13:53:25 +01:00
Paul Stelzer
75f7f4ffea docs(split-pane): default breakpoint (#16413) 2018-11-29 02:34:17 +01:00
Manu Mtz.-Almeida
e8e71838b3 fix(angular): accept other url schemas 2018-11-29 02:18:44 +01:00
Manu MA
2d0e0bafea test(angular): add navigation tests (#16494) 2018-11-28 18:17:44 +01:00
Mike Hartington
e6f9d37301 docs(): add section on events and guards (#16481)
* docs(): add section on events and guards

* docs(): copy edit

* docs(): copy edits
2018-11-27 20:26:49 -05:00
Ken Sodemann
1622540fd6 docs(tabs): update link (#16479) 2018-11-27 15:32:49 -05:00
Manu MA
50b0c6f15d fix(alert): accepts any value (#16476)
fixes #16170
2018-11-27 16:29:12 +01:00
Cam Wiegert
69f63b3849 fix(range): add slot margins (#16464)
This adds margins between the range slider and its slotted content, such as labels or icons.
2018-11-26 18:54:15 -06:00
Cam Wiegert
723d17b868 fix(label): move default flex and margin to item (#16461)
This moves item-specific margin and flex values out of label and into item as a slotted style to prevent those styles from leaking into labels further down the tree.

closes #15393
2018-11-26 18:30:17 -06:00
Brandy Carney
09d69b9bf6 fix(list): do not style last child items by default (#16456)
fixes #15185
2018-11-26 16:39:11 -05:00
Manu MA
d09e55500c chore(): update stencil (#16460) 2018-11-26 22:19:48 +01:00
Brandy Carney
12bcb415ee fix(themes): update default toolbar and tab background to #fff (#16454)
fixes #16384

BREAKING CHANGES

The default background color for the Toolbar and Tab Bar is now white (#fff).

This can be changed by overriding the following CSS variables:

```
--ion-toolbar-background
--ion-tab-bar-background
--ion-tab-bar-background-focused
```

See https://beta.ionicframework.com/docs/theming/css-variables for more information.
2018-11-26 13:01:56 -05:00
Brandy Carney
bc3e192427 fix(tab-bar): update to match MD design and remove transforms (#16348)
Updates the tab-bar to match the MD bottom navigation spec: https://material.io/design/components/bottom-navigation.html#specs

Changes proposed in this pull request:
- moved flex properties to host, inherit in child anchor element
  - this allows the user to customize the tab-button flex properties & fixes #16231
- increased letter spacing
- removed transforms / transitions on active tab
- decreased badge size, add badge styling when empty for MD
- fix badge positioning on both iOS and MD
- updates e2e tests, adds a preview test for tab-bar
- updates documentation surrounding tabs

fixes #16231
fixes ionic-team/ionic-docs#175
fixes ionic-team/ionic-docs#163
2018-11-21 12:07:37 -05:00
Manu MA
2884076834 feat(ripple): adds unbounded ripple-effect (#16399) 2018-11-20 23:37:54 +01:00
Adam Bradley
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
Manu MA
838f40de37 feat(ripple-effect): add option to disable ripple-effect (#16393)
fixes #16379
2018-11-20 11:43:18 +01:00
Manu Mtz.-Almeida
a85ef06ac9 chore(): update stencil + api-spec file 2018-11-20 10:06:02 +01:00
Manu Mtz.-Almeida
723296e9b2 fix(menu-controller): _getInstance() is internal 2018-11-19 23:32:28 +01:00
Cam Wiegert
7d7b995a61 fix(toolbar): match MD button spec (#16378)
Fixes an issue where a Material Design button would disappear when focused within a toolbar with a color attribute.
2018-11-19 10:57:03 -05:00
Paul Stelzer
52cea5a404 fix(toast): make longer toasts available with pre-wrap (#16361)
fixes #16360
2018-11-18 14:11:22 +01:00
Adam Bradley
8cb266ba34 chore(types): add null checks (#16351) 2018-11-16 22:20:51 -06:00
Manu MA
fd79b57748 fix(inputs): fix aria with shadow-dom (#16329) 2018-11-16 19:26:55 +01:00
Brandy Carney
10971cc3ca feat(segment): adds global variable for targeting segment in toolbar (#16344)
adds the following variables

```
--ion-toolbar-color-unchecked
--ion-toolbar-color-checked
```
2018-11-16 13:19:01 -05:00
Manu Mtz.-Almeida
767d299fb2 fix(input): remove red shadow for firefox
fixes #16318
2018-11-16 00:18:39 +01:00
Manu Mtz.-Almeida
c9b4e66f36 fix(gesture): release gesture when it's disabled
fixes #16335
2018-11-15 23:36:07 +01:00