@wizeworks/silicaui-mcp 0.36.0 → 0.37.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.
- package/README.md +35 -2
- package/dist/data/components.json +2861 -0
- package/dist/server.js +56 -10
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
|
@@ -10860,5 +10860,2866 @@
|
|
|
10860
10860
|
"container": true,
|
|
10861
10861
|
"behaviors": [],
|
|
10862
10862
|
"sourceFile": "silicaui-html/src/component.ts:3671"
|
|
10863
|
+
},
|
|
10864
|
+
{
|
|
10865
|
+
"name": "accordion",
|
|
10866
|
+
"package": "@wizeworks/silicaui",
|
|
10867
|
+
"category": "Data display",
|
|
10868
|
+
"sourceFile": "silicaui/src/components/accordion.js",
|
|
10869
|
+
"description": "The Accordion component — collapsible sections (Base UI behavior). Colorless. Base UI drives open/close state and exposes the natural panel height as `--accordion-panel-height`, which we animate; the panel starts and ends at height 0 (`[data-starting-style]`/`[data-ending-style]`). The trigger chevron rotates while its panel is open (`[data-panel-open]`). Padding lives on an inner `.accordion-content` so the height animation stays smooth. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
10870
|
+
"root": "accordion",
|
|
10871
|
+
"classes": [
|
|
10872
|
+
"accordion",
|
|
10873
|
+
"accordion-content",
|
|
10874
|
+
"accordion-header",
|
|
10875
|
+
"accordion-item",
|
|
10876
|
+
"accordion-panel",
|
|
10877
|
+
"accordion-trigger"
|
|
10878
|
+
]
|
|
10879
|
+
},
|
|
10880
|
+
{
|
|
10881
|
+
"name": "alert",
|
|
10882
|
+
"package": "@wizeworks/silicaui",
|
|
10883
|
+
"category": "Feedback & overlay",
|
|
10884
|
+
"sourceFile": "silicaui/src/components/alert.js",
|
|
10885
|
+
"description": "The Alert component — a feedback surface for a contextual message. Same orthogonal design as Button/Badge: a color class (`.alert-success`) only sets `--alert-*` variables; `.alert` and the style classes read them. Alert is a box-tier surface, so it rounds with `--radius-box` (like Card). It lays its children out as a flex row — an optional leading icon, a growing content column, and any trailing actions — so the icon and text share one baseline. Variants mirror the rest of the system: solid (default, painted by `.alert`), plus `-soft` (tint), `-outline`, and `-dash`. Silica ships no icons; pass your own into the leading slot. @param {string[]} colors - color names to generate `.alert-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
10886
|
+
"root": "alert",
|
|
10887
|
+
"classes": [
|
|
10888
|
+
"alert",
|
|
10889
|
+
"alert-accent",
|
|
10890
|
+
"alert-actions",
|
|
10891
|
+
"alert-banner",
|
|
10892
|
+
"alert-close",
|
|
10893
|
+
"alert-content",
|
|
10894
|
+
"alert-dash",
|
|
10895
|
+
"alert-description",
|
|
10896
|
+
"alert-dismiss",
|
|
10897
|
+
"alert-dismiss-inner",
|
|
10898
|
+
"alert-error",
|
|
10899
|
+
"alert-ghost",
|
|
10900
|
+
"alert-info",
|
|
10901
|
+
"alert-lg",
|
|
10902
|
+
"alert-md",
|
|
10903
|
+
"alert-neutral",
|
|
10904
|
+
"alert-outline",
|
|
10905
|
+
"alert-primary",
|
|
10906
|
+
"alert-secondary",
|
|
10907
|
+
"alert-sm",
|
|
10908
|
+
"alert-soft",
|
|
10909
|
+
"alert-success",
|
|
10910
|
+
"alert-title",
|
|
10911
|
+
"alert-warning",
|
|
10912
|
+
"alert-xl",
|
|
10913
|
+
"alert-xs"
|
|
10914
|
+
],
|
|
10915
|
+
"colorVariants": [
|
|
10916
|
+
"alert-primary",
|
|
10917
|
+
"alert-secondary",
|
|
10918
|
+
"alert-accent",
|
|
10919
|
+
"alert-neutral",
|
|
10920
|
+
"alert-info",
|
|
10921
|
+
"alert-success",
|
|
10922
|
+
"alert-warning",
|
|
10923
|
+
"alert-error"
|
|
10924
|
+
],
|
|
10925
|
+
"compoundSelectors": [
|
|
10926
|
+
".alert-dismiss[data-closed]"
|
|
10927
|
+
]
|
|
10928
|
+
},
|
|
10929
|
+
{
|
|
10930
|
+
"name": "animations",
|
|
10931
|
+
"package": "@wizeworks/silicaui",
|
|
10932
|
+
"category": "css",
|
|
10933
|
+
"sourceFile": "silicaui/src/components/animations.js",
|
|
10934
|
+
"description": "Assignable element animations — presets an end user (via a site builder) can apply to ANY element, generated from one preset table so the three trigger class families always stay in sync: .sui-animate-{preset} — ON LOAD: a `@keyframes` animation that plays automatically on paint. No JS, no attribute. .sui-reveal-{preset} — ON SCROLL: sits at its hidden state by default, transitions to visible once `[data-sui-inview]` lands on the element (set by the `reveal` behavior in @wizeworks/@wizeworks/silicaui-behaviors) — the same idiom Dialog/Popover already use for `[data-starting-style]`/`[data-ending-style]`, just driven by our own attribute. .sui-hover-{preset} — HOVER: a plain `:hover`/`:focus-visible` transition. No JS. Naming is deliberately `sui-`, not `animate-`: Tailwind core already ships `animate-spin`/`animate-pulse`/etc, and this package's own keyframes (`silica-spin`, `silica-skeleton`, …) already sidestep that collision by never exposing a bare `.animate-*` class. `sui-` also mirrors the existing `data-sui-*` marker namespace used by behaviors. Speed/delay are separate modifier classes (`.sui-duration-*`, `.sui-delay-*`) that set the `--sui-motion-duration`/`--sui-motion-delay` custom properties a preset reads, each with a `var(--duration-fast, …)` -style fallback — same non-namespace-token convention as `--duration`/ `--ease` (see theme.js): the DEFAULT lives in the fallback, so an app's own `--duration-fast` override always wins regardless of layer ordering. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
10935
|
+
"root": null,
|
|
10936
|
+
"familyPrefix": "sui-",
|
|
10937
|
+
"rootNote": "No bare `.sui` class exists — this family is only its `sui-*` parts.",
|
|
10938
|
+
"classes": [
|
|
10939
|
+
"sui-animate-fade-in",
|
|
10940
|
+
"sui-animate-scale-in",
|
|
10941
|
+
"sui-animate-slide-down",
|
|
10942
|
+
"sui-animate-slide-left",
|
|
10943
|
+
"sui-animate-slide-right",
|
|
10944
|
+
"sui-animate-slide-up",
|
|
10945
|
+
"sui-animate-zoom-in",
|
|
10946
|
+
"sui-delay-1",
|
|
10947
|
+
"sui-delay-2",
|
|
10948
|
+
"sui-delay-3",
|
|
10949
|
+
"sui-duration-fast",
|
|
10950
|
+
"sui-duration-normal",
|
|
10951
|
+
"sui-duration-slow",
|
|
10952
|
+
"sui-hover-glow",
|
|
10953
|
+
"sui-hover-lift",
|
|
10954
|
+
"sui-hover-scale",
|
|
10955
|
+
"sui-reveal-fade-in",
|
|
10956
|
+
"sui-reveal-scale-in",
|
|
10957
|
+
"sui-reveal-slide-down",
|
|
10958
|
+
"sui-reveal-slide-left",
|
|
10959
|
+
"sui-reveal-slide-right",
|
|
10960
|
+
"sui-reveal-slide-up",
|
|
10961
|
+
"sui-reveal-zoom-in"
|
|
10962
|
+
],
|
|
10963
|
+
"compoundSelectors": [
|
|
10964
|
+
"@keyframes silica-fade-in",
|
|
10965
|
+
"@keyframes silica-slide-up",
|
|
10966
|
+
"@keyframes silica-slide-down",
|
|
10967
|
+
"@keyframes silica-slide-left",
|
|
10968
|
+
"@keyframes silica-slide-right",
|
|
10969
|
+
"@keyframes silica-scale-in",
|
|
10970
|
+
"@keyframes silica-zoom-in",
|
|
10971
|
+
"@media (prefers-reduced-motion: reduce)"
|
|
10972
|
+
]
|
|
10973
|
+
},
|
|
10974
|
+
{
|
|
10975
|
+
"name": "app-shell",
|
|
10976
|
+
"package": "@wizeworks/silicaui",
|
|
10977
|
+
"category": "Layout",
|
|
10978
|
+
"sourceFile": "silicaui/src/components/app-shell.js",
|
|
10979
|
+
"description": "AppShell — the outer page skeleton: sidebar + header + main + footer, any combination. A single CSS Grid with named areas handles every layout (\"sidebar+top+footer\", \"top+footer\", \"sidebar only\", …) — an area simply collapses to zero size when its slot isn't rendered, so there's no variant prop to pick; just render the slots you need. Each slot is a thin `grid-area` wrapper; the real chrome inside it is BYO (`Sidebar`, `Navbar`, `Footer`, or anything else). @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
10980
|
+
"root": "app-shell",
|
|
10981
|
+
"classes": [
|
|
10982
|
+
"app-shell",
|
|
10983
|
+
"app-shell-footer",
|
|
10984
|
+
"app-shell-header",
|
|
10985
|
+
"app-shell-main",
|
|
10986
|
+
"app-shell-sidebar"
|
|
10987
|
+
]
|
|
10988
|
+
},
|
|
10989
|
+
{
|
|
10990
|
+
"name": "avatar",
|
|
10991
|
+
"package": "@wizeworks/silicaui",
|
|
10992
|
+
"category": "Data display",
|
|
10993
|
+
"sourceFile": "silicaui/src/components/avatar.js",
|
|
10994
|
+
"description": "The Avatar component — a user/entity thumbnail: a photo, or an initials / icon fallback on a colored chip. Single element by design. It does NOT clip with `overflow: hidden`; instead the inner `<img>` rounds itself via `border-radius: inherit` (border-radius clips a raster image to the rounded shape in every engine). That keeps the clip while letting the accent ring (`box-shadow`) and the presence dot (`::after`) render OUTSIDE the circle, where `overflow: hidden` would eat them. Orthogonal color model like the rest of the system, but scoped to the fallback chip: a color class sets `--avatar-bg`/`--avatar-fg` (the initials chip) and `--avatar-accent` (the ring). Circle by default; `-rounded` switches to a `--radius-box` square. `-ring` adds a gap ring, `-online` / `-offline` a presence dot, and `.avatar-group` overlaps a row of them. @param {string[]} colors - color names to generate `.avatar-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
10995
|
+
"root": "avatar",
|
|
10996
|
+
"classes": [
|
|
10997
|
+
"avatar",
|
|
10998
|
+
"avatar-accent",
|
|
10999
|
+
"avatar-error",
|
|
11000
|
+
"avatar-group",
|
|
11001
|
+
"avatar-info",
|
|
11002
|
+
"avatar-lg",
|
|
11003
|
+
"avatar-md",
|
|
11004
|
+
"avatar-neutral",
|
|
11005
|
+
"avatar-offline",
|
|
11006
|
+
"avatar-online",
|
|
11007
|
+
"avatar-primary",
|
|
11008
|
+
"avatar-ring",
|
|
11009
|
+
"avatar-rounded",
|
|
11010
|
+
"avatar-secondary",
|
|
11011
|
+
"avatar-sm",
|
|
11012
|
+
"avatar-success",
|
|
11013
|
+
"avatar-warning",
|
|
11014
|
+
"avatar-xl",
|
|
11015
|
+
"avatar-xs"
|
|
11016
|
+
],
|
|
11017
|
+
"colorVariants": [
|
|
11018
|
+
"avatar-primary",
|
|
11019
|
+
"avatar-secondary",
|
|
11020
|
+
"avatar-accent",
|
|
11021
|
+
"avatar-neutral",
|
|
11022
|
+
"avatar-info",
|
|
11023
|
+
"avatar-success",
|
|
11024
|
+
"avatar-warning",
|
|
11025
|
+
"avatar-error"
|
|
11026
|
+
],
|
|
11027
|
+
"compoundSelectors": [
|
|
11028
|
+
".avatar-online::after, .avatar-offline::after",
|
|
11029
|
+
".avatar-online::after",
|
|
11030
|
+
".avatar-offline::after",
|
|
11031
|
+
".avatar-group > .avatar",
|
|
11032
|
+
".avatar-group > .avatar:first-child"
|
|
11033
|
+
]
|
|
11034
|
+
},
|
|
11035
|
+
{
|
|
11036
|
+
"name": "badge",
|
|
11037
|
+
"package": "@wizeworks/silicaui",
|
|
11038
|
+
"category": "Data display",
|
|
11039
|
+
"sourceFile": "silicaui/src/components/badge.js",
|
|
11040
|
+
"description": "The Badge component — a small pill for labels, counts, and statuses. Same orthogonal design as Button: a color class (`.badge-primary`) only sets `--badge-*` variables; `.badge` and the style classes read them. Badge is a selector-tier element, so it rounds with `--radius-selector` and scales with the `--size-selector` density lever. @param {string[]} colors - color names to generate `.badge-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11041
|
+
"root": "badge",
|
|
11042
|
+
"classes": [
|
|
11043
|
+
"badge",
|
|
11044
|
+
"badge-accent",
|
|
11045
|
+
"badge-dash",
|
|
11046
|
+
"badge-error",
|
|
11047
|
+
"badge-ghost",
|
|
11048
|
+
"badge-info",
|
|
11049
|
+
"badge-lg",
|
|
11050
|
+
"badge-md",
|
|
11051
|
+
"badge-neutral",
|
|
11052
|
+
"badge-outline",
|
|
11053
|
+
"badge-primary",
|
|
11054
|
+
"badge-secondary",
|
|
11055
|
+
"badge-sm",
|
|
11056
|
+
"badge-soft",
|
|
11057
|
+
"badge-success",
|
|
11058
|
+
"badge-warning",
|
|
11059
|
+
"badge-xl",
|
|
11060
|
+
"badge-xs"
|
|
11061
|
+
],
|
|
11062
|
+
"colorVariants": [
|
|
11063
|
+
"badge-primary",
|
|
11064
|
+
"badge-secondary",
|
|
11065
|
+
"badge-accent",
|
|
11066
|
+
"badge-neutral",
|
|
11067
|
+
"badge-info",
|
|
11068
|
+
"badge-success",
|
|
11069
|
+
"badge-warning",
|
|
11070
|
+
"badge-error"
|
|
11071
|
+
],
|
|
11072
|
+
"compoundSelectors": [
|
|
11073
|
+
".badge:has(svg)"
|
|
11074
|
+
]
|
|
11075
|
+
},
|
|
11076
|
+
{
|
|
11077
|
+
"name": "breadcrumb",
|
|
11078
|
+
"package": "@wizeworks/silicaui",
|
|
11079
|
+
"category": "Navigation",
|
|
11080
|
+
"sourceFile": "silicaui/src/components/breadcrumb.js",
|
|
11081
|
+
"description": "The Breadcrumb component — a navigation trail. Colorless. Styles a `<nav class=\"breadcrumb\">` wrapping an ordered list: items lay out in a wrapping flex row and a CSS chevron is drawn via `li:not(:first-child)::before` (top+right borders rotated 45°, in `currentColor`, `em`-scaled) — no separator markup needed. Links read muted and brighten on hover; the current page (`[aria-current=\"page\"]`) sits at full strength. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11082
|
+
"root": "breadcrumb",
|
|
11083
|
+
"classes": [
|
|
11084
|
+
"breadcrumb"
|
|
11085
|
+
]
|
|
11086
|
+
},
|
|
11087
|
+
{
|
|
11088
|
+
"name": "button",
|
|
11089
|
+
"package": "@wizeworks/silicaui",
|
|
11090
|
+
"category": "Actions",
|
|
11091
|
+
"sourceFile": "silicaui/src/components/button.js",
|
|
11092
|
+
"description": "The Button component. Design: color and style are orthogonal axes. - A color class (`.btn-primary`, `.btn-brand`, …) only sets CSS variables (`--btn-bg`, `--btn-fg`, `--btn-accent`, …). It renders nothing itself. - `.btn` and the style classes (`.btn-outline`, `.btn-soft`, …) read those variables to paint the button. Because color classes only set variables (never concrete properties), they never fight the style classes on specificity, and any new color composes with every style for free. @param {string[]} colors - color names to generate `.btn-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-` → `.sx-btn`). Only affects Silica class names, never the internal `--btn-*` variables or the shared `silica-spin` keyframes.",
|
|
11093
|
+
"root": "btn",
|
|
11094
|
+
"classes": [
|
|
11095
|
+
"btn",
|
|
11096
|
+
"btn-accent",
|
|
11097
|
+
"btn-active",
|
|
11098
|
+
"btn-block",
|
|
11099
|
+
"btn-circle",
|
|
11100
|
+
"btn-dash",
|
|
11101
|
+
"btn-error",
|
|
11102
|
+
"btn-ghost",
|
|
11103
|
+
"btn-info",
|
|
11104
|
+
"btn-lg",
|
|
11105
|
+
"btn-link",
|
|
11106
|
+
"btn-md",
|
|
11107
|
+
"btn-neutral",
|
|
11108
|
+
"btn-outline",
|
|
11109
|
+
"btn-primary",
|
|
11110
|
+
"btn-secondary",
|
|
11111
|
+
"btn-sm",
|
|
11112
|
+
"btn-soft",
|
|
11113
|
+
"btn-square",
|
|
11114
|
+
"btn-success",
|
|
11115
|
+
"btn-warning",
|
|
11116
|
+
"btn-wide",
|
|
11117
|
+
"btn-xl",
|
|
11118
|
+
"btn-xs"
|
|
11119
|
+
],
|
|
11120
|
+
"colorVariants": [
|
|
11121
|
+
"btn-primary",
|
|
11122
|
+
"btn-secondary",
|
|
11123
|
+
"btn-accent",
|
|
11124
|
+
"btn-neutral",
|
|
11125
|
+
"btn-info",
|
|
11126
|
+
"btn-success",
|
|
11127
|
+
"btn-warning",
|
|
11128
|
+
"btn-error"
|
|
11129
|
+
],
|
|
11130
|
+
"compoundSelectors": [
|
|
11131
|
+
".btn:has(svg)"
|
|
11132
|
+
]
|
|
11133
|
+
},
|
|
11134
|
+
{
|
|
11135
|
+
"name": "calendar",
|
|
11136
|
+
"package": "@wizeworks/silicaui",
|
|
11137
|
+
"category": "Data input",
|
|
11138
|
+
"sourceFile": "silicaui/src/components/calendar.js",
|
|
11139
|
+
"description": "The Calendar / DatePicker component — a from-scratch month-grid date picker (Base UI ships no calendar in rc.0, so the React layer owns all the behavior; this owns the surface). A colorless grid with an orthogonal accent for the selection: a color class (`.calendar-primary`) sets `--calendar-accent`. Day states are driven by data attributes the React layer stamps: `[data-outside]` (adjacent month), `[data-today]`, `[data-selected]` (single), `[data-range-start]` / `[data-range-end]` / `[data-in-range]` (range), and `[data-disabled]`. In-range cells fill edge-to-edge (no gap) so the run reads as one continuous bar with accent endpoints. The `.calendar-popup` surface + `.date-field` control let the DatePicker sit under an `.input`-styled trigger. @param {string[]} colors - color names to generate `.calendar-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11140
|
+
"root": "calendar",
|
|
11141
|
+
"classes": [
|
|
11142
|
+
"calendar",
|
|
11143
|
+
"calendar-accent",
|
|
11144
|
+
"calendar-day",
|
|
11145
|
+
"calendar-error",
|
|
11146
|
+
"calendar-grid",
|
|
11147
|
+
"calendar-header",
|
|
11148
|
+
"calendar-info",
|
|
11149
|
+
"calendar-month",
|
|
11150
|
+
"calendar-months",
|
|
11151
|
+
"calendar-nav",
|
|
11152
|
+
"calendar-neutral",
|
|
11153
|
+
"calendar-popup",
|
|
11154
|
+
"calendar-primary",
|
|
11155
|
+
"calendar-secondary",
|
|
11156
|
+
"calendar-success",
|
|
11157
|
+
"calendar-title",
|
|
11158
|
+
"calendar-warning",
|
|
11159
|
+
"calendar-weekday",
|
|
11160
|
+
"calendar-weekdays",
|
|
11161
|
+
"date-field",
|
|
11162
|
+
"date-field-icon",
|
|
11163
|
+
"date-field-value"
|
|
11164
|
+
],
|
|
11165
|
+
"colorVariants": [
|
|
11166
|
+
"calendar-primary",
|
|
11167
|
+
"calendar-secondary",
|
|
11168
|
+
"calendar-accent",
|
|
11169
|
+
"calendar-neutral",
|
|
11170
|
+
"calendar-info",
|
|
11171
|
+
"calendar-success",
|
|
11172
|
+
"calendar-warning",
|
|
11173
|
+
"calendar-error"
|
|
11174
|
+
],
|
|
11175
|
+
"compoundSelectors": [
|
|
11176
|
+
".date-field[data-placeholder] .date-field-value"
|
|
11177
|
+
]
|
|
11178
|
+
},
|
|
11179
|
+
{
|
|
11180
|
+
"name": "card",
|
|
11181
|
+
"package": "@wizeworks/silicaui",
|
|
11182
|
+
"category": "Data display",
|
|
11183
|
+
"sourceFile": "silicaui/src/components/card.js",
|
|
11184
|
+
"description": "The Card component — a surface container. Box-tier element: rounds with `--radius-box`. Sits on the `base-100` surface with a `base-300` hairline and a `--depth`-scaled shadow (flat when `--depth: 0`). Composes from parts: `.card` (frame) → `.card-body` (padded stack) with `.card-title` and `.card-actions` inside. A full-bleed `<figure>` (e.g. a cover image) is handled by the nested rules below. Card has no color variants — it's a neutral surface — so unlike the other components it takes only the prefix. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11185
|
+
"root": "card",
|
|
11186
|
+
"classes": [
|
|
11187
|
+
"card",
|
|
11188
|
+
"card-actions",
|
|
11189
|
+
"card-body",
|
|
11190
|
+
"card-clickable",
|
|
11191
|
+
"card-selectable",
|
|
11192
|
+
"card-selectable-indicator",
|
|
11193
|
+
"card-title",
|
|
11194
|
+
"checkbox",
|
|
11195
|
+
"radio"
|
|
11196
|
+
],
|
|
11197
|
+
"compoundSelectors": [
|
|
11198
|
+
".checkbox.card-selectable-indicator, .radio.card-selectable-indicator"
|
|
11199
|
+
]
|
|
11200
|
+
},
|
|
11201
|
+
{
|
|
11202
|
+
"name": "carousel",
|
|
11203
|
+
"package": "@wizeworks/silicaui",
|
|
11204
|
+
"category": "Data display",
|
|
11205
|
+
"sourceFile": "silicaui/src/components/carousel.js",
|
|
11206
|
+
"description": "The Carousel component — a scroll-snapping strip WITH navigation. Colorless. The scroll surface (`.carousel`) uses CSS scroll-snap; the React wrapper adds prev/next controls (`.carousel-control`) and clickable dot indicators (`.carousel-dot`) that drive it, so it behaves like a real carousel rather than a bare scrollable list. The scrollbar is hidden because the controls provide navigation; touch/trackpad swipe still works. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11207
|
+
"root": "carousel",
|
|
11208
|
+
"classes": [
|
|
11209
|
+
"carousel",
|
|
11210
|
+
"carousel-center",
|
|
11211
|
+
"carousel-control",
|
|
11212
|
+
"carousel-dot",
|
|
11213
|
+
"carousel-dot-active",
|
|
11214
|
+
"carousel-end",
|
|
11215
|
+
"carousel-indicators",
|
|
11216
|
+
"carousel-item",
|
|
11217
|
+
"carousel-next",
|
|
11218
|
+
"carousel-number",
|
|
11219
|
+
"carousel-number-active",
|
|
11220
|
+
"carousel-prev",
|
|
11221
|
+
"carousel-root",
|
|
11222
|
+
"carousel-vertical"
|
|
11223
|
+
],
|
|
11224
|
+
"compoundSelectors": [
|
|
11225
|
+
".carousel-center .carousel-item",
|
|
11226
|
+
".carousel-end .carousel-item"
|
|
11227
|
+
]
|
|
11228
|
+
},
|
|
11229
|
+
{
|
|
11230
|
+
"name": "chart",
|
|
11231
|
+
"package": "@wizeworks/silicaui",
|
|
11232
|
+
"category": "wrapper",
|
|
11233
|
+
"sourceFile": "silicaui/src/components/chart.js",
|
|
11234
|
+
"description": "Chart container — the box an ECharts canvas/SVG renders into. The actual chart theming is done in JS (the `@wizeworks/@wizeworks/silicaui-charts` package reads the live color tokens and hands ECharts a matching theme); this class only owns the container so ECharts has a sized, block-level box to measure. Colorless. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11235
|
+
"root": "chart",
|
|
11236
|
+
"classes": [
|
|
11237
|
+
"chart"
|
|
11238
|
+
]
|
|
11239
|
+
},
|
|
11240
|
+
{
|
|
11241
|
+
"name": "chat-suite",
|
|
11242
|
+
"package": "@wizeworks/silicaui",
|
|
11243
|
+
"category": "css",
|
|
11244
|
+
"sourceFile": "silicaui/src/components/chat-suite.js",
|
|
11245
|
+
"description": "The Chat suite — a higher-level layer over the `chat`/`chat-bubble` primitives (chat.js): a scrollable message layout, a composer, and the small extras a real conversation needs (system dividers, grouped metadata, a collapsible tool-call detail). `ChatMessage` itself composes the existing `.chat`/`.chat-image`/`.chat-header`/`.chat-bubble` classes rather than repainting them — this module only adds what those don't already cover. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11246
|
+
"root": null,
|
|
11247
|
+
"classes": [
|
|
11248
|
+
"chat-composer",
|
|
11249
|
+
"chat-composer-actions",
|
|
11250
|
+
"chat-composer-field",
|
|
11251
|
+
"chat-layout",
|
|
11252
|
+
"chat-layout-messages",
|
|
11253
|
+
"chat-message-metadata",
|
|
11254
|
+
"chat-system-message",
|
|
11255
|
+
"chat-tool-calls",
|
|
11256
|
+
"chat-typing",
|
|
11257
|
+
"chat-typing-dot",
|
|
11258
|
+
"collapsible-content",
|
|
11259
|
+
"collapsible-trigger"
|
|
11260
|
+
],
|
|
11261
|
+
"compoundSelectors": [
|
|
11262
|
+
".chat-tool-calls .collapsible-trigger",
|
|
11263
|
+
".chat-tool-calls .collapsible-content",
|
|
11264
|
+
".chat-typing-dot:nth-child(2)",
|
|
11265
|
+
".chat-typing-dot:nth-child(3)"
|
|
11266
|
+
]
|
|
11267
|
+
},
|
|
11268
|
+
{
|
|
11269
|
+
"name": "chat",
|
|
11270
|
+
"package": "@wizeworks/silicaui",
|
|
11271
|
+
"category": "Data display",
|
|
11272
|
+
"sourceFile": "silicaui/src/components/chat.js",
|
|
11273
|
+
"description": "The Chat component — a message row with an avatar, header/footer, and bubble. A grid: the avatar (`.chat-image`) spans all rows in one column; the header, bubble, and footer stack in the other. `.chat-start` puts the avatar on the left (incoming), `.chat-end` flips it to the right (outgoing). The bubble takes an orthogonal color (`.chat-bubble-primary`), defaulting to a neutral base-200 surface. @param {string[]} colors - color names to generate `.chat-bubble-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11274
|
+
"root": "chat",
|
|
11275
|
+
"classes": [
|
|
11276
|
+
"chat",
|
|
11277
|
+
"chat-bubble",
|
|
11278
|
+
"chat-bubble-accent",
|
|
11279
|
+
"chat-bubble-error",
|
|
11280
|
+
"chat-bubble-info",
|
|
11281
|
+
"chat-bubble-neutral",
|
|
11282
|
+
"chat-bubble-primary",
|
|
11283
|
+
"chat-bubble-secondary",
|
|
11284
|
+
"chat-bubble-success",
|
|
11285
|
+
"chat-bubble-warning",
|
|
11286
|
+
"chat-end",
|
|
11287
|
+
"chat-footer",
|
|
11288
|
+
"chat-header",
|
|
11289
|
+
"chat-image"
|
|
11290
|
+
],
|
|
11291
|
+
"compoundSelectors": [
|
|
11292
|
+
".chat > *:not(.chat-image)",
|
|
11293
|
+
".chat-end > *:not(.chat-image)",
|
|
11294
|
+
".chat-end .chat-bubble"
|
|
11295
|
+
]
|
|
11296
|
+
},
|
|
11297
|
+
{
|
|
11298
|
+
"name": "checkbox-group",
|
|
11299
|
+
"package": "@wizeworks/silicaui",
|
|
11300
|
+
"category": "Data input",
|
|
11301
|
+
"sourceFile": "silicaui/src/components/checkbox-group.js",
|
|
11302
|
+
"description": "The CheckboxGroup layout — a stack of checkbox options managed as one array value (with optional parent \"select all\" that goes indeterminate). Colorless. Layout + option row only; the checkboxes are Silica `.checkbox` inputs. `.checkbox-option` is the clickable `<label>` pairing a checkbox with its caption. `[data-orientation=\"horizontal\"]` lays them in a row. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11303
|
+
"root": null,
|
|
11304
|
+
"familyPrefix": "checkbox-",
|
|
11305
|
+
"rootNote": "No bare `.checkbox` class exists — this family is only its `checkbox-*` parts.",
|
|
11306
|
+
"classes": [
|
|
11307
|
+
"checkbox-group",
|
|
11308
|
+
"checkbox-option"
|
|
11309
|
+
]
|
|
11310
|
+
},
|
|
11311
|
+
{
|
|
11312
|
+
"name": "checkbox",
|
|
11313
|
+
"package": "@wizeworks/silicaui",
|
|
11314
|
+
"category": "Data input",
|
|
11315
|
+
"sourceFile": "silicaui/src/components/checkbox.js",
|
|
11316
|
+
"description": "The Checkbox component — a native `<input type=\"checkbox\">` restyled. Selector-tier control: scales with `--size-selector` and rounds with `--radius-selector` (capped so it stays a rounded square, never a full circle, even under a large selector radius). A color class (`.checkbox-primary`) sets `--checkbox-accent` (checked fill/border/focus) and `--checkbox-content` (the checkmark color); unchecked is a neutral hairline box. The checkmark is composed from layered `linear-gradient`s rather than an SVG, so its color can be a live CSS var — the accent's auto-derived `-content`, which stays legible on ANY accent (dark mark on a light color like `warning`, light mark on a dark one). SVG `background-image` can't read a CSS var, and `::before`/`::after` on form controls is inconsistent across browsers — this avoids both. @param {string[]} colors - color names to generate `.checkbox-<name>` for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11317
|
+
"root": "checkbox",
|
|
11318
|
+
"classes": [
|
|
11319
|
+
"checkbox",
|
|
11320
|
+
"checkbox-accent",
|
|
11321
|
+
"checkbox-error",
|
|
11322
|
+
"checkbox-info",
|
|
11323
|
+
"checkbox-lg",
|
|
11324
|
+
"checkbox-md",
|
|
11325
|
+
"checkbox-neutral",
|
|
11326
|
+
"checkbox-primary",
|
|
11327
|
+
"checkbox-secondary",
|
|
11328
|
+
"checkbox-sm",
|
|
11329
|
+
"checkbox-success",
|
|
11330
|
+
"checkbox-warning",
|
|
11331
|
+
"checkbox-xl",
|
|
11332
|
+
"checkbox-xs"
|
|
11333
|
+
],
|
|
11334
|
+
"colorVariants": [
|
|
11335
|
+
"checkbox-primary",
|
|
11336
|
+
"checkbox-secondary",
|
|
11337
|
+
"checkbox-accent",
|
|
11338
|
+
"checkbox-neutral",
|
|
11339
|
+
"checkbox-info",
|
|
11340
|
+
"checkbox-success",
|
|
11341
|
+
"checkbox-warning",
|
|
11342
|
+
"checkbox-error"
|
|
11343
|
+
]
|
|
11344
|
+
},
|
|
11345
|
+
{
|
|
11346
|
+
"name": "collapse",
|
|
11347
|
+
"package": "@wizeworks/silicaui",
|
|
11348
|
+
"category": "Data display",
|
|
11349
|
+
"sourceFile": "silicaui/src/components/collapse.js",
|
|
11350
|
+
"description": "The Collapse component — a disclosure panel built on native `<details>`/`<summary>`, so open/close, keyboard, and screen-reader support come for free (no JS). Several with a shared `name` form an exclusive accordion (native HTML behavior). The CSS class is `.details`, NOT `.collapse` — Tailwind v4 ships a built-in `.collapse { visibility: collapse }` utility (for table row/column collapsing), and utility-layer rules always beat component base-layer rules regardless of source order or specificity. A `.collapse` class here would still get this component's box styling (border/bg/radius all still apply, since Tailwind's utility only sets `visibility`), but Tailwind's `visibility: collapse` would ALSO apply and silently make the whole thing invisible while it still occupies layout space — exactly the \"empty box\" bug this dodges. `Collapse`/`CollapseTitle`/`CollapseContent` (the public React names) are unaffected; only the underlying class token changed. Colorless. The `.details-title` (the `<summary>`) hides the default marker and draws its own chevron via `::after`, which rotates when the parent is `[open]`. `.details-content` holds the body. `-ghost` drops the surface for a flush, borderless accordion. Toggle is instant by design — animating `<details>` height needs bleeding-edge CSS (`interpolate-size`/`::details-content`) that isn't universally shipped; only the chevron animates, which is safe everywhere. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11351
|
+
"root": "details",
|
|
11352
|
+
"classes": [
|
|
11353
|
+
"details",
|
|
11354
|
+
"details-content",
|
|
11355
|
+
"details-ghost",
|
|
11356
|
+
"details-title"
|
|
11357
|
+
],
|
|
11358
|
+
"compoundSelectors": [
|
|
11359
|
+
".details[open] > .details-title::after"
|
|
11360
|
+
]
|
|
11361
|
+
},
|
|
11362
|
+
{
|
|
11363
|
+
"name": "collapsible",
|
|
11364
|
+
"package": "@wizeworks/silicaui",
|
|
11365
|
+
"category": "Advanced / composite",
|
|
11366
|
+
"sourceFile": "silicaui/src/components/collapsible.js",
|
|
11367
|
+
"description": "The Collapsible component — a single show/hide disclosure (Base UI behavior). The low-level primitive behind `Accordion` (which groups several): one trigger reveals one animated panel. Colorless and chrome-light so it drops into any layout. Base UI exposes the natural panel height as `--collapsible-panel-height`, which we animate; the panel starts/ends at height 0 (`[data-starting-style]`/`[data-ending-style]`). The trigger's chevron rotates while the panel is open (`[data-panel-open]`). Padding lives on an inner `.collapsible-content` so the height animation stays smooth. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11368
|
+
"root": "collapsible",
|
|
11369
|
+
"classes": [
|
|
11370
|
+
"collapsible",
|
|
11371
|
+
"collapsible-content",
|
|
11372
|
+
"collapsible-panel",
|
|
11373
|
+
"collapsible-trigger",
|
|
11374
|
+
"collapsible-trigger-icon"
|
|
11375
|
+
]
|
|
11376
|
+
},
|
|
11377
|
+
{
|
|
11378
|
+
"name": "color-picker",
|
|
11379
|
+
"package": "@wizeworks/silicaui",
|
|
11380
|
+
"category": "Data input",
|
|
11381
|
+
"sourceFile": "silicaui/src/components/color-picker.js",
|
|
11382
|
+
"description": "ColorPicker — an OKLCH-native color editor. SilicaUI's tokens are all OKLCH, so the picker edits L / C / H directly with three sliders instead of translating through HSV. Each slider's track is painted with a live `linear-gradient(... in oklch, …)` (set inline from the React component), so what you drag across is the real color ramp. A big swatch previews the result and a hex field reads/writes the same color. Colorless: the surface uses base tokens; the focus ring is `--color-primary`. The thumb/track gradients are all data-driven (inline styles), so there's no per-color variant to generate here. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11383
|
+
"root": "color-picker",
|
|
11384
|
+
"classes": [
|
|
11385
|
+
"color-picker",
|
|
11386
|
+
"color-picker-hex",
|
|
11387
|
+
"color-picker-hex-input",
|
|
11388
|
+
"color-picker-hex-label",
|
|
11389
|
+
"color-picker-popover",
|
|
11390
|
+
"color-picker-preview",
|
|
11391
|
+
"color-picker-slider",
|
|
11392
|
+
"color-picker-slider-label",
|
|
11393
|
+
"color-picker-slider-value",
|
|
11394
|
+
"color-picker-sliders",
|
|
11395
|
+
"color-picker-swatch",
|
|
11396
|
+
"color-picker-swatch-trigger",
|
|
11397
|
+
"color-picker-swatch-trigger-chip",
|
|
11398
|
+
"color-picker-swatch-trigger-label",
|
|
11399
|
+
"color-picker-thumb",
|
|
11400
|
+
"color-picker-track",
|
|
11401
|
+
"color-picker-value-hex",
|
|
11402
|
+
"color-picker-value-oklch",
|
|
11403
|
+
"color-picker-values"
|
|
11404
|
+
],
|
|
11405
|
+
"compoundSelectors": [
|
|
11406
|
+
".color-picker[data-disabled]"
|
|
11407
|
+
]
|
|
11408
|
+
},
|
|
11409
|
+
{
|
|
11410
|
+
"name": "combobox",
|
|
11411
|
+
"package": "@wizeworks/silicaui",
|
|
11412
|
+
"category": "Data input",
|
|
11413
|
+
"sourceFile": "silicaui/src/components/combobox.js",
|
|
11414
|
+
"description": "The Combobox / Autocomplete control chrome — the input-field half of the Base-UI-backed `Combobox` and `Autocomplete` (a searchable, filtered listbox). The popup, list, items, group labels and separators REUSE the Select surface (`.select-popup`, `.select-item`, `.select-item-indicator`, …) so the two read identically; this module only adds the text-input control: a field wrapper (`.combobox-control`) around an `.input`-styled `.combobox-input`, plus the trailing clear (×) and open (chevron) buttons and the empty-state row. The chevron flips while the popup is open (`[data-popup-open]`), and the clear button hides itself when there's nothing to clear (`:disabled`). @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11415
|
+
"root": null,
|
|
11416
|
+
"familyPrefix": "combobox-",
|
|
11417
|
+
"rootNote": "No bare `.combobox` class exists — this family is only its `combobox-*` parts.",
|
|
11418
|
+
"classes": [
|
|
11419
|
+
"combobox-clear",
|
|
11420
|
+
"combobox-control",
|
|
11421
|
+
"combobox-empty",
|
|
11422
|
+
"combobox-input",
|
|
11423
|
+
"combobox-item",
|
|
11424
|
+
"combobox-trigger"
|
|
11425
|
+
]
|
|
11426
|
+
},
|
|
11427
|
+
{
|
|
11428
|
+
"name": "command-palette",
|
|
11429
|
+
"package": "@wizeworks/silicaui",
|
|
11430
|
+
"category": "Advanced / composite",
|
|
11431
|
+
"sourceFile": "silicaui/src/components/command-palette.js",
|
|
11432
|
+
"description": "CommandPalette — the ⌘K launcher surface. Built on the same Base UI Dialog machinery as `.dialog` (portal, focus trap, scroll lock, Escape-to-dismiss), but positioned near the top of the viewport and shaped as a search box over a scrolling result list. The React `<CommandPalette>` owns the filtering + arrow-key navigation; this styles the backdrop, the panel, the search row, groups, items, and the active/empty states. Colorless: the active item reads `--color-primary` for its tint/marker, same orthogonal-accent approach as the rest of Silica. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11433
|
+
"root": null,
|
|
11434
|
+
"familyPrefix": "command-palette-",
|
|
11435
|
+
"rootNote": "No bare `.command-palette` class exists — this family is only its `command-palette-*` parts.",
|
|
11436
|
+
"classes": [
|
|
11437
|
+
"command-palette-backdrop",
|
|
11438
|
+
"command-palette-empty",
|
|
11439
|
+
"command-palette-group",
|
|
11440
|
+
"command-palette-group-label",
|
|
11441
|
+
"command-palette-input",
|
|
11442
|
+
"command-palette-item",
|
|
11443
|
+
"command-palette-item-body",
|
|
11444
|
+
"command-palette-item-desc",
|
|
11445
|
+
"command-palette-item-icon",
|
|
11446
|
+
"command-palette-item-label",
|
|
11447
|
+
"command-palette-item-shortcut",
|
|
11448
|
+
"command-palette-list",
|
|
11449
|
+
"command-palette-popup",
|
|
11450
|
+
"command-palette-search",
|
|
11451
|
+
"command-palette-search-icon"
|
|
11452
|
+
],
|
|
11453
|
+
"compoundSelectors": [
|
|
11454
|
+
".command-palette-item[data-active] .command-palette-item-desc"
|
|
11455
|
+
]
|
|
11456
|
+
},
|
|
11457
|
+
{
|
|
11458
|
+
"name": "countdown",
|
|
11459
|
+
"package": "@wizeworks/silicaui",
|
|
11460
|
+
"category": "Data display",
|
|
11461
|
+
"sourceFile": "silicaui/src/components/countdown.js",
|
|
11462
|
+
"description": "The Countdown component — a segmented days/hours/minutes/seconds display. Colorless. A row of boxed units, each a big tabular number over a small label. The React wrapper ticks the values; this just paints the boxes. `-plain` drops the boxes for an inline number run. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11463
|
+
"root": "countdown",
|
|
11464
|
+
"classes": [
|
|
11465
|
+
"countdown",
|
|
11466
|
+
"countdown-label",
|
|
11467
|
+
"countdown-plain",
|
|
11468
|
+
"countdown-unit",
|
|
11469
|
+
"countdown-value"
|
|
11470
|
+
]
|
|
11471
|
+
},
|
|
11472
|
+
{
|
|
11473
|
+
"name": "data-table",
|
|
11474
|
+
"package": "@wizeworks/silicaui",
|
|
11475
|
+
"category": "wrapper",
|
|
11476
|
+
"sourceFile": "silicaui/src/components/data-table.js",
|
|
11477
|
+
"description": "DataTable chrome — the interactive shell around a `.table`. The base `.table` still styles the cells (this module deliberately does NOT restyle `th`/`td`); `.data-table` only adds what a data grid needs on top: a bordered scroll container, sortable-header buttons with a caret that lights up per sort direction, a selected-row tint, a sticky header, skeleton/empty bodies, and a pagination toolbar. The React `<DataTable>` (in the optional `@wizeworks/@wizeworks/silicaui-table` package) drives TanStack Table and hangs these classes on the markup. Colored: a `.data-table-<name>` class only sets `--dt-accent`, which the sort hover + selected-row tint read — so the accent is orthogonal to everything else, same as the rest of Silica. @param {string[]} colors - color names to generate `.data-table-<name>` for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11478
|
+
"root": "data-table",
|
|
11479
|
+
"classes": [
|
|
11480
|
+
"data-table",
|
|
11481
|
+
"data-table-accent",
|
|
11482
|
+
"data-table-empty",
|
|
11483
|
+
"data-table-error",
|
|
11484
|
+
"data-table-info",
|
|
11485
|
+
"data-table-neutral",
|
|
11486
|
+
"data-table-pager",
|
|
11487
|
+
"data-table-pagination",
|
|
11488
|
+
"data-table-primary",
|
|
11489
|
+
"data-table-row-clickable",
|
|
11490
|
+
"data-table-scroll",
|
|
11491
|
+
"data-table-secondary",
|
|
11492
|
+
"data-table-skeleton",
|
|
11493
|
+
"data-table-sort",
|
|
11494
|
+
"data-table-sort-icon",
|
|
11495
|
+
"data-table-sticky",
|
|
11496
|
+
"data-table-success",
|
|
11497
|
+
"data-table-warning"
|
|
11498
|
+
],
|
|
11499
|
+
"colorVariants": [
|
|
11500
|
+
"data-table-primary",
|
|
11501
|
+
"data-table-secondary",
|
|
11502
|
+
"data-table-accent",
|
|
11503
|
+
"data-table-neutral",
|
|
11504
|
+
"data-table-info",
|
|
11505
|
+
"data-table-success",
|
|
11506
|
+
"data-table-warning",
|
|
11507
|
+
"data-table-error"
|
|
11508
|
+
],
|
|
11509
|
+
"compoundSelectors": [
|
|
11510
|
+
".data-table-sticky .data-table-scroll",
|
|
11511
|
+
".data-table-sticky thead th",
|
|
11512
|
+
".data-table-sort-icon [data-part]",
|
|
11513
|
+
".data-table-sort[data-sort=\"asc\"] .data-table-sort-icon [data-part=\"up\"]",
|
|
11514
|
+
".data-table-sort[data-sort=\"desc\"] .data-table-sort-icon [data-part=\"down\"]",
|
|
11515
|
+
".data-table tbody tr[data-selected]"
|
|
11516
|
+
]
|
|
11517
|
+
},
|
|
11518
|
+
{
|
|
11519
|
+
"name": "dialog",
|
|
11520
|
+
"package": "@wizeworks/silicaui",
|
|
11521
|
+
"category": "Feedback & overlay",
|
|
11522
|
+
"sourceFile": "silicaui/src/components/dialog.js",
|
|
11523
|
+
"description": "The Dialog surface — the visual half of the Base-UI-backed Dialog (and AlertDialog). Base UI owns the modal machinery (portal, focus trap, scroll lock, dismissal); this styles the backdrop + centered popup + title/description. The popup is fixed-centered in CSS (Dialog has no positioner). Enter/exit rides Base UI's `[data-starting-style]`/`[data-ending-style]` — note the transform keeps the `translate(-50%, -50%)` centering AND adds the scale, so both must be restated in the animated state. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11524
|
+
"root": null,
|
|
11525
|
+
"familyPrefix": "dialog-",
|
|
11526
|
+
"rootNote": "No bare `.dialog` class exists — this family is only its `dialog-*` parts.",
|
|
11527
|
+
"classes": [
|
|
11528
|
+
"dialog-backdrop",
|
|
11529
|
+
"dialog-description",
|
|
11530
|
+
"dialog-footer",
|
|
11531
|
+
"dialog-footer-sticky",
|
|
11532
|
+
"dialog-header",
|
|
11533
|
+
"dialog-header-sticky",
|
|
11534
|
+
"dialog-popup",
|
|
11535
|
+
"dialog-title"
|
|
11536
|
+
]
|
|
11537
|
+
},
|
|
11538
|
+
{
|
|
11539
|
+
"name": "diff",
|
|
11540
|
+
"package": "@wizeworks/silicaui",
|
|
11541
|
+
"category": "Data display",
|
|
11542
|
+
"sourceFile": "silicaui/src/components/diff.js",
|
|
11543
|
+
"description": "The Diff component — a before/after comparison with a draggable split. Colorless. Two layers occupy the same grid cell: `.diff-item-2` is the full \"after\" underneath, `.diff-item-1` is the \"before\" on top, clipped to the split position with `clip-path: inset(...)`. The split is a single CSS variable, `--diff-pos` (a 0–100% length), so the React wrapper can drive it from pointer drag or the keyboard while the CSS stays declarative. `clip-path: inset()` and CSS custom properties are universally supported, so this renders identically everywhere (no container-query-unit dependence). `.diff-resizer` is the vertical handle drawn at `--diff-pos`; its `.diff-grip` knob holds the drag affordance. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11544
|
+
"root": "diff",
|
|
11545
|
+
"classes": [
|
|
11546
|
+
"diff",
|
|
11547
|
+
"diff-grip",
|
|
11548
|
+
"diff-item-1",
|
|
11549
|
+
"diff-item-2",
|
|
11550
|
+
"diff-resizer"
|
|
11551
|
+
],
|
|
11552
|
+
"compoundSelectors": [
|
|
11553
|
+
".diff-item-1, .diff-item-2",
|
|
11554
|
+
".diff-item-1 > *, .diff-item-2 > *"
|
|
11555
|
+
]
|
|
11556
|
+
},
|
|
11557
|
+
{
|
|
11558
|
+
"name": "divider",
|
|
11559
|
+
"package": "@wizeworks/silicaui",
|
|
11560
|
+
"category": "Layout",
|
|
11561
|
+
"sourceFile": "silicaui/src/components/divider.js",
|
|
11562
|
+
"description": "The Divider component — a labeled or plain separator. Colorless. A flex line whose `::before`/`::after` draw the rules on either side of an optional centered label; with no label (`:empty`) the gap collapses so the two segments meet as one continuous line. `-vertical` rotates it for row layouts (needs a height from its parent). @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11563
|
+
"root": "divider",
|
|
11564
|
+
"classes": [
|
|
11565
|
+
"divider",
|
|
11566
|
+
"divider-vertical"
|
|
11567
|
+
]
|
|
11568
|
+
},
|
|
11569
|
+
{
|
|
11570
|
+
"name": "dock",
|
|
11571
|
+
"package": "@wizeworks/silicaui",
|
|
11572
|
+
"category": "Navigation",
|
|
11573
|
+
"sourceFile": "silicaui/src/components/dock.js",
|
|
11574
|
+
"description": "The Dock component — a bottom navigation bar of icon+label items. Colorless base with an orthogonal accent for the active item. A flex row of equal-width `.dock-item` buttons, each an icon over a small label. Position it yourself (`fixed bottom-0` for a real app dock). The active item lifts to full opacity and the accent color. @param {string[]} colors - color names to generate `.dock-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11575
|
+
"root": "dock",
|
|
11576
|
+
"classes": [
|
|
11577
|
+
"dock",
|
|
11578
|
+
"dock-accent",
|
|
11579
|
+
"dock-error",
|
|
11580
|
+
"dock-info",
|
|
11581
|
+
"dock-item",
|
|
11582
|
+
"dock-item-active",
|
|
11583
|
+
"dock-label",
|
|
11584
|
+
"dock-neutral",
|
|
11585
|
+
"dock-primary",
|
|
11586
|
+
"dock-secondary",
|
|
11587
|
+
"dock-success",
|
|
11588
|
+
"dock-warning"
|
|
11589
|
+
],
|
|
11590
|
+
"colorVariants": [
|
|
11591
|
+
"dock-primary",
|
|
11592
|
+
"dock-secondary",
|
|
11593
|
+
"dock-accent",
|
|
11594
|
+
"dock-neutral",
|
|
11595
|
+
"dock-info",
|
|
11596
|
+
"dock-success",
|
|
11597
|
+
"dock-warning",
|
|
11598
|
+
"dock-error"
|
|
11599
|
+
]
|
|
11600
|
+
},
|
|
11601
|
+
{
|
|
11602
|
+
"name": "drawer",
|
|
11603
|
+
"package": "@wizeworks/silicaui",
|
|
11604
|
+
"category": "Feedback & overlay",
|
|
11605
|
+
"sourceFile": "silicaui/src/components/drawer.js",
|
|
11606
|
+
"description": "The Drawer component — a panel that slides in from an edge (Base UI Dialog). Colorless. Reuses Base UI's Dialog behavior (focus trap, scroll lock, escape) but pins the popup to an edge and slides it in with a transform. `data-side` chooses the edge; the enter/exit transforms are driven by `[data-starting-style]` / `[data-ending-style]`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11607
|
+
"root": null,
|
|
11608
|
+
"familyPrefix": "drawer-",
|
|
11609
|
+
"rootNote": "No bare `.drawer` class exists — this family is only its `drawer-*` parts.",
|
|
11610
|
+
"classes": [
|
|
11611
|
+
"drawer-backdrop",
|
|
11612
|
+
"drawer-description",
|
|
11613
|
+
"drawer-footer",
|
|
11614
|
+
"drawer-footer-sticky",
|
|
11615
|
+
"drawer-header",
|
|
11616
|
+
"drawer-header-sticky",
|
|
11617
|
+
"drawer-popup",
|
|
11618
|
+
"drawer-title"
|
|
11619
|
+
]
|
|
11620
|
+
},
|
|
11621
|
+
{
|
|
11622
|
+
"name": "dropdown",
|
|
11623
|
+
"package": "@wizeworks/silicaui",
|
|
11624
|
+
"category": "css",
|
|
11625
|
+
"sourceFile": "silicaui/src/components/dropdown.js",
|
|
11626
|
+
"description": "The Dropdown Menu surface — the visual half of the Base-UI-backed Menu (click-triggered command menu). Named `.dropdown*` to avoid colliding with the static `.menu` nav-list component. Base UI owns positioning + roving focus + dismissal; this styles the popup, items, separators, and labels. Items highlight via Base UI's `[data-highlighted]` (keyboard OR pointer, so it unifies focus + hover) and dim via `[data-disabled]`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11627
|
+
"root": "dropdown",
|
|
11628
|
+
"classes": [
|
|
11629
|
+
"dropdown",
|
|
11630
|
+
"dropdown-item",
|
|
11631
|
+
"dropdown-item-arrow",
|
|
11632
|
+
"dropdown-label",
|
|
11633
|
+
"dropdown-separator"
|
|
11634
|
+
]
|
|
11635
|
+
},
|
|
11636
|
+
{
|
|
11637
|
+
"name": "dropzone",
|
|
11638
|
+
"package": "@wizeworks/silicaui",
|
|
11639
|
+
"category": "Advanced / composite",
|
|
11640
|
+
"sourceFile": "silicaui/src/components/dropzone.js",
|
|
11641
|
+
"description": "Dropzone — a file drag-and-drop / click-to-browse target. A dashed, focusable area that lights up while a drag hovers it and opens the native file picker on click/Enter. The React `<Dropzone>` owns the drag counter, the hidden `<input type=file>`, and accept/size filtering; this styles the idle / hover / dragging / disabled surface and the icon + text stack. Colorless: the active (dragging) state reads `--color-primary` for its border and tint. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11642
|
+
"root": "dropzone",
|
|
11643
|
+
"classes": [
|
|
11644
|
+
"dropzone",
|
|
11645
|
+
"dropzone-hint",
|
|
11646
|
+
"dropzone-icon",
|
|
11647
|
+
"dropzone-input",
|
|
11648
|
+
"dropzone-title"
|
|
11649
|
+
],
|
|
11650
|
+
"compoundSelectors": [
|
|
11651
|
+
".dropzone[data-dragging]",
|
|
11652
|
+
".dropzone[data-disabled]",
|
|
11653
|
+
".dropzone[data-dragging] .dropzone-icon"
|
|
11654
|
+
]
|
|
11655
|
+
},
|
|
11656
|
+
{
|
|
11657
|
+
"name": "empty-state",
|
|
11658
|
+
"package": "@wizeworks/silicaui",
|
|
11659
|
+
"category": "Advanced / composite",
|
|
11660
|
+
"sourceFile": "silicaui/src/components/empty-state.js",
|
|
11661
|
+
"description": "EmptyState — the centered \"nothing here yet\" placeholder. A vertical stack: an optional icon chip, a title, a description, and an action row. Colorless (neutral by design); it just reads the base tokens so it sits quietly inside any surface (card, table body, panel). The React `<EmptyState>` fills the slots. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11662
|
+
"root": "empty-state",
|
|
11663
|
+
"classes": [
|
|
11664
|
+
"empty-state",
|
|
11665
|
+
"empty-state-actions",
|
|
11666
|
+
"empty-state-description",
|
|
11667
|
+
"empty-state-icon",
|
|
11668
|
+
"empty-state-lg",
|
|
11669
|
+
"empty-state-md",
|
|
11670
|
+
"empty-state-sm",
|
|
11671
|
+
"empty-state-title",
|
|
11672
|
+
"empty-state-xl",
|
|
11673
|
+
"empty-state-xs"
|
|
11674
|
+
]
|
|
11675
|
+
},
|
|
11676
|
+
{
|
|
11677
|
+
"name": "field",
|
|
11678
|
+
"package": "@wizeworks/silicaui",
|
|
11679
|
+
"category": "Data input",
|
|
11680
|
+
"sourceFile": "silicaui/src/components/field.js",
|
|
11681
|
+
"description": "The Field component — an accessible form field that wires a label, control, description, and error together (ids + aria + validity). Behavior is Base UI's Field (it tracks dirty/touched/valid/invalid and associates the parts); Silica styles them. Use it around any Silica control. Colorless (semantic error). `.field-error` only renders when the field is invalid (Base UI controls that). When the control is marked `[data-invalid]` its accent flips to error, so the border + focus ring turn red to match. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11682
|
+
"root": "field",
|
|
11683
|
+
"classes": [
|
|
11684
|
+
"field",
|
|
11685
|
+
"field-description",
|
|
11686
|
+
"field-error",
|
|
11687
|
+
"field-label",
|
|
11688
|
+
"field-status",
|
|
11689
|
+
"field-status-attached",
|
|
11690
|
+
"field-status-detached",
|
|
11691
|
+
"field-status-error",
|
|
11692
|
+
"field-status-floating",
|
|
11693
|
+
"field-status-success",
|
|
11694
|
+
"field-status-warning",
|
|
11695
|
+
"input",
|
|
11696
|
+
"select",
|
|
11697
|
+
"textarea"
|
|
11698
|
+
],
|
|
11699
|
+
"colorVariants": [
|
|
11700
|
+
"field-error"
|
|
11701
|
+
],
|
|
11702
|
+
"compoundSelectors": [
|
|
11703
|
+
".input[data-invalid], .select[data-invalid], .textarea[data-invalid]",
|
|
11704
|
+
".input[data-status=\"error\"], .select[data-status=\"error\"], .textarea[data-status=\"error\"]",
|
|
11705
|
+
".input[data-status=\"warning\"], .select[data-status=\"warning\"], .textarea[data-status=\"warning\"]",
|
|
11706
|
+
".input[data-status=\"success\"], .select[data-status=\"success\"], .textarea[data-status=\"success\"]",
|
|
11707
|
+
".field:has(.field-status-attached) .input, .field:has(.field-status-attached) .select, .field:has(.field-status-attached) .textarea",
|
|
11708
|
+
".field-status-floating.field-status-detached",
|
|
11709
|
+
".field-status-floating.field-status-attached",
|
|
11710
|
+
".field:has(.field-status-attached) .input:focus",
|
|
11711
|
+
".field:has(.field-status-attached) .select:focus",
|
|
11712
|
+
".field:has(.field-status-attached) .textarea:focus",
|
|
11713
|
+
".field:has(.input:focus, .select:focus, .textarea:focus) .field-status-attached"
|
|
11714
|
+
]
|
|
11715
|
+
},
|
|
11716
|
+
{
|
|
11717
|
+
"name": "fieldset",
|
|
11718
|
+
"package": "@wizeworks/silicaui",
|
|
11719
|
+
"category": "Data input",
|
|
11720
|
+
"sourceFile": "silicaui/src/components/fieldset.js",
|
|
11721
|
+
"description": "The Fieldset component — a labeled group of form controls. Colorless. A vertical stack that resets the browser's native `<fieldset>` chrome (border/margin/padding/min-inline-size) so it lays out predictably, then adds a `.fieldset-legend` heading and `.fieldset-label` helper text that pair with Silica inputs. Drop it inside a `.card` or on its own; the gap keeps legend, controls, and helper text evenly spaced. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11722
|
+
"root": "fieldset",
|
|
11723
|
+
"classes": [
|
|
11724
|
+
"fieldset",
|
|
11725
|
+
"fieldset-label",
|
|
11726
|
+
"fieldset-legend"
|
|
11727
|
+
]
|
|
11728
|
+
},
|
|
11729
|
+
{
|
|
11730
|
+
"name": "file-input",
|
|
11731
|
+
"package": "@wizeworks/silicaui",
|
|
11732
|
+
"category": "Data input",
|
|
11733
|
+
"sourceFile": "silicaui/src/components/file-input.js",
|
|
11734
|
+
"description": "The FileInput component — a styled `<input type=\"file\">`. Colorless. Styles the native control and its `::file-selector-button` so the \"Choose file\" button reads as a Silica button while the filename sits beside it. Fully native — no JS needed. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11735
|
+
"root": "file-input",
|
|
11736
|
+
"classes": [
|
|
11737
|
+
"file-input",
|
|
11738
|
+
"file-input-lg",
|
|
11739
|
+
"file-input-md",
|
|
11740
|
+
"file-input-sm",
|
|
11741
|
+
"file-input-xl",
|
|
11742
|
+
"file-input-xs"
|
|
11743
|
+
]
|
|
11744
|
+
},
|
|
11745
|
+
{
|
|
11746
|
+
"name": "file-upload",
|
|
11747
|
+
"package": "@wizeworks/silicaui",
|
|
11748
|
+
"category": "Data input",
|
|
11749
|
+
"sourceFile": "silicaui/src/components/file-upload.js",
|
|
11750
|
+
"description": "FileUpload — a Dropzone plus a managed preview list. The dropzone itself is unstyled here (reuses `.dropzone`); this only styles the list of accepted-file rows rendered below it: a thumbnail/icon, name + size, and a remove button. Colorless. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11751
|
+
"root": "file-upload",
|
|
11752
|
+
"classes": [
|
|
11753
|
+
"file-upload",
|
|
11754
|
+
"file-upload-item",
|
|
11755
|
+
"file-upload-item-icon",
|
|
11756
|
+
"file-upload-item-meta",
|
|
11757
|
+
"file-upload-item-name",
|
|
11758
|
+
"file-upload-item-remove",
|
|
11759
|
+
"file-upload-item-size",
|
|
11760
|
+
"file-upload-item-thumb",
|
|
11761
|
+
"file-upload-list",
|
|
11762
|
+
"file-upload-rejections"
|
|
11763
|
+
]
|
|
11764
|
+
},
|
|
11765
|
+
{
|
|
11766
|
+
"name": "filter",
|
|
11767
|
+
"package": "@wizeworks/silicaui",
|
|
11768
|
+
"category": "Data input",
|
|
11769
|
+
"sourceFile": "silicaui/src/components/filter.js",
|
|
11770
|
+
"description": "The Filter component — a single-select row of pill \"chips\" with a reset, the pattern behind faceted product/category filtering. Radio semantics (choose one); picking a chip fills it with the accent, and a circular reset (`.filter-reset`) clears the choice. Colorless chips (base-100 + border) read an orthogonal accent for the selected state via `--filter-accent`; a color class (`.filter-primary`) on the row sets it. The selected chip is marked `[data-selected]` by the React layer. @param {string[]} colors - color names to generate `.filter-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11771
|
+
"root": "filter",
|
|
11772
|
+
"classes": [
|
|
11773
|
+
"filter",
|
|
11774
|
+
"filter-accent",
|
|
11775
|
+
"filter-error",
|
|
11776
|
+
"filter-info",
|
|
11777
|
+
"filter-item",
|
|
11778
|
+
"filter-neutral",
|
|
11779
|
+
"filter-primary",
|
|
11780
|
+
"filter-reset",
|
|
11781
|
+
"filter-secondary",
|
|
11782
|
+
"filter-success",
|
|
11783
|
+
"filter-warning"
|
|
11784
|
+
],
|
|
11785
|
+
"colorVariants": [
|
|
11786
|
+
"filter-primary",
|
|
11787
|
+
"filter-secondary",
|
|
11788
|
+
"filter-accent",
|
|
11789
|
+
"filter-neutral",
|
|
11790
|
+
"filter-info",
|
|
11791
|
+
"filter-success",
|
|
11792
|
+
"filter-warning",
|
|
11793
|
+
"filter-error"
|
|
11794
|
+
]
|
|
11795
|
+
},
|
|
11796
|
+
{
|
|
11797
|
+
"name": "footer",
|
|
11798
|
+
"package": "@wizeworks/silicaui",
|
|
11799
|
+
"category": "Layout",
|
|
11800
|
+
"sourceFile": "silicaui/src/components/footer.js",
|
|
11801
|
+
"description": "The Footer component — a responsive multi-column site footer. Colorless. A grid that stacks its columns vertically on small screens and flows them into a row of `max-content` columns from `md` up. Each direct child is itself a grid, so a `<nav>` of links becomes a tidy vertical stack under its `.footer-title`. `-center` centers every column and its contents (for a single-row, centered footer). @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11802
|
+
"root": "footer",
|
|
11803
|
+
"classes": [
|
|
11804
|
+
"footer",
|
|
11805
|
+
"footer-center",
|
|
11806
|
+
"footer-title"
|
|
11807
|
+
],
|
|
11808
|
+
"compoundSelectors": [
|
|
11809
|
+
"@media (min-width: 48rem)"
|
|
11810
|
+
]
|
|
11811
|
+
},
|
|
11812
|
+
{
|
|
11813
|
+
"name": "hero",
|
|
11814
|
+
"package": "@wizeworks/silicaui",
|
|
11815
|
+
"category": "Layout",
|
|
11816
|
+
"sourceFile": "silicaui/src/components/hero.js",
|
|
11817
|
+
"description": "The Hero component — a full-width banner that centers its content. Colorless. A single-cell grid: `.hero-content` and an optional `.hero-overlay` are stacked in the same cell (both pinned to row/column 1), so an overlay can tint a background image set on `.hero` itself while the content sits legibly on top. Uses `background-size: cover` so an inline `background-image` fills the banner. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11818
|
+
"root": "hero",
|
|
11819
|
+
"classes": [
|
|
11820
|
+
"hero",
|
|
11821
|
+
"hero-content",
|
|
11822
|
+
"hero-overlay"
|
|
11823
|
+
]
|
|
11824
|
+
},
|
|
11825
|
+
{
|
|
11826
|
+
"name": "indicator",
|
|
11827
|
+
"package": "@wizeworks/silicaui",
|
|
11828
|
+
"category": "Feedback & overlay",
|
|
11829
|
+
"sourceFile": "silicaui/src/components/indicator.js",
|
|
11830
|
+
"description": "The Indicator component — pins a small overlay (a Badge, a status dot) to a corner of another element: a notification count on a button, an unread dot on an avatar. Colorless / structural. `.indicator` is the positioning context; the `.indicator-item` sits at the top-end corner by default, nudged half over the edge. `-start` / `-bottom` move it to the other corners (combine them). @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11831
|
+
"root": "indicator",
|
|
11832
|
+
"classes": [
|
|
11833
|
+
"indicator",
|
|
11834
|
+
"indicator-bottom",
|
|
11835
|
+
"indicator-item",
|
|
11836
|
+
"indicator-start"
|
|
11837
|
+
],
|
|
11838
|
+
"compoundSelectors": [
|
|
11839
|
+
".indicator-item.indicator-start",
|
|
11840
|
+
".indicator-item.indicator-bottom",
|
|
11841
|
+
".indicator-item.indicator-bottom.indicator-start"
|
|
11842
|
+
]
|
|
11843
|
+
},
|
|
11844
|
+
{
|
|
11845
|
+
"name": "input-group",
|
|
11846
|
+
"package": "@wizeworks/silicaui",
|
|
11847
|
+
"category": "Data input",
|
|
11848
|
+
"sourceFile": "silicaui/src/components/input-group.js",
|
|
11849
|
+
"description": "The InputGroup component — a positioning shell that lets a leading/trailing icon or button sit inside an `.input` (search icon, password show/hide, clear button, a country-code prefix, …). `.input-group` is the relative-positioned shell; `.input-group-start` / `.input-group-end` are absolutely-placed slots for the decoration itself; `.input-group-btn` is an interactive icon button that can live inside a slot. The `.input` living inside the shell reserves room for its decorations via `.input-affix-start` / `.input-affix-end` (defined in `input.js`, applied alongside the base `.input` class). Slot sizing is intentionally fixed (not per Input `size`), matching the existing Combobox/Autocomplete trailing-button precedent. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11850
|
+
"root": "input-group",
|
|
11851
|
+
"classes": [
|
|
11852
|
+
"input-group",
|
|
11853
|
+
"input-group-btn",
|
|
11854
|
+
"input-group-end",
|
|
11855
|
+
"input-group-start"
|
|
11856
|
+
]
|
|
11857
|
+
},
|
|
11858
|
+
{
|
|
11859
|
+
"name": "input",
|
|
11860
|
+
"package": "@wizeworks/silicaui",
|
|
11861
|
+
"category": "Data input",
|
|
11862
|
+
"sourceFile": "silicaui/src/components/input.js",
|
|
11863
|
+
"description": "The Input component — a single-line text field. Field-tier element: rounds with `--radius-field` and scales with the `--size-field` density lever, so it lines up pixel-for-pixel with same-size Buttons. A color class (`.input-primary`, `.input-error`, …) sets `--input-accent` (focus ring + focused border) and `--input-border` (a softened tint of the same color for the resting border); the default (no color) shows a neutral border and a primary focus ring. @param {string[]} colors - color names to generate `.input-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11864
|
+
"root": "input",
|
|
11865
|
+
"classes": [
|
|
11866
|
+
"input",
|
|
11867
|
+
"input-accent",
|
|
11868
|
+
"input-affix-end",
|
|
11869
|
+
"input-affix-start",
|
|
11870
|
+
"input-error",
|
|
11871
|
+
"input-info",
|
|
11872
|
+
"input-lg",
|
|
11873
|
+
"input-md",
|
|
11874
|
+
"input-neutral",
|
|
11875
|
+
"input-primary",
|
|
11876
|
+
"input-secondary",
|
|
11877
|
+
"input-sm",
|
|
11878
|
+
"input-success",
|
|
11879
|
+
"input-warning",
|
|
11880
|
+
"input-xl",
|
|
11881
|
+
"input-xs"
|
|
11882
|
+
],
|
|
11883
|
+
"colorVariants": [
|
|
11884
|
+
"input-primary",
|
|
11885
|
+
"input-secondary",
|
|
11886
|
+
"input-accent",
|
|
11887
|
+
"input-neutral",
|
|
11888
|
+
"input-info",
|
|
11889
|
+
"input-success",
|
|
11890
|
+
"input-warning",
|
|
11891
|
+
"input-error"
|
|
11892
|
+
]
|
|
11893
|
+
},
|
|
11894
|
+
{
|
|
11895
|
+
"name": "join",
|
|
11896
|
+
"package": "@wizeworks/silicaui",
|
|
11897
|
+
"category": "Data input",
|
|
11898
|
+
"sourceFile": "silicaui/src/components/join.js",
|
|
11899
|
+
"description": "The Join component — groups adjacent items (buttons, inputs) into one seamless segmented control. Colorless / structural. It resets every child's corners to square, rounds only the outer ends of the group (`--radius-field`), and pulls each item back by one border-width so shared edges don't double up. The hovered/focused child lifts via `z-index` so its border/ring sits above its neighbours. Horizontal by default; `-vertical` stacks them. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11900
|
+
"root": "join",
|
|
11901
|
+
"classes": [
|
|
11902
|
+
"join",
|
|
11903
|
+
"join-vertical"
|
|
11904
|
+
],
|
|
11905
|
+
"compoundSelectors": [
|
|
11906
|
+
".join:not(.join-vertical) > :first-child",
|
|
11907
|
+
".join:not(.join-vertical) > :last-child",
|
|
11908
|
+
".join:not(.join-vertical) > :not(:first-child)",
|
|
11909
|
+
".join-vertical > :first-child",
|
|
11910
|
+
".join-vertical > :last-child",
|
|
11911
|
+
".join-vertical > :not(:first-child)"
|
|
11912
|
+
]
|
|
11913
|
+
},
|
|
11914
|
+
{
|
|
11915
|
+
"name": "kbd",
|
|
11916
|
+
"package": "@wizeworks/silicaui",
|
|
11917
|
+
"category": "Data display",
|
|
11918
|
+
"sourceFile": "silicaui/src/components/kbd.js",
|
|
11919
|
+
"description": "The Kbd component — an inline keyboard-key cap (`<kbd>`). Colorless. Sits on the base-100 surface with a thicker bottom border for a subtle \"keycap\" depth. Everything is sized in `em` so it tracks the surrounding text; the size modifiers just re-scale that `em` base. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11920
|
+
"root": "kbd",
|
|
11921
|
+
"classes": [
|
|
11922
|
+
"kbd",
|
|
11923
|
+
"kbd-lg",
|
|
11924
|
+
"kbd-md",
|
|
11925
|
+
"kbd-sm",
|
|
11926
|
+
"kbd-xl",
|
|
11927
|
+
"kbd-xs"
|
|
11928
|
+
]
|
|
11929
|
+
},
|
|
11930
|
+
{
|
|
11931
|
+
"name": "label",
|
|
11932
|
+
"package": "@wizeworks/silicaui",
|
|
11933
|
+
"category": "Data input",
|
|
11934
|
+
"sourceFile": "silicaui/src/components/label.js",
|
|
11935
|
+
"description": "The Label components — a static `.label` and an animated `.floating-label`. Colorless. `.label` is a plain inline caption for a control (muted, icon-friendly). Use it above an input or inside a `.join` as an addon. `.floating-label` wraps a control + a `<span>` caption that sits inside the field at rest and floats up onto the top border once the field is focused or filled. It keys off `:placeholder-shown`, so the control MUST carry a placeholder (even a single space) for the \"filled\" state to resolve. Works whether the `<span>` comes before or after the control (`:has()` handles the ordering), and `select`/textarea are treated as always-floated when they hold a value. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11936
|
+
"root": "label",
|
|
11937
|
+
"classes": [
|
|
11938
|
+
"floating-label",
|
|
11939
|
+
"label",
|
|
11940
|
+
"label-control",
|
|
11941
|
+
"label-required"
|
|
11942
|
+
],
|
|
11943
|
+
"compoundSelectors": [
|
|
11944
|
+
".floating-label:has(> input:not(:placeholder-shown)) > span",
|
|
11945
|
+
".floating-label:has(> textarea:not(:placeholder-shown)) > span",
|
|
11946
|
+
".floating-label:has(> select) > span",
|
|
11947
|
+
".floating-label:focus-within > span"
|
|
11948
|
+
]
|
|
11949
|
+
},
|
|
11950
|
+
{
|
|
11951
|
+
"name": "lightbox",
|
|
11952
|
+
"package": "@wizeworks/silicaui",
|
|
11953
|
+
"category": "Feedback & overlay",
|
|
11954
|
+
"sourceFile": "silicaui/src/components/lightbox.js",
|
|
11955
|
+
"description": "Lightbox — a full-viewport image viewer (Base UI Dialog: focus trap, scroll lock, Escape-to-close). Chrome is deliberately theme-invariant (always a near-black scrim + white controls, like a photo viewer or video player) so it reads consistently regardless of the page's light/dark theme; only the focus ring uses `--color-primary`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11956
|
+
"root": null,
|
|
11957
|
+
"familyPrefix": "lightbox-",
|
|
11958
|
+
"rootNote": "No bare `.lightbox` class exists — this family is only its `lightbox-*` parts.",
|
|
11959
|
+
"classes": [
|
|
11960
|
+
"lightbox-backdrop",
|
|
11961
|
+
"lightbox-caption",
|
|
11962
|
+
"lightbox-close",
|
|
11963
|
+
"lightbox-counter",
|
|
11964
|
+
"lightbox-image",
|
|
11965
|
+
"lightbox-nav",
|
|
11966
|
+
"lightbox-nav-next",
|
|
11967
|
+
"lightbox-nav-prev",
|
|
11968
|
+
"lightbox-popup"
|
|
11969
|
+
]
|
|
11970
|
+
},
|
|
11971
|
+
{
|
|
11972
|
+
"name": "link",
|
|
11973
|
+
"package": "@wizeworks/silicaui",
|
|
11974
|
+
"category": "Navigation",
|
|
11975
|
+
"sourceFile": "silicaui/src/components/link.js",
|
|
11976
|
+
"description": "The Link component — a styled inline anchor. Orthogonal color model, like Badge: a color class (`.link-primary`) only sets `--link-accent`; the base `.link` reads it for its color. By default a link is underlined and inherits the surrounding text color; `-hover` defers the underline until hover. A visible focus ring is always drawn for keyboard use. @param {string[]} colors - color names to generate `.link-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
11977
|
+
"root": "link",
|
|
11978
|
+
"classes": [
|
|
11979
|
+
"link",
|
|
11980
|
+
"link-accent",
|
|
11981
|
+
"link-error",
|
|
11982
|
+
"link-hover",
|
|
11983
|
+
"link-info",
|
|
11984
|
+
"link-neutral",
|
|
11985
|
+
"link-primary",
|
|
11986
|
+
"link-secondary",
|
|
11987
|
+
"link-success",
|
|
11988
|
+
"link-warning"
|
|
11989
|
+
],
|
|
11990
|
+
"colorVariants": [
|
|
11991
|
+
"link-primary",
|
|
11992
|
+
"link-secondary",
|
|
11993
|
+
"link-accent",
|
|
11994
|
+
"link-neutral",
|
|
11995
|
+
"link-info",
|
|
11996
|
+
"link-success",
|
|
11997
|
+
"link-warning",
|
|
11998
|
+
"link-error"
|
|
11999
|
+
]
|
|
12000
|
+
},
|
|
12001
|
+
{
|
|
12002
|
+
"name": "list",
|
|
12003
|
+
"package": "@wizeworks/silicaui",
|
|
12004
|
+
"category": "Data display",
|
|
12005
|
+
"sourceFile": "silicaui/src/components/list.js",
|
|
12006
|
+
"description": "The List component — a vertical list of rows. Colorless. A base-100 surface whose `.list-row`s are flex rows separated by hairline rules. Put `.list-col-grow` on the cell that should take the free space (title/body); leading/trailing cells (icon, avatar, actions) size to content. `.list-title` is a small muted section heading. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12007
|
+
"root": "list",
|
|
12008
|
+
"classes": [
|
|
12009
|
+
"list",
|
|
12010
|
+
"list-col-grow",
|
|
12011
|
+
"list-hover",
|
|
12012
|
+
"list-row",
|
|
12013
|
+
"list-title"
|
|
12014
|
+
]
|
|
12015
|
+
},
|
|
12016
|
+
{
|
|
12017
|
+
"name": "loading",
|
|
12018
|
+
"package": "@wizeworks/silicaui",
|
|
12019
|
+
"category": "Feedback & overlay",
|
|
12020
|
+
"sourceFile": "silicaui/src/components/loading.js",
|
|
12021
|
+
"description": "The Loading component — a spinner for in-progress states. Colorless: a ring with one transparent edge spun by the shared `silica-spin` keyframes, drawn in `currentColor` so it takes on the surrounding text color (or a `text-*` utility). Sizes xs–xl. It stays spinning under `prefers-reduced-motion` on purpose — it's an essential activity signal, not decoration. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12022
|
+
"root": "loading",
|
|
12023
|
+
"classes": [
|
|
12024
|
+
"loading",
|
|
12025
|
+
"loading-lg",
|
|
12026
|
+
"loading-md",
|
|
12027
|
+
"loading-sm",
|
|
12028
|
+
"loading-xl",
|
|
12029
|
+
"loading-xs"
|
|
12030
|
+
]
|
|
12031
|
+
},
|
|
12032
|
+
{
|
|
12033
|
+
"name": "mask",
|
|
12034
|
+
"package": "@wizeworks/silicaui",
|
|
12035
|
+
"category": "Layout",
|
|
12036
|
+
"sourceFile": "silicaui/src/components/mask.js",
|
|
12037
|
+
"description": "The Mask component — clips an element (or its content) to a shape. Colorless. Polygonal shapes use `clip-path: polygon()` with percentage points (so they scale with the element and never depend on an SVG being decoded); the circle uses `clip-path: circle()`. Only the two curved shapes that a polygon can't express — `squircle` and `heart` — fall back to a `mask-image` data-URI sized with `mask-size: contain`. All of these are broadly supported. Apply `.mask` + a shape class directly to an `<img>`, or to a sized container whose content should be clipped. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12038
|
+
"root": "mask",
|
|
12039
|
+
"classes": [
|
|
12040
|
+
"mask",
|
|
12041
|
+
"mask-circle",
|
|
12042
|
+
"mask-decagon",
|
|
12043
|
+
"mask-diamond",
|
|
12044
|
+
"mask-heart",
|
|
12045
|
+
"mask-hexagon",
|
|
12046
|
+
"mask-hexagon-2",
|
|
12047
|
+
"mask-parallelogram",
|
|
12048
|
+
"mask-pentagon",
|
|
12049
|
+
"mask-squircle",
|
|
12050
|
+
"mask-star",
|
|
12051
|
+
"mask-star-2",
|
|
12052
|
+
"mask-triangle",
|
|
12053
|
+
"mask-triangle-2",
|
|
12054
|
+
"mask-triangle-3",
|
|
12055
|
+
"mask-triangle-4"
|
|
12056
|
+
]
|
|
12057
|
+
},
|
|
12058
|
+
{
|
|
12059
|
+
"name": "menu",
|
|
12060
|
+
"package": "@wizeworks/silicaui",
|
|
12061
|
+
"category": "Navigation",
|
|
12062
|
+
"sourceFile": "silicaui/src/components/menu.js",
|
|
12063
|
+
"description": "The Menu component — a styled vertical list of links/actions (sidebars, and later the contents of a dropdown/popover). Colorless surface. Items are the `<a>`/`<button>` inside each `<li>`: padded, field-rounded, hover-washed with base-200. The active item (`.menu-active` or `[aria-current=\"page\"]`) gets a soft primary tint. A `.menu-title` is a muted section label. Behavior (open/close of an enclosing popover) is NOT here — that arrives with the Base UI layer; this is the list. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12064
|
+
"root": "menu",
|
|
12065
|
+
"classes": [
|
|
12066
|
+
"menu",
|
|
12067
|
+
"menu-title"
|
|
12068
|
+
]
|
|
12069
|
+
},
|
|
12070
|
+
{
|
|
12071
|
+
"name": "menubar",
|
|
12072
|
+
"package": "@wizeworks/silicaui",
|
|
12073
|
+
"category": "Navigation",
|
|
12074
|
+
"sourceFile": "silicaui/src/components/menubar.js",
|
|
12075
|
+
"description": "The Menubar component — a horizontal bar of menus (File / Edit / View …), like a desktop-app menu bar. Behavior is Base UI's Menubar + Menu (arrow between menus, hover to switch once one is open, roving focus); Silica styles the bar and its triggers. The menus themselves reuse the `.dropdown*` popup surface so every menu in the system looks identical. Colorless. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12076
|
+
"root": "menubar",
|
|
12077
|
+
"classes": [
|
|
12078
|
+
"menubar",
|
|
12079
|
+
"menubar-trigger"
|
|
12080
|
+
]
|
|
12081
|
+
},
|
|
12082
|
+
{
|
|
12083
|
+
"name": "metadata-list",
|
|
12084
|
+
"package": "@wizeworks/silicaui",
|
|
12085
|
+
"category": "Data display",
|
|
12086
|
+
"sourceFile": "silicaui/src/components/metadata-list.js",
|
|
12087
|
+
"description": "MetadataList — a key/value property list (a real `<dl>`; `MetadataItem` renders a `<dt>`+`<dd>` pair as direct grid children, so the whole list is one two-column CSS Grid — no wrapper divs needed per row). `data-layout=\"row\"` (default): label left, value right-aligned, one row each. `data-layout=\"stack\"`: label above value, single column — for narrow cards/sidebars. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12088
|
+
"root": "metadata-list",
|
|
12089
|
+
"classes": [
|
|
12090
|
+
"metadata-list",
|
|
12091
|
+
"metadata-list-label",
|
|
12092
|
+
"metadata-list-value"
|
|
12093
|
+
],
|
|
12094
|
+
"compoundSelectors": [
|
|
12095
|
+
".metadata-list dt:last-of-type",
|
|
12096
|
+
".metadata-list dd:last-of-type",
|
|
12097
|
+
".metadata-list[data-layout=\"stack\"]",
|
|
12098
|
+
".metadata-list[data-layout=\"stack\"] .metadata-list-label",
|
|
12099
|
+
".metadata-list[data-layout=\"stack\"] .metadata-list-value"
|
|
12100
|
+
]
|
|
12101
|
+
},
|
|
12102
|
+
{
|
|
12103
|
+
"name": "meter",
|
|
12104
|
+
"package": "@wizeworks/silicaui",
|
|
12105
|
+
"category": "Data display",
|
|
12106
|
+
"sourceFile": "silicaui/src/components/meter.js",
|
|
12107
|
+
"description": "The Meter component — a static measurement within a known range. Distinct from Progress: a meter shows a fixed reading (disk usage, score, capacity), not the advancement of a task. Same div-based track/indicator as Progress (Base UI's Meter sizes the indicator's width from the value; we just paint it), and the same orthogonal color model — a color class only sets `--meter-fill`, the neutral track stays put so the reading reads clearly. A `.meter-header` row pairs an optional `.meter-label` with a `.meter-value`. @param {string[]} colors - color names to generate `.meter-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12108
|
+
"root": "meter",
|
|
12109
|
+
"classes": [
|
|
12110
|
+
"meter",
|
|
12111
|
+
"meter-accent",
|
|
12112
|
+
"meter-error",
|
|
12113
|
+
"meter-header",
|
|
12114
|
+
"meter-indicator",
|
|
12115
|
+
"meter-info",
|
|
12116
|
+
"meter-label",
|
|
12117
|
+
"meter-lg",
|
|
12118
|
+
"meter-md",
|
|
12119
|
+
"meter-neutral",
|
|
12120
|
+
"meter-primary",
|
|
12121
|
+
"meter-secondary",
|
|
12122
|
+
"meter-sm",
|
|
12123
|
+
"meter-success",
|
|
12124
|
+
"meter-track",
|
|
12125
|
+
"meter-value",
|
|
12126
|
+
"meter-warning",
|
|
12127
|
+
"meter-xl",
|
|
12128
|
+
"meter-xs"
|
|
12129
|
+
],
|
|
12130
|
+
"colorVariants": [
|
|
12131
|
+
"meter-primary",
|
|
12132
|
+
"meter-secondary",
|
|
12133
|
+
"meter-accent",
|
|
12134
|
+
"meter-neutral",
|
|
12135
|
+
"meter-info",
|
|
12136
|
+
"meter-success",
|
|
12137
|
+
"meter-warning",
|
|
12138
|
+
"meter-error"
|
|
12139
|
+
],
|
|
12140
|
+
"compoundSelectors": [
|
|
12141
|
+
".meter-xs .meter-track",
|
|
12142
|
+
".meter-sm .meter-track",
|
|
12143
|
+
".meter-md .meter-track",
|
|
12144
|
+
".meter-lg .meter-track",
|
|
12145
|
+
".meter-xl .meter-track"
|
|
12146
|
+
]
|
|
12147
|
+
},
|
|
12148
|
+
{
|
|
12149
|
+
"name": "mockup",
|
|
12150
|
+
"package": "@wizeworks/silicaui",
|
|
12151
|
+
"category": "css",
|
|
12152
|
+
"sourceFile": "silicaui/src/components/mockup.js",
|
|
12153
|
+
"description": "The Mockup components — frames for showcasing UI and code in docs and marketing pages. Colorless (the code frame paints itself with the neutral surface). Three independent frames: .mockup-window — an app window with three faux traffic-light dots .mockup-browser — a window plus a toolbar that holds a faux address bar .mockup-code — a dark terminal/code block; each `<pre data-prefix>` line renders its prefix (`$`, `>`, a line number…) The window titlebar and its dots are drawn with pseudo-elements so authors just wrap their content — no chrome markup required. The browser toolbar is real markup because it carries a URL. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12154
|
+
"root": null,
|
|
12155
|
+
"familyPrefix": "mockup-",
|
|
12156
|
+
"rootNote": "No bare `.mockup` class exists — this family is only its `mockup-*` parts.",
|
|
12157
|
+
"classes": [
|
|
12158
|
+
"mockup-browser",
|
|
12159
|
+
"mockup-browser-input",
|
|
12160
|
+
"mockup-browser-toolbar",
|
|
12161
|
+
"mockup-code",
|
|
12162
|
+
"mockup-phone",
|
|
12163
|
+
"mockup-phone-display",
|
|
12164
|
+
"mockup-window"
|
|
12165
|
+
]
|
|
12166
|
+
},
|
|
12167
|
+
{
|
|
12168
|
+
"name": "multi-select",
|
|
12169
|
+
"package": "@wizeworks/silicaui",
|
|
12170
|
+
"category": "Data input",
|
|
12171
|
+
"sourceFile": "silicaui/src/components/multi-select.js",
|
|
12172
|
+
"description": "MultiSelect — a searchable, multi-value listbox (Base UI Combobox in `multiple` mode, using its dedicated `Chip`/`Chips`/`ChipRemove` parts). The outer `.multi-select` is the bordered field (looks and focuses like `.tag-input`): a flex-wrapping box holding removable `.multi-select-chip`s and a borderless `.multi-select-input` that grows to fill the row, plus trailing clear (×) / open (chevron) buttons reusing the Combobox icon-button treatment. The dropdown list REUSES the Select surface (`.select-popup`, `.select-item`, `.select-item-indicator`, `.combobox-empty`) so every listbox in the system reads identically — this module only adds the chip field. Colored: `.multi-select-<name>` sets `--multi-select-accent` (focus ring, chip fill/text, focused border) and `--multi-select-border` (a softened tint of the same color for the resting border), matching the other field-tier controls. @param {string[]} colors - color names to generate `.multi-select-<name>` for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12173
|
+
"root": "multi-select",
|
|
12174
|
+
"classes": [
|
|
12175
|
+
"multi-select",
|
|
12176
|
+
"multi-select-accent",
|
|
12177
|
+
"multi-select-chip",
|
|
12178
|
+
"multi-select-chip-remove",
|
|
12179
|
+
"multi-select-chips",
|
|
12180
|
+
"multi-select-clear",
|
|
12181
|
+
"multi-select-error",
|
|
12182
|
+
"multi-select-info",
|
|
12183
|
+
"multi-select-input",
|
|
12184
|
+
"multi-select-lg",
|
|
12185
|
+
"multi-select-md",
|
|
12186
|
+
"multi-select-neutral",
|
|
12187
|
+
"multi-select-primary",
|
|
12188
|
+
"multi-select-secondary",
|
|
12189
|
+
"multi-select-sm",
|
|
12190
|
+
"multi-select-success",
|
|
12191
|
+
"multi-select-trigger",
|
|
12192
|
+
"multi-select-warning",
|
|
12193
|
+
"multi-select-xl",
|
|
12194
|
+
"multi-select-xs"
|
|
12195
|
+
],
|
|
12196
|
+
"colorVariants": [
|
|
12197
|
+
"multi-select-primary",
|
|
12198
|
+
"multi-select-secondary",
|
|
12199
|
+
"multi-select-accent",
|
|
12200
|
+
"multi-select-neutral",
|
|
12201
|
+
"multi-select-info",
|
|
12202
|
+
"multi-select-success",
|
|
12203
|
+
"multi-select-warning",
|
|
12204
|
+
"multi-select-error"
|
|
12205
|
+
],
|
|
12206
|
+
"compoundSelectors": [
|
|
12207
|
+
".multi-select:focus-within",
|
|
12208
|
+
".multi-select[data-disabled]"
|
|
12209
|
+
]
|
|
12210
|
+
},
|
|
12211
|
+
{
|
|
12212
|
+
"name": "navbar",
|
|
12213
|
+
"package": "@wizeworks/silicaui",
|
|
12214
|
+
"category": "Navigation",
|
|
12215
|
+
"sourceFile": "silicaui/src/components/navbar.js",
|
|
12216
|
+
"description": "The Navbar component — a horizontal top bar with start / center / end slots. Colorless. A flex row painted with the base surface. The three slots use `flex: 1` on start/end and `flex-shrink: 0` on center, so a centered slot stays optically centered whether or not the start/end content is balanced — and it degrades gracefully to a simple two-side bar when center is omitted. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12217
|
+
"root": "navbar",
|
|
12218
|
+
"classes": [
|
|
12219
|
+
"navbar",
|
|
12220
|
+
"navbar-center",
|
|
12221
|
+
"navbar-end",
|
|
12222
|
+
"navbar-start"
|
|
12223
|
+
]
|
|
12224
|
+
},
|
|
12225
|
+
{
|
|
12226
|
+
"name": "navigation-menu",
|
|
12227
|
+
"package": "@wizeworks/silicaui",
|
|
12228
|
+
"category": "Navigation",
|
|
12229
|
+
"sourceFile": "silicaui/src/components/navigation-menu.js",
|
|
12230
|
+
"description": "The NavigationMenu component — a site-navigation bar whose items can open rich dropdown panels (a \"mega menu\"). Behavior is Base UI's NavigationMenu (hover/ click to open, a single shared animated viewport that resizes between panels, keyboard nav); Silica styles the bar, triggers, links, the floating popup, and the clipping viewport. Colorless. Base UI moves the active item's `.navigation-menu-content` into the shared `.navigation-menu-viewport` and exposes the target size as `--popup-width` / `--popup-height`, which the popup animates toward — so switching panels slides + resizes smoothly. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12231
|
+
"root": "navigation-menu",
|
|
12232
|
+
"classes": [
|
|
12233
|
+
"navigation-menu",
|
|
12234
|
+
"navigation-menu-content",
|
|
12235
|
+
"navigation-menu-icon",
|
|
12236
|
+
"navigation-menu-link",
|
|
12237
|
+
"navigation-menu-list",
|
|
12238
|
+
"navigation-menu-popup",
|
|
12239
|
+
"navigation-menu-positioner",
|
|
12240
|
+
"navigation-menu-trigger",
|
|
12241
|
+
"navigation-menu-viewport"
|
|
12242
|
+
]
|
|
12243
|
+
},
|
|
12244
|
+
{
|
|
12245
|
+
"name": "number-field",
|
|
12246
|
+
"package": "@wizeworks/silicaui",
|
|
12247
|
+
"category": "Data input",
|
|
12248
|
+
"sourceFile": "silicaui/src/components/number-field.js",
|
|
12249
|
+
"description": "The NumberField component — a stepper input (Base UI behavior). Colorless. A bordered group with a decrement button, a centered numeric input, and an increment button. Base UI owns the value clamping, keyboard stepping, and scrub interaction; we paint the group. The native spinner is hidden (the buttons replace it). @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12250
|
+
"root": "number-field",
|
|
12251
|
+
"classes": [
|
|
12252
|
+
"number-field",
|
|
12253
|
+
"number-field-button",
|
|
12254
|
+
"number-field-decrement",
|
|
12255
|
+
"number-field-group",
|
|
12256
|
+
"number-field-increment",
|
|
12257
|
+
"number-field-input"
|
|
12258
|
+
]
|
|
12259
|
+
},
|
|
12260
|
+
{
|
|
12261
|
+
"name": "outline",
|
|
12262
|
+
"package": "@wizeworks/silicaui",
|
|
12263
|
+
"category": "Navigation",
|
|
12264
|
+
"sourceFile": "silicaui/src/components/outline.js",
|
|
12265
|
+
"description": "Outline — a scroll-spy table of contents. A vertical rail (`.outline-list`'s border) with one link per heading; the link nearest the active reading position gets a solid accent rail segment + accent text (`[data-active]`, set by the React layer's scroll tracking — this module is pure paint). Colorless: the active state reads `--color-primary`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12266
|
+
"root": "outline",
|
|
12267
|
+
"classes": [
|
|
12268
|
+
"outline",
|
|
12269
|
+
"outline-link",
|
|
12270
|
+
"outline-list"
|
|
12271
|
+
]
|
|
12272
|
+
},
|
|
12273
|
+
{
|
|
12274
|
+
"name": "overflow-list",
|
|
12275
|
+
"package": "@wizeworks/silicaui",
|
|
12276
|
+
"category": "Navigation",
|
|
12277
|
+
"sourceFile": "silicaui/src/components/overflow-list.js",
|
|
12278
|
+
"description": "OverflowList — a single-row list that measures available width and folds whatever doesn't fit into a trailing \"+N\" indicator. The React layer does the measuring (a hidden off-screen row renders every item once to read its real width, ResizeObserver drives recompute); this only paints the visible row, the hidden measurer, and the default \"+N\" badge + its popup. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12279
|
+
"root": "overflow-list",
|
|
12280
|
+
"classes": [
|
|
12281
|
+
"overflow-list",
|
|
12282
|
+
"overflow-list-badge",
|
|
12283
|
+
"overflow-list-measure",
|
|
12284
|
+
"overflow-list-popup"
|
|
12285
|
+
]
|
|
12286
|
+
},
|
|
12287
|
+
{
|
|
12288
|
+
"name": "overlay",
|
|
12289
|
+
"package": "@wizeworks/silicaui",
|
|
12290
|
+
"category": "Feedback & overlay",
|
|
12291
|
+
"sourceFile": "silicaui/src/components/overlay.js",
|
|
12292
|
+
"description": "Overlay — a contextual scrim over a media element (image/video/card), presenting info or actions specific to what's behind it. Distinct from `Lightbox` (a full-viewport viewer) and `Dialog` (an interruptive modal) — this stays anchored to its media, either always visible or revealed on hover/focus (`data-reveal=\"hover\"`), for gallery grids and media cards. Colorless: the scrim is a black gradient/wash + white text, independent of the page theme (matches media conventions — captions read over any photo). @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12293
|
+
"root": "overlay",
|
|
12294
|
+
"classes": [
|
|
12295
|
+
"overlay",
|
|
12296
|
+
"overlay-scrim"
|
|
12297
|
+
],
|
|
12298
|
+
"compoundSelectors": [
|
|
12299
|
+
".overlay-scrim :where(h1, h2, h3, h4, h5, h6, p)",
|
|
12300
|
+
".overlay-scrim[data-placement=\"bottom\"]",
|
|
12301
|
+
".overlay-scrim[data-placement=\"top\"]",
|
|
12302
|
+
".overlay-scrim[data-placement=\"full\"]",
|
|
12303
|
+
".overlay[data-reveal=\"hover\"] .overlay-scrim",
|
|
12304
|
+
".overlay[data-reveal=\"hover\"]:hover .overlay-scrim, .overlay[data-reveal=\"hover\"]:focus-within .overlay-scrim"
|
|
12305
|
+
]
|
|
12306
|
+
},
|
|
12307
|
+
{
|
|
12308
|
+
"name": "pagination",
|
|
12309
|
+
"package": "@wizeworks/silicaui",
|
|
12310
|
+
"category": "Navigation",
|
|
12311
|
+
"sourceFile": "silicaui/src/components/pagination.js",
|
|
12312
|
+
"description": "The Pagination component — a row of page controls. Colorless base with an orthogonal accent for the active page. The React wrapper computes the page range (with ellipses) and renders `.pagination-item` buttons plus prev/next; the active page gets `.pagination-item-active`. @param {string[]} colors - color names to generate `.pagination-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12313
|
+
"root": "pagination",
|
|
12314
|
+
"classes": [
|
|
12315
|
+
"pagination",
|
|
12316
|
+
"pagination-accent",
|
|
12317
|
+
"pagination-ellipsis",
|
|
12318
|
+
"pagination-error",
|
|
12319
|
+
"pagination-info",
|
|
12320
|
+
"pagination-item",
|
|
12321
|
+
"pagination-item-active",
|
|
12322
|
+
"pagination-lg",
|
|
12323
|
+
"pagination-md",
|
|
12324
|
+
"pagination-neutral",
|
|
12325
|
+
"pagination-primary",
|
|
12326
|
+
"pagination-secondary",
|
|
12327
|
+
"pagination-sm",
|
|
12328
|
+
"pagination-success",
|
|
12329
|
+
"pagination-warning",
|
|
12330
|
+
"pagination-xl",
|
|
12331
|
+
"pagination-xs"
|
|
12332
|
+
],
|
|
12333
|
+
"colorVariants": [
|
|
12334
|
+
"pagination-primary",
|
|
12335
|
+
"pagination-secondary",
|
|
12336
|
+
"pagination-accent",
|
|
12337
|
+
"pagination-neutral",
|
|
12338
|
+
"pagination-info",
|
|
12339
|
+
"pagination-success",
|
|
12340
|
+
"pagination-warning",
|
|
12341
|
+
"pagination-error"
|
|
12342
|
+
]
|
|
12343
|
+
},
|
|
12344
|
+
{
|
|
12345
|
+
"name": "phone-input",
|
|
12346
|
+
"package": "@wizeworks/silicaui",
|
|
12347
|
+
"category": "Data input",
|
|
12348
|
+
"sourceFile": "silicaui/src/components/phone-input.js",
|
|
12349
|
+
"description": "The PhoneInput component's only bespoke rule — a fixed, compact width for the country-code `Select` trigger when it's joined (via `Join`) to the national-number `Input`. Everything else is composed from `Select`, `Input`, and `Join`, which is why this module is so small. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12350
|
+
"root": "phone-input-country",
|
|
12351
|
+
"classes": [
|
|
12352
|
+
"phone-input-country"
|
|
12353
|
+
]
|
|
12354
|
+
},
|
|
12355
|
+
{
|
|
12356
|
+
"name": "pin-input",
|
|
12357
|
+
"package": "@wizeworks/silicaui",
|
|
12358
|
+
"category": "Data input",
|
|
12359
|
+
"sourceFile": "silicaui/src/components/pin-input.js",
|
|
12360
|
+
"description": "The PinInput component — a row of single-character field-tier cells for OTP / verification-code entry. Each cell shares Input's field tier (`--radius-field`, `--size-field`) so it lines up with same-size Inputs; a color class (`.pin-input-cell-primary`, …) sets only `--pin-input-accent`, matching Input/Select's orthogonal-color convention. @param {string[]} colors - color names to generate `.pin-input-cell-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12361
|
+
"root": "pin-input",
|
|
12362
|
+
"classes": [
|
|
12363
|
+
"pin-input",
|
|
12364
|
+
"pin-input-cell",
|
|
12365
|
+
"pin-input-cell-accent",
|
|
12366
|
+
"pin-input-cell-error",
|
|
12367
|
+
"pin-input-cell-info",
|
|
12368
|
+
"pin-input-cell-lg",
|
|
12369
|
+
"pin-input-cell-md",
|
|
12370
|
+
"pin-input-cell-neutral",
|
|
12371
|
+
"pin-input-cell-primary",
|
|
12372
|
+
"pin-input-cell-secondary",
|
|
12373
|
+
"pin-input-cell-sm",
|
|
12374
|
+
"pin-input-cell-success",
|
|
12375
|
+
"pin-input-cell-warning",
|
|
12376
|
+
"pin-input-cell-xl",
|
|
12377
|
+
"pin-input-cell-xs"
|
|
12378
|
+
]
|
|
12379
|
+
},
|
|
12380
|
+
{
|
|
12381
|
+
"name": "popover",
|
|
12382
|
+
"package": "@wizeworks/silicaui",
|
|
12383
|
+
"category": "Feedback & overlay",
|
|
12384
|
+
"sourceFile": "silicaui/src/components/popover.js",
|
|
12385
|
+
"description": "The Popover surface — the visual half of the Base-UI-backed Popover (click-triggered floating panel). Base UI owns positioning/focus/dismissal; this styles the `.popover` panel + optional arrow + title/description. Light base-100 surface (unlike the dark Tooltip). The arrow is OFF by default (shadcn-style) — a bordered arrow on a light surface is fiddly to make seamless, and most popovers read cleaner without one; opt in with `arrow`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12386
|
+
"root": "popover",
|
|
12387
|
+
"classes": [
|
|
12388
|
+
"popover",
|
|
12389
|
+
"popover-arrow",
|
|
12390
|
+
"popover-description",
|
|
12391
|
+
"popover-title"
|
|
12392
|
+
],
|
|
12393
|
+
"compoundSelectors": [
|
|
12394
|
+
".popover-arrow[data-side=\"top\"]",
|
|
12395
|
+
".popover-arrow[data-side=\"bottom\"]",
|
|
12396
|
+
".popover-arrow[data-side=\"left\"]",
|
|
12397
|
+
".popover-arrow[data-side=\"right\"]"
|
|
12398
|
+
]
|
|
12399
|
+
},
|
|
12400
|
+
{
|
|
12401
|
+
"name": "power-search",
|
|
12402
|
+
"package": "@wizeworks/silicaui",
|
|
12403
|
+
"category": "Advanced / composite",
|
|
12404
|
+
"sourceFile": "silicaui/src/components/power-search.js",
|
|
12405
|
+
"description": "PowerSearch — a structured search field: free text plus removable `field: value` filter chips, added via a field-picker → value-picker popover flow. The popup content reuses `.select-popup`-style chrome implicitly (it's rendered through `Popover`, styled here as `power-search-*` lists) so it still reads as part of the same listbox family. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12406
|
+
"root": "power-search",
|
|
12407
|
+
"classes": [
|
|
12408
|
+
"power-search",
|
|
12409
|
+
"power-search-add",
|
|
12410
|
+
"power-search-chip",
|
|
12411
|
+
"power-search-chip-field",
|
|
12412
|
+
"power-search-chip-remove",
|
|
12413
|
+
"power-search-chip-trigger",
|
|
12414
|
+
"power-search-field-item",
|
|
12415
|
+
"power-search-field-list",
|
|
12416
|
+
"power-search-input",
|
|
12417
|
+
"power-search-option-list",
|
|
12418
|
+
"power-search-value-form",
|
|
12419
|
+
"power-search-value-picker",
|
|
12420
|
+
"power-search-value-picker-back",
|
|
12421
|
+
"power-search-value-picker-label"
|
|
12422
|
+
],
|
|
12423
|
+
"compoundSelectors": [
|
|
12424
|
+
".power-search:focus-within"
|
|
12425
|
+
]
|
|
12426
|
+
},
|
|
12427
|
+
{
|
|
12428
|
+
"name": "preview-card",
|
|
12429
|
+
"package": "@wizeworks/silicaui",
|
|
12430
|
+
"category": "Data display",
|
|
12431
|
+
"sourceFile": "silicaui/src/components/preview-card.js",
|
|
12432
|
+
"description": "The PreviewCard surface — a hover/focus-triggered rich preview (link hovercard). Base UI's PreviewCard owns the open-on-hover behavior, focus, and positioning; this styles the `.preview-card` panel and its optional arrow. Same light base-100 surface + scale-in animation as Popover, but roomier and meant to hold freeform content (an avatar, heading, blurb, stats). Arrow is OFF by default (cleaner without one on a light bordered surface); opt in with the `arrow` prop. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12433
|
+
"root": "preview-card",
|
|
12434
|
+
"classes": [
|
|
12435
|
+
"preview-card",
|
|
12436
|
+
"preview-card-arrow"
|
|
12437
|
+
],
|
|
12438
|
+
"compoundSelectors": [
|
|
12439
|
+
".preview-card-arrow[data-side=\"top\"]",
|
|
12440
|
+
".preview-card-arrow[data-side=\"bottom\"]",
|
|
12441
|
+
".preview-card-arrow[data-side=\"left\"]",
|
|
12442
|
+
".preview-card-arrow[data-side=\"right\"]"
|
|
12443
|
+
]
|
|
12444
|
+
},
|
|
12445
|
+
{
|
|
12446
|
+
"name": "progress",
|
|
12447
|
+
"package": "@wizeworks/silicaui",
|
|
12448
|
+
"category": "Feedback & overlay",
|
|
12449
|
+
"sourceFile": "silicaui/src/components/progress.js",
|
|
12450
|
+
"description": "The Progress component — a horizontal bar showing completion of a task. Deliberately div-based (`.progress` track + `.progress-bar` fill), NOT a styled native `<progress>`. The native element paints its fill through engine-specific pseudo-elements (`::-webkit-progress-value` vs `::-moz-progress-bar`) that render differently across browsers and fight you on the indeterminate state. Two nested divs render pixel-identically in every engine and give full control over the indeterminate animation and radius. Orthogonal color model, same as the rest of the system: a color class (`.progress-success`) only sets `--progress-fill`; the track stays neutral so the filled portion reads clearly against it. Height scales with the shared `--size-field` density lever, so an `-sm` progress lines up with `-sm` fields. Determinate: set the bar's inline `width`. Indeterminate: add `.progress-indeterminate` and let a sliding segment animate (a gentle opacity pulse under `prefers-reduced-motion`). Keyframes live in theme.js. @param {string[]} colors - color names to generate `.progress-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12451
|
+
"root": "progress",
|
|
12452
|
+
"classes": [
|
|
12453
|
+
"progress",
|
|
12454
|
+
"progress-accent",
|
|
12455
|
+
"progress-bar",
|
|
12456
|
+
"progress-error",
|
|
12457
|
+
"progress-indeterminate",
|
|
12458
|
+
"progress-info",
|
|
12459
|
+
"progress-label",
|
|
12460
|
+
"progress-label-row",
|
|
12461
|
+
"progress-lg",
|
|
12462
|
+
"progress-md",
|
|
12463
|
+
"progress-neutral",
|
|
12464
|
+
"progress-primary",
|
|
12465
|
+
"progress-secondary",
|
|
12466
|
+
"progress-sm",
|
|
12467
|
+
"progress-success",
|
|
12468
|
+
"progress-value",
|
|
12469
|
+
"progress-warning",
|
|
12470
|
+
"progress-wrapper",
|
|
12471
|
+
"progress-xl",
|
|
12472
|
+
"progress-xs"
|
|
12473
|
+
],
|
|
12474
|
+
"colorVariants": [
|
|
12475
|
+
"progress-primary",
|
|
12476
|
+
"progress-secondary",
|
|
12477
|
+
"progress-accent",
|
|
12478
|
+
"progress-neutral",
|
|
12479
|
+
"progress-info",
|
|
12480
|
+
"progress-success",
|
|
12481
|
+
"progress-warning",
|
|
12482
|
+
"progress-error"
|
|
12483
|
+
]
|
|
12484
|
+
},
|
|
12485
|
+
{
|
|
12486
|
+
"name": "prose",
|
|
12487
|
+
"package": "@wizeworks/silicaui",
|
|
12488
|
+
"category": "Typography",
|
|
12489
|
+
"sourceFile": "silicaui/src/components/prose.js",
|
|
12490
|
+
"description": "The Prose component — typographic defaults for a block of rich/markdown content (Silica's answer to `@tailwindcss/typography`). Tailwind's Preflight strips headings, lists, quotes, code, and tables to nothing (it won't impose a look); this puts a considered, theme-aware look back — but ONLY inside `.prose`, so it never leaks into the app chrome. Every color is a Silica token (base-content text, primary links, base-200/300 surfaces + rules), so it tracks the active theme automatically. Colorless in the variant sense (no per-color classes). Inner sizing is in `em`, so the size modifiers (`-sm`/`-lg`/`-xl`) rescale the whole block by changing one root font-size. Caps at `65ch` for readability — add `max-w-none` to remove. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12491
|
+
"root": "prose",
|
|
12492
|
+
"classes": [
|
|
12493
|
+
"prose",
|
|
12494
|
+
"prose-lg",
|
|
12495
|
+
"prose-md",
|
|
12496
|
+
"prose-sm",
|
|
12497
|
+
"prose-xl",
|
|
12498
|
+
"prose-xs"
|
|
12499
|
+
]
|
|
12500
|
+
},
|
|
12501
|
+
{
|
|
12502
|
+
"name": "radial-progress",
|
|
12503
|
+
"package": "@wizeworks/silicaui",
|
|
12504
|
+
"category": "Feedback & overlay",
|
|
12505
|
+
"sourceFile": "silicaui/src/components/radial-progress.js",
|
|
12506
|
+
"description": "The RadialProgress component — a circular progress ring with a centered label. Colorless accent (defaults to primary). Drawn with a single `conic-gradient` (filled arc + base-300 track) and a `::before` inner disc that punches out the centre to leave a ring of `--thickness`. No mask, no SVG — `conic-gradient` ships across every engine (2020+). The `--value` (0–100), `--size`, and `--thickness` custom properties are set inline by the React wrapper. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12507
|
+
"root": "radial-progress",
|
|
12508
|
+
"classes": [
|
|
12509
|
+
"radial-progress"
|
|
12510
|
+
]
|
|
12511
|
+
},
|
|
12512
|
+
{
|
|
12513
|
+
"name": "radio-group",
|
|
12514
|
+
"package": "@wizeworks/silicaui",
|
|
12515
|
+
"category": "Data input",
|
|
12516
|
+
"sourceFile": "silicaui/src/components/radio-group.js",
|
|
12517
|
+
"description": "The RadioGroup layout — a stack of radio options managed as one control. Colorless. Just the layout + option row; the radios themselves are Silica `.radio` inputs (native, so the browser gives arrow-key navigation within the shared `name` for free). `.radio-option` is the clickable `<label>` pairing a radio with its caption. `[data-orientation=\"horizontal\"]` lays them in a row. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12518
|
+
"root": null,
|
|
12519
|
+
"familyPrefix": "radio-",
|
|
12520
|
+
"rootNote": "No bare `.radio` class exists — this family is only its `radio-*` parts.",
|
|
12521
|
+
"classes": [
|
|
12522
|
+
"radio-group",
|
|
12523
|
+
"radio-option"
|
|
12524
|
+
]
|
|
12525
|
+
},
|
|
12526
|
+
{
|
|
12527
|
+
"name": "radio",
|
|
12528
|
+
"package": "@wizeworks/silicaui",
|
|
12529
|
+
"category": "Data input",
|
|
12530
|
+
"sourceFile": "silicaui/src/components/radio.js",
|
|
12531
|
+
"description": "The Radio component — a native `<input type=\"radio\">` restyled. Selector-tier control: scales with `--size-selector`, always a circle. A color class (`.radio-primary`) sets only `--radio-accent` (checked fill + border + focus ring). The checked \"dot\" is drawn with an inset box-shadow ring of the surface color — reliable across browsers and needs no pseudo-element. @param {string[]} colors - color names to generate `.radio-<name>` for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12532
|
+
"root": "radio",
|
|
12533
|
+
"classes": [
|
|
12534
|
+
"radio",
|
|
12535
|
+
"radio-accent",
|
|
12536
|
+
"radio-error",
|
|
12537
|
+
"radio-info",
|
|
12538
|
+
"radio-lg",
|
|
12539
|
+
"radio-md",
|
|
12540
|
+
"radio-neutral",
|
|
12541
|
+
"radio-primary",
|
|
12542
|
+
"radio-secondary",
|
|
12543
|
+
"radio-sm",
|
|
12544
|
+
"radio-success",
|
|
12545
|
+
"radio-warning",
|
|
12546
|
+
"radio-xl",
|
|
12547
|
+
"radio-xs"
|
|
12548
|
+
],
|
|
12549
|
+
"colorVariants": [
|
|
12550
|
+
"radio-primary",
|
|
12551
|
+
"radio-secondary",
|
|
12552
|
+
"radio-accent",
|
|
12553
|
+
"radio-neutral",
|
|
12554
|
+
"radio-info",
|
|
12555
|
+
"radio-success",
|
|
12556
|
+
"radio-warning",
|
|
12557
|
+
"radio-error"
|
|
12558
|
+
]
|
|
12559
|
+
},
|
|
12560
|
+
{
|
|
12561
|
+
"name": "range",
|
|
12562
|
+
"package": "@wizeworks/silicaui",
|
|
12563
|
+
"category": "Data input",
|
|
12564
|
+
"sourceFile": "silicaui/src/components/range.js",
|
|
12565
|
+
"description": "The Range component — a slider (Base UI behavior). Colorless track (base-300) with an orthogonal accent for the filled indicator and thumb. Base UI positions the indicator and thumb; we paint them. The thumb grows a soft focus/drag ring (`[data-dragging]` / `:focus-visible`). @param {string[]} colors - color names to generate `.range-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12566
|
+
"root": "range",
|
|
12567
|
+
"classes": [
|
|
12568
|
+
"range",
|
|
12569
|
+
"range-accent",
|
|
12570
|
+
"range-control",
|
|
12571
|
+
"range-error",
|
|
12572
|
+
"range-indicator",
|
|
12573
|
+
"range-info",
|
|
12574
|
+
"range-neutral",
|
|
12575
|
+
"range-primary",
|
|
12576
|
+
"range-secondary",
|
|
12577
|
+
"range-success",
|
|
12578
|
+
"range-thumb",
|
|
12579
|
+
"range-track",
|
|
12580
|
+
"range-warning"
|
|
12581
|
+
],
|
|
12582
|
+
"colorVariants": [
|
|
12583
|
+
"range-primary",
|
|
12584
|
+
"range-secondary",
|
|
12585
|
+
"range-accent",
|
|
12586
|
+
"range-neutral",
|
|
12587
|
+
"range-info",
|
|
12588
|
+
"range-success",
|
|
12589
|
+
"range-warning",
|
|
12590
|
+
"range-error"
|
|
12591
|
+
],
|
|
12592
|
+
"compoundSelectors": [
|
|
12593
|
+
".range[data-disabled] .range-thumb"
|
|
12594
|
+
]
|
|
12595
|
+
},
|
|
12596
|
+
{
|
|
12597
|
+
"name": "rating",
|
|
12598
|
+
"package": "@wizeworks/silicaui",
|
|
12599
|
+
"category": "Data input",
|
|
12600
|
+
"sourceFile": "silicaui/src/components/rating.js",
|
|
12601
|
+
"description": "The Rating component — a row of star buttons. Colorless base with an orthogonal accent (`.rating-warning` sets the fill). Filled/empty state is driven by a `data-filled` attribute the React wrapper sets per star (so hover-preview and value both work). Icons are hard-sized so an unsized `<svg>` can't collapse or balloon across browsers. @param {string[]} colors - color names to generate `.rating-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12602
|
+
"root": "rating",
|
|
12603
|
+
"classes": [
|
|
12604
|
+
"rating",
|
|
12605
|
+
"rating-accent",
|
|
12606
|
+
"rating-error",
|
|
12607
|
+
"rating-info",
|
|
12608
|
+
"rating-item",
|
|
12609
|
+
"rating-lg",
|
|
12610
|
+
"rating-md",
|
|
12611
|
+
"rating-neutral",
|
|
12612
|
+
"rating-primary",
|
|
12613
|
+
"rating-readonly",
|
|
12614
|
+
"rating-secondary",
|
|
12615
|
+
"rating-sm",
|
|
12616
|
+
"rating-success",
|
|
12617
|
+
"rating-warning",
|
|
12618
|
+
"rating-xl",
|
|
12619
|
+
"rating-xs"
|
|
12620
|
+
],
|
|
12621
|
+
"colorVariants": [
|
|
12622
|
+
"rating-primary",
|
|
12623
|
+
"rating-secondary",
|
|
12624
|
+
"rating-accent",
|
|
12625
|
+
"rating-neutral",
|
|
12626
|
+
"rating-info",
|
|
12627
|
+
"rating-success",
|
|
12628
|
+
"rating-warning",
|
|
12629
|
+
"rating-error"
|
|
12630
|
+
],
|
|
12631
|
+
"compoundSelectors": [
|
|
12632
|
+
".rating-readonly .rating-item"
|
|
12633
|
+
]
|
|
12634
|
+
},
|
|
12635
|
+
{
|
|
12636
|
+
"name": "resizable-panels",
|
|
12637
|
+
"package": "@wizeworks/silicaui",
|
|
12638
|
+
"category": "wrapper",
|
|
12639
|
+
"sourceFile": "silicaui/src/components/resizable-panels.js",
|
|
12640
|
+
"description": "ResizablePanels chrome — the visual surface for react-resizable-panels. react-resizable-panels owns the layout + drag math (it sets flex direction, panel sizes, and the handle's `data-resize-handle-state`); this styles the bordered group frame and the resize handle (a thin bar with a centered grip that lights up on hover/drag). Orientation comes from the group's `data-panel-group-direction`, so one rule set covers both axes. The React wrappers (in the optional `@wizeworks/@wizeworks/silicaui-panels` package) hang these classes on the library's components. Colorless: the hovered/dragged handle + grip read `--color-primary`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12641
|
+
"root": null,
|
|
12642
|
+
"familyPrefix": "resizable-",
|
|
12643
|
+
"rootNote": "No bare `.resizable` class exists — this family is only its `resizable-*` parts.",
|
|
12644
|
+
"classes": [
|
|
12645
|
+
"resizable-group",
|
|
12646
|
+
"resizable-handle",
|
|
12647
|
+
"resizable-handle-grip",
|
|
12648
|
+
"resizable-panel"
|
|
12649
|
+
],
|
|
12650
|
+
"compoundSelectors": [
|
|
12651
|
+
".resizable-group[data-panel-group-direction=\"horizontal\"] > .resizable-handle",
|
|
12652
|
+
".resizable-group[data-panel-group-direction=\"vertical\"] > .resizable-handle",
|
|
12653
|
+
".resizable-handle[data-resize-handle-state=\"hover\"], .resizable-handle[data-resize-handle-state=\"drag\"]",
|
|
12654
|
+
".resizable-group[data-panel-group-direction=\"horizontal\"] > .resizable-handle .resizable-handle-grip",
|
|
12655
|
+
".resizable-group[data-panel-group-direction=\"vertical\"] > .resizable-handle .resizable-handle-grip",
|
|
12656
|
+
".resizable-handle[data-resize-handle-state=\"hover\"] .resizable-handle-grip, .resizable-handle[data-resize-handle-state=\"drag\"] .resizable-handle-grip"
|
|
12657
|
+
]
|
|
12658
|
+
},
|
|
12659
|
+
{
|
|
12660
|
+
"name": "rich-text-editor",
|
|
12661
|
+
"package": "@wizeworks/silicaui",
|
|
12662
|
+
"category": "wrapper",
|
|
12663
|
+
"sourceFile": "silicaui/src/components/rich-text-editor.js",
|
|
12664
|
+
"description": "RichTextEditor chrome — the visual shell around a TipTap editor. TipTap (ProseMirror) owns all editing behavior; this styles the frame: a bordered box, a wrapping toolbar of toggle buttons (active state reads `--color-primary`), and the editable content surface (`.ProseMirror`) with sensible prose typography + a placeholder. The React `<RichTextEditor>` (in the optional `@wizeworks/@wizeworks/silicaui-editor` package) drives TipTap and hangs these classes on the markup. Colorless: the active/pressed toolbar button reads `--color-primary`, same orthogonal-accent approach as the rest of Silica. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12665
|
+
"root": "rich-text-editor",
|
|
12666
|
+
"classes": [
|
|
12667
|
+
"ProseMirror",
|
|
12668
|
+
"is-editor-empty",
|
|
12669
|
+
"rich-text-editor",
|
|
12670
|
+
"rich-text-editor-btn",
|
|
12671
|
+
"rich-text-editor-content",
|
|
12672
|
+
"rich-text-editor-sep",
|
|
12673
|
+
"rich-text-editor-toolbar"
|
|
12674
|
+
],
|
|
12675
|
+
"compoundSelectors": [
|
|
12676
|
+
".rich-text-editor-btn[data-active]",
|
|
12677
|
+
".rich-text-editor-content h1",
|
|
12678
|
+
".rich-text-editor-content h2",
|
|
12679
|
+
".rich-text-editor-content h3",
|
|
12680
|
+
".rich-text-editor-content ul",
|
|
12681
|
+
".rich-text-editor-content ol",
|
|
12682
|
+
".rich-text-editor-content li > * + *",
|
|
12683
|
+
".rich-text-editor-content blockquote",
|
|
12684
|
+
".rich-text-editor-content a",
|
|
12685
|
+
".rich-text-editor-content code",
|
|
12686
|
+
".rich-text-editor-content pre",
|
|
12687
|
+
".rich-text-editor-content pre code",
|
|
12688
|
+
".rich-text-editor-content hr",
|
|
12689
|
+
".rich-text-editor-content .ProseMirror p.is-editor-empty:first-child::before",
|
|
12690
|
+
".rich-text-editor[data-disabled]"
|
|
12691
|
+
]
|
|
12692
|
+
},
|
|
12693
|
+
{
|
|
12694
|
+
"name": "scroll-area",
|
|
12695
|
+
"package": "@wizeworks/silicaui",
|
|
12696
|
+
"category": "Layout",
|
|
12697
|
+
"sourceFile": "silicaui/src/components/scroll-area.js",
|
|
12698
|
+
"description": "The ScrollArea component — a panel with custom, overlay scrollbars. Colorless. Behavior is Base UI's ScrollArea (native scrolling on the Viewport, synced decorative Scrollbar/Thumb overlays); Silica paints the surface. Base UI sizes the thumb inline from the scroll ratio, so we only style appearance and the cross-axis fill. The scrollbars overlay the content (they don't take layout width) and darken on hover. Structure: `.scroll-area` (root) › `.scroll-area-viewport` › `.scroll-area-content`, plus a `.scroll-area-scrollbar` (per orientation) wrapping a `.scroll-area-thumb`, and a `.scroll-area-corner`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12699
|
+
"root": "scroll-area",
|
|
12700
|
+
"classes": [
|
|
12701
|
+
"scroll-area",
|
|
12702
|
+
"scroll-area-content",
|
|
12703
|
+
"scroll-area-corner",
|
|
12704
|
+
"scroll-area-scrollbar",
|
|
12705
|
+
"scroll-area-thumb",
|
|
12706
|
+
"scroll-area-viewport"
|
|
12707
|
+
],
|
|
12708
|
+
"compoundSelectors": [
|
|
12709
|
+
".scroll-area:hover .scroll-area-scrollbar",
|
|
12710
|
+
".scroll-area-scrollbar[data-orientation=\"vertical\"] .scroll-area-thumb",
|
|
12711
|
+
".scroll-area-scrollbar[data-orientation=\"horizontal\"] .scroll-area-thumb"
|
|
12712
|
+
]
|
|
12713
|
+
},
|
|
12714
|
+
{
|
|
12715
|
+
"name": "segment-field",
|
|
12716
|
+
"package": "@wizeworks/silicaui",
|
|
12717
|
+
"category": "css",
|
|
12718
|
+
"sourceFile": "silicaui/src/components/segment-field.js",
|
|
12719
|
+
"description": "The segmented-field chrome shared by `DateInput`, `TimeInput`, `DateTimeInput`, and `DateRangeInput` — a bordered box (looks and focuses like `.input`) holding individually-focusable segment cells (`role=\"spinbutton\"`, e.g. mm / dd / yyyy) separated by literal text (the \"/\" or \":\" the locale's own format inserts). Colored: `.segment-field-<name>` sets `--segment-field-accent`, read by the focus ring and the focused-segment highlight. @param {string[]} colors - color names to generate `.segment-field-<name>` for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12720
|
+
"root": "segment-field",
|
|
12721
|
+
"classes": [
|
|
12722
|
+
"date-range-input",
|
|
12723
|
+
"date-range-input-sep",
|
|
12724
|
+
"segment-field",
|
|
12725
|
+
"segment-field-accent",
|
|
12726
|
+
"segment-field-error",
|
|
12727
|
+
"segment-field-info",
|
|
12728
|
+
"segment-field-lg",
|
|
12729
|
+
"segment-field-literal",
|
|
12730
|
+
"segment-field-md",
|
|
12731
|
+
"segment-field-neutral",
|
|
12732
|
+
"segment-field-primary",
|
|
12733
|
+
"segment-field-secondary",
|
|
12734
|
+
"segment-field-segment",
|
|
12735
|
+
"segment-field-sm",
|
|
12736
|
+
"segment-field-success",
|
|
12737
|
+
"segment-field-warning",
|
|
12738
|
+
"segment-field-xl",
|
|
12739
|
+
"segment-field-xs"
|
|
12740
|
+
],
|
|
12741
|
+
"colorVariants": [
|
|
12742
|
+
"segment-field-primary",
|
|
12743
|
+
"segment-field-secondary",
|
|
12744
|
+
"segment-field-accent",
|
|
12745
|
+
"segment-field-neutral",
|
|
12746
|
+
"segment-field-info",
|
|
12747
|
+
"segment-field-success",
|
|
12748
|
+
"segment-field-warning",
|
|
12749
|
+
"segment-field-error"
|
|
12750
|
+
],
|
|
12751
|
+
"compoundSelectors": [
|
|
12752
|
+
".segment-field:focus-within",
|
|
12753
|
+
".segment-field[data-disabled]"
|
|
12754
|
+
]
|
|
12755
|
+
},
|
|
12756
|
+
{
|
|
12757
|
+
"name": "select-menu",
|
|
12758
|
+
"package": "@wizeworks/silicaui",
|
|
12759
|
+
"category": "css",
|
|
12760
|
+
"sourceFile": "silicaui/src/components/select-menu.js",
|
|
12761
|
+
"description": "The Select (listbox) surface — the visual half of the Base-UI-backed `Select`, a fully-styled, keyboard-driven, optionally-multi listbox. Distinct from the native-`<select>` `.select` field (see `select.js` / `NativeSelect`): the TRIGGER here reuses `.select` (and its `.select-<color>` / `.select-<size>` modifiers) for pixel-parity, then these sub-parts swap the CSS caret for a flex chevron `Icon` and add the portalled popup, items, groups, and separators. Base UI owns positioning + roving focus + typeahead + dismissal; this paints the surface. Items highlight via `[data-highlighted]` (keyboard OR pointer), mark the current choice via `[data-selected]`, and dim via `[data-disabled]`. The popup width tracks the trigger through `--anchor-width`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12762
|
+
"root": null,
|
|
12763
|
+
"familyPrefix": "select-",
|
|
12764
|
+
"rootNote": "No bare `.select` class exists — this family is only its `select-*` parts.",
|
|
12765
|
+
"classes": [
|
|
12766
|
+
"select-group-label",
|
|
12767
|
+
"select-icon",
|
|
12768
|
+
"select-item",
|
|
12769
|
+
"select-item-indicator",
|
|
12770
|
+
"select-placeholder",
|
|
12771
|
+
"select-popup",
|
|
12772
|
+
"select-scroll-arrow",
|
|
12773
|
+
"select-separator",
|
|
12774
|
+
"select-trigger",
|
|
12775
|
+
"select-value"
|
|
12776
|
+
],
|
|
12777
|
+
"compoundSelectors": [
|
|
12778
|
+
".select-trigger[data-placeholder] .select-placeholder",
|
|
12779
|
+
".select-trigger[data-popup-open] .select-icon svg"
|
|
12780
|
+
]
|
|
12781
|
+
},
|
|
12782
|
+
{
|
|
12783
|
+
"name": "select",
|
|
12784
|
+
"package": "@wizeworks/silicaui",
|
|
12785
|
+
"category": "Data input",
|
|
12786
|
+
"sourceFile": "silicaui/src/components/select.js",
|
|
12787
|
+
"description": "The Select component — a native `<select>` restyled to the field tier. Shares Input's tier exactly (`--radius-field`, `--size-field`), so a Select lines up pixel-for-pixel with same-size Inputs and Buttons. A color class (`.select-primary`, …) sets `--select-accent`, coloring the border + focus ring; the default shows a neutral border and a primary focus ring. The dropdown chevron comes from the shared field-affordance contract (`lib/field-affordance.js`), so this caret is the same mark, ink, and trailing inset as the listbox trigger's chevron and the Combobox open button. It's drawn with `linear-gradient`s rather than an SVG because a native `<select>` can carry neither a child nor a reliable pseudo-element, and an SVG data-URI is a separate document that can't resolve a CSS var — gradients take a live color, so the mark still follows the theme. `appearance: none` removes the platform arrow. @param {string[]} colors - color names to generate `.select-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12788
|
+
"root": "select",
|
|
12789
|
+
"classes": [
|
|
12790
|
+
"select",
|
|
12791
|
+
"select-accent",
|
|
12792
|
+
"select-error",
|
|
12793
|
+
"select-info",
|
|
12794
|
+
"select-lg",
|
|
12795
|
+
"select-md",
|
|
12796
|
+
"select-neutral",
|
|
12797
|
+
"select-primary",
|
|
12798
|
+
"select-secondary",
|
|
12799
|
+
"select-sm",
|
|
12800
|
+
"select-success",
|
|
12801
|
+
"select-warning",
|
|
12802
|
+
"select-xl",
|
|
12803
|
+
"select-xs"
|
|
12804
|
+
],
|
|
12805
|
+
"colorVariants": [
|
|
12806
|
+
"select-primary",
|
|
12807
|
+
"select-secondary",
|
|
12808
|
+
"select-accent",
|
|
12809
|
+
"select-neutral",
|
|
12810
|
+
"select-info",
|
|
12811
|
+
"select-success",
|
|
12812
|
+
"select-warning",
|
|
12813
|
+
"select-error"
|
|
12814
|
+
]
|
|
12815
|
+
},
|
|
12816
|
+
{
|
|
12817
|
+
"name": "selection-list",
|
|
12818
|
+
"package": "@wizeworks/silicaui",
|
|
12819
|
+
"category": "Data input",
|
|
12820
|
+
"sourceFile": "silicaui/src/components/selection-list.js",
|
|
12821
|
+
"description": "The SelectionList component — a selectable list of rows (single- or multi-select), each with a leading Checkbox/Radio indicator. Colorless: the selected row reads `--color-primary` for its tint, matching `tree-view.js`'s convention. The indicator itself is a real `.checkbox`/ `.radio` element (@wizeworks/@wizeworks/silicaui-react reuses those components directly), so this module only styles the row/label/description chrome around it. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12822
|
+
"root": "selection-list",
|
|
12823
|
+
"classes": [
|
|
12824
|
+
"selection-list",
|
|
12825
|
+
"selection-list-item",
|
|
12826
|
+
"selection-list-item-body",
|
|
12827
|
+
"selection-list-item-description",
|
|
12828
|
+
"selection-list-item-icon",
|
|
12829
|
+
"selection-list-item-label"
|
|
12830
|
+
],
|
|
12831
|
+
"compoundSelectors": [
|
|
12832
|
+
".selection-list-item[aria-selected=\"true\"]",
|
|
12833
|
+
".selection-list-item:focus-visible",
|
|
12834
|
+
".selection-list-item[aria-disabled=\"true\"]"
|
|
12835
|
+
]
|
|
12836
|
+
},
|
|
12837
|
+
{
|
|
12838
|
+
"name": "sidebar",
|
|
12839
|
+
"package": "@wizeworks/silicaui",
|
|
12840
|
+
"category": "Navigation",
|
|
12841
|
+
"sourceFile": "silicaui/src/components/sidebar.js",
|
|
12842
|
+
"description": "The Sidebar component — a persistent layout nav panel, distinct from `Drawer` (which overlays content and is meant to be dismissed). A Sidebar never overlays: it collapses IN PLACE to a narrow icon rail via `[data-collapsed]`, driven by `--sidebar-w`/`--sidebar-w-collapsed`. Same orthogonal-accent design as `dock.js`: a color class only sets `--sidebar-accent` (the active-item tint); everything else reads it with a fallback to `--color-primary`. `.sidebar-header-brand` is an optional wrapper for a logo/`Wordmark` inside `.sidebar-header` — it auto-hides when collapsed so only the trigger remains. @param {string[]} colors - color names to generate `.sidebar-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12843
|
+
"root": "sidebar",
|
|
12844
|
+
"classes": [
|
|
12845
|
+
"sidebar",
|
|
12846
|
+
"sidebar-accent",
|
|
12847
|
+
"sidebar-content",
|
|
12848
|
+
"sidebar-error",
|
|
12849
|
+
"sidebar-footer",
|
|
12850
|
+
"sidebar-group",
|
|
12851
|
+
"sidebar-group-label",
|
|
12852
|
+
"sidebar-header",
|
|
12853
|
+
"sidebar-header-brand",
|
|
12854
|
+
"sidebar-info",
|
|
12855
|
+
"sidebar-item",
|
|
12856
|
+
"sidebar-item-icon",
|
|
12857
|
+
"sidebar-item-label",
|
|
12858
|
+
"sidebar-item-trailing",
|
|
12859
|
+
"sidebar-neutral",
|
|
12860
|
+
"sidebar-primary",
|
|
12861
|
+
"sidebar-secondary",
|
|
12862
|
+
"sidebar-success",
|
|
12863
|
+
"sidebar-trigger",
|
|
12864
|
+
"sidebar-warning"
|
|
12865
|
+
],
|
|
12866
|
+
"colorVariants": [
|
|
12867
|
+
"sidebar-primary",
|
|
12868
|
+
"sidebar-secondary",
|
|
12869
|
+
"sidebar-accent",
|
|
12870
|
+
"sidebar-neutral",
|
|
12871
|
+
"sidebar-info",
|
|
12872
|
+
"sidebar-success",
|
|
12873
|
+
"sidebar-warning",
|
|
12874
|
+
"sidebar-error"
|
|
12875
|
+
],
|
|
12876
|
+
"compoundSelectors": [
|
|
12877
|
+
".sidebar[data-side=\"right\"]",
|
|
12878
|
+
".sidebar[data-collapsed]",
|
|
12879
|
+
"@media (prefers-reduced-motion: reduce)",
|
|
12880
|
+
".sidebar[data-collapsed] .sidebar-header",
|
|
12881
|
+
".sidebar[data-collapsed] .sidebar-header-brand",
|
|
12882
|
+
".sidebar[data-collapsed] .sidebar-group-label",
|
|
12883
|
+
".sidebar-item[data-active=\"true\"]",
|
|
12884
|
+
".sidebar-item[data-disabled=\"true\"]",
|
|
12885
|
+
".sidebar-item:focus-visible",
|
|
12886
|
+
".sidebar[data-collapsed] .sidebar-item",
|
|
12887
|
+
".sidebar[data-collapsed] .sidebar-item-label",
|
|
12888
|
+
".sidebar[data-collapsed] .sidebar-item-trailing"
|
|
12889
|
+
]
|
|
12890
|
+
},
|
|
12891
|
+
{
|
|
12892
|
+
"name": "skeleton",
|
|
12893
|
+
"package": "@wizeworks/silicaui",
|
|
12894
|
+
"category": "Feedback & overlay",
|
|
12895
|
+
"sourceFile": "silicaui/src/components/skeleton.js",
|
|
12896
|
+
"description": "The Skeleton component — an animated placeholder standing in for content that's still loading. Colorless (like Card): a neutral `base-300` fill with a translucent sheen that sweeps across via an animated `background-position`. Under `prefers-reduced-motion` the sweep is dropped for a gentle opacity pulse (the shared `silica-pulse` keyframe). Dimensions come from the caller (utilities / inline size) — Skeleton only owns the fill, radius, and shimmer. Shapes: base is a `--radius-field` block; `-circle` is an avatar-shaped placeholder; `-text` is a pill-rounded line sized in `em` so you can stack a few at different widths for a paragraph. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12897
|
+
"root": "skeleton",
|
|
12898
|
+
"classes": [
|
|
12899
|
+
"skeleton",
|
|
12900
|
+
"skeleton-circle",
|
|
12901
|
+
"skeleton-text"
|
|
12902
|
+
]
|
|
12903
|
+
},
|
|
12904
|
+
{
|
|
12905
|
+
"name": "slider",
|
|
12906
|
+
"package": "@wizeworks/silicaui",
|
|
12907
|
+
"category": "Data input",
|
|
12908
|
+
"sourceFile": "silicaui/src/components/slider.js",
|
|
12909
|
+
"description": "The Slider component — a rich range input (Base UI behavior). Where the native-input-backed `Range` is one thumb on a rail, `Slider` is the full Base UI slider: single OR multi-thumb (a two-thumb range selection), horizontal or vertical, with an optional value readout. Colorless track (base-300) + an orthogonal accent for the filled indicator and thumbs; a color class (`.slider-primary`) sets `--slider-accent`. Base UI positions the indicator and thumbs via inline styles; we only paint them. @param {string[]} colors - color names to generate `.slider-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12910
|
+
"root": "slider",
|
|
12911
|
+
"classes": [
|
|
12912
|
+
"slider",
|
|
12913
|
+
"slider-accent",
|
|
12914
|
+
"slider-control",
|
|
12915
|
+
"slider-error",
|
|
12916
|
+
"slider-indicator",
|
|
12917
|
+
"slider-info",
|
|
12918
|
+
"slider-lg",
|
|
12919
|
+
"slider-md",
|
|
12920
|
+
"slider-neutral",
|
|
12921
|
+
"slider-primary",
|
|
12922
|
+
"slider-secondary",
|
|
12923
|
+
"slider-sm",
|
|
12924
|
+
"slider-success",
|
|
12925
|
+
"slider-thumb",
|
|
12926
|
+
"slider-track",
|
|
12927
|
+
"slider-value",
|
|
12928
|
+
"slider-warning",
|
|
12929
|
+
"slider-xl",
|
|
12930
|
+
"slider-xs"
|
|
12931
|
+
],
|
|
12932
|
+
"colorVariants": [
|
|
12933
|
+
"slider-primary",
|
|
12934
|
+
"slider-secondary",
|
|
12935
|
+
"slider-accent",
|
|
12936
|
+
"slider-neutral",
|
|
12937
|
+
"slider-info",
|
|
12938
|
+
"slider-success",
|
|
12939
|
+
"slider-warning",
|
|
12940
|
+
"slider-error"
|
|
12941
|
+
],
|
|
12942
|
+
"compoundSelectors": [
|
|
12943
|
+
".slider[data-orientation=\"vertical\"]",
|
|
12944
|
+
".slider-control[data-orientation=\"vertical\"]",
|
|
12945
|
+
".slider-track[data-orientation=\"vertical\"]",
|
|
12946
|
+
".slider[data-disabled]"
|
|
12947
|
+
]
|
|
12948
|
+
},
|
|
12949
|
+
{
|
|
12950
|
+
"name": "sortable-list",
|
|
12951
|
+
"package": "@wizeworks/silicaui",
|
|
12952
|
+
"category": "wrapper",
|
|
12953
|
+
"sourceFile": "silicaui/src/components/sortable-list.js",
|
|
12954
|
+
"description": "SortableList chrome — the visual surface for a dnd-kit reorderable list. dnd-kit owns the drag behavior (sensors, collision, keyboard, transforms); this styles the list rows and the drag handle, plus the lifted look while a row is being dragged (`[data-dragging]`). The React `<SortableList>` (in the optional `@wizeworks/@wizeworks/silicaui-dnd` package) drives dnd-kit and hangs these classes on the markup; `transform`/`transition` are applied inline by dnd-kit, so this module deliberately doesn't set them. Colorless: the dragged row's border reads `--color-primary`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12955
|
+
"root": null,
|
|
12956
|
+
"familyPrefix": "sortable-",
|
|
12957
|
+
"rootNote": "No bare `.sortable` class exists — this family is only its `sortable-*` parts.",
|
|
12958
|
+
"classes": [
|
|
12959
|
+
"sortable-handle",
|
|
12960
|
+
"sortable-item",
|
|
12961
|
+
"sortable-list"
|
|
12962
|
+
],
|
|
12963
|
+
"compoundSelectors": [
|
|
12964
|
+
".sortable-item[data-dragging]",
|
|
12965
|
+
".sortable-item[data-dragging] .sortable-handle"
|
|
12966
|
+
]
|
|
12967
|
+
},
|
|
12968
|
+
{
|
|
12969
|
+
"name": "stack",
|
|
12970
|
+
"package": "@wizeworks/silicaui",
|
|
12971
|
+
"category": "Layout",
|
|
12972
|
+
"sourceFile": "silicaui/src/components/stack.js",
|
|
12973
|
+
"description": "The Stack component — layers its children into a peeking deck. Colorless. All children share one grid cell (`grid-area: 1/1`); the first child sits flush on top, and the next two peek out behind it, each nudged and scaled down a touch. `-bottom` makes the deck peek downward; `-start` / `-end` fan it to the sides. Great for stacked cards, notification piles, or image decks. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12974
|
+
"root": "stack",
|
|
12975
|
+
"classes": [
|
|
12976
|
+
"stack",
|
|
12977
|
+
"stack-bottom",
|
|
12978
|
+
"stack-end",
|
|
12979
|
+
"stack-start"
|
|
12980
|
+
]
|
|
12981
|
+
},
|
|
12982
|
+
{
|
|
12983
|
+
"name": "stat",
|
|
12984
|
+
"package": "@wizeworks/silicaui",
|
|
12985
|
+
"category": "Data display",
|
|
12986
|
+
"sourceFile": "silicaui/src/components/stat.js",
|
|
12987
|
+
"description": "The Stat component — a metric block (title · value · description), optionally with a trailing figure (icon), grouped in a `.stats` container. Colorless. Each `.stat` is a grid: the title/value/desc stack in column 1 while a `.stat-figure` sits in an implicit column 2 spanning all three rows, vertically centered (the daisyUI layout). The `.stats` container paints the surface and draws hairline separators between blocks — inline by default, switched to stacked by `-vertical`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
12988
|
+
"root": "stat",
|
|
12989
|
+
"classes": [
|
|
12990
|
+
"stat",
|
|
12991
|
+
"stat-desc",
|
|
12992
|
+
"stat-figure",
|
|
12993
|
+
"stat-title",
|
|
12994
|
+
"stat-value",
|
|
12995
|
+
"stats",
|
|
12996
|
+
"stats-vertical"
|
|
12997
|
+
],
|
|
12998
|
+
"compoundSelectors": [
|
|
12999
|
+
".stats > .stat:not(:first-child)",
|
|
13000
|
+
".stats-vertical > .stat:not(:first-child)"
|
|
13001
|
+
]
|
|
13002
|
+
},
|
|
13003
|
+
{
|
|
13004
|
+
"name": "status",
|
|
13005
|
+
"package": "@wizeworks/silicaui",
|
|
13006
|
+
"category": "Feedback & overlay",
|
|
13007
|
+
"sourceFile": "silicaui/src/components/status.js",
|
|
13008
|
+
"description": "The Status component — a small status dot, optionally pinging. An inline dot painted with an orthogonal accent. `-ping` adds an expanding, fading ring behind it (respecting reduced-motion). Sizes scale the dot. @param {string[]} colors - color names to generate `.status-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13009
|
+
"root": "status",
|
|
13010
|
+
"classes": [
|
|
13011
|
+
"status",
|
|
13012
|
+
"status-accent",
|
|
13013
|
+
"status-error",
|
|
13014
|
+
"status-info",
|
|
13015
|
+
"status-lg",
|
|
13016
|
+
"status-md",
|
|
13017
|
+
"status-neutral",
|
|
13018
|
+
"status-ping",
|
|
13019
|
+
"status-primary",
|
|
13020
|
+
"status-secondary",
|
|
13021
|
+
"status-sm",
|
|
13022
|
+
"status-success",
|
|
13023
|
+
"status-warning",
|
|
13024
|
+
"status-xl",
|
|
13025
|
+
"status-xs"
|
|
13026
|
+
],
|
|
13027
|
+
"colorVariants": [
|
|
13028
|
+
"status-primary",
|
|
13029
|
+
"status-secondary",
|
|
13030
|
+
"status-accent",
|
|
13031
|
+
"status-neutral",
|
|
13032
|
+
"status-info",
|
|
13033
|
+
"status-success",
|
|
13034
|
+
"status-warning",
|
|
13035
|
+
"status-error"
|
|
13036
|
+
],
|
|
13037
|
+
"compoundSelectors": [
|
|
13038
|
+
"@keyframes silica-ping",
|
|
13039
|
+
"@media (prefers-reduced-motion: reduce)"
|
|
13040
|
+
]
|
|
13041
|
+
},
|
|
13042
|
+
{
|
|
13043
|
+
"name": "steps",
|
|
13044
|
+
"package": "@wizeworks/silicaui",
|
|
13045
|
+
"category": "Navigation",
|
|
13046
|
+
"sourceFile": "silicaui/src/components/steps.js",
|
|
13047
|
+
"description": "The Steps component — a horizontal progress tracker. A `.steps` list lays each `.step` out as an equal-width column: a numbered node on top, a label under it. Two pseudo-elements do the work — `::before` is the node (shows `counter(step)`, or a `data-content` override like a check), `::after` is the connector line reaching back to the previous node (absolutely placed at the node's center line, behind it). The first step drops its connector. A step marked with a color (`.step-primary`) paints its node AND its incoming connector via `--step-bg`/`--step-fg` — so coloring the steps up to the current one reads as \"completed\". Extensible over the color set. @param {string[]} colors - color names to generate `.step-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13048
|
+
"root": "step",
|
|
13049
|
+
"classes": [
|
|
13050
|
+
"step",
|
|
13051
|
+
"step-accent",
|
|
13052
|
+
"step-error",
|
|
13053
|
+
"step-info",
|
|
13054
|
+
"step-neutral",
|
|
13055
|
+
"step-primary",
|
|
13056
|
+
"step-secondary",
|
|
13057
|
+
"step-success",
|
|
13058
|
+
"step-warning",
|
|
13059
|
+
"steps"
|
|
13060
|
+
],
|
|
13061
|
+
"colorVariants": [
|
|
13062
|
+
"step-primary",
|
|
13063
|
+
"step-secondary",
|
|
13064
|
+
"step-accent",
|
|
13065
|
+
"step-neutral",
|
|
13066
|
+
"step-info",
|
|
13067
|
+
"step-success",
|
|
13068
|
+
"step-warning",
|
|
13069
|
+
"step-error"
|
|
13070
|
+
],
|
|
13071
|
+
"compoundSelectors": [
|
|
13072
|
+
".step::before",
|
|
13073
|
+
".step[data-content]::before",
|
|
13074
|
+
".step::after",
|
|
13075
|
+
".step:first-child::after"
|
|
13076
|
+
]
|
|
13077
|
+
},
|
|
13078
|
+
{
|
|
13079
|
+
"name": "swap",
|
|
13080
|
+
"package": "@wizeworks/silicaui",
|
|
13081
|
+
"category": "Actions",
|
|
13082
|
+
"sourceFile": "silicaui/src/components/swap.js",
|
|
13083
|
+
"description": "The Swap component — toggles between two overlaid children. A `<label>` with a hidden checkbox and `.swap-on` / `.swap-off` children stacked in the same grid cell; checking the box cross-fades between them. `-rotate` spins the icons as they swap; `-flip` does a 3D flip. Perfect for a hamburger↔close, play↔pause, sun↔moon, etc. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13084
|
+
"root": "swap",
|
|
13085
|
+
"classes": [
|
|
13086
|
+
"swap",
|
|
13087
|
+
"swap-flip",
|
|
13088
|
+
"swap-off",
|
|
13089
|
+
"swap-on",
|
|
13090
|
+
"swap-rotate"
|
|
13091
|
+
],
|
|
13092
|
+
"compoundSelectors": [
|
|
13093
|
+
".swap-on, .swap-off",
|
|
13094
|
+
".swap > input:checked ~ .swap-on",
|
|
13095
|
+
".swap > input:checked ~ .swap-off",
|
|
13096
|
+
".swap-rotate .swap-off",
|
|
13097
|
+
".swap-rotate .swap-on",
|
|
13098
|
+
".swap-rotate > input:checked ~ .swap-off",
|
|
13099
|
+
".swap-rotate > input:checked ~ .swap-on",
|
|
13100
|
+
".swap-flip .swap-off",
|
|
13101
|
+
".swap-flip .swap-on",
|
|
13102
|
+
".swap-flip > input:checked ~ .swap-off",
|
|
13103
|
+
".swap-flip > input:checked ~ .swap-on"
|
|
13104
|
+
]
|
|
13105
|
+
},
|
|
13106
|
+
{
|
|
13107
|
+
"name": "switch",
|
|
13108
|
+
"package": "@wizeworks/silicaui",
|
|
13109
|
+
"category": "Data input",
|
|
13110
|
+
"sourceFile": "silicaui/src/components/switch.js",
|
|
13111
|
+
"description": "The Switch component — an accessible on/off toggle (Base UI behavior). Where `Toggle` is a restyled native `<input type=\"checkbox\">`, `Switch` is the Base UI switch: a `role=\"switch\"` control (with a hidden real input beside it, so it submits in a form and integrates with `Field`). Selector-tier: height scales with `--size-selector`; the track is a pill 1.75× as wide as it is tall. Style: the track fills with the accent when checked (`[data-checked]`) and the knob (`.switch-thumb`) glides from left to right via `translate`. A color class (`.switch-primary`) sets `--switch-accent`. The knob position keys off the ROOT's state (descendant selector), so it's robust regardless of which parts Base UI stamps `[data-checked]` onto. @param {string[]} colors - color names to generate `.switch-<name>` for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13112
|
+
"root": "switch",
|
|
13113
|
+
"classes": [
|
|
13114
|
+
"switch",
|
|
13115
|
+
"switch-accent",
|
|
13116
|
+
"switch-error",
|
|
13117
|
+
"switch-info",
|
|
13118
|
+
"switch-lg",
|
|
13119
|
+
"switch-md",
|
|
13120
|
+
"switch-neutral",
|
|
13121
|
+
"switch-primary",
|
|
13122
|
+
"switch-secondary",
|
|
13123
|
+
"switch-sm",
|
|
13124
|
+
"switch-success",
|
|
13125
|
+
"switch-thumb",
|
|
13126
|
+
"switch-warning",
|
|
13127
|
+
"switch-xl",
|
|
13128
|
+
"switch-xs"
|
|
13129
|
+
],
|
|
13130
|
+
"colorVariants": [
|
|
13131
|
+
"switch-primary",
|
|
13132
|
+
"switch-secondary",
|
|
13133
|
+
"switch-accent",
|
|
13134
|
+
"switch-neutral",
|
|
13135
|
+
"switch-info",
|
|
13136
|
+
"switch-success",
|
|
13137
|
+
"switch-warning",
|
|
13138
|
+
"switch-error"
|
|
13139
|
+
],
|
|
13140
|
+
"compoundSelectors": [
|
|
13141
|
+
".switch[data-checked] .switch-thumb"
|
|
13142
|
+
]
|
|
13143
|
+
},
|
|
13144
|
+
{
|
|
13145
|
+
"name": "table",
|
|
13146
|
+
"package": "@wizeworks/silicaui",
|
|
13147
|
+
"category": "Data display",
|
|
13148
|
+
"sourceFile": "silicaui/src/components/table.js",
|
|
13149
|
+
"description": "The Table component — a styled native `<table>`. Colorless (like Card/Skeleton → `table(prefix)` only). Rather than wrapping every cell in a class, `.table` styles the native table elements it contains (`th`, `td`, `thead`, `tbody tr`) via descendant selectors — so it works on plain semantic HTML (`<table class=\"table\"><thead>…`) with no per-cell classes, and the React layer can stay a single `<Table>` over raw rows. Modifiers: `-zebra` (striped rows), `-hover` (row highlight — a translucent base-content wash so it stays visible ON TOP of a zebra stripe too), and sizes `-xs…-xl` (cell padding + type). Neutral by design; no color variants. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13150
|
+
"root": "table",
|
|
13151
|
+
"classes": [
|
|
13152
|
+
"table",
|
|
13153
|
+
"table-hover",
|
|
13154
|
+
"table-lg",
|
|
13155
|
+
"table-md",
|
|
13156
|
+
"table-sm",
|
|
13157
|
+
"table-xl",
|
|
13158
|
+
"table-xs",
|
|
13159
|
+
"table-zebra"
|
|
13160
|
+
]
|
|
13161
|
+
},
|
|
13162
|
+
{
|
|
13163
|
+
"name": "tabs",
|
|
13164
|
+
"package": "@wizeworks/silicaui",
|
|
13165
|
+
"category": "Navigation",
|
|
13166
|
+
"sourceFile": "silicaui/src/components/tabs.js",
|
|
13167
|
+
"description": "The Tabs surface — the visual half of the Base-UI-backed Tabs (no portal; Base UI owns selection state, roving focus, and the moving indicator's measurements). This styles the list, tabs, the sliding indicator, and panel. The active tab is marked **`[data-active]`** by Base UI (NOT `data-selected` — that mismatch silently no-ops the text-color rules while the indicator still moves, since the indicator is positioned by CSS vars, not the attribute). The indicator reads Base UI's `--active-tab-left`/`-width` (and `-top`/`-height` for the pill variants) and eases between positions. Accent is themed like the rest of the system: everything reads `--tabs-accent` / `--tabs-accent-content`, defaulting to primary. A color class (`.tabs-success`) re-points those, so a whole tab set recolors — and it still tracks the active theme, since the fallbacks are theme tokens. @param {string[]} colors - color names to generate `.tabs-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13168
|
+
"root": "tabs",
|
|
13169
|
+
"classes": [
|
|
13170
|
+
"tabs",
|
|
13171
|
+
"tabs-accent",
|
|
13172
|
+
"tabs-boxed",
|
|
13173
|
+
"tabs-error",
|
|
13174
|
+
"tabs-indicator",
|
|
13175
|
+
"tabs-info",
|
|
13176
|
+
"tabs-list",
|
|
13177
|
+
"tabs-neutral",
|
|
13178
|
+
"tabs-panel",
|
|
13179
|
+
"tabs-pills",
|
|
13180
|
+
"tabs-primary",
|
|
13181
|
+
"tabs-secondary",
|
|
13182
|
+
"tabs-success",
|
|
13183
|
+
"tabs-tab",
|
|
13184
|
+
"tabs-warning"
|
|
13185
|
+
],
|
|
13186
|
+
"colorVariants": [
|
|
13187
|
+
"tabs-primary",
|
|
13188
|
+
"tabs-secondary",
|
|
13189
|
+
"tabs-accent",
|
|
13190
|
+
"tabs-neutral",
|
|
13191
|
+
"tabs-info",
|
|
13192
|
+
"tabs-success",
|
|
13193
|
+
"tabs-warning",
|
|
13194
|
+
"tabs-error"
|
|
13195
|
+
],
|
|
13196
|
+
"compoundSelectors": [
|
|
13197
|
+
".tabs-boxed .tabs-list",
|
|
13198
|
+
".tabs-boxed .tabs-tab",
|
|
13199
|
+
".tabs-boxed .tabs-tab[data-active]",
|
|
13200
|
+
".tabs-boxed .tabs-indicator",
|
|
13201
|
+
".tabs-pills .tabs-list",
|
|
13202
|
+
".tabs-pills .tabs-tab",
|
|
13203
|
+
".tabs-pills .tabs-tab[data-active]",
|
|
13204
|
+
".tabs-pills .tabs-indicator"
|
|
13205
|
+
]
|
|
13206
|
+
},
|
|
13207
|
+
{
|
|
13208
|
+
"name": "tag-input",
|
|
13209
|
+
"package": "@wizeworks/silicaui",
|
|
13210
|
+
"category": "Data input",
|
|
13211
|
+
"sourceFile": "silicaui/src/components/tag-input.js",
|
|
13212
|
+
"description": "TagInput — a multi-value chip field. The outer `.tag-input` looks and focuses like an `.input`: a flex-wrapping box with a border + focus ring that holds removable `.tag-input-chip`s and a borderless `.tag-input-field` that grows to fill the row. The React `<TagInput>` manages the tag array, key handling, and remove buttons. Colored: a `.tag-input-<name>` class sets `--tag-accent`, which the focus ring and chip fill/text read — so chips can match any semantic color. @param {string[]} colors - color names to generate `.tag-input-<name>` for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13213
|
+
"root": "tag-input",
|
|
13214
|
+
"classes": [
|
|
13215
|
+
"tag-input",
|
|
13216
|
+
"tag-input-accent",
|
|
13217
|
+
"tag-input-chip",
|
|
13218
|
+
"tag-input-chip-label",
|
|
13219
|
+
"tag-input-error",
|
|
13220
|
+
"tag-input-field",
|
|
13221
|
+
"tag-input-info",
|
|
13222
|
+
"tag-input-lg",
|
|
13223
|
+
"tag-input-md",
|
|
13224
|
+
"tag-input-neutral",
|
|
13225
|
+
"tag-input-primary",
|
|
13226
|
+
"tag-input-remove",
|
|
13227
|
+
"tag-input-secondary",
|
|
13228
|
+
"tag-input-sm",
|
|
13229
|
+
"tag-input-success",
|
|
13230
|
+
"tag-input-warning",
|
|
13231
|
+
"tag-input-xl",
|
|
13232
|
+
"tag-input-xs"
|
|
13233
|
+
],
|
|
13234
|
+
"colorVariants": [
|
|
13235
|
+
"tag-input-primary",
|
|
13236
|
+
"tag-input-secondary",
|
|
13237
|
+
"tag-input-accent",
|
|
13238
|
+
"tag-input-neutral",
|
|
13239
|
+
"tag-input-info",
|
|
13240
|
+
"tag-input-success",
|
|
13241
|
+
"tag-input-warning",
|
|
13242
|
+
"tag-input-error"
|
|
13243
|
+
],
|
|
13244
|
+
"compoundSelectors": [
|
|
13245
|
+
".tag-input:focus-within",
|
|
13246
|
+
".tag-input[data-disabled]"
|
|
13247
|
+
]
|
|
13248
|
+
},
|
|
13249
|
+
{
|
|
13250
|
+
"name": "textarea",
|
|
13251
|
+
"package": "@wizeworks/silicaui",
|
|
13252
|
+
"category": "Data input",
|
|
13253
|
+
"sourceFile": "silicaui/src/components/textarea.js",
|
|
13254
|
+
"description": "The Textarea component — a multi-line text field, sibling to Input. Field-tier element: rounds with `--radius-field` and its horizontal rhythm scales with `--size-field`, so it aligns with same-size Inputs. Unlike Input it grows vertically (a `min-height` floor, then `resize: vertical`) and uses a readable multi-line `line-height` rather than optical centering. A color class (`.textarea-primary`, …) sets only `--textarea-accent` (border + focus ring). @param {string[]} colors - color names to generate `.textarea-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13255
|
+
"root": "textarea",
|
|
13256
|
+
"classes": [
|
|
13257
|
+
"textarea",
|
|
13258
|
+
"textarea-accent",
|
|
13259
|
+
"textarea-error",
|
|
13260
|
+
"textarea-info",
|
|
13261
|
+
"textarea-lg",
|
|
13262
|
+
"textarea-md",
|
|
13263
|
+
"textarea-neutral",
|
|
13264
|
+
"textarea-primary",
|
|
13265
|
+
"textarea-secondary",
|
|
13266
|
+
"textarea-sm",
|
|
13267
|
+
"textarea-success",
|
|
13268
|
+
"textarea-warning",
|
|
13269
|
+
"textarea-xl",
|
|
13270
|
+
"textarea-xs"
|
|
13271
|
+
],
|
|
13272
|
+
"colorVariants": [
|
|
13273
|
+
"textarea-primary",
|
|
13274
|
+
"textarea-secondary",
|
|
13275
|
+
"textarea-accent",
|
|
13276
|
+
"textarea-neutral",
|
|
13277
|
+
"textarea-info",
|
|
13278
|
+
"textarea-success",
|
|
13279
|
+
"textarea-warning",
|
|
13280
|
+
"textarea-error"
|
|
13281
|
+
]
|
|
13282
|
+
},
|
|
13283
|
+
{
|
|
13284
|
+
"name": "timeline",
|
|
13285
|
+
"package": "@wizeworks/silicaui",
|
|
13286
|
+
"category": "Data display",
|
|
13287
|
+
"sourceFile": "silicaui/src/components/timeline.js",
|
|
13288
|
+
"description": "The Timeline component — a sequence of events with connecting lines. Colorless. Each `<li>` is a 3-track grid: an opposite-side label (`.timeline-start`), a centered marker (`.timeline-middle`), and a content box (`.timeline-end`). The connecting lines are drawn as the marker's `::before`/`::after`, each flex-filling half the row so consecutive markers join into one continuous rail — no `<hr>` markup, and the first/last caps are hidden automatically. `-horizontal` rotates the whole thing into a row. (For a simple numbered process use Steps instead; Timeline is for dated events with content — changelogs, roadmaps, \"our story\".) @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13289
|
+
"root": "timeline",
|
|
13290
|
+
"classes": [
|
|
13291
|
+
"timeline",
|
|
13292
|
+
"timeline-box",
|
|
13293
|
+
"timeline-dot",
|
|
13294
|
+
"timeline-end",
|
|
13295
|
+
"timeline-horizontal",
|
|
13296
|
+
"timeline-middle",
|
|
13297
|
+
"timeline-start"
|
|
13298
|
+
],
|
|
13299
|
+
"compoundSelectors": [
|
|
13300
|
+
".timeline > li:first-child .timeline-middle::before",
|
|
13301
|
+
".timeline > li:last-child .timeline-middle::after",
|
|
13302
|
+
".timeline-horizontal .timeline-start",
|
|
13303
|
+
".timeline-horizontal .timeline-middle",
|
|
13304
|
+
".timeline-horizontal .timeline-end",
|
|
13305
|
+
".timeline-horizontal > li:first-child .timeline-middle::before",
|
|
13306
|
+
".timeline-horizontal > li:last-child .timeline-middle::after"
|
|
13307
|
+
]
|
|
13308
|
+
},
|
|
13309
|
+
{
|
|
13310
|
+
"name": "timestamp",
|
|
13311
|
+
"package": "@wizeworks/silicaui",
|
|
13312
|
+
"category": "Data display",
|
|
13313
|
+
"sourceFile": "silicaui/src/components/timestamp.js",
|
|
13314
|
+
"description": "The Timestamp component — a muted, tabular-numeral time label. Colorless. Inherits font-size from context (used inline in chat metadata, table cells, list rows — sizes vary by callsite); only sets a quiet default color and `font-variant-numeric: tabular-nums` so shifting digits (a live \"2 minutes ago\" ticking up) don't jitter the surrounding layout. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13315
|
+
"root": "timestamp",
|
|
13316
|
+
"classes": [
|
|
13317
|
+
"timestamp"
|
|
13318
|
+
]
|
|
13319
|
+
},
|
|
13320
|
+
{
|
|
13321
|
+
"name": "toast",
|
|
13322
|
+
"package": "@wizeworks/silicaui",
|
|
13323
|
+
"category": "css",
|
|
13324
|
+
"sourceFile": "silicaui/src/components/toast.js",
|
|
13325
|
+
"description": "The Toast component — transient notifications (Base UI behavior). Shares Alert's surface: a solid color-per-type background driven by `--toast-bg`/`--toast-fg` (set via `[data-type]`, same orthogonal color model as `.alert-<name>`), a top-aligned leading icon slot, and the same radius/spacing/type scale — a toast is an Alert that floats and expires. Base UI owns the queue, timeout, focus management, and swipe-to-dismiss on top of that shared look; we lay the toasts out in a fixed corner viewport (a simple flex stack — reliable across browsers) and animate them in/out via `[data-starting-style]` / `[data-ending-style]`. @param {string[]} colors - color names to generate `[data-type=\"<name>\"]` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13326
|
+
"root": "toast",
|
|
13327
|
+
"classes": [
|
|
13328
|
+
"toast",
|
|
13329
|
+
"toast-action",
|
|
13330
|
+
"toast-close",
|
|
13331
|
+
"toast-content",
|
|
13332
|
+
"toast-description",
|
|
13333
|
+
"toast-title",
|
|
13334
|
+
"toast-viewport"
|
|
13335
|
+
],
|
|
13336
|
+
"compoundSelectors": [
|
|
13337
|
+
".toast[data-type=\"primary\"]",
|
|
13338
|
+
".toast[data-type=\"secondary\"]",
|
|
13339
|
+
".toast[data-type=\"accent\"]",
|
|
13340
|
+
".toast[data-type=\"neutral\"]",
|
|
13341
|
+
".toast[data-type=\"info\"]",
|
|
13342
|
+
".toast[data-type=\"success\"]",
|
|
13343
|
+
".toast[data-type=\"warning\"]",
|
|
13344
|
+
".toast[data-type=\"error\"]"
|
|
13345
|
+
]
|
|
13346
|
+
},
|
|
13347
|
+
{
|
|
13348
|
+
"name": "toggle-group",
|
|
13349
|
+
"package": "@wizeworks/silicaui",
|
|
13350
|
+
"category": "Data input",
|
|
13351
|
+
"sourceFile": "silicaui/src/components/toggle-group.js",
|
|
13352
|
+
"description": "The ToggleGroup component — a segmented control (single- or multi-select set of toggle buttons). Behavior is Base UI's ToggleGroup + Toggle (roving focus, pressed state, single/multiple selection); Silica styles the track and the items. The active item reads as a raised base-100 pill on the base-200 track. NOTE: this is the button-based segmented control — distinct from `.toggle` (the on/off switch). `[data-pressed]` marks the selected item(s); `[data-orientation=\"vertical\"]` stacks it. @param {string[]} colors - registered color names to emit `-<color>` classes for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13353
|
+
"root": "toggle-group",
|
|
13354
|
+
"classes": [
|
|
13355
|
+
"toggle-group",
|
|
13356
|
+
"toggle-group-accent",
|
|
13357
|
+
"toggle-group-error",
|
|
13358
|
+
"toggle-group-info",
|
|
13359
|
+
"toggle-group-item",
|
|
13360
|
+
"toggle-group-lg",
|
|
13361
|
+
"toggle-group-md",
|
|
13362
|
+
"toggle-group-neutral",
|
|
13363
|
+
"toggle-group-primary",
|
|
13364
|
+
"toggle-group-secondary",
|
|
13365
|
+
"toggle-group-sm",
|
|
13366
|
+
"toggle-group-success",
|
|
13367
|
+
"toggle-group-warning",
|
|
13368
|
+
"toggle-group-xl",
|
|
13369
|
+
"toggle-group-xs"
|
|
13370
|
+
],
|
|
13371
|
+
"colorVariants": [
|
|
13372
|
+
"toggle-group-primary",
|
|
13373
|
+
"toggle-group-secondary",
|
|
13374
|
+
"toggle-group-accent",
|
|
13375
|
+
"toggle-group-neutral",
|
|
13376
|
+
"toggle-group-info",
|
|
13377
|
+
"toggle-group-success",
|
|
13378
|
+
"toggle-group-warning",
|
|
13379
|
+
"toggle-group-error"
|
|
13380
|
+
],
|
|
13381
|
+
"compoundSelectors": [
|
|
13382
|
+
".toggle-group-xs .toggle-group-item",
|
|
13383
|
+
".toggle-group-sm .toggle-group-item",
|
|
13384
|
+
".toggle-group-md .toggle-group-item",
|
|
13385
|
+
".toggle-group-lg .toggle-group-item",
|
|
13386
|
+
".toggle-group-xl .toggle-group-item"
|
|
13387
|
+
]
|
|
13388
|
+
},
|
|
13389
|
+
{
|
|
13390
|
+
"name": "toggle",
|
|
13391
|
+
"package": "@wizeworks/silicaui",
|
|
13392
|
+
"category": "Data input",
|
|
13393
|
+
"sourceFile": "silicaui/src/components/toggle.js",
|
|
13394
|
+
"description": "The Toggle component — a native `<input type=\"checkbox\">` restyled as a switch. Selector-tier control: height scales with `--size-selector`; the track is a pill 1.75× as wide as it is tall. Style: the track background stays TRANSPARENT in both states — only the border and the knob carry color. Off = grey border + grey knob (at left); checked = accent border + accent knob (slid right). A color class (`.toggle-primary`) sets `--toggle-accent`. The knob is a `radial-gradient` circle sized to one square \"tile\", slid from left to right via `background-position` (which animates, so it glides); its color is `--toggle-knob`. No pseudo-element — reliable on a bare `<input>`. @param {string[]} colors - color names to generate `.toggle-<name>` for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13395
|
+
"root": "toggle",
|
|
13396
|
+
"classes": [
|
|
13397
|
+
"toggle",
|
|
13398
|
+
"toggle-accent",
|
|
13399
|
+
"toggle-error",
|
|
13400
|
+
"toggle-info",
|
|
13401
|
+
"toggle-lg",
|
|
13402
|
+
"toggle-md",
|
|
13403
|
+
"toggle-neutral",
|
|
13404
|
+
"toggle-primary",
|
|
13405
|
+
"toggle-secondary",
|
|
13406
|
+
"toggle-sm",
|
|
13407
|
+
"toggle-success",
|
|
13408
|
+
"toggle-warning",
|
|
13409
|
+
"toggle-xl",
|
|
13410
|
+
"toggle-xs"
|
|
13411
|
+
],
|
|
13412
|
+
"colorVariants": [
|
|
13413
|
+
"toggle-primary",
|
|
13414
|
+
"toggle-secondary",
|
|
13415
|
+
"toggle-accent",
|
|
13416
|
+
"toggle-neutral",
|
|
13417
|
+
"toggle-info",
|
|
13418
|
+
"toggle-success",
|
|
13419
|
+
"toggle-warning",
|
|
13420
|
+
"toggle-error"
|
|
13421
|
+
]
|
|
13422
|
+
},
|
|
13423
|
+
{
|
|
13424
|
+
"name": "toolbar",
|
|
13425
|
+
"package": "@wizeworks/silicaui",
|
|
13426
|
+
"category": "Advanced / composite",
|
|
13427
|
+
"sourceFile": "silicaui/src/components/toolbar.js",
|
|
13428
|
+
"description": "The Toolbar component — a container grouping related controls with roving focus. Behavior (arrow-key navigation, roving tabindex) is Base UI's Toolbar; Silica styles the bar, its buttons, groups, links, and separators. Colorless. A compact base-200 bar with ghost-style buttons that highlight on hover. `data-orientation=\"vertical\"` stacks it. Separators read their own `data-orientation` (a vertical rule inside a horizontal bar, and vice-versa). `data-size` (\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\") sets `--toolbar-height`/ `--toolbar-padding-inline` and the bar's own `font-size`, which its native `.toolbar-button`/`.toolbar-link` parts read — so they resize for free. That cascade is real only for THOSE parts (this module owns both ends of it); a bare `.btn`/`.input` dropped into a toolbar still needs its own explicit `-sm`/`-lg` class, since those components pick their size via a literal class, not an inherited variable. `data-variant=\"muted\"` gives the bar a tinted, less prominent background — for contextual/temporary toolbars (e.g. a bulk-selection action bar) that should read as distinct from a standing one. `data-dividers` (\"top\" | \"bottom\" | \"both\") drops the bar's own box (full border on every side) in favor of a rule on just the given edge(s) — for embedding the toolbar as a header inside a Card/Section rather than as a standalone floating bar. A `.toolbar-center` child switches the bar to a 3-column grid (`start | center | end`, via `:has()`) so center content (e.g. tabs) stays visually centered independent of how wide the start/end content is. Give the toolbar exactly 3 direct children when using it: a start child, the `.toolbar-center` child, and an end child (typically each wrapped in a `ToolbarGroup`). @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13429
|
+
"root": "toolbar",
|
|
13430
|
+
"classes": [
|
|
13431
|
+
"toolbar",
|
|
13432
|
+
"toolbar-button",
|
|
13433
|
+
"toolbar-center",
|
|
13434
|
+
"toolbar-group",
|
|
13435
|
+
"toolbar-link",
|
|
13436
|
+
"toolbar-separator"
|
|
13437
|
+
]
|
|
13438
|
+
},
|
|
13439
|
+
{
|
|
13440
|
+
"name": "tooltip",
|
|
13441
|
+
"package": "@wizeworks/silicaui",
|
|
13442
|
+
"category": "Feedback & overlay",
|
|
13443
|
+
"sourceFile": "silicaui/src/components/tooltip.js",
|
|
13444
|
+
"description": "The Tooltip surface — the visual half of the Base-UI-backed Tooltip. Silica's split: Base UI owns the behavior (hover/focus intent, delay, positioning, portal, dismissal) in the React layer; this file owns only how the popup LOOKS. It's the first component to pair a CSS surface with a Base UI primitive, so it sets the pattern: style `.tooltip` (the popup) + `.tooltip-arrow`, and let the React wrapper attach these classes to `Tooltip.Popup`/`Tooltip.Arrow`. A classic dark chip (neutral surface). Enter/exit is driven by Base UI's `[data-starting-style]`/`[data-ending-style]` attributes + the `--transform-origin` it sets on the popup, so the scale animation grows from the anchored edge. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13445
|
+
"root": "tooltip",
|
|
13446
|
+
"classes": [
|
|
13447
|
+
"tooltip",
|
|
13448
|
+
"tooltip-arrow"
|
|
13449
|
+
],
|
|
13450
|
+
"compoundSelectors": [
|
|
13451
|
+
".tooltip-arrow[data-side=\"top\"]",
|
|
13452
|
+
".tooltip-arrow[data-side=\"bottom\"]",
|
|
13453
|
+
".tooltip-arrow[data-side=\"left\"]",
|
|
13454
|
+
".tooltip-arrow[data-side=\"right\"]"
|
|
13455
|
+
]
|
|
13456
|
+
},
|
|
13457
|
+
{
|
|
13458
|
+
"name": "tree-view",
|
|
13459
|
+
"package": "@wizeworks/silicaui",
|
|
13460
|
+
"category": "Advanced / composite",
|
|
13461
|
+
"sourceFile": "silicaui/src/components/tree-view.js",
|
|
13462
|
+
"description": "TreeView — a hierarchical, keyboard-navigable tree (page trees, file/section hierarchies, nav builders). Structure follows the ARIA tree pattern: `ul.tree[role=tree]` → `li.tree-item[role=treeitem]` (the focusable node, roving tabindex) → an inner `.tree-node` row (the highlight/click target: chevron + optional icon + label) and, when expanded, a nested `ul.tree-group[role=group]`. Depth indentation is driven by a `--tree-depth` custom prop set inline by the React component. Colorless: the selected row reads `--color-primary` for its tint/text. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13463
|
+
"root": "tree",
|
|
13464
|
+
"classes": [
|
|
13465
|
+
"tree",
|
|
13466
|
+
"tree-group",
|
|
13467
|
+
"tree-item",
|
|
13468
|
+
"tree-node",
|
|
13469
|
+
"tree-node-icon",
|
|
13470
|
+
"tree-node-label",
|
|
13471
|
+
"tree-toggle",
|
|
13472
|
+
"tree-toggle-spacer"
|
|
13473
|
+
],
|
|
13474
|
+
"compoundSelectors": [
|
|
13475
|
+
".tree-node[data-selected]",
|
|
13476
|
+
".tree-node[data-disabled]",
|
|
13477
|
+
".tree-item:focus-visible > .tree-node",
|
|
13478
|
+
".tree-node[data-dragging]",
|
|
13479
|
+
".tree-node[data-drag-over=\"inside\"]",
|
|
13480
|
+
".tree-node[data-drag-over=\"before\"], .tree-node[data-drag-over=\"after\"]",
|
|
13481
|
+
".tree-node[data-drag-over=\"before\"]::before, .tree-node[data-drag-over=\"after\"]::after",
|
|
13482
|
+
".tree-node[data-drag-over=\"before\"]::before",
|
|
13483
|
+
".tree-node[data-drag-over=\"after\"]::after",
|
|
13484
|
+
".tree-toggle[data-expanded]"
|
|
13485
|
+
]
|
|
13486
|
+
},
|
|
13487
|
+
{
|
|
13488
|
+
"name": "typography",
|
|
13489
|
+
"package": "@wizeworks/silicaui",
|
|
13490
|
+
"category": "css",
|
|
13491
|
+
"sourceFile": "silicaui/src/components/typography.js",
|
|
13492
|
+
"description": "Typography — @wizeworks/@wizeworks/silicaui's UI type ramp (distinct from `.prose`, which styles a block of long-form/markdown content). This gives the *application* a designed default: bare `<h1>`–`<h6>` and `<p>` look right with zero classes, plus explicit `.display` / `.display-1`–`.display-3` / `.h1`–`.h6` / `.lead` / `.caption` classes to apply any step to any element (a semantic `<h1>` that should read as an h3, or a hero `<h1>` sized up to `.display-1`, etc.). Anchored to the 16px root + the `text-*` scale (see index.js/theme.js). Heading sizes are in `rem` so they track the base font size; the oversized display ramp is fluid (`clamp` + container units) — see DISPLAY_STEPS. Two deliberate scoping choices: • Global element defaults are scoped to `[data-theme]` — the same opt-in surface @wizeworks/@wizeworks/silicaui paints (theme.js) — so @wizeworks/@wizeworks/silicaui NEVER restyles a host page's headings you didn't opt into (the embeddable/Sparx case). • They use `:where(...)` (zero specificity) so a Tailwind utility (`text-sm`) OR a `.h*` class always wins without `!important`. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13493
|
+
"root": null,
|
|
13494
|
+
"classes": [
|
|
13495
|
+
"blockquote",
|
|
13496
|
+
"blockquote-cite",
|
|
13497
|
+
"caption",
|
|
13498
|
+
"display",
|
|
13499
|
+
"display-1",
|
|
13500
|
+
"display-2",
|
|
13501
|
+
"display-3",
|
|
13502
|
+
"h1",
|
|
13503
|
+
"h2",
|
|
13504
|
+
"h3",
|
|
13505
|
+
"h4",
|
|
13506
|
+
"h5",
|
|
13507
|
+
"h6",
|
|
13508
|
+
"lead"
|
|
13509
|
+
],
|
|
13510
|
+
"compoundSelectors": [
|
|
13511
|
+
"[data-theme] :where(h1, h2, h3, h4, h5, h6)",
|
|
13512
|
+
"[data-theme] :where(h1)",
|
|
13513
|
+
"[data-theme] :where(h2)",
|
|
13514
|
+
"[data-theme] :where(h3)",
|
|
13515
|
+
"[data-theme] :where(h4)",
|
|
13516
|
+
"[data-theme] :where(h5)",
|
|
13517
|
+
"[data-theme] :where(h6)",
|
|
13518
|
+
"[data-theme] :where(p)",
|
|
13519
|
+
"[data-theme] :where(small)",
|
|
13520
|
+
"[data-theme] :where(blockquote)",
|
|
13521
|
+
"[data-theme] :where(blockquote > footer, blockquote > cite)"
|
|
13522
|
+
]
|
|
13523
|
+
},
|
|
13524
|
+
{
|
|
13525
|
+
"name": "validator",
|
|
13526
|
+
"package": "@wizeworks/silicaui",
|
|
13527
|
+
"category": "Data input",
|
|
13528
|
+
"sourceFile": "silicaui/src/components/validator.js",
|
|
13529
|
+
"description": "The Validator component — validity-driven coloring for form controls. Colorless (semantic error/success only). Add `.validator` alongside `.input`, `.select`, `.textarea`, etc. It recolors the control by (a) the native `:user-invalid` / `:user-valid` states — which only engage AFTER the user has interacted, so a pristine form doesn't shout — and (b) an explicit `[aria-invalid]` attribute for controlled React validation. It works by writing the SAME accent variables the field components already read (`--input-accent`, `--select-accent`, `--textarea-accent`), so the border and focus ring flip to error/success with no per-field wiring. As a fallback it also sets `border-color`/`outline-color` directly for any control that doesn't route through an accent var. `.validator-hint` is an inline message that stays hidden until the control it immediately follows is invalid. @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13530
|
+
"root": "validator",
|
|
13531
|
+
"classes": [
|
|
13532
|
+
"validator",
|
|
13533
|
+
"validator-hint"
|
|
13534
|
+
],
|
|
13535
|
+
"compoundSelectors": [
|
|
13536
|
+
".validator:user-invalid",
|
|
13537
|
+
".validator[aria-invalid='true']",
|
|
13538
|
+
".validator:user-valid",
|
|
13539
|
+
".validator[aria-invalid='false']",
|
|
13540
|
+
".validator:user-invalid + .validator-hint",
|
|
13541
|
+
".validator[aria-invalid='true'] + .validator-hint"
|
|
13542
|
+
]
|
|
13543
|
+
},
|
|
13544
|
+
{
|
|
13545
|
+
"name": "wizard",
|
|
13546
|
+
"package": "@wizeworks/silicaui",
|
|
13547
|
+
"category": "Advanced / composite",
|
|
13548
|
+
"sourceFile": "silicaui/src/components/wizard.js",
|
|
13549
|
+
"description": "Wizard — a multi-step flow: a numbered step indicator with connectors, a content pane for the active step, and a Back / Next-or-Finish footer. The React `<Wizard>` owns the active-step state, linear vs. free navigation, and the footer buttons; this styles the indicator (upcoming / active / complete markers + the connecting rail), the content area, and the footer row. Colored: a `.wizard-<name>` class sets `--wz-accent` (+ its readable `--wz-accent-content`), which the active/complete markers and filled connectors read — orthogonal accent, same as the rest of Silica. @param {string[]} colors - color names to generate `.wizard-<name>` for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13550
|
+
"root": "wizard",
|
|
13551
|
+
"classes": [
|
|
13552
|
+
"wizard",
|
|
13553
|
+
"wizard-accent",
|
|
13554
|
+
"wizard-content",
|
|
13555
|
+
"wizard-error",
|
|
13556
|
+
"wizard-footer",
|
|
13557
|
+
"wizard-info",
|
|
13558
|
+
"wizard-neutral",
|
|
13559
|
+
"wizard-primary",
|
|
13560
|
+
"wizard-secondary",
|
|
13561
|
+
"wizard-step",
|
|
13562
|
+
"wizard-step-label",
|
|
13563
|
+
"wizard-step-marker",
|
|
13564
|
+
"wizard-step-optional",
|
|
13565
|
+
"wizard-steps",
|
|
13566
|
+
"wizard-success",
|
|
13567
|
+
"wizard-warning"
|
|
13568
|
+
],
|
|
13569
|
+
"colorVariants": [
|
|
13570
|
+
"wizard-primary",
|
|
13571
|
+
"wizard-secondary",
|
|
13572
|
+
"wizard-accent",
|
|
13573
|
+
"wizard-neutral",
|
|
13574
|
+
"wizard-info",
|
|
13575
|
+
"wizard-success",
|
|
13576
|
+
"wizard-warning",
|
|
13577
|
+
"wizard-error"
|
|
13578
|
+
],
|
|
13579
|
+
"compoundSelectors": [
|
|
13580
|
+
".wizard-step[data-clickable]",
|
|
13581
|
+
".wizard-step[data-disabled]",
|
|
13582
|
+
".wizard-step:not(:first-child)::before",
|
|
13583
|
+
".wizard-step[data-state=\"active\"]::before, .wizard-step[data-state=\"complete\"]::before",
|
|
13584
|
+
".wizard-step[data-state=\"active\"] .wizard-step-marker",
|
|
13585
|
+
".wizard-step[data-state=\"complete\"] .wizard-step-marker",
|
|
13586
|
+
".wizard-step[data-state=\"active\"] .wizard-step-label"
|
|
13587
|
+
]
|
|
13588
|
+
},
|
|
13589
|
+
{
|
|
13590
|
+
"name": "wordmark",
|
|
13591
|
+
"package": "@wizeworks/silicaui",
|
|
13592
|
+
"category": "Typography",
|
|
13593
|
+
"sourceFile": "silicaui/src/components/wordmark.js",
|
|
13594
|
+
"description": "The Wordmark component — a stylized logotype for a brand/product name. Colorless base (reads `currentColor`-adjacent `--color-base-content`) with an orthogonal accent for `.wordmark-accent` (a highlighted suffix/prefix, e.g. the \"UI\" in \"Silica UI\"). Tight tracking + a heavier weight distinguish it from ordinary body/heading text — this is a logotype, not a `<Heading>`. @param {string[]} colors - color names to generate `.wordmark-<name>` variants for @param {string} [prefix] - prepended verbatim to every class (e.g. `sx-`)",
|
|
13595
|
+
"root": "wordmark",
|
|
13596
|
+
"classes": [
|
|
13597
|
+
"wordmark",
|
|
13598
|
+
"wordmark-accent",
|
|
13599
|
+
"wordmark-error",
|
|
13600
|
+
"wordmark-info",
|
|
13601
|
+
"wordmark-lg",
|
|
13602
|
+
"wordmark-md",
|
|
13603
|
+
"wordmark-neutral",
|
|
13604
|
+
"wordmark-primary",
|
|
13605
|
+
"wordmark-secondary",
|
|
13606
|
+
"wordmark-sm",
|
|
13607
|
+
"wordmark-success",
|
|
13608
|
+
"wordmark-warning",
|
|
13609
|
+
"wordmark-xl",
|
|
13610
|
+
"wordmark-xs"
|
|
13611
|
+
],
|
|
13612
|
+
"colorVariants": [
|
|
13613
|
+
"wordmark-primary",
|
|
13614
|
+
"wordmark-secondary",
|
|
13615
|
+
"wordmark-accent",
|
|
13616
|
+
"wordmark-neutral",
|
|
13617
|
+
"wordmark-info",
|
|
13618
|
+
"wordmark-success",
|
|
13619
|
+
"wordmark-warning",
|
|
13620
|
+
"wordmark-error"
|
|
13621
|
+
]
|
|
13622
|
+
},
|
|
13623
|
+
{
|
|
13624
|
+
"name": "color-utilities",
|
|
13625
|
+
"package": "@wizeworks/silicaui",
|
|
13626
|
+
"category": "css",
|
|
13627
|
+
"sourceFile": "silicaui/src/color-utilities.js",
|
|
13628
|
+
"description": "The full build-time utility set: the surface ramp plus each semantic color and its `-content` foreground. Wired into the plugin so every declared color is paintable via `text-`/`bg-`/`border-` without scanning. @param {string[]} colors - the plugin's `colors:` list @param {string} [prefix]",
|
|
13629
|
+
"root": null,
|
|
13630
|
+
"classes": [
|
|
13631
|
+
"bg-accent",
|
|
13632
|
+
"bg-accent-content",
|
|
13633
|
+
"bg-base-100",
|
|
13634
|
+
"bg-base-200",
|
|
13635
|
+
"bg-base-300",
|
|
13636
|
+
"bg-base-content",
|
|
13637
|
+
"bg-error",
|
|
13638
|
+
"bg-error-content",
|
|
13639
|
+
"bg-info",
|
|
13640
|
+
"bg-info-content",
|
|
13641
|
+
"bg-neutral",
|
|
13642
|
+
"bg-neutral-content",
|
|
13643
|
+
"bg-primary",
|
|
13644
|
+
"bg-primary-content",
|
|
13645
|
+
"bg-secondary",
|
|
13646
|
+
"bg-secondary-content",
|
|
13647
|
+
"bg-soft",
|
|
13648
|
+
"bg-success",
|
|
13649
|
+
"bg-success-content",
|
|
13650
|
+
"bg-warning",
|
|
13651
|
+
"bg-warning-content",
|
|
13652
|
+
"border-accent",
|
|
13653
|
+
"border-accent-content",
|
|
13654
|
+
"border-base-100",
|
|
13655
|
+
"border-base-200",
|
|
13656
|
+
"border-base-300",
|
|
13657
|
+
"border-base-content",
|
|
13658
|
+
"border-error",
|
|
13659
|
+
"border-error-content",
|
|
13660
|
+
"border-info",
|
|
13661
|
+
"border-info-content",
|
|
13662
|
+
"border-neutral",
|
|
13663
|
+
"border-neutral-content",
|
|
13664
|
+
"border-primary",
|
|
13665
|
+
"border-primary-content",
|
|
13666
|
+
"border-secondary",
|
|
13667
|
+
"border-secondary-content",
|
|
13668
|
+
"border-soft",
|
|
13669
|
+
"border-success",
|
|
13670
|
+
"border-success-content",
|
|
13671
|
+
"border-warning",
|
|
13672
|
+
"border-warning-content",
|
|
13673
|
+
"glass",
|
|
13674
|
+
"soft",
|
|
13675
|
+
"text-accent",
|
|
13676
|
+
"text-accent-content",
|
|
13677
|
+
"text-base-100",
|
|
13678
|
+
"text-base-200",
|
|
13679
|
+
"text-base-300",
|
|
13680
|
+
"text-base-content",
|
|
13681
|
+
"text-error",
|
|
13682
|
+
"text-error-content",
|
|
13683
|
+
"text-info",
|
|
13684
|
+
"text-info-content",
|
|
13685
|
+
"text-neutral",
|
|
13686
|
+
"text-neutral-content",
|
|
13687
|
+
"text-primary",
|
|
13688
|
+
"text-primary-content",
|
|
13689
|
+
"text-secondary",
|
|
13690
|
+
"text-secondary-content",
|
|
13691
|
+
"text-soft",
|
|
13692
|
+
"text-success",
|
|
13693
|
+
"text-success-content",
|
|
13694
|
+
"text-warning",
|
|
13695
|
+
"text-warning-content"
|
|
13696
|
+
]
|
|
13697
|
+
},
|
|
13698
|
+
{
|
|
13699
|
+
"name": "type-scale",
|
|
13700
|
+
"package": "@wizeworks/silicaui",
|
|
13701
|
+
"category": "css",
|
|
13702
|
+
"sourceFile": "silicaui/src/type-scale.js",
|
|
13703
|
+
"description": "The type scale — @wizeworks/@wizeworks/silicaui's `text-*` size ladder, and the SINGLE source of truth for it. The plugin registers this as `theme.extend.fontSize` (see index.js) so Tailwind emits `text-xs` … `text-10xl`, and the MCP catalog generator imports the SAME object so the documented scale can never drift from what the plugin actually ships. Exposed as `@wizeworks/@wizeworks/silicaui/type-scale` for anyone who wants to build a size picker or safelist from the canonical scale rather than re-typing it. Anchored to a 16px root (index.js declares `100%`, honoring a user's own browser setting): `text-md` (== `text-base`) is 1rem = 16px — the worldwide default body size — so the scale reads as a self-documenting xs → sm → MD → lg… ladder rather than leaving 16px an accidental Tailwind default. `md` is the named alias @wizeworks/@wizeworks/silicaui code should reach for; always prefer a scale step over a `text-[13px]`-style magic number. xs–9xl match Tailwind's own defaults (nothing shifts) but are declared EXPLICITLY rather than left to Tailwind — otherwise the ladder @wizeworks/@wizeworks/silicaui \"owns\" quietly stopped at 7xl while 8xl/9xl leaked in from the framework default, so the top of the scale wasn't self-documenting. `10xl` (10rem) extends past Tailwind's ceiling for oversized hero/display type. Shape matches Tailwind's `fontSize` theme: `[fontSize, { lineHeight }]`.",
|
|
13704
|
+
"root": null,
|
|
13705
|
+
"familyPrefix": "text-",
|
|
13706
|
+
"rootNote": "No bare `.text` class exists — this family is only its `text-*` parts.",
|
|
13707
|
+
"classes": [
|
|
13708
|
+
"text-xs",
|
|
13709
|
+
"text-sm",
|
|
13710
|
+
"text-md",
|
|
13711
|
+
"text-base",
|
|
13712
|
+
"text-lg",
|
|
13713
|
+
"text-xl",
|
|
13714
|
+
"text-2xl",
|
|
13715
|
+
"text-3xl",
|
|
13716
|
+
"text-4xl",
|
|
13717
|
+
"text-5xl",
|
|
13718
|
+
"text-6xl",
|
|
13719
|
+
"text-7xl",
|
|
13720
|
+
"text-8xl",
|
|
13721
|
+
"text-9xl",
|
|
13722
|
+
"text-10xl"
|
|
13723
|
+
]
|
|
10863
13724
|
}
|
|
10864
13725
|
]
|