@cjlapao/ui-kit 0.2.3 → 0.2.5

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 (102) hide show
  1. package/dist/{CapsuleBlueprint-DwDZ7nii.d.cts → CapsuleBlueprint-BI0jdbTt.d.cts} +16 -1
  2. package/dist/{CapsuleBlueprint-DwDZ7nii.d.ts → CapsuleBlueprint-BI0jdbTt.d.ts} +16 -1
  3. package/dist/index.cjs +1158 -713
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.css +73 -0
  6. package/dist/index.d.cts +320 -46
  7. package/dist/index.d.ts +320 -46
  8. package/dist/index.js +1077 -639
  9. package/dist/index.js.map +1 -1
  10. package/dist/markdown.cjs.map +1 -1
  11. package/dist/markdown.d.cts +2 -2
  12. package/dist/markdown.d.ts +2 -2
  13. package/dist/markdown.js.map +1 -1
  14. package/package.json +3 -3
  15. package/dist/CapsuleBlueprint--CgRT7dr.d.cts +0 -426
  16. package/dist/CapsuleBlueprint--CgRT7dr.d.ts +0 -426
  17. package/dist/CapsuleBlueprint-12uQWAvU.d.cts +0 -732
  18. package/dist/CapsuleBlueprint-12uQWAvU.d.ts +0 -732
  19. package/dist/CapsuleBlueprint-1FP6avn4.d.cts +0 -1017
  20. package/dist/CapsuleBlueprint-1FP6avn4.d.ts +0 -1017
  21. package/dist/CapsuleBlueprint-6DmJgar9.d.cts +0 -358
  22. package/dist/CapsuleBlueprint-6DmJgar9.d.ts +0 -358
  23. package/dist/CapsuleBlueprint-B7MPc5wu.d.cts +0 -835
  24. package/dist/CapsuleBlueprint-B7MPc5wu.d.ts +0 -835
  25. package/dist/CapsuleBlueprint-BFHAMKUF.d.cts +0 -991
  26. package/dist/CapsuleBlueprint-BFHAMKUF.d.ts +0 -991
  27. package/dist/CapsuleBlueprint-BG23ZWsl.d.cts +0 -460
  28. package/dist/CapsuleBlueprint-BG23ZWsl.d.ts +0 -460
  29. package/dist/CapsuleBlueprint-BGx-KPqS.d.cts +0 -925
  30. package/dist/CapsuleBlueprint-BGx-KPqS.d.ts +0 -925
  31. package/dist/CapsuleBlueprint-BJYVRyFD.d.cts +0 -449
  32. package/dist/CapsuleBlueprint-BJYVRyFD.d.ts +0 -449
  33. package/dist/CapsuleBlueprint-BQq4ywG4.d.cts +0 -835
  34. package/dist/CapsuleBlueprint-BQq4ywG4.d.ts +0 -835
  35. package/dist/CapsuleBlueprint-BTgmUcyF.d.cts +0 -278
  36. package/dist/CapsuleBlueprint-BTgmUcyF.d.ts +0 -278
  37. package/dist/CapsuleBlueprint-BX2YI1yC.d.cts +0 -415
  38. package/dist/CapsuleBlueprint-BX2YI1yC.d.ts +0 -415
  39. package/dist/CapsuleBlueprint-BfPODmvJ.d.cts +0 -822
  40. package/dist/CapsuleBlueprint-BfPODmvJ.d.ts +0 -822
  41. package/dist/CapsuleBlueprint-BfSPPu5k.d.cts +0 -616
  42. package/dist/CapsuleBlueprint-BfSPPu5k.d.ts +0 -616
  43. package/dist/CapsuleBlueprint-BoPkPR2J.d.cts +0 -785
  44. package/dist/CapsuleBlueprint-BoPkPR2J.d.ts +0 -785
  45. package/dist/CapsuleBlueprint-CJeLH0j2.d.cts +0 -228
  46. package/dist/CapsuleBlueprint-CJeLH0j2.d.ts +0 -228
  47. package/dist/CapsuleBlueprint-CJwXDMzM.d.cts +0 -622
  48. package/dist/CapsuleBlueprint-CJwXDMzM.d.ts +0 -622
  49. package/dist/CapsuleBlueprint-CM125BJI.d.cts +0 -811
  50. package/dist/CapsuleBlueprint-CM125BJI.d.ts +0 -811
  51. package/dist/CapsuleBlueprint-CQPeacGV.d.cts +0 -426
  52. package/dist/CapsuleBlueprint-CQPeacGV.d.ts +0 -426
  53. package/dist/CapsuleBlueprint-CQy2O0UN.d.cts +0 -889
  54. package/dist/CapsuleBlueprint-CQy2O0UN.d.ts +0 -889
  55. package/dist/CapsuleBlueprint-CRy04iCR.d.cts +0 -695
  56. package/dist/CapsuleBlueprint-CRy04iCR.d.ts +0 -695
  57. package/dist/CapsuleBlueprint-CixXdjMu.d.cts +0 -925
  58. package/dist/CapsuleBlueprint-CixXdjMu.d.ts +0 -925
  59. package/dist/CapsuleBlueprint-CjCxwO1O.d.cts +0 -786
  60. package/dist/CapsuleBlueprint-CjCxwO1O.d.ts +0 -786
  61. package/dist/CapsuleBlueprint-Cm10IA2w.d.cts +0 -342
  62. package/dist/CapsuleBlueprint-Cm10IA2w.d.ts +0 -342
  63. package/dist/CapsuleBlueprint-CoGsooJJ.d.cts +0 -492
  64. package/dist/CapsuleBlueprint-CoGsooJJ.d.ts +0 -492
  65. package/dist/CapsuleBlueprint-CpHqUsJK.d.cts +0 -786
  66. package/dist/CapsuleBlueprint-CpHqUsJK.d.ts +0 -786
  67. package/dist/CapsuleBlueprint-CrRg8EVW.d.cts +0 -358
  68. package/dist/CapsuleBlueprint-CrRg8EVW.d.ts +0 -358
  69. package/dist/CapsuleBlueprint-DGxsd0aY.d.cts +0 -785
  70. package/dist/CapsuleBlueprint-DGxsd0aY.d.ts +0 -785
  71. package/dist/CapsuleBlueprint-DYnwizSo.d.cts +0 -698
  72. package/dist/CapsuleBlueprint-DYnwizSo.d.ts +0 -698
  73. package/dist/CapsuleBlueprint-DbLSB78P.d.cts +0 -235
  74. package/dist/CapsuleBlueprint-DbLSB78P.d.ts +0 -235
  75. package/dist/CapsuleBlueprint-DfV8XBEZ.d.cts +0 -1001
  76. package/dist/CapsuleBlueprint-DfV8XBEZ.d.ts +0 -1001
  77. package/dist/CapsuleBlueprint-DiG1FUoM.d.cts +0 -757
  78. package/dist/CapsuleBlueprint-DiG1FUoM.d.ts +0 -757
  79. package/dist/CapsuleBlueprint-DvdeHC13.d.cts +0 -289
  80. package/dist/CapsuleBlueprint-DvdeHC13.d.ts +0 -289
  81. package/dist/CapsuleBlueprint-DvinXyHp.d.cts +0 -342
  82. package/dist/CapsuleBlueprint-DvinXyHp.d.ts +0 -342
  83. package/dist/CapsuleBlueprint-DwW8YOJg.d.cts +0 -925
  84. package/dist/CapsuleBlueprint-DwW8YOJg.d.ts +0 -925
  85. package/dist/CapsuleBlueprint-E069msDY.d.cts +0 -310
  86. package/dist/CapsuleBlueprint-E069msDY.d.ts +0 -310
  87. package/dist/CapsuleBlueprint-LECoxlXA.d.cts +0 -497
  88. package/dist/CapsuleBlueprint-LECoxlXA.d.ts +0 -497
  89. package/dist/CapsuleBlueprint-V9pDg6lh.d.cts +0 -247
  90. package/dist/CapsuleBlueprint-V9pDg6lh.d.ts +0 -247
  91. package/dist/CapsuleBlueprint-bOLrWbIc.d.cts +0 -858
  92. package/dist/CapsuleBlueprint-bOLrWbIc.d.ts +0 -858
  93. package/dist/CapsuleBlueprint-if_tP8K8.d.cts +0 -1022
  94. package/dist/CapsuleBlueprint-if_tP8K8.d.ts +0 -1022
  95. package/dist/CapsuleBlueprint-pP0Ima0I.d.cts +0 -768
  96. package/dist/CapsuleBlueprint-pP0Ima0I.d.ts +0 -768
  97. package/dist/CapsuleBlueprint-w82xP6zg.d.cts +0 -222
  98. package/dist/CapsuleBlueprint-w82xP6zg.d.ts +0 -222
  99. package/dist/CapsuleBlueprint-wdlxOX4L.d.cts +0 -472
  100. package/dist/CapsuleBlueprint-wdlxOX4L.d.ts +0 -472
  101. package/dist/CapsuleBlueprint-wxqu6jA3.d.cts +0 -529
  102. package/dist/CapsuleBlueprint-wxqu6jA3.d.ts +0 -529
@@ -1,342 +0,0 @@
1
- import React__default from 'react';
2
-
3
- declare const BUTTON_VARIANTS: readonly ["solid", "soft", "outline", "ghost", "link", "clear", "icon", "glass"];
4
- type ButtonVariant = (typeof BUTTON_VARIANTS)[number];
5
- /** Label weight. Derived from the runtime list for the same reason. */
6
- declare const BUTTON_WEIGHTS: readonly ["normal", "medium", "semibold", "bold"];
7
- type ButtonWeight = (typeof BUTTON_WEIGHTS)[number];
8
- /**
9
- * The 21 Tailwind palette colours the kit supports.
10
- *
11
- * `TrueColor` is derived from this array rather than declared alongside it, so
12
- * the runtime list and the type can never drift — adding a colour here adds it
13
- * to the type, the generated theme, and every consumer that enumerates colours.
14
- */
15
- 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"];
16
- /**
17
- * TrueColor is the only valid color type in the ui-kit theme system.
18
- * All components, tokens, and utilities must use TrueColor exclusively.
19
- */
20
- type TrueColor = (typeof TRUE_COLORS)[number];
21
- /**
22
- * Shared size type used across all frameworks and components.
23
- * Replaces both the old ThemeSize (dead code) and ModalSize.
24
- */
25
- type Size = "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl" | "2xl" | "3xl" | "full";
26
- /**
27
- * The size scale every interactive control shares. Derived from the runtime
28
- * list so the two cannot drift, and so demos/docs can enumerate it.
29
- */
30
- declare const CONTROL_SIZES: readonly ["xs", "sm", "md", "lg", "xl"];
31
- type ControlSize = (typeof CONTROL_SIZES)[number];
32
- /**
33
- * Strength of a decorative glow behind a control (currently `SearchBar`'s
34
- * gradient variant).
35
- */
36
- declare const GLOW_INTENSITIES: readonly ["subtle", "soft", "medium", "strong"];
37
- type GlowIntensity = (typeof GLOW_INTENSITIES)[number];
38
- /**
39
- * Surface treatments shared by every text-entry control — `Input`, `Textarea`,
40
- * `SearchBar`. Defined once here so the three are the same box when they sit
41
- * next to each other in a form.
42
- */
43
- declare const INPUT_VARIANTS: readonly ["flat", "elevated", "ghost", "underline", "glass", "gradient"];
44
- type InputVariant = (typeof INPUT_VARIANTS)[number];
45
- type InputVariantTokens = {
46
- /** Border, fill, radius, shadow, backdrop. */
47
- surface: string;
48
- /** Text and placeholder colours. */
49
- text: string;
50
- /** Resting colour for a leading icon or other adornment. */
51
- icon: string;
52
- /** True when the surface is see-through and sits over unknown content. */
53
- translucent: boolean;
54
- };
55
- declare const getInputVariantTokens: (variant: InputVariant) => InputVariantTokens;
56
- /**
57
- * Surface treatments for containers — `Panel` and anything built on it
58
- * (`FormSection`). Kept here so the type and the text that sits on those
59
- * surfaces are defined once, not per component.
60
- */
61
- declare const SURFACE_VARIANTS: readonly ["elevated", "outlined", "subtle", "tonal", "default", "glass", "simple", "liquid-glass"];
62
- type SurfaceVariant = (typeof SURFACE_VARIANTS)[number];
63
- type SurfaceTextTokens = {
64
- /** Section and card headings. */
65
- heading: string;
66
- /** Body copy. */
67
- body: string;
68
- /** Secondary copy — descriptions under a label. */
69
- description: string;
70
- /** Tertiary copy — hints, counters, "optional" markers. */
71
- muted: string;
72
- /** Hairline between regions of the surface. */
73
- divider: string;
74
- translucent: boolean;
75
- };
76
- declare const getSurfaceTextTokens: (variant: SurfaceVariant) => SurfaceTextTokens;
77
- /**
78
- * Corner radius scale for container surfaces.
79
- *
80
- * The token names are historical and do NOT map 1:1 onto Tailwind's radius
81
- * utilities — `rounded-sm` here is Tailwind's `rounded-lg`. They are kept as
82
- * they are because the whole kit already calls them by these names and the
83
- * scale itself is monotonic and correct; renaming would silently reshape every
84
- * existing card. `getSurfaceCornerRem` exposes the real radius so a demo can
85
- * label them honestly.
86
- *
87
- * `pill` used to be a duplicate of `rounded-lg` (both `rounded-3xl`), which is
88
- * not what a pill is; it is now a true capsule.
89
- */
90
- declare const SURFACE_CORNERS: readonly ["none", "rounded", "rounded-sm", "rounded-md", "rounded-lg", "rounded-xl", "rounded-full", "pill"];
91
- type SurfaceCorner = (typeof SURFACE_CORNERS)[number];
92
- /** The radius a container uses when the caller does not pick one. */
93
- declare const DEFAULT_SURFACE_CORNER: SurfaceCorner;
94
- declare const getSurfaceCornerClass: (corner: SurfaceCorner) => string;
95
- declare const getSurfaceCornerRem: (corner: SurfaceCorner) => string;
96
- /**
97
- * Container padding, on the same scale every control uses plus a `none` step,
98
- * so a Panel's padding and the Button inside it are described in one language.
99
- */
100
- declare const SURFACE_PADDINGS: readonly ["none", "xs", "sm", "md", "lg", "xl"];
101
- type SurfacePadding = "none" | ControlSize;
102
- declare const getSurfacePaddingClass: (padding: SurfacePadding) => string;
103
- /** Every padding token but `none`, for the callers that require a real inset. */
104
- declare const getSurfacePaddingClasses: () => Record<SurfacePadding, string>;
105
- /**
106
- * Geometry and opacity of the `gradient` variant's glow.
107
- *
108
- * `pad` is reserved on the control's own wrapper and `inset` positions the glow
109
- * inside it, so the halo is drawn **within the control's layout box**. Painting
110
- * it outside — the obvious way — means any ancestor with `overflow: auto`
111
- * clips it, and `Panel`'s body is `overflow-auto` by default. Same rule as the
112
- * inset focus ring.
113
- */
114
- type GlowTokens = {
115
- /** Padding reserved on the wrapper to hold the halo. */
116
- pad: string;
117
- /** Glow position inside that padding. The gap left over absorbs the blur. */
118
- inset: string;
119
- blur: string;
120
- idleOpacity: number;
121
- focusOpacity: number;
122
- };
123
- declare const getGlowTokens: (intensity: GlowIntensity) => GlowTokens;
124
- /**
125
- * Glow gradient stops: the tone's 600 and 400 shades, read from Tailwind's own
126
- * custom properties rather than a hard-coded hex table.
127
- */
128
- declare const resolveGlowGradient: (tone: TrueColor, from?: string, to?: string) => [string, string];
129
- type ButtonTheme = Record<ButtonVariant, Record<TrueColor, string>>;
130
- type ButtonHoverTheme = Record<ButtonVariant, Record<TrueColor, string>>;
131
- type ButtonActiveTheme = Record<ButtonVariant, Record<TrueColor, string>>;
132
- type ButtonActiveHoverTheme = Record<ButtonVariant, Record<TrueColor, string>>;
133
- type ToggleTheme = Record<TrueColor, string>;
134
- type CheckboxTheme = Record<TrueColor, string>;
135
- type SpinnerTheme = Record<TrueColor, [string, string, string, string]>;
136
- type LoaderTheme = Record<TrueColor, {
137
- track: string;
138
- bar: string;
139
- }>;
140
- type MultiToggleTheme = Record<TrueColor, {
141
- active: string;
142
- activeText: string;
143
- indicator: string;
144
- hover: string;
145
- }>;
146
- type MultiToggleVariantTokens = {
147
- softIndicator: string;
148
- activeText: string;
149
- hover: string;
150
- };
151
- type MultiToggleVariantTheme = Record<TrueColor, MultiToggleVariantTokens>;
152
- type TabsColorTokens = {
153
- hoverText: string;
154
- activeText: string;
155
- onAccentText: string;
156
- focusRing: string;
157
- accentBg: string;
158
- subtleBg: string;
159
- subtleHoverBg: string;
160
- segmentedContainer: string;
161
- badgeSubtle: string;
162
- badgeStrong: string;
163
- badgeOnAccent: string;
164
- underlineActive: string;
165
- };
166
- type TabsTheme = Record<TrueColor, TabsColorTokens>;
167
- type PanelToneConfig = {
168
- border: string;
169
- /**
170
- * Hairline for the `outlined` variant. Deliberately lighter than `border`
171
- * and paired with a low-alpha dark value, so the outline reads as a hairline
172
- * in both modes instead of a hard rule in light mode.
173
- */
174
- outlineBorder: string;
175
- heading: string;
176
- muted: string;
177
- badge: string;
178
- subtleBg: string;
179
- tonalBg: string;
180
- glassBg: string;
181
- glassBorder: string;
182
- liquidBg: string;
183
- liquidBorder: string;
184
- liquidShadow: string;
185
- liquidHeading: string;
186
- overlayGradient: string;
187
- decorationShape: string;
188
- decorationGradient: string;
189
- };
190
- type PanelTheme = Record<TrueColor, PanelToneConfig>;
191
- type StepperToneConfig = {
192
- activeBg: string;
193
- activeText: string;
194
- completedBg: string;
195
- completedText: string;
196
- pendingBorder: string;
197
- pendingText: string;
198
- underlineBase: string;
199
- };
200
- type StepperTheme = Record<TrueColor, StepperToneConfig>;
201
- type BadgeTheme = Record<TrueColor, string>;
202
- type PillTheme = Record<TrueColor, Record<"solid" | "soft" | "outline", {
203
- base: string;
204
- border?: string;
205
- }>>;
206
- type AlertTheme = Record<TrueColor, {
207
- subtle: string;
208
- solid: string;
209
- outline: string;
210
- icon: string;
211
- text: string;
212
- border: string;
213
- dismiss: string;
214
- }>;
215
- type StatTileTheme = Record<TrueColor, {
216
- decorationBg: string;
217
- iconColor: string;
218
- divider: string;
219
- }>;
220
- type ButtonSelectorColorTokens = {
221
- selectedBorder: string;
222
- selectedBg: string;
223
- selectedIcon: string;
224
- selectedLabel: string;
225
- selectedIndicatorBg: string;
226
- selectedIndicatorBorder: string;
227
- selectedIndicatorDot: string;
228
- };
229
- type ButtonSelectorTheme = Record<TrueColor, ButtonSelectorColorTokens>;
230
- interface ThemeDefinition {
231
- button: ButtonTheme;
232
- buttonHover: ButtonHoverTheme;
233
- buttonActive: ButtonActiveTheme;
234
- buttonActiveHover: ButtonActiveHoverTheme;
235
- toggle: ToggleTheme;
236
- checkbox: CheckboxTheme;
237
- spinner: SpinnerTheme;
238
- loader: LoaderTheme;
239
- multiToggle: MultiToggleTheme;
240
- multiToggleVariant: MultiToggleVariantTheme;
241
- tabs: TabsTheme;
242
- panel: PanelTheme;
243
- stepper: StepperTheme;
244
- badge: BadgeTheme;
245
- pill: PillTheme;
246
- alert: AlertTheme;
247
- statTile: StatTileTheme;
248
- buttonSelector: ButtonSelectorTheme;
249
- }
250
- type DeepPartial<T> = {
251
- [K in keyof T]?: T[K] extends Record<string, unknown> ? DeepPartial<T[K]> : T[K];
252
- };
253
- declare const configureTheme: (overrides: DeepPartial<ThemeDefinition>) => void;
254
- declare const resetTheme: () => void;
255
- declare const getButtonColorClasses: (variant: ButtonVariant, color: TrueColor) => string;
256
- declare const getButtonHoverClasses: (variant: ButtonVariant, color: TrueColor) => string;
257
- declare const getButtonActiveClasses: (variant: ButtonVariant, color: TrueColor) => string;
258
- declare const getButtonActiveHoverClasses: (variant: ButtonVariant, color: TrueColor) => string;
259
- declare const getButtonBaseClasses: (variant: ButtonVariant, color: TrueColor) => string;
260
- declare const getToggleColorClasses: (color: TrueColor) => string;
261
- declare const getCheckboxColorClasses: (color: TrueColor) => string;
262
- declare const getSpinnerColorTokens: (color: TrueColor) => [string, string, string, string];
263
- declare const getLoaderProgressColors: (color: TrueColor) => {
264
- track: string;
265
- bar: string;
266
- };
267
- declare const getMultiToggleColorTokens: (color: TrueColor) => {
268
- active: string;
269
- activeText: string;
270
- indicator: string;
271
- hover: string;
272
- };
273
- declare const getMultiToggleVariantTokens: (color: TrueColor) => MultiToggleVariantTokens;
274
- declare const getTabsColorTokens: (color: TrueColor) => TabsColorTokens;
275
- declare const getPanelToneStyles: (tone: TrueColor) => PanelToneConfig;
276
- declare const getStepperTonePalette: (tone: TrueColor) => StepperToneConfig;
277
- declare const getBadgeColorClasses: (color: TrueColor) => string;
278
- declare const getPillColorClasses: (color: TrueColor, variant: "solid" | "soft" | "outline") => {
279
- base: string;
280
- border?: string;
281
- };
282
- declare const getAlertColorClasses: (color: TrueColor) => AlertTheme[TrueColor];
283
- declare const getStatTileColorClasses: (color: TrueColor) => StatTileTheme[TrueColor];
284
-
285
- 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";
286
- declare const iconRegistry: Record<IconName, React__default.ForwardRefExoticComponent<React__default.SVGProps<SVGSVGElement>>>;
287
-
288
- type HelpButtonPlacement = "top" | "bottom" | "left" | "right" | "auto";
289
- interface HelpButtonProps {
290
- /**
291
- * Help content to display in the panel.
292
- * Pass a `string` to render as Markdown (tables and URLs supported).
293
- * Pass a `ReactNode` to render arbitrary JSX directly.
294
- */
295
- content: string | React__default.ReactNode;
296
- /** Optional title shown in the panel header. Defaults to "Help". */
297
- title?: React__default.ReactNode;
298
- /**
299
- * Preferred placement of the floating panel relative to the trigger button.
300
- * "auto" (default) picks the side with the most available space.
301
- */
302
- placement?: HelpButtonPlacement;
303
- /** Accent color for the trigger button and the panel header stripe. */
304
- color?: TrueColor;
305
- /** Size of the trigger icon button. */
306
- size?: "xs" | "sm" | "md" | "lg";
307
- /** Icon for the trigger button. Defaults to "Help". */
308
- icon?: IconName;
309
- /** Maximum width of the floating panel in px. Defaults to 360. */
310
- maxWidth?: number;
311
- /** Extra class applied to the root wrapper. */
312
- className?: string;
313
- }
314
- declare const HelpButton: React__default.FC<HelpButtonProps>;
315
-
316
- declare enum CapsuleBlueprintValueType {
317
- String = "string",
318
- Int = "int",
319
- Boolean = "boolean",
320
- Select = "select",
321
- List = "list",
322
- Map = "map"
323
- }
324
- interface CapsuleBlueprintParameter {
325
- name: string;
326
- key: string;
327
- description?: string;
328
- type?: string;
329
- value_type?: CapsuleBlueprintValueType;
330
- default?: any;
331
- required?: boolean;
332
- is_required?: boolean;
333
- is_secret?: boolean;
334
- options?: any;
335
- hint?: string;
336
- help?: string;
337
- service_name?: string;
338
- depends_on?: string[];
339
- [key: string]: any;
340
- }
341
-
342
- export { iconRegistry as $, getButtonHoverClasses as A, type ButtonVariant as B, type ControlSize as C, DEFAULT_SURFACE_CORNER as D, getCheckboxColorClasses as E, getGlowTokens as F, type GlowIntensity as G, type HelpButtonProps as H, type IconName as I, getInputVariantTokens as J, getLoaderProgressColors as K, getMultiToggleColorTokens as L, getMultiToggleVariantTokens as M, getPanelToneStyles as N, getPillColorClasses as O, getSpinnerColorTokens as P, getStatTileColorClasses as Q, getStepperTonePalette as R, type Size as S, type TrueColor as T, getSurfaceCornerClass as U, getSurfaceCornerRem as V, getSurfacePaddingClass as W, getSurfacePaddingClasses as X, getSurfaceTextTokens as Y, getTabsColorTokens as Z, getToggleColorClasses as _, type ButtonWeight as a, resetTheme as a0, resolveGlowGradient as a1, HelpButton as a2, type SurfaceVariant as b, type SurfacePadding as c, type SurfaceCorner as d, type InputVariant as e, type CapsuleBlueprintParameter as f, type SurfaceTextTokens as g, BUTTON_VARIANTS as h, BUTTON_WEIGHTS as i, CONTROL_SIZES as j, CapsuleBlueprintValueType as k, GLOW_INTENSITIES as l, type GlowTokens as m, INPUT_VARIANTS as n, type InputVariantTokens as o, SURFACE_CORNERS as p, SURFACE_PADDINGS as q, SURFACE_VARIANTS as r, TRUE_COLORS as s, configureTheme as t, getAlertColorClasses as u, getBadgeColorClasses as v, getButtonActiveClasses as w, getButtonActiveHoverClasses as x, getButtonBaseClasses as y, getButtonColorClasses as z };