Commit Graph

9004 Commits

Author SHA1 Message Date
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
Mark Levy
429e08344a fix(angular): default value of BooleanValueAccessor should be false (#16420) 2018-11-22 15:32:36 +01:00
Manu MA
ce1fcea68c fix(angular): es6 classes break in ie11 (#16417)
fixes #15979
2018-11-21 23:59:12 +01: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
Adam Bradley
d336054328 chore(scripts): rename npm run dev to npm start (#16416) 2018-11-21 10:05:25 -06:00
Adam Bradley
1a7ec5c8be chore(package): update to stencil 0.16.0-5 (#16415) 2018-11-21 09:43:02 -06:00
Manu MA
7d64879426 chore(): rename style to css-prop (#16408) 2018-11-21 11:43:27 +01:00
Manu MA
72bc025874 fix(angular): tune routerLink default behaviour (#16405)
refactor: use ng7 features for direction detection
2018-11-21 00:08:20 +01: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
mburger81
0cd0526801 docs(): wrong dev imports for beta.16 (#16395)
Should be `@angular-devkit/core` and `@angular-devkit/schematics` not be `~7.0.5`, also your starter template is using ~7.0.0 https://github.com/ionic-team/starters/blob/master/angular/base/package.json
2018-11-20 12:33:11 +01: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 MA
f8311860b0 fix(angular): fix tabs with useHash (#16392)
fixes #16390
2018-11-20 10:45:56 +01:00
Manu Mtz.-Almeida
adae220d42 update 2018-11-20 10:06:02 +01:00
Manu Mtz.-Almeida
a85ef06ac9 chore(): update stencil + api-spec file 2018-11-20 10:06:02 +01:00
Manu Mtz.-Almeida
b645bfd1b7 fix(angular): fix controlValueAccessor for boolean
fixes #16371
2018-11-19 23:32:28 +01:00
Manu Mtz.-Almeida
359bdcf8ec fix(angular): avoid forEach in classList 2018-11-19 23:32:28 +01:00
Manu Mtz.-Almeida
723296e9b2 fix(menu-controller): _getInstance() is internal 2018-11-19 23:32:28 +01:00
dietergoetelen
02e78375d1 docs(vue): fix typo (#16370) 2018-11-19 11:00:51 -06: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
Cam Wiegert
6046345ccb chore(changelog): fix typo (#16377) 2018-11-19 10:23:21 -05:00
Cam Wiegert
9b23c9082c docs(changelog): add chip refactor (#16366)
closes #16352
2018-11-18 17:26:50 -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
Manu Mtz.-Almeida
34cd1d16d2 fix(angular): cleanup ion-invalid class
fixes #16353
2018-11-17 11:58:51 +01:00
Adam Bradley
8cb266ba34 chore(types): add null checks (#16351) 2018-11-16 22:20:51 -06:00
Manu Mtz.-Almeida
2e8f15af18 doc(CHANGELOG): add dependencies updates 2018-11-16 19:55:53 +01:00
Manu Mtz.-Almeida
6318da6424 4.0.0-beta.16 v4.0.0-beta.16 2018-11-16 19:33:59 +01: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
Josh Thomas
ac3e065b3e docs(vue): added @ionic/core to the vue README 2018-11-16 11:56:51 -05:00
Josh Thomas
09752c04ff Update documentation for the Vue Readme 2018-11-16 11:51:50 -05:00
Manu Mtz.-Almeida
b8dae5e5d5 fix(angular): fix handler outside zone
fixes #16338
2018-11-16 16:17:00 +01: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
Manu Mtz.-Almeida
8e0f1bac11 fix(tabs): works with no href 2018-11-15 19:32:34 +01:00
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