@zimyo/ui 1.10.14 → 1.11.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/package.json +11 -2
- package/dist/chunks/Calender-1c96e22d.esm.js +0 -1
- package/dist/chunks/Calender-ed383b1f.js +0 -1
- package/dist/chunks/Heading-54a5488c.js +0 -1
- package/dist/chunks/Heading-b91e2c5f.esm.js +0 -1
- package/dist/chunks/Muted-619e3b72.js +0 -1
- package/dist/chunks/Muted-bfc4985b.esm.js +0 -1
- package/dist/chunks/Text-8c4fb3f8.js +0 -1
- package/dist/chunks/Text-f18219bd.esm.js +0 -1
- package/dist/chunks/assertThisInitialized-406be690.esm.js +0 -1
- package/dist/chunks/assertThisInitialized-d31798d4.js +0 -1
- package/dist/chunks/index-32c3a4e2.esm.js +0 -1
- package/dist/chunks/index-5b35e7d9.esm.js +0 -1
- package/dist/chunks/index-76f24a60.js +0 -1
- package/dist/chunks/index-90b71f01.js +0 -1
- package/dist/chunks/index-a7c3d9a4.esm.js +0 -1
- package/dist/chunks/index-ca2c3710.js +0 -1
- package/dist/chunks/lucide-493ccaad.js +0 -26
- package/dist/chunks/lucide-8c9441ea.esm.js +0 -26
- package/dist/chunks/tslib.es6-49e5b83c.esm.js +0 -1
- package/dist/chunks/tslib.es6-fa3b2784.js +0 -1
- package/dist/chunks/typeof-b30b964a.js +0 -1
- package/dist/chunks/typeof-cc63ab7d.esm.js +0 -1
- package/dist/components/Accordion/index.d.ts +0 -34
- package/dist/components/Accordion/index.esm.js +0 -1
- package/dist/components/Accordion/index.js +0 -1
- package/dist/components/AppList/index.d.ts +0 -27
- package/dist/components/AppList/index.esm.js +0 -1
- package/dist/components/AppList/index.js +0 -1
- package/dist/components/Badge/index.d.ts +0 -29
- package/dist/components/Badge/index.esm.js +0 -1
- package/dist/components/Badge/index.js +0 -1
- package/dist/components/BulkActionsBar/index.d.ts +0 -23
- package/dist/components/BulkActionsBar/index.esm.js +0 -1
- package/dist/components/BulkActionsBar/index.js +0 -1
- package/dist/components/Button/index.d.ts +0 -15
- package/dist/components/Button/index.esm.js +0 -1
- package/dist/components/Button/index.js +0 -1
- package/dist/components/Card/index.d.ts +0 -73
- package/dist/components/Card/index.esm.js +0 -1
- package/dist/components/Card/index.js +0 -1
- package/dist/components/Checkbox/index.d.ts +0 -14
- package/dist/components/Checkbox/index.esm.js +0 -1
- package/dist/components/Checkbox/index.js +0 -1
- package/dist/components/CheckboxGroup/index.d.ts +0 -31
- package/dist/components/CheckboxGroup/index.esm.js +0 -1
- package/dist/components/CheckboxGroup/index.js +0 -1
- package/dist/components/DataTable/index.d.ts +0 -70
- package/dist/components/DataTable/index.esm.js +0 -23
- package/dist/components/DataTable/index.js +0 -22
- package/dist/components/DatePicker/index.d.ts +0 -40
- package/dist/components/DatePicker/index.esm.js +0 -1
- package/dist/components/DatePicker/index.js +0 -1
- package/dist/components/DateRangePicker/index.d.ts +0 -29
- package/dist/components/DateRangePicker/index.esm.js +0 -1
- package/dist/components/DateRangePicker/index.js +0 -1
- package/dist/components/Form/index.d.ts +0 -35
- package/dist/components/Form/index.esm.js +0 -1
- package/dist/components/Form/index.js +0 -1
- package/dist/components/GlobalMenuSearch/index.d.ts +0 -16
- package/dist/components/GlobalMenuSearch/index.esm.js +0 -1
- package/dist/components/GlobalMenuSearch/index.js +0 -1
- package/dist/components/Input/index.d.ts +0 -25
- package/dist/components/Input/index.esm.js +0 -1
- package/dist/components/Input/index.js +0 -1
- package/dist/components/Modal/index.d.ts +0 -20
- package/dist/components/Modal/index.esm.js +0 -1
- package/dist/components/Modal/index.js +0 -1
- package/dist/components/Notice/index.d.ts +0 -19
- package/dist/components/Notice/index.esm.js +0 -1
- package/dist/components/Notice/index.js +0 -1
- package/dist/components/Popover/index.d.ts +0 -19
- package/dist/components/Popover/index.esm.js +0 -1
- package/dist/components/Popover/index.js +0 -1
- package/dist/components/PopupConfirm/index.d.ts +0 -36
- package/dist/components/PopupConfirm/index.esm.js +0 -1
- package/dist/components/PopupConfirm/index.js +0 -1
- package/dist/components/Radio/index.d.ts +0 -24
- package/dist/components/Radio/index.esm.js +0 -1
- package/dist/components/Radio/index.js +0 -1
- package/dist/components/RadioGroup/index.d.ts +0 -31
- package/dist/components/RadioGroup/index.esm.js +0 -1
- package/dist/components/RadioGroup/index.js +0 -1
- package/dist/components/Select/index.d.ts +0 -36
- package/dist/components/Select/index.esm.js +0 -1
- package/dist/components/Select/index.js +0 -1
- package/dist/components/Switch/index.d.ts +0 -15
- package/dist/components/Switch/index.esm.js +0 -1
- package/dist/components/Switch/index.js +0 -1
- package/dist/components/Tab/index.d.ts +0 -40
- package/dist/components/Tab/index.esm.js +0 -1
- package/dist/components/Tab/index.js +0 -1
- package/dist/components/Table/index.d.ts +0 -80
- package/dist/components/Table/index.esm.js +0 -1
- package/dist/components/Table/index.js +0 -1
- package/dist/components/TimePicker/index.d.ts +0 -40
- package/dist/components/TimePicker/index.esm.js +0 -1
- package/dist/components/TimePicker/index.js +0 -1
- package/dist/components/Timeline/index.d.ts +0 -26
- package/dist/components/Timeline/index.esm.js +0 -1
- package/dist/components/Timeline/index.js +0 -1
- package/dist/components/Typography/index.d.ts +0 -30
- package/dist/components/Typography/index.esm.js +0 -1
- package/dist/components/Typography/index.js +0 -1
- package/dist/index.d.ts +0 -842
- package/dist/index.esm.js +0 -1
- package/dist/index.js +0 -1
- package/dist/theme/index.d.ts +0 -96
- package/dist/theme/index.esm.js +0 -1
- package/dist/theme/index.js +0 -1
package/dist/index.d.ts
DELETED
|
@@ -1,842 +0,0 @@
|
|
|
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
|
-
isClearable?: boolean;
|
|
341
|
-
}
|
|
342
|
-
declare const DateRangePicker: React$1.FC<DateRangePickerProps>;
|
|
343
|
-
|
|
344
|
-
type FieldType = "text" | "number" | "textarea" | "select" | "multiselect" | "multi-select" | "timepicker" | "time" | "radio" | "switch" | "checkbox" | "date" | "daterange" | "file" | "custom";
|
|
345
|
-
type FormField = {
|
|
346
|
-
name: string;
|
|
347
|
-
label: string;
|
|
348
|
-
type: FieldType;
|
|
349
|
-
placeholder?: string;
|
|
350
|
-
required?: boolean;
|
|
351
|
-
defaultValue?: any;
|
|
352
|
-
options?: {
|
|
353
|
-
label: string;
|
|
354
|
-
value: any;
|
|
355
|
-
}[];
|
|
356
|
-
validation?: any;
|
|
357
|
-
visibleIf?: (values: any) => boolean;
|
|
358
|
-
component?: React__default.ReactNode;
|
|
359
|
-
colSpan?: number;
|
|
360
|
-
inputProps?: Record<string, any>;
|
|
361
|
-
controllerProps?: Partial<React__default.ComponentProps<typeof Controller>>;
|
|
362
|
-
};
|
|
363
|
-
type FormProps = {
|
|
364
|
-
schema: FormField[];
|
|
365
|
-
form: UseFormReturn;
|
|
366
|
-
layout?: "vertical" | "grid";
|
|
367
|
-
columns?: number;
|
|
368
|
-
className?: string;
|
|
369
|
-
showSubmitButton?: boolean;
|
|
370
|
-
onSubmit?: (data: any) => void;
|
|
371
|
-
};
|
|
372
|
-
declare const Form: React__default.FC<FormProps>;
|
|
373
|
-
|
|
374
|
-
type CheckboxSize = "sm" | "md" | "lg";
|
|
375
|
-
interface CheckboxProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
|
|
376
|
-
label?: React$1.ReactNode;
|
|
377
|
-
description?: React$1.ReactNode;
|
|
378
|
-
size?: CheckboxSize;
|
|
379
|
-
indeterminate?: boolean;
|
|
380
|
-
error?: boolean;
|
|
381
|
-
}
|
|
382
|
-
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
383
|
-
|
|
384
|
-
interface CheckboxGroupOption {
|
|
385
|
-
label: string;
|
|
386
|
-
value: string;
|
|
387
|
-
description?: string;
|
|
388
|
-
disabled?: boolean;
|
|
389
|
-
}
|
|
390
|
-
type Layout = "box" | "list";
|
|
391
|
-
type Direction = "vertical" | "horizontal";
|
|
392
|
-
interface CheckboxGroupProps {
|
|
393
|
-
name: string;
|
|
394
|
-
label?: string;
|
|
395
|
-
description?: string;
|
|
396
|
-
error?: boolean;
|
|
397
|
-
options: CheckboxGroupOption[];
|
|
398
|
-
value?: string[];
|
|
399
|
-
defaultValue?: string[];
|
|
400
|
-
onChange?: (selected: string[]) => void;
|
|
401
|
-
direction?: Direction;
|
|
402
|
-
layout?: Layout;
|
|
403
|
-
disabled?: boolean;
|
|
404
|
-
size?: CheckboxProps["size"];
|
|
405
|
-
className?: string;
|
|
406
|
-
columns?: number;
|
|
407
|
-
}
|
|
408
|
-
declare const CheckboxGroup: React$1.FC<CheckboxGroupProps>;
|
|
409
|
-
|
|
410
|
-
interface RadioProps {
|
|
411
|
-
label?: string;
|
|
412
|
-
description?: string;
|
|
413
|
-
name?: string;
|
|
414
|
-
checked?: boolean;
|
|
415
|
-
defaultChecked?: boolean;
|
|
416
|
-
onChange?: (event: React__default.ChangeEvent<HTMLInputElement>, checked: boolean) => void;
|
|
417
|
-
disabled?: boolean;
|
|
418
|
-
required?: boolean;
|
|
419
|
-
error?: boolean;
|
|
420
|
-
helperText?: string;
|
|
421
|
-
size?: 'small' | 'medium';
|
|
422
|
-
color?: 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
423
|
-
sx?: SxProps;
|
|
424
|
-
radioSx?: SxProps;
|
|
425
|
-
labelSx?: SxProps;
|
|
426
|
-
}
|
|
427
|
-
declare const Radio: React__default.ForwardRefExoticComponent<RadioProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
428
|
-
|
|
429
|
-
interface PopupConfirmProps {
|
|
430
|
-
open: boolean;
|
|
431
|
-
onClose: () => void;
|
|
432
|
-
title?: string | React__default.ReactNode;
|
|
433
|
-
message: string | React__default.ReactNode;
|
|
434
|
-
description?: string;
|
|
435
|
-
confirmText?: string;
|
|
436
|
-
cancelText?: string;
|
|
437
|
-
confirmVariant?: 'text' | 'outlined' | 'contained';
|
|
438
|
-
cancelVariant?: 'text' | 'outlined' | 'contained';
|
|
439
|
-
confirmColor?: 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
440
|
-
cancelColor?: 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
|
|
441
|
-
loading?: boolean;
|
|
442
|
-
loadingText?: string;
|
|
443
|
-
icon?: React__default.ReactNode;
|
|
444
|
-
maxWidth?: false | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
445
|
-
fullWidth?: boolean;
|
|
446
|
-
showCloseIcon?: boolean;
|
|
447
|
-
confirmSize?: 'small' | 'medium' | 'large';
|
|
448
|
-
cancelSize?: 'small' | 'medium' | 'large';
|
|
449
|
-
onConfirm: () => void | Promise<void>;
|
|
450
|
-
onCancel?: () => void;
|
|
451
|
-
children?: React__default.ReactNode;
|
|
452
|
-
className?: string;
|
|
453
|
-
actionsClassName?: string;
|
|
454
|
-
messageClassName?: string;
|
|
455
|
-
reverseActions?: boolean;
|
|
456
|
-
singleAction?: boolean;
|
|
457
|
-
variant?: 'default' | 'delete' | 'save' | 'warning' | 'info' | 'success' | 'error';
|
|
458
|
-
}
|
|
459
|
-
declare const PopupConfirm: React__default.FC<PopupConfirmProps>;
|
|
460
|
-
|
|
461
|
-
type List = {
|
|
462
|
-
list: Record<string, any>[];
|
|
463
|
-
};
|
|
464
|
-
interface GlobalMenuSearchComponentProps extends List {
|
|
465
|
-
list: Record<string, any>[];
|
|
466
|
-
delay?: number;
|
|
467
|
-
placeholder?: string;
|
|
468
|
-
popInputPlaceholder?: string;
|
|
469
|
-
history: any;
|
|
470
|
-
}
|
|
471
|
-
declare const GlobalMenuSearch: React__default.FC<GlobalMenuSearchComponentProps>;
|
|
472
|
-
|
|
473
|
-
type AppListItem = {
|
|
474
|
-
[key: string]: any;
|
|
475
|
-
};
|
|
476
|
-
interface AppListProps {
|
|
477
|
-
apps: AppListItem[];
|
|
478
|
-
icon?: ElementType;
|
|
479
|
-
urlKey?: string;
|
|
480
|
-
nameKey?: string;
|
|
481
|
-
appIconKey?: string;
|
|
482
|
-
iconProps?: object;
|
|
483
|
-
popoverProps?: object;
|
|
484
|
-
listProps?: object;
|
|
485
|
-
listItemProps?: object;
|
|
486
|
-
listItemTextProps?: object;
|
|
487
|
-
width?: number | string;
|
|
488
|
-
maxWidth?: number | string;
|
|
489
|
-
minWidth?: number | string;
|
|
490
|
-
padding?: number;
|
|
491
|
-
border?: boolean;
|
|
492
|
-
target?: '_blank' | '_self' | '_parent' | '_top' | 'framename';
|
|
493
|
-
}
|
|
494
|
-
declare const AppList: React__default.FC<AppListProps>;
|
|
495
|
-
|
|
496
|
-
interface Column {
|
|
497
|
-
id: string;
|
|
498
|
-
header: string;
|
|
499
|
-
accessor: string;
|
|
500
|
-
width?: number;
|
|
501
|
-
minWidth?: number;
|
|
502
|
-
maxWidth?: number;
|
|
503
|
-
sticky?: 'left' | 'right';
|
|
504
|
-
sortable?: boolean;
|
|
505
|
-
filterable?: boolean;
|
|
506
|
-
hidden?: boolean;
|
|
507
|
-
align?: 'left' | 'center' | 'right';
|
|
508
|
-
render?: (value: any, row: any, index: number) => React__default.ReactNode;
|
|
509
|
-
}
|
|
510
|
-
interface TableData {
|
|
511
|
-
id: string;
|
|
512
|
-
[key: string]: any;
|
|
513
|
-
_expanded?: boolean;
|
|
514
|
-
_selected?: boolean;
|
|
515
|
-
_children?: TableData[];
|
|
516
|
-
}
|
|
517
|
-
interface StickyConfig {
|
|
518
|
-
left?: string[];
|
|
519
|
-
right?: string[];
|
|
520
|
-
}
|
|
521
|
-
interface BulkAction$1 {
|
|
522
|
-
label: string;
|
|
523
|
-
icon?: React__default.ReactNode;
|
|
524
|
-
onClick: (selectedIds: string[]) => void;
|
|
525
|
-
variant?: 'primary' | 'secondary' | 'danger';
|
|
526
|
-
disabled?: boolean;
|
|
527
|
-
}
|
|
528
|
-
interface TableProps {
|
|
529
|
-
columns: Column[];
|
|
530
|
-
data: TableData[];
|
|
531
|
-
loading?: boolean;
|
|
532
|
-
pagination?: {
|
|
533
|
-
page: number;
|
|
534
|
-
pageSize: number;
|
|
535
|
-
total: number;
|
|
536
|
-
onPageChange: (page: number) => void;
|
|
537
|
-
onPageSizeChange: (size: number) => void;
|
|
538
|
-
};
|
|
539
|
-
selection?: {
|
|
540
|
-
enabled: boolean;
|
|
541
|
-
selectedRows: string[];
|
|
542
|
-
onSelectionChange: (selectedIds: string[]) => void;
|
|
543
|
-
};
|
|
544
|
-
sorting?: {
|
|
545
|
-
sortBy: string;
|
|
546
|
-
sortOrder: 'asc' | 'desc';
|
|
547
|
-
onSortChange: (sortBy: string, order: 'asc' | 'desc') => void;
|
|
548
|
-
};
|
|
549
|
-
filtering?: {
|
|
550
|
-
filters: Record<string, any>;
|
|
551
|
-
onFilterChange: (filters: Record<string, any>) => void;
|
|
552
|
-
};
|
|
553
|
-
expansion?: {
|
|
554
|
-
expandedRows: string[];
|
|
555
|
-
onExpansionChange: (expandedIds: string[]) => void;
|
|
556
|
-
renderExpandedRow: (row: TableData) => React__default.ReactNode;
|
|
557
|
-
};
|
|
558
|
-
virtualization?: {
|
|
559
|
-
enabled: boolean;
|
|
560
|
-
rowHeight?: number;
|
|
561
|
-
overscan?: number;
|
|
562
|
-
};
|
|
563
|
-
onRowClick?: (row: TableData) => void;
|
|
564
|
-
className?: string;
|
|
565
|
-
stickyColumns?: StickyConfig;
|
|
566
|
-
bulkActions?: BulkAction$1[];
|
|
567
|
-
isRowSelectable?: (row: TableData) => boolean;
|
|
568
|
-
variant?: 'standard' | 'compact' | 'striped';
|
|
569
|
-
}
|
|
570
|
-
declare const Table: React__default.FC<TableProps>;
|
|
571
|
-
|
|
572
|
-
interface BulkAction {
|
|
573
|
-
id: string;
|
|
574
|
-
label: string;
|
|
575
|
-
icon?: React__default.ReactNode;
|
|
576
|
-
onClick: (selectedIds: string[]) => void;
|
|
577
|
-
disabled?: boolean;
|
|
578
|
-
variant?: 'primary' | 'danger' | 'default';
|
|
579
|
-
type?: 'button' | 'dropdown';
|
|
580
|
-
onOpen?: () => void;
|
|
581
|
-
}
|
|
582
|
-
interface BulkActionsBarProps {
|
|
583
|
-
selectedRows: string[];
|
|
584
|
-
totalRows: number;
|
|
585
|
-
bulkActions: BulkAction[];
|
|
586
|
-
clearSelection: () => void;
|
|
587
|
-
maxVisibleActions?: number;
|
|
588
|
-
}
|
|
589
|
-
declare const BulkActionsBar: React__default.FC<BulkActionsBarProps>;
|
|
590
|
-
|
|
591
|
-
type InputSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
592
|
-
type InputVariant = 'outlined' | 'contained';
|
|
593
|
-
interface TimePickerProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value' | 'defaultValue'> {
|
|
594
|
-
label?: string;
|
|
595
|
-
floatingLabel?: boolean;
|
|
596
|
-
description?: string;
|
|
597
|
-
error?: string;
|
|
598
|
-
size?: InputSize;
|
|
599
|
-
variant?: InputVariant;
|
|
600
|
-
focusOutline?: boolean;
|
|
601
|
-
value?: Dayjs | null;
|
|
602
|
-
defaultValue?: Dayjs | null;
|
|
603
|
-
onChange?: (time: Dayjs | null, timeString: string) => void;
|
|
604
|
-
format?: string;
|
|
605
|
-
use12Hours?: boolean;
|
|
606
|
-
hourStep?: number;
|
|
607
|
-
minuteStep?: number;
|
|
608
|
-
secondStep?: number;
|
|
609
|
-
needConfirm?: boolean;
|
|
610
|
-
showNow?: boolean;
|
|
611
|
-
okText?: string;
|
|
612
|
-
closeText?: string;
|
|
613
|
-
nowText?: string;
|
|
614
|
-
amText?: string;
|
|
615
|
-
pmText?: string;
|
|
616
|
-
hourLabel?: string;
|
|
617
|
-
minuteLabel?: string;
|
|
618
|
-
secondLabel?: string;
|
|
619
|
-
disabledHours?: (h: number) => boolean;
|
|
620
|
-
disabledMinutes?: (m: number) => boolean;
|
|
621
|
-
disabledSeconds?: (s: number) => boolean;
|
|
622
|
-
allowClear?: boolean;
|
|
623
|
-
}
|
|
624
|
-
declare const TimePicker: React$1.ForwardRefExoticComponent<TimePickerProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
625
|
-
|
|
626
|
-
interface BulkActionConfig {
|
|
627
|
-
key: string;
|
|
628
|
-
label: string;
|
|
629
|
-
icon: React__default.ComponentType<{
|
|
630
|
-
className?: string;
|
|
631
|
-
}>;
|
|
632
|
-
variant?: 'default' | 'destructive' | 'secondary';
|
|
633
|
-
}
|
|
634
|
-
interface PaginationConfig {
|
|
635
|
-
enabled?: boolean;
|
|
636
|
-
totalCount?: number;
|
|
637
|
-
currentPage?: number;
|
|
638
|
-
pageSize?: number;
|
|
639
|
-
pageSizeOptions?: number[];
|
|
640
|
-
initialPageSize?: number;
|
|
641
|
-
onPageChange?: (pageIndex: number, pageSize: number) => void;
|
|
642
|
-
onPageSizeChange?: (pageSize: number) => void;
|
|
643
|
-
showInfo?: boolean;
|
|
644
|
-
showPageSizeSelector?: boolean;
|
|
645
|
-
showGoToPage?: boolean;
|
|
646
|
-
}
|
|
647
|
-
interface SelectionConfig<TData> {
|
|
648
|
-
enabled?: boolean;
|
|
649
|
-
rowIdAccessor?: (row: TData) => string;
|
|
650
|
-
onBulkAction?: (ids: string[], action: string) => void;
|
|
651
|
-
bulkActions?: BulkActionConfig[];
|
|
652
|
-
selectionText?: (count: number) => string;
|
|
653
|
-
}
|
|
654
|
-
interface ExpandConfig<TData> {
|
|
655
|
-
enabled?: boolean;
|
|
656
|
-
renderExpanded?: (row: TData) => React__default.ReactNode;
|
|
657
|
-
}
|
|
658
|
-
interface SortingConfig {
|
|
659
|
-
enabled?: boolean;
|
|
660
|
-
initialSorting?: SortingState;
|
|
661
|
-
onSort?: (sorting: SortingState) => void;
|
|
662
|
-
}
|
|
663
|
-
interface LoadingConfig {
|
|
664
|
-
loading?: boolean;
|
|
665
|
-
fetched?: boolean;
|
|
666
|
-
loadingRows?: number;
|
|
667
|
-
emptyMessage?: string;
|
|
668
|
-
}
|
|
669
|
-
interface StylingConfig {
|
|
670
|
-
className?: string;
|
|
671
|
-
showColumnBorders?: boolean;
|
|
672
|
-
showRowBorders?: boolean;
|
|
673
|
-
stickyHeader?: boolean;
|
|
674
|
-
pinLeft?: number;
|
|
675
|
-
pinRight?: number;
|
|
676
|
-
}
|
|
677
|
-
interface DataTableProps<TData, TValue> {
|
|
678
|
-
columns: ColumnDef<TData, TValue>[];
|
|
679
|
-
data: TData[];
|
|
680
|
-
serverMode?: boolean;
|
|
681
|
-
pagination?: PaginationConfig;
|
|
682
|
-
selection?: SelectionConfig<TData>;
|
|
683
|
-
expansion?: ExpandConfig<TData>;
|
|
684
|
-
sorting?: SortingConfig;
|
|
685
|
-
loading?: LoadingConfig;
|
|
686
|
-
styling?: StylingConfig;
|
|
687
|
-
}
|
|
688
|
-
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;
|
|
689
|
-
|
|
690
|
-
type TabVariant = 'default' | 'pills' | 'outline' | 'underline' | 'ghost' | 'bordered';
|
|
691
|
-
type TabSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
692
|
-
interface TabProviderProps {
|
|
693
|
-
children: React__default.ReactNode;
|
|
694
|
-
defaultValue?: string;
|
|
695
|
-
value?: string;
|
|
696
|
-
onValueChange?: (value: string) => void;
|
|
697
|
-
variant?: TabVariant;
|
|
698
|
-
size?: TabSize;
|
|
699
|
-
orientation?: 'horizontal' | 'vertical';
|
|
700
|
-
}
|
|
701
|
-
interface TabListProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
702
|
-
children: React__default.ReactNode;
|
|
703
|
-
}
|
|
704
|
-
interface TabTriggerProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
705
|
-
value: string;
|
|
706
|
-
icon?: LucideIcon;
|
|
707
|
-
iconPosition?: 'left' | 'right';
|
|
708
|
-
badge?: number | string;
|
|
709
|
-
badgeVariant?: 'default' | 'secondary' | 'success' | 'warning' | 'error';
|
|
710
|
-
loading?: boolean;
|
|
711
|
-
children: React__default.ReactNode;
|
|
712
|
-
}
|
|
713
|
-
interface TabContentProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
714
|
-
value: string;
|
|
715
|
-
children: React__default.ReactNode;
|
|
716
|
-
forceMount?: boolean;
|
|
717
|
-
}
|
|
718
|
-
declare const Tab: {
|
|
719
|
-
Provider: React__default.FC<TabProviderProps>;
|
|
720
|
-
List: React__default.FC<TabListProps>;
|
|
721
|
-
Trigger: React__default.FC<TabTriggerProps>;
|
|
722
|
-
Content: React__default.FC<TabContentProps>;
|
|
723
|
-
};
|
|
724
|
-
|
|
725
|
-
interface TimelineItem {
|
|
726
|
-
key?: string | number;
|
|
727
|
-
children?: ReactNode;
|
|
728
|
-
color?: 'blue' | 'green' | 'red' | 'gray' | 'yellow' | 'purple' | string;
|
|
729
|
-
dot?: ReactNode;
|
|
730
|
-
label?: ReactNode;
|
|
731
|
-
position?: 'left' | 'right';
|
|
732
|
-
secondary?: ReactNode;
|
|
733
|
-
}
|
|
734
|
-
interface TimelineProps {
|
|
735
|
-
items?: TimelineItem[];
|
|
736
|
-
children?: ReactNode;
|
|
737
|
-
pending?: boolean | ReactNode;
|
|
738
|
-
pendingDot?: ReactNode;
|
|
739
|
-
reverse?: boolean;
|
|
740
|
-
mode?: 'left' | 'right' | 'alternate';
|
|
741
|
-
className?: string;
|
|
742
|
-
style?: CSSProperties;
|
|
743
|
-
linePosition?: number;
|
|
744
|
-
}
|
|
745
|
-
declare const Timeline: React__default.FC<TimelineProps>;
|
|
746
|
-
|
|
747
|
-
interface UILibraryThemeProviderProps {
|
|
748
|
-
children: React__default.ReactNode;
|
|
749
|
-
primaryColor?: string;
|
|
750
|
-
secondaryColor?: string;
|
|
751
|
-
enableCssBaseline?: boolean;
|
|
752
|
-
}
|
|
753
|
-
declare const UILibraryThemeProvider: React__default.FC<UILibraryThemeProviderProps>;
|
|
754
|
-
|
|
755
|
-
declare module '@mui/material/styles' {
|
|
756
|
-
interface Theme {
|
|
757
|
-
radius: {
|
|
758
|
-
xs: string;
|
|
759
|
-
sm: string;
|
|
760
|
-
md: string;
|
|
761
|
-
lg: string;
|
|
762
|
-
xl: string;
|
|
763
|
-
full: string;
|
|
764
|
-
};
|
|
765
|
-
}
|
|
766
|
-
interface ThemeOptions {
|
|
767
|
-
radius?: {
|
|
768
|
-
xs?: string;
|
|
769
|
-
sm?: string;
|
|
770
|
-
md?: string;
|
|
771
|
-
lg?: string;
|
|
772
|
-
xl?: string;
|
|
773
|
-
full?: string;
|
|
774
|
-
};
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
interface ThemeConfig {
|
|
778
|
-
primaryColor?: string;
|
|
779
|
-
secondaryColor?: string;
|
|
780
|
-
}
|
|
781
|
-
declare const createCustomTheme: (config?: ThemeConfig) => Theme;
|
|
782
|
-
declare const theme: Theme;
|
|
783
|
-
|
|
784
|
-
declare const designTokens: {
|
|
785
|
-
colors: {
|
|
786
|
-
primary: {
|
|
787
|
-
50: string;
|
|
788
|
-
100: string;
|
|
789
|
-
500: string;
|
|
790
|
-
900: string;
|
|
791
|
-
};
|
|
792
|
-
secondary: {
|
|
793
|
-
50: string;
|
|
794
|
-
100: string;
|
|
795
|
-
500: string;
|
|
796
|
-
900: string;
|
|
797
|
-
};
|
|
798
|
-
neutral: {
|
|
799
|
-
50: string;
|
|
800
|
-
100: string;
|
|
801
|
-
200: string;
|
|
802
|
-
500: string;
|
|
803
|
-
900: string;
|
|
804
|
-
};
|
|
805
|
-
};
|
|
806
|
-
spacing: {
|
|
807
|
-
xs: string;
|
|
808
|
-
sm: string;
|
|
809
|
-
md: string;
|
|
810
|
-
lg: string;
|
|
811
|
-
xl: string;
|
|
812
|
-
};
|
|
813
|
-
radius: {
|
|
814
|
-
xs: string;
|
|
815
|
-
sm: string;
|
|
816
|
-
md: string;
|
|
817
|
-
lg: string;
|
|
818
|
-
xl: string;
|
|
819
|
-
full: string;
|
|
820
|
-
};
|
|
821
|
-
typography: {
|
|
822
|
-
fontFamily: string;
|
|
823
|
-
fontSize: {
|
|
824
|
-
xs: string;
|
|
825
|
-
sm: string;
|
|
826
|
-
md: string;
|
|
827
|
-
lg: string;
|
|
828
|
-
xl: string;
|
|
829
|
-
};
|
|
830
|
-
};
|
|
831
|
-
size: {
|
|
832
|
-
small: string;
|
|
833
|
-
medium: string;
|
|
834
|
-
large: string;
|
|
835
|
-
};
|
|
836
|
-
};
|
|
837
|
-
|
|
838
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
839
|
-
declare function useStableId(prefix?: string): string;
|
|
840
|
-
|
|
841
|
-
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 };
|
|
842
|
-
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 };
|