@oxymormon/chg-unified-ds 0.1.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 +146 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.d.ts +1473 -0
- package/dist/index.es.js +5127 -0
- package/package.json +56 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,1473 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import { ButtonProps as ButtonProps_2 } from 'react-aria-components';
|
|
3
|
+
import { default as default_2 } from 'react';
|
|
4
|
+
import { DisclosureGroupProps } from 'react-aria-components';
|
|
5
|
+
import { DisclosureProps } from 'react-aria-components';
|
|
6
|
+
import { FC } from 'react';
|
|
7
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
8
|
+
import { HTMLAttributes } from 'react';
|
|
9
|
+
import { JSX } from 'react/jsx-runtime';
|
|
10
|
+
import { RadioGroupProps as RadioGroupProps_2 } from 'react-aria-components';
|
|
11
|
+
import { RadioProps as RadioProps_2 } from 'react-aria-components';
|
|
12
|
+
import { ReactNode } from 'react';
|
|
13
|
+
import { RefAttributes } from 'react';
|
|
14
|
+
import { SliderProps as SliderProps_2 } from 'react-aria-components';
|
|
15
|
+
import { SwitchProps } from 'react-aria-components';
|
|
16
|
+
import { TabsProps as TabsProps_2 } from 'react-aria-components';
|
|
17
|
+
import { TextareaHTMLAttributes } from 'react';
|
|
18
|
+
import { TooltipProps as TooltipProps_2 } from 'react-aria-components';
|
|
19
|
+
|
|
20
|
+
export declare function Accordion({ allowsMultipleExpanded, className, children, ...props }: AccordionProps): JSX.Element;
|
|
21
|
+
|
|
22
|
+
export declare function AccordionItem({ title, className, children, ...props }: AccordionItemProps): JSX.Element;
|
|
23
|
+
|
|
24
|
+
export declare interface AccordionItemProps extends Omit<DisclosureProps, 'className' | 'children'> {
|
|
25
|
+
/** Header title text */
|
|
26
|
+
title: string;
|
|
27
|
+
/** Additional className */
|
|
28
|
+
className?: string;
|
|
29
|
+
/** Collapsible content */
|
|
30
|
+
children?: ReactNode;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export declare interface AccordionProps extends Omit<DisclosureGroupProps, 'className'> {
|
|
34
|
+
/** Allow multiple items to be expanded simultaneously. Default: true */
|
|
35
|
+
allowsMultipleExpanded?: boolean;
|
|
36
|
+
/** Additional className */
|
|
37
|
+
className?: string;
|
|
38
|
+
/** AccordionItem children */
|
|
39
|
+
children?: ReactNode;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export declare function ActionMenu({ onItemClick, children, className, ...props }: ActionMenuProps): JSX.Element;
|
|
43
|
+
|
|
44
|
+
export declare namespace ActionMenu {
|
|
45
|
+
var Item: typeof ActionMenuItem;
|
|
46
|
+
var Divider: typeof ActionMenuDivider;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export declare function ActionMenuDivider({ className }: ActionMenuDividerProps): JSX.Element;
|
|
50
|
+
|
|
51
|
+
export declare interface ActionMenuDividerProps {
|
|
52
|
+
/** Additional className */
|
|
53
|
+
className?: string;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export declare function ActionMenuItem({ value, icon, children, className, onClick, disabled, ...props }: ActionMenuItemProps): JSX.Element;
|
|
57
|
+
|
|
58
|
+
export declare interface ActionMenuItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
59
|
+
/** Optional value identifier for the item */
|
|
60
|
+
value?: string;
|
|
61
|
+
/** Icon to display before the label */
|
|
62
|
+
icon?: ReactNode;
|
|
63
|
+
/** Item label */
|
|
64
|
+
children?: ReactNode;
|
|
65
|
+
/** Additional className */
|
|
66
|
+
className?: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export declare interface ActionMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
70
|
+
/** Called when a menu item is clicked */
|
|
71
|
+
onItemClick?: (value?: string) => void;
|
|
72
|
+
/** Menu items */
|
|
73
|
+
children?: ReactNode;
|
|
74
|
+
/** Additional className */
|
|
75
|
+
className?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export declare function Avatar({ name, src, initials, status, size, className, }: AvatarProps): JSX.Element;
|
|
79
|
+
|
|
80
|
+
export declare interface AvatarProps {
|
|
81
|
+
/** User's full name - used for alt text and computing initials */
|
|
82
|
+
name: string;
|
|
83
|
+
/** Image source URL (optional - falls back to initials) */
|
|
84
|
+
src?: string;
|
|
85
|
+
/** Override computed initials (e.g., for edge cases) */
|
|
86
|
+
initials?: string;
|
|
87
|
+
/** Status indicator - shows colored dot based on status type */
|
|
88
|
+
status?: AvatarStatus;
|
|
89
|
+
/** Avatar size. Default: 'md' */
|
|
90
|
+
size?: AvatarSize;
|
|
91
|
+
/** Additional className */
|
|
92
|
+
className?: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export declare type AvatarSize = 'sm' | 'md' | 'lg';
|
|
96
|
+
|
|
97
|
+
export declare type AvatarStatus = 'online' | 'busy' | 'away' | 'offline';
|
|
98
|
+
|
|
99
|
+
export declare function Branding({ brand, size, className, alt, }: BrandingProps): JSX.Element;
|
|
100
|
+
|
|
101
|
+
export declare type BrandingBrand = keyof typeof logoMap;
|
|
102
|
+
|
|
103
|
+
export declare interface BrandingProps {
|
|
104
|
+
/** The brand logo to display */
|
|
105
|
+
brand: BrandingBrand;
|
|
106
|
+
/** The size of the logo container */
|
|
107
|
+
size?: BrandingSize;
|
|
108
|
+
/** Additional className */
|
|
109
|
+
className?: string;
|
|
110
|
+
/** Alt text for the logo image */
|
|
111
|
+
alt?: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export declare type BrandingSize = keyof typeof styles.sizes;
|
|
115
|
+
|
|
116
|
+
export declare function Button({ size, variant, children, className, iconLeading: IconLeading, iconTrailing: IconTrailing, isDisabled, href, target, rel, ...props }: ButtonProps): JSX.Element;
|
|
117
|
+
|
|
118
|
+
export declare interface ButtonProps extends Omit<ButtonProps_2, 'className' | 'children'> {
|
|
119
|
+
/** The size of the button */
|
|
120
|
+
size?: ButtonSize;
|
|
121
|
+
/** The visual variant of the button */
|
|
122
|
+
variant?: ButtonVariant;
|
|
123
|
+
/** Icon component or element to show before the text */
|
|
124
|
+
iconLeading?: FC<{
|
|
125
|
+
className?: string;
|
|
126
|
+
}> | ReactNode;
|
|
127
|
+
/** Icon component or element to show after the text */
|
|
128
|
+
iconTrailing?: FC<{
|
|
129
|
+
className?: string;
|
|
130
|
+
}> | ReactNode;
|
|
131
|
+
/** Additional className */
|
|
132
|
+
className?: string;
|
|
133
|
+
/** href makes the button render as a link */
|
|
134
|
+
href?: string;
|
|
135
|
+
/** Link target (e.g., "_blank" for new tab) */
|
|
136
|
+
target?: string;
|
|
137
|
+
/** Link rel attribute (e.g., "noopener noreferrer") */
|
|
138
|
+
rel?: string;
|
|
139
|
+
/** Button content */
|
|
140
|
+
children?: ReactNode;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export declare type ButtonSize = keyof typeof styles_2.sizes;
|
|
144
|
+
|
|
145
|
+
export declare type ButtonVariant = keyof typeof styles_2.variants;
|
|
146
|
+
|
|
147
|
+
export declare function Chip({ size, isSelected, isRounded, isDismissible, icon: Icon, onDismiss, children, className, ...props }: ChipProps): JSX.Element;
|
|
148
|
+
|
|
149
|
+
export declare interface ChipProps extends Omit<ButtonProps_2, 'className' | 'children'> {
|
|
150
|
+
/** The size of the chip */
|
|
151
|
+
size?: ChipSize;
|
|
152
|
+
/** Whether the chip is selected */
|
|
153
|
+
isSelected?: boolean;
|
|
154
|
+
/** Whether the chip has rounded (pill) shape */
|
|
155
|
+
isRounded?: boolean;
|
|
156
|
+
/** Whether the chip can be dismissed */
|
|
157
|
+
isDismissible?: boolean;
|
|
158
|
+
/** Icon component or element to show before the text */
|
|
159
|
+
icon?: FC<{
|
|
160
|
+
className?: string;
|
|
161
|
+
}> | ReactNode;
|
|
162
|
+
/** Callback when dismiss button is clicked */
|
|
163
|
+
onDismiss?: () => void;
|
|
164
|
+
/** Additional className */
|
|
165
|
+
className?: string;
|
|
166
|
+
/** Chip content */
|
|
167
|
+
children?: ReactNode;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export declare type ChipSize = keyof typeof styles_3.sizes;
|
|
171
|
+
|
|
172
|
+
export declare type ChipVariant = keyof typeof styles_3.variants;
|
|
173
|
+
|
|
174
|
+
export declare function CounterBadge({ color, isSolid, isRounded, children, className, }: CounterBadgeProps): JSX.Element;
|
|
175
|
+
|
|
176
|
+
export declare type CounterBadgeColor = keyof typeof styles_4.colors;
|
|
177
|
+
|
|
178
|
+
export declare interface CounterBadgeProps {
|
|
179
|
+
/** Color variant */
|
|
180
|
+
color?: CounterBadgeColor;
|
|
181
|
+
/** Filled background vs outline */
|
|
182
|
+
isSolid?: boolean;
|
|
183
|
+
/** Pill shape vs square corners */
|
|
184
|
+
isRounded?: boolean;
|
|
185
|
+
/** Badge content (typically a number or "99+") */
|
|
186
|
+
children?: ReactNode;
|
|
187
|
+
/** Additional className */
|
|
188
|
+
className?: string;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Merges Tailwind CSS classes with conflict resolution
|
|
193
|
+
*/
|
|
194
|
+
export declare function cx(...classes: (string | undefined | null | false)[]): string;
|
|
195
|
+
|
|
196
|
+
export declare function Divider({ appearance, alignment, type, label, icon: Icon, className, }: DividerProps): JSX.Element;
|
|
197
|
+
|
|
198
|
+
export declare type DividerAlignment = 'none' | 'left' | 'center' | 'right';
|
|
199
|
+
|
|
200
|
+
export declare type DividerAppearance = keyof typeof styles_5.appearances;
|
|
201
|
+
|
|
202
|
+
export declare interface DividerProps {
|
|
203
|
+
/** Visual appearance of the divider content */
|
|
204
|
+
appearance?: DividerAppearance;
|
|
205
|
+
/** Alignment of the content */
|
|
206
|
+
alignment?: DividerAlignment;
|
|
207
|
+
/** Type of content to display */
|
|
208
|
+
type?: DividerType;
|
|
209
|
+
/** Label text (for label, title, and action types) */
|
|
210
|
+
label?: string;
|
|
211
|
+
/** Icon component or element (for action and icon types) */
|
|
212
|
+
icon?: FC<{
|
|
213
|
+
className?: string;
|
|
214
|
+
}> | ReactNode;
|
|
215
|
+
/** Additional className */
|
|
216
|
+
className?: string;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export declare type DividerType = keyof typeof styles_5.types;
|
|
220
|
+
|
|
221
|
+
export declare function DotStatus({ appearance, size, border, className, }: DotStatusProps): JSX.Element;
|
|
222
|
+
|
|
223
|
+
export declare type DotStatusAppearance = keyof typeof styles_6.appearances;
|
|
224
|
+
|
|
225
|
+
export declare interface DotStatusProps {
|
|
226
|
+
/** The color appearance of the dot */
|
|
227
|
+
appearance?: DotStatusAppearance;
|
|
228
|
+
/** The size of the dot */
|
|
229
|
+
size?: DotStatusSize;
|
|
230
|
+
/** Whether to show a border around the dot */
|
|
231
|
+
border?: boolean;
|
|
232
|
+
/** Additional className */
|
|
233
|
+
className?: string;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export declare type DotStatusSize = keyof typeof styles_6.sizes;
|
|
237
|
+
|
|
238
|
+
export declare function Dropdown({ size, state, placeholder, children, className, isDisabled, ...props }: DropdownProps): JSX.Element;
|
|
239
|
+
|
|
240
|
+
export declare interface DropdownProps extends Omit<ButtonProps_2, 'className' | 'children'> {
|
|
241
|
+
/** The size of the dropdown */
|
|
242
|
+
size?: DropdownSize;
|
|
243
|
+
/** Visual state of the dropdown */
|
|
244
|
+
state?: DropdownState;
|
|
245
|
+
/** Placeholder or selected value text */
|
|
246
|
+
placeholder?: string;
|
|
247
|
+
/** Additional className */
|
|
248
|
+
className?: string;
|
|
249
|
+
/** Dropdown content (overrides placeholder) */
|
|
250
|
+
children?: ReactNode;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export declare type DropdownSize = keyof typeof styles_7.sizes;
|
|
254
|
+
|
|
255
|
+
export declare type DropdownState = keyof typeof styles_7.states;
|
|
256
|
+
|
|
257
|
+
export declare function Field({ orientation, label, isRequired, infoText, showInfoIcon, helperText, currentCount, maxCount, showCounter, children, className, }: FieldProps): JSX.Element;
|
|
258
|
+
|
|
259
|
+
export declare type FieldOrientation = keyof typeof styles_8.orientation;
|
|
260
|
+
|
|
261
|
+
export declare interface FieldProps {
|
|
262
|
+
/** Layout orientation */
|
|
263
|
+
orientation?: FieldOrientation;
|
|
264
|
+
/** Label text for the field */
|
|
265
|
+
label?: ReactNode;
|
|
266
|
+
/** Shows required indicator (*) */
|
|
267
|
+
isRequired?: boolean;
|
|
268
|
+
/** Info text displayed in horizontal layout */
|
|
269
|
+
infoText?: ReactNode;
|
|
270
|
+
/** Shows info icon next to info text */
|
|
271
|
+
showInfoIcon?: boolean;
|
|
272
|
+
/** Helper text displayed below the input */
|
|
273
|
+
helperText?: ReactNode;
|
|
274
|
+
/** Current character count */
|
|
275
|
+
currentCount?: number;
|
|
276
|
+
/** Maximum character count */
|
|
277
|
+
maxCount?: number;
|
|
278
|
+
/** Shows character counter (e.g., "12/100") */
|
|
279
|
+
showCounter?: boolean;
|
|
280
|
+
/** The form input element */
|
|
281
|
+
children?: ReactNode;
|
|
282
|
+
/** Additional className for root element */
|
|
283
|
+
className?: string;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export declare function FileUpload({ instructions, fileTypesHint, icon, accept, multiple, isDisabled, hasError, onFilesChange, className, }: FileUploadProps): JSX.Element;
|
|
287
|
+
|
|
288
|
+
export declare interface FileUploadProps {
|
|
289
|
+
/** Instructions text shown in the dropzone */
|
|
290
|
+
instructions?: ReactNode;
|
|
291
|
+
/** File type hint text */
|
|
292
|
+
fileTypesHint?: string;
|
|
293
|
+
/** Custom icon element */
|
|
294
|
+
icon?: ReactNode;
|
|
295
|
+
/** Accept attribute for file input (e.g., "image/*,.pdf") */
|
|
296
|
+
accept?: string;
|
|
297
|
+
/** Allow multiple file selection */
|
|
298
|
+
multiple?: boolean;
|
|
299
|
+
/** Disabled state */
|
|
300
|
+
isDisabled?: boolean;
|
|
301
|
+
/** Error state */
|
|
302
|
+
hasError?: boolean;
|
|
303
|
+
/** Called when files are selected or dropped */
|
|
304
|
+
onFilesChange?: (files: FileList | null) => void;
|
|
305
|
+
/** Additional className */
|
|
306
|
+
className?: string;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export declare type FileUploadState = keyof typeof styles_16.state;
|
|
310
|
+
|
|
311
|
+
export declare const isReactComponent: (component: any) => component is ReactComponent;
|
|
312
|
+
|
|
313
|
+
export declare function Keys({ appearance, type, children, className, }: KeysProps): JSX.Element;
|
|
314
|
+
|
|
315
|
+
export declare type KeysAppearance = keyof typeof styles_9.appearance;
|
|
316
|
+
|
|
317
|
+
export declare interface KeysProps {
|
|
318
|
+
/** Visual appearance */
|
|
319
|
+
appearance?: KeysAppearance;
|
|
320
|
+
/** Sizing type - flex hugs content, fixed is 24×24 */
|
|
321
|
+
type?: KeysType;
|
|
322
|
+
/** Key label (e.g., "Esc", "⌘", "K") */
|
|
323
|
+
children?: ReactNode;
|
|
324
|
+
/** Additional className */
|
|
325
|
+
className?: string;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export declare type KeysType = keyof typeof styles_9.type;
|
|
329
|
+
|
|
330
|
+
declare const logoMap: {
|
|
331
|
+
readonly wireframe: string;
|
|
332
|
+
readonly connect: string;
|
|
333
|
+
readonly locumsmart: string;
|
|
334
|
+
readonly modio: string;
|
|
335
|
+
readonly myweatherby: string;
|
|
336
|
+
readonly mycomphealth: string;
|
|
337
|
+
readonly 'design-system': string;
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
export declare function PillToggle({ isSelected, onPress, children, className, }: PillToggleProps): JSX.Element;
|
|
341
|
+
|
|
342
|
+
export declare interface PillToggleProps {
|
|
343
|
+
/** Whether the toggle is selected */
|
|
344
|
+
isSelected?: boolean;
|
|
345
|
+
/** Called when the toggle is clicked */
|
|
346
|
+
onPress?: () => void;
|
|
347
|
+
/** Toggle label */
|
|
348
|
+
children?: ReactNode;
|
|
349
|
+
/** Additional className */
|
|
350
|
+
className?: string;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export declare function ProgressBar({ value, label, className, }: ProgressBarProps): JSX.Element;
|
|
354
|
+
|
|
355
|
+
export declare type ProgressBarLabel = 'right' | 'bottom' | 'top-floating' | 'bottom-floating' | false;
|
|
356
|
+
|
|
357
|
+
export declare interface ProgressBarProps {
|
|
358
|
+
/** Progress value (0-100) */
|
|
359
|
+
value: number;
|
|
360
|
+
/** Label position or false to hide */
|
|
361
|
+
label?: ProgressBarLabel;
|
|
362
|
+
/** Additional className */
|
|
363
|
+
className?: string;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export declare function Radio({ showLabel, className, children, ...props }: RadioProps): JSX.Element;
|
|
367
|
+
|
|
368
|
+
export declare function RadioGroup({ className, children, ...props }: RadioGroupProps): JSX.Element;
|
|
369
|
+
|
|
370
|
+
export declare interface RadioGroupProps extends Omit<RadioGroupProps_2, 'className'> {
|
|
371
|
+
/** Additional className */
|
|
372
|
+
className?: string;
|
|
373
|
+
/** Radio items */
|
|
374
|
+
children?: ReactNode;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export declare interface RadioProps extends Omit<RadioProps_2, 'className' | 'children'> {
|
|
378
|
+
/** Whether to show the label */
|
|
379
|
+
showLabel?: boolean;
|
|
380
|
+
/** Additional className */
|
|
381
|
+
className?: string;
|
|
382
|
+
/** Radio label */
|
|
383
|
+
children?: ReactNode;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
declare type ReactComponent = default_2.FC<any> | default_2.ComponentClass<any, any>;
|
|
387
|
+
|
|
388
|
+
export declare function SideNavigation({ brand, defaultExpanded, isExpanded: controlledExpanded, onExpandedChange, children, className, ...props }: SideNavigationProps): JSX.Element;
|
|
389
|
+
|
|
390
|
+
export declare namespace SideNavigation {
|
|
391
|
+
var Search: typeof SideNavigationSearch;
|
|
392
|
+
var Section: typeof SideNavigationSection;
|
|
393
|
+
var Item: typeof SideNavigationItem;
|
|
394
|
+
var SubItem: typeof SideNavigationSubItem;
|
|
395
|
+
var Account: typeof SideNavigationAccount;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export declare function SideNavigationAccount({ name, avatarSrc, initials, onSettingsClick, className, }: SideNavigationAccountProps): JSX.Element;
|
|
399
|
+
|
|
400
|
+
export declare interface SideNavigationAccountProps {
|
|
401
|
+
/** User's name */
|
|
402
|
+
name: string;
|
|
403
|
+
/** Avatar image source */
|
|
404
|
+
avatarSrc?: string;
|
|
405
|
+
/** User's initials (fallback for avatar) */
|
|
406
|
+
initials?: string;
|
|
407
|
+
/** Callback when settings button is clicked */
|
|
408
|
+
onSettingsClick?: () => void;
|
|
409
|
+
/** Additional className */
|
|
410
|
+
className?: string;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export declare function SideNavigationItem({ icon, label, isActive, isOpen, onToggle, children, className, onClick, ...props }: SideNavigationItemProps): JSX.Element;
|
|
414
|
+
|
|
415
|
+
export declare interface SideNavigationItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
416
|
+
/** Item icon */
|
|
417
|
+
icon?: ReactNode;
|
|
418
|
+
/** Item label */
|
|
419
|
+
label: string;
|
|
420
|
+
/** Whether the item is active */
|
|
421
|
+
isActive?: boolean;
|
|
422
|
+
/** Whether the submenu is open */
|
|
423
|
+
isOpen?: boolean;
|
|
424
|
+
/** Callback when item is clicked */
|
|
425
|
+
onToggle?: () => void;
|
|
426
|
+
/** Sub items */
|
|
427
|
+
children?: ReactNode;
|
|
428
|
+
/** Additional className */
|
|
429
|
+
className?: string;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export declare interface SideNavigationProps extends HTMLAttributes<HTMLElement> {
|
|
433
|
+
/** Brand logo to display */
|
|
434
|
+
brand?: BrandingBrand;
|
|
435
|
+
/** Initial expanded state */
|
|
436
|
+
defaultExpanded?: boolean;
|
|
437
|
+
/** Controlled expanded state */
|
|
438
|
+
isExpanded?: boolean;
|
|
439
|
+
/** Callback when expanded state changes */
|
|
440
|
+
onExpandedChange?: (expanded: boolean) => void;
|
|
441
|
+
/** Navigation content */
|
|
442
|
+
children?: ReactNode;
|
|
443
|
+
/** Additional className */
|
|
444
|
+
className?: string;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export declare function SideNavigationSearch({ placeholder, value, onChange, className, }: SideNavigationSearchProps): JSX.Element;
|
|
448
|
+
|
|
449
|
+
export declare interface SideNavigationSearchProps {
|
|
450
|
+
/** Search placeholder */
|
|
451
|
+
placeholder?: string;
|
|
452
|
+
/** Search value */
|
|
453
|
+
value?: string;
|
|
454
|
+
/** Callback when search value changes */
|
|
455
|
+
onChange?: (value: string) => void;
|
|
456
|
+
/** Additional className */
|
|
457
|
+
className?: string;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export declare function SideNavigationSection({ children, className, }: SideNavigationSectionProps): JSX.Element;
|
|
461
|
+
|
|
462
|
+
export declare interface SideNavigationSectionProps {
|
|
463
|
+
/** Section content */
|
|
464
|
+
children?: ReactNode;
|
|
465
|
+
/** Additional className */
|
|
466
|
+
className?: string;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export declare function SideNavigationSubItem({ label, isActive, className, ...props }: SideNavigationSubItemProps): JSX.Element;
|
|
470
|
+
|
|
471
|
+
export declare interface SideNavigationSubItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
472
|
+
/** Sub item label */
|
|
473
|
+
label: string;
|
|
474
|
+
/** Whether the sub item is active */
|
|
475
|
+
isActive?: boolean;
|
|
476
|
+
/** Additional className */
|
|
477
|
+
className?: string;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export declare function Slider({ showLabels, className, formatValue, ...props }: SliderProps): JSX.Element;
|
|
481
|
+
|
|
482
|
+
export declare interface SliderProps extends Omit<SliderProps_2<number[]>, 'className'> {
|
|
483
|
+
/** Show value labels below the thumbs */
|
|
484
|
+
showLabels?: boolean;
|
|
485
|
+
/** Additional className */
|
|
486
|
+
className?: string;
|
|
487
|
+
/** Format the output value */
|
|
488
|
+
formatValue?: (value: number) => string;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export declare function Slot({ appearance, children, className, }: SlotProps): JSX.Element;
|
|
492
|
+
|
|
493
|
+
export declare type SlotAppearance = 'default' | 'thin';
|
|
494
|
+
|
|
495
|
+
export declare interface SlotProps {
|
|
496
|
+
/** Visual appearance */
|
|
497
|
+
appearance?: SlotAppearance;
|
|
498
|
+
/** Slot label text */
|
|
499
|
+
children?: ReactNode;
|
|
500
|
+
/** Additional className */
|
|
501
|
+
className?: string;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Helper for organizing style objects - enables Tailwind IntelliSense sorting
|
|
506
|
+
*/
|
|
507
|
+
export declare function sortCx<T extends Record<string, any>>(classes: T): T;
|
|
508
|
+
|
|
509
|
+
export declare function Status({ isSolid, isRounded, size, appearance, children, className, }: StatusProps): JSX.Element;
|
|
510
|
+
|
|
511
|
+
export declare interface StatusProps {
|
|
512
|
+
/** Filled background vs white background */
|
|
513
|
+
isSolid?: boolean;
|
|
514
|
+
/** Pill shape vs square corners */
|
|
515
|
+
isRounded?: boolean;
|
|
516
|
+
/** Size variant */
|
|
517
|
+
size?: StatusSize;
|
|
518
|
+
/** Color appearance for the dot indicator */
|
|
519
|
+
appearance?: DotStatusAppearance;
|
|
520
|
+
/** Label text */
|
|
521
|
+
children?: ReactNode;
|
|
522
|
+
/** Additional className */
|
|
523
|
+
className?: string;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
export declare type StatusSize = keyof typeof styles_10.size;
|
|
527
|
+
|
|
528
|
+
export declare const StepIndicator: typeof StepIndicatorRoot & {
|
|
529
|
+
Item: typeof StepIndicatorItem;
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
declare function StepIndicatorItem({ status, label, description, children, className, }: StepIndicatorItemProps): JSX.Element;
|
|
533
|
+
|
|
534
|
+
export declare interface StepIndicatorItemProps {
|
|
535
|
+
/** Status of this step */
|
|
536
|
+
status?: StepStatus;
|
|
537
|
+
/** Main label text */
|
|
538
|
+
label?: ReactNode;
|
|
539
|
+
/** Optional description text */
|
|
540
|
+
description?: ReactNode;
|
|
541
|
+
/** Custom content below the label */
|
|
542
|
+
children?: ReactNode;
|
|
543
|
+
/** Additional className */
|
|
544
|
+
className?: string;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export declare interface StepIndicatorProps {
|
|
548
|
+
/** Layout orientation */
|
|
549
|
+
orientation?: StepOrientation;
|
|
550
|
+
/** Size variant */
|
|
551
|
+
size?: StepSize;
|
|
552
|
+
/** Whether to show labels */
|
|
553
|
+
showLabels?: boolean;
|
|
554
|
+
/** Step items */
|
|
555
|
+
children?: ReactNode;
|
|
556
|
+
/** Additional className */
|
|
557
|
+
className?: string;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
declare function StepIndicatorRoot({ orientation, size, showLabels, children, className, }: StepIndicatorProps): JSX.Element;
|
|
561
|
+
|
|
562
|
+
export declare type StepOrientation = 'horizontal' | 'vertical';
|
|
563
|
+
|
|
564
|
+
export declare type StepSize = 'default' | 'compact';
|
|
565
|
+
|
|
566
|
+
export declare type StepStatus = 'complete' | 'active' | 'incomplete' | 'disabled' | 'error';
|
|
567
|
+
|
|
568
|
+
declare const styles: {
|
|
569
|
+
root: string;
|
|
570
|
+
sizes: {
|
|
571
|
+
sm: {
|
|
572
|
+
root: string;
|
|
573
|
+
};
|
|
574
|
+
md: {
|
|
575
|
+
root: string;
|
|
576
|
+
};
|
|
577
|
+
lg: {
|
|
578
|
+
root: string;
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
image: string;
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
declare const styles_10: {
|
|
585
|
+
common: {
|
|
586
|
+
root: string;
|
|
587
|
+
label: string;
|
|
588
|
+
};
|
|
589
|
+
solid: {
|
|
590
|
+
true: {
|
|
591
|
+
root: string;
|
|
592
|
+
};
|
|
593
|
+
false: {
|
|
594
|
+
root: string;
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
rounded: {
|
|
598
|
+
true: {
|
|
599
|
+
root: string;
|
|
600
|
+
};
|
|
601
|
+
false: {
|
|
602
|
+
root: string;
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
size: {
|
|
606
|
+
compact: {
|
|
607
|
+
rounded: {
|
|
608
|
+
root: string;
|
|
609
|
+
};
|
|
610
|
+
square: {
|
|
611
|
+
root: string;
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
default: {
|
|
615
|
+
rounded: {
|
|
616
|
+
root: string;
|
|
617
|
+
};
|
|
618
|
+
square: {
|
|
619
|
+
root: string;
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
|
|
625
|
+
declare const styles_11: {
|
|
626
|
+
common: {
|
|
627
|
+
root: string;
|
|
628
|
+
icon: string;
|
|
629
|
+
};
|
|
630
|
+
size: {
|
|
631
|
+
default: {
|
|
632
|
+
rounded: {
|
|
633
|
+
root: string;
|
|
634
|
+
};
|
|
635
|
+
square: {
|
|
636
|
+
root: string;
|
|
637
|
+
};
|
|
638
|
+
};
|
|
639
|
+
compact: {
|
|
640
|
+
rounded: {
|
|
641
|
+
root: string;
|
|
642
|
+
};
|
|
643
|
+
square: {
|
|
644
|
+
root: string;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
};
|
|
648
|
+
rounded: {
|
|
649
|
+
true: {
|
|
650
|
+
root: string;
|
|
651
|
+
};
|
|
652
|
+
false: {
|
|
653
|
+
root: string;
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
colors: {
|
|
657
|
+
neutral: {
|
|
658
|
+
solid: {
|
|
659
|
+
root: string;
|
|
660
|
+
};
|
|
661
|
+
outline: {
|
|
662
|
+
root: string;
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
red: {
|
|
666
|
+
solid: {
|
|
667
|
+
root: string;
|
|
668
|
+
};
|
|
669
|
+
outline: {
|
|
670
|
+
root: string;
|
|
671
|
+
};
|
|
672
|
+
};
|
|
673
|
+
orange: {
|
|
674
|
+
solid: {
|
|
675
|
+
root: string;
|
|
676
|
+
};
|
|
677
|
+
outline: {
|
|
678
|
+
root: string;
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
yellow: {
|
|
682
|
+
solid: {
|
|
683
|
+
root: string;
|
|
684
|
+
};
|
|
685
|
+
outline: {
|
|
686
|
+
root: string;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
emerald: {
|
|
690
|
+
solid: {
|
|
691
|
+
root: string;
|
|
692
|
+
};
|
|
693
|
+
outline: {
|
|
694
|
+
root: string;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
green: {
|
|
698
|
+
solid: {
|
|
699
|
+
root: string;
|
|
700
|
+
};
|
|
701
|
+
outline: {
|
|
702
|
+
root: string;
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
sky: {
|
|
706
|
+
solid: {
|
|
707
|
+
root: string;
|
|
708
|
+
};
|
|
709
|
+
outline: {
|
|
710
|
+
root: string;
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
cyan: {
|
|
714
|
+
solid: {
|
|
715
|
+
root: string;
|
|
716
|
+
};
|
|
717
|
+
outline: {
|
|
718
|
+
root: string;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
blue: {
|
|
722
|
+
solid: {
|
|
723
|
+
root: string;
|
|
724
|
+
};
|
|
725
|
+
outline: {
|
|
726
|
+
root: string;
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
indigo: {
|
|
730
|
+
solid: {
|
|
731
|
+
root: string;
|
|
732
|
+
};
|
|
733
|
+
outline: {
|
|
734
|
+
root: string;
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
purple: {
|
|
738
|
+
solid: {
|
|
739
|
+
root: string;
|
|
740
|
+
};
|
|
741
|
+
outline: {
|
|
742
|
+
root: string;
|
|
743
|
+
};
|
|
744
|
+
};
|
|
745
|
+
fuchsia: {
|
|
746
|
+
solid: {
|
|
747
|
+
root: string;
|
|
748
|
+
};
|
|
749
|
+
outline: {
|
|
750
|
+
root: string;
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
magenta: {
|
|
754
|
+
solid: {
|
|
755
|
+
root: string;
|
|
756
|
+
};
|
|
757
|
+
outline: {
|
|
758
|
+
root: string;
|
|
759
|
+
};
|
|
760
|
+
};
|
|
761
|
+
inverse: {
|
|
762
|
+
solid: {
|
|
763
|
+
root: string;
|
|
764
|
+
};
|
|
765
|
+
outline: {
|
|
766
|
+
root: string;
|
|
767
|
+
};
|
|
768
|
+
};
|
|
769
|
+
transparent: {
|
|
770
|
+
solid: {
|
|
771
|
+
root: string;
|
|
772
|
+
};
|
|
773
|
+
outline: {
|
|
774
|
+
root: string;
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
declare const styles_12: {
|
|
781
|
+
common: {
|
|
782
|
+
root: string;
|
|
783
|
+
};
|
|
784
|
+
sizes: {
|
|
785
|
+
default: {
|
|
786
|
+
root: string;
|
|
787
|
+
};
|
|
788
|
+
compact: {
|
|
789
|
+
root: string;
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
states: {
|
|
793
|
+
default: {
|
|
794
|
+
root: string;
|
|
795
|
+
};
|
|
796
|
+
error: {
|
|
797
|
+
root: string;
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
resize: {
|
|
801
|
+
true: {
|
|
802
|
+
root: string;
|
|
803
|
+
};
|
|
804
|
+
false: {
|
|
805
|
+
root: string;
|
|
806
|
+
};
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
|
|
810
|
+
declare const styles_13: {
|
|
811
|
+
common: {
|
|
812
|
+
root: string;
|
|
813
|
+
content: string;
|
|
814
|
+
title: string;
|
|
815
|
+
description: string;
|
|
816
|
+
actionsSubtle: string;
|
|
817
|
+
actionsButtons: string;
|
|
818
|
+
actionLink: string;
|
|
819
|
+
actionLinkPrimary: string;
|
|
820
|
+
actionLinkSecondary: string;
|
|
821
|
+
closeButton: string;
|
|
822
|
+
icon: string;
|
|
823
|
+
dotWrapper: string;
|
|
824
|
+
};
|
|
825
|
+
sizes: {
|
|
826
|
+
default: {
|
|
827
|
+
root: string;
|
|
828
|
+
content: string;
|
|
829
|
+
actions: string;
|
|
830
|
+
icon: string;
|
|
831
|
+
};
|
|
832
|
+
condensed: {
|
|
833
|
+
root: string;
|
|
834
|
+
content: string;
|
|
835
|
+
actions: string;
|
|
836
|
+
icon: string;
|
|
837
|
+
};
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
declare const styles_14: {
|
|
842
|
+
common: {
|
|
843
|
+
root: string;
|
|
844
|
+
track: string;
|
|
845
|
+
knob: string;
|
|
846
|
+
};
|
|
847
|
+
size: {
|
|
848
|
+
default: {
|
|
849
|
+
track: string;
|
|
850
|
+
knob: string;
|
|
851
|
+
knobTranslate: string;
|
|
852
|
+
indeterminateKnob: string;
|
|
853
|
+
};
|
|
854
|
+
compact: {
|
|
855
|
+
track: string;
|
|
856
|
+
knob: string;
|
|
857
|
+
knobTranslate: string;
|
|
858
|
+
indeterminateKnob: string;
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
state: {
|
|
862
|
+
inactive: {
|
|
863
|
+
track: string;
|
|
864
|
+
};
|
|
865
|
+
active: {
|
|
866
|
+
track: string;
|
|
867
|
+
};
|
|
868
|
+
indeterminate: {
|
|
869
|
+
track: string;
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
declare const styles_15: {
|
|
875
|
+
common: {
|
|
876
|
+
root: string;
|
|
877
|
+
arrowWrapper: string;
|
|
878
|
+
arrow: string;
|
|
879
|
+
};
|
|
880
|
+
appearances: {
|
|
881
|
+
plain: {
|
|
882
|
+
root: string;
|
|
883
|
+
arrow: string;
|
|
884
|
+
};
|
|
885
|
+
soft: {
|
|
886
|
+
root: string;
|
|
887
|
+
arrow: string;
|
|
888
|
+
};
|
|
889
|
+
rich: {
|
|
890
|
+
root: string;
|
|
891
|
+
arrow: string;
|
|
892
|
+
};
|
|
893
|
+
micro: {
|
|
894
|
+
root: string;
|
|
895
|
+
arrow: string;
|
|
896
|
+
};
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
declare const styles_16: {
|
|
901
|
+
common: {
|
|
902
|
+
root: string;
|
|
903
|
+
icon: string;
|
|
904
|
+
instructions: string;
|
|
905
|
+
fileTypes: string;
|
|
906
|
+
};
|
|
907
|
+
state: {
|
|
908
|
+
default: {
|
|
909
|
+
root: string;
|
|
910
|
+
};
|
|
911
|
+
dragActive: {
|
|
912
|
+
root: string;
|
|
913
|
+
};
|
|
914
|
+
disabled: {
|
|
915
|
+
root: string;
|
|
916
|
+
};
|
|
917
|
+
error: {
|
|
918
|
+
root: string;
|
|
919
|
+
};
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
declare const styles_2: {
|
|
924
|
+
common: {
|
|
925
|
+
root: string;
|
|
926
|
+
icon: string;
|
|
927
|
+
};
|
|
928
|
+
sizes: {
|
|
929
|
+
xs: {
|
|
930
|
+
root: string;
|
|
931
|
+
icon: string;
|
|
932
|
+
};
|
|
933
|
+
sm: {
|
|
934
|
+
root: string;
|
|
935
|
+
icon: string;
|
|
936
|
+
};
|
|
937
|
+
md: {
|
|
938
|
+
root: string;
|
|
939
|
+
icon: string;
|
|
940
|
+
};
|
|
941
|
+
lg: {
|
|
942
|
+
root: string;
|
|
943
|
+
icon: string;
|
|
944
|
+
};
|
|
945
|
+
};
|
|
946
|
+
variants: {
|
|
947
|
+
primary: {
|
|
948
|
+
root: string;
|
|
949
|
+
};
|
|
950
|
+
soft: {
|
|
951
|
+
root: string;
|
|
952
|
+
};
|
|
953
|
+
outline: {
|
|
954
|
+
root: string;
|
|
955
|
+
};
|
|
956
|
+
text: {
|
|
957
|
+
root: string;
|
|
958
|
+
};
|
|
959
|
+
ghost: {
|
|
960
|
+
root: string;
|
|
961
|
+
};
|
|
962
|
+
destructive: {
|
|
963
|
+
root: string;
|
|
964
|
+
};
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
declare const styles_3: {
|
|
969
|
+
common: {
|
|
970
|
+
root: string;
|
|
971
|
+
icon: string;
|
|
972
|
+
dismiss: string;
|
|
973
|
+
};
|
|
974
|
+
sizes: {
|
|
975
|
+
default: {
|
|
976
|
+
root: string;
|
|
977
|
+
icon: string;
|
|
978
|
+
dismiss: string;
|
|
979
|
+
};
|
|
980
|
+
compact: {
|
|
981
|
+
root: string;
|
|
982
|
+
icon: string;
|
|
983
|
+
dismiss: string;
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
variants: {
|
|
987
|
+
unselected: {
|
|
988
|
+
root: string;
|
|
989
|
+
};
|
|
990
|
+
selected: {
|
|
991
|
+
root: string;
|
|
992
|
+
};
|
|
993
|
+
};
|
|
994
|
+
rounded: {
|
|
995
|
+
false: {
|
|
996
|
+
root: string;
|
|
997
|
+
};
|
|
998
|
+
true: {
|
|
999
|
+
root: string;
|
|
1000
|
+
};
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
declare const styles_4: {
|
|
1005
|
+
common: {
|
|
1006
|
+
root: string;
|
|
1007
|
+
label: string;
|
|
1008
|
+
};
|
|
1009
|
+
rounded: {
|
|
1010
|
+
true: {
|
|
1011
|
+
root: string;
|
|
1012
|
+
};
|
|
1013
|
+
false: {
|
|
1014
|
+
root: string;
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
colors: {
|
|
1018
|
+
neutral: {
|
|
1019
|
+
solid: {
|
|
1020
|
+
root: string;
|
|
1021
|
+
};
|
|
1022
|
+
outline: {
|
|
1023
|
+
root: string;
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
red: {
|
|
1027
|
+
solid: {
|
|
1028
|
+
root: string;
|
|
1029
|
+
};
|
|
1030
|
+
outline: {
|
|
1031
|
+
root: string;
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
orange: {
|
|
1035
|
+
solid: {
|
|
1036
|
+
root: string;
|
|
1037
|
+
};
|
|
1038
|
+
outline: {
|
|
1039
|
+
root: string;
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
yellow: {
|
|
1043
|
+
solid: {
|
|
1044
|
+
root: string;
|
|
1045
|
+
};
|
|
1046
|
+
outline: {
|
|
1047
|
+
root: string;
|
|
1048
|
+
};
|
|
1049
|
+
};
|
|
1050
|
+
lime: {
|
|
1051
|
+
solid: {
|
|
1052
|
+
root: string;
|
|
1053
|
+
};
|
|
1054
|
+
outline: {
|
|
1055
|
+
root: string;
|
|
1056
|
+
};
|
|
1057
|
+
};
|
|
1058
|
+
green: {
|
|
1059
|
+
solid: {
|
|
1060
|
+
root: string;
|
|
1061
|
+
};
|
|
1062
|
+
outline: {
|
|
1063
|
+
root: string;
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
1066
|
+
sky: {
|
|
1067
|
+
solid: {
|
|
1068
|
+
root: string;
|
|
1069
|
+
};
|
|
1070
|
+
outline: {
|
|
1071
|
+
root: string;
|
|
1072
|
+
};
|
|
1073
|
+
};
|
|
1074
|
+
cyan: {
|
|
1075
|
+
solid: {
|
|
1076
|
+
root: string;
|
|
1077
|
+
};
|
|
1078
|
+
outline: {
|
|
1079
|
+
root: string;
|
|
1080
|
+
};
|
|
1081
|
+
};
|
|
1082
|
+
blue: {
|
|
1083
|
+
solid: {
|
|
1084
|
+
root: string;
|
|
1085
|
+
};
|
|
1086
|
+
outline: {
|
|
1087
|
+
root: string;
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
indigo: {
|
|
1091
|
+
solid: {
|
|
1092
|
+
root: string;
|
|
1093
|
+
};
|
|
1094
|
+
outline: {
|
|
1095
|
+
root: string;
|
|
1096
|
+
};
|
|
1097
|
+
};
|
|
1098
|
+
purple: {
|
|
1099
|
+
solid: {
|
|
1100
|
+
root: string;
|
|
1101
|
+
};
|
|
1102
|
+
outline: {
|
|
1103
|
+
root: string;
|
|
1104
|
+
};
|
|
1105
|
+
};
|
|
1106
|
+
magenta: {
|
|
1107
|
+
solid: {
|
|
1108
|
+
root: string;
|
|
1109
|
+
};
|
|
1110
|
+
outline: {
|
|
1111
|
+
root: string;
|
|
1112
|
+
};
|
|
1113
|
+
};
|
|
1114
|
+
rose: {
|
|
1115
|
+
solid: {
|
|
1116
|
+
root: string;
|
|
1117
|
+
};
|
|
1118
|
+
outline: {
|
|
1119
|
+
root: string;
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
inverse: {
|
|
1123
|
+
solid: {
|
|
1124
|
+
root: string;
|
|
1125
|
+
};
|
|
1126
|
+
outline: {
|
|
1127
|
+
root: string;
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
declare const styles_5: {
|
|
1134
|
+
common: {
|
|
1135
|
+
root: string;
|
|
1136
|
+
line: string;
|
|
1137
|
+
lineShort: string;
|
|
1138
|
+
content: string;
|
|
1139
|
+
};
|
|
1140
|
+
appearances: {
|
|
1141
|
+
solid: {
|
|
1142
|
+
content: string;
|
|
1143
|
+
};
|
|
1144
|
+
transparent: {
|
|
1145
|
+
content: string;
|
|
1146
|
+
};
|
|
1147
|
+
};
|
|
1148
|
+
types: {
|
|
1149
|
+
label: {
|
|
1150
|
+
content: string;
|
|
1151
|
+
};
|
|
1152
|
+
title: {
|
|
1153
|
+
content: string;
|
|
1154
|
+
};
|
|
1155
|
+
action: {
|
|
1156
|
+
content: string;
|
|
1157
|
+
icon: string;
|
|
1158
|
+
};
|
|
1159
|
+
icon: {
|
|
1160
|
+
content: string;
|
|
1161
|
+
icon: string;
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
1165
|
+
|
|
1166
|
+
declare const styles_6: {
|
|
1167
|
+
common: {
|
|
1168
|
+
root: string;
|
|
1169
|
+
};
|
|
1170
|
+
sizes: {
|
|
1171
|
+
compact: {
|
|
1172
|
+
root: string;
|
|
1173
|
+
};
|
|
1174
|
+
default: {
|
|
1175
|
+
root: string;
|
|
1176
|
+
};
|
|
1177
|
+
lg: {
|
|
1178
|
+
root: string;
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
appearances: {
|
|
1182
|
+
neutral: {
|
|
1183
|
+
root: string;
|
|
1184
|
+
};
|
|
1185
|
+
red: {
|
|
1186
|
+
root: string;
|
|
1187
|
+
};
|
|
1188
|
+
orange: {
|
|
1189
|
+
root: string;
|
|
1190
|
+
};
|
|
1191
|
+
yellow: {
|
|
1192
|
+
root: string;
|
|
1193
|
+
};
|
|
1194
|
+
celery: {
|
|
1195
|
+
root: string;
|
|
1196
|
+
};
|
|
1197
|
+
green: {
|
|
1198
|
+
root: string;
|
|
1199
|
+
};
|
|
1200
|
+
sky: {
|
|
1201
|
+
root: string;
|
|
1202
|
+
};
|
|
1203
|
+
cyan: {
|
|
1204
|
+
root: string;
|
|
1205
|
+
};
|
|
1206
|
+
blue: {
|
|
1207
|
+
root: string;
|
|
1208
|
+
};
|
|
1209
|
+
indigo: {
|
|
1210
|
+
root: string;
|
|
1211
|
+
};
|
|
1212
|
+
purple: {
|
|
1213
|
+
root: string;
|
|
1214
|
+
};
|
|
1215
|
+
fuchsia: {
|
|
1216
|
+
root: string;
|
|
1217
|
+
};
|
|
1218
|
+
magenta: {
|
|
1219
|
+
root: string;
|
|
1220
|
+
};
|
|
1221
|
+
inverse: {
|
|
1222
|
+
root: string;
|
|
1223
|
+
};
|
|
1224
|
+
};
|
|
1225
|
+
border: {
|
|
1226
|
+
true: {
|
|
1227
|
+
root: string;
|
|
1228
|
+
};
|
|
1229
|
+
false: {
|
|
1230
|
+
root: string;
|
|
1231
|
+
};
|
|
1232
|
+
};
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1235
|
+
declare const styles_7: {
|
|
1236
|
+
common: {
|
|
1237
|
+
root: string;
|
|
1238
|
+
icon: string;
|
|
1239
|
+
};
|
|
1240
|
+
sizes: {
|
|
1241
|
+
default: {
|
|
1242
|
+
root: string;
|
|
1243
|
+
icon: string;
|
|
1244
|
+
};
|
|
1245
|
+
condensed: {
|
|
1246
|
+
root: string;
|
|
1247
|
+
icon: string;
|
|
1248
|
+
};
|
|
1249
|
+
};
|
|
1250
|
+
states: {
|
|
1251
|
+
default: {
|
|
1252
|
+
root: string;
|
|
1253
|
+
};
|
|
1254
|
+
error: {
|
|
1255
|
+
root: string;
|
|
1256
|
+
};
|
|
1257
|
+
};
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
declare const styles_8: {
|
|
1261
|
+
common: {
|
|
1262
|
+
root: string;
|
|
1263
|
+
head: string;
|
|
1264
|
+
labelWrapper: string;
|
|
1265
|
+
label: string;
|
|
1266
|
+
requiredIndicator: string;
|
|
1267
|
+
body: string;
|
|
1268
|
+
infoWrapper: string;
|
|
1269
|
+
infoText: string;
|
|
1270
|
+
infoIcon: string;
|
|
1271
|
+
foot: string;
|
|
1272
|
+
helperText: string;
|
|
1273
|
+
counter: string;
|
|
1274
|
+
};
|
|
1275
|
+
orientation: {
|
|
1276
|
+
vertical: {
|
|
1277
|
+
root: string;
|
|
1278
|
+
head: string;
|
|
1279
|
+
labelWrapper: string;
|
|
1280
|
+
body: string;
|
|
1281
|
+
foot: string;
|
|
1282
|
+
};
|
|
1283
|
+
horizontal: {
|
|
1284
|
+
root: string;
|
|
1285
|
+
head: string;
|
|
1286
|
+
labelWrapper: string;
|
|
1287
|
+
body: string;
|
|
1288
|
+
foot: string;
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
|
|
1293
|
+
declare const styles_9: {
|
|
1294
|
+
common: {
|
|
1295
|
+
root: string;
|
|
1296
|
+
};
|
|
1297
|
+
appearance: {
|
|
1298
|
+
light: {
|
|
1299
|
+
root: string;
|
|
1300
|
+
};
|
|
1301
|
+
dark: {
|
|
1302
|
+
root: string;
|
|
1303
|
+
};
|
|
1304
|
+
};
|
|
1305
|
+
type: {
|
|
1306
|
+
flex: {
|
|
1307
|
+
root: string;
|
|
1308
|
+
};
|
|
1309
|
+
fixed: {
|
|
1310
|
+
root: string;
|
|
1311
|
+
};
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
export declare interface TabItem {
|
|
1316
|
+
/** Unique identifier for the tab */
|
|
1317
|
+
id: string;
|
|
1318
|
+
/** Tab label text */
|
|
1319
|
+
label: string;
|
|
1320
|
+
/** Tab panel content */
|
|
1321
|
+
content: ReactNode;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
export declare function Tabs({ appearance, fill, items, className, ...props }: TabsProps): JSX.Element;
|
|
1325
|
+
|
|
1326
|
+
export declare type TabsAppearance = 'underline' | 'block' | 'block-inverted';
|
|
1327
|
+
|
|
1328
|
+
export declare interface TabsProps extends Omit<TabsProps_2, 'className' | 'children'> {
|
|
1329
|
+
/** Visual appearance */
|
|
1330
|
+
appearance?: TabsAppearance;
|
|
1331
|
+
/** Whether tabs stretch to fill container width */
|
|
1332
|
+
fill?: boolean;
|
|
1333
|
+
/** Tab items configuration */
|
|
1334
|
+
items: TabItem[];
|
|
1335
|
+
/** Additional className */
|
|
1336
|
+
className?: string;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
export declare function Tag({ color, size, isSolid, isRounded, icon, iconRight, children, className, }: TagProps): JSX.Element;
|
|
1340
|
+
|
|
1341
|
+
export declare type TagColor = keyof typeof styles_11.colors;
|
|
1342
|
+
|
|
1343
|
+
export declare interface TagProps {
|
|
1344
|
+
/** Color appearance */
|
|
1345
|
+
color?: TagColor;
|
|
1346
|
+
/** Size variant */
|
|
1347
|
+
size?: TagSize;
|
|
1348
|
+
/** Filled background vs outline */
|
|
1349
|
+
isSolid?: boolean;
|
|
1350
|
+
/** Pill shape vs square corners */
|
|
1351
|
+
isRounded?: boolean;
|
|
1352
|
+
/** Optional icon to display on the left */
|
|
1353
|
+
icon?: ReactNode;
|
|
1354
|
+
/** Optional icon to display on the right (e.g., close/dismiss button) */
|
|
1355
|
+
iconRight?: ReactNode;
|
|
1356
|
+
/** Tag label text */
|
|
1357
|
+
children?: ReactNode;
|
|
1358
|
+
/** Additional className */
|
|
1359
|
+
className?: string;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
export declare type TagSize = keyof typeof styles_11.size;
|
|
1363
|
+
|
|
1364
|
+
export declare const Textarea: ForwardRefExoticComponent<TextareaProps & RefAttributes<HTMLTextAreaElement>>;
|
|
1365
|
+
|
|
1366
|
+
export declare interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'className'> {
|
|
1367
|
+
/** Size variant */
|
|
1368
|
+
size?: TextareaSize;
|
|
1369
|
+
/** Visual state */
|
|
1370
|
+
state?: TextareaState;
|
|
1371
|
+
/** Allow user to resize vertically */
|
|
1372
|
+
resize?: boolean;
|
|
1373
|
+
/** Additional className */
|
|
1374
|
+
className?: string;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
export declare type TextareaSize = keyof typeof styles_12.sizes;
|
|
1378
|
+
|
|
1379
|
+
export declare type TextareaState = keyof typeof styles_12.states;
|
|
1380
|
+
|
|
1381
|
+
export declare function Toast({ title, description, appearance, actions, size, icon: Icon, dotAppearance, avatarProps, primaryActionLabel, secondaryActionLabel, onPrimaryAction, onSecondaryAction, onClose, className, }: ToastProps): JSX.Element;
|
|
1382
|
+
|
|
1383
|
+
export declare type ToastActions = 'none' | 'close' | 'subtle' | 'buttons';
|
|
1384
|
+
|
|
1385
|
+
export declare type ToastAppearance = 'icon' | 'dot' | 'avatar';
|
|
1386
|
+
|
|
1387
|
+
export declare interface ToastProps {
|
|
1388
|
+
/** The title text */
|
|
1389
|
+
title: string;
|
|
1390
|
+
/** The description text (only shown in default size) */
|
|
1391
|
+
description?: string;
|
|
1392
|
+
/** The visual appearance - what shows on the left */
|
|
1393
|
+
appearance?: ToastAppearance;
|
|
1394
|
+
/** The action type to display */
|
|
1395
|
+
actions?: ToastActions;
|
|
1396
|
+
/** The size variant */
|
|
1397
|
+
size?: ToastSize;
|
|
1398
|
+
/** Custom icon component (for appearance="icon") */
|
|
1399
|
+
icon?: FC<{
|
|
1400
|
+
className?: string;
|
|
1401
|
+
}> | ReactNode;
|
|
1402
|
+
/** Dot indicator color (for appearance="dot") */
|
|
1403
|
+
dotAppearance?: DotStatusAppearance;
|
|
1404
|
+
/** Avatar props (for appearance="avatar") */
|
|
1405
|
+
avatarProps?: Omit<AvatarProps, 'size'>;
|
|
1406
|
+
/** Primary action label (for actions="subtle" or "buttons") */
|
|
1407
|
+
primaryActionLabel?: string;
|
|
1408
|
+
/** Secondary action label (for actions="subtle" or "buttons") */
|
|
1409
|
+
secondaryActionLabel?: string;
|
|
1410
|
+
/** Callback when primary action is clicked */
|
|
1411
|
+
onPrimaryAction?: () => void;
|
|
1412
|
+
/** Callback when secondary action is clicked */
|
|
1413
|
+
onSecondaryAction?: () => void;
|
|
1414
|
+
/** Callback when close button is clicked (for actions="close") */
|
|
1415
|
+
onClose?: () => void;
|
|
1416
|
+
/** Additional className */
|
|
1417
|
+
className?: string;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
export declare type ToastSize = keyof typeof styles_13.sizes;
|
|
1421
|
+
|
|
1422
|
+
export declare function Toggle({ size, isIndeterminate, isSelected, className, ...props }: ToggleProps): JSX.Element;
|
|
1423
|
+
|
|
1424
|
+
export declare interface ToggleProps extends Omit<SwitchProps, 'className' | 'children'> {
|
|
1425
|
+
/** Size variant */
|
|
1426
|
+
size?: ToggleSize;
|
|
1427
|
+
/** Whether the toggle is in indeterminate state (overrides isSelected) */
|
|
1428
|
+
isIndeterminate?: boolean;
|
|
1429
|
+
/** Additional className */
|
|
1430
|
+
className?: string;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
export declare type ToggleSize = keyof typeof styles_14.size;
|
|
1434
|
+
|
|
1435
|
+
export declare type ToggleState = 'inactive' | 'active' | 'indeterminate';
|
|
1436
|
+
|
|
1437
|
+
export declare function Tooltip({ appearance, children, showArrow, className, ...props }: TooltipProps): JSX.Element;
|
|
1438
|
+
|
|
1439
|
+
export declare type TooltipAppearance = keyof typeof styles_15.appearances;
|
|
1440
|
+
|
|
1441
|
+
export declare type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
1442
|
+
|
|
1443
|
+
export declare interface TooltipProps extends Omit<TooltipProps_2, 'className' | 'children'> {
|
|
1444
|
+
/** Visual appearance */
|
|
1445
|
+
appearance?: TooltipAppearance;
|
|
1446
|
+
/** Tooltip content */
|
|
1447
|
+
children: ReactNode;
|
|
1448
|
+
/** Show arrow pointing to trigger */
|
|
1449
|
+
showArrow?: boolean;
|
|
1450
|
+
/** Additional className */
|
|
1451
|
+
className?: string;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
export declare function TooltipTrigger({ children, tooltip, appearance, placement, showArrow, delay, className, }: TooltipTriggerProps): JSX.Element;
|
|
1455
|
+
|
|
1456
|
+
export declare interface TooltipTriggerProps {
|
|
1457
|
+
/** The trigger element (must accept ref) */
|
|
1458
|
+
children: ReactNode;
|
|
1459
|
+
/** Tooltip content */
|
|
1460
|
+
tooltip: ReactNode;
|
|
1461
|
+
/** Tooltip appearance */
|
|
1462
|
+
appearance?: TooltipAppearance;
|
|
1463
|
+
/** Preferred placement */
|
|
1464
|
+
placement?: TooltipPlacement;
|
|
1465
|
+
/** Show arrow pointing to trigger */
|
|
1466
|
+
showArrow?: boolean;
|
|
1467
|
+
/** Delay before showing (ms) */
|
|
1468
|
+
delay?: number;
|
|
1469
|
+
/** Additional className for tooltip */
|
|
1470
|
+
className?: string;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
export { }
|