Commit Graph

15 Commits

Author SHA1 Message Date
Andrew Jakubowicz
17ddcd3c2e fix(tabs): add nocollapse so isTab doesn't get minified
PiperOrigin-RevId: 561694207
2023-08-31 10:30:49 -07:00
Elizabeth Mitchell
80de947d08 chore(tabs): minor code/visibility refactors
Changes:
- Use ElementInternals for aria roles outside of Firefox
- Don't export Tabs interface used by tab
- Get parent tabs element with closest() rather than
- Remove md-tabs delegate focus (not used)
- Remove selectedAttribute property (always 'selected')
- Made focusedItem private
PiperOrigin-RevId: 561287221
2023-08-30 03:23:51 -07:00
Elizabeth Mitchell
6b2955bffe fix(tabs)!: secondary tabs always have inline icons
PiperOrigin-RevId: 561157766
2023-08-29 15:39:24 -07:00
Elizabeth Mitchell
0467c4845d fix(tabs): incorrect layout and primary indicator width
PiperOrigin-RevId: 561091366
2023-08-29 11:33:46 -07:00
Elizabeth Mitchell
5b13b5c05b fix(tabs)!: split md-tab into md-primary-tab and md-secondary-tab
BREAKING CHANGE: remove `variant` attributes and change `md-tab` to `md-primary-tab`, or `md-secondary-tab` if using `variant="secondary"

PiperOrigin-RevId: 561077231
2023-08-29 10:47:55 -07:00
Elizabeth Mitchell
13690a396f fix(tabs): remove divider tokens in favor of md-divider
BREAKING CHANGE: Remove `--md-*tab-divider` tokens and use `md-tabs::part(divider)` and `--md-divider-*` tokens

PiperOrigin-RevId: 560127620
2023-08-25 10:16:46 -07:00
Elizabeth Mitchell
d18db2a6ac fix(tabs): remove disabled tabs
BREAKING CHANGE: tabs cannot be disabled per spec. If disabled tabs are required, use `pointer-events: none` and CSS to style them.

PiperOrigin-RevId: 560124706
2023-08-25 10:07:33 -07:00
Elizabeth Mitchell
b542d2aa12 fix(tabs): make indicator animation faster
PiperOrigin-RevId: 559670244
2023-08-24 00:47:48 -07:00
Elizabeth Mitchell
bd7cf232ed chore(tabs): remove vertical styling and logic
PiperOrigin-RevId: 559596640
2023-08-23 17:55:58 -07:00
Elizabeth Mitchell
dbed51cc27 feat(tab): add logical container shape tokens
PiperOrigin-RevId: 557939187
2023-08-17 14:36:31 -07:00
Elizabeth Mitchell
0e492ade43 chore: remove sass theme utilities
PiperOrigin-RevId: 556915539
2023-08-14 14:39:19 -07:00
Elizabeth Mitchell
88eec0c7b6 chore(tabs): remove unused touch target
PiperOrigin-RevId: 556113626
2023-08-11 15:31:25 -07:00
Elizabeth Mitchell
0510496e60 chore: avoid this in static context
PiperOrigin-RevId: 554933524
2023-08-08 14:00:25 -07:00
Elizabeth Mitchell
bdfa63f63c chore(tabs): remove vertical tabs (not specced)
PiperOrigin-RevId: 551674397
2023-07-27 16:33:46 -07:00
Andrew Jakubowicz
6ec3f06429 fix!: rename "lib" directory to "internal"
BREAKING CHANGE: Rename `@material/web/<component>/lib` to `@material/web/<component>/internal`. Prefer not using internal files.

PiperOrigin-RevId: 550633216
2023-07-24 12:02:59 -07:00