53 Commits

Author SHA1 Message Date
d023eb5b71 docs(vue): add usage docs for all non-controller components (#17643) 2019-02-28 22:01:07 -06:00
22d1aeebaa docs(react): update component usage docs (#17615) 2019-02-26 08:54:01 -06:00
6ca7645258 fix(tab-button): allow standalone tab-button (#16905)
* fix(tab-button): allow standalone tab-button

fixes #16845

* fix lint issue
2018-12-31 12:51:36 +01:00
3d656ac312 docs(all): improve type docs for event 2018-12-28 20:38:24 +01:00
a961dca7e8 fix(angular): lint issue 2018-12-13 16:43:04 +01:00
3e15402408 docs(tabs): Add changes after refactor (#16699) 2018-12-12 15:06:27 +01:00
2933f61e8d fix(react): add class based APIs (#16665)
fixes #16583
2018-12-11 01:08:00 +01:00
2f63049909 fix(tab-bar): update tab-bar to set the color/background of tab-button (#16641)
similar to the PR for segment: https://github.com/ionic-team/ionic/pull/16590, this implements the color/background in the tab-bar and inherits it in tab-button

closes #14853
2018-12-10 17:33:06 -05:00
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
6b7f8ae201 chore(): update stencil (#16506) 2018-11-29 18:54:51 +01:00
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
2884076834 feat(ripple): adds unbounded ripple-effect (#16399) 2018-11-20 23:37:54 +01:00
02a266cc85 fix(tab-button): layout is mutable (#16332) 2018-11-15 15:35:16 +01:00
adae8d4ad1 fix(angular): adds tabs stack 2018-11-14 19:26:19 +01:00
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
091625df64 fix(all): update types to be required (#16218) 2018-11-03 20:54:58 +01:00
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
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
72f0a76a1f fix(tabs): use slot instead of placement 2018-11-01 19:26:05 +01:00
0f9faf8eed doc(): add new docs around tabs 2018-11-01 10:50:35 -04:00
f23e6e97f1 docs(tabs): add more docs 2018-10-31 17:47:27 +01:00
4d3ad67740 refactor(tabs): apply design-doc (#16048) 2018-10-25 22:13:19 +02:00
0842939273 refactor(tabbar): removes ion-tab-button 2018-08-12 22:50:52 +02:00
d856ecfbbf chore(): update to latest stencil 2018-08-12 12:04:27 +02:00
575c5eb292 fix(tabs): get the tabbar layout working with shadow DOM (#15113)
- gets the `tabbarLayout` property working
- update badge position based on tabs layout
- fix the transforms for icon/text and icon size

fixes #14611
2018-08-10 17:41:38 -04:00
c1b61d0fee chore(): update to ionic-rules/strict 2018-07-29 23:10:38 +02:00
7292fc7d38 perf(icon): disable icon lazy loading when it's not needed 2018-07-29 16:04:51 +02:00
4f9cbfe73c fix(accesibility): boolean aria-* properties 2018-07-28 16:38:59 +02:00
4b844ef1c3 fix(all): accesibility and global styles for hidden nodes 2018-07-24 00:02:13 +02:00
7a8d5f68d2 chore(stylelint): remove sass-lint/scss-lint in favor of stylelint
- remove scss-lint and sass-lint
- add stylelint and stylelint-order packages and configuration
- update all *.scss files to new syntax

fixes #14805
2018-07-19 15:10:30 -05:00
094fde755c style(css): fix most scss lint errors 2018-07-18 12:53:33 -04:00
8aed3bfcf9 fix(tabs): fix the tabs so the color property works on tab button
fixes #14758
2018-07-13 18:09:58 -04:00
00c4c77542 fix(tab): props are reactive 2018-07-12 18:44:44 +02:00
eb9ed179da fix(tab-button): add a class to hide the tab when show is false 2018-07-12 10:51:26 -04:00
13e0c91ebe docs(readme): update component readmes 2018-07-11 12:26:22 -05:00
6b29507f0e style(components): consistent line breaks with mixin args 2018-07-10 16:13:52 -04:00
b46c3e2039 fix(tabs): correct alignment for label/icon only tabs 2018-07-10 15:10:47 -04:00
4956d6d305 docs(breaking): update breaking changes to include tabs properties
closes #14745
2018-07-10 14:42:10 -04: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
96945b1ee1 docs(): usage and examples 2018-06-18 12:45:15 -04:00
c11d74b64e fix(tabs): align tab title and icons to flex-start
Closes #14606
2018-06-13 12:35:26 -04:00
9872a6c7ee docs(readme): update stencil docs generation readmes 2018-05-30 12:02:31 -05:00
e6638e7922 feat(all): custom icons 2018-05-17 21:07:05 +02:00
618f708bc4 fix(all): strong typing for color 2018-05-14 13:51:30 +02:00
a939fa24a2 fix(hover): remove ion-app .enable-hover css 2018-05-02 15:57:33 -05:00
053c375521 refactor(all): allow external imports 2018-04-24 16:12:02 +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
25c852c2c8 fix(ripple-effect): animation 2018-04-05 14:28:43 +02:00
ae2cae635d refactor(tabs): rename [tabTitle] -> [label] 2018-04-03 13:37:18 +02:00