@tensor_1/react 2.0.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/dist/chart.cjs +127 -0
- package/dist/chart.d.cts +24 -0
- package/dist/chart.d.ts +3 -0
- package/dist/chart.js +5 -0
- package/dist/components/Alert.d.ts +13 -0
- package/dist/components/Alert.js +14 -0
- package/dist/components/AppShell.d.ts +12 -0
- package/dist/components/AppShell.js +12 -0
- package/dist/components/Avatar.d.ts +30 -0
- package/dist/components/Avatar.js +26 -0
- package/dist/components/Button.d.ts +18 -0
- package/dist/components/Button.js +30 -0
- package/dist/components/Card.d.ts +13 -0
- package/dist/components/Card.js +19 -0
- package/dist/components/Chart.d.ts +24 -0
- package/dist/components/Chart.js +83 -0
- package/dist/components/Checkbox.d.ts +10 -0
- package/dist/components/Checkbox.js +35 -0
- package/dist/components/CommandPalette.d.ts +30 -0
- package/dist/components/CommandPalette.js +26 -0
- package/dist/components/Comments.d.ts +19 -0
- package/dist/components/Comments.js +22 -0
- package/dist/components/DetailLayout.d.ts +16 -0
- package/dist/components/DetailLayout.js +11 -0
- package/dist/components/Drawer.d.ts +14 -0
- package/dist/components/Drawer.js +27 -0
- package/dist/components/Field.d.ts +16 -0
- package/dist/components/Field.js +14 -0
- package/dist/components/Input.d.ts +18 -0
- package/dist/components/Input.js +38 -0
- package/dist/components/Kanban.d.ts +21 -0
- package/dist/components/Kanban.js +26 -0
- package/dist/components/Label.d.ts +13 -0
- package/dist/components/Label.js +12 -0
- package/dist/components/List.d.ts +21 -0
- package/dist/components/List.js +21 -0
- package/dist/components/Modal.d.ts +15 -0
- package/dist/components/Modal.js +19 -0
- package/dist/components/PageHeader.d.ts +18 -0
- package/dist/components/PageHeader.js +15 -0
- package/dist/components/Pagination.d.ts +11 -0
- package/dist/components/Pagination.js +53 -0
- package/dist/components/Peek.d.ts +17 -0
- package/dist/components/Peek.js +34 -0
- package/dist/components/Popover.d.ts +18 -0
- package/dist/components/Popover.js +9 -0
- package/dist/components/Progress.d.ts +14 -0
- package/dist/components/Progress.js +20 -0
- package/dist/components/Prose.d.ts +21 -0
- package/dist/components/Prose.js +15 -0
- package/dist/components/Radio.d.ts +14 -0
- package/dist/components/Radio.js +18 -0
- package/dist/components/Select.d.ts +9 -0
- package/dist/components/Select.js +17 -0
- package/dist/components/Sidebar.d.ts +39 -0
- package/dist/components/Sidebar.js +89 -0
- package/dist/components/Spinner.d.ts +10 -0
- package/dist/components/Spinner.js +16 -0
- package/dist/components/Stat.d.ts +21 -0
- package/dist/components/Stat.js +18 -0
- package/dist/components/States.d.ts +38 -0
- package/dist/components/States.js +43 -0
- package/dist/components/StatusPill.d.ts +15 -0
- package/dist/components/StatusPill.js +18 -0
- package/dist/components/Switch.d.ts +9 -0
- package/dist/components/Switch.js +14 -0
- package/dist/components/Table.d.ts +34 -0
- package/dist/components/Table.js +62 -0
- package/dist/components/Tabs.d.ts +19 -0
- package/dist/components/Tabs.js +31 -0
- package/dist/components/Textarea.d.ts +9 -0
- package/dist/components/Textarea.js +18 -0
- package/dist/components/Timeline.d.ts +16 -0
- package/dist/components/Timeline.js +21 -0
- package/dist/components/Toast.d.ts +19 -0
- package/dist/components/Toast.js +29 -0
- package/dist/components/Tooltip.d.ts +16 -0
- package/dist/components/Tooltip.js +7 -0
- package/dist/components/Tree.d.ts +28 -0
- package/dist/components/Tree.js +69 -0
- package/dist/cx.d.ts +3 -0
- package/dist/cx.js +6 -0
- package/dist/hooks/useDialog.d.ts +3 -0
- package/dist/hooks/useDialog.js +21 -0
- package/dist/index.cjs +1040 -0
- package/dist/index.d.cts +534 -0
- package/dist/index.d.ts +40 -0
- package/dist/index.js +106 -0
- package/package.json +47 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,534 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ButtonHTMLAttributes, ReactNode, InputHTMLAttributes, TextareaHTMLAttributes, SelectHTMLAttributes, CSSProperties, HTMLAttributes, AnchorHTMLAttributes, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
3
|
+
|
|
4
|
+
declare function cx(...args: (string | false | null | undefined | 0)[]): string;
|
|
5
|
+
|
|
6
|
+
declare function useDialog(open: boolean): React.RefObject<HTMLDialogElement>;
|
|
7
|
+
|
|
8
|
+
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
9
|
+
variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'link';
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
11
|
+
icon?: boolean;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
interface ButtonGroupProps {
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
declare function ButtonGroup({ children, className }: ButtonGroupProps): react.JSX.Element;
|
|
21
|
+
|
|
22
|
+
interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
23
|
+
size?: 'sm' | 'md';
|
|
24
|
+
invalid?: boolean;
|
|
25
|
+
valid?: boolean;
|
|
26
|
+
}
|
|
27
|
+
declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
|
|
28
|
+
interface InputGroupProps {
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
leadingIcon?: ReactNode;
|
|
31
|
+
trailingIcon?: ReactNode;
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
declare function InputGroup({ children, leadingIcon, trailingIcon, className }: InputGroupProps): react.JSX.Element;
|
|
35
|
+
|
|
36
|
+
interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
37
|
+
invalid?: boolean;
|
|
38
|
+
}
|
|
39
|
+
declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
40
|
+
|
|
41
|
+
interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
|
|
42
|
+
size?: 'sm' | 'md';
|
|
43
|
+
}
|
|
44
|
+
declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLSelectElement>>;
|
|
45
|
+
|
|
46
|
+
interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
47
|
+
label?: ReactNode;
|
|
48
|
+
indeterminate?: boolean;
|
|
49
|
+
}
|
|
50
|
+
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
|
|
51
|
+
|
|
52
|
+
interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
53
|
+
label?: ReactNode;
|
|
54
|
+
}
|
|
55
|
+
declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLInputElement>>;
|
|
56
|
+
interface RadioGroupProps {
|
|
57
|
+
children: ReactNode;
|
|
58
|
+
className?: string;
|
|
59
|
+
}
|
|
60
|
+
declare function RadioGroup({ children, className }: RadioGroupProps): react.JSX.Element;
|
|
61
|
+
|
|
62
|
+
interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
63
|
+
label?: ReactNode;
|
|
64
|
+
}
|
|
65
|
+
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLInputElement>>;
|
|
66
|
+
|
|
67
|
+
interface FieldProps {
|
|
68
|
+
label?: string;
|
|
69
|
+
hint?: string;
|
|
70
|
+
error?: string;
|
|
71
|
+
success?: string;
|
|
72
|
+
required?: boolean;
|
|
73
|
+
children: ReactNode;
|
|
74
|
+
className?: string;
|
|
75
|
+
htmlFor?: string;
|
|
76
|
+
}
|
|
77
|
+
declare function Field({ label, hint, error, success, required, children, className, htmlFor }: FieldProps): react.JSX.Element;
|
|
78
|
+
|
|
79
|
+
interface ModalProps {
|
|
80
|
+
open: boolean;
|
|
81
|
+
onClose?: () => void;
|
|
82
|
+
title?: ReactNode;
|
|
83
|
+
children?: ReactNode;
|
|
84
|
+
footer?: ReactNode;
|
|
85
|
+
className?: string;
|
|
86
|
+
style?: CSSProperties;
|
|
87
|
+
}
|
|
88
|
+
declare function Modal({ open, onClose, title, children, footer, className, style }: ModalProps): react.JSX.Element;
|
|
89
|
+
|
|
90
|
+
interface DrawerProps {
|
|
91
|
+
open: boolean;
|
|
92
|
+
onClose?: () => void;
|
|
93
|
+
title?: ReactNode;
|
|
94
|
+
children?: ReactNode;
|
|
95
|
+
footer?: ReactNode;
|
|
96
|
+
className?: string;
|
|
97
|
+
}
|
|
98
|
+
declare function Drawer({ open, onClose, title, children, footer, className }: DrawerProps): react.JSX.Element;
|
|
99
|
+
|
|
100
|
+
interface PeekProps {
|
|
101
|
+
open: boolean;
|
|
102
|
+
onClose?: () => void;
|
|
103
|
+
title?: ReactNode;
|
|
104
|
+
children?: ReactNode;
|
|
105
|
+
footer?: ReactNode;
|
|
106
|
+
onNavPrev?: () => void;
|
|
107
|
+
onNavNext?: () => void;
|
|
108
|
+
hint?: string;
|
|
109
|
+
className?: string;
|
|
110
|
+
}
|
|
111
|
+
declare function Peek({ open, onClose, title, children, footer, onNavPrev, onNavNext, hint, className }: PeekProps): react.JSX.Element;
|
|
112
|
+
|
|
113
|
+
interface CardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
114
|
+
title?: ReactNode;
|
|
115
|
+
subtitle?: ReactNode;
|
|
116
|
+
headerAction?: ReactNode;
|
|
117
|
+
footer?: ReactNode;
|
|
118
|
+
children?: ReactNode;
|
|
119
|
+
}
|
|
120
|
+
declare function Card({ title, subtitle, headerAction, footer, children, className, ...props }: CardProps): react.JSX.Element;
|
|
121
|
+
|
|
122
|
+
interface PageHeaderProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
123
|
+
eyebrow?: ReactNode;
|
|
124
|
+
title: ReactNode;
|
|
125
|
+
/** Supporting copy under the title. */
|
|
126
|
+
subtitle?: ReactNode;
|
|
127
|
+
/** Right-aligned action area (buttons, menus). */
|
|
128
|
+
actions?: ReactNode;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Page header — eyebrow / title / subtitle + actions row, over `.uix-page-header`.
|
|
132
|
+
* The hairline + breathing room below come from the component CSS.
|
|
133
|
+
*/
|
|
134
|
+
declare function PageHeader({ eyebrow, title, subtitle, actions, className, ...props }: PageHeaderProps): react.JSX.Element;
|
|
135
|
+
|
|
136
|
+
interface DetailLayoutProps extends HTMLAttributes<HTMLDivElement> {
|
|
137
|
+
/** The narrow trailing column (record meta, side panels). */
|
|
138
|
+
side?: ReactNode;
|
|
139
|
+
/** The main column content. */
|
|
140
|
+
children?: ReactNode;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Two-column record layout over `.uix-detail` (main + side meta).
|
|
144
|
+
* Collapses to a single column below 820px.
|
|
145
|
+
*/
|
|
146
|
+
declare function DetailLayout({ side, children, className, ...props }: DetailLayoutProps): react.JSX.Element;
|
|
147
|
+
|
|
148
|
+
interface ListProps extends HTMLAttributes<HTMLDivElement> {
|
|
149
|
+
children?: ReactNode;
|
|
150
|
+
}
|
|
151
|
+
/** Bordered, rounded list container over `.uix-list`. */
|
|
152
|
+
declare function List({ children, className, ...props }: ListProps): react.JSX.Element;
|
|
153
|
+
interface ListItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
154
|
+
title?: ReactNode;
|
|
155
|
+
meta?: ReactNode;
|
|
156
|
+
/** Right-aligned trailing content (status, actions). */
|
|
157
|
+
trail?: ReactNode;
|
|
158
|
+
/** Leading content (icon/avatar) rendered before the title block. */
|
|
159
|
+
leading?: ReactNode;
|
|
160
|
+
children?: ReactNode;
|
|
161
|
+
}
|
|
162
|
+
/** A single `.uix-list__item`. Provide `title`/`meta`, or arbitrary `children`. */
|
|
163
|
+
declare function ListItem({ title, meta, trail, leading, children, className, ...props }: ListItemProps): react.JSX.Element;
|
|
164
|
+
|
|
165
|
+
interface TabsProps {
|
|
166
|
+
variant?: 'line' | 'enclosed' | 'pill';
|
|
167
|
+
value?: string;
|
|
168
|
+
onChange?: (value: string) => void;
|
|
169
|
+
children?: ReactNode;
|
|
170
|
+
className?: string;
|
|
171
|
+
}
|
|
172
|
+
declare function Tabs({ variant, value, onChange, children, className }: TabsProps): react.JSX.Element;
|
|
173
|
+
interface TabProps extends Omit<HTMLAttributes<HTMLButtonElement>, 'onChange'> {
|
|
174
|
+
value: string;
|
|
175
|
+
children?: ReactNode;
|
|
176
|
+
disabled?: boolean;
|
|
177
|
+
}
|
|
178
|
+
declare function Tab({ value, children, disabled, className, onClick, ...props }: TabProps): react.JSX.Element;
|
|
179
|
+
|
|
180
|
+
interface AppShellProps extends HTMLAttributes<HTMLDivElement> {
|
|
181
|
+
collapsed?: boolean;
|
|
182
|
+
sidebar?: ReactNode;
|
|
183
|
+
topbar?: ReactNode;
|
|
184
|
+
children?: ReactNode;
|
|
185
|
+
}
|
|
186
|
+
declare function AppShell({ collapsed, sidebar, topbar, children, className, ...props }: AppShellProps): react.JSX.Element;
|
|
187
|
+
|
|
188
|
+
interface SidebarProps extends HTMLAttributes<HTMLElement> {
|
|
189
|
+
collapsed?: boolean;
|
|
190
|
+
onToggle?: () => void;
|
|
191
|
+
brand?: ReactNode;
|
|
192
|
+
toggleIcon?: ReactNode;
|
|
193
|
+
children?: ReactNode;
|
|
194
|
+
}
|
|
195
|
+
declare function Sidebar({ collapsed, onToggle, brand, toggleIcon, children, className, ...props }: SidebarProps): react.JSX.Element;
|
|
196
|
+
interface SidebarSectionProps {
|
|
197
|
+
label?: string;
|
|
198
|
+
children?: ReactNode;
|
|
199
|
+
}
|
|
200
|
+
declare function SidebarSection({ label, children }: SidebarSectionProps): react.JSX.Element;
|
|
201
|
+
interface NavItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
202
|
+
icon?: ReactNode;
|
|
203
|
+
badge?: ReactNode;
|
|
204
|
+
active?: boolean;
|
|
205
|
+
as?: 'a' | 'button';
|
|
206
|
+
children?: ReactNode;
|
|
207
|
+
}
|
|
208
|
+
declare function NavItem({ icon, badge, active, as: Tag, children, className, ...props }: NavItemProps): react.JSX.Element;
|
|
209
|
+
interface NavGroupProps {
|
|
210
|
+
icon?: ReactNode;
|
|
211
|
+
label: ReactNode;
|
|
212
|
+
children?: ReactNode;
|
|
213
|
+
defaultExpanded?: boolean;
|
|
214
|
+
}
|
|
215
|
+
declare function NavGroup({ icon, label, children, defaultExpanded }: NavGroupProps): react.JSX.Element;
|
|
216
|
+
interface SubNavItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
217
|
+
active?: boolean;
|
|
218
|
+
as?: 'a' | 'button';
|
|
219
|
+
children?: ReactNode;
|
|
220
|
+
}
|
|
221
|
+
declare function SubNavItem({ active, as: Tag, children, className, ...props }: SubNavItemProps): react.JSX.Element;
|
|
222
|
+
|
|
223
|
+
type AlertTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';
|
|
224
|
+
interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
225
|
+
tone?: AlertTone;
|
|
226
|
+
title?: ReactNode;
|
|
227
|
+
icon?: ReactNode;
|
|
228
|
+
children?: ReactNode;
|
|
229
|
+
}
|
|
230
|
+
declare function Alert({ tone, title, icon, children, className, ...props }: AlertProps): react.JSX.Element;
|
|
231
|
+
|
|
232
|
+
interface SpinnerProps extends HTMLAttributes<HTMLSpanElement> {
|
|
233
|
+
size?: 'md' | 'lg';
|
|
234
|
+
accent?: boolean;
|
|
235
|
+
}
|
|
236
|
+
declare function Spinner({ size, accent, className, ...props }: SpinnerProps): react.JSX.Element;
|
|
237
|
+
|
|
238
|
+
type ToastTone = 'success' | 'danger' | 'info';
|
|
239
|
+
interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
240
|
+
title?: ReactNode;
|
|
241
|
+
message?: ReactNode;
|
|
242
|
+
tone?: ToastTone;
|
|
243
|
+
icon?: ReactNode;
|
|
244
|
+
onClose?: () => void;
|
|
245
|
+
leaving?: boolean;
|
|
246
|
+
}
|
|
247
|
+
declare function Toast({ title, message, tone, icon, onClose, leaving, className, ...props }: ToastProps): react.JSX.Element;
|
|
248
|
+
interface ToasterProps extends HTMLAttributes<HTMLDivElement> {
|
|
249
|
+
children?: ReactNode;
|
|
250
|
+
}
|
|
251
|
+
declare function Toaster({ children, className, ...props }: ToasterProps): react.JSX.Element;
|
|
252
|
+
|
|
253
|
+
interface TableWrapProps extends HTMLAttributes<HTMLDivElement> {
|
|
254
|
+
children?: ReactNode;
|
|
255
|
+
}
|
|
256
|
+
declare function TableWrap({ children, className, ...props }: TableWrapProps): react.JSX.Element;
|
|
257
|
+
type TableDensity = 'compact' | 'standard' | 'comfortable';
|
|
258
|
+
type SortDirection = 'ascending' | 'descending' | 'none';
|
|
259
|
+
interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
|
|
260
|
+
density?: TableDensity;
|
|
261
|
+
zebra?: boolean;
|
|
262
|
+
pinnedCol?: boolean;
|
|
263
|
+
rowPeek?: boolean;
|
|
264
|
+
v2?: boolean;
|
|
265
|
+
}
|
|
266
|
+
declare function Table({ density, zebra, pinnedCol, rowPeek, v2, className, children, ...props }: TableProps): react.JSX.Element;
|
|
267
|
+
interface ThProps extends ThHTMLAttributes<HTMLTableCellElement> {
|
|
268
|
+
sortable?: boolean;
|
|
269
|
+
sortDirection?: SortDirection;
|
|
270
|
+
onSort?: () => void;
|
|
271
|
+
}
|
|
272
|
+
declare function Th({ sortable, sortDirection, onSort, className, children, onClick, ...props }: ThProps): react.JSX.Element;
|
|
273
|
+
interface TdProps extends TdHTMLAttributes<HTMLTableCellElement> {
|
|
274
|
+
pinned?: boolean;
|
|
275
|
+
}
|
|
276
|
+
declare function Td({ pinned, className, children, ...props }: TdProps): react.JSX.Element;
|
|
277
|
+
interface TrProps extends HTMLAttributes<HTMLTableRowElement> {
|
|
278
|
+
selected?: boolean;
|
|
279
|
+
pinned?: boolean;
|
|
280
|
+
}
|
|
281
|
+
declare function Tr({ selected, pinned, className, children, ...props }: TrProps): react.JSX.Element;
|
|
282
|
+
|
|
283
|
+
interface PaginationProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
|
|
284
|
+
page: number;
|
|
285
|
+
pageCount: number;
|
|
286
|
+
onChange: (page: number) => void;
|
|
287
|
+
}
|
|
288
|
+
declare function Pagination({ page, pageCount, onChange, className, ...props }: PaginationProps): react.JSX.Element;
|
|
289
|
+
|
|
290
|
+
type PillTone = 'neutral' | 'success' | 'info' | 'warning' | 'danger' | 'critical' | 'muted';
|
|
291
|
+
type PillTreatment = 'filled' | 'outline';
|
|
292
|
+
interface StatusPillProps extends HTMLAttributes<HTMLSpanElement> {
|
|
293
|
+
tone?: PillTone;
|
|
294
|
+
/** 'filled' (default) = tinted wash; 'outline' = transparent fill + tone-tinted border. */
|
|
295
|
+
treatment?: PillTreatment;
|
|
296
|
+
dot?: boolean;
|
|
297
|
+
children?: ReactNode;
|
|
298
|
+
}
|
|
299
|
+
declare function StatusPill({ tone, treatment, dot, children, className, ...props }: StatusPillProps): react.JSX.Element;
|
|
300
|
+
|
|
301
|
+
interface ProgressProps extends HTMLAttributes<HTMLDivElement> {
|
|
302
|
+
/** 0..max. Ignored when `indeterminate`. */
|
|
303
|
+
value?: number;
|
|
304
|
+
/** Default 100. */
|
|
305
|
+
max?: number;
|
|
306
|
+
/** Continuous slide animation when the amount of work is unknown. */
|
|
307
|
+
indeterminate?: boolean;
|
|
308
|
+
}
|
|
309
|
+
declare function Progress({ value, max, indeterminate, className, ...props }: ProgressProps): react.JSX.Element;
|
|
310
|
+
|
|
311
|
+
interface StatTrend {
|
|
312
|
+
direction: 'up' | 'down';
|
|
313
|
+
label: ReactNode;
|
|
314
|
+
}
|
|
315
|
+
interface StatProps extends HTMLAttributes<HTMLDivElement> {
|
|
316
|
+
label: ReactNode;
|
|
317
|
+
value: ReactNode;
|
|
318
|
+
/** Optional icon shown at the trailing edge of the label row. */
|
|
319
|
+
icon?: ReactNode;
|
|
320
|
+
/** Supporting line under the value (e.g. "vs last week"). */
|
|
321
|
+
meta?: ReactNode;
|
|
322
|
+
/** Trend chip rendered before the meta text. */
|
|
323
|
+
trend?: StatTrend;
|
|
324
|
+
}
|
|
325
|
+
/** KPI / stat tile over `.uix-stat`. */
|
|
326
|
+
declare function Stat({ label, value, icon, meta, trend, className, ...props }: StatProps): react.JSX.Element;
|
|
327
|
+
|
|
328
|
+
interface TooltipProps extends HTMLAttributes<HTMLSpanElement> {
|
|
329
|
+
/** Tooltip text. Rendered via the CSS `[data-uix-tip]` hover/focus tooltip. */
|
|
330
|
+
label: string;
|
|
331
|
+
children?: ReactNode;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Thin wrapper over the CSS-only tooltip (`[data-uix-tip]`). Wraps its children
|
|
335
|
+
* in a span carrying the attribute; the bubble is drawn entirely in CSS on
|
|
336
|
+
* hover/focus. For keyboard reveal, ensure a focusable child or pass `tabIndex`.
|
|
337
|
+
*/
|
|
338
|
+
declare function Tooltip({ label, children, ...props }: TooltipProps): react.JSX.Element;
|
|
339
|
+
|
|
340
|
+
interface EmptyStateProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
341
|
+
icon?: ReactNode;
|
|
342
|
+
title?: ReactNode;
|
|
343
|
+
/** Supporting copy / description. */
|
|
344
|
+
children?: ReactNode;
|
|
345
|
+
/** Primary action (e.g. a Button) shown under the body. */
|
|
346
|
+
action?: ReactNode;
|
|
347
|
+
}
|
|
348
|
+
/** Centered empty state over `.uix-empty`. */
|
|
349
|
+
declare function EmptyState({ icon, title, children, action, className, ...props }: EmptyStateProps): react.JSX.Element;
|
|
350
|
+
interface ErrorStateProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
351
|
+
icon?: ReactNode;
|
|
352
|
+
title?: ReactNode;
|
|
353
|
+
/** Error detail / message. */
|
|
354
|
+
detail?: ReactNode;
|
|
355
|
+
/** Recovery action (e.g. a Retry Button). */
|
|
356
|
+
action?: ReactNode;
|
|
357
|
+
}
|
|
358
|
+
/** Error state over `.uix-empty` with a danger-toned icon; `role="alert"`. */
|
|
359
|
+
declare function ErrorState({ icon, title, detail, action, className, ...props }: ErrorStateProps): react.JSX.Element;
|
|
360
|
+
interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
361
|
+
variant?: 'block' | 'text' | 'circle';
|
|
362
|
+
width?: number | string;
|
|
363
|
+
height?: number | string;
|
|
364
|
+
}
|
|
365
|
+
/** Shimmer placeholder over `.uix-skeleton`. */
|
|
366
|
+
declare function Skeleton({ variant, width, height, className, style, ...props }: SkeletonProps): react.JSX.Element;
|
|
367
|
+
interface LoadingStateProps extends HTMLAttributes<HTMLDivElement> {
|
|
368
|
+
/** Number of skeleton rows to render. */
|
|
369
|
+
rows?: number;
|
|
370
|
+
}
|
|
371
|
+
/** A stack of skeleton rows for list/section loading. `role="status"`. */
|
|
372
|
+
declare function LoadingState({ rows, className, ...props }: LoadingStateProps): react.JSX.Element;
|
|
373
|
+
|
|
374
|
+
interface LabelProps extends HTMLAttributes<HTMLSpanElement> {
|
|
375
|
+
/** Any CSS color or a `--uix-chart-*` var; sets `--label-color`. */
|
|
376
|
+
color?: string;
|
|
377
|
+
dot?: boolean;
|
|
378
|
+
children?: ReactNode;
|
|
379
|
+
}
|
|
380
|
+
/** Colored label / tag over `.uix-label`. */
|
|
381
|
+
declare function Label({ color, dot, children, className, style, ...props }: LabelProps): react.JSX.Element;
|
|
382
|
+
|
|
383
|
+
interface AvatarProps extends HTMLAttributes<HTMLSpanElement> {
|
|
384
|
+
size?: 'sm' | 'md' | 'lg';
|
|
385
|
+
src?: string;
|
|
386
|
+
alt?: string;
|
|
387
|
+
/** Initials / fallback shown when there is no `src`. */
|
|
388
|
+
children?: ReactNode;
|
|
389
|
+
/** Online status dot. */
|
|
390
|
+
status?: boolean;
|
|
391
|
+
}
|
|
392
|
+
/** Avatar over `.uix-avatar`. Renders an image when `src` is set, else children (initials). */
|
|
393
|
+
declare function Avatar({ size, src, alt, children, status, className, ...props }: AvatarProps): react.JSX.Element;
|
|
394
|
+
interface AvatarGroupProps extends HTMLAttributes<HTMLSpanElement> {
|
|
395
|
+
children?: ReactNode;
|
|
396
|
+
}
|
|
397
|
+
/** Overlapping avatar stack over `.uix-avatar-group`. */
|
|
398
|
+
declare function AvatarGroup({ children, className, ...props }: AvatarGroupProps): react.JSX.Element;
|
|
399
|
+
interface UserChipProps extends HTMLAttributes<HTMLSpanElement> {
|
|
400
|
+
/** Usually an `<Avatar />`. */
|
|
401
|
+
avatar?: ReactNode;
|
|
402
|
+
name?: ReactNode;
|
|
403
|
+
/** Secondary line (role, email). */
|
|
404
|
+
sub?: ReactNode;
|
|
405
|
+
}
|
|
406
|
+
/** Avatar + name (+ optional sub-line) over `.uix-user-chip`. */
|
|
407
|
+
declare function UserChip({ avatar, name, sub, className, children, ...props }: UserChipProps): react.JSX.Element;
|
|
408
|
+
|
|
409
|
+
interface CommentsProps extends HTMLAttributes<HTMLDivElement> {
|
|
410
|
+
children?: ReactNode;
|
|
411
|
+
}
|
|
412
|
+
/** Comment thread container over `.uix-comments`. */
|
|
413
|
+
declare function Comments({ children, className, ...props }: CommentsProps): react.JSX.Element;
|
|
414
|
+
interface CommentProps extends HTMLAttributes<HTMLDivElement> {
|
|
415
|
+
/** Usually an `<Avatar />` (the grid reserves the leading column). */
|
|
416
|
+
avatar?: ReactNode;
|
|
417
|
+
author?: ReactNode;
|
|
418
|
+
meta?: ReactNode;
|
|
419
|
+
children?: ReactNode;
|
|
420
|
+
}
|
|
421
|
+
/** A single comment over `.uix-comment` (avatar column + body). */
|
|
422
|
+
declare function Comment({ avatar, author, meta, children, className, ...props }: CommentProps): react.JSX.Element;
|
|
423
|
+
|
|
424
|
+
interface TimelineProps extends HTMLAttributes<HTMLDivElement> {
|
|
425
|
+
children?: ReactNode;
|
|
426
|
+
}
|
|
427
|
+
/** Activity timeline container over `.uix-timeline`. */
|
|
428
|
+
declare function Timeline({ children, className, ...props }: TimelineProps): react.JSX.Element;
|
|
429
|
+
interface TimelineItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
430
|
+
meta?: ReactNode;
|
|
431
|
+
children?: ReactNode;
|
|
432
|
+
}
|
|
433
|
+
/** A timeline entry over `.uix-timeline__item` (node + connecting line + body). */
|
|
434
|
+
declare function TimelineItem({ meta, children, className, ...props }: TimelineItemProps): react.JSX.Element;
|
|
435
|
+
|
|
436
|
+
interface ProseProps extends HTMLAttributes<HTMLDivElement> {
|
|
437
|
+
children?: ReactNode;
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Long-form content container over `.uix-prose` (KB articles, descriptions,
|
|
441
|
+
* release notes). Apply to a block of rendered HTML/markdown.
|
|
442
|
+
*/
|
|
443
|
+
declare function Prose({ children, className, ...props }: ProseProps): react.JSX.Element;
|
|
444
|
+
type NoteTone = 'info' | 'success' | 'warning' | 'danger';
|
|
445
|
+
interface NoteProps extends HTMLAttributes<HTMLDivElement> {
|
|
446
|
+
tone?: NoteTone;
|
|
447
|
+
icon?: ReactNode;
|
|
448
|
+
children?: ReactNode;
|
|
449
|
+
}
|
|
450
|
+
/** Callout / note box over `.uix-note`. */
|
|
451
|
+
declare function Note({ tone, icon, children, className, ...props }: NoteProps): react.JSX.Element;
|
|
452
|
+
|
|
453
|
+
interface PopoverProps extends HTMLAttributes<HTMLDivElement> {
|
|
454
|
+
/**
|
|
455
|
+
* Native popover behavior. Defaults to `"auto"` (light-dismiss). A trigger
|
|
456
|
+
* wires to it via `popoverTarget={id}`. Pass `"manual"` to control open state yourself.
|
|
457
|
+
*/
|
|
458
|
+
popover?: 'auto' | 'manual';
|
|
459
|
+
children?: ReactNode;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Anchored surface over `.uix-popover`, using the native Popover API.
|
|
463
|
+
* Compose ITSM things like a filter popover by putting controls inside.
|
|
464
|
+
*/
|
|
465
|
+
declare function Popover({ popover, children, className, ...props }: PopoverProps): react.JSX.Element;
|
|
466
|
+
|
|
467
|
+
interface CommandPaletteProps extends HTMLAttributes<HTMLDivElement> {
|
|
468
|
+
/** Props for the search input (value/onChange/placeholder wired by the consumer). */
|
|
469
|
+
inputProps?: InputHTMLAttributes<HTMLInputElement>;
|
|
470
|
+
children?: ReactNode;
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* ⌘K command palette surface over `.uix-cmdk`. Presentational: mount it inside a
|
|
474
|
+
* Modal/Popover and wire search + keyboard selection in the consumer.
|
|
475
|
+
*/
|
|
476
|
+
declare function CommandPalette({ inputProps, children, className, ...props }: CommandPaletteProps): react.JSX.Element;
|
|
477
|
+
interface CommandGroupProps {
|
|
478
|
+
label?: ReactNode;
|
|
479
|
+
children?: ReactNode;
|
|
480
|
+
}
|
|
481
|
+
/** A labeled group of command items. */
|
|
482
|
+
declare function CommandGroup({ label, children }: CommandGroupProps): react.JSX.Element;
|
|
483
|
+
interface CommandItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
484
|
+
icon?: ReactNode;
|
|
485
|
+
/** Trailing shortcut hint (e.g. a `.uix-kbd`). */
|
|
486
|
+
shortcut?: ReactNode;
|
|
487
|
+
active?: boolean;
|
|
488
|
+
children?: ReactNode;
|
|
489
|
+
}
|
|
490
|
+
/** A single command row over `.uix-cmdk__item`. */
|
|
491
|
+
declare function CommandItem({ icon, shortcut, active, children, className, ...props }: CommandItemProps): react.JSX.Element;
|
|
492
|
+
|
|
493
|
+
interface KanbanProps extends HTMLAttributes<HTMLDivElement> {
|
|
494
|
+
children?: ReactNode;
|
|
495
|
+
}
|
|
496
|
+
declare function Kanban({ children, className, ...props }: KanbanProps): react.JSX.Element;
|
|
497
|
+
interface KanbanColumnProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
498
|
+
title?: ReactNode;
|
|
499
|
+
count?: number;
|
|
500
|
+
children?: ReactNode;
|
|
501
|
+
}
|
|
502
|
+
declare function KanbanColumn({ title, count, children, className, ...props }: KanbanColumnProps): react.JSX.Element;
|
|
503
|
+
interface KanbanCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
504
|
+
title?: ReactNode;
|
|
505
|
+
meta?: ReactNode;
|
|
506
|
+
children?: ReactNode;
|
|
507
|
+
}
|
|
508
|
+
declare function KanbanCard({ title, meta, children, className, ...props }: KanbanCardProps): react.JSX.Element;
|
|
509
|
+
|
|
510
|
+
interface TreeNodeData {
|
|
511
|
+
id: string;
|
|
512
|
+
label: ReactNode;
|
|
513
|
+
icon?: ReactNode;
|
|
514
|
+
children?: TreeNodeData[];
|
|
515
|
+
}
|
|
516
|
+
interface TreeNodeProps {
|
|
517
|
+
node: TreeNodeData;
|
|
518
|
+
expanded: Set<string>;
|
|
519
|
+
selected?: string;
|
|
520
|
+
onToggle: (id: string) => void;
|
|
521
|
+
onSelect?: (id: string) => void;
|
|
522
|
+
level?: number;
|
|
523
|
+
}
|
|
524
|
+
interface TreeProps extends Omit<HTMLAttributes<HTMLUListElement>, 'onSelect' | 'onChange'> {
|
|
525
|
+
nodes: TreeNodeData[];
|
|
526
|
+
expanded?: Set<string>;
|
|
527
|
+
defaultExpanded?: Set<string>;
|
|
528
|
+
selected?: string;
|
|
529
|
+
onToggle?: (id: string) => void;
|
|
530
|
+
onSelect?: (id: string) => void;
|
|
531
|
+
}
|
|
532
|
+
declare function Tree({ nodes, expanded: controlledExpanded, defaultExpanded, selected, onToggle, onSelect, className, ...props }: TreeProps): react.JSX.Element;
|
|
533
|
+
|
|
534
|
+
export { Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, type CardProps, Checkbox, type CheckboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, DetailLayout, type DetailLayoutProps, Drawer, type DrawerProps, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, Field, type FieldProps, Input, InputGroup, type InputGroupProps, type InputProps, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, type KanbanProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, LoadingState, type LoadingStateProps, Modal, type ModalProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, Note, type NoteProps, type NoteTone, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, Peek, type PeekProps, type PillTone, type PillTreatment, Popover, type PopoverProps, Progress, type ProgressProps, Prose, type ProseProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Select, type SelectProps, Sidebar, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDirection, Spinner, type SpinnerProps, Stat, type StatProps, type StatTrend, StatusPill, type StatusPillProps, SubNavItem, type SubNavItemProps, Switch, type SwitchProps, Tab, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, Td, type TdProps, Textarea, type TextareaProps, Th, type ThProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, Toast, type ToastProps, type ToastTone, Toaster, type ToasterProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeNodeData, type TreeNodeProps, type TreeProps, UserChip, type UserChipProps, cx, useDialog };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export { cx } from './cx.js';
|
|
2
|
+
export { useDialog } from './hooks/useDialog.js';
|
|
3
|
+
export { Button, ButtonGroup, ButtonGroupProps, ButtonProps } from './components/Button.js';
|
|
4
|
+
export { Input, InputGroup, InputGroupProps, InputProps } from './components/Input.js';
|
|
5
|
+
export { Textarea, TextareaProps } from './components/Textarea.js';
|
|
6
|
+
export { Select, SelectProps } from './components/Select.js';
|
|
7
|
+
export { Checkbox, CheckboxProps } from './components/Checkbox.js';
|
|
8
|
+
export { Radio, RadioGroup, RadioGroupProps, RadioProps } from './components/Radio.js';
|
|
9
|
+
export { Switch, SwitchProps } from './components/Switch.js';
|
|
10
|
+
export { Field, FieldProps } from './components/Field.js';
|
|
11
|
+
export { Modal, ModalProps } from './components/Modal.js';
|
|
12
|
+
export { Drawer, DrawerProps } from './components/Drawer.js';
|
|
13
|
+
export { Peek, PeekProps } from './components/Peek.js';
|
|
14
|
+
export { Card, CardProps } from './components/Card.js';
|
|
15
|
+
export { PageHeader, PageHeaderProps } from './components/PageHeader.js';
|
|
16
|
+
export { DetailLayout, DetailLayoutProps } from './components/DetailLayout.js';
|
|
17
|
+
export { List, ListItem, ListItemProps, ListProps } from './components/List.js';
|
|
18
|
+
export { Tab, TabProps, Tabs, TabsProps } from './components/Tabs.js';
|
|
19
|
+
export { AppShell, AppShellProps } from './components/AppShell.js';
|
|
20
|
+
export { NavGroup, NavGroupProps, NavItem, NavItemProps, Sidebar, SidebarProps, SidebarSection, SidebarSectionProps, SubNavItem, SubNavItemProps } from './components/Sidebar.js';
|
|
21
|
+
export { Alert, AlertProps, AlertTone } from './components/Alert.js';
|
|
22
|
+
export { Spinner, SpinnerProps } from './components/Spinner.js';
|
|
23
|
+
export { Toast, ToastProps, ToastTone, Toaster, ToasterProps } from './components/Toast.js';
|
|
24
|
+
export { SortDirection, Table, TableDensity, TableProps, TableWrap, TableWrapProps, Td, TdProps, Th, ThProps, Tr, TrProps } from './components/Table.js';
|
|
25
|
+
export { Pagination, PaginationProps } from './components/Pagination.js';
|
|
26
|
+
export { PillTone, PillTreatment, StatusPill, StatusPillProps } from './components/StatusPill.js';
|
|
27
|
+
export { Progress, ProgressProps } from './components/Progress.js';
|
|
28
|
+
export { Stat, StatProps, StatTrend } from './components/Stat.js';
|
|
29
|
+
export { Tooltip, TooltipProps } from './components/Tooltip.js';
|
|
30
|
+
export { EmptyState, EmptyStateProps, ErrorState, ErrorStateProps, LoadingState, LoadingStateProps, Skeleton, SkeletonProps } from './components/States.js';
|
|
31
|
+
export { Label, LabelProps } from './components/Label.js';
|
|
32
|
+
export { Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, UserChip, UserChipProps } from './components/Avatar.js';
|
|
33
|
+
export { Comment, CommentProps, Comments, CommentsProps } from './components/Comments.js';
|
|
34
|
+
export { Timeline, TimelineItem, TimelineItemProps, TimelineProps } from './components/Timeline.js';
|
|
35
|
+
export { Note, NoteProps, NoteTone, Prose, ProseProps } from './components/Prose.js';
|
|
36
|
+
export { Popover, PopoverProps } from './components/Popover.js';
|
|
37
|
+
export { CommandGroup, CommandGroupProps, CommandItem, CommandItemProps, CommandPalette, CommandPaletteProps } from './components/CommandPalette.js';
|
|
38
|
+
export { Kanban, KanbanCard, KanbanCardProps, KanbanColumn, KanbanColumnProps, KanbanProps } from './components/Kanban.js';
|
|
39
|
+
export { Tree, TreeNodeData, TreeNodeProps, TreeProps } from './components/Tree.js';
|
|
40
|
+
import 'react';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { cx } from "./cx.js";
|
|
2
|
+
import { useDialog } from "./hooks/useDialog.js";
|
|
3
|
+
import { Button, ButtonGroup } from "./components/Button.js";
|
|
4
|
+
import { Input, InputGroup } from "./components/Input.js";
|
|
5
|
+
import { Textarea } from "./components/Textarea.js";
|
|
6
|
+
import { Select } from "./components/Select.js";
|
|
7
|
+
import { Checkbox } from "./components/Checkbox.js";
|
|
8
|
+
import { Radio, RadioGroup } from "./components/Radio.js";
|
|
9
|
+
import { Switch } from "./components/Switch.js";
|
|
10
|
+
import { Field } from "./components/Field.js";
|
|
11
|
+
import { Modal } from "./components/Modal.js";
|
|
12
|
+
import { Drawer } from "./components/Drawer.js";
|
|
13
|
+
import { Peek } from "./components/Peek.js";
|
|
14
|
+
import { Card } from "./components/Card.js";
|
|
15
|
+
import { PageHeader } from "./components/PageHeader.js";
|
|
16
|
+
import { DetailLayout } from "./components/DetailLayout.js";
|
|
17
|
+
import { List, ListItem } from "./components/List.js";
|
|
18
|
+
import { Tabs, Tab } from "./components/Tabs.js";
|
|
19
|
+
import { AppShell } from "./components/AppShell.js";
|
|
20
|
+
import { Sidebar, SidebarSection, NavItem, NavGroup, SubNavItem } from "./components/Sidebar.js";
|
|
21
|
+
import { Alert } from "./components/Alert.js";
|
|
22
|
+
import { Spinner } from "./components/Spinner.js";
|
|
23
|
+
import { Toast, Toaster } from "./components/Toast.js";
|
|
24
|
+
import { TableWrap, Table, Th, Td, Tr } from "./components/Table.js";
|
|
25
|
+
import { Pagination } from "./components/Pagination.js";
|
|
26
|
+
import { StatusPill } from "./components/StatusPill.js";
|
|
27
|
+
import { Progress } from "./components/Progress.js";
|
|
28
|
+
import { Stat } from "./components/Stat.js";
|
|
29
|
+
import { Tooltip } from "./components/Tooltip.js";
|
|
30
|
+
import { EmptyState, ErrorState, Skeleton, LoadingState } from "./components/States.js";
|
|
31
|
+
import { Label } from "./components/Label.js";
|
|
32
|
+
import { Avatar, AvatarGroup, UserChip } from "./components/Avatar.js";
|
|
33
|
+
import { Comments, Comment } from "./components/Comments.js";
|
|
34
|
+
import { Timeline, TimelineItem } from "./components/Timeline.js";
|
|
35
|
+
import { Prose, Note } from "./components/Prose.js";
|
|
36
|
+
import { Popover } from "./components/Popover.js";
|
|
37
|
+
import { CommandPalette, CommandGroup, CommandItem } from "./components/CommandPalette.js";
|
|
38
|
+
import { Kanban, KanbanColumn, KanbanCard } from "./components/Kanban.js";
|
|
39
|
+
import { Tree } from "./components/Tree.js";
|
|
40
|
+
export {
|
|
41
|
+
Alert,
|
|
42
|
+
AppShell,
|
|
43
|
+
Avatar,
|
|
44
|
+
AvatarGroup,
|
|
45
|
+
Button,
|
|
46
|
+
ButtonGroup,
|
|
47
|
+
Card,
|
|
48
|
+
Checkbox,
|
|
49
|
+
CommandGroup,
|
|
50
|
+
CommandItem,
|
|
51
|
+
CommandPalette,
|
|
52
|
+
Comment,
|
|
53
|
+
Comments,
|
|
54
|
+
DetailLayout,
|
|
55
|
+
Drawer,
|
|
56
|
+
EmptyState,
|
|
57
|
+
ErrorState,
|
|
58
|
+
Field,
|
|
59
|
+
Input,
|
|
60
|
+
InputGroup,
|
|
61
|
+
Kanban,
|
|
62
|
+
KanbanCard,
|
|
63
|
+
KanbanColumn,
|
|
64
|
+
Label,
|
|
65
|
+
List,
|
|
66
|
+
ListItem,
|
|
67
|
+
LoadingState,
|
|
68
|
+
Modal,
|
|
69
|
+
NavGroup,
|
|
70
|
+
NavItem,
|
|
71
|
+
Note,
|
|
72
|
+
PageHeader,
|
|
73
|
+
Pagination,
|
|
74
|
+
Peek,
|
|
75
|
+
Popover,
|
|
76
|
+
Progress,
|
|
77
|
+
Prose,
|
|
78
|
+
Radio,
|
|
79
|
+
RadioGroup,
|
|
80
|
+
Select,
|
|
81
|
+
Sidebar,
|
|
82
|
+
SidebarSection,
|
|
83
|
+
Skeleton,
|
|
84
|
+
Spinner,
|
|
85
|
+
Stat,
|
|
86
|
+
StatusPill,
|
|
87
|
+
SubNavItem,
|
|
88
|
+
Switch,
|
|
89
|
+
Tab,
|
|
90
|
+
Table,
|
|
91
|
+
TableWrap,
|
|
92
|
+
Tabs,
|
|
93
|
+
Td,
|
|
94
|
+
Textarea,
|
|
95
|
+
Th,
|
|
96
|
+
Timeline,
|
|
97
|
+
TimelineItem,
|
|
98
|
+
Toast,
|
|
99
|
+
Toaster,
|
|
100
|
+
Tooltip,
|
|
101
|
+
Tr,
|
|
102
|
+
Tree,
|
|
103
|
+
UserChip,
|
|
104
|
+
cx,
|
|
105
|
+
useDialog
|
|
106
|
+
};
|