Commit Graph

84 Commits

Author SHA1 Message Date
Tim Bizilj
bcdd6e0e6d Changed slider background-color to background in css 2024-03-09 10:00:46 +01:00
Elliott Marquez
b74e3dd2e3 fix(elevation): expose md-elevation ::part in all components
PiperOrigin-RevId: 612946796
2024-03-05 13:18:05 -08:00
Elizabeth Mitchell
c35bad0c64 fix: rename internal <styles>.css.js to <styles>.css
We are changing the names of these files to reduce similarity with CSS modules and avoid clashing with tooling built around that. If you're importing `*/internal/styles.css.js`, swap to `*/internal/styles.js`.

PiperOrigin-RevId: 611265000
2024-02-28 16:20:22 -08:00
Elizabeth Mitchell
ec0a8ebf6e chore: use CSSResultOrNative instead of CSSResult for static styles
PiperOrigin-RevId: 609760445
2024-02-23 10:01:56 -08:00
Elizabeth Mitchell
ce41b7bfb3 fix: use explicit CSSResult[] types for static styles
PiperOrigin-RevId: 609494809
2024-02-22 14:15:11 -08:00
Elizabeth Mitchell
f2ff86725c fix: remove :host-context rtl selectors
We can support this now that Chrome 120-121 are stable.

PiperOrigin-RevId: 606984234
2024-02-14 07:53:51 -08:00
Elizabeth Mitchell
84536d7416 chore: update components to use custom properties from tokens
PiperOrigin-RevId: 601597083
2024-01-25 16:13:41 -08:00
Elizabeth Mitchell
68b078b4e1 fix(slider): move ripple and focus ring beneath handle
PiperOrigin-RevId: 595437166
2024-01-03 10:20:54 -08:00
Elizabeth Mitchell
eca1357f1a fix: rename and move internal/controller/events
Split `internal/controller/events` into `internal/events/redispatch-event` and `internal/events/form-label-activation`

PiperOrigin-RevId: 592350371
2023-12-19 14:49:35 -08:00
Elliott Marquez
57168f6a95 fix(slider): nested dir attributes do not break on chrome 120+
fixes the case where there is a `dir=rtl` grandparent and a `dir=ltr` parent to slider.

PiperOrigin-RevId: 592086653
2023-12-18 20:18:58 -08:00
Elizabeth Mitchell
2bb480fb82 chore: move events out of controller folder
PiperOrigin-RevId: 592021123
2023-12-18 15:07:51 -08:00
Elliott Marquez
2adcb1479a docs: document events in jsdoc
PiperOrigin-RevId: 581041601
2023-11-09 15:25:21 -08:00
Elizabeth Mitchell
1f55d4111f chore(behaviors): update form controls to use shared mixins
PiperOrigin-RevId: 578297611
2023-10-31 14:08:39 -07:00
Elizabeth Mitchell
c390291687 chore: format files with prettier
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
vdegenne
e98be33557 chore(slider): fix internal typos 2023-10-25 14:28:59 +02:00
Material Web Team
1f7296dfc9 chore: update tslint comments
PiperOrigin-RevId: 571333742
2023-10-06 07:36:57 -07:00
Elliott Marquez
6298cd2cf0 fix(slider): slider knob has size to drag on ios safari
fixes #5016

PiperOrigin-RevId: 570785724
2023-10-04 13:19:37 -07:00
Andrew Jakubowicz
6e72a8e5f4 fix(slider): border should only appear when handle nubs are overlapping
PiperOrigin-RevId: 565179716
2023-09-13 15:32:44 -07:00
Andrew Jakubowicz
e9d1e7d3c4 fix(slider): make tickmarks visible when slider is disabled
PiperOrigin-RevId: 564880169
2023-09-12 17:22:07 -07:00
Andrew Jakubowicz
b50d5c87b3 fix(slider): label should not changed size when stacked
PiperOrigin-RevId: 564508624
2023-09-11 14:50:59 -07:00
Elizabeth Mitchell
6988a49a3b fix(slider): remove font shorthand tokens
BREAKING CHANGE: replace `label-text-type` tokens with `-font`, `-size`, `-line-height`, and `-weight`. Additionally, rename `label-label-*` tokens to a single `label-*`

PiperOrigin-RevId: 563162551
2023-09-06 11:23:01 -07:00
Andrew Jakubowicz
2f9cc208df fix(slider): display tick marks when forced-colors is active
PiperOrigin-RevId: 561097978
2023-08-29 11:58:37 -07:00
Elizabeth Mitchell
0e8afc0175 fix: ripple and focus ring not centered in Safari
PiperOrigin-RevId: 559826221
2023-08-24 12:00:23 -07:00
Elizabeth Mitchell
3e13634d64 chore: make formAssociated readonly
PiperOrigin-RevId: 558255234
2023-08-18 14:57:38 -07:00
Elizabeth Mitchell
8942568ffe fix(slider): focus ring too small
PiperOrigin-RevId: 557927388
2023-08-17 13:54:39 -07:00
Elizabeth Mitchell
9c5280cfb1 chore(slider): remove unprefixed vars
PiperOrigin-RevId: 557691846
2023-08-16 21:16:37 -07:00
Elizabeth Mitchell
0e492ade43 chore: remove sass theme utilities
PiperOrigin-RevId: 556915539
2023-08-14 14:39:19 -07:00
Elizabeth Mitchell
e836dc333b fix(slider): fix accessibility issues
PiperOrigin-RevId: 556889775
2023-08-14 13:13:25 -07:00
Elizabeth Mitchell
0510496e60 chore: avoid this in static context
PiperOrigin-RevId: 554933524
2023-08-08 14:00:25 -07:00
Elliott Marquez
86ccec3e7e build: use firebase for hosting and remove url prefixes 2023-07-27 09:17:27 -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
Elizabeth Mitchell
d49f9b89e4 fix(focus)!: rename import to md-focus-ring.ts
BREAKING CHANGE: Change `@material/web/focus/focus-ring.js` to `@material/web/focus/md-focus-ring.js`.

PiperOrigin-RevId: 550608428
2023-07-24 10:43:31 -07:00
Andrew Jakubowicz
10f60d23e0 chore: rename e to event
PiperOrigin-RevId: 549039407
2023-07-18 10:16:37 -07:00
Elizabeth Mitchell
243e231a13 feat(all): expose focus-ring parts
PiperOrigin-RevId: 548873009
2023-07-17 20:28:04 -07:00
Elizabeth Mitchell
fd28dd1a5b chore(all): move focus tokens to focus ring element
PiperOrigin-RevId: 548872335
2023-07-17 20:24:46 -07:00
Andrew Jakubowicz
83d9edea79 fix(slider)!: change compound attribute names to kebab-case
BREAKING_CHANGE: Attributes `valuelabel`, `valuestartlabel`, `valueendlabel`, and `tickmarks` have been renamed to `value-label`, `value-label-start`, `value-label-end`, and `ticks`. Properties `valueStartLabel`, `valueEndLabel`, and `tickmarks` have been renamed to `valueLabelStart`, `valueLabelEnd`, and `ticks` respectively.
PiperOrigin-RevId: 542705999
2023-06-22 16:59:16 -07:00
Elizabeth Mitchell
1790a5bbf8 chore: remove closure comments from static blocks
PiperOrigin-RevId: 539772537
2023-06-12 15:07:36 -07:00
Elizabeth Mitchell
0607d9ca53 chore: fix jscompiler issues
PiperOrigin-RevId: 539716693
2023-06-12 11:42:52 -07:00
Elliott Marquez
e44c903484 fix(slider): fix slider focus ring inheritance weakness
PiperOrigin-RevId: 539101383
2023-06-09 09:24:29 -07:00
Material Web Team
2ef3606bfe fix(slider): default values to between min and max to better match native input
PiperOrigin-RevId: 538701031
2023-06-07 23:54:46 -07:00
Material Web Team
0e94e28656 fix(slider): renames withTickMarks to tickmarks and withLabel to labeled
PiperOrigin-RevId: 537962866
2023-06-05 13:17:46 -07:00
Elizabeth Mitchell
2434257086 chore: update annotations after closure extern fixes
PiperOrigin-RevId: 537935481
2023-06-05 11:34:43 -07:00
Elizabeth Mitchell
ae70f1ea05 feat(slider): add full form association support
PiperOrigin-RevId: 537331425
2023-06-02 09:28:31 -07:00
Material Web Team
785973aa66 chore(slider): rename internal properties for consistency
PiperOrigin-RevId: 536864085
2023-05-31 17:07:02 -07:00
Material Web Team
68c27212a1 fix(slider): improve step support for non-integer values and stepping from min
PiperOrigin-RevId: 536806489
2023-05-31 13:28:18 -07:00
Elizabeth Mitchell
b9daa95164 chore(controller): move to internal
PiperOrigin-RevId: 536574896
2023-05-30 19:43:02 -07:00
Elizabeth Mitchell
ea2f04a9e9 fix(ripple): restrict manually controllable methods
PiperOrigin-RevId: 536531027
2023-05-30 15:49:25 -07:00
Elizabeth Mitchell
abb98eb983 chore: fix closure issues with FACE
PiperOrigin-RevId: 536495179
2023-05-30 13:35:07 -07:00
Elizabeth Mitchell
a2bb8458d2 chore(sass): move to internal
PiperOrigin-RevId: 536458468
2023-05-30 11:23:00 -07:00
Elizabeth Mitchell
5efdc593fa chore(aria): move to internal
PiperOrigin-RevId: 536444453
2023-05-30 10:37:46 -07:00