m3-svelte 5.2.3 → 5.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -175,7 +175,7 @@ opacity: ${Math.min(t * 3, 1)};`,
175
175
  }
176
176
  .has-js input {
177
177
  clip-path: inset(0 3.5rem 0 0);
178
- &:is(:global([dir="rtl"]) input) {
178
+ &:dir(rtl) {
179
179
  clip-path: inset(0 0 0 3.5rem);
180
180
  }
181
181
  }
@@ -259,7 +259,7 @@
259
259
  top: 50%;
260
260
  inset-inline-start: calc(50% + (100% - 0.75rem) * var(--x));
261
261
  translate: -50% -50%;
262
- &:is(:global([dir="rtl"] .tick)) {
262
+ &:dir(rtl) {
263
263
  translate: 50% -50%;
264
264
  }
265
265
  background-color: rgb(var(--m3-scheme-secondary-container));
@@ -286,7 +286,7 @@
286
286
  position: absolute;
287
287
  inset-inline-start: var(--percent);
288
288
  translate: -50% 0;
289
- &:is(:global([dir="rtl"]) .handle) {
289
+ &:dir(rtl) {
290
290
  translate: 50% 0;
291
291
  }
292
292
  width: 0.25rem;
@@ -313,7 +313,7 @@
313
313
  inset-inline-start: var(--percent);
314
314
  bottom: calc(var(--handle-height) + 4px);
315
315
  translate: -50% 0;
316
- &:is(:global([dir="rtl"]) .value) {
316
+ &:dir(rtl) {
317
317
  translate: 50% 0;
318
318
  }
319
319
 
@@ -137,7 +137,7 @@
137
137
  border-radius: 0.1875rem 0.1875rem 0 0;
138
138
  margin-inline-start: calc(50% / var(--items));
139
139
  translate: -50% 0;
140
- &:is(:global([dir="rtl"]) .bar) {
140
+ &:dir(rtl) {
141
141
  translate: 50% 0;
142
142
  }
143
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "m3-svelte",
3
- "version": "5.2.3",
3
+ "version": "5.2.4",
4
4
  "license": "Apache-2.0 OR GPL-3.0-only",
5
5
  "repository": "KTibow/m3-svelte",
6
6
  "author": {