@cjlapao/ui-kit 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/index.cjs +1205 -829
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.css +37 -0
  4. package/dist/index.d.cts +260 -44
  5. package/dist/index.d.ts +260 -44
  6. package/dist/index.js +1140 -767
  7. package/dist/index.js.map +1 -1
  8. package/package.json +1 -1
  9. package/dist/CapsuleBlueprint--CgRT7dr.d.cts +0 -426
  10. package/dist/CapsuleBlueprint--CgRT7dr.d.ts +0 -426
  11. package/dist/CapsuleBlueprint-12uQWAvU.d.cts +0 -732
  12. package/dist/CapsuleBlueprint-12uQWAvU.d.ts +0 -732
  13. package/dist/CapsuleBlueprint-1FP6avn4.d.cts +0 -1017
  14. package/dist/CapsuleBlueprint-1FP6avn4.d.ts +0 -1017
  15. package/dist/CapsuleBlueprint-6DmJgar9.d.cts +0 -358
  16. package/dist/CapsuleBlueprint-6DmJgar9.d.ts +0 -358
  17. package/dist/CapsuleBlueprint-B7MPc5wu.d.cts +0 -835
  18. package/dist/CapsuleBlueprint-B7MPc5wu.d.ts +0 -835
  19. package/dist/CapsuleBlueprint-BFHAMKUF.d.cts +0 -991
  20. package/dist/CapsuleBlueprint-BFHAMKUF.d.ts +0 -991
  21. package/dist/CapsuleBlueprint-BG23ZWsl.d.cts +0 -460
  22. package/dist/CapsuleBlueprint-BG23ZWsl.d.ts +0 -460
  23. package/dist/CapsuleBlueprint-BGx-KPqS.d.cts +0 -925
  24. package/dist/CapsuleBlueprint-BGx-KPqS.d.ts +0 -925
  25. package/dist/CapsuleBlueprint-BJYVRyFD.d.cts +0 -449
  26. package/dist/CapsuleBlueprint-BJYVRyFD.d.ts +0 -449
  27. package/dist/CapsuleBlueprint-BQq4ywG4.d.cts +0 -835
  28. package/dist/CapsuleBlueprint-BQq4ywG4.d.ts +0 -835
  29. package/dist/CapsuleBlueprint-BTgmUcyF.d.cts +0 -278
  30. package/dist/CapsuleBlueprint-BTgmUcyF.d.ts +0 -278
  31. package/dist/CapsuleBlueprint-BX2YI1yC.d.cts +0 -415
  32. package/dist/CapsuleBlueprint-BX2YI1yC.d.ts +0 -415
  33. package/dist/CapsuleBlueprint-BfPODmvJ.d.cts +0 -822
  34. package/dist/CapsuleBlueprint-BfPODmvJ.d.ts +0 -822
  35. package/dist/CapsuleBlueprint-BfSPPu5k.d.cts +0 -616
  36. package/dist/CapsuleBlueprint-BfSPPu5k.d.ts +0 -616
  37. package/dist/CapsuleBlueprint-BoPkPR2J.d.cts +0 -785
  38. package/dist/CapsuleBlueprint-BoPkPR2J.d.ts +0 -785
  39. package/dist/CapsuleBlueprint-CJeLH0j2.d.cts +0 -228
  40. package/dist/CapsuleBlueprint-CJeLH0j2.d.ts +0 -228
  41. package/dist/CapsuleBlueprint-CJwXDMzM.d.cts +0 -622
  42. package/dist/CapsuleBlueprint-CJwXDMzM.d.ts +0 -622
  43. package/dist/CapsuleBlueprint-CM125BJI.d.cts +0 -811
  44. package/dist/CapsuleBlueprint-CM125BJI.d.ts +0 -811
  45. package/dist/CapsuleBlueprint-CQPeacGV.d.cts +0 -426
  46. package/dist/CapsuleBlueprint-CQPeacGV.d.ts +0 -426
  47. package/dist/CapsuleBlueprint-CQy2O0UN.d.cts +0 -889
  48. package/dist/CapsuleBlueprint-CQy2O0UN.d.ts +0 -889
  49. package/dist/CapsuleBlueprint-CRy04iCR.d.cts +0 -695
  50. package/dist/CapsuleBlueprint-CRy04iCR.d.ts +0 -695
  51. package/dist/CapsuleBlueprint-CixXdjMu.d.cts +0 -925
  52. package/dist/CapsuleBlueprint-CixXdjMu.d.ts +0 -925
  53. package/dist/CapsuleBlueprint-CjCxwO1O.d.cts +0 -786
  54. package/dist/CapsuleBlueprint-CjCxwO1O.d.ts +0 -786
  55. package/dist/CapsuleBlueprint-Cm10IA2w.d.cts +0 -342
  56. package/dist/CapsuleBlueprint-Cm10IA2w.d.ts +0 -342
  57. package/dist/CapsuleBlueprint-CoGsooJJ.d.cts +0 -492
  58. package/dist/CapsuleBlueprint-CoGsooJJ.d.ts +0 -492
  59. package/dist/CapsuleBlueprint-CpHqUsJK.d.cts +0 -786
  60. package/dist/CapsuleBlueprint-CpHqUsJK.d.ts +0 -786
  61. package/dist/CapsuleBlueprint-CrRg8EVW.d.cts +0 -358
  62. package/dist/CapsuleBlueprint-CrRg8EVW.d.ts +0 -358
  63. package/dist/CapsuleBlueprint-DGxsd0aY.d.cts +0 -785
  64. package/dist/CapsuleBlueprint-DGxsd0aY.d.ts +0 -785
  65. package/dist/CapsuleBlueprint-DYnwizSo.d.cts +0 -698
  66. package/dist/CapsuleBlueprint-DYnwizSo.d.ts +0 -698
  67. package/dist/CapsuleBlueprint-DbLSB78P.d.cts +0 -235
  68. package/dist/CapsuleBlueprint-DbLSB78P.d.ts +0 -235
  69. package/dist/CapsuleBlueprint-DfV8XBEZ.d.cts +0 -1001
  70. package/dist/CapsuleBlueprint-DfV8XBEZ.d.ts +0 -1001
  71. package/dist/CapsuleBlueprint-DiG1FUoM.d.cts +0 -757
  72. package/dist/CapsuleBlueprint-DiG1FUoM.d.ts +0 -757
  73. package/dist/CapsuleBlueprint-DvdeHC13.d.cts +0 -289
  74. package/dist/CapsuleBlueprint-DvdeHC13.d.ts +0 -289
  75. package/dist/CapsuleBlueprint-DvinXyHp.d.cts +0 -342
  76. package/dist/CapsuleBlueprint-DvinXyHp.d.ts +0 -342
  77. package/dist/CapsuleBlueprint-DwW8YOJg.d.cts +0 -925
  78. package/dist/CapsuleBlueprint-DwW8YOJg.d.ts +0 -925
  79. package/dist/CapsuleBlueprint-E069msDY.d.cts +0 -310
  80. package/dist/CapsuleBlueprint-E069msDY.d.ts +0 -310
  81. package/dist/CapsuleBlueprint-LECoxlXA.d.cts +0 -497
  82. package/dist/CapsuleBlueprint-LECoxlXA.d.ts +0 -497
  83. package/dist/CapsuleBlueprint-V9pDg6lh.d.cts +0 -247
  84. package/dist/CapsuleBlueprint-V9pDg6lh.d.ts +0 -247
  85. package/dist/CapsuleBlueprint-bOLrWbIc.d.cts +0 -858
  86. package/dist/CapsuleBlueprint-bOLrWbIc.d.ts +0 -858
  87. package/dist/CapsuleBlueprint-if_tP8K8.d.cts +0 -1022
  88. package/dist/CapsuleBlueprint-if_tP8K8.d.ts +0 -1022
  89. package/dist/CapsuleBlueprint-pP0Ima0I.d.cts +0 -768
  90. package/dist/CapsuleBlueprint-pP0Ima0I.d.ts +0 -768
  91. package/dist/CapsuleBlueprint-w82xP6zg.d.cts +0 -222
  92. package/dist/CapsuleBlueprint-w82xP6zg.d.ts +0 -222
  93. package/dist/CapsuleBlueprint-wdlxOX4L.d.cts +0 -472
  94. package/dist/CapsuleBlueprint-wdlxOX4L.d.ts +0 -472
  95. package/dist/CapsuleBlueprint-wxqu6jA3.d.cts +0 -529
  96. package/dist/CapsuleBlueprint-wxqu6jA3.d.ts +0 -529
@@ -1,786 +0,0 @@
1
- import React__default from 'react';
2
-
3
- /**
4
- * common/theme/glass.ts — Framework-agnostic glass utility module.
5
- *
6
- * Extracts all glass logic from Panel into reusable functions and types
7
- * so that any control (Button, IconButton, DropdownButton, etc.) can
8
- * compose glass styling without duplicating the Panel implementation.
9
- *
10
- * This file is pure TypeScript — no React, Vue, or DOM imports.
11
- */
12
-
13
- /**
14
- * Backdrop vibrancy level for glass surfaces.
15
- * - `"low"` → 1.0× saturation
16
- * - `"medium"` → 1.2× saturation (default)
17
- * - `"high"` → 1.4× saturation
18
- * - `number` → arbitrary multiplier (0 – 2 recommended)
19
- */
20
- type GlassVibrancy = "low" | "medium" | "high" | number;
21
- /**
22
- * Glass fill transparency level.
23
- * - `"frosted"` → 65 % light / 25 % dark (default)
24
- * - `"light"` → 85 % light / 35 % dark
25
- * - `"clear"` → 30 % light / 10 % dark (sheer — pair with a light backdrop)
26
- * - `number` → 0–1 fraction; light = round(frac × 100), dark = min(round(frac × 30), 30)
27
- *
28
- * Only the three presets (and their +10 hover steps) are safelisted. A numeric
29
- * value emits an arbitrary opacity that Tailwind's scanner cannot see, so the
30
- * fill silently disappears unless that exact step happens to be generated —
31
- * see `scripts/generate-safelist.mjs`.
32
- */
33
- type GlassOpacity = "frosted" | "light" | "clear" | number;
34
- /**
35
- * Specular highlight mode for glass surfaces.
36
- * - `"none"` → no specular overlay
37
- * - `"classic"` → sheen falling from the top edge
38
- * - `"halo"` → broad bloom plus two off-centre corner glints
39
- */
40
- type SpecularMode = "none" | "classic" | "halo";
41
-
42
- declare const BUTTON_VARIANTS: readonly ["solid", "soft", "outline", "ghost", "link", "clear", "icon", "glass"];
43
- type ButtonVariant = (typeof BUTTON_VARIANTS)[number];
44
- /** Label weight. Derived from the runtime list for the same reason. */
45
- declare const BUTTON_WEIGHTS: readonly ["normal", "medium", "semibold", "bold"];
46
- type ButtonWeight = (typeof BUTTON_WEIGHTS)[number];
47
- /**
48
- * The 21 Tailwind palette colours the kit supports.
49
- *
50
- * `TrueColor` is derived from this array rather than declared alongside it, so
51
- * the runtime list and the type can never drift — adding a colour here adds it
52
- * to the type, the generated theme, and every consumer that enumerates colours.
53
- */
54
- declare const TRUE_COLORS: readonly ["red", "orange", "amber", "yellow", "lime", "green", "emerald", "teal", "cyan", "sky", "blue", "indigo", "violet", "purple", "fuchsia", "rose", "slate", "gray", "zinc", "neutral", "stone"];
55
- /**
56
- * TrueColor is the only valid color type in the ui-kit theme system.
57
- * All components, tokens, and utilities must use TrueColor exclusively.
58
- */
59
- type TrueColor = (typeof TRUE_COLORS)[number];
60
- /**
61
- * Shared size type used across all frameworks and components.
62
- * Replaces both the old ThemeSize (dead code) and ModalSize.
63
- */
64
- type Size = "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl" | "2xl" | "3xl" | "full";
65
- /**
66
- * The size scale every interactive control shares. Derived from the runtime
67
- * list so the two cannot drift, and so demos/docs can enumerate it.
68
- */
69
- declare const CONTROL_SIZES: readonly ["xs", "sm", "md", "lg", "xl"];
70
- type ControlSize = (typeof CONTROL_SIZES)[number];
71
- /**
72
- * The two layouts a linear control can take.
73
- *
74
- * This union was declared independently in `Slider`, `Rating`, `AppDivider`,
75
- * `Stepper` and `Tabs` (five names for one scale), so a rename or addition in
76
- * the theme would never reach any of them. It lives here once; each control
77
- * keeps its own alias (`SliderOrientation`, …) so call sites and the barrels
78
- * are unaffected.
79
- */
80
- declare const ORIENTATIONS: readonly ["horizontal", "vertical"];
81
- type Orientation = (typeof ORIENTATIONS)[number];
82
- /**
83
- * The geometry of an interactive control at each shared size.
84
- *
85
- * Every control in the trigger family needs the same answer to "how big is the
86
- * icon, the box, the spinner at this size". That table was copy-pasted into
87
- * `Button` (text padding, icon-only padding, icon and spinner sizes) and
88
- * `IconButton` (square box, icon, `<Spinner>` size) — two copies of one scale,
89
- * drifting independently. It lives here once; the components import it.
90
- */
91
- type ControlSizeTokens = {
92
- /** Font size and padding of a labelled control. */
93
- text: string;
94
- /** Padding of a square (icon-only) control. */
95
- iconOnly: string;
96
- /** Fixed box of a square control (`IconButton`). */
97
- box: string;
98
- /** Space between an icon and its label. */
99
- gap: string;
100
- /** Icon dimensions at this control size — identical across controls. */
101
- icon: string;
102
- /** Dimensions of the inline spinner inside a labelled control. */
103
- spinner: string;
104
- /** Size to pass to `<Spinner>` inside a square control. */
105
- spinnerSize: ControlSize;
106
- };
107
- declare const getControlSizeTokens: (size: ControlSize) => ControlSizeTokens;
108
- /**
109
- * The corner radius every trigger-family control shares, so a `Button` next to
110
- * an `Input` is the same box (both `rounded-lg`). Panel-family containers use
111
- * `DEFAULT_SURFACE_CORNER` instead — a different scale, deliberately.
112
- */
113
- declare const DEFAULT_TRIGGER_CORNER = "rounded-lg";
114
- /**
115
- * Strength of a decorative glow behind a control (currently `SearchBar`'s
116
- * gradient variant).
117
- */
118
- declare const GLOW_INTENSITIES: readonly ["subtle", "soft", "medium", "strong"];
119
- type GlowIntensity = (typeof GLOW_INTENSITIES)[number];
120
- /**
121
- * Surface treatments shared by every text-entry control — `Input`, `Textarea`,
122
- * `SearchBar`. Defined once here so the three are the same box when they sit
123
- * next to each other in a form.
124
- */
125
- declare const INPUT_VARIANTS: readonly ["flat", "elevated", "ghost", "underline", "glass", "gradient"];
126
- type InputVariant = (typeof INPUT_VARIANTS)[number];
127
- type InputVariantTokens = {
128
- /** Border, fill, radius, shadow, backdrop. */
129
- surface: string;
130
- /** Text and placeholder colours. */
131
- text: string;
132
- /** Resting colour for a leading icon or other adornment. */
133
- icon: string;
134
- /** True when the surface is see-through and sits over unknown content. */
135
- translucent: boolean;
136
- };
137
- /**
138
- * The variant's surface with its border colour removed, keeping the width and
139
- * sides.
140
- *
141
- * A validation state paints its own border colour, and `border-rose-500`
142
- * beside the variant's `border-neutral-300` is a same-specificity collision
143
- * whose winner is emission order — measured in the built stylesheet,
144
- * `.border-emerald-500` lands *before* `.border-neutral-300` and
145
- * `.border-rose-500` after it, so an errored field turned rose and a
146
- * successful one stayed grey. Strip the colour so only one class can apply.
147
- */
148
- declare const stripBorderColor: (surface: string) => string;
149
- declare const getInputVariantTokens: (variant: InputVariant) => InputVariantTokens;
150
- /**
151
- * Surface treatments for containers — `Panel` and anything built on it
152
- * (`FormSection`). Kept here so the type and the text that sits on those
153
- * surfaces are defined once, not per component.
154
- */
155
- declare const SURFACE_VARIANTS: readonly ["elevated", "outlined", "subtle", "tonal", "default", "glass", "simple", "liquid-glass"];
156
- type SurfaceVariant = (typeof SURFACE_VARIANTS)[number];
157
- type SurfaceTextTokens = {
158
- /** Section and card headings. */
159
- heading: string;
160
- /** Body copy. */
161
- body: string;
162
- /** Secondary copy — descriptions under a label. */
163
- description: string;
164
- /** Tertiary copy — hints, counters, "optional" markers. */
165
- muted: string;
166
- /** Hairline between regions of the surface. */
167
- divider: string;
168
- translucent: boolean;
169
- };
170
- declare const getSurfaceTextTokens: (variant: SurfaceVariant) => SurfaceTextTokens;
171
- /**
172
- * A full-bleed interactive region on a container surface — a disclosure header,
173
- * a clickable card row.
174
- *
175
- * Two rules learned the hard way, both encoded here so callers cannot get them
176
- * wrong: a ring colour is inert without a ring *width*, and an outer ring is
177
- * clipped by any ancestor with `overflow: hidden` (which every `Panel` has), so
178
- * the ring is inset.
179
- */
180
- type SurfaceTriggerTokens = {
181
- /** Background wash on hover. Low-alpha, so it works on glass too. */
182
- hover: string;
183
- /** Complete focus indicator: outline reset, width, inset, colour. */
184
- focusRing: string;
185
- };
186
- declare const getSurfaceTriggerTokens: (color: TrueColor) => SurfaceTriggerTokens;
187
- /**
188
- * Corner radius scale for container surfaces.
189
- *
190
- * The token names are historical and do NOT map 1:1 onto Tailwind's radius
191
- * utilities — `rounded-sm` here is Tailwind's `rounded-lg`. They are kept as
192
- * they are because the whole kit already calls them by these names and the
193
- * scale itself is monotonic and correct; renaming would silently reshape every
194
- * existing card. `getSurfaceCornerRem` exposes the real radius so a demo can
195
- * label them honestly.
196
- *
197
- * Capsule radii (`rounded-full` / `pill`) are not part of the container scale:
198
- * a capsule is a shape, and the `Pill` component owns it. Containers that need
199
- * one take a `rounded-full` class directly.
200
- */
201
- declare const SURFACE_CORNERS: readonly ["none", "rounded", "rounded-sm", "rounded-md", "rounded-lg", "rounded-xl"];
202
- type SurfaceCorner = (typeof SURFACE_CORNERS)[number];
203
- /** The radius a container uses when the caller does not pick one. */
204
- declare const DEFAULT_SURFACE_CORNER: SurfaceCorner;
205
- declare const getSurfaceCornerClass: (corner: SurfaceCorner) => string;
206
- declare const getSurfaceCornerRem: (corner: SurfaceCorner) => string;
207
- /**
208
- * Container padding, on the same scale every control uses plus a `none` step,
209
- * so a Panel's padding and the Button inside it are described in one language.
210
- */
211
- declare const SURFACE_PADDINGS: readonly ["none", "xs", "sm", "md", "lg", "xl"];
212
- type SurfacePadding = "none" | ControlSize;
213
- declare const getSurfacePaddingClass: (padding: SurfacePadding) => string;
214
- /** Every padding token but `none`, for the callers that require a real inset. */
215
- declare const getSurfacePaddingClasses: () => Record<SurfacePadding, string>;
216
- /**
217
- * The tones that read as "no tint". Consumers that tint chrome per tone
218
- * (Table's header band, for instance) route these through the neutral
219
- * treatment instead of painting a grey-blue header.
220
- */
221
- declare const NEUTRAL_TONES: TrueColor[];
222
- /**
223
- * Cell density for data grids. Deliberately orthogonal to the surface
224
- * variant: the variant decides how the container is drawn, the density how
225
- * tight the cells inside it sit. A compact table on glass must read the same
226
- * as a compact table on an outlined card.
227
- */
228
- declare const TABLE_DENSITIES: readonly ["default", "compact", "minimal"];
229
- type TableDensity = (typeof TABLE_DENSITIES)[number];
230
- type TableDensityTokens = {
231
- /** Padding + text size for body and header cells. */
232
- cell: string;
233
- /** Leading cell of a row (overrides `cell`'s left padding). */
234
- sideLeft: string;
235
- /** Trailing cell of a row (overrides `cell`'s right padding). */
236
- sideRight: string;
237
- /** Vertical padding inside the cell's inner flex wrapper. */
238
- contentVertical: string;
239
- };
240
- declare const getTableDensityTokens: (density: TableDensity) => TableDensityTokens;
241
- /**
242
- * Geometry and opacity of the `gradient` variant's glow.
243
- *
244
- * `pad` is reserved on the control's own wrapper and `inset` positions the glow
245
- * inside it, so the halo is drawn **within the control's layout box**. Painting
246
- * it outside — the obvious way — means any ancestor with `overflow: auto`
247
- * clips it, and `Panel`'s body is `overflow-auto` by default. Same rule as the
248
- * inset focus ring.
249
- */
250
- type GlowTokens = {
251
- /** Padding reserved on the wrapper to hold the halo. */
252
- pad: string;
253
- /** Glow position inside that padding. The gap left over absorbs the blur. */
254
- inset: string;
255
- blur: string;
256
- idleOpacity: number;
257
- focusOpacity: number;
258
- };
259
- declare const getGlowTokens: (intensity: GlowIntensity) => GlowTokens;
260
- /**
261
- * Glow gradient stops: the tone's 600 and 400 shades, read from Tailwind's own
262
- * custom properties rather than a hard-coded hex table.
263
- */
264
- declare const resolveGlowGradient: (tone: TrueColor, from?: string, to?: string) => [string, string];
265
- /**
266
- * Surface treatments for the `SideMenu` container.
267
- *
268
- * `sidebar` is the kit's standing look (a translucent blur pushed into the
269
- * layout), `inset` is a flat panel with a hairline on the content edge,
270
- * `floating` is a detached rounded card, `floating-glass` is that card in the
271
- * kit's liquid-glass language, and `glass` is the liquid-glass language flush
272
- * in the layout — both glass treatments are tinted with the menu's tone. The
273
- * rows inside a menu take the matching treatment automatically.
274
- */
275
- declare const SIDEBAR_VARIANTS: readonly ["sidebar", "inset", "floating", "floating-glass", "glass"];
276
- type SidebarVariant = (typeof SIDEBAR_VARIANTS)[number];
277
- /**
278
- * How a `SideMenu` collapses on desktop.
279
- *
280
- * `icon` shrinks it to an icon rail, `offcanvas` removes the panel from the
281
- * layout entirely (a small handle at the edge opens it again), and `none`
282
- * makes the panel non-collapsible.
283
- */
284
- declare const SIDEBAR_COLLAPSIBLE_MODES: readonly ["icon", "offcanvas", "none"];
285
- type SidebarCollapsible = (typeof SIDEBAR_COLLAPSIBLE_MODES)[number];
286
- /** Which edge of the layout the `SideMenu` sits on. */
287
- declare const SIDEBAR_SIDES: readonly ["left", "right"];
288
- type SidebarSide = (typeof SIDEBAR_SIDES)[number];
289
- /**
290
- * The media query at which a responsive `SideMenu` becomes an offcanvas
291
- * overlay (below it) instead of using its desktop collapsible mode (above it).
292
- */
293
- declare const SIDEBAR_MOBILE_QUERY = "(max-width: 1023px)";
294
- interface SideMenuItemTokens {
295
- /** Fill of the active row. */
296
- bg: string;
297
- /** Copy of the active row. */
298
- text: string;
299
- /** Wash under the cursor on an idle row. */
300
- hoverBg: string;
301
- /** Copy of an idle row under the cursor. */
302
- hoverText: string;
303
- /** Icon of the active row. */
304
- iconActive: string;
305
- /** Icon of an idle row under the cursor. */
306
- iconHover: string;
307
- }
308
- declare const getSideMenuItemTokens: (color: TrueColor) => SideMenuItemTokens;
309
- /**
310
- * Resting copy for an idle `SideMenu` row, per surface context.
311
- *
312
- * A see-through surface composites over unknown content, so the light end of
313
- * the neutral scale disappears on it — the same two-step rule as
314
- * `getSurfaceTextTokens`.
315
- */
316
- declare const SIDEBAR_IDLE_COPY: {
317
- readonly solid: {
318
- readonly text: "text-neutral-600 dark:text-neutral-400";
319
- readonly icon: "text-neutral-400 dark:text-neutral-500";
320
- };
321
- readonly glass: {
322
- readonly text: "text-neutral-800 dark:text-neutral-100";
323
- readonly icon: "text-neutral-600 dark:text-neutral-300";
324
- };
325
- };
326
- type SidebarIdleCopyKind = keyof typeof SIDEBAR_IDLE_COPY;
327
- interface SidebarSurfaceTokens {
328
- /** Fill and blur of the layer painted behind the content. */
329
- fill: string;
330
- /**
331
- * Opaque counterpart of `fill`, for states where the panel grows over other
332
- * content (the hover-rail expansion) and must not show it through. A
333
- * translucent `fill` there reads as a second, see-through layer.
334
- */
335
- solidFill: string;
336
- /** Edge treatment. Empty when the panel is flush and borderless. */
337
- border: string;
338
- /** Which edges carry the border: the content-facing one only, or all. */
339
- borderSides: "start" | "all";
340
- /** Shadow cast toward the content (left-side panel). */
341
- shadow: string;
342
- /** Shadow cast toward the content (right-side panel). */
343
- shadowRight: string;
344
- /** Corner radius. Empty when flush. */
345
- radius: string;
346
- /** Offset from the layout edges ("" = flush, a margin when detached). */
347
- offset: string;
348
- /** Whether the row copy needs the see-through contrast step. */
349
- idleCopy: SidebarIdleCopyKind;
350
- }
351
- /**
352
- * The container treatment for a `SideMenu` variant. The glass treatments are
353
- * resolved from the shared glass module at the call site, so their fill is
354
- * tinted with the menu's tone and cannot drift from `Panel`'s glass.
355
- * `floating-glass` is the glass treatment with the floating card's geometry
356
- * (offset, radius) layered on top.
357
- */
358
- declare const getSidebarSurfaceTokens: (variant: SidebarVariant, color: TrueColor) => SidebarSurfaceTokens;
359
- type ButtonTheme = Record<ButtonVariant, Record<TrueColor, string>>;
360
- type ButtonHoverTheme = Record<ButtonVariant, Record<TrueColor, string>>;
361
- type ButtonActiveTheme = Record<ButtonVariant, Record<TrueColor, string>>;
362
- type ButtonActiveHoverTheme = Record<ButtonVariant, Record<TrueColor, string>>;
363
- type ToggleTheme = Record<TrueColor, string>;
364
- type CheckboxTheme = Record<TrueColor, string>;
365
- type SpinnerTheme = Record<TrueColor, [string, string, string, string]>;
366
- type LoaderTheme = Record<TrueColor, {
367
- track: string;
368
- bar: string;
369
- }>;
370
- type MultiToggleTheme = Record<TrueColor, {
371
- active: string;
372
- activeText: string;
373
- indicator: string;
374
- hover: string;
375
- }>;
376
- type MultiToggleVariantTokens = {
377
- softIndicator: string;
378
- activeText: string;
379
- hover: string;
380
- };
381
- type MultiToggleVariantTheme = Record<TrueColor, MultiToggleVariantTokens>;
382
- type TabsColorTokens = {
383
- hoverText: string;
384
- activeText: string;
385
- onAccentText: string;
386
- focusRing: string;
387
- accentBg: string;
388
- subtleBg: string;
389
- subtleHoverBg: string;
390
- segmentedContainer: string;
391
- badgeSubtle: string;
392
- badgeStrong: string;
393
- badgeOnAccent: string;
394
- underlineActive: string;
395
- };
396
- type TabsTheme = Record<TrueColor, TabsColorTokens>;
397
- type PanelToneConfig = {
398
- border: string;
399
- /**
400
- * Hairline for the `outlined` variant. Deliberately lighter than `border`
401
- * and paired with a low-alpha dark value, so the outline reads as a hairline
402
- * in both modes instead of a hard rule in light mode.
403
- */
404
- outlineBorder: string;
405
- heading: string;
406
- muted: string;
407
- badge: string;
408
- subtleBg: string;
409
- tonalBg: string;
410
- glassBg: string;
411
- glassBorder: string;
412
- liquidBg: string;
413
- liquidBorder: string;
414
- liquidShadow: string;
415
- liquidHeading: string;
416
- overlayGradient: string;
417
- decorationShape: string;
418
- decorationGradient: string;
419
- };
420
- type PanelTheme = Record<TrueColor, PanelToneConfig>;
421
- type StepperToneConfig = {
422
- activeBg: string;
423
- activeText: string;
424
- completedBg: string;
425
- completedText: string;
426
- pendingBorder: string;
427
- pendingText: string;
428
- underlineBase: string;
429
- };
430
- type StepperTheme = Record<TrueColor, StepperToneConfig>;
431
- type BadgeTheme = Record<TrueColor, string>;
432
- type PillTheme = Record<TrueColor, Record<"solid" | "soft" | "outline", {
433
- base: string;
434
- border?: string;
435
- }>>;
436
- type AlertTheme = Record<TrueColor, {
437
- subtle: string;
438
- solid: string;
439
- outline: string;
440
- icon: string;
441
- text: string;
442
- border: string;
443
- dismiss: string;
444
- }>;
445
- type StatTileTheme = Record<TrueColor, {
446
- decorationBg: string;
447
- iconColor: string;
448
- divider: string;
449
- }>;
450
- type ButtonSelectorColorTokens = {
451
- selectedBorder: string;
452
- selectedBg: string;
453
- selectedIcon: string;
454
- selectedLabel: string;
455
- selectedIndicatorBg: string;
456
- selectedIndicatorBorder: string;
457
- selectedIndicatorDot: string;
458
- };
459
- type ButtonSelectorTheme = Record<TrueColor, ButtonSelectorColorTokens>;
460
- interface ThemeDefinition {
461
- button: ButtonTheme;
462
- buttonHover: ButtonHoverTheme;
463
- buttonActive: ButtonActiveTheme;
464
- buttonActiveHover: ButtonActiveHoverTheme;
465
- toggle: ToggleTheme;
466
- checkbox: CheckboxTheme;
467
- spinner: SpinnerTheme;
468
- loader: LoaderTheme;
469
- multiToggle: MultiToggleTheme;
470
- multiToggleVariant: MultiToggleVariantTheme;
471
- tabs: TabsTheme;
472
- panel: PanelTheme;
473
- stepper: StepperTheme;
474
- badge: BadgeTheme;
475
- pill: PillTheme;
476
- alert: AlertTheme;
477
- statTile: StatTileTheme;
478
- buttonSelector: ButtonSelectorTheme;
479
- }
480
- type DeepPartial<T> = {
481
- [K in keyof T]?: T[K] extends Record<string, unknown> ? DeepPartial<T[K]> : T[K];
482
- };
483
- declare const configureTheme: (overrides: DeepPartial<ThemeDefinition>) => void;
484
- declare const resetTheme: () => void;
485
- declare const getButtonColorClasses: (variant: ButtonVariant, color: TrueColor) => string;
486
- declare const getButtonHoverClasses: (variant: ButtonVariant, color: TrueColor) => string;
487
- declare const getButtonActiveClasses: (variant: ButtonVariant, color: TrueColor) => string;
488
- declare const getButtonActiveHoverClasses: (variant: ButtonVariant, color: TrueColor) => string;
489
- declare const getButtonBaseClasses: (variant: ButtonVariant, color: TrueColor) => string;
490
- /**
491
- * The `ButtonVariant`s that read as a slider.
492
- *
493
- * `link` and `clear` are text treatments — a slider has no text to treat —
494
- * and `icon` is a square affordance, so all three are excluded rather than
495
- * aliased onto something else. What remains covers the full range a track
496
- * can express: a saturated fill, a tinted one, a bordered wash, a quiet
497
- * translucent one and a frosted one.
498
- */
499
- declare const SLIDER_VARIANTS: readonly ["solid", "soft", "outline", "ghost", "glass"];
500
- type SliderVariant = (typeof SLIDER_VARIANTS)[number];
501
- interface SliderVariantTokens {
502
- /** Paint for the active track segment, from the start (or min handle) to the value. */
503
- fill: string;
504
- /** Border of the handle. */
505
- handle: string;
506
- /** The handle's focus-ring colour, including its `focus-visible:` prefix. */
507
- ring: string;
508
- }
509
- /**
510
- * Slider treatments — the same visual language `Button` uses, mapped onto a
511
- * slider's two paintable surfaces (the track segment and the handle) so a
512
- * slider dropped next to a button row reads as part of the same UI.
513
- */
514
- declare const getSliderVariantTokens: (color: TrueColor, variant: SliderVariant) => SliderVariantTokens;
515
- /**
516
- * The `ButtonVariant`s that read as a toggle.
517
- *
518
- * Same rationale as `SLIDER_VARIANTS`: `link` and `clear` are text treatments
519
- * a track has nothing to treat, and `icon` is a square affordance. What
520
- * remains covers the full range a track can express — a saturated fill, a
521
- * tinted one, a bordered wash, a quiet translucent one and a frosted one.
522
- */
523
- declare const TOGGLE_VARIANTS: readonly ["solid", "soft", "outline", "ghost", "glass"];
524
- type ToggleVariant = (typeof TOGGLE_VARIANTS)[number];
525
- interface ToggleVariantTokens {
526
- /** Paint for the track when the switch is on (carries `peer-checked:`). */
527
- track: string;
528
- /** The thumb's focus-ring colour, driven off the input's `focus-visible`. */
529
- ring: string;
530
- /** True when the on-state fill is see-through and sits over unknown content. */
531
- translucent: boolean;
532
- }
533
- /**
534
- * Toggle treatments — the same visual language `Button` and `Slider` use,
535
- * mapped onto the toggle's one paintable surface (the on-state track fill) so
536
- * a toggle dropped next to a button or slider reads as part of the same UI.
537
- *
538
- * The off-state track is deliberately identical across variants — the neutral
539
- * base — so the on-state fill is what expresses the treatment, exactly as a
540
- * slider's neutral track does.
541
- *
542
- * The `glass` token only carries the frosted fill; the backdrop blur,
543
- * vibrancy and specular overlay stay with the component, because they depend
544
- * on the `glassOpacity` / `vibrancy` / `specularMode` props. The same numeric
545
- * opacity caveat as `getGlassFillClass` applies: only the three presets are
546
- * safelisted.
547
- */
548
- declare const getToggleVariantTokens: (color: TrueColor, variant: ToggleVariant, glassOpacity?: GlassOpacity) => ToggleVariantTokens;
549
- declare const getToggleColorClasses: (color: TrueColor) => string;
550
- /**
551
- * @deprecated Returns `accent-{color}-600`, which only paints a *native*
552
- * checkbox — and a native checkbox ignores border, radius and background, so
553
- * every other class the control carried was dead. Use
554
- * `getCheckboxControlTokens`, which styles a real box.
555
- */
556
- declare const getCheckboxColorClasses: (color: TrueColor) => string;
557
- interface CheckboxControlTokens {
558
- /** Fill and border of the box once checked or indeterminate. */
559
- checked: string;
560
- /** Focus ring, driven off the sibling input's focus. */
561
- ring: string;
562
- /** Colour of the tick/dash glyph, which sits on the checked fill. */
563
- glyph: string;
564
- }
565
- /**
566
- * Fills step to `-700` light / `-400` dark rather than the `-600` / `-500` the
567
- * native `accent-color` used, for the same reason `Alert`'s solid variant does:
568
- * a white glyph on `{color}-600` measures 2.94:1 on yellow and 3.06 on lime,
569
- * under even the 3:1 that WCAG asks of a *graphical* object, and on a `-500`
570
- * fill it is worse. At `-700` under white and `-400` under `{color}-950` the
571
- * worst case across all 21 tones is 4.93:1.
572
- */
573
- interface CheckboxVariantTokens {
574
- /** Fill, shadow and backdrop of the resting box. */
575
- fill: string;
576
- /** Resting border colour. Replaced wholesale by the error state. */
577
- border: string;
578
- /** Border colour under the cursor. */
579
- hover: string;
580
- /** True when the box is see-through and sits over unknown content. */
581
- translucent: boolean;
582
- }
583
- declare const getCheckboxVariantTokens: (variant: InputVariant) => CheckboxVariantTokens;
584
- declare const getCheckboxControlTokens: (color: TrueColor) => CheckboxControlTokens;
585
- declare const getSpinnerColorTokens: (color: TrueColor) => [string, string, string, string];
586
- /**
587
- * The geometry of a `StatusSpinner` at each shared control size.
588
- *
589
- * The wrapper is the same circle `Spinner` draws at that size, so the two can
590
- * sit side by side and line up; the dot and the ring width scale with it.
591
- */
592
- interface StatusSpinnerSizeTokens {
593
- /** Outer circle. Matches `Spinner`'s diameter at the same size. */
594
- wrapper: string;
595
- /** Centre dot. */
596
- dot: string;
597
- /** Ring border width. */
598
- border: string;
599
- }
600
- declare const getStatusSpinnerSizeTokens: (size: ControlSize) => StatusSpinnerSizeTokens;
601
- /**
602
- * The paint of a `StatusSpinner` in one tone.
603
- *
604
- * Generated from `TRUE_COLORS` — there is no hand-written per-colour map to
605
- * drift. `dot` is the one class-shaped token (both steps are already in the
606
- * generated safelist); the arc and track are CSS colours rather than classes,
607
- * because the four border sides carry four different values and a `dark:`
608
- * variant cannot reach an inline style. They read the tone's own Tailwind
609
- * variable — emitted for all 21 tones — and `color-mix` derives the track and
610
- * the glow from it, so a tone can never render as another colour.
611
- */
612
- interface StatusSpinnerToneTokens {
613
- /** Centre dot fill. */
614
- dot: string;
615
- /** The rotating arc, as a CSS colour. */
616
- arc: string;
617
- /** The idle ring (30% of the tone), as a CSS colour. */
618
- track: string;
619
- /** The halo around the dot, as a CSS colour. */
620
- glow: string;
621
- }
622
- declare const getStatusSpinnerToneTokens: (tone: TrueColor) => StatusSpinnerToneTokens;
623
- /**
624
- * The paint of a `ProgressSpinner` in one tone.
625
- *
626
- * The same generated-from-`TRUE_COLORS` approach as `StatusSpinner`: the arc
627
- * reads the tone's own Tailwind variable and `color-mix` derives the idle
628
- * track from it, so a tone can never render as another colour. The inline
629
- * SVG cannot use `dark:` variants, which is why these are CSS colours rather
630
- * than classes.
631
- */
632
- interface ProgressSpinnerToneTokens {
633
- /** The moving arc (or the determinate range), as a CSS colour. */
634
- arc: string;
635
- /** The idle ring (30% of the tone), as a CSS colour. */
636
- track: string;
637
- }
638
- declare const getProgressSpinnerToneTokens: (tone: TrueColor) => ProgressSpinnerToneTokens;
639
- declare const getLoaderProgressColors: (color: TrueColor) => {
640
- track: string;
641
- bar: string;
642
- };
643
- declare const getMultiToggleColorTokens: (color: TrueColor) => {
644
- active: string;
645
- activeText: string;
646
- indicator: string;
647
- hover: string;
648
- };
649
- declare const getMultiToggleVariantTokens: (color: TrueColor) => MultiToggleVariantTokens;
650
- declare const getTabsColorTokens: (color: TrueColor) => TabsColorTokens;
651
- declare const getPanelToneStyles: (tone: TrueColor) => PanelToneConfig;
652
- declare const getStepperTonePalette: (tone: TrueColor) => StepperToneConfig;
653
- declare const getBadgeColorClasses: (color: TrueColor) => string;
654
- declare const getPillColorClasses: (color: TrueColor, variant: "solid" | "soft" | "outline") => {
655
- base: string;
656
- border?: string;
657
- };
658
- /**
659
- * @deprecated Use `getAlertVariantTokens(color, variant)`. This bag hands the
660
- * same icon/text/dismiss classes to every variant, which is unreadable on
661
- * `solid`. Kept so existing call sites keep compiling.
662
- */
663
- declare const getAlertColorClasses: (color: TrueColor) => AlertTheme[TrueColor];
664
- /**
665
- * Alert treatments. `glass` and `liquid-glass` are the same pair `Panel` and
666
- * `Pill` offer, so a callout dropped on a glass card no longer has to be the
667
- * one opaque slab in the layout.
668
- */
669
- declare const ALERT_VARIANTS: readonly ["subtle", "solid", "outline", "glass", "liquid-glass"];
670
- type AlertVariant = (typeof ALERT_VARIANTS)[number];
671
- /**
672
- * Where the leading icon sits against the callout's content.
673
- *
674
- * `top` is the default and the only one that was previously possible: the icon
675
- * centres on the *title's* line box, which is what you want for a one- or
676
- * two-line callout. `center` centres it against the whole block — right when
677
- * the body runs long enough that a top-aligned glyph looks stranded — and
678
- * `bottom` pins it to the last line.
679
- */
680
- declare const ALERT_ICON_ALIGNMENTS: readonly ["top", "center", "bottom"];
681
- type AlertIconAlign = (typeof ALERT_ICON_ALIGNMENTS)[number];
682
- /**
683
- * What the callout *means*, as opposed to what colour it is.
684
- *
685
- * Both kits' demos have been passing `tone="info"` / `"success"` / `"warning"`
686
- * / `"danger"` since tone became a `TrueColor` — none of them are one, so every
687
- * such alert fell through to the blue fallback and four "different" tones
688
- * rendered identically. The semantics were real and worth keeping; they just
689
- * belong in their own prop, which resolves to a tone *and* the right icon *and*
690
- * the right live-region politeness.
691
- */
692
- declare const ALERT_INTENTS: readonly ["info", "success", "warning", "danger", "neutral"];
693
- type AlertIntent = (typeof ALERT_INTENTS)[number];
694
- interface AlertIntentConfig {
695
- tone: TrueColor;
696
- /** Registry icon name used when the caller does not supply one. */
697
- icon: string;
698
- /**
699
- * How assistive technology should announce it. `role="alert"` is an
700
- * *assertive* live region: it interrupts whatever the user is reading, which
701
- * is right for a failure and wrong for a page that merely renders an
702
- * informational banner on load.
703
- */
704
- live: "assertive" | "polite";
705
- }
706
- declare const ALERT_INTENT_CONFIG: Record<AlertIntent, AlertIntentConfig>;
707
- interface AlertVariantTokens {
708
- /** Fill plus the callout's base copy colour. */
709
- surface: string;
710
- /** Border colour. The `border` utility itself is on the base class. */
711
- border: string;
712
- /** Leading icon. */
713
- icon: string;
714
- /** Secondary copy under the title. */
715
- text: string;
716
- /** Dismiss button: rest, hover and focus ring. */
717
- dismiss: string;
718
- }
719
- /**
720
- * Replaces the old flat `getAlertColorClasses` bag, which handed the *same*
721
- * `icon`, `text` and `dismiss` classes to every variant. On `solid` — a
722
- * `{color}-600` fill — that painted the description `{color}-700` and the icon
723
- * `{color}-500`, i.e. a dark tone on a saturated tone of itself. It was
724
- * unreadable at every tone and no test could see it.
725
- */
726
- declare const getAlertVariantTokens: (color: TrueColor, variant: AlertVariant) => AlertVariantTokens;
727
- declare const getStatTileColorClasses: (color: TrueColor) => StatTileTheme[TrueColor];
728
-
729
- type IconName = "Add" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "Attached" | "Attachment" | "Back" | "Blueprint" | "Bug" | "Chat" | "CheckCircle" | "ChevronLeft" | "ChevronRight" | "Clean" | "Close" | "Close1" | "CloudOff" | "Cog" | "Complete" | "Container" | "CopyClipboard" | "Dashboard" | "Details" | "Docker copy" | "Docker" | "Dots" | "Download" | "Edit" | "Equal" | "Error" | "Export" | "EyeClosed" | "EyeOpen" | "Globe" | "Help" | "Idea" | "Image" | "Info" | "Key" | "LXC-Old" | "LXC" | "Log" | "Moon" | "Notification" | "Official" | "Offline" | "OpenApp" | "Parameter" | "Pause" | "Praise" | "ReportFeedback" | "Reset" | "Restart" | "Rocket" | "Run" | "Save" | "Scale" | "Script" | "Search" | "Send" | "Settings" | "Shop" | "Star" | "Stop" | "Sun" | "Suspend" | "ThemeAuto" | "ThemeDark" | "ThemeLight" | "Trash" | "UX" | "User" | "Users" | "Verified" | "ViewGrid" | "ViewRows" | "Library" | "Host" | "VirtualMachine" | "Role" | "Roles" | "Cache" | "Claim" | "Claims" | "KeyManagement" | "Windows" | "Ubuntu" | "Debian" | "Apple" | "KaliLinux" | "RedHat" | "Fedora" | "CentOS" | "Clone" | "Copy" | "Live" | "HealthCheck" | "ReverseProxy" | "ReverseProxyCORS" | "ReverseProxyRoutes" | "ReverseProxyFrom" | "ReverseProxyHeadersRequest" | "ReverseProxyHeadersResponse" | "ReverseProxyHTTP" | "ReverseProxyTo" | "ReverseProxyTLS" | "ReverseProxyTCP" | "Refresh" | "Calendar" | "Folder" | "Jobs" | "Warning" | "Artifactory" | "Azure" | "Minio" | "Aws" | "Orchestrator" | "Podman" | "PodmanDesktop" | "Group" | "Pin" | "Database" | "RemoteHost" | "Login" | "Logout" | "Snapshot" | "Revert" | "CleanBrush" | "Pull" | "Push" | "CatalogVersion" | "File" | "Revoke" | "Taint" | "Unlock" | "Check" | "ArrowChevronLeft" | "ArrowChevronRight" | "Drag" | "ChartLine";
730
- declare const iconRegistry: Record<IconName, React__default.ForwardRefExoticComponent<React__default.SVGProps<SVGSVGElement>>>;
731
-
732
- type HelpButtonPlacement = "top" | "bottom" | "left" | "right" | "auto";
733
- interface HelpButtonProps {
734
- /**
735
- * Help content to display in the panel.
736
- * Pass a `string` to render as Markdown (tables and URLs supported).
737
- * Pass a `ReactNode` to render arbitrary JSX directly.
738
- */
739
- content: string | React__default.ReactNode;
740
- /** Optional title shown in the panel header. Defaults to "Help". */
741
- title?: React__default.ReactNode;
742
- /**
743
- * Preferred placement of the floating panel relative to the trigger button.
744
- * "auto" (default) picks the side with the most available space.
745
- */
746
- placement?: HelpButtonPlacement;
747
- /** Accent color for the trigger button and the panel header stripe. */
748
- color?: TrueColor;
749
- /** Size of the trigger icon button. */
750
- size?: "xs" | "sm" | "md" | "lg";
751
- /** Icon for the trigger button. Defaults to "Help". */
752
- icon?: IconName;
753
- /** Maximum width of the floating panel in px. Defaults to 360. */
754
- maxWidth?: number;
755
- /** Extra class applied to the root wrapper. */
756
- className?: string;
757
- }
758
- declare const HelpButton: React__default.FC<HelpButtonProps>;
759
-
760
- declare enum CapsuleBlueprintValueType {
761
- String = "string",
762
- Int = "int",
763
- Boolean = "boolean",
764
- Select = "select",
765
- List = "list",
766
- Map = "map"
767
- }
768
- interface CapsuleBlueprintParameter {
769
- name: string;
770
- key: string;
771
- description?: string;
772
- type?: string;
773
- value_type?: CapsuleBlueprintValueType;
774
- default?: any;
775
- required?: boolean;
776
- is_required?: boolean;
777
- is_secret?: boolean;
778
- options?: any;
779
- hint?: string;
780
- help?: string;
781
- service_name?: string;
782
- depends_on?: string[];
783
- [key: string]: any;
784
- }
785
-
786
- export { SIDEBAR_VARIANTS as $, type AlertIntent as A, type ButtonVariant as B, type ControlSize as C, CONTROL_SIZES as D, CapsuleBlueprintValueType as E, type CheckboxControlTokens as F, type GlassOpacity as G, type HelpButtonProps as H, type IconName as I, type CheckboxVariantTokens as J, type ControlSizeTokens as K, DEFAULT_SURFACE_CORNER as L, DEFAULT_TRIGGER_CORNER as M, GLOW_INTENSITIES as N, type Orientation as O, type GlowTokens as P, INPUT_VARIANTS as Q, type InputVariantTokens as R, type SurfaceCorner as S, type TrueColor as T, NEUTRAL_TONES as U, ORIENTATIONS as V, type ProgressSpinnerToneTokens as W, SIDEBAR_COLLAPSIBLE_MODES as X, SIDEBAR_IDLE_COPY as Y, SIDEBAR_MOBILE_QUERY as Z, SIDEBAR_SIDES as _, type AlertVariant as a, SLIDER_VARIANTS as a0, SURFACE_CORNERS as a1, SURFACE_PADDINGS as a2, SURFACE_VARIANTS as a3, type SideMenuItemTokens as a4, type SidebarIdleCopyKind as a5, type SidebarSurfaceTokens as a6, type SliderVariantTokens as a7, type StatusSpinnerSizeTokens as a8, type StatusSpinnerToneTokens as a9, getProgressSpinnerToneTokens as aA, getSideMenuItemTokens as aB, getSidebarSurfaceTokens as aC, getSliderVariantTokens as aD, getSpinnerColorTokens as aE, getStatTileColorClasses as aF, getStatusSpinnerSizeTokens as aG, getStatusSpinnerToneTokens as aH, getStepperTonePalette as aI, getSurfaceCornerClass as aJ, getSurfaceCornerRem as aK, getSurfacePaddingClass as aL, getSurfacePaddingClasses as aM, getSurfaceTextTokens as aN, getSurfaceTriggerTokens as aO, getTableDensityTokens as aP, getTabsColorTokens as aQ, getToggleColorClasses as aR, getToggleVariantTokens as aS, iconRegistry as aT, resetTheme as aU, resolveGlowGradient as aV, stripBorderColor as aW, HelpButton as aX, type SurfaceTriggerTokens as aa, TABLE_DENSITIES as ab, TOGGLE_VARIANTS as ac, TRUE_COLORS as ad, type TableDensityTokens as ae, type ToggleVariantTokens as af, configureTheme as ag, getAlertColorClasses as ah, getAlertVariantTokens as ai, getBadgeColorClasses as aj, getButtonActiveClasses as ak, getButtonActiveHoverClasses as al, getButtonBaseClasses as am, getButtonColorClasses as an, getButtonHoverClasses as ao, getCheckboxColorClasses as ap, getCheckboxControlTokens as aq, getCheckboxVariantTokens as ar, getControlSizeTokens as as, getGlowTokens as at, getInputVariantTokens as au, getLoaderProgressColors as av, getMultiToggleColorTokens as aw, getMultiToggleVariantTokens as ax, getPanelToneStyles as ay, getPillColorClasses as az, type AlertIconAlign as b, type GlassVibrancy as c, type SpecularMode as d, type ButtonWeight as e, type SurfacePadding as f, type SurfaceVariant as g, type InputVariant as h, type GlowIntensity as i, type SliderVariant as j, type ToggleVariant as k, type Size as l, type SidebarVariant as m, type SidebarSide as n, type SidebarCollapsible as o, type TableDensity as p, type CapsuleBlueprintParameter as q, type SurfaceTextTokens as r, ALERT_ICON_ALIGNMENTS as s, ALERT_INTENTS as t, ALERT_INTENT_CONFIG as u, ALERT_VARIANTS as v, type AlertIntentConfig as w, type AlertVariantTokens as x, BUTTON_VARIANTS as y, BUTTON_WEIGHTS as z };