1mpacto-react-ui 0.2.0-beta.9 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/_colors.scss +80 -0
- package/dist/assets/_mixins.scss +32 -5
- package/dist/assets/_typography.scss +582 -0
- package/dist/assets/colors.css +40 -0
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/fonts/PlusJakartaSans-Italic.ttf +0 -0
- package/dist/assets/fonts/PlusJakartaSans.ttf +0 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/toast.css +98 -194
- package/dist/assets/typography.css +96 -0
- package/dist/index.cjs +120 -117
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +27703 -27059
- package/dist/package.json.d.ts +46 -47
- package/dist/src/components/Alert/index.d.ts +1 -0
- package/dist/src/components/Badges/Badges.config.d.ts +57 -0
- package/dist/src/components/Badges/Badges.d.ts +1 -0
- package/dist/src/components/Badges/Badges.stories.d.ts +117 -2
- package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +113 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +2 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +221 -6
- package/dist/src/components/Button/Button.config.d.ts +70 -0
- package/dist/src/components/Button/Button.d.ts +1 -0
- package/dist/src/components/Button/Button.stories.d.ts +129 -4
- package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +53 -0
- package/dist/src/components/ButtonIcon/ButtonIcon.d.ts +1 -0
- package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +123 -4
- package/dist/src/components/ButtonPopover/ButtonPopover.d.ts +1 -0
- package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +258 -2
- package/dist/src/components/Calendar/Calendar.d.ts +3 -1
- package/dist/src/components/Calendar/Calendar.stories.d.ts +283 -2
- package/dist/src/components/Calendar/CalendarButton.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarCell.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarMonth.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarRange.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarYear.d.ts +1 -0
- package/dist/src/components/Chart/DoughnutChart.d.ts +1 -0
- package/dist/src/components/Chart/GradientBarChart.d.ts +1 -0
- package/dist/src/components/Chart/GradientBarChart.stories.d.ts +71 -4
- package/dist/src/components/Chart/GradientLineChart.d.ts +1 -0
- package/dist/src/components/Chart/GradientLineChart.stories.d.ts +82 -4
- package/dist/src/components/Chart/LineChart.d.ts +1 -0
- package/dist/src/components/Chart/LineChart.stories.d.ts +35 -2
- package/dist/src/components/Chips/Chips.config.d.ts +35 -0
- package/dist/src/components/Chips/Chips.d.ts +1 -0
- package/dist/src/components/Chips/Chips.stories.d.ts +137 -2
- package/dist/src/components/Collapse/Collapse.d.ts +1 -0
- package/dist/src/components/Collapse/Collapse.stories.d.ts +89 -2
- package/dist/src/components/Collapse/CollapseV2.d.ts +1 -0
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +59 -2
- package/dist/src/components/Colors/Colors.stories.d.ts +2 -1
- package/dist/src/components/DatePicker/DatePicker.d.ts +1 -0
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +221 -2
- package/dist/src/components/DatePicker/DateRangePicker.d.ts +1 -0
- package/dist/src/components/DatePicker/FilterDate.d.ts +2 -1
- package/dist/src/components/DatePicker/FilterDate.stories.d.ts +232 -3
- package/dist/src/components/DatePicker/MonthYearPicker.d.ts +1 -0
- package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +198 -2
- package/dist/src/components/ErrorMessage/ErrorMessage.config.d.ts +8 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +1 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +39 -2
- package/dist/src/components/FilterContainer/FilterContainer.d.ts +1 -0
- package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +165 -0
- package/dist/src/components/Input/InputFloatingInner.config.d.ts +9 -0
- package/dist/src/components/Input/InputFloatingInner.d.ts +1 -0
- package/dist/src/components/Input/InputFloatingInner.stories.d.ts +177 -6
- package/dist/src/components/Input/InputInnerLabel.config.d.ts +8 -0
- package/dist/src/components/Input/InputInnerLabel.d.ts +5 -0
- package/dist/src/components/Input/InputInnerLabel.stories.d.ts +205 -0
- package/dist/src/components/Input/InputNative.config.d.ts +9 -0
- package/dist/src/components/Input/InputNative.d.ts +1 -0
- package/dist/src/components/Input/InputNative.stories.d.ts +149 -5
- package/dist/src/components/Input/InputReguler.config.d.ts +9 -0
- package/dist/src/components/Input/InputReguler.d.ts +1 -0
- package/dist/src/components/Input/InputReguler.stories.d.ts +177 -6
- package/dist/src/components/Modal/ModalDialog.config.d.ts +9 -0
- package/dist/src/components/Modal/ModalDialog.d.ts +1 -0
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +121 -2
- package/dist/src/components/NumberFormat/NumberFormat.d.ts +1 -0
- package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +373 -18
- package/dist/src/components/Pagination/Pagination.config.d.ts +5 -0
- package/dist/src/components/Pagination/Pagination.d.ts +2 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +200 -3
- package/dist/src/components/Popover/Popover.d.ts +1 -0
- package/dist/src/components/Popover/Popover.stories.d.ts +216 -7
- package/dist/src/components/PortalComponent/PortalComponent.d.ts +1 -0
- package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +61 -0
- package/dist/src/components/RadioCheckbox/CheckboxTable.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +41 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +230 -8
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +25 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +196 -4
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +26 -0
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.d.ts +2 -1
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +5 -4
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +5 -1
- package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +34 -0
- package/dist/src/components/Sidebar/ItemSidebar.d.ts +1 -0
- package/dist/src/components/Sidebar/Sidebar.config.d.ts +16 -0
- package/dist/src/components/Sidebar/Sidebar.d.ts +2 -1
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +6 -5
- package/dist/src/components/Step/Step.d.ts +1 -0
- package/dist/src/components/Step/Step.stories.d.ts +135 -2
- package/dist/src/components/Step/StepIndicator.d.ts +1 -0
- package/dist/src/components/Step/StepIndicator.stories.d.ts +148 -2
- package/dist/src/components/Switch/Switch.config.d.ts +26 -0
- package/dist/src/components/Switch/Switch.d.ts +1 -0
- package/dist/src/components/Switch/Switch.stories.d.ts +128 -2
- package/dist/src/components/Table/Table.config.d.ts +5 -0
- package/dist/src/components/Table/Table.d.ts +3 -3
- package/dist/src/components/Table/Table.stories.d.ts +71 -52
- package/dist/src/components/Table/TableSubMobile.d.ts +4 -0
- package/dist/src/components/Tabs/TabPanel.d.ts +1 -0
- package/dist/src/components/Tabs/Tabs.config.d.ts +31 -0
- package/dist/src/components/Tabs/Tabs.d.ts +2 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +220 -3
- package/dist/src/components/TextEditor/TextEditor.d.ts +1 -0
- package/dist/src/components/TextEditor/TextEditor.stories.d.ts +59 -10
- package/dist/src/components/Textarea/Textarea.config.d.ts +31 -0
- package/dist/src/components/Textarea/Textarea.d.ts +1 -0
- package/dist/src/components/Textarea/Textarea.stories.d.ts +250 -3
- package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +6 -0
- package/dist/src/components/Textarea/TextareaFloatingInner.d.ts +1 -0
- package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +260 -3
- package/dist/src/components/Textarea/TextareaInnerLabel.config.d.ts +7 -0
- package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +5 -0
- package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +259 -0
- package/dist/src/components/TimeRange/TimeRange.d.ts +4 -0
- package/dist/src/components/TimeRange/TimeRange.stories.d.ts +186 -0
- package/dist/src/components/Timeline/Timeline.d.ts +1 -0
- package/dist/src/components/Timeline/Timeline.stories.d.ts +40 -2
- package/dist/src/components/Tooltip/Tooltip.d.ts +1 -0
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +159 -2
- package/dist/src/components/TruncateComponent/TruncateComponent.d.ts +1 -0
- package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +106 -2
- package/dist/src/components/Typography/Typography.stories.d.ts +2 -1
- package/dist/src/components/Upload/UploadFile.d.ts +1 -0
- package/dist/src/components/Upload/UploadFile.stories.d.ts +127 -2
- package/dist/src/components/Upload/UploadImage.d.ts +2 -1
- package/dist/src/components/Upload/UploadImage.stories.d.ts +145 -3
- package/dist/src/components/Upload/UploadMultipleFile.d.ts +2 -1
- package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +190 -3
- package/dist/src/components/Virtualization/ListVirtualization.d.ts +1 -0
- package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +279 -2
- package/dist/src/components/Virtualization/TableVirtualization.d.ts +1 -0
- package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +296 -2
- package/dist/src/components/index.d.ts +15 -8
- package/dist/src/components/screens/Screens.stories.d.ts +14 -0
- package/dist/src/config/bigNumber/index.d.ts +1 -0
- package/dist/src/config/components/borderRadius.d.ts +1 -0
- package/dist/src/config/components/font.d.ts +7 -0
- package/dist/src/config/components/gap.d.ts +1 -0
- package/dist/src/config/components/tinymce.d.ts +1 -0
- package/dist/src/config/components/typography.d.ts +3 -49
- package/dist/src/config/tailwind/index.d.ts +3 -1
- package/dist/src/config/tailwind/nativeScreen.d.ts +3 -0
- package/dist/src/config/tailwind/typography.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +6 -3
- package/dist/src/hooks/useAsyncDebounce.d.ts +9 -0
- package/dist/src/hooks/useCombinedResizeObserver.d.ts +67 -0
- package/dist/src/hooks/useCountdown.d.ts +67 -3
- package/dist/src/hooks/useDeepCompareEffect.d.ts +14 -0
- package/dist/src/hooks/useElementOrWindowMediaQuery.d.ts +9 -0
- package/dist/src/hooks/useEventListener.d.ts +28 -0
- package/dist/src/hooks/useMasonry.d.ts +80 -0
- package/dist/src/hooks/useMergeRefs.d.ts +27 -0
- package/dist/src/hooks/useOtpInput.d.ts +200 -0
- package/dist/src/hooks/useStateRef.d.ts +9 -0
- package/dist/src/interfaces/components/Alert/index.d.ts +9 -0
- package/dist/src/interfaces/components/Badges/index.d.ts +31 -1
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +86 -2
- package/dist/src/interfaces/components/Button/index.d.ts +47 -2
- package/dist/src/interfaces/components/ButtonIcon/index.d.ts +37 -0
- package/dist/src/interfaces/components/ButtonPopover/index.d.ts +79 -0
- package/dist/src/interfaces/components/Calendar/index.d.ts +385 -3
- package/dist/src/interfaces/components/Chart/index.d.ts +461 -0
- package/dist/src/interfaces/components/Checkbox/index.d.ts +13 -0
- package/dist/src/interfaces/components/Chips/index.d.ts +39 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +61 -0
- package/dist/src/interfaces/components/DatePicker/index.d.ts +278 -1
- package/dist/src/interfaces/components/ErrorMessage/index.d.ts +17 -1
- package/dist/src/interfaces/components/FilterContainer/index.d.ts +103 -0
- package/dist/src/interfaces/components/Input/index.d.ts +194 -0
- package/dist/src/interfaces/components/Modal/index.d.ts +46 -0
- package/dist/src/interfaces/components/NumberFormat/index.d.ts +26 -0
- package/dist/src/interfaces/components/Pagination/index.d.ts +84 -0
- package/dist/src/interfaces/components/Popover/index.d.ts +99 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +60 -2
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +47 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +197 -2
- package/dist/src/interfaces/components/Sidebar/index.d.ts +230 -1
- package/dist/src/interfaces/components/Step/index.d.ts +154 -0
- package/dist/src/interfaces/components/Switch/index.d.ts +54 -1
- package/dist/src/interfaces/components/Table/index.d.ts +403 -6
- package/dist/src/interfaces/components/Tabs/index.d.ts +131 -1
- package/dist/src/interfaces/components/TextEditor/index.d.ts +13 -0
- package/dist/src/interfaces/components/Textarea/index.d.ts +170 -0
- package/dist/src/interfaces/components/TimeRange/index.d.ts +129 -0
- package/dist/src/interfaces/components/Timeline/index.d.ts +37 -0
- package/dist/src/interfaces/components/Tooltip/index.d.ts +57 -0
- package/dist/src/interfaces/components/TruncateComponent/index.d.ts +34 -0
- package/dist/src/interfaces/components/UploadFile/index.d.ts +187 -0
- package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +139 -0
- package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +144 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/utils/common.d.ts +5 -4
- package/dist/src/utils/constant.d.ts +1 -0
- package/dist/types-external/table.d.ts +3 -0
- package/package.json +46 -47
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
|
@@ -1,20 +1,235 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
|
-
component: <T extends import('react').ElementType = "div">({ as, variants, fonts, urls, textBreadcrumbs, onClickBreadcrumbs, gapAction, gapUrls, className, textAction, iconAction, onClickAction, onClickUrls, separator, propsLink, ...props }: import('../../interfaces/components/Breadcrumbs').IBreadcrumbs<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
component: <T extends import('react').ElementType = "div">({ as, variants, fonts, urls, textBreadcrumbs, onClickBreadcrumbs, gapAction, gapUrls, className, textAction, iconAction, onClickAction, onClickUrls, separator, propsLink, classNameAction, classNameUrl, renderAction, ...props }: import('../../interfaces/components/Breadcrumbs').IBreadcrumbs<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
parameters: {
|
|
6
7
|
layout: string;
|
|
7
8
|
};
|
|
8
9
|
tags: string[];
|
|
9
10
|
argTypes: {
|
|
11
|
+
urls: {
|
|
12
|
+
control: "object";
|
|
13
|
+
description: string;
|
|
14
|
+
table: {
|
|
15
|
+
category: string;
|
|
16
|
+
type: {
|
|
17
|
+
summary: string;
|
|
18
|
+
};
|
|
19
|
+
defaultValue: {
|
|
20
|
+
summary: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
textBreadcrumbs: {
|
|
25
|
+
control: "object";
|
|
26
|
+
description: string;
|
|
27
|
+
table: {
|
|
28
|
+
category: string;
|
|
29
|
+
type: {
|
|
30
|
+
summary: string;
|
|
31
|
+
};
|
|
32
|
+
defaultValue: {
|
|
33
|
+
summary: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
separator: {
|
|
38
|
+
control: "text";
|
|
39
|
+
description: string;
|
|
40
|
+
table: {
|
|
41
|
+
category: string;
|
|
42
|
+
type: {
|
|
43
|
+
summary: string;
|
|
44
|
+
};
|
|
45
|
+
defaultValue: {
|
|
46
|
+
summary: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
textAction: {
|
|
51
|
+
control: "text";
|
|
52
|
+
description: string;
|
|
53
|
+
table: {
|
|
54
|
+
category: string;
|
|
55
|
+
type: {
|
|
56
|
+
summary: string;
|
|
57
|
+
};
|
|
58
|
+
defaultValue: {
|
|
59
|
+
summary: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
iconAction: {
|
|
64
|
+
control: "object";
|
|
65
|
+
description: string;
|
|
66
|
+
table: {
|
|
67
|
+
category: string;
|
|
68
|
+
type: {
|
|
69
|
+
summary: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
variants: {
|
|
74
|
+
control: {
|
|
75
|
+
type: "select";
|
|
76
|
+
};
|
|
77
|
+
options: string[];
|
|
78
|
+
description: string;
|
|
79
|
+
table: {
|
|
80
|
+
category: string;
|
|
81
|
+
type: {
|
|
82
|
+
summary: string;
|
|
83
|
+
};
|
|
84
|
+
defaultValue: {
|
|
85
|
+
summary: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
fonts: {
|
|
90
|
+
control: {
|
|
91
|
+
type: "select";
|
|
92
|
+
};
|
|
93
|
+
options: string[];
|
|
94
|
+
description: string;
|
|
95
|
+
table: {
|
|
96
|
+
category: string;
|
|
97
|
+
type: {
|
|
98
|
+
summary: string;
|
|
99
|
+
};
|
|
100
|
+
defaultValue: {
|
|
101
|
+
summary: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
gapAction: {
|
|
106
|
+
control: {
|
|
107
|
+
type: "select";
|
|
108
|
+
};
|
|
109
|
+
options: string[];
|
|
110
|
+
description: string;
|
|
111
|
+
table: {
|
|
112
|
+
category: string;
|
|
113
|
+
type: {
|
|
114
|
+
summary: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
gapUrls: {
|
|
119
|
+
control: {
|
|
120
|
+
type: "select";
|
|
121
|
+
};
|
|
122
|
+
options: string[];
|
|
123
|
+
description: string;
|
|
124
|
+
table: {
|
|
125
|
+
category: string;
|
|
126
|
+
type: {
|
|
127
|
+
summary: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
10
131
|
className: {
|
|
11
|
-
|
|
132
|
+
control: "text";
|
|
133
|
+
description: string;
|
|
134
|
+
table: {
|
|
135
|
+
category: string;
|
|
136
|
+
type: {
|
|
137
|
+
summary: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
classNameAction: {
|
|
142
|
+
control: "text";
|
|
143
|
+
description: string;
|
|
144
|
+
table: {
|
|
145
|
+
category: string;
|
|
146
|
+
type: {
|
|
147
|
+
summary: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
classNameUrl: {
|
|
152
|
+
control: "text";
|
|
153
|
+
description: string;
|
|
154
|
+
table: {
|
|
155
|
+
category: string;
|
|
156
|
+
type: {
|
|
157
|
+
summary: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
onClick: {
|
|
162
|
+
action: string;
|
|
163
|
+
description: string;
|
|
164
|
+
table: {
|
|
165
|
+
category: string;
|
|
166
|
+
type: {
|
|
167
|
+
summary: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
onClickAction: {
|
|
172
|
+
action: string;
|
|
173
|
+
description: string;
|
|
174
|
+
table: {
|
|
175
|
+
category: string;
|
|
176
|
+
type: {
|
|
177
|
+
summary: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
onClickUrls: {
|
|
182
|
+
action: string;
|
|
183
|
+
description: string;
|
|
184
|
+
table: {
|
|
185
|
+
category: string;
|
|
186
|
+
type: {
|
|
187
|
+
summary: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
onClickBreadcrumbs: {
|
|
192
|
+
control: "object";
|
|
193
|
+
description: string;
|
|
194
|
+
table: {
|
|
195
|
+
category: string;
|
|
196
|
+
type: {
|
|
197
|
+
summary: string;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
12
200
|
};
|
|
13
201
|
as: {
|
|
14
|
-
|
|
202
|
+
control: "text";
|
|
203
|
+
description: string;
|
|
204
|
+
table: {
|
|
205
|
+
category: string;
|
|
206
|
+
type: {
|
|
207
|
+
summary: string;
|
|
208
|
+
};
|
|
209
|
+
defaultValue: {
|
|
210
|
+
summary: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
15
213
|
};
|
|
16
|
-
|
|
17
|
-
|
|
214
|
+
propsLink: {
|
|
215
|
+
control: "object";
|
|
216
|
+
description: string;
|
|
217
|
+
table: {
|
|
218
|
+
category: string;
|
|
219
|
+
type: {
|
|
220
|
+
summary: string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
renderAction: {
|
|
225
|
+
control: "object";
|
|
226
|
+
description: string;
|
|
227
|
+
table: {
|
|
228
|
+
category: string;
|
|
229
|
+
type: {
|
|
230
|
+
summary: string;
|
|
231
|
+
};
|
|
232
|
+
};
|
|
18
233
|
};
|
|
19
234
|
};
|
|
20
235
|
render: (args: import('../../interfaces/components/Breadcrumbs').IBreadcrumbs<import('react').ElementType>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare const configButton: {
|
|
2
|
+
size: {
|
|
3
|
+
large: string;
|
|
4
|
+
reguler: string;
|
|
5
|
+
small: string;
|
|
6
|
+
'extra-small': string;
|
|
7
|
+
l: string;
|
|
8
|
+
m: string;
|
|
9
|
+
s: string;
|
|
10
|
+
xs: string;
|
|
11
|
+
'bill-l': string;
|
|
12
|
+
'bill-m': string;
|
|
13
|
+
'bill-s': string;
|
|
14
|
+
'bill-xs': string;
|
|
15
|
+
};
|
|
16
|
+
loadingSize: {
|
|
17
|
+
large: string;
|
|
18
|
+
reguler: string;
|
|
19
|
+
small: string;
|
|
20
|
+
'extra-small': string;
|
|
21
|
+
l: string;
|
|
22
|
+
m: string;
|
|
23
|
+
s: string;
|
|
24
|
+
xs: string;
|
|
25
|
+
'bill-l': string;
|
|
26
|
+
'bill-m': string;
|
|
27
|
+
'bill-s': string;
|
|
28
|
+
'bill-xs': string;
|
|
29
|
+
};
|
|
30
|
+
variants: {
|
|
31
|
+
'primary-laba-blue-10': string;
|
|
32
|
+
'primary-red-700-dsb_laba-grey-06': string;
|
|
33
|
+
'primary-green-700': string;
|
|
34
|
+
'ghost-laba-blue-10': string;
|
|
35
|
+
'ghost-red-700': string;
|
|
36
|
+
'ghost-green-700': string;
|
|
37
|
+
'ghost-laba-green-10': string;
|
|
38
|
+
'nude-laba-blue-10': string;
|
|
39
|
+
'nude-red-700': string;
|
|
40
|
+
'nude-green-700': string;
|
|
41
|
+
'nude-gray-500': string;
|
|
42
|
+
'primary-blue-700': string;
|
|
43
|
+
'secondary-blue-700': string;
|
|
44
|
+
'tertiary-blue-700': string;
|
|
45
|
+
'ghost-blue-gray-100-bg_white': string;
|
|
46
|
+
'ghost-blue-gray-100-bg_white-text_blue-gray-400': string;
|
|
47
|
+
'ghost-laba-blue-05': string;
|
|
48
|
+
'secondary-red-600': string;
|
|
49
|
+
'tertiary-red-300': string;
|
|
50
|
+
'tertiary-gray-500': string;
|
|
51
|
+
'tertiary-red-600': string;
|
|
52
|
+
'tertiary-black': string;
|
|
53
|
+
'secondary-green-600': string;
|
|
54
|
+
'nude-laba-red-10': string;
|
|
55
|
+
'nude-laba-red-05': string;
|
|
56
|
+
'primary-red-700': string;
|
|
57
|
+
'nude-laba-red-08': string;
|
|
58
|
+
'ghost-laba-blue-01': string;
|
|
59
|
+
'filled-laba-white_laba-blue-10': string;
|
|
60
|
+
'filled-laba-white_laba-red-05': string;
|
|
61
|
+
'secondary-red-700': string;
|
|
62
|
+
'primary-bill-primary-600': string;
|
|
63
|
+
'secondary-bill-secondary-800': string;
|
|
64
|
+
'tertiary-bill-secondary-800': string;
|
|
65
|
+
'primary-bill-red-700': string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export declare const keysConfigButtonVariant: string[];
|
|
69
|
+
export declare const keysConfigButtonSize: string[];
|
|
70
|
+
export declare const keysConfigButtonLoadingSize: string[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
5
|
component: import('react').ForwardRefExoticComponent<import('../../interfaces/components/Button').IButton & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -7,23 +8,147 @@ declare const meta: {
|
|
|
7
8
|
};
|
|
8
9
|
tags: string[];
|
|
9
10
|
argTypes: {
|
|
11
|
+
children: {
|
|
12
|
+
control: "text";
|
|
13
|
+
description: string;
|
|
14
|
+
table: {
|
|
15
|
+
category: string;
|
|
16
|
+
type: {
|
|
17
|
+
summary: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
10
21
|
startIcon: {
|
|
11
22
|
control: "boolean";
|
|
23
|
+
description: string;
|
|
24
|
+
table: {
|
|
25
|
+
category: string;
|
|
26
|
+
type: {
|
|
27
|
+
summary: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
12
30
|
};
|
|
13
31
|
endIcon: {
|
|
14
32
|
control: "boolean";
|
|
33
|
+
description: string;
|
|
34
|
+
table: {
|
|
35
|
+
category: string;
|
|
36
|
+
type: {
|
|
37
|
+
summary: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
15
40
|
};
|
|
16
|
-
|
|
17
|
-
|
|
41
|
+
variants: {
|
|
42
|
+
control: {
|
|
43
|
+
type: "select";
|
|
44
|
+
};
|
|
45
|
+
options: string[];
|
|
46
|
+
description: string;
|
|
47
|
+
table: {
|
|
48
|
+
category: string;
|
|
49
|
+
type: {
|
|
50
|
+
summary: string;
|
|
51
|
+
};
|
|
52
|
+
defaultValue: {
|
|
53
|
+
summary: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
size: {
|
|
58
|
+
control: {
|
|
59
|
+
type: "select";
|
|
60
|
+
};
|
|
61
|
+
options: string[];
|
|
62
|
+
description: string;
|
|
63
|
+
table: {
|
|
64
|
+
category: string;
|
|
65
|
+
type: {
|
|
66
|
+
summary: string;
|
|
67
|
+
};
|
|
68
|
+
defaultValue: {
|
|
69
|
+
summary: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
18
72
|
};
|
|
19
73
|
className: {
|
|
20
|
-
|
|
74
|
+
control: "text";
|
|
75
|
+
description: string;
|
|
76
|
+
table: {
|
|
77
|
+
category: string;
|
|
78
|
+
type: {
|
|
79
|
+
summary: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
classNameIconLoading: {
|
|
84
|
+
control: "text";
|
|
85
|
+
description: string;
|
|
86
|
+
table: {
|
|
87
|
+
category: string;
|
|
88
|
+
type: {
|
|
89
|
+
summary: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
type: {
|
|
94
|
+
control: {
|
|
95
|
+
type: "select";
|
|
96
|
+
};
|
|
97
|
+
options: string[];
|
|
98
|
+
description: string;
|
|
99
|
+
table: {
|
|
100
|
+
category: string;
|
|
101
|
+
type: {
|
|
102
|
+
summary: string;
|
|
103
|
+
};
|
|
104
|
+
defaultValue: {
|
|
105
|
+
summary: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
disabled: {
|
|
110
|
+
control: "boolean";
|
|
111
|
+
description: string;
|
|
112
|
+
table: {
|
|
113
|
+
category: string;
|
|
114
|
+
type: {
|
|
115
|
+
summary: string;
|
|
116
|
+
};
|
|
117
|
+
defaultValue: {
|
|
118
|
+
summary: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
loading: {
|
|
123
|
+
control: "boolean";
|
|
124
|
+
description: string;
|
|
125
|
+
table: {
|
|
126
|
+
category: string;
|
|
127
|
+
type: {
|
|
128
|
+
summary: string;
|
|
129
|
+
};
|
|
130
|
+
defaultValue: {
|
|
131
|
+
summary: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
onClick: {
|
|
136
|
+
action: string;
|
|
137
|
+
description: string;
|
|
138
|
+
table: {
|
|
139
|
+
category: string;
|
|
140
|
+
type: {
|
|
141
|
+
summary: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
21
144
|
};
|
|
22
145
|
};
|
|
23
146
|
args: {
|
|
24
147
|
onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
25
148
|
startIcon: false;
|
|
26
149
|
endIcon: false;
|
|
150
|
+
loading: false;
|
|
151
|
+
disabled: false;
|
|
27
152
|
};
|
|
28
153
|
render: (args: import('../../interfaces/components/Button').IButton & import('react').RefAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
|
|
29
154
|
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const configButton: {
|
|
2
|
+
size: {
|
|
3
|
+
large: string;
|
|
4
|
+
reguler: string;
|
|
5
|
+
small: string;
|
|
6
|
+
'extra-small': string;
|
|
7
|
+
l: string;
|
|
8
|
+
m: string;
|
|
9
|
+
s: string;
|
|
10
|
+
xs: string;
|
|
11
|
+
};
|
|
12
|
+
loadingSize: {
|
|
13
|
+
large: string;
|
|
14
|
+
reguler: string;
|
|
15
|
+
small: string;
|
|
16
|
+
'extra-small': string;
|
|
17
|
+
l: string;
|
|
18
|
+
m: string;
|
|
19
|
+
s: string;
|
|
20
|
+
xs: string;
|
|
21
|
+
};
|
|
22
|
+
variants: {
|
|
23
|
+
'primary-laba-blue-10': string;
|
|
24
|
+
'primary-red-700-dsb_laba-grey-06': string;
|
|
25
|
+
'primary-green-700': string;
|
|
26
|
+
'filled-laba-white_laba-blue-10': string;
|
|
27
|
+
'filled-laba-white_laba-red-05': string;
|
|
28
|
+
'ghost-laba-blue-10': string;
|
|
29
|
+
'ghost-red-700': string;
|
|
30
|
+
'ghost-green-700': string;
|
|
31
|
+
'ghost-laba-green-10': string;
|
|
32
|
+
'nude-laba-blue-10': string;
|
|
33
|
+
'nude-red-700': string;
|
|
34
|
+
'nude-green-700': string;
|
|
35
|
+
'nude-gray-500': string;
|
|
36
|
+
'primary-blue-700': string;
|
|
37
|
+
'secondary-blue-700': string;
|
|
38
|
+
'tertiary-blue-700': string;
|
|
39
|
+
'ghost-blue-gray-100-bg_white': string;
|
|
40
|
+
'secondary-red-600': string;
|
|
41
|
+
'tertiary-red-300': string;
|
|
42
|
+
'tertiary-gray-500': string;
|
|
43
|
+
'tertiary-red-600': string;
|
|
44
|
+
'secondary-green-600': string;
|
|
45
|
+
'nude-laba-red-10': string;
|
|
46
|
+
'nude-laba-red-05': string;
|
|
47
|
+
'primary-red-700': string;
|
|
48
|
+
'secondary-red-700': string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export declare const keysConfigButtonVariant: string[];
|
|
52
|
+
export declare const keysConfigButtonSize: string[];
|
|
53
|
+
export declare const keysConfigButtonLoadingSize: string[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
4
|
title: string;
|
|
4
5
|
component: import('react').ForwardRefExoticComponent<import('../../interfaces/components/ButtonIcon').IButtonIcon & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -7,11 +8,129 @@ declare const meta: {
|
|
|
7
8
|
};
|
|
8
9
|
tags: string[];
|
|
9
10
|
argTypes: {
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
children: {
|
|
12
|
+
control: "text";
|
|
13
|
+
description: string;
|
|
14
|
+
table: {
|
|
15
|
+
category: string;
|
|
16
|
+
type: {
|
|
17
|
+
summary: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
variants: {
|
|
22
|
+
control: {
|
|
23
|
+
type: "select";
|
|
24
|
+
};
|
|
25
|
+
options: string[];
|
|
26
|
+
description: string;
|
|
27
|
+
table: {
|
|
28
|
+
category: string;
|
|
29
|
+
type: {
|
|
30
|
+
summary: string;
|
|
31
|
+
};
|
|
32
|
+
defaultValue: {
|
|
33
|
+
summary: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
control: {
|
|
39
|
+
type: "select";
|
|
40
|
+
};
|
|
41
|
+
options: string[];
|
|
42
|
+
description: string;
|
|
43
|
+
table: {
|
|
44
|
+
category: string;
|
|
45
|
+
type: {
|
|
46
|
+
summary: string;
|
|
47
|
+
};
|
|
48
|
+
defaultValue: {
|
|
49
|
+
summary: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
12
52
|
};
|
|
13
53
|
className: {
|
|
14
|
-
|
|
54
|
+
control: "text";
|
|
55
|
+
description: string;
|
|
56
|
+
table: {
|
|
57
|
+
category: string;
|
|
58
|
+
type: {
|
|
59
|
+
summary: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
classNameIconLoading: {
|
|
64
|
+
control: "text";
|
|
65
|
+
description: string;
|
|
66
|
+
table: {
|
|
67
|
+
category: string;
|
|
68
|
+
type: {
|
|
69
|
+
summary: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
loading: {
|
|
74
|
+
control: "boolean";
|
|
75
|
+
description: string;
|
|
76
|
+
table: {
|
|
77
|
+
category: string;
|
|
78
|
+
type: {
|
|
79
|
+
summary: string;
|
|
80
|
+
};
|
|
81
|
+
defaultValue: {
|
|
82
|
+
summary: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
disabled: {
|
|
87
|
+
control: "boolean";
|
|
88
|
+
description: string;
|
|
89
|
+
table: {
|
|
90
|
+
category: string;
|
|
91
|
+
type: {
|
|
92
|
+
summary: string;
|
|
93
|
+
};
|
|
94
|
+
defaultValue: {
|
|
95
|
+
summary: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
onClick: {
|
|
100
|
+
action: string;
|
|
101
|
+
description: string;
|
|
102
|
+
table: {
|
|
103
|
+
category: string;
|
|
104
|
+
type: {
|
|
105
|
+
summary: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
type: {
|
|
110
|
+
control: {
|
|
111
|
+
type: "select";
|
|
112
|
+
};
|
|
113
|
+
options: string[];
|
|
114
|
+
description: string;
|
|
115
|
+
table: {
|
|
116
|
+
category: string;
|
|
117
|
+
type: {
|
|
118
|
+
summary: string;
|
|
119
|
+
};
|
|
120
|
+
defaultValue: {
|
|
121
|
+
summary: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
title: {
|
|
126
|
+
control: "text";
|
|
127
|
+
description: string;
|
|
128
|
+
table: {
|
|
129
|
+
category: string;
|
|
130
|
+
type: {
|
|
131
|
+
summary: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
15
134
|
};
|
|
16
135
|
};
|
|
17
136
|
args: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { IButtonPopover, IRefButtonPopover } from '../../interfaces/components/ButtonPopover';
|
|
3
|
+
|
|
3
4
|
declare const ButtonPopover: React.ForwardRefExoticComponent<IButtonPopover & React.RefAttributes<IRefButtonPopover>>;
|
|
4
5
|
export default ButtonPopover;
|