@wizeworks/silicaui-mcp 0.29.0 → 0.31.0

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.
@@ -85,7 +85,7 @@
85
85
  },
86
86
  {
87
87
  "type": "toggle-group",
88
- "description": "`toggle-group` — a toolbar of toggle buttons (`item` parts), not a listbox (distinct ARIA pattern from `selection-list`: `aria-pressed`/`data-pressed` on real buttons, not `aria-selected` on listbox options). `params.multiple` allows several pressed at once (default: single, pressing one un-presses the rest); `params.orientation` (`\"horizontal\"` default | `\"vertical\"`) picks which arrow keys rove focus, matching `tabs`' convention."
88
+ "description": "`toggle-group` — a toolbar of toggle buttons (`item` parts), not a listbox (distinct ARIA pattern from `selection-list`: `aria-pressed`/`data-pressed` on real buttons, not `aria-selected` on listbox options). `params.multiple` allows several pressed at once (default: single, pressing one un-presses the rest); `params.orientation` (`\"horizontal\"` default | `\"vertical\"`) picks which arrow keys rove focus, matching `tabs`' convention. An OPTIONAL `close` part un-presses everything. That's what makes `Filter` (a single-select chip row with a reset) this behavior rather than a new one: the only delta was one extra control, which is the \"one type, optional parts\" pattern, not a fork. The reset hides itself while nothing is pressed, so a static page renders the same resting state React does."
89
89
  },
90
90
  {
91
91
  "type": "scroll-area",
@@ -122,5 +122,17 @@
122
122
  {
123
123
  "type": "reveal",
124
124
  "description": "`reveal` — the ON SCROLL trigger for @wizeworks/silicaui's assignable entrance animations. Sets `data-sui-inview` on the root once it enters the viewport, which a `.sui-reveal-*` preset class (packages/silicaui/src/components/ animations.js) reads to transition from its hidden to visible state. `params.once` (default `true`) stops observing after the first reveal; `params.threshold` is passed straight to `IntersectionObserver`. Suppressed (reveals immediately, no observer) in preview, under reduced motion, or without `IntersectionObserver` — same guard shape as `counter`."
125
+ },
126
+ {
127
+ "type": "countdown",
128
+ "description": "`countdown` — a live days/hours/minutes/seconds display that ticks to a target time and stops at zero, announcing `sui:complete` once. This is NOT `counter`, which was checked first: `counter` tweens text from 0 to a target once when it scrolls into view. A one-shot animation and a recurring clock share a shape but not a behavior — different trigger, different cadence, different stopping condition, and time formatting rather than a single number. Reuse would have meant a `counter` that ignores most of its own parameters. `params.to` is an epoch-ms timestamp. Each `value` part carries `data-unit=\"days|hours|minutes|seconds\"` and only the units actually authored are written, so the markup decides which units show — the handler never invents or removes DOM. The authored markup already contains correct values for its render moment, so a page that never hydrates still shows a sensible (if frozen) countdown rather than empty boxes."
129
+ },
130
+ {
131
+ "type": "tag-input",
132
+ "description": "`tag-input` — a chip-based multi-value text field. Type and press Enter (or comma) to add; Backspace on an empty field removes the last chip; each chip's `close` part removes that one. Nothing existing modelled this. `selection-list` and `toggle-group` both choose among items that ALREADY EXIST in the markup; this one creates them from typed text, which is a different contract, not a parameter. New chips are cloned from a `template` part rather than built in JS. That keeps every class name in the authored markup, so the runtime stays correct under a `SilicaProvider` prefix — a handler that constructed `<span class=\"tag-input-chip\">` itself would silently emit unprefixed classes and render unstyled in exactly the apps that opted into a prefix. The value travels on a real `input[type=hidden]`, so the field submits with a normal form post and the `form` behavior needs no special case. Chips are comma-joined, matching what the React component posts."
133
+ },
134
+ {
135
+ "type": "color-picker",
136
+ "description": "`color-picker` — the OKLCH-native color editor, in vanilla. This is the real picker, not a degraded stand-in. The obvious shortcut was to lower to `<input type=\"color\">`: it works without JS and posts a value. It was rejected because it is a DIFFERENT CONTROL — a native sRGB swatch dialog, not an OKLCH L/C/H editor — and shipping it under the same component name would misrepresent what a consumer gets. Silica's whole token system is OKLCH; a picker that can't express chroma past sRGB isn't the same tool. Each `track` part carries `data-channel` (`l` | `c` | `h`) and behaves as a real `role=\"slider\"`: pointer drag with capture, plus arrows / PageUp+Down / Home / End, matching the React component's step sizes exactly. The track gradients and swatch fill are painted HERE rather than emitted as inline styles, because the static output must stay free of `style` attributes (enforced by verify-csp). So an unhydrated page renders the picker's structure unpainted — correct degradation for an editor that cannot function without JS — while the hidden input still carries the value for a form post."
125
137
  }
126
138
  ]
@@ -19,6 +19,7 @@
19
19
  "alert-dismiss",
20
20
  "alert-dismiss-inner",
21
21
  "alert-error",
22
+ "alert-ghost",
22
23
  "alert-info",
23
24
  "alert-lg",
24
25
  "alert-md",
@@ -390,8 +391,12 @@
390
391
  "empty-state-actions",
391
392
  "empty-state-description",
392
393
  "empty-state-icon",
394
+ "empty-state-lg",
395
+ "empty-state-md",
393
396
  "empty-state-sm",
394
- "empty-state-title"
397
+ "empty-state-title",
398
+ "empty-state-xl",
399
+ "empty-state-xs"
395
400
  ],
396
401
  "field": [
397
402
  "field",
@@ -417,7 +422,10 @@
417
422
  "file-input": [
418
423
  "file-input",
419
424
  "file-input-lg",
420
- "file-input-sm"
425
+ "file-input-md",
426
+ "file-input-sm",
427
+ "file-input-xl",
428
+ "file-input-xs"
421
429
  ],
422
430
  "file-upload": [
423
431
  "file-upload",
@@ -499,6 +507,7 @@
499
507
  "label": [
500
508
  "floating-label",
501
509
  "label",
510
+ "label-control",
502
511
  "label-required"
503
512
  ],
504
513
  "lightbox": [
@@ -579,6 +588,7 @@
579
588
  "meter-info",
580
589
  "meter-label",
581
590
  "meter-lg",
591
+ "meter-md",
582
592
  "meter-neutral",
583
593
  "meter-primary",
584
594
  "meter-secondary",
@@ -610,13 +620,16 @@
610
620
  "multi-select-info",
611
621
  "multi-select-input",
612
622
  "multi-select-lg",
623
+ "multi-select-md",
613
624
  "multi-select-neutral",
614
625
  "multi-select-primary",
615
626
  "multi-select-secondary",
616
627
  "multi-select-sm",
617
628
  "multi-select-success",
618
629
  "multi-select-trigger",
619
- "multi-select-warning"
630
+ "multi-select-warning",
631
+ "multi-select-xl",
632
+ "multi-select-xs"
620
633
  ],
621
634
  "navbar": [
622
635
  "navbar",
@@ -674,6 +687,7 @@
674
687
  "pagination-sm",
675
688
  "pagination-success",
676
689
  "pagination-warning",
690
+ "pagination-xl",
677
691
  "pagination-xs"
678
692
  ],
679
693
  "phone-input": [
@@ -747,8 +761,10 @@
747
761
  "prose": [
748
762
  "prose",
749
763
  "prose-lg",
764
+ "prose-md",
750
765
  "prose-sm",
751
- "prose-xl"
766
+ "prose-xl",
767
+ "prose-xs"
752
768
  ],
753
769
  "radial-progress": [
754
770
  "radial-progress"
@@ -838,13 +854,16 @@
838
854
  "segment-field-info",
839
855
  "segment-field-lg",
840
856
  "segment-field-literal",
857
+ "segment-field-md",
841
858
  "segment-field-neutral",
842
859
  "segment-field-primary",
843
860
  "segment-field-secondary",
844
861
  "segment-field-segment",
845
862
  "segment-field-sm",
846
863
  "segment-field-success",
847
- "segment-field-warning"
864
+ "segment-field-warning",
865
+ "segment-field-xl",
866
+ "segment-field-xs"
848
867
  ],
849
868
  "select-menu": [
850
869
  "select-group-label",
@@ -917,6 +936,7 @@
917
936
  "slider-indicator",
918
937
  "slider-info",
919
938
  "slider-lg",
939
+ "slider-md",
920
940
  "slider-neutral",
921
941
  "slider-primary",
922
942
  "slider-secondary",
@@ -925,7 +945,9 @@
925
945
  "slider-thumb",
926
946
  "slider-track",
927
947
  "slider-value",
928
- "slider-warning"
948
+ "slider-warning",
949
+ "slider-xl",
950
+ "slider-xs"
929
951
  ],
930
952
  "sortable-list": [
931
953
  "sortable-handle",
@@ -1036,13 +1058,16 @@
1036
1058
  "tag-input-field",
1037
1059
  "tag-input-info",
1038
1060
  "tag-input-lg",
1061
+ "tag-input-md",
1039
1062
  "tag-input-neutral",
1040
1063
  "tag-input-primary",
1041
1064
  "tag-input-remove",
1042
1065
  "tag-input-secondary",
1043
1066
  "tag-input-sm",
1044
1067
  "tag-input-success",
1045
- "tag-input-warning"
1068
+ "tag-input-warning",
1069
+ "tag-input-xl",
1070
+ "tag-input-xs"
1046
1071
  ],
1047
1072
  "textarea": [
1048
1073
  "textarea",
@@ -1088,12 +1113,14 @@
1088
1113
  "toggle-group-info",
1089
1114
  "toggle-group-item",
1090
1115
  "toggle-group-lg",
1116
+ "toggle-group-md",
1091
1117
  "toggle-group-neutral",
1092
1118
  "toggle-group-primary",
1093
1119
  "toggle-group-secondary",
1094
1120
  "toggle-group-sm",
1095
1121
  "toggle-group-success",
1096
1122
  "toggle-group-warning",
1123
+ "toggle-group-xl",
1097
1124
  "toggle-group-xs"
1098
1125
  ],
1099
1126
  "toggle": [
@@ -1139,6 +1166,9 @@
1139
1166
  "blockquote-cite",
1140
1167
  "caption",
1141
1168
  "display",
1169
+ "display-1",
1170
+ "display-2",
1171
+ "display-3",
1142
1172
  "h1",
1143
1173
  "h2",
1144
1174
  "h3",
@@ -1251,5 +1281,22 @@
1251
1281
  "text-success-content",
1252
1282
  "text-warning",
1253
1283
  "text-warning-content"
1284
+ ],
1285
+ "type-scale": [
1286
+ "text-xs",
1287
+ "text-sm",
1288
+ "text-md",
1289
+ "text-base",
1290
+ "text-lg",
1291
+ "text-xl",
1292
+ "text-2xl",
1293
+ "text-3xl",
1294
+ "text-4xl",
1295
+ "text-5xl",
1296
+ "text-6xl",
1297
+ "text-7xl",
1298
+ "text-8xl",
1299
+ "text-9xl",
1300
+ "text-10xl"
1254
1301
  ]
1255
1302
  }