Amanda Johnston
a9600a100f
test(toggle): migrate tests to Playwright ( #25394 )
2022-06-03 09:28:27 -05:00
Sean Perkins
15c169043f
chore(docs): remove manual documentation ( #24984 )
2022-04-21 12:31:51 -04:00
Liam DeBeasi
5676bab316
lint(eslint): migrate to eslint and prettier ( #25046 )
2022-04-04 11:12:53 -04:00
Liam DeBeasi
0aa6d124d6
test(e2e): add infrastructure for migration to playwright ( #25033 )
2022-03-31 11:23:21 -04:00
Amanda Smith
f295134624
style(): fix shadowed vars ( #24609 )
2022-01-20 10:56:33 -06:00
Sean Perkins
353dbc0537
fix(toggle): setting dir on ion-toggle to enable rtl mode now supported ( #24600 )
2022-01-19 13:33:47 -05:00
Liam DeBeasi
8708095111
feat(all): add CustomEvents types to components that emit events ( #23956 )
...
resolves #22925
BREAKING CHANGE: The `RadioChangeEventDetail` interface has been removed in favor of `RadioGroupChangeEventDetail`.
2021-09-24 16:28:49 -04:00
Liam DeBeasi
dc430af906
fix(all): reflect color property as an attribute for vue ( #23345 )
...
resolves #23323
2021-05-21 19:26:53 -04:00
William Martin
42e6c90c46
fix(toggle): prevent click event from firing twice ( #23146 )
...
resolves #23041
2021-04-06 09:54:29 -04:00
Brandy Carney
07868354aa
fix(a11y): only preventDefault for the onClick event ( #22573 )
2020-11-25 16:56:51 -05:00
Brandy Carney
813611a61b
fix(toggle): use a native input to fix a11y issues with axe and screen readers ( #22477 )
...
fixes #22011
references #21552
2020-11-12 15:29:05 -05:00
Brandy Carney
a9b2260100
test(core): add lang attr to html tag to resolve axe errors ( #22410 )
2020-11-02 17:08:03 -05:00
Liam DeBeasi
db2cac20fb
docs(vue): update component usage examples for vue 3 ( #22050 )
2020-09-11 13:48:21 -04:00
Adam Bradley
753fd2f910
chore(colorClass): update createColorClasses() for ts4 ( #21896 )
...
Change the createColorClasses() fn so the returned type and jsx class property work well with typescript 4
2020-08-10 09:18:41 -05:00
Brandy Carney
687122127c
docs(stencil): add stencil usage to components ( #21261 )
2020-05-12 20:35:48 -04:00
Liam DeBeasi
8e11ecc136
fix(picker): haptics now work properly ( #21268 )
2020-05-11 15:10:19 -04:00
Liam DeBeasi
1fbdb2255e
fix(toggle): screen readers now announce toggle properly ( #21168 )
2020-05-08 11:59:04 -04:00
Brandy Carney
04ace4c983
feat(toggle): improve customization with css vars and auto-adjust handle width and height ( #21050 )
...
- Updates Material Design toggle background & box-shadow to match spec
- Adds the following variables: --handle-box-shadow, --handle-height, --handle-max-height, --handle-transition, --handle-width, --handle-spacing
- Improves customization of toggle by inheriting properties where possible and auto-adjusting the handle height and position based on the width and height of the toggle
Closes #19868 , closes #20474
2020-04-29 18:31:34 -04:00
Liam DeBeasi
d2b772f19f
feat(toggle): add parts support for handle, track ( #20962 )
2020-04-23 12:17:17 -04:00
Ely Lucas
972e361bdc
docs(react): updating react input usages with binding examples ( #20557 )
2020-02-19 17:49:53 -07:00
Brandy Carney
da6263a044
docs(vue): update usage examples to kebab-case ( #20313 )
...
references #20296
2020-01-27 14:22:42 -05:00
Liam DeBeasi
02a46a1007
feat(toggle): add --border-radius and --handle-border-radius variables ( #20141 )
2020-01-03 12:14:02 -05:00
Dylan Ballandras
90be7ec4b6
docs(toggle): update prop name for toggle OnChange in react ( #19344 )
...
closes #19343
2019-11-07 17:36:37 -05:00
Liam DeBeasi
df1bc1e627
refactor(gesture): update Gesture API to latest ( #19671 )
2019-10-17 14:18:39 -04:00
Manu MA
3d935978b3
test(): remove initial waitFor ( #19217 )
2019-08-30 16:45:13 +02:00
Manu MA
48a27636c7
fix(all): component reusage ( #18963 )
...
Use new stencil APIs to allow ionic elements to be reused once removed from the DOM.
fixes #18843
fixes #17344
fixes #16453
fixes #15879
fixes #15788
fixes #15484
fixes #17890
fixes #16364
2019-08-27 16:29:37 +02:00
Manu MA
930b271a4a
Master react ( #18998 )
...
* chore(): bump to beta 8
* fix(): IonFabButton href fix
* fix(react): support components with href attributes
* fix(): Prep work to break router out
* fix(): breaking react-router and react-core into own packages
* chore(): moving view stuff out of react-core
* chore(): dev build 8-1
* chore(): update to react beta 8
* chore(): fixes to deps
* fix(): removing IonAnchor in favor of IonRouterLink
* chore(): beta 9 release
* refactor(react): treeshake, minify, api
* wip
* fix(): react dev builds
* fix(): fixes to get app builds working again
* fix(): removing tgz file
* feat(): adding platform helper methods
* fix(): don't map attributes to props
* chore(): add test app
* feat(): copy css folder from core
* chore(): move rollup node resolve to devDependencies
* fix(): expose setupConfig()
* perf(): improve treeshaking
* fix(): removing crypto from generateUniqueId
* fix(): adding missing rollup dp
* fix(): test cleanup and fixes to make tests pass
* chore(): moving react to packages folder
* fix(): fixing react build due to move to packages
* feat(): adding missing IonInfiniteScrollContent component
* chore(): add automated testing using cypress
* fix(): adding option onDidDismiss to controller components
* 0.0.10 react
* wip
* fix(): removing deprecated React calls
* fix(): exporting setupConfig from core
* chore(): bump to 4.8.0-rc.0
* chore(): updating test-app deps and fixing test
* chore(): updates to react readme
2019-08-13 14:24:44 -06:00
Seth Lilly
94e525c10b
fix(toggle): change background to use CSS variable ( #19012 )
...
fixes #18940
2019-08-12 10:25:59 -04:00
Brandy Carney
045bc59b75
fix(theming): update components to use the proper colors for dark themes ( #18735 )
...
references #18713
2019-07-12 17:31:42 -04:00
Manu MA
03c1d19e07
perf(all): minify better by using arrow functions ( #18730 )
2019-07-10 10:33:33 -04:00
Adam Bradley
598a13ecc0
chore(test): remove unused preview tests ( #18608 )
2019-06-24 17:15:57 -05:00
Manu MA
34dfc3ce98
refactor(all): updating to newest stencil apis ( #18578 )
...
* chore(): update ionicons
* refactor(all): updating to newest stencil apis
* fix lint issues
* more changes
* moreee
* fix treeshaking
* fix config
* fix checkbox
* fix stuff
* chore(): update ionicons
* fix linting errors
2019-06-23 11:26:42 +02:00
Manu MA
b40f7d36d5
fix(): update to Stencil One 🎉 🎊
2019-06-19 21:33:50 +02:00
Brandy Carney
4bba540311
fix(label): include the ion-text-wrap class styles for larger font ( #18374 )
...
- updates all e2e tests to use the CSS classes instead of attributes
2019-05-24 11:18:28 -04:00
Brandy Carney
6252458d49
test(components): add rtl tests and remove skips ( #18319 )
...
references #17012
2019-05-21 13:16:07 -04:00
Brandy Carney
e5c8c10029
fix(components): include mode classes on components for use in shadow ( #17838 )
...
- removes mode-less component classes from the internal CSS, use element instead
- adds mode specific classes `md` or `ios` for styling inside of shadow components
- adds e2e test that verifies mode classes exist on all ionic components, plus checks for specific classes that the components need for internal styling
fixes #17608
2019-04-16 17:28:21 -04:00
Brandy Carney
2225941efb
fix(toggle): do not use the contrast color for toggle inner color ( #17798 )
...
fixes #17536
2019-03-15 13:51:12 -04:00
Josh Thomas
d023eb5b71
docs(vue): add usage docs for all non-controller components ( #17643 )
2019-02-28 22:01:07 -06:00
Josh Thomas
22d1aeebaa
docs(react): update component usage docs ( #17615 )
2019-02-26 08:54:01 -06:00
Adam Bradley
4646f53ec7
fix(ssr): fix global window and document references ( #17590 )
2019-02-22 20:13:09 -06:00
Manu MA
59bd823d05
fix(gesture): destroy gesture handler when it's done ( #17184 )
...
fixes #16433
fixes #16974
2019-01-21 02:01:44 +01:00
Manu MA
2b4d7b7be9
fix(angular): apply validation classes properly
...
* fix(angular): add validation classes to ion-item
* fix(inputs): focus handling
fixes #17171
fixes #16052
fixes #15572
fixes #16452
fixes #17063
2019-01-19 22:56:00 +01:00
Manu MA
6364e4e2a1
fix(inputs): keyboard focus improvements ( #16838 )
...
fixes #16815
fixes #16872
fixes #13978
fixes #16610
2019-01-11 19:36:02 +01:00
Adam Bradley
c68292b78f
test(rtl): add rtl script to all e2e tests ( #17009 )
2019-01-08 15:06:23 -06:00
Manu Mtz.-Almeida
3d656ac312
docs(all): improve type docs for event
2018-12-28 20:38:24 +01:00
Manu Mtz.-Almeida
f9483a0c13
refactor(utils): reorganize some chunks
2018-12-28 20:38:24 +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
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
Manu MA
6b7f8ae201
chore(): update stencil ( #16506 )
2018-11-29 18:54:51 +01:00
Manu MA
fd79b57748
fix(inputs): fix aria with shadow-dom ( #16329 )
2018-11-16 19:26:55 +01:00