@zimyo/ui 1.10.10 → 1.10.11
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/chunks/Calender-3809e0ed.js +1 -0
- package/dist/chunks/Calender-af2588bc.esm.js +1 -0
- package/dist/chunks/Heading-54a5488c.js +1 -0
- package/dist/chunks/Heading-b91e2c5f.esm.js +1 -0
- package/dist/chunks/Muted-619e3b72.js +1 -0
- package/dist/chunks/Muted-bfc4985b.esm.js +1 -0
- package/dist/chunks/Text-8c4fb3f8.js +1 -0
- package/dist/chunks/Text-f18219bd.esm.js +1 -0
- package/dist/chunks/assertThisInitialized-406be690.esm.js +1 -0
- package/dist/chunks/assertThisInitialized-d31798d4.js +1 -0
- package/dist/chunks/index-32c3a4e2.esm.js +1 -0
- package/dist/chunks/index-5b35e7d9.esm.js +1 -0
- package/dist/chunks/index-76f24a60.js +1 -0
- package/dist/chunks/index-90b71f01.js +1 -0
- package/dist/chunks/index-a7c3d9a4.esm.js +1 -0
- package/dist/chunks/index-ca2c3710.js +1 -0
- package/dist/chunks/lucide-493ccaad.js +26 -0
- package/dist/chunks/lucide-8c9441ea.esm.js +26 -0
- package/dist/chunks/tslib.es6-49e5b83c.esm.js +1 -0
- package/dist/chunks/tslib.es6-fa3b2784.js +1 -0
- package/dist/chunks/typeof-b30b964a.js +1 -0
- package/dist/chunks/typeof-cc63ab7d.esm.js +1 -0
- package/dist/components/Accordion/index.d.ts +34 -0
- package/dist/components/Accordion/index.esm.js +1 -0
- package/dist/components/Accordion/index.js +1 -0
- package/dist/components/AppList/index.d.ts +27 -0
- package/dist/components/AppList/index.esm.js +1 -0
- package/dist/components/AppList/index.js +1 -0
- package/dist/components/Badge/index.d.ts +29 -0
- package/dist/components/Badge/index.esm.js +1 -0
- package/dist/components/Badge/index.js +1 -0
- package/dist/components/BulkActionsBar/index.d.ts +23 -0
- package/dist/components/BulkActionsBar/index.esm.js +1 -0
- package/dist/components/BulkActionsBar/index.js +1 -0
- package/dist/components/Button/index.d.ts +15 -0
- package/dist/components/Button/index.esm.js +1 -0
- package/dist/components/Button/index.js +1 -0
- package/dist/components/Card/index.d.ts +73 -0
- package/dist/components/Card/index.esm.js +1 -0
- package/dist/components/Card/index.js +1 -0
- package/dist/components/Checkbox/index.d.ts +14 -0
- package/dist/components/Checkbox/index.esm.js +1 -0
- package/dist/components/Checkbox/index.js +1 -0
- package/dist/components/CheckboxGroup/index.d.ts +31 -0
- package/dist/components/CheckboxGroup/index.esm.js +1 -0
- package/dist/components/CheckboxGroup/index.js +1 -0
- package/dist/components/DataTable/index.d.ts +70 -0
- package/dist/components/DataTable/index.esm.js +23 -0
- package/dist/components/DataTable/index.js +22 -0
- package/dist/components/DatePicker/index.d.ts +40 -0
- package/dist/components/DatePicker/index.esm.js +1 -0
- package/dist/components/DatePicker/index.js +1 -0
- package/dist/components/DateRangePicker/index.d.ts +28 -0
- package/dist/components/DateRangePicker/index.esm.js +1 -0
- package/dist/components/DateRangePicker/index.js +1 -0
- package/dist/components/Form/index.d.ts +35 -0
- package/dist/components/Form/index.esm.js +1 -0
- package/dist/components/Form/index.js +1 -0
- package/dist/components/GlobalMenuSearch/index.d.ts +16 -0
- package/dist/components/GlobalMenuSearch/index.esm.js +1 -0
- package/dist/components/GlobalMenuSearch/index.js +1 -0
- package/dist/components/Input/index.d.ts +25 -0
- package/dist/components/Input/index.esm.js +1 -0
- package/dist/components/Input/index.js +1 -0
- package/dist/components/Modal/index.d.ts +20 -0
- package/dist/components/Modal/index.esm.js +1 -0
- package/dist/components/Modal/index.js +1 -0
- package/dist/components/Notice/index.d.ts +19 -0
- package/dist/components/Notice/index.esm.js +1 -0
- package/dist/components/Notice/index.js +1 -0
- package/dist/components/Popover/index.d.ts +19 -0
- package/dist/components/Popover/index.esm.js +1 -0
- package/dist/components/Popover/index.js +1 -0
- package/dist/components/PopupConfirm/index.d.ts +36 -0
- package/dist/components/PopupConfirm/index.esm.js +1 -0
- package/dist/components/PopupConfirm/index.js +1 -0
- package/dist/components/Radio/index.d.ts +24 -0
- package/dist/components/Radio/index.esm.js +1 -0
- package/dist/components/Radio/index.js +1 -0
- package/dist/components/RadioGroup/index.d.ts +31 -0
- package/dist/components/RadioGroup/index.esm.js +1 -0
- package/dist/components/RadioGroup/index.js +1 -0
- package/dist/components/Select/index.d.ts +36 -0
- package/dist/components/Select/index.esm.js +1 -0
- package/dist/components/Select/index.js +1 -0
- package/dist/components/Switch/index.d.ts +15 -0
- package/dist/components/Switch/index.esm.js +1 -0
- package/dist/components/Switch/index.js +1 -0
- package/dist/components/Tab/index.d.ts +40 -0
- package/dist/components/Tab/index.esm.js +1 -0
- package/dist/components/Tab/index.js +1 -0
- package/dist/components/Table/index.d.ts +80 -0
- package/dist/components/Table/index.esm.js +1 -0
- package/dist/components/Table/index.js +1 -0
- package/dist/components/TimePicker/index.d.ts +40 -0
- package/dist/components/TimePicker/index.esm.js +1 -0
- package/dist/components/TimePicker/index.js +1 -0
- package/dist/components/Timeline/index.d.ts +24 -0
- package/dist/components/Timeline/index.esm.js +1 -0
- package/dist/components/Timeline/index.js +1 -0
- package/dist/components/Typography/index.d.ts +30 -0
- package/dist/components/Typography/index.esm.js +1 -0
- package/dist/components/Typography/index.js +1 -0
- package/dist/index.d.ts +839 -0
- package/dist/index.esm.js +1 -0
- package/dist/index.js +1 -0
- package/dist/theme/index.d.ts +96 -0
- package/dist/theme/index.esm.js +1 -0
- package/dist/theme/index.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,839 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { ElementType, ReactNode, CSSProperties } from 'react';
|
|
3
|
+
import { ButtonProps as ButtonProps$1, PopoverProps as PopoverProps$1, CardProps, AccordionProps as AccordionProps$1, AccordionSummaryProps, AccordionDetailsProps, SwitchProps as SwitchProps$1, TypographyProps, SxProps as SxProps$1 } from '@mui/material';
|
|
4
|
+
import { SxProps } from '@mui/system';
|
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
+
import { Props, GroupBase } from 'react-select';
|
|
7
|
+
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
8
|
+
import { VariantProps } from 'class-variance-authority';
|
|
9
|
+
import { UseFormReturn, Controller } from 'react-hook-form';
|
|
10
|
+
import { Dayjs } from 'dayjs';
|
|
11
|
+
import { ColumnDef, SortingState } from '@tanstack/react-table';
|
|
12
|
+
import { LucideIcon } from 'lucide-react';
|
|
13
|
+
import { Theme } from '@mui/material/styles';
|
|
14
|
+
import { ClassValue } from 'clsx';
|
|
15
|
+
|
|
16
|
+
interface ButtonProps extends Omit<ButtonProps$1, 'sx'> {
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
loadingText?: string;
|
|
19
|
+
sx?: SxProps;
|
|
20
|
+
loaderSize?: number;
|
|
21
|
+
loaderPosition?: 'start' | 'end' | 'center';
|
|
22
|
+
}
|
|
23
|
+
declare const Button: React__default.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
24
|
+
|
|
25
|
+
interface PopoverProps extends Partial<PopoverProps$1> {
|
|
26
|
+
open: boolean;
|
|
27
|
+
onClose: () => void;
|
|
28
|
+
anchorEl: HTMLElement | null;
|
|
29
|
+
children: React__default.ReactNode;
|
|
30
|
+
width?: number | string;
|
|
31
|
+
maxWidth?: number | string;
|
|
32
|
+
minWidth?: number | string;
|
|
33
|
+
padding?: number;
|
|
34
|
+
border?: boolean;
|
|
35
|
+
}
|
|
36
|
+
declare const Popover: ({ open, onClose, anchorEl, children, width, maxWidth, minWidth, padding, border, anchorOrigin, transformOrigin, ...rest }: PopoverProps) => react_jsx_runtime.JSX.Element;
|
|
37
|
+
|
|
38
|
+
interface CardRootProps extends CardProps {
|
|
39
|
+
sx?: SxProps;
|
|
40
|
+
variant?: 'elevated' | 'outlined' | 'bordered';
|
|
41
|
+
children: React__default.ReactNode;
|
|
42
|
+
}
|
|
43
|
+
declare const CardRoot: React__default.FC<CardRootProps>;
|
|
44
|
+
|
|
45
|
+
declare const CardHeader: ({ title, subtitle, action, sx, }: {
|
|
46
|
+
title?: string | React__default.ReactNode;
|
|
47
|
+
subtitle?: string | React__default.ReactNode;
|
|
48
|
+
action?: React__default.ReactNode;
|
|
49
|
+
sx?: any;
|
|
50
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
51
|
+
|
|
52
|
+
declare const CardContent: ({ children, sx }: {
|
|
53
|
+
children: React__default.ReactNode;
|
|
54
|
+
sx?: any;
|
|
55
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
56
|
+
|
|
57
|
+
declare const CardActions: ({ children, sx }: {
|
|
58
|
+
children: React__default.ReactNode;
|
|
59
|
+
sx?: any;
|
|
60
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
61
|
+
|
|
62
|
+
declare const CardImage: ({ src, height, alt, sx }: {
|
|
63
|
+
src: string;
|
|
64
|
+
height?: number | string;
|
|
65
|
+
alt?: string;
|
|
66
|
+
sx?: any;
|
|
67
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
68
|
+
|
|
69
|
+
declare const CardSkeleton: ({ lines }: {
|
|
70
|
+
lines?: number;
|
|
71
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
72
|
+
|
|
73
|
+
interface Option {
|
|
74
|
+
label?: string;
|
|
75
|
+
value?: string | number;
|
|
76
|
+
leftIcon?: string | React__default.ReactNode;
|
|
77
|
+
rightIcon?: string | React__default.ReactNode;
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
}
|
|
80
|
+
type SelectSize = "xs" | "sm" | "md" | "lg";
|
|
81
|
+
interface SelectProps extends Omit<Props<Option, boolean, GroupBase<Option>>, 'options'> {
|
|
82
|
+
label?: string;
|
|
83
|
+
error?: string;
|
|
84
|
+
isClearable?: boolean;
|
|
85
|
+
isSearchable?: boolean;
|
|
86
|
+
className?: string;
|
|
87
|
+
size?: SelectSize;
|
|
88
|
+
required?: boolean;
|
|
89
|
+
valueKey?: string;
|
|
90
|
+
labelKey?: string;
|
|
91
|
+
searchByID?: boolean;
|
|
92
|
+
value?: any;
|
|
93
|
+
floatingLabel?: boolean;
|
|
94
|
+
maxChipVisible?: number;
|
|
95
|
+
description?: string;
|
|
96
|
+
options?: Option[];
|
|
97
|
+
loadOptions?: (inputValue: string) => Promise<Option[]>;
|
|
98
|
+
cacheOptions?: boolean;
|
|
99
|
+
defaultOptions?: boolean | Option[];
|
|
100
|
+
}
|
|
101
|
+
declare function Select({ label, error, className, size, required, valueKey, labelKey, isMulti, value, options, loadOptions, cacheOptions, defaultOptions, onChange, searchByID, floatingLabel, maxChipVisible, description, isDisabled, ...props }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
102
|
+
|
|
103
|
+
interface AccordionProps extends Omit<AccordionProps$1, 'sx' | 'onChange' | 'expanded'> {
|
|
104
|
+
type?: 'single' | 'multiple';
|
|
105
|
+
collapsible?: boolean;
|
|
106
|
+
value?: string | string[];
|
|
107
|
+
defaultValue?: string | string[];
|
|
108
|
+
onValueChange?: (value: string | string[]) => void;
|
|
109
|
+
children: React__default.ReactNode;
|
|
110
|
+
sx?: SxProps;
|
|
111
|
+
}
|
|
112
|
+
interface AccordionItemProps extends Omit<AccordionProps$1, 'sx'> {
|
|
113
|
+
value: string;
|
|
114
|
+
children: React__default.ReactNode;
|
|
115
|
+
sx?: SxProps;
|
|
116
|
+
}
|
|
117
|
+
interface AccordionTriggerProps extends Omit<AccordionSummaryProps, 'sx'> {
|
|
118
|
+
children: React__default.ReactNode;
|
|
119
|
+
sx?: SxProps;
|
|
120
|
+
expandIcon?: React__default.ReactNode;
|
|
121
|
+
}
|
|
122
|
+
interface AccordionContentProps extends Omit<AccordionDetailsProps, 'sx'> {
|
|
123
|
+
children: React__default.ReactNode;
|
|
124
|
+
sx?: SxProps;
|
|
125
|
+
}
|
|
126
|
+
declare const Accordion: React__default.ForwardRefExoticComponent<Omit<AccordionProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
127
|
+
declare const AccordionItem: React__default.ForwardRefExoticComponent<Omit<AccordionItemProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
128
|
+
declare const AccordionTrigger: React__default.ForwardRefExoticComponent<Omit<AccordionTriggerProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
129
|
+
declare const AccordionContent: React__default.ForwardRefExoticComponent<Omit<AccordionContentProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
130
|
+
|
|
131
|
+
interface SwitchProps extends Omit<SwitchProps$1, 'onChange'> {
|
|
132
|
+
label?: string;
|
|
133
|
+
helperText?: string;
|
|
134
|
+
error?: boolean;
|
|
135
|
+
required?: boolean | number;
|
|
136
|
+
labelPlacement?: 'end' | 'start' | 'bottom' | 'top';
|
|
137
|
+
onChange?: (event: React__default.ChangeEvent<HTMLInputElement>, checked: boolean) => void;
|
|
138
|
+
}
|
|
139
|
+
declare const Switch: React__default.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
140
|
+
|
|
141
|
+
interface RadioOption {
|
|
142
|
+
value: string;
|
|
143
|
+
label: string;
|
|
144
|
+
disabled?: boolean;
|
|
145
|
+
description?: string;
|
|
146
|
+
}
|
|
147
|
+
interface RadioGroupProps {
|
|
148
|
+
label?: string;
|
|
149
|
+
options: RadioOption[];
|
|
150
|
+
value?: string;
|
|
151
|
+
defaultValue?: string;
|
|
152
|
+
onChange?: (value: string) => void;
|
|
153
|
+
name?: string;
|
|
154
|
+
disabled?: boolean;
|
|
155
|
+
required?: boolean;
|
|
156
|
+
error?: boolean;
|
|
157
|
+
helperText?: string;
|
|
158
|
+
row?: boolean;
|
|
159
|
+
size?: 'small' | 'medium';
|
|
160
|
+
color?: 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
161
|
+
sx?: SxProps;
|
|
162
|
+
radioSx?: SxProps;
|
|
163
|
+
labelSx?: SxProps;
|
|
164
|
+
}
|
|
165
|
+
declare const RadioGroup: React__default.ForwardRefExoticComponent<RadioGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
166
|
+
|
|
167
|
+
interface HeadingProps extends TypographyProps {
|
|
168
|
+
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
169
|
+
}
|
|
170
|
+
declare const Heading: ({ level, ...props }: HeadingProps) => react_jsx_runtime.JSX.Element;
|
|
171
|
+
|
|
172
|
+
interface TextProps extends TypographyProps {
|
|
173
|
+
size?: 'sm' | 'md' | 'lg';
|
|
174
|
+
}
|
|
175
|
+
declare const Text: ({ size, ...props }: TextProps) => react_jsx_runtime.JSX.Element;
|
|
176
|
+
|
|
177
|
+
declare const Lead: (props: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
178
|
+
|
|
179
|
+
declare const Muted: (props: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
180
|
+
|
|
181
|
+
declare const Strong: (props: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
182
|
+
|
|
183
|
+
declare const Caption: (props: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
184
|
+
|
|
185
|
+
declare const Blockquote: (props: TypographyProps) => react_jsx_runtime.JSX.Element;
|
|
186
|
+
|
|
187
|
+
interface CodeProps {
|
|
188
|
+
children: React.ReactNode;
|
|
189
|
+
sx?: SxProps$1;
|
|
190
|
+
}
|
|
191
|
+
declare const Code: ({ children, sx }: CodeProps) => react_jsx_runtime.JSX.Element;
|
|
192
|
+
|
|
193
|
+
interface ModalProps {
|
|
194
|
+
open: boolean;
|
|
195
|
+
onClose: () => void;
|
|
196
|
+
title?: string | any;
|
|
197
|
+
description?: string;
|
|
198
|
+
children?: React$1.ReactNode;
|
|
199
|
+
actions?: React$1.ReactNode;
|
|
200
|
+
showCloseIcon?: boolean;
|
|
201
|
+
maxWidth?: false | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
202
|
+
fullWidth?: boolean;
|
|
203
|
+
fullScreen?: boolean;
|
|
204
|
+
className?: string;
|
|
205
|
+
allowActionBorder?: boolean;
|
|
206
|
+
}
|
|
207
|
+
declare const Modal: React$1.FC<ModalProps>;
|
|
208
|
+
|
|
209
|
+
interface DrawerProps {
|
|
210
|
+
open: boolean;
|
|
211
|
+
onClose: () => void;
|
|
212
|
+
title?: string;
|
|
213
|
+
children: React$1.ReactNode;
|
|
214
|
+
footer?: React$1.ReactNode;
|
|
215
|
+
side?: "left" | "right" | "top" | "bottom";
|
|
216
|
+
className?: string;
|
|
217
|
+
showCloseIcon?: boolean;
|
|
218
|
+
withOverlay?: boolean;
|
|
219
|
+
stickyFooter?: boolean;
|
|
220
|
+
width?: number | string;
|
|
221
|
+
height?: number | string;
|
|
222
|
+
}
|
|
223
|
+
declare const Drawer: React$1.FC<DrawerProps>;
|
|
224
|
+
|
|
225
|
+
type Position = "start" | "end";
|
|
226
|
+
interface CustomColor {
|
|
227
|
+
bg?: string;
|
|
228
|
+
text?: string;
|
|
229
|
+
border?: string;
|
|
230
|
+
}
|
|
231
|
+
interface BadgeProps extends VariantProps<typeof badgeVariants> {
|
|
232
|
+
label: string;
|
|
233
|
+
icon?: React__default.ReactNode;
|
|
234
|
+
iconPosition?: Position;
|
|
235
|
+
dot?: boolean;
|
|
236
|
+
dotPosition?: Position;
|
|
237
|
+
color?: CustomColor;
|
|
238
|
+
className?: string;
|
|
239
|
+
}
|
|
240
|
+
declare const badgeVariants: (props?: ({
|
|
241
|
+
variant?: "text" | "outlined" | "contained" | null | undefined;
|
|
242
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
243
|
+
type?: "default" | "success" | "error" | "info" | "warning" | null | undefined;
|
|
244
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
245
|
+
declare const Badge: ({ label, icon, iconPosition, dot, dotPosition, variant, size, type, color, className, }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
246
|
+
|
|
247
|
+
type InputSize$3 = "xs" | "sm" | "md" | "lg";
|
|
248
|
+
type InputVariant$1 = "outlined" | "contained";
|
|
249
|
+
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
250
|
+
label?: string;
|
|
251
|
+
floatingLabel?: boolean;
|
|
252
|
+
description?: string;
|
|
253
|
+
error?: string;
|
|
254
|
+
leftIcon?: React$1.ReactNode;
|
|
255
|
+
rightIcon?: React$1.ReactNode;
|
|
256
|
+
size?: InputSize$3;
|
|
257
|
+
variant?: InputVariant$1;
|
|
258
|
+
allowedPattern?: "number" | "alpha" | RegExp;
|
|
259
|
+
onLeftIconClick?: () => void;
|
|
260
|
+
onRightIconClick?: () => void;
|
|
261
|
+
debounceDelay?: number;
|
|
262
|
+
onDebouncedChange?: (value: string) => void;
|
|
263
|
+
wordLimit?: number;
|
|
264
|
+
focusOutline?: boolean;
|
|
265
|
+
}
|
|
266
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
|
|
267
|
+
|
|
268
|
+
type NoticeVariant = 'success' | 'error' | 'warning' | 'info';
|
|
269
|
+
type NoticeSize = 'sm' | 'md' | 'lg';
|
|
270
|
+
type NoticeStyleType = 'contained' | 'outlined';
|
|
271
|
+
interface NoticeProps {
|
|
272
|
+
title?: string;
|
|
273
|
+
message: string;
|
|
274
|
+
variant?: NoticeVariant;
|
|
275
|
+
size?: NoticeSize;
|
|
276
|
+
styleType?: NoticeStyleType;
|
|
277
|
+
onClose?: () => void;
|
|
278
|
+
className?: string;
|
|
279
|
+
showCloseIcon?: boolean;
|
|
280
|
+
}
|
|
281
|
+
declare const Notice: React$1.FC<NoticeProps>;
|
|
282
|
+
|
|
283
|
+
type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
284
|
+
type DateRange = {
|
|
285
|
+
from: Date;
|
|
286
|
+
to: Date;
|
|
287
|
+
};
|
|
288
|
+
type DisabledDateObject = {
|
|
289
|
+
dayOfWeek: DayOfWeek[];
|
|
290
|
+
} | {
|
|
291
|
+
before: Date;
|
|
292
|
+
} | {
|
|
293
|
+
after: Date;
|
|
294
|
+
} | {
|
|
295
|
+
before: Date;
|
|
296
|
+
after: Date;
|
|
297
|
+
} | DateRange;
|
|
298
|
+
type DisabledProp = boolean | Date | Date[] | DisabledDateObject;
|
|
299
|
+
type InputSize$2 = "xs" | "sm" | "md" | "lg";
|
|
300
|
+
type DatePickerVariant$1 = "outlined" | "contained";
|
|
301
|
+
interface DatePickerProps {
|
|
302
|
+
label?: string;
|
|
303
|
+
value?: Date;
|
|
304
|
+
onChange?: (date: Date | undefined) => void;
|
|
305
|
+
placeholder?: string;
|
|
306
|
+
required?: boolean;
|
|
307
|
+
description?: string;
|
|
308
|
+
error?: string;
|
|
309
|
+
disabled?: boolean;
|
|
310
|
+
variant?: DatePickerVariant$1;
|
|
311
|
+
isClerable?: boolean;
|
|
312
|
+
size?: InputSize$2;
|
|
313
|
+
className?: string;
|
|
314
|
+
disableRange?: DisabledProp;
|
|
315
|
+
floatingLabel?: boolean;
|
|
316
|
+
}
|
|
317
|
+
declare const DatePicker: React$1.FC<DatePickerProps>;
|
|
318
|
+
|
|
319
|
+
type InputSize$1 = "xs" | "sm" | "md" | "lg";
|
|
320
|
+
type DatePickerVariant = "outlined" | "contained";
|
|
321
|
+
interface DateRangePickerProps {
|
|
322
|
+
label?: string;
|
|
323
|
+
value?: {
|
|
324
|
+
from: Date;
|
|
325
|
+
to: Date;
|
|
326
|
+
};
|
|
327
|
+
onChange?: (range: {
|
|
328
|
+
from: Date;
|
|
329
|
+
to: Date;
|
|
330
|
+
} | undefined) => void;
|
|
331
|
+
placeholder?: string;
|
|
332
|
+
required?: boolean;
|
|
333
|
+
description?: string;
|
|
334
|
+
error?: string;
|
|
335
|
+
disabled?: boolean;
|
|
336
|
+
variant?: DatePickerVariant;
|
|
337
|
+
size?: InputSize$1;
|
|
338
|
+
className?: string;
|
|
339
|
+
floatingLabel?: boolean;
|
|
340
|
+
}
|
|
341
|
+
declare const DateRangePicker: React$1.FC<DateRangePickerProps>;
|
|
342
|
+
|
|
343
|
+
type FieldType = "text" | "number" | "textarea" | "select" | "multiselect" | "multi-select" | "timepicker" | "time" | "radio" | "switch" | "checkbox" | "date" | "daterange" | "file" | "custom";
|
|
344
|
+
type FormField = {
|
|
345
|
+
name: string;
|
|
346
|
+
label: string;
|
|
347
|
+
type: FieldType;
|
|
348
|
+
placeholder?: string;
|
|
349
|
+
required?: boolean;
|
|
350
|
+
defaultValue?: any;
|
|
351
|
+
options?: {
|
|
352
|
+
label: string;
|
|
353
|
+
value: any;
|
|
354
|
+
}[];
|
|
355
|
+
validation?: any;
|
|
356
|
+
visibleIf?: (values: any) => boolean;
|
|
357
|
+
component?: React__default.ReactNode;
|
|
358
|
+
colSpan?: number;
|
|
359
|
+
inputProps?: Record<string, any>;
|
|
360
|
+
controllerProps?: Partial<React__default.ComponentProps<typeof Controller>>;
|
|
361
|
+
};
|
|
362
|
+
type FormProps = {
|
|
363
|
+
schema: FormField[];
|
|
364
|
+
form: UseFormReturn;
|
|
365
|
+
layout?: "vertical" | "grid";
|
|
366
|
+
columns?: number;
|
|
367
|
+
className?: string;
|
|
368
|
+
showSubmitButton?: boolean;
|
|
369
|
+
onSubmit?: (data: any) => void;
|
|
370
|
+
};
|
|
371
|
+
declare const Form: React__default.FC<FormProps>;
|
|
372
|
+
|
|
373
|
+
type CheckboxSize = "sm" | "md" | "lg";
|
|
374
|
+
interface CheckboxProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
375
|
+
label?: React$1.ReactNode;
|
|
376
|
+
description?: React$1.ReactNode;
|
|
377
|
+
size?: CheckboxSize;
|
|
378
|
+
indeterminate?: boolean;
|
|
379
|
+
error?: boolean;
|
|
380
|
+
}
|
|
381
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
382
|
+
|
|
383
|
+
interface CheckboxGroupOption {
|
|
384
|
+
label: string;
|
|
385
|
+
value: string;
|
|
386
|
+
description?: string;
|
|
387
|
+
disabled?: boolean;
|
|
388
|
+
}
|
|
389
|
+
type Layout = "box" | "list";
|
|
390
|
+
type Direction = "vertical" | "horizontal";
|
|
391
|
+
interface CheckboxGroupProps {
|
|
392
|
+
name: string;
|
|
393
|
+
label?: string;
|
|
394
|
+
description?: string;
|
|
395
|
+
error?: boolean;
|
|
396
|
+
options: CheckboxGroupOption[];
|
|
397
|
+
value?: string[];
|
|
398
|
+
defaultValue?: string[];
|
|
399
|
+
onChange?: (selected: string[]) => void;
|
|
400
|
+
direction?: Direction;
|
|
401
|
+
layout?: Layout;
|
|
402
|
+
disabled?: boolean;
|
|
403
|
+
size?: CheckboxProps["size"];
|
|
404
|
+
className?: string;
|
|
405
|
+
columns?: number;
|
|
406
|
+
}
|
|
407
|
+
declare const CheckboxGroup: React$1.FC<CheckboxGroupProps>;
|
|
408
|
+
|
|
409
|
+
interface RadioProps {
|
|
410
|
+
label?: string;
|
|
411
|
+
description?: string;
|
|
412
|
+
name?: string;
|
|
413
|
+
checked?: boolean;
|
|
414
|
+
defaultChecked?: boolean;
|
|
415
|
+
onChange?: (event: React__default.ChangeEvent<HTMLInputElement>, checked: boolean) => void;
|
|
416
|
+
disabled?: boolean;
|
|
417
|
+
required?: boolean;
|
|
418
|
+
error?: boolean;
|
|
419
|
+
helperText?: string;
|
|
420
|
+
size?: 'small' | 'medium';
|
|
421
|
+
color?: 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
422
|
+
sx?: SxProps;
|
|
423
|
+
radioSx?: SxProps;
|
|
424
|
+
labelSx?: SxProps;
|
|
425
|
+
}
|
|
426
|
+
declare const Radio: React__default.ForwardRefExoticComponent<RadioProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
427
|
+
|
|
428
|
+
interface PopupConfirmProps {
|
|
429
|
+
open: boolean;
|
|
430
|
+
onClose: () => void;
|
|
431
|
+
title?: string | React__default.ReactNode;
|
|
432
|
+
message: string | React__default.ReactNode;
|
|
433
|
+
description?: string;
|
|
434
|
+
confirmText?: string;
|
|
435
|
+
cancelText?: string;
|
|
436
|
+
confirmVariant?: 'text' | 'outlined' | 'contained';
|
|
437
|
+
cancelVariant?: 'text' | 'outlined' | 'contained';
|
|
438
|
+
confirmColor?: 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
439
|
+
cancelColor?: 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
440
|
+
loading?: boolean;
|
|
441
|
+
loadingText?: string;
|
|
442
|
+
icon?: React__default.ReactNode;
|
|
443
|
+
maxWidth?: false | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
444
|
+
fullWidth?: boolean;
|
|
445
|
+
showCloseIcon?: boolean;
|
|
446
|
+
confirmSize?: 'small' | 'medium' | 'large';
|
|
447
|
+
cancelSize?: 'small' | 'medium' | 'large';
|
|
448
|
+
onConfirm: () => void | Promise<void>;
|
|
449
|
+
onCancel?: () => void;
|
|
450
|
+
children?: React__default.ReactNode;
|
|
451
|
+
className?: string;
|
|
452
|
+
actionsClassName?: string;
|
|
453
|
+
messageClassName?: string;
|
|
454
|
+
reverseActions?: boolean;
|
|
455
|
+
singleAction?: boolean;
|
|
456
|
+
variant?: 'default' | 'delete' | 'save' | 'warning' | 'info' | 'success' | 'error';
|
|
457
|
+
}
|
|
458
|
+
declare const PopupConfirm: React__default.FC<PopupConfirmProps>;
|
|
459
|
+
|
|
460
|
+
type List = {
|
|
461
|
+
list: Record<string, any>[];
|
|
462
|
+
};
|
|
463
|
+
interface GlobalMenuSearchComponentProps extends List {
|
|
464
|
+
list: Record<string, any>[];
|
|
465
|
+
delay?: number;
|
|
466
|
+
placeholder?: string;
|
|
467
|
+
popInputPlaceholder?: string;
|
|
468
|
+
history: any;
|
|
469
|
+
}
|
|
470
|
+
declare const GlobalMenuSearch: React__default.FC<GlobalMenuSearchComponentProps>;
|
|
471
|
+
|
|
472
|
+
type AppListItem = {
|
|
473
|
+
[key: string]: any;
|
|
474
|
+
};
|
|
475
|
+
interface AppListProps {
|
|
476
|
+
apps: AppListItem[];
|
|
477
|
+
icon?: ElementType;
|
|
478
|
+
urlKey?: string;
|
|
479
|
+
nameKey?: string;
|
|
480
|
+
appIconKey?: string;
|
|
481
|
+
iconProps?: object;
|
|
482
|
+
popoverProps?: object;
|
|
483
|
+
listProps?: object;
|
|
484
|
+
listItemProps?: object;
|
|
485
|
+
listItemTextProps?: object;
|
|
486
|
+
width?: number | string;
|
|
487
|
+
maxWidth?: number | string;
|
|
488
|
+
minWidth?: number | string;
|
|
489
|
+
padding?: number;
|
|
490
|
+
border?: boolean;
|
|
491
|
+
target?: '_blank' | '_self' | '_parent' | '_top' | 'framename';
|
|
492
|
+
}
|
|
493
|
+
declare const AppList: React__default.FC<AppListProps>;
|
|
494
|
+
|
|
495
|
+
interface Column {
|
|
496
|
+
id: string;
|
|
497
|
+
header: string;
|
|
498
|
+
accessor: string;
|
|
499
|
+
width?: number;
|
|
500
|
+
minWidth?: number;
|
|
501
|
+
maxWidth?: number;
|
|
502
|
+
sticky?: 'left' | 'right';
|
|
503
|
+
sortable?: boolean;
|
|
504
|
+
filterable?: boolean;
|
|
505
|
+
hidden?: boolean;
|
|
506
|
+
align?: 'left' | 'center' | 'right';
|
|
507
|
+
render?: (value: any, row: any, index: number) => React__default.ReactNode;
|
|
508
|
+
}
|
|
509
|
+
interface TableData {
|
|
510
|
+
id: string;
|
|
511
|
+
[key: string]: any;
|
|
512
|
+
_expanded?: boolean;
|
|
513
|
+
_selected?: boolean;
|
|
514
|
+
_children?: TableData[];
|
|
515
|
+
}
|
|
516
|
+
interface StickyConfig {
|
|
517
|
+
left?: string[];
|
|
518
|
+
right?: string[];
|
|
519
|
+
}
|
|
520
|
+
interface BulkAction$1 {
|
|
521
|
+
label: string;
|
|
522
|
+
icon?: React__default.ReactNode;
|
|
523
|
+
onClick: (selectedIds: string[]) => void;
|
|
524
|
+
variant?: 'primary' | 'secondary' | 'danger';
|
|
525
|
+
disabled?: boolean;
|
|
526
|
+
}
|
|
527
|
+
interface TableProps {
|
|
528
|
+
columns: Column[];
|
|
529
|
+
data: TableData[];
|
|
530
|
+
loading?: boolean;
|
|
531
|
+
pagination?: {
|
|
532
|
+
page: number;
|
|
533
|
+
pageSize: number;
|
|
534
|
+
total: number;
|
|
535
|
+
onPageChange: (page: number) => void;
|
|
536
|
+
onPageSizeChange: (size: number) => void;
|
|
537
|
+
};
|
|
538
|
+
selection?: {
|
|
539
|
+
enabled: boolean;
|
|
540
|
+
selectedRows: string[];
|
|
541
|
+
onSelectionChange: (selectedIds: string[]) => void;
|
|
542
|
+
};
|
|
543
|
+
sorting?: {
|
|
544
|
+
sortBy: string;
|
|
545
|
+
sortOrder: 'asc' | 'desc';
|
|
546
|
+
onSortChange: (sortBy: string, order: 'asc' | 'desc') => void;
|
|
547
|
+
};
|
|
548
|
+
filtering?: {
|
|
549
|
+
filters: Record<string, any>;
|
|
550
|
+
onFilterChange: (filters: Record<string, any>) => void;
|
|
551
|
+
};
|
|
552
|
+
expansion?: {
|
|
553
|
+
expandedRows: string[];
|
|
554
|
+
onExpansionChange: (expandedIds: string[]) => void;
|
|
555
|
+
renderExpandedRow: (row: TableData) => React__default.ReactNode;
|
|
556
|
+
};
|
|
557
|
+
virtualization?: {
|
|
558
|
+
enabled: boolean;
|
|
559
|
+
rowHeight?: number;
|
|
560
|
+
overscan?: number;
|
|
561
|
+
};
|
|
562
|
+
onRowClick?: (row: TableData) => void;
|
|
563
|
+
className?: string;
|
|
564
|
+
stickyColumns?: StickyConfig;
|
|
565
|
+
bulkActions?: BulkAction$1[];
|
|
566
|
+
isRowSelectable?: (row: TableData) => boolean;
|
|
567
|
+
variant?: 'standard' | 'compact' | 'striped';
|
|
568
|
+
}
|
|
569
|
+
declare const Table: React__default.FC<TableProps>;
|
|
570
|
+
|
|
571
|
+
interface BulkAction {
|
|
572
|
+
id: string;
|
|
573
|
+
label: string;
|
|
574
|
+
icon?: React__default.ReactNode;
|
|
575
|
+
onClick: (selectedIds: string[]) => void;
|
|
576
|
+
disabled?: boolean;
|
|
577
|
+
variant?: 'primary' | 'danger' | 'default';
|
|
578
|
+
type?: 'button' | 'dropdown';
|
|
579
|
+
onOpen?: () => void;
|
|
580
|
+
}
|
|
581
|
+
interface BulkActionsBarProps {
|
|
582
|
+
selectedRows: string[];
|
|
583
|
+
totalRows: number;
|
|
584
|
+
bulkActions: BulkAction[];
|
|
585
|
+
clearSelection: () => void;
|
|
586
|
+
maxVisibleActions?: number;
|
|
587
|
+
}
|
|
588
|
+
declare const BulkActionsBar: React__default.FC<BulkActionsBarProps>;
|
|
589
|
+
|
|
590
|
+
type InputSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
591
|
+
type InputVariant = 'outlined' | 'contained';
|
|
592
|
+
interface TimePickerProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value' | 'defaultValue'> {
|
|
593
|
+
label?: string;
|
|
594
|
+
floatingLabel?: boolean;
|
|
595
|
+
description?: string;
|
|
596
|
+
error?: string;
|
|
597
|
+
size?: InputSize;
|
|
598
|
+
variant?: InputVariant;
|
|
599
|
+
focusOutline?: boolean;
|
|
600
|
+
value?: Dayjs | null;
|
|
601
|
+
defaultValue?: Dayjs | null;
|
|
602
|
+
onChange?: (time: Dayjs | null, timeString: string) => void;
|
|
603
|
+
format?: string;
|
|
604
|
+
use12Hours?: boolean;
|
|
605
|
+
hourStep?: number;
|
|
606
|
+
minuteStep?: number;
|
|
607
|
+
secondStep?: number;
|
|
608
|
+
needConfirm?: boolean;
|
|
609
|
+
showNow?: boolean;
|
|
610
|
+
okText?: string;
|
|
611
|
+
closeText?: string;
|
|
612
|
+
nowText?: string;
|
|
613
|
+
amText?: string;
|
|
614
|
+
pmText?: string;
|
|
615
|
+
hourLabel?: string;
|
|
616
|
+
minuteLabel?: string;
|
|
617
|
+
secondLabel?: string;
|
|
618
|
+
disabledHours?: (h: number) => boolean;
|
|
619
|
+
disabledMinutes?: (m: number) => boolean;
|
|
620
|
+
disabledSeconds?: (s: number) => boolean;
|
|
621
|
+
allowClear?: boolean;
|
|
622
|
+
}
|
|
623
|
+
declare const TimePicker: React$1.ForwardRefExoticComponent<TimePickerProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
624
|
+
|
|
625
|
+
interface BulkActionConfig {
|
|
626
|
+
key: string;
|
|
627
|
+
label: string;
|
|
628
|
+
icon: React__default.ComponentType<{
|
|
629
|
+
className?: string;
|
|
630
|
+
}>;
|
|
631
|
+
variant?: 'default' | 'destructive' | 'secondary';
|
|
632
|
+
}
|
|
633
|
+
interface PaginationConfig {
|
|
634
|
+
enabled?: boolean;
|
|
635
|
+
totalCount?: number;
|
|
636
|
+
currentPage?: number;
|
|
637
|
+
pageSize?: number;
|
|
638
|
+
pageSizeOptions?: number[];
|
|
639
|
+
initialPageSize?: number;
|
|
640
|
+
onPageChange?: (pageIndex: number, pageSize: number) => void;
|
|
641
|
+
onPageSizeChange?: (pageSize: number) => void;
|
|
642
|
+
showInfo?: boolean;
|
|
643
|
+
showPageSizeSelector?: boolean;
|
|
644
|
+
showGoToPage?: boolean;
|
|
645
|
+
}
|
|
646
|
+
interface SelectionConfig<TData> {
|
|
647
|
+
enabled?: boolean;
|
|
648
|
+
rowIdAccessor?: (row: TData) => string;
|
|
649
|
+
onBulkAction?: (ids: string[], action: string) => void;
|
|
650
|
+
bulkActions?: BulkActionConfig[];
|
|
651
|
+
selectionText?: (count: number) => string;
|
|
652
|
+
}
|
|
653
|
+
interface ExpandConfig<TData> {
|
|
654
|
+
enabled?: boolean;
|
|
655
|
+
renderExpanded?: (row: TData) => React__default.ReactNode;
|
|
656
|
+
}
|
|
657
|
+
interface SortingConfig {
|
|
658
|
+
enabled?: boolean;
|
|
659
|
+
initialSorting?: SortingState;
|
|
660
|
+
onSort?: (sorting: SortingState) => void;
|
|
661
|
+
}
|
|
662
|
+
interface LoadingConfig {
|
|
663
|
+
loading?: boolean;
|
|
664
|
+
fetched?: boolean;
|
|
665
|
+
loadingRows?: number;
|
|
666
|
+
emptyMessage?: string;
|
|
667
|
+
}
|
|
668
|
+
interface StylingConfig {
|
|
669
|
+
className?: string;
|
|
670
|
+
showColumnBorders?: boolean;
|
|
671
|
+
showRowBorders?: boolean;
|
|
672
|
+
stickyHeader?: boolean;
|
|
673
|
+
pinLeft?: number;
|
|
674
|
+
pinRight?: number;
|
|
675
|
+
}
|
|
676
|
+
interface DataTableProps<TData, TValue> {
|
|
677
|
+
columns: ColumnDef<TData, TValue>[];
|
|
678
|
+
data: TData[];
|
|
679
|
+
serverMode?: boolean;
|
|
680
|
+
pagination?: PaginationConfig;
|
|
681
|
+
selection?: SelectionConfig<TData>;
|
|
682
|
+
expansion?: ExpandConfig<TData>;
|
|
683
|
+
sorting?: SortingConfig;
|
|
684
|
+
loading?: LoadingConfig;
|
|
685
|
+
styling?: StylingConfig;
|
|
686
|
+
}
|
|
687
|
+
declare function DataTable<TData, TValue>({ columns, data, serverMode, pagination: paginationConfig, selection: selectionConfig, expansion: expansionConfig, sorting: sortingConfig, loading: loadingConfig, styling: stylingConfig, }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
688
|
+
|
|
689
|
+
type TabVariant = 'default' | 'pills' | 'outline' | 'underline' | 'ghost' | 'bordered';
|
|
690
|
+
type TabSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
691
|
+
interface TabProviderProps {
|
|
692
|
+
children: React__default.ReactNode;
|
|
693
|
+
defaultValue?: string;
|
|
694
|
+
value?: string;
|
|
695
|
+
onValueChange?: (value: string) => void;
|
|
696
|
+
variant?: TabVariant;
|
|
697
|
+
size?: TabSize;
|
|
698
|
+
orientation?: 'horizontal' | 'vertical';
|
|
699
|
+
}
|
|
700
|
+
interface TabListProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
701
|
+
children: React__default.ReactNode;
|
|
702
|
+
}
|
|
703
|
+
interface TabTriggerProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
704
|
+
value: string;
|
|
705
|
+
icon?: LucideIcon;
|
|
706
|
+
iconPosition?: 'left' | 'right';
|
|
707
|
+
badge?: number | string;
|
|
708
|
+
badgeVariant?: 'default' | 'secondary' | 'success' | 'warning' | 'error';
|
|
709
|
+
loading?: boolean;
|
|
710
|
+
children: React__default.ReactNode;
|
|
711
|
+
}
|
|
712
|
+
interface TabContentProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
713
|
+
value: string;
|
|
714
|
+
children: React__default.ReactNode;
|
|
715
|
+
forceMount?: boolean;
|
|
716
|
+
}
|
|
717
|
+
declare const Tab: {
|
|
718
|
+
Provider: React__default.FC<TabProviderProps>;
|
|
719
|
+
List: React__default.FC<TabListProps>;
|
|
720
|
+
Trigger: React__default.FC<TabTriggerProps>;
|
|
721
|
+
Content: React__default.FC<TabContentProps>;
|
|
722
|
+
};
|
|
723
|
+
|
|
724
|
+
interface TimelineItem {
|
|
725
|
+
key?: string | number;
|
|
726
|
+
children?: ReactNode;
|
|
727
|
+
color?: 'blue' | 'green' | 'red' | 'gray' | 'yellow' | 'purple' | string;
|
|
728
|
+
dot?: ReactNode;
|
|
729
|
+
label?: ReactNode;
|
|
730
|
+
position?: 'left' | 'right';
|
|
731
|
+
}
|
|
732
|
+
interface TimelineProps {
|
|
733
|
+
items?: TimelineItem[];
|
|
734
|
+
children?: ReactNode;
|
|
735
|
+
pending?: boolean | ReactNode;
|
|
736
|
+
pendingDot?: ReactNode;
|
|
737
|
+
reverse?: boolean;
|
|
738
|
+
mode?: 'left' | 'right' | 'alternate';
|
|
739
|
+
className?: string;
|
|
740
|
+
style?: CSSProperties;
|
|
741
|
+
}
|
|
742
|
+
declare const Timeline: React__default.FC<TimelineProps>;
|
|
743
|
+
|
|
744
|
+
interface UILibraryThemeProviderProps {
|
|
745
|
+
children: React__default.ReactNode;
|
|
746
|
+
primaryColor?: string;
|
|
747
|
+
secondaryColor?: string;
|
|
748
|
+
enableCssBaseline?: boolean;
|
|
749
|
+
}
|
|
750
|
+
declare const UILibraryThemeProvider: React__default.FC<UILibraryThemeProviderProps>;
|
|
751
|
+
|
|
752
|
+
declare module '@mui/material/styles' {
|
|
753
|
+
interface Theme {
|
|
754
|
+
radius: {
|
|
755
|
+
xs: string;
|
|
756
|
+
sm: string;
|
|
757
|
+
md: string;
|
|
758
|
+
lg: string;
|
|
759
|
+
xl: string;
|
|
760
|
+
full: string;
|
|
761
|
+
};
|
|
762
|
+
}
|
|
763
|
+
interface ThemeOptions {
|
|
764
|
+
radius?: {
|
|
765
|
+
xs?: string;
|
|
766
|
+
sm?: string;
|
|
767
|
+
md?: string;
|
|
768
|
+
lg?: string;
|
|
769
|
+
xl?: string;
|
|
770
|
+
full?: string;
|
|
771
|
+
};
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
interface ThemeConfig {
|
|
775
|
+
primaryColor?: string;
|
|
776
|
+
secondaryColor?: string;
|
|
777
|
+
}
|
|
778
|
+
declare const createCustomTheme: (config?: ThemeConfig) => Theme;
|
|
779
|
+
declare const theme: Theme;
|
|
780
|
+
|
|
781
|
+
declare const designTokens: {
|
|
782
|
+
colors: {
|
|
783
|
+
primary: {
|
|
784
|
+
50: string;
|
|
785
|
+
100: string;
|
|
786
|
+
500: string;
|
|
787
|
+
900: string;
|
|
788
|
+
};
|
|
789
|
+
secondary: {
|
|
790
|
+
50: string;
|
|
791
|
+
100: string;
|
|
792
|
+
500: string;
|
|
793
|
+
900: string;
|
|
794
|
+
};
|
|
795
|
+
neutral: {
|
|
796
|
+
50: string;
|
|
797
|
+
100: string;
|
|
798
|
+
200: string;
|
|
799
|
+
500: string;
|
|
800
|
+
900: string;
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
spacing: {
|
|
804
|
+
xs: string;
|
|
805
|
+
sm: string;
|
|
806
|
+
md: string;
|
|
807
|
+
lg: string;
|
|
808
|
+
xl: string;
|
|
809
|
+
};
|
|
810
|
+
radius: {
|
|
811
|
+
xs: string;
|
|
812
|
+
sm: string;
|
|
813
|
+
md: string;
|
|
814
|
+
lg: string;
|
|
815
|
+
xl: string;
|
|
816
|
+
full: string;
|
|
817
|
+
};
|
|
818
|
+
typography: {
|
|
819
|
+
fontFamily: string;
|
|
820
|
+
fontSize: {
|
|
821
|
+
xs: string;
|
|
822
|
+
sm: string;
|
|
823
|
+
md: string;
|
|
824
|
+
lg: string;
|
|
825
|
+
xl: string;
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
size: {
|
|
829
|
+
small: string;
|
|
830
|
+
medium: string;
|
|
831
|
+
large: string;
|
|
832
|
+
};
|
|
833
|
+
};
|
|
834
|
+
|
|
835
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
836
|
+
declare function useStableId(prefix?: string): string;
|
|
837
|
+
|
|
838
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AppList, Badge, Blockquote, BulkActionsBar, Button, Caption, CardActions, CardContent, CardHeader, CardImage, CardRoot, CardSkeleton, Checkbox, CheckboxGroup, Code, DataTable, DatePicker, DateRangePicker, Drawer, Form, GlobalMenuSearch, Heading, Input, Lead, Modal, Muted, Notice, Popover, PopupConfirm, Radio, RadioGroup, Select, Strong, Switch, Tab, Table, Text, TimePicker, Timeline, UILibraryThemeProvider, cn, createCustomTheme, designTokens, theme, useStableId };
|
|
839
|
+
export type { AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps, AppListProps, BadgeProps, BulkActionsBarProps, ButtonProps, CardRootProps, CheckboxGroupProps, CheckboxProps, DataTableProps, DatePickerProps, DateRangePickerProps, DrawerProps, FormProps, GlobalMenuSearchComponentProps, InputProps, ModalProps, NoticeProps, PopoverProps, PopupConfirmProps, RadioGroupProps, RadioOption, RadioProps, SelectProps, SwitchProps, TabSize, TabTriggerProps, TabVariant, TableProps, ThemeConfig, TimePickerProps, TimelineItem as TimelineItemProps, TimelineProps, UILibraryThemeProviderProps };
|