m3-svelte 5.2.5 → 5.2.6

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.
@@ -112,6 +112,7 @@ opacity: ${Math.min(t * 3, 1)};`,
112
112
  @supports (-moz-appearance: none) {
113
113
  padding-inline-start: 0.75rem;
114
114
  }
115
+
115
116
  &:dir(rtl) {
116
117
  text-align: right; /* work around chromium bug 41489719 */
117
118
  }
@@ -175,9 +176,16 @@ opacity: ${Math.min(t * 3, 1)};`,
175
176
  display: flex;
176
177
  }
177
178
  .has-js input {
178
- clip-path: inset(0 3.5rem 0 0);
179
- &:dir(rtl) {
180
- clip-path: inset(0 0 0 3.5rem);
179
+ @supports selector(::-webkit-calendar-picker-indicator) {
180
+ &::-webkit-calendar-picker-indicator {
181
+ display: none;
182
+ }
183
+ }
184
+ @supports not selector(::-webkit-calendar-picker-indicator) {
185
+ clip-path: inset(0 3.5rem 0 0);
186
+ &:dir(rtl) {
187
+ clip-path: inset(0 0 0 3.5rem);
188
+ }
181
189
  }
182
190
  }
183
191
  }
@@ -115,6 +115,7 @@ opacity: ${Math.min(t * 3, 1)};`,
115
115
  @supports (-moz-appearance: none) {
116
116
  padding-inline-start: 0.75rem;
117
117
  }
118
+
118
119
  &:dir(rtl) {
119
120
  text-align: right; /* work around chromium bug 41489719 */
120
121
  }
@@ -222,9 +223,16 @@ opacity: ${Math.min(t * 3, 1)};`,
222
223
  display: flex;
223
224
  }
224
225
  .has-js input {
225
- clip-path: inset(0 3.5rem 0 0);
226
- &:dir(rtl) {
227
- clip-path: inset(0 0 0 3.5rem);
226
+ @supports selector(::-webkit-calendar-picker-indicator) {
227
+ &::-webkit-calendar-picker-indicator {
228
+ display: none;
229
+ }
230
+ }
231
+ @supports not selector(::-webkit-calendar-picker-indicator) {
232
+ clip-path: inset(0 3.5rem 0 0);
233
+ &:dir(rtl) {
234
+ clip-path: inset(0 0 0 3.5rem);
235
+ }
228
236
  }
229
237
  }
230
238
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "m3-svelte",
3
- "version": "5.2.5",
3
+ "version": "5.2.6",
4
4
  "license": "Apache-2.0 OR GPL-3.0-only",
5
5
  "repository": "KTibow/m3-svelte",
6
6
  "author": {