svelte-multistyle-ui 0.0.4-alpha → 0.0.5-alpha

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.
Files changed (77) hide show
  1. package/README.md +1 -1
  2. package/cli/bin.js +90 -0
  3. package/cli/emit.js +228 -0
  4. package/cli/fixtures/sample.expected.svelte +69 -0
  5. package/cli/fixtures/sample.yaml +128 -0
  6. package/cli/generate.js +68 -0
  7. package/cli/registry.js +95 -0
  8. package/cli/schema.js +145 -0
  9. package/dist/components/Button.svelte +3 -1
  10. package/dist/components/Button.svelte.d.ts +2 -0
  11. package/dist/components/DatePicker.svelte +47 -12
  12. package/dist/components/FAB.svelte +3 -1
  13. package/dist/components/FAB.svelte.d.ts +2 -0
  14. package/dist/components/IconButton.svelte +3 -1
  15. package/dist/components/IconButton.svelte.d.ts +2 -0
  16. package/dist/components/Input.svelte +0 -1
  17. package/dist/components/MultiSelect.svelte +0 -1
  18. package/dist/components/Select.svelte +0 -1
  19. package/dist/components/Stepper.svelte +91 -33
  20. package/dist/components/Textarea.svelte +0 -1
  21. package/dist/components/accordion-styles.css +1 -9
  22. package/dist/components/alert-styles.css +1 -4
  23. package/dist/components/avatar-styles.css +1 -4
  24. package/dist/components/breadcrumb-styles.css +1 -7
  25. package/dist/components/button-styles.css +44 -52
  26. package/dist/components/buttongroup-styles.css +1 -5
  27. package/dist/components/card-styles.css +1 -9
  28. package/dist/components/carousel-styles.css +1 -5
  29. package/dist/components/charts/Chart.svelte +63 -3
  30. package/dist/components/charts/chart-config.d.ts +27 -2
  31. package/dist/components/charts/chart-config.js +180 -67
  32. package/dist/components/charts/chart-styles.css +32 -17
  33. package/dist/components/checkbox-styles.css +2 -10
  34. package/dist/components/chip-styles.css +1 -4
  35. package/dist/components/commandpalette-styles.css +0 -4
  36. package/dist/components/datepicker-styles.css +967 -1027
  37. package/dist/components/divider-styles.css +1 -4
  38. package/dist/components/drawer-styles.css +0 -4
  39. package/dist/components/dropdown-styles.css +0 -5
  40. package/dist/components/fab-styles.css +18 -12
  41. package/dist/components/fileupload-styles.css +2 -10
  42. package/dist/components/iconbutton-styles.css +33 -34
  43. package/dist/components/input-styles.css +5 -37
  44. package/dist/components/modal-styles.css +0 -8
  45. package/dist/components/multiselect-styles.css +5 -32
  46. package/dist/components/pagination-styles.css +2 -5
  47. package/dist/components/popover-styles.css +0 -4
  48. package/dist/components/progressbar-styles.css +1 -5
  49. package/dist/components/radio-styles.css +1 -8
  50. package/dist/components/rating-styles.css +1 -4
  51. package/dist/components/select-styles.css +5 -18
  52. package/dist/components/skeleton-styles.css +1 -4
  53. package/dist/components/slider-styles.css +1 -5
  54. package/dist/components/sortablelist-styles.css +0 -13
  55. package/dist/components/spinner-styles.css +1 -4
  56. package/dist/components/stepper-styles.css +59 -8
  57. package/dist/components/table-styles.css +1 -5
  58. package/dist/components/tabs-styles.css +3 -7
  59. package/dist/components/textarea-styles.css +5 -18
  60. package/dist/components/theme-base.css +19 -2
  61. package/dist/components/theme.css +329 -333
  62. package/dist/components/toast-styles.css +1 -4
  63. package/dist/components/toggle-styles.css +1 -11
  64. package/dist/components/tooltip-styles.css +1 -4
  65. package/dist/index.d.ts +1 -0
  66. package/dist/index.js +3 -0
  67. package/dist/themes/color.d.ts +52 -0
  68. package/dist/themes/color.js +91 -0
  69. package/dist/themes/generator.d.ts +41 -0
  70. package/dist/themes/generator.js +174 -0
  71. package/dist/themes/index.d.ts +3 -0
  72. package/dist/themes/index.js +4 -0
  73. package/dist/themes/presets.d.ts +445 -0
  74. package/dist/themes/presets.js +144 -0
  75. package/dist/themes/schema.d.ts +47 -0
  76. package/dist/themes/schema.js +34 -0
  77. package/package.json +19 -4
@@ -52,7 +52,11 @@ Chart.register(
52
52
  if (typeof CanvasRenderingContext2D !== "undefined") {
53
53
  const origSetLineDash = CanvasRenderingContext2D.prototype.setLineDash;
54
54
  CanvasRenderingContext2D.prototype.setLineDash = function (segments) {
55
- if (!segments || typeof segments !== "object" || typeof segments[Symbol.iterator] !== "function") {
55
+ if (
56
+ !segments ||
57
+ typeof segments !== "object" ||
58
+ typeof segments[Symbol.iterator] !== "function"
59
+ ) {
56
60
  return origSetLineDash.call(this, []);
57
61
  }
58
62
  return origSetLineDash.call(this, segments);
@@ -73,8 +77,9 @@ export function readTokens(el) {
73
77
  textHint: cs.getPropertyValue("--t-text-hint").trim(),
74
78
  textSecondary: cs.getPropertyValue("--t-text-secondary").trim(),
75
79
  cardBg: cs.getPropertyValue("--t-card-bg").trim(),
76
- border: cs.getPropertyValue("--t-border").trim() ||
77
- cs.getPropertyValue("--t-card-border-color").trim(),
80
+ border:
81
+ cs.getPropertyValue("--t-border").trim() ||
82
+ cs.getPropertyValue("--t-card-border-color").trim(),
78
83
  info: cs.getPropertyValue("--t-info").trim(),
79
84
  success: cs.getPropertyValue("--t-success").trim(),
80
85
  warning: cs.getPropertyValue("--t-warning").trim(),
@@ -102,7 +107,13 @@ export function palette(n, tokens) {
102
107
  const base = colors[i % colors.length];
103
108
  const step = Math.floor(i / colors.length);
104
109
  const alpha = Math.max(0.35, 1 - step * 0.2);
105
- result.push(alpha < 1 ? `${base}${Math.round(alpha * 255).toString(16).padStart(2, "0")}` : base);
110
+ result.push(
111
+ alpha < 1
112
+ ? `${base}${Math.round(alpha * 255)
113
+ .toString(16)
114
+ .padStart(2, "0")}`
115
+ : base,
116
+ );
106
117
  }
107
118
  return result;
108
119
  }
@@ -112,7 +123,12 @@ export function palette(n, tokens) {
112
123
  */
113
124
  export function buildData(type, { data, series, labels }, tokens) {
114
125
  // Normalize object-style data: {q1:12, q2:19} → labels=["q1","q2"], data=[12,19]
115
- if (data && typeof data === "object" && !Array.isArray(data) && data.constructor === Object) {
126
+ if (
127
+ data &&
128
+ typeof data === "object" &&
129
+ !Array.isArray(data) &&
130
+ data.constructor === Object
131
+ ) {
116
132
  labels = Object.keys(data);
117
133
  data = Object.values(data);
118
134
  }
@@ -120,17 +136,26 @@ export function buildData(type, { data, series, labels }, tokens) {
120
136
  // Combo chart: row-oriented data + optional series for chartType overrides
121
137
  // [{label:"jan", Revenue:40, Target:50, Cost:20}, ...] → labels + series
122
138
  // If series is also provided, chartType is merged from matching series entries
123
- if (type === "combo" && Array.isArray(data) && data.length > 0 && data[0] &&
124
- typeof data[0] === "object" && !Array.isArray(data[0]) && "label" in data[0]) {
125
- const keys = Object.keys(data[0]).filter(k => k !== "label");
126
- labels = data.map(d => d.label);
139
+ if (
140
+ type === "combo" &&
141
+ Array.isArray(data) &&
142
+ data.length > 0 &&
143
+ data[0] &&
144
+ typeof data[0] === "object" &&
145
+ !Array.isArray(data[0]) &&
146
+ "label" in data[0]
147
+ ) {
148
+ const keys = Object.keys(data[0]).filter((k) => k !== "label");
149
+ labels = data.map((d) => d.label);
127
150
  const chartTypeMap = {};
128
151
  if (series) {
129
- series.forEach(s => { chartTypeMap[s.name] = s.chartType; });
152
+ series.forEach((s) => {
153
+ chartTypeMap[s.name] = s.chartType;
154
+ });
130
155
  }
131
- series = keys.map(key => ({
156
+ series = keys.map((key) => ({
132
157
  name: key,
133
- values: data.map(d => d[key]),
158
+ values: data.map((d) => d[key]),
134
159
  chartType: chartTypeMap[key] || "line",
135
160
  }));
136
161
  data = null;
@@ -138,30 +163,53 @@ export function buildData(type, { data, series, labels }, tokens) {
138
163
 
139
164
  // Normalize single-series {label, value} format: [{label:"q1", value:5}, ...]
140
165
  // → labels=["q1","q2"], data=[5,19] — order preserved (unlike plain objects)
141
- if (Array.isArray(data) && data.length > 0 && data[0] &&
142
- typeof data[0] === "object" && !Array.isArray(data[0]) &&
143
- "label" in data[0] && "value" in data[0] && !series) {
144
- labels = data.map(d => d.label);
145
- data = data.map(d => d.value);
166
+ if (
167
+ Array.isArray(data) &&
168
+ data.length > 0 &&
169
+ data[0] &&
170
+ typeof data[0] === "object" &&
171
+ !Array.isArray(data[0]) &&
172
+ "label" in data[0] &&
173
+ "value" in data[0] &&
174
+ !series
175
+ ) {
176
+ labels = data.map((d) => d.label);
177
+ data = data.map((d) => d.value);
146
178
  }
147
179
 
148
180
  // Normalize multi-series row-oriented data: [{label:"jan", revenue:10, Cost:5}, ...]
149
181
  // → labels=["jan","feb"], series=[{name:"revenue",values:[10,20]}, {name:"Cost",values:[5,8]}]
150
- else if (Array.isArray(data) && data.length > 0 && data[0] &&
151
- typeof data[0] === "object" && !Array.isArray(data[0]) &&
152
- "label" in data[0] && !series) {
153
- const keys = Object.keys(data[0]).filter(k => k !== "label");
154
- labels = data.map(d => d.label);
155
- series = keys.map(key => ({ name: key, values: data.map(d => d[key]) }));
182
+ else if (
183
+ Array.isArray(data) &&
184
+ data.length > 0 &&
185
+ data[0] &&
186
+ typeof data[0] === "object" &&
187
+ !Array.isArray(data[0]) &&
188
+ "label" in data[0] &&
189
+ !series
190
+ ) {
191
+ const keys = Object.keys(data[0]).filter((k) => k !== "label");
192
+ labels = data.map((d) => d.label);
193
+ series = keys.map((key) => ({
194
+ name: key,
195
+ values: data.map((d) => d[key]),
196
+ }));
156
197
  data = null;
157
198
  }
158
199
 
159
200
  // Bubble chart: row-oriented {label, x, y, r} format
160
201
  // [{label:"Product A", x:10, y:20, r:15}, ...] → single dataset with points
161
- if (type === "bubble" && Array.isArray(series) && series.length > 0 && series[0] &&
162
- typeof series[0] === "object" && !Array.isArray(series[0]) &&
163
- "x" in series[0] && "y" in series[0]) {
164
- const points = series.map(s => ({
202
+ if (
203
+ type === "bubble" &&
204
+ Array.isArray(series) &&
205
+ series.length > 0 &&
206
+ series[0] &&
207
+ typeof series[0] === "object" &&
208
+ !Array.isArray(series[0]) &&
209
+ "x" in series[0] &&
210
+ "y" in series[0]
211
+ ) {
212
+ const points = series.map((s) => ({
165
213
  x: s.x,
166
214
  y: s.y,
167
215
  r: s.r ?? 10,
@@ -174,19 +222,28 @@ export function buildData(type, { data, series, labels }, tokens) {
174
222
  // Allows: <Bar series={[{label:"q1", value:5}, ...]} />
175
223
  // and: <Line series={[{label:"jan", Revenue:10, Cost:5}, ...]} />
176
224
  // Detection: traditional series has {name, values}, row-oriented has {label, ...}
177
- else if (!data && Array.isArray(series) && series.length > 0 && series[0] &&
178
- typeof series[0] === "object" && !Array.isArray(series[0]) &&
179
- "label" in series[0]) {
225
+ else if (
226
+ !data &&
227
+ Array.isArray(series) &&
228
+ series.length > 0 &&
229
+ series[0] &&
230
+ typeof series[0] === "object" &&
231
+ !Array.isArray(series[0]) &&
232
+ "label" in series[0]
233
+ ) {
180
234
  if ("value" in series[0]) {
181
235
  // Single-series {label, value}
182
- labels = series.map(s => s.label);
183
- data = series.map(s => s.value);
236
+ labels = series.map((s) => s.label);
237
+ data = series.map((s) => s.value);
184
238
  series = null;
185
239
  } else {
186
240
  // Multi-series row-oriented
187
- const keys = Object.keys(series[0]).filter(k => k !== "label");
188
- labels = series.map(s => s.label);
189
- series = keys.map(key => ({ name: key, values: series.map(s => s[key]) }));
241
+ const keys = Object.keys(series[0]).filter((k) => k !== "label");
242
+ labels = series.map((s) => s.label);
243
+ series = keys.map((key) => ({
244
+ name: key,
245
+ values: series.map((s) => s[key]),
246
+ }));
190
247
  }
191
248
  }
192
249
 
@@ -194,20 +251,24 @@ export function buildData(type, { data, series, labels }, tokens) {
194
251
  if (data && !series) {
195
252
  if (type === "scatter") {
196
253
  return {
197
- datasets: [{
198
- label: undefined,
199
- data: data,
200
- backgroundColor: tokens.primary,
201
- }],
254
+ datasets: [
255
+ {
256
+ label: undefined,
257
+ data: data,
258
+ backgroundColor: tokens.primary,
259
+ },
260
+ ],
202
261
  };
203
262
  }
204
263
  if (type === "bubble") {
205
264
  return {
206
- datasets: [{
207
- label: undefined,
208
- data: data,
209
- backgroundColor: tokens.primary,
210
- }],
265
+ datasets: [
266
+ {
267
+ label: undefined,
268
+ data: data,
269
+ backgroundColor: tokens.primary,
270
+ },
271
+ ],
211
272
  };
212
273
  }
213
274
  // Category charts (bar, line, pie, doughnut, radar, polarArea)
@@ -215,13 +276,15 @@ export function buildData(type, { data, series, labels }, tokens) {
215
276
  const cols = isSlice ? palette(data.length, tokens) : [tokens.primary];
216
277
  return {
217
278
  labels: labels || [],
218
- datasets: [{
219
- label: undefined,
220
- data: data,
221
- backgroundColor: isSlice ? cols : cols[0],
222
- borderColor: isSlice ? cols.map(() => tokens.surface) : cols[0],
223
- borderWidth: isSlice ? 2 : undefined,
224
- }],
279
+ datasets: [
280
+ {
281
+ label: undefined,
282
+ data: data,
283
+ backgroundColor: isSlice ? cols : cols[0],
284
+ borderColor: isSlice ? cols.map(() => tokens.surface) : cols[0],
285
+ borderWidth: isSlice ? 2 : undefined,
286
+ },
287
+ ],
225
288
  };
226
289
  }
227
290
 
@@ -399,15 +462,6 @@ const STYLE_OVERRIDES = {
399
462
  gridColor: undefined,
400
463
  extra: {},
401
464
  },
402
- "legacy-ios": {
403
- barRadius: 4,
404
- lineTension: 0.3,
405
- fill: true,
406
- fillAlpha: 0.25,
407
- gridDash: [],
408
- gridColor: undefined,
409
- extra: {},
410
- },
411
465
  };
412
466
 
413
467
  /**
@@ -425,6 +479,43 @@ function deepMerge(a, b) {
425
479
  return a;
426
480
  }
427
481
 
482
+ /**
483
+ * Per-type Chart.js animation config.
484
+ * - Cartesian (line/bar/scatter/bubble/combo): grow from the baseline ("from
485
+ * bottom") — y animates from 0; bubble radius also grows from 0.
486
+ * - Circular (pie/doughnut/polarArea): expand from the center (animateScale +
487
+ * animateRotate).
488
+ * - radar: simple ease (no per-property override).
489
+ */
490
+ function buildAnimation(type, animated) {
491
+ if (!animated) return false;
492
+ const isCircular = ["pie", "doughnut", "polarArea"].includes(type);
493
+ if (isCircular) {
494
+ return {
495
+ duration: 900,
496
+ easing: "easeOutQuart",
497
+ animateRotate: true,
498
+ animateScale: false,
499
+ };
500
+ }
501
+ if (type === "radar") {
502
+ return { duration: 900, easing: "easeOutQuart" };
503
+ }
504
+ // cartesian: line/bar/scatter/bubble/combo — grow from baseline
505
+ const animations = {
506
+ x: { type: "number", easing: "easeOutQuart", duration: 1000, from: 0 },
507
+ };
508
+ if (type === "bubble") {
509
+ animations.r = {
510
+ type: "number",
511
+ easing: "easeOutQuart",
512
+ duration: 1000,
513
+ from: 0,
514
+ };
515
+ }
516
+ return { duration: 1000, easing: "easeOutQuart", animations };
517
+ }
518
+
428
519
  /**
429
520
  * Build a full Chart.js options object inferred from type, style, and tokens.
430
521
  * @param {string} type - chart type
@@ -432,7 +523,20 @@ function deepMerge(a, b) {
432
523
  * @param {object} tokens - resolved CSS theme tokens
433
524
  * @param {{ title, legend, animated, userOptions, seriesCount, xAxisLabel, yAxisLabel }} params
434
525
  */
435
- export function buildOptions(type, style, tokens, { title, legend, animated, userOptions, seriesCount = 0, xAxisLabel, yAxisLabel }) {
526
+ export function buildOptions(
527
+ type,
528
+ style,
529
+ tokens,
530
+ {
531
+ title,
532
+ legend,
533
+ animated,
534
+ userOptions,
535
+ seriesCount = 0,
536
+ xAxisLabel,
537
+ yAxisLabel,
538
+ },
539
+ ) {
436
540
  const so = STYLE_OVERRIDES[style] || STYLE_OVERRIDES.material;
437
541
  const isCategory = ["bar", "line", "radar"].includes(type);
438
542
  const isSlice = ["pie", "doughnut", "polarArea"].includes(type);
@@ -447,7 +551,7 @@ export function buildOptions(type, style, tokens, { title, legend, animated, use
447
551
  const opts = {
448
552
  responsive: true,
449
553
  maintainAspectRatio: false,
450
- animation: animated ? undefined : false,
554
+ animation: buildAnimation(type, animated),
451
555
  color: tokens.text,
452
556
  font: {
453
557
  family: getComputedFontFamily(),
@@ -490,7 +594,13 @@ export function buildOptions(type, style, tokens, { title, legend, animated, use
490
594
  const effectiveType = type === "combo" ? "bar" : type;
491
595
 
492
596
  if (isCartesian || type === "combo") {
493
- opts.scales = buildCartesianScales(effectiveType, tokens, so, xAxisLabel, yAxisLabel);
597
+ opts.scales = buildCartesianScales(
598
+ effectiveType,
599
+ tokens,
600
+ so,
601
+ xAxisLabel,
602
+ yAxisLabel,
603
+ );
494
604
  }
495
605
 
496
606
  if (isSlice) {
@@ -509,12 +619,14 @@ export function buildOptions(type, style, tokens, { title, legend, animated, use
509
619
  r: {
510
620
  grid: {
511
621
  color: tokens.border,
512
- borderDash: so.gridDash && so.gridDash.length > 0 ? so.gridDash : undefined,
622
+ borderDash:
623
+ so.gridDash && so.gridDash.length > 0 ? so.gridDash : undefined,
513
624
  circular: true,
514
625
  },
515
626
  angleLines: {
516
627
  color: tokens.border,
517
- borderDash: so.gridDash && so.gridDash.length > 0 ? so.gridDash : undefined,
628
+ borderDash:
629
+ so.gridDash && so.gridDash.length > 0 ? so.gridDash : undefined,
518
630
  },
519
631
  pointLabels: {
520
632
  color: tokens.text,
@@ -551,7 +663,8 @@ function buildCartesianScales(type, tokens, so, xAxisLabel, yAxisLabel) {
551
663
 
552
664
  const gridColor = so.gridColor || tokens.border;
553
665
  // Always provide a valid borderDash array to avoid Canvas setLineDash(non-iterable) errors
554
- const borderDash = so.gridDash && so.gridDash.length > 0 ? so.gridDash : undefined;
666
+ const borderDash =
667
+ so.gridDash && so.gridDash.length > 0 ? so.gridDash : undefined;
555
668
  const gridOpts = { color: gridColor, drawBorder: false };
556
669
  if (borderDash) {
557
670
  gridOpts.borderDash = borderDash;
@@ -7,16 +7,24 @@
7
7
  border-radius: var(--t-card-radius);
8
8
  border: var(--t-border-width) solid var(--t-card-border-color);
9
9
  overflow: hidden;
10
- display: flex;
11
- align-items: center;
12
- justify-content: center;
10
+ /* block (not flex) so Chart.js can measure the container cleanly. A flex
11
+ container with the canvas as a flex item creates a sizing circular
12
+ dependency — the canvas's size affects the container's size, so the
13
+ ResizeObserver misreads on the first layout pass and computes a too-small
14
+ chartArea; Chart.js then draws bars but hides the axis labels/ticks for
15
+ lack of room. On remount the cached layout reads correctly. */
16
+ display: block;
13
17
  padding: 12px;
14
- transition: all 0.3s ease;
15
- }
18
+ /* Only transition cosmetic props — transitioning width/height/padding makes
19
+ the container resize during Chart.js's entry animation, which trips the
20
+ ResizeObserver mid-animation and stalls it / hides scale labels. */
21
+ transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
22
+ }
23
+ /* Let Chart.js own the canvas display size (responsive + maintainAspectRatio:
24
+ false). Forcing width/height with !important fights Chart.js's own sizing and
25
+ breaks retina/DPR handling. */
16
26
  .s-chart canvas {
17
- width: 100% !important;
18
- height: 100% !important;
19
- max-height: 100%;
27
+ display: block;
20
28
  }
21
29
 
22
30
  /* ===== DOWNLOAD BUTTON ===== */
@@ -148,12 +156,19 @@
148
156
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
149
157
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
150
158
  }
151
-
152
- /* Legacy iOS — skeuomorphic gradient */
153
- .s-chart-legacy-ios {
154
- border-radius: 10px;
155
- border: 1px solid var(--t-card-border-color);
156
- background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, var(--t-surface) 100%);
157
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-sm);
158
- padding: 12px;
159
- }
159
+ /* Liquid-glass surfaces force light text (see app.css), so the default
160
+ download button (color: var(--t-text-hint) on a --t-surface-tinted bg) goes
161
+ white-on-white in light mode. Give it a dark translucent glass + white icon
162
+ that reads in both light and dark. */
163
+ .s-chart-liquid-glass .s-chart-download-btn {
164
+ background: rgba(0, 0, 0, 0.28);
165
+ color: #ffffff;
166
+ border: 1px solid rgba(255, 255, 255, 0.2);
167
+ backdrop-filter: blur(8px) saturate(1.4);
168
+ -webkit-backdrop-filter: blur(8px) saturate(1.4);
169
+ }
170
+ .s-chart-liquid-glass .s-chart-download-btn:hover,
171
+ .s-chart-liquid-glass .s-chart-download-btn:focus-visible {
172
+ background: rgba(0, 0, 0, 0.42);
173
+ color: #ffffff;
174
+ }
@@ -34,7 +34,7 @@
34
34
  border-color: var(--t-primary);
35
35
  }
36
36
  .s-checkbox-icon {
37
- color: #fff;
37
+ color: var(--t-text-on-primary);
38
38
  font-size: 14px;
39
39
  line-height: 1;
40
40
  opacity: 0;
@@ -114,12 +114,4 @@
114
114
  background: rgba(255,255,255,0.1);
115
115
  border: 1px solid rgba(255,255,255,0.2);
116
116
  box-shadow: var(--t-shadow-sm), inset 0 1px 0 rgba(255,255,255,0.3);
117
- }
118
-
119
- /* Legacy iOS */
120
- .s-checkbox-legacy-ios .s-checkbox-box {
121
- border-radius: 6px;
122
- border: var(--t-border-width) solid var(--t-border);
123
- background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%);
124
- box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xs);
125
- }
117
+ }
@@ -101,7 +101,4 @@
101
101
  .s-chip-carbon { border-radius: 0; border: 1px solid var(--t-border); font-family: 'IBM Plex Sans', sans-serif; font-size: 11px; }
102
102
 
103
103
  /* Liquid Glass */
104
- .s-chip-liquid-glass { border-radius: 999px; backdrop-filter: blur(16px); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
105
-
106
- /* Legacy iOS */
107
- .s-chip-legacy-ios { border-radius: 999px; border: 1px solid var(--t-border); background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, var(--t-surface) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
104
+ .s-chip-liquid-glass { border-radius: 999px; backdrop-filter: blur(16px); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
@@ -146,10 +146,6 @@
146
146
  .s-cmdk-liquid-glass .s-cmdk-input-wrapper { border-color: rgba(255,255,255,0.1); }
147
147
  .s-cmdk-liquid-glass .s-cmdk-item { border-radius: 12px; }
148
148
  .s-cmdk-liquid-glass .s-cmdk-item:hover { background: rgba(255,255,255,0.08); }
149
-
150
- /* Legacy iOS */
151
- .s-cmdk-legacy-ios { border-radius: 14px; border: 1px solid var(--t-border); background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, var(--t-surface) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), var(--t-shadow-xl); }
152
-
153
149
  /* Material3 */
154
150
  .s-cmdk-material3 { border-radius: 28px; }
155
151