@namuna-nur/ui-kit 1.7.1 → 1.9.3
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/lib/index.js +147 -136
- package/lib/molecules/index.js +113 -103
- package/lib/shared/Avatar.tokens.js +430 -451
- package/lib/shared/{CardPie.tokens.js → CardProgress.tokens.js} +14707 -13831
- package/lib/shared/TabDots.tokens.js +12 -12
- package/lib/src/_shared/ProgressBar.utils.d.ts +8 -0
- package/lib/src/_shared/index.d.ts +1 -0
- package/lib/src/assets/icons/index.d.ts +5 -1
- package/lib/src/atoms/Input/Input.d.ts +1 -2
- package/lib/src/atoms/Input/Input.tokens.d.ts +2 -21
- package/lib/src/atoms/Input/Input.types.d.ts +3 -5
- package/lib/src/atoms/Notification/Notification.stories.d.ts +1 -0
- package/lib/src/atoms/Select/Select.tokens.d.ts +3 -9
- package/lib/src/atoms/Textarea/Textarea.d.ts +1 -2
- package/lib/src/atoms/Textarea/Textarea.types.d.ts +3 -5
- package/lib/src/molecules/CardMonthly/CardMonthly.d.ts +2 -0
- package/lib/src/molecules/CardMonthly/CardMonthly.stories.d.ts +6 -0
- package/lib/src/molecules/CardMonthly/CardMonthly.tokens.d.ts +7 -0
- package/lib/src/molecules/CardMonthly/CardMonthly.types.d.ts +21 -0
- package/lib/src/molecules/CardMonthly/CardMonthly.utils.d.ts +45 -0
- package/lib/src/molecules/CardMonthly/index.d.ts +3 -0
- package/lib/src/molecules/CardPieChart/CardPieChart.d.ts +2 -0
- package/lib/src/molecules/CardPieChart/CardPieChart.stories.d.ts +7 -0
- package/lib/src/molecules/CardPieChart/CardPieChart.tokens.d.ts +20 -0
- package/lib/src/molecules/CardPieChart/CardPieChart.types.d.ts +45 -0
- package/lib/src/molecules/{CardPie/CardPie.utils.d.ts → CardPieChart/CardPieChart.utils.d.ts} +2 -2
- package/lib/src/molecules/CardPieChart/index.d.ts +3 -0
- package/lib/src/molecules/CardProgress/CardProgress.d.ts +2 -0
- package/lib/src/molecules/CardProgress/CardProgress.stories.d.ts +5 -0
- package/lib/src/molecules/CardProgress/CardProgress.test.d.ts +1 -0
- package/lib/src/molecules/CardProgress/CardProgress.tokens.d.ts +12 -0
- package/lib/src/molecules/CardProgress/CardProgress.types.d.ts +22 -0
- package/lib/src/molecules/CardProgress/index.d.ts +3 -0
- package/lib/src/molecules/CardRingChart/CardRingChart.d.ts +2 -0
- package/lib/src/molecules/CardRingChart/CardRingChart.stories.d.ts +5 -0
- package/lib/src/molecules/CardRingChart/CardRingChart.test.d.ts +1 -0
- package/lib/src/molecules/CardRingChart/CardRingChart.tokens.d.ts +16 -0
- package/lib/src/molecules/CardRingChart/CardRingChart.types.d.ts +33 -0
- package/lib/src/molecules/CardRingChart/CardRingChart.utils.d.ts +49 -0
- package/lib/src/molecules/CardRingChart/index.d.ts +3 -0
- package/lib/src/molecules/CardStat/CardStat.d.ts +2 -0
- package/lib/src/molecules/CardStat/CardStat.stories.d.ts +10 -0
- package/lib/src/molecules/CardStat/CardStat.test.d.ts +1 -0
- package/lib/src/molecules/CardStat/CardStat.tokens.d.ts +12 -0
- package/lib/src/molecules/CardStat/CardStat.types.d.ts +29 -0
- package/lib/src/molecules/CardStat/CardStat.utils.d.ts +38 -0
- package/lib/src/molecules/CardStat/index.d.ts +3 -0
- package/lib/src/molecules/CommentInput/CommentInput.tokens.d.ts +2 -9
- package/lib/src/molecules/CommentInput/CommentInput.types.d.ts +2 -0
- package/lib/src/molecules/DatePicker/DatePicker.d.ts +1 -1
- package/lib/src/molecules/DatePicker/DatePicker.stories.d.ts +1 -1
- package/lib/src/molecules/DatePicker/DatePicker.tokens.d.ts +6 -1
- package/lib/src/molecules/DatePicker/DatePicker.types.d.ts +2 -1
- package/lib/src/molecules/DateRangePicker/DateRangePicker.stories.d.ts +1 -0
- package/lib/src/molecules/DateRangePicker/DateRangePicker.types.d.ts +2 -0
- package/lib/src/molecules/InputGroup/InputGroup.d.ts +1 -1
- package/lib/src/molecules/InputGroup/InputGroup.stories.d.ts +1 -1
- package/lib/src/molecules/InputGroup/InputGroup.tokens.d.ts +0 -4
- package/lib/src/molecules/InputGroup/InputGroup.types.d.ts +2 -2
- package/lib/src/molecules/MultiSelect/MultiSelect.stories.d.ts +1 -0
- package/lib/src/molecules/MultiSelect/MultiSelect.types.d.ts +6 -1
- package/lib/src/molecules/PasswordInput/PasswordInput.stories.d.ts +1 -1
- package/lib/src/molecules/PhoneInput/PhoneInput.stories.d.ts +1 -1
- package/lib/src/molecules/PhoneInput/PhoneInput.types.d.ts +3 -4
- package/lib/src/molecules/Rating/Rating.d.ts +2 -0
- package/lib/src/molecules/Rating/Rating.stories.d.ts +6 -0
- package/lib/src/molecules/Rating/Rating.test.d.ts +1 -0
- package/lib/src/molecules/Rating/Rating.tokens.d.ts +12 -0
- package/lib/src/molecules/Rating/Rating.types.d.ts +13 -0
- package/lib/src/molecules/Rating/Rating.utils.d.ts +1 -0
- package/lib/src/molecules/Rating/index.d.ts +3 -0
- package/lib/src/molecules/SelectGroup/SelectGroup.stories.d.ts +1 -0
- package/lib/src/molecules/SelectList/SelectList.types.d.ts +6 -0
- package/lib/src/molecules/TextareaGroup/TextareaGroup.types.d.ts +1 -0
- package/lib/src/molecules/UploadInput/UploadInput.d.ts +1 -2
- package/lib/src/molecules/UploadInput/UploadInput.tokens.d.ts +3 -3
- package/lib/src/molecules/UploadInput/UploadInput.types.d.ts +2 -2
- package/lib/src/molecules/index.d.ts +6 -1
- package/lib/src/utils/index.d.ts +1 -0
- package/lib/src/utils/numberFormat.d.ts +1 -0
- package/lib/style.css +1 -1
- package/lib/utils/index.js +10 -8
- package/package.json +1 -1
- package/lib/src/molecules/CardPie/CardPie.d.ts +0 -2
- package/lib/src/molecules/CardPie/CardPie.stories.d.ts +0 -6
- package/lib/src/molecules/CardPie/CardPie.tokens.d.ts +0 -11
- package/lib/src/molecules/CardPie/CardPie.types.d.ts +0 -32
- package/lib/src/molecules/CardPie/index.d.ts +0 -3
- /package/lib/src/molecules/{CardPie/CardPie.test.d.ts → CardPieChart/CardPieChart.test.d.ts} +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { CardStat } from '..';
|
|
3
|
+
export type CardStatProps = {
|
|
4
|
+
title: string;
|
|
5
|
+
mode?: 'bid' | 'stat' | 'payment' | 'count';
|
|
6
|
+
data: {
|
|
7
|
+
total: number;
|
|
8
|
+
growth?: number;
|
|
9
|
+
physical?: number;
|
|
10
|
+
legal?: number;
|
|
11
|
+
};
|
|
12
|
+
settings?: {
|
|
13
|
+
chartColor?: string;
|
|
14
|
+
arrowDown?: boolean;
|
|
15
|
+
allWhite?: boolean;
|
|
16
|
+
icon?: React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
classNames?: {
|
|
19
|
+
container?: string;
|
|
20
|
+
total?: string;
|
|
21
|
+
title?: string;
|
|
22
|
+
growth?: string;
|
|
23
|
+
icon?: string;
|
|
24
|
+
totalBlock?: string;
|
|
25
|
+
badge?: string;
|
|
26
|
+
countBlock?: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export type CardStatStory = StoryObj<typeof CardStat>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const getChartSize: (mode: string) => {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
} | null;
|
|
5
|
+
export declare const getChartOptions: (mode: string, color: string) => {
|
|
6
|
+
grid: {
|
|
7
|
+
left: number;
|
|
8
|
+
right: number;
|
|
9
|
+
top: number;
|
|
10
|
+
bottom: number;
|
|
11
|
+
};
|
|
12
|
+
xAxis: {
|
|
13
|
+
type: string;
|
|
14
|
+
show: boolean;
|
|
15
|
+
};
|
|
16
|
+
yAxis: {
|
|
17
|
+
type: string;
|
|
18
|
+
show: boolean;
|
|
19
|
+
boundaryGap: boolean;
|
|
20
|
+
};
|
|
21
|
+
series: {
|
|
22
|
+
type: string;
|
|
23
|
+
smooth: number;
|
|
24
|
+
data: number[];
|
|
25
|
+
emphasis: {
|
|
26
|
+
disabled: boolean;
|
|
27
|
+
};
|
|
28
|
+
lineStyle: {
|
|
29
|
+
width: number;
|
|
30
|
+
};
|
|
31
|
+
symbol: string;
|
|
32
|
+
symbolSize: number;
|
|
33
|
+
itemStyle: {
|
|
34
|
+
borderWidth: number;
|
|
35
|
+
};
|
|
36
|
+
color: string;
|
|
37
|
+
}[];
|
|
38
|
+
};
|
|
@@ -4,6 +4,7 @@ import { CommentInput } from '..';
|
|
|
4
4
|
export type CommentStory = StoryObj<typeof CommentInput>;
|
|
5
5
|
export type CommentInputTokens = {
|
|
6
6
|
parent: string;
|
|
7
|
+
wrapper: string;
|
|
7
8
|
base: string;
|
|
8
9
|
button: {
|
|
9
10
|
base: string;
|
|
@@ -22,6 +23,7 @@ export type CommentInputProps = {
|
|
|
22
23
|
};
|
|
23
24
|
classNames?: {
|
|
24
25
|
parent?: string;
|
|
26
|
+
wrapper?: string;
|
|
25
27
|
target?: string;
|
|
26
28
|
button?: string;
|
|
27
29
|
icon?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DatePickerProps } from '..';
|
|
2
|
-
export declare const DatePicker: ({ value, setValue, classNames, disabled, label,
|
|
2
|
+
export declare const DatePicker: ({ value, setValue, classNames, disabled, label, status, disabledDate, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,5 +5,5 @@ export declare const Default: StoryFn<DatePickerProps>;
|
|
|
5
5
|
export declare const WithLabel: DatePickerStory;
|
|
6
6
|
export declare const DisabledDate: DatePickerStory;
|
|
7
7
|
export declare const Disabled: DatePickerStory;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const Danger: DatePickerStory;
|
|
9
9
|
export default meta;
|
|
@@ -10,6 +10,9 @@ export declare const datePickerTokens: {
|
|
|
10
10
|
hover: string;
|
|
11
11
|
pressed: string;
|
|
12
12
|
};
|
|
13
|
+
status: {
|
|
14
|
+
danger: string;
|
|
15
|
+
};
|
|
13
16
|
input: {
|
|
14
17
|
base: string;
|
|
15
18
|
disabled: string;
|
|
@@ -17,6 +20,9 @@ export declare const datePickerTokens: {
|
|
|
17
20
|
hover: string;
|
|
18
21
|
pressed: string;
|
|
19
22
|
};
|
|
23
|
+
label: {
|
|
24
|
+
wrapper: string;
|
|
25
|
+
};
|
|
20
26
|
calendarButton: {
|
|
21
27
|
base: string;
|
|
22
28
|
hover: string;
|
|
@@ -54,5 +60,4 @@ export declare const datePickerTokens: {
|
|
|
54
60
|
line: string;
|
|
55
61
|
saveButtonWrapper: string;
|
|
56
62
|
saveButton: string;
|
|
57
|
-
message: string;
|
|
58
63
|
};
|
|
@@ -2,12 +2,13 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { Dispatch, SetStateAction } from 'react';
|
|
3
3
|
import { DatePicker } from './DatePicker';
|
|
4
4
|
export type DatePickerStory = StoryObj<typeof DatePicker>;
|
|
5
|
+
export type DatePickerStatus = 'success' | 'danger' | 'info';
|
|
5
6
|
export type DatePickerProps = {
|
|
6
7
|
value: string | undefined;
|
|
7
8
|
setValue: Dispatch<SetStateAction<string | undefined>>;
|
|
8
9
|
disabled?: boolean;
|
|
9
10
|
label?: string;
|
|
10
|
-
|
|
11
|
+
status?: DatePickerStatus;
|
|
11
12
|
disabledDate?: string;
|
|
12
13
|
classNames?: {
|
|
13
14
|
base?: string;
|
|
@@ -3,10 +3,12 @@ import { Dispatch, SetStateAction } from 'react';
|
|
|
3
3
|
import { DateRange } from 'react-day-picker';
|
|
4
4
|
import { DateRangePicker } from './DateRangePicker';
|
|
5
5
|
export type DateRangePickerStory = StoryObj<typeof DateRangePicker>;
|
|
6
|
+
export type DateRangePickerStatus = 'danger' | 'info' | 'success';
|
|
6
7
|
export type DateRangePickerProps = {
|
|
7
8
|
value?: DateRange | undefined;
|
|
8
9
|
setValue: Dispatch<SetStateAction<DateRange | undefined>>;
|
|
9
10
|
label?: string;
|
|
11
|
+
status?: DateRangePickerStatus;
|
|
10
12
|
disabled?: boolean;
|
|
11
13
|
classNames?: {
|
|
12
14
|
wrapper?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InputGroupProps } from '
|
|
1
|
+
import { InputGroupProps } from '..';
|
|
2
2
|
export declare const InputGroup: import('react').ForwardRefExoticComponent<InputGroupProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -5,7 +5,7 @@ export declare const Default: InputGroupStory;
|
|
|
5
5
|
export declare const WithIconRight: InputGroupStory;
|
|
6
6
|
export declare const WithIconLeft: InputGroupStory;
|
|
7
7
|
export declare const Disabled: InputGroupStory;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const WithMessageDanger: InputGroupStory;
|
|
9
9
|
export declare const WithTextRight: InputGroupStory;
|
|
10
10
|
export declare const WithTextLeft: InputGroupStory;
|
|
11
11
|
export default meta;
|
|
@@ -22,12 +22,8 @@ export declare const inputGroupTokens: {
|
|
|
22
22
|
container: string;
|
|
23
23
|
icon: {
|
|
24
24
|
base: string;
|
|
25
|
-
left: string;
|
|
26
|
-
right: string;
|
|
27
25
|
disabled: string;
|
|
28
26
|
clickable: string;
|
|
29
|
-
inputWithLeftIcon: string;
|
|
30
|
-
inputWithRightIcon: string;
|
|
31
27
|
icon: string;
|
|
32
28
|
text: string;
|
|
33
29
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react';
|
|
2
2
|
import { FunctionComponent, SVGProps } from 'react';
|
|
3
3
|
import { InputGroup } from './InputGroup';
|
|
4
|
-
import {
|
|
4
|
+
import { InputStatusType, InputProps } from '../../atoms';
|
|
5
5
|
export type InputGroupStory = StoryObj<typeof InputGroup>;
|
|
6
6
|
export type InputMessage = {
|
|
7
|
-
type:
|
|
7
|
+
type: InputStatusType;
|
|
8
8
|
text: string;
|
|
9
9
|
};
|
|
10
10
|
export type InputGroupProps = {
|
|
@@ -3,5 +3,6 @@ import { MultiSelectStory, MultiSelect } from '..';
|
|
|
3
3
|
declare const meta: Meta<typeof MultiSelect>;
|
|
4
4
|
export declare const Default: MultiSelectStory;
|
|
5
5
|
export declare const Disabled: MultiSelectStory;
|
|
6
|
+
export declare const Danger: MultiSelectStory;
|
|
6
7
|
export declare const NoSearch: MultiSelectStory;
|
|
7
8
|
export default meta;
|
|
@@ -14,7 +14,7 @@ export type MultiSelectOption = {
|
|
|
14
14
|
};
|
|
15
15
|
export type MultiSelectTokens = {
|
|
16
16
|
trigger: string;
|
|
17
|
-
|
|
17
|
+
labelWrapper: string;
|
|
18
18
|
text: string;
|
|
19
19
|
hoverTrigger: string;
|
|
20
20
|
focusTrigger: string;
|
|
@@ -39,12 +39,17 @@ export type MultiSelectTokens = {
|
|
|
39
39
|
trigger: string;
|
|
40
40
|
text: string;
|
|
41
41
|
};
|
|
42
|
+
status: {
|
|
43
|
+
danger: string;
|
|
44
|
+
};
|
|
42
45
|
};
|
|
46
|
+
export type MultiSelectStatusType = 'success' | 'danger' | 'info';
|
|
43
47
|
export type MultiSelectProps = {
|
|
44
48
|
label?: string;
|
|
45
49
|
disabled?: boolean;
|
|
46
50
|
placeholder?: string;
|
|
47
51
|
isSearchable?: boolean;
|
|
52
|
+
status: MultiSelectStatusType;
|
|
48
53
|
options: MultiSelectOption[];
|
|
49
54
|
selectedItems: MultiSelectOption[];
|
|
50
55
|
setSelectedItems: Dispatch<SetStateAction<MultiSelectOption[]>>;
|
|
@@ -8,5 +8,5 @@ export declare const FocusWithVisiblePassword: PasswordInputStory;
|
|
|
8
8
|
export declare const FocusWithHiddenPassword: PasswordInputStory;
|
|
9
9
|
export declare const FilledWithVisiblePassword: PasswordInputStory;
|
|
10
10
|
export declare const FilledWithHiddenPassword: PasswordInputStory;
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const Danger: PasswordInputStory;
|
|
12
12
|
export default meta;
|
|
@@ -5,6 +5,6 @@ declare const meta: Meta<typeof PhoneInput>;
|
|
|
5
5
|
export declare const Default: PhoneInputStory;
|
|
6
6
|
export declare const Focus: PhoneInputStory;
|
|
7
7
|
export declare const Filled: PhoneInputStory;
|
|
8
|
-
export declare const Error: PhoneInputStory;
|
|
9
8
|
export declare const Disabled: PhoneInputStory;
|
|
9
|
+
export declare const Danger: PhoneInputStory;
|
|
10
10
|
export default meta;
|
|
@@ -2,10 +2,10 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { InputHTMLAttributes } from 'react';
|
|
3
3
|
import { PhoneInput } from './PhoneInput';
|
|
4
4
|
export type PhoneInputStory = StoryObj<typeof PhoneInput>;
|
|
5
|
-
export type
|
|
5
|
+
export type PhoneInputStatusType = 'danger';
|
|
6
6
|
export type PhoneInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> & {
|
|
7
7
|
value: string;
|
|
8
|
-
status?:
|
|
8
|
+
status?: PhoneInputStatusType;
|
|
9
9
|
message?: string;
|
|
10
10
|
label?: string;
|
|
11
11
|
onChange: (rawValue: string) => void;
|
|
@@ -22,6 +22,5 @@ export type PhoneInputTokens = {
|
|
|
22
22
|
hover: string;
|
|
23
23
|
focus: string;
|
|
24
24
|
disabled: string;
|
|
25
|
-
variants: Record<
|
|
26
|
-
message: Record<PhoneInputMessageType, string>;
|
|
25
|
+
variants: Record<PhoneInputStatusType, string>;
|
|
27
26
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Rating } from './Rating';
|
|
3
|
+
export type RatingProps = {
|
|
4
|
+
rating: number;
|
|
5
|
+
position?: 'right' | 'left';
|
|
6
|
+
classNames?: {
|
|
7
|
+
root?: string;
|
|
8
|
+
rating?: string;
|
|
9
|
+
star?: string;
|
|
10
|
+
block?: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type RatingStory = StoryObj<typeof Rating>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getFillPercent: (index: number, rating: number) => number;
|
|
@@ -17,4 +17,10 @@ export type SelectListProps = {
|
|
|
17
17
|
disabled?: boolean;
|
|
18
18
|
isDotable?: boolean;
|
|
19
19
|
label?: string;
|
|
20
|
+
title?: string;
|
|
21
|
+
handleCreateItem: (value: string) => void;
|
|
22
|
+
onSaveEdit?: (value: string, oldValue: string) => void;
|
|
23
|
+
options: SelectListOption[];
|
|
24
|
+
handleEditItem: (value: string) => void;
|
|
25
|
+
handleDeleteItem: (value: string) => void;
|
|
20
26
|
};
|
|
@@ -7,8 +7,7 @@ export declare const UploadInput: React.ForwardRefExoticComponent<Omit<Omit<Toog
|
|
|
7
7
|
files: File | File[] | null;
|
|
8
8
|
onChange: (files: File | File[] | null) => void;
|
|
9
9
|
multiple?: boolean;
|
|
10
|
-
|
|
11
|
-
status?: "danger";
|
|
10
|
+
status?: import('..').UploadInputStatus;
|
|
12
11
|
classNames?: {
|
|
13
12
|
root?: string;
|
|
14
13
|
label?: string;
|
|
@@ -5,13 +5,13 @@ export declare const uploadInputTokens: {
|
|
|
5
5
|
pressed: string;
|
|
6
6
|
hover: string;
|
|
7
7
|
};
|
|
8
|
+
label: {
|
|
9
|
+
wrapper: string;
|
|
10
|
+
};
|
|
8
11
|
placeholder: string;
|
|
9
12
|
icon: string;
|
|
10
13
|
list: string;
|
|
11
14
|
status: {
|
|
12
15
|
danger: string;
|
|
13
16
|
};
|
|
14
|
-
message: {
|
|
15
|
-
danger: string;
|
|
16
|
-
};
|
|
17
17
|
};
|
|
@@ -3,6 +3,7 @@ import { HTMLAttributes } from 'react';
|
|
|
3
3
|
import { UploadInput } from './UploadInput';
|
|
4
4
|
import type * as Toogle from '@radix-ui/react-toggle';
|
|
5
5
|
export type UploadInputStory = StoryObj<typeof UploadInput>;
|
|
6
|
+
export type UploadInputStatus = 'danger' | 'success' | 'warning';
|
|
6
7
|
export type SelectedFile = {
|
|
7
8
|
name: string;
|
|
8
9
|
type: string;
|
|
@@ -15,8 +16,7 @@ export type UploadInputProps = Omit<React.ComponentPropsWithoutRef<typeof Toogle
|
|
|
15
16
|
files: File | File[] | null;
|
|
16
17
|
onChange: (files: File | File[] | null) => void;
|
|
17
18
|
multiple?: boolean;
|
|
18
|
-
|
|
19
|
-
status?: 'danger';
|
|
19
|
+
status?: UploadInputStatus;
|
|
20
20
|
classNames?: {
|
|
21
21
|
root?: string;
|
|
22
22
|
label?: string;
|
|
@@ -50,4 +50,9 @@ export * from './DeleteMessage';
|
|
|
50
50
|
export * from './MessageSettings';
|
|
51
51
|
export * from './TabList';
|
|
52
52
|
export * from './FloorSelect';
|
|
53
|
-
export * from './
|
|
53
|
+
export * from './CardPieChart';
|
|
54
|
+
export * from './CardStat';
|
|
55
|
+
export * from './CardMonthly';
|
|
56
|
+
export * from './Rating';
|
|
57
|
+
export * from './CardRingChart';
|
|
58
|
+
export * from './CardProgress';
|
package/lib/src/utils/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const numberFormat: (n: number | string) => string;
|