@knkcs/anker 0.0.1
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/LICENSE +30 -0
- package/README.md +129 -0
- package/dist/atoms/index.d.ts +536 -0
- package/dist/atoms/index.js +845 -0
- package/dist/atoms/index.js.map +1 -0
- package/dist/avatar-DhqkKdqc.d.ts +29 -0
- package/dist/chunk-4D3EY2W2.js +1628 -0
- package/dist/chunk-4D3EY2W2.js.map +1 -0
- package/dist/chunk-4T32UC26.js +81 -0
- package/dist/chunk-4T32UC26.js.map +1 -0
- package/dist/chunk-FGKGX4UF.js +36 -0
- package/dist/chunk-FGKGX4UF.js.map +1 -0
- package/dist/chunk-PZCL4M6I.js +62 -0
- package/dist/chunk-PZCL4M6I.js.map +1 -0
- package/dist/chunk-QSCNXHMU.js +32 -0
- package/dist/chunk-QSCNXHMU.js.map +1 -0
- package/dist/chunk-RJPEVNMJ.js +23 -0
- package/dist/chunk-RJPEVNMJ.js.map +1 -0
- package/dist/chunk-YXTW5OAJ.js +303 -0
- package/dist/chunk-YXTW5OAJ.js.map +1 -0
- package/dist/components/index.d.ts +413 -0
- package/dist/components/index.js +982 -0
- package/dist/components/index.js.map +1 -0
- package/dist/feedback/index.d.ts +27 -0
- package/dist/feedback/index.js +100 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/forms/index.d.ts +272 -0
- package/dist/forms/index.js +947 -0
- package/dist/forms/index.js.map +1 -0
- package/dist/number-input-D2X0rWOg.d.ts +18 -0
- package/dist/primitives/index.d.ts +396 -0
- package/dist/primitives/index.js +478 -0
- package/dist/primitives/index.js.map +1 -0
- package/dist/search-input-C_Cl2OEx.d.ts +17 -0
- package/dist/switch-B0o6G2XE.d.ts +28 -0
- package/dist/theme/index.d.ts +496 -0
- package/dist/theme/index.js +3 -0
- package/dist/theme/index.js.map +1 -0
- package/package.json +96 -0
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { CardRootProps, TextProps, DrawerRootProps, DialogRootProps, HTMLChakraProps, Timeline, TreeView } from '@chakra-ui/react';
|
|
3
|
+
import * as React$1 from 'react';
|
|
4
|
+
import React__default, { MouseEventHandler } from 'react';
|
|
5
|
+
import { ColumnDef, RowSelectionState, OnChangeFn, SortingState } from '@tanstack/react-table';
|
|
6
|
+
import { a as SwitchProps } from '../switch-B0o6G2XE.js';
|
|
7
|
+
|
|
8
|
+
interface CardProps extends Omit<CardRootProps, "title"> {
|
|
9
|
+
maxW?: CardRootProps["maxW"];
|
|
10
|
+
/** Card title rendered in Card.Header. */
|
|
11
|
+
title?: React__default.ReactNode;
|
|
12
|
+
/** Custom header content. Overrides title if both provided. */
|
|
13
|
+
header?: React__default.ReactNode;
|
|
14
|
+
/** Footer content rendered in Card.Footer. */
|
|
15
|
+
footer?: React__default.ReactNode;
|
|
16
|
+
children: React__default.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
declare const Card: {
|
|
19
|
+
({ ref, maxW, title, header, footer, children, ...props }: CardProps & {
|
|
20
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
21
|
+
}): react_jsx_runtime.JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
interface CardListProps {
|
|
26
|
+
/** Column header labels displayed above the grid. */
|
|
27
|
+
headers: string[];
|
|
28
|
+
/** Whether rows have a left-side component slot (e.g., avatar). */
|
|
29
|
+
hasComponentLeft?: boolean;
|
|
30
|
+
/** Whether rows have a right-side menu slot. */
|
|
31
|
+
hasMenu?: boolean;
|
|
32
|
+
/** CardListItem children to render as rows. */
|
|
33
|
+
children?: React.ReactNode;
|
|
34
|
+
/** Total number of grid columns. Defaults to 12. */
|
|
35
|
+
columnCount?: number;
|
|
36
|
+
/** Content to display when there are no rows. */
|
|
37
|
+
emptyState?: React.ReactNode;
|
|
38
|
+
}
|
|
39
|
+
declare const CardList: React.FC<CardListProps>;
|
|
40
|
+
|
|
41
|
+
interface CardListDataProps extends TextProps {
|
|
42
|
+
/** Cell content. Strings are shown in a tooltip on overflow. */
|
|
43
|
+
children: React.ReactNode;
|
|
44
|
+
}
|
|
45
|
+
declare const CardListData: React.FC<CardListDataProps>;
|
|
46
|
+
|
|
47
|
+
interface CardListMenuItem<T = string> {
|
|
48
|
+
/** Text label for the menu item. */
|
|
49
|
+
label: string;
|
|
50
|
+
/** Callback fired when the menu item is clicked. */
|
|
51
|
+
onClick: () => void;
|
|
52
|
+
/** Icon rendered before the label. */
|
|
53
|
+
icon?: React.ReactNode;
|
|
54
|
+
/** Text color override for the menu item. */
|
|
55
|
+
color?: string;
|
|
56
|
+
/** Value associated with the menu item. */
|
|
57
|
+
value?: T;
|
|
58
|
+
}
|
|
59
|
+
interface CardListItemProps<T = string> {
|
|
60
|
+
/** Whether the item is visually selected. */
|
|
61
|
+
isActive?: boolean;
|
|
62
|
+
/** Callback fired when the row is clicked. */
|
|
63
|
+
handleItemClick?: () => void;
|
|
64
|
+
/** Callback fired when the row is double-clicked. */
|
|
65
|
+
handleItemDoubleClick?: () => void;
|
|
66
|
+
/** Menu items rendered in the row's action menu. */
|
|
67
|
+
menuItems?: CardListMenuItem<T>[];
|
|
68
|
+
/** Component rendered on the left side of the row (e.g., avatar). */
|
|
69
|
+
componentLeft?: React.ReactNode;
|
|
70
|
+
/** CardListData children to render as cells. */
|
|
71
|
+
children: React.ReactNode;
|
|
72
|
+
/** Total number of grid columns. Defaults to 12. */
|
|
73
|
+
columnCount?: number;
|
|
74
|
+
}
|
|
75
|
+
declare const CardListItem: <T extends string = string>({ isActive, handleItemClick, handleItemDoubleClick, menuItems, componentLeft, children, columnCount, }: CardListItemProps<T>) => react_jsx_runtime.JSX.Element;
|
|
76
|
+
|
|
77
|
+
interface DataTableProps<T extends Record<string, unknown>> {
|
|
78
|
+
/** Column definitions for TanStack Table */
|
|
79
|
+
columns: ColumnDef<T, unknown>[];
|
|
80
|
+
/** Data array */
|
|
81
|
+
data: T[];
|
|
82
|
+
/** Enable row selection */
|
|
83
|
+
selectable?: boolean;
|
|
84
|
+
/** Controlled row selection state */
|
|
85
|
+
rowSelection?: RowSelectionState;
|
|
86
|
+
/** Row selection change handler */
|
|
87
|
+
onRowSelectionChange?: OnChangeFn<RowSelectionState>;
|
|
88
|
+
/** Controlled sorting state */
|
|
89
|
+
sorting?: SortingState;
|
|
90
|
+
/** Sorting change handler */
|
|
91
|
+
onSortingChange?: OnChangeFn<SortingState>;
|
|
92
|
+
/** Row click handler */
|
|
93
|
+
onRowClick?: (row: T) => void;
|
|
94
|
+
/** Loading state */
|
|
95
|
+
loading?: boolean;
|
|
96
|
+
/** Empty state content */
|
|
97
|
+
emptyState?: React__default.ReactNode;
|
|
98
|
+
/** Pagination - total items */
|
|
99
|
+
total?: number;
|
|
100
|
+
/** Pagination - current page (1-based) */
|
|
101
|
+
page?: number;
|
|
102
|
+
/** Pagination - items per page */
|
|
103
|
+
pageSize?: number;
|
|
104
|
+
/** Pagination - page change handler */
|
|
105
|
+
onPageChange?: (page: number) => void;
|
|
106
|
+
/** Table variant */
|
|
107
|
+
variant?: "line" | "striped" | "hoverable";
|
|
108
|
+
}
|
|
109
|
+
declare function DataTableInner<T extends Record<string, unknown>>(props: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
110
|
+
declare const DataTable: typeof DataTableInner & {
|
|
111
|
+
displayName: string;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
interface DrawerProps extends Omit<DrawerRootProps, "open" | "onOpenChange"> {
|
|
115
|
+
/** Whether the drawer is open. */
|
|
116
|
+
open: boolean;
|
|
117
|
+
/** Called when the drawer should close. */
|
|
118
|
+
onClose(): void;
|
|
119
|
+
/** Header title content. */
|
|
120
|
+
title: string | React.ReactNode;
|
|
121
|
+
/** Text displayed in the footer area (left side). */
|
|
122
|
+
footerText?: string | React.ReactNode;
|
|
123
|
+
/** Drawer body content. */
|
|
124
|
+
children: React.ReactNode;
|
|
125
|
+
/** Label for the save button. @default "Save" */
|
|
126
|
+
saveLabel?: string;
|
|
127
|
+
/** Label for the close button. @default "Close" */
|
|
128
|
+
closeLabel?: string;
|
|
129
|
+
/** Whether the save button is disabled. */
|
|
130
|
+
saveButtonDisabled?: boolean;
|
|
131
|
+
/** Whether the save action is in progress. Shows spinner on save button. */
|
|
132
|
+
loading?: boolean;
|
|
133
|
+
/** Extra buttons rendered before the save button. */
|
|
134
|
+
additionalButtons?: React.ReactNode;
|
|
135
|
+
/** Called when the save button is clicked. If not provided, no save button is shown. */
|
|
136
|
+
onSave?(): void;
|
|
137
|
+
}
|
|
138
|
+
declare const DrawerRoot: React.FC<DrawerProps>;
|
|
139
|
+
|
|
140
|
+
interface FactBoxAction {
|
|
141
|
+
id: number;
|
|
142
|
+
type: "button" | "menuButton";
|
|
143
|
+
ariaLabel: string;
|
|
144
|
+
icon?: React__default.ReactElement;
|
|
145
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
146
|
+
onSelect?: VoidFunction;
|
|
147
|
+
items?: FactBoxAction[];
|
|
148
|
+
}
|
|
149
|
+
interface FactBoxProps extends CardRootProps {
|
|
150
|
+
name?: string | React__default.ReactNode;
|
|
151
|
+
actions?: FactBoxAction[];
|
|
152
|
+
children: React__default.ReactNode;
|
|
153
|
+
collapsible?: boolean;
|
|
154
|
+
/** Label for collapse button when expanded. @default "Collapse" */
|
|
155
|
+
collapseLabel?: string;
|
|
156
|
+
/** Label for collapse button when collapsed. @default "Expand" */
|
|
157
|
+
expandLabel?: string;
|
|
158
|
+
}
|
|
159
|
+
declare const FactBox: React__default.FC<FactBoxProps>;
|
|
160
|
+
|
|
161
|
+
interface LabeledSwitchProps extends SwitchProps {
|
|
162
|
+
name: string;
|
|
163
|
+
label: string;
|
|
164
|
+
}
|
|
165
|
+
declare const LabeledSwitch: {
|
|
166
|
+
({ ref, ...props }: LabeledSwitchProps & {
|
|
167
|
+
ref?: React__default.Ref<HTMLInputElement>;
|
|
168
|
+
}): react_jsx_runtime.JSX.Element;
|
|
169
|
+
displayName: string;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
interface ModalProps extends Omit<DialogRootProps, "open" | "onOpenChange"> {
|
|
173
|
+
/** Whether the modal is open. */
|
|
174
|
+
open: boolean;
|
|
175
|
+
/** Called when the modal should close. */
|
|
176
|
+
onClose: () => void;
|
|
177
|
+
/** Header content (string or ReactNode). */
|
|
178
|
+
header: string | React.ReactNode;
|
|
179
|
+
/** Modal body content. */
|
|
180
|
+
children: React.ReactNode;
|
|
181
|
+
/** Custom footer. If provided, replaces the default Cancel/Save buttons. */
|
|
182
|
+
footer?: React.ReactNode;
|
|
183
|
+
/** Dialog size variant. */
|
|
184
|
+
size?: DialogRootProps["size"];
|
|
185
|
+
/** Label for the close button. */
|
|
186
|
+
closeLabel?: string;
|
|
187
|
+
/** Label for the save button. */
|
|
188
|
+
saveLabel?: string;
|
|
189
|
+
/** Label for the cancel button. */
|
|
190
|
+
cancelLabel?: string;
|
|
191
|
+
/** Called when the save button is clicked. If not provided, no default footer is shown. */
|
|
192
|
+
onSave?: () => void;
|
|
193
|
+
/** Whether the save button is disabled. */
|
|
194
|
+
saveDisabled?: boolean;
|
|
195
|
+
/** Whether the save action is in progress. Shows spinner on save button. */
|
|
196
|
+
loading?: boolean;
|
|
197
|
+
}
|
|
198
|
+
declare const Modal: React.FC<ModalProps>;
|
|
199
|
+
|
|
200
|
+
interface PaginationProps {
|
|
201
|
+
/** Current page (1-based). */
|
|
202
|
+
page: number;
|
|
203
|
+
/** Total number of items. */
|
|
204
|
+
total: number;
|
|
205
|
+
/** Items per page. @default 10 */
|
|
206
|
+
pageSize?: number;
|
|
207
|
+
/** Called when the page changes. */
|
|
208
|
+
onPageChange: (page: number) => void;
|
|
209
|
+
/** Maximum page buttons to show. @default 5 */
|
|
210
|
+
maxVisiblePages?: number;
|
|
211
|
+
/** Label for the previous button. @default "Previous page" */
|
|
212
|
+
previousLabel?: string;
|
|
213
|
+
/** Label for the next button. @default "Next page" */
|
|
214
|
+
nextLabel?: string;
|
|
215
|
+
}
|
|
216
|
+
declare const Pagination: React__default.FC<PaginationProps>;
|
|
217
|
+
|
|
218
|
+
declare const StepperProvider: React__default.Provider<{
|
|
219
|
+
stepsRef: React__default.RefObject<string[]>;
|
|
220
|
+
activeStep: string;
|
|
221
|
+
activeIndex: number;
|
|
222
|
+
isFirstStep: boolean;
|
|
223
|
+
isLastStep: boolean;
|
|
224
|
+
isCompleted: boolean;
|
|
225
|
+
setIndex: React__default.Dispatch<React__default.SetStateAction<number>>;
|
|
226
|
+
setStep: (name: string) => void;
|
|
227
|
+
nextStep: () => void;
|
|
228
|
+
prevStep: () => void;
|
|
229
|
+
registerStep: (name: string) => void;
|
|
230
|
+
unregisterStep: (name: string) => void;
|
|
231
|
+
}>;
|
|
232
|
+
declare const useStepperContext: () => {
|
|
233
|
+
stepsRef: React__default.RefObject<string[]>;
|
|
234
|
+
activeStep: string;
|
|
235
|
+
activeIndex: number;
|
|
236
|
+
isFirstStep: boolean;
|
|
237
|
+
isLastStep: boolean;
|
|
238
|
+
isCompleted: boolean;
|
|
239
|
+
setIndex: React__default.Dispatch<React__default.SetStateAction<number>>;
|
|
240
|
+
setStep: (name: string) => void;
|
|
241
|
+
nextStep: () => void;
|
|
242
|
+
prevStep: () => void;
|
|
243
|
+
registerStep: (name: string) => void;
|
|
244
|
+
unregisterStep: (name: string) => void;
|
|
245
|
+
};
|
|
246
|
+
interface UseStepperProps {
|
|
247
|
+
step?: number | string;
|
|
248
|
+
isCompleted?: boolean;
|
|
249
|
+
onChange?(index: number): void;
|
|
250
|
+
}
|
|
251
|
+
declare function useStepper(props: UseStepperProps): {
|
|
252
|
+
stepsRef: React__default.RefObject<string[]>;
|
|
253
|
+
activeStep: string;
|
|
254
|
+
activeIndex: number;
|
|
255
|
+
isFirstStep: boolean;
|
|
256
|
+
isLastStep: boolean;
|
|
257
|
+
isCompleted: boolean;
|
|
258
|
+
setIndex: React__default.Dispatch<React__default.SetStateAction<number>>;
|
|
259
|
+
setStep: (name: string) => void;
|
|
260
|
+
nextStep: () => void;
|
|
261
|
+
prevStep: () => void;
|
|
262
|
+
registerStep: (name: string) => void;
|
|
263
|
+
unregisterStep: (name: string) => void;
|
|
264
|
+
};
|
|
265
|
+
type UseStepperReturn = ReturnType<typeof useStepper>;
|
|
266
|
+
interface UseStepProps {
|
|
267
|
+
name?: string;
|
|
268
|
+
isActive?: boolean;
|
|
269
|
+
isCompleted?: boolean;
|
|
270
|
+
}
|
|
271
|
+
declare function useStep(props: UseStepProps): {
|
|
272
|
+
isActive: boolean | undefined;
|
|
273
|
+
isCompleted: boolean | undefined;
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* Returns props for a Prev Button
|
|
277
|
+
*/
|
|
278
|
+
declare function useStepperPrevButton({ label }?: {
|
|
279
|
+
label?: string | undefined;
|
|
280
|
+
}): {
|
|
281
|
+
disabled: boolean;
|
|
282
|
+
onClick: () => void;
|
|
283
|
+
children: string;
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* Returns props for a Next Button
|
|
287
|
+
*/
|
|
288
|
+
declare function useStepperNextButton({ label, submitLabel, }?: {
|
|
289
|
+
label?: string | undefined;
|
|
290
|
+
submitLabel?: string | undefined;
|
|
291
|
+
}): {
|
|
292
|
+
disabled: boolean;
|
|
293
|
+
onClick: () => void;
|
|
294
|
+
children: string;
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
interface StepperProps extends UseStepperProps, Omit<HTMLChakraProps<"div">, "onChange"> {
|
|
298
|
+
orientation?: "horizontal" | "vertical";
|
|
299
|
+
variant?: "subtle" | "solid";
|
|
300
|
+
size?: "md" | "lg";
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Display progress in multi-step workflows.
|
|
304
|
+
*
|
|
305
|
+
* Can be controlled or uncontrolled.
|
|
306
|
+
*/
|
|
307
|
+
declare const Stepper: ({ ref, ...props }: StepperProps & {
|
|
308
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
309
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
310
|
+
declare const StepperContainer: ({ ref, ...props }: StepperProps & {
|
|
311
|
+
ref?: React__default.Ref<HTMLDivElement>;
|
|
312
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
313
|
+
interface StepperStepsProps extends HTMLChakraProps<"div"> {
|
|
314
|
+
orientation?: "horizontal" | "vertical";
|
|
315
|
+
stepComponent?: React__default.JSXElementConstructor<StepperStepProps>;
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Wrapper element containing the steps.
|
|
319
|
+
*/
|
|
320
|
+
declare const StepperSteps: React__default.FC<StepperStepsProps>;
|
|
321
|
+
interface StepperContentProps extends HTMLChakraProps<"div"> {
|
|
322
|
+
/**
|
|
323
|
+
* Show or hide the content
|
|
324
|
+
*/
|
|
325
|
+
open?: boolean;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Renders the step content, is collapsible.
|
|
329
|
+
*/
|
|
330
|
+
declare const StepperContent: React__default.FC<StepperContentProps>;
|
|
331
|
+
interface StepperIconProps extends HTMLChakraProps<"div"> {
|
|
332
|
+
icon: React__default.ReactNode;
|
|
333
|
+
isActive?: boolean;
|
|
334
|
+
isCompleted?: boolean;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* Displays the current step or a completed icon.
|
|
338
|
+
*/
|
|
339
|
+
declare const StepperIcon: React__default.FC<StepperIconProps>;
|
|
340
|
+
interface StepperStepProps extends Omit<HTMLChakraProps<"div">, "title"> {
|
|
341
|
+
/**
|
|
342
|
+
* The step title
|
|
343
|
+
*/
|
|
344
|
+
title: React__default.ReactNode;
|
|
345
|
+
/**
|
|
346
|
+
* The step name, used for controlled steppers
|
|
347
|
+
*/
|
|
348
|
+
name?: string;
|
|
349
|
+
/**
|
|
350
|
+
* Show an icon instead of the step number
|
|
351
|
+
*/
|
|
352
|
+
icon?: React__default.ReactNode;
|
|
353
|
+
isActive?: boolean;
|
|
354
|
+
isCompleted?: boolean;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Displays the icon and step title.
|
|
358
|
+
*/
|
|
359
|
+
declare const StepperStep: React__default.FC<StepperStepProps>;
|
|
360
|
+
interface StepperSeparatorProps extends HTMLChakraProps<"div"> {
|
|
361
|
+
isActive?: boolean;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* The separator between steps.
|
|
365
|
+
*/
|
|
366
|
+
declare const StepperSeparator: React__default.FC<StepperSeparatorProps>;
|
|
367
|
+
/**
|
|
368
|
+
* The step title.
|
|
369
|
+
*/
|
|
370
|
+
declare const StepperStepTitle: React__default.FC<HTMLChakraProps<"p">>;
|
|
371
|
+
/**
|
|
372
|
+
* Shown when all steps have completed.
|
|
373
|
+
*/
|
|
374
|
+
declare const StepperCompleted: React__default.FC<HTMLChakraProps<"div">>;
|
|
375
|
+
|
|
376
|
+
declare const TimelineRoot: React$1.ForwardRefExoticComponent<Timeline.RootProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
377
|
+
declare const TimelineItem: React$1.ForwardRefExoticComponent<Timeline.ItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
378
|
+
declare const TimelineConnector: React$1.ForwardRefExoticComponent<Timeline.ConnectorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
379
|
+
declare const TimelineSeparator: React$1.ForwardRefExoticComponent<Timeline.SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
380
|
+
declare const TimelineIndicator: React$1.ForwardRefExoticComponent<Timeline.IndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
381
|
+
declare const TimelineContent: React$1.ForwardRefExoticComponent<Timeline.ContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
382
|
+
declare const TimelineTitle: React$1.ForwardRefExoticComponent<Timeline.TitleProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
383
|
+
declare const TimelineDescription: React$1.ForwardRefExoticComponent<Timeline.DescriptionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
384
|
+
type TimelineRootProps = Timeline.RootProps;
|
|
385
|
+
type TimelineItemProps = Timeline.ItemProps;
|
|
386
|
+
|
|
387
|
+
declare const TreeViewRoot: React$1.ForwardRefExoticComponent<TreeView.RootProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
388
|
+
declare const TreeViewTree: React$1.ForwardRefExoticComponent<TreeView.TreeProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
389
|
+
declare const TreeViewBranch: React$1.ForwardRefExoticComponent<TreeView.BranchProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
390
|
+
declare const TreeViewBranchContent: React$1.ForwardRefExoticComponent<TreeView.BranchContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
391
|
+
declare const TreeViewBranchControl: React$1.ForwardRefExoticComponent<TreeView.BranchControlProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
392
|
+
declare const TreeViewBranchTrigger: React$1.ForwardRefExoticComponent<TreeView.BranchTriggerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
393
|
+
declare const TreeViewBranchText: React$1.ForwardRefExoticComponent<TreeView.BranchTextProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
394
|
+
declare const TreeViewBranchIndicator: React$1.ForwardRefExoticComponent<TreeView.BranchIndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
395
|
+
declare const TreeViewItem: React$1.ForwardRefExoticComponent<TreeView.ItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
396
|
+
declare const TreeViewItemText: React$1.ForwardRefExoticComponent<TreeView.ItemTextProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
397
|
+
declare const TreeViewItemIndicator: React$1.ForwardRefExoticComponent<TreeView.ItemIndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
398
|
+
declare const TreeViewNode: typeof TreeView.Node;
|
|
399
|
+
declare const TreeViewLabel: React$1.ForwardRefExoticComponent<TreeView.LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
400
|
+
type TreeViewRootProps = TreeView.RootProps;
|
|
401
|
+
type TreeViewBranchProps = TreeView.BranchProps;
|
|
402
|
+
type TreeViewItemProps = TreeView.ItemProps;
|
|
403
|
+
|
|
404
|
+
interface WidgetProps {
|
|
405
|
+
heading: string;
|
|
406
|
+
subHeading?: string;
|
|
407
|
+
/** Icon element (e.g. a lucide-react icon component). */
|
|
408
|
+
icon: React__default.ReactNode;
|
|
409
|
+
children: React__default.ReactNode;
|
|
410
|
+
}
|
|
411
|
+
declare const Widget: React__default.FC<WidgetProps>;
|
|
412
|
+
|
|
413
|
+
export { Card, CardList, CardListData, type CardListDataProps, CardListItem, type CardListItemProps, type CardListMenuItem, type CardListProps, type CardProps, DataTable, type DataTableProps, type DrawerProps, DrawerRoot, FactBox, type FactBoxAction, type FactBoxProps, LabeledSwitch, type LabeledSwitchProps, Modal, type ModalProps, Pagination, type PaginationProps, Stepper, StepperCompleted, StepperContainer, StepperContent, type StepperContentProps, StepperIcon, type StepperIconProps, type StepperProps, StepperProvider, StepperSeparator, type StepperSeparatorProps, StepperStep, type StepperStepProps, StepperStepTitle, StepperSteps, type StepperStepsProps, CardList as Table, CardListData as TableData, type CardListDataProps as TableDataProps, CardListItem as TableItem, type CardListItemProps as TableItemProps, type CardListMenuItem as TableMenuItem, type CardListProps as TableProps, TimelineConnector, TimelineContent, TimelineDescription, TimelineIndicator, TimelineItem, type TimelineItemProps, TimelineRoot, type TimelineRootProps, TimelineSeparator, TimelineTitle, TreeViewBranch, TreeViewBranchContent, TreeViewBranchControl, TreeViewBranchIndicator, type TreeViewBranchProps, TreeViewBranchText, TreeViewBranchTrigger, TreeViewItem, TreeViewItemIndicator, type TreeViewItemProps, TreeViewItemText, TreeViewLabel, TreeViewNode, TreeViewRoot, type TreeViewRootProps, TreeViewTree, type UseStepProps, type UseStepperProps, type UseStepperReturn, Widget, type WidgetProps, useStep, useStepper, useStepperContext, useStepperNextButton, useStepperPrevButton };
|