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.
Files changed (214) hide show
  1. package/dist/assets/_colors.scss +80 -0
  2. package/dist/assets/_mixins.scss +32 -5
  3. package/dist/assets/_typography.scss +582 -0
  4. package/dist/assets/colors.css +40 -0
  5. package/dist/assets/core.css +1 -1
  6. package/dist/assets/fontfamily.css +1 -1
  7. package/dist/assets/fonts/PlusJakartaSans-Italic.ttf +0 -0
  8. package/dist/assets/fonts/PlusJakartaSans.ttf +0 -0
  9. package/dist/assets/style.css +1 -1
  10. package/dist/assets/toast.css +98 -194
  11. package/dist/assets/typography.css +96 -0
  12. package/dist/index.cjs +120 -117
  13. package/dist/index.d.ts +1 -0
  14. package/dist/index.mjs +27703 -27059
  15. package/dist/package.json.d.ts +46 -47
  16. package/dist/src/components/Alert/index.d.ts +1 -0
  17. package/dist/src/components/Badges/Badges.config.d.ts +57 -0
  18. package/dist/src/components/Badges/Badges.d.ts +1 -0
  19. package/dist/src/components/Badges/Badges.stories.d.ts +117 -2
  20. package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +113 -0
  21. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +2 -1
  22. package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +221 -6
  23. package/dist/src/components/Button/Button.config.d.ts +70 -0
  24. package/dist/src/components/Button/Button.d.ts +1 -0
  25. package/dist/src/components/Button/Button.stories.d.ts +129 -4
  26. package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +53 -0
  27. package/dist/src/components/ButtonIcon/ButtonIcon.d.ts +1 -0
  28. package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +123 -4
  29. package/dist/src/components/ButtonPopover/ButtonPopover.d.ts +1 -0
  30. package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +258 -2
  31. package/dist/src/components/Calendar/Calendar.d.ts +3 -1
  32. package/dist/src/components/Calendar/Calendar.stories.d.ts +283 -2
  33. package/dist/src/components/Calendar/CalendarButton.d.ts +1 -0
  34. package/dist/src/components/Calendar/CalendarCell.d.ts +1 -0
  35. package/dist/src/components/Calendar/CalendarMonth.d.ts +1 -0
  36. package/dist/src/components/Calendar/CalendarRange.d.ts +1 -0
  37. package/dist/src/components/Calendar/CalendarYear.d.ts +1 -0
  38. package/dist/src/components/Chart/DoughnutChart.d.ts +1 -0
  39. package/dist/src/components/Chart/GradientBarChart.d.ts +1 -0
  40. package/dist/src/components/Chart/GradientBarChart.stories.d.ts +71 -4
  41. package/dist/src/components/Chart/GradientLineChart.d.ts +1 -0
  42. package/dist/src/components/Chart/GradientLineChart.stories.d.ts +82 -4
  43. package/dist/src/components/Chart/LineChart.d.ts +1 -0
  44. package/dist/src/components/Chart/LineChart.stories.d.ts +35 -2
  45. package/dist/src/components/Chips/Chips.config.d.ts +35 -0
  46. package/dist/src/components/Chips/Chips.d.ts +1 -0
  47. package/dist/src/components/Chips/Chips.stories.d.ts +137 -2
  48. package/dist/src/components/Collapse/Collapse.d.ts +1 -0
  49. package/dist/src/components/Collapse/Collapse.stories.d.ts +89 -2
  50. package/dist/src/components/Collapse/CollapseV2.d.ts +1 -0
  51. package/dist/src/components/Collapse/CollapseV2.stories.d.ts +59 -2
  52. package/dist/src/components/Colors/Colors.stories.d.ts +2 -1
  53. package/dist/src/components/DatePicker/DatePicker.d.ts +1 -0
  54. package/dist/src/components/DatePicker/DatePicker.stories.d.ts +221 -2
  55. package/dist/src/components/DatePicker/DateRangePicker.d.ts +1 -0
  56. package/dist/src/components/DatePicker/FilterDate.d.ts +2 -1
  57. package/dist/src/components/DatePicker/FilterDate.stories.d.ts +232 -3
  58. package/dist/src/components/DatePicker/MonthYearPicker.d.ts +1 -0
  59. package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +198 -2
  60. package/dist/src/components/ErrorMessage/ErrorMessage.config.d.ts +8 -0
  61. package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +1 -0
  62. package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +39 -2
  63. package/dist/src/components/FilterContainer/FilterContainer.d.ts +1 -0
  64. package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +165 -0
  65. package/dist/src/components/Input/InputFloatingInner.config.d.ts +9 -0
  66. package/dist/src/components/Input/InputFloatingInner.d.ts +1 -0
  67. package/dist/src/components/Input/InputFloatingInner.stories.d.ts +177 -6
  68. package/dist/src/components/Input/InputInnerLabel.config.d.ts +8 -0
  69. package/dist/src/components/Input/InputInnerLabel.d.ts +5 -0
  70. package/dist/src/components/Input/InputInnerLabel.stories.d.ts +205 -0
  71. package/dist/src/components/Input/InputNative.config.d.ts +9 -0
  72. package/dist/src/components/Input/InputNative.d.ts +1 -0
  73. package/dist/src/components/Input/InputNative.stories.d.ts +149 -5
  74. package/dist/src/components/Input/InputReguler.config.d.ts +9 -0
  75. package/dist/src/components/Input/InputReguler.d.ts +1 -0
  76. package/dist/src/components/Input/InputReguler.stories.d.ts +177 -6
  77. package/dist/src/components/Modal/ModalDialog.config.d.ts +9 -0
  78. package/dist/src/components/Modal/ModalDialog.d.ts +1 -0
  79. package/dist/src/components/Modal/ModalDialog.stories.d.ts +121 -2
  80. package/dist/src/components/NumberFormat/NumberFormat.d.ts +1 -0
  81. package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +373 -18
  82. package/dist/src/components/Pagination/Pagination.config.d.ts +5 -0
  83. package/dist/src/components/Pagination/Pagination.d.ts +2 -1
  84. package/dist/src/components/Pagination/Pagination.stories.d.ts +200 -3
  85. package/dist/src/components/Popover/Popover.d.ts +1 -0
  86. package/dist/src/components/Popover/Popover.stories.d.ts +216 -7
  87. package/dist/src/components/PortalComponent/PortalComponent.d.ts +1 -0
  88. package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +61 -0
  89. package/dist/src/components/RadioCheckbox/CheckboxTable.d.ts +1 -0
  90. package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +41 -0
  91. package/dist/src/components/RadioCheckbox/RadioCheckbox.d.ts +1 -0
  92. package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +230 -8
  93. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +25 -0
  94. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -0
  95. package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +196 -4
  96. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +26 -0
  97. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.d.ts +2 -1
  98. package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +5 -4
  99. package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +5 -1
  100. package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +34 -0
  101. package/dist/src/components/Sidebar/ItemSidebar.d.ts +1 -0
  102. package/dist/src/components/Sidebar/Sidebar.config.d.ts +16 -0
  103. package/dist/src/components/Sidebar/Sidebar.d.ts +2 -1
  104. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +6 -5
  105. package/dist/src/components/Step/Step.d.ts +1 -0
  106. package/dist/src/components/Step/Step.stories.d.ts +135 -2
  107. package/dist/src/components/Step/StepIndicator.d.ts +1 -0
  108. package/dist/src/components/Step/StepIndicator.stories.d.ts +148 -2
  109. package/dist/src/components/Switch/Switch.config.d.ts +26 -0
  110. package/dist/src/components/Switch/Switch.d.ts +1 -0
  111. package/dist/src/components/Switch/Switch.stories.d.ts +128 -2
  112. package/dist/src/components/Table/Table.config.d.ts +5 -0
  113. package/dist/src/components/Table/Table.d.ts +3 -3
  114. package/dist/src/components/Table/Table.stories.d.ts +71 -52
  115. package/dist/src/components/Table/TableSubMobile.d.ts +4 -0
  116. package/dist/src/components/Tabs/TabPanel.d.ts +1 -0
  117. package/dist/src/components/Tabs/Tabs.config.d.ts +31 -0
  118. package/dist/src/components/Tabs/Tabs.d.ts +2 -1
  119. package/dist/src/components/Tabs/Tabs.stories.d.ts +220 -3
  120. package/dist/src/components/TextEditor/TextEditor.d.ts +1 -0
  121. package/dist/src/components/TextEditor/TextEditor.stories.d.ts +59 -10
  122. package/dist/src/components/Textarea/Textarea.config.d.ts +31 -0
  123. package/dist/src/components/Textarea/Textarea.d.ts +1 -0
  124. package/dist/src/components/Textarea/Textarea.stories.d.ts +250 -3
  125. package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +6 -0
  126. package/dist/src/components/Textarea/TextareaFloatingInner.d.ts +1 -0
  127. package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +260 -3
  128. package/dist/src/components/Textarea/TextareaInnerLabel.config.d.ts +7 -0
  129. package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +5 -0
  130. package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +259 -0
  131. package/dist/src/components/TimeRange/TimeRange.d.ts +4 -0
  132. package/dist/src/components/TimeRange/TimeRange.stories.d.ts +186 -0
  133. package/dist/src/components/Timeline/Timeline.d.ts +1 -0
  134. package/dist/src/components/Timeline/Timeline.stories.d.ts +40 -2
  135. package/dist/src/components/Tooltip/Tooltip.d.ts +1 -0
  136. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +159 -2
  137. package/dist/src/components/TruncateComponent/TruncateComponent.d.ts +1 -0
  138. package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +106 -2
  139. package/dist/src/components/Typography/Typography.stories.d.ts +2 -1
  140. package/dist/src/components/Upload/UploadFile.d.ts +1 -0
  141. package/dist/src/components/Upload/UploadFile.stories.d.ts +127 -2
  142. package/dist/src/components/Upload/UploadImage.d.ts +2 -1
  143. package/dist/src/components/Upload/UploadImage.stories.d.ts +145 -3
  144. package/dist/src/components/Upload/UploadMultipleFile.d.ts +2 -1
  145. package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +190 -3
  146. package/dist/src/components/Virtualization/ListVirtualization.d.ts +1 -0
  147. package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +279 -2
  148. package/dist/src/components/Virtualization/TableVirtualization.d.ts +1 -0
  149. package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +296 -2
  150. package/dist/src/components/index.d.ts +15 -8
  151. package/dist/src/components/screens/Screens.stories.d.ts +14 -0
  152. package/dist/src/config/bigNumber/index.d.ts +1 -0
  153. package/dist/src/config/components/borderRadius.d.ts +1 -0
  154. package/dist/src/config/components/font.d.ts +7 -0
  155. package/dist/src/config/components/gap.d.ts +1 -0
  156. package/dist/src/config/components/tinymce.d.ts +1 -0
  157. package/dist/src/config/components/typography.d.ts +3 -49
  158. package/dist/src/config/tailwind/index.d.ts +3 -1
  159. package/dist/src/config/tailwind/nativeScreen.d.ts +3 -0
  160. package/dist/src/config/tailwind/typography.d.ts +1 -0
  161. package/dist/src/hooks/index.d.ts +6 -3
  162. package/dist/src/hooks/useAsyncDebounce.d.ts +9 -0
  163. package/dist/src/hooks/useCombinedResizeObserver.d.ts +67 -0
  164. package/dist/src/hooks/useCountdown.d.ts +67 -3
  165. package/dist/src/hooks/useDeepCompareEffect.d.ts +14 -0
  166. package/dist/src/hooks/useElementOrWindowMediaQuery.d.ts +9 -0
  167. package/dist/src/hooks/useEventListener.d.ts +28 -0
  168. package/dist/src/hooks/useMasonry.d.ts +80 -0
  169. package/dist/src/hooks/useMergeRefs.d.ts +27 -0
  170. package/dist/src/hooks/useOtpInput.d.ts +200 -0
  171. package/dist/src/hooks/useStateRef.d.ts +9 -0
  172. package/dist/src/interfaces/components/Alert/index.d.ts +9 -0
  173. package/dist/src/interfaces/components/Badges/index.d.ts +31 -1
  174. package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +86 -2
  175. package/dist/src/interfaces/components/Button/index.d.ts +47 -2
  176. package/dist/src/interfaces/components/ButtonIcon/index.d.ts +37 -0
  177. package/dist/src/interfaces/components/ButtonPopover/index.d.ts +79 -0
  178. package/dist/src/interfaces/components/Calendar/index.d.ts +385 -3
  179. package/dist/src/interfaces/components/Chart/index.d.ts +461 -0
  180. package/dist/src/interfaces/components/Checkbox/index.d.ts +13 -0
  181. package/dist/src/interfaces/components/Chips/index.d.ts +39 -1
  182. package/dist/src/interfaces/components/Collapse/index.d.ts +61 -0
  183. package/dist/src/interfaces/components/DatePicker/index.d.ts +278 -1
  184. package/dist/src/interfaces/components/ErrorMessage/index.d.ts +17 -1
  185. package/dist/src/interfaces/components/FilterContainer/index.d.ts +103 -0
  186. package/dist/src/interfaces/components/Input/index.d.ts +194 -0
  187. package/dist/src/interfaces/components/Modal/index.d.ts +46 -0
  188. package/dist/src/interfaces/components/NumberFormat/index.d.ts +26 -0
  189. package/dist/src/interfaces/components/Pagination/index.d.ts +84 -0
  190. package/dist/src/interfaces/components/Popover/index.d.ts +99 -1
  191. package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +60 -2
  192. package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +47 -1
  193. package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +197 -2
  194. package/dist/src/interfaces/components/Sidebar/index.d.ts +230 -1
  195. package/dist/src/interfaces/components/Step/index.d.ts +154 -0
  196. package/dist/src/interfaces/components/Switch/index.d.ts +54 -1
  197. package/dist/src/interfaces/components/Table/index.d.ts +403 -6
  198. package/dist/src/interfaces/components/Tabs/index.d.ts +131 -1
  199. package/dist/src/interfaces/components/TextEditor/index.d.ts +13 -0
  200. package/dist/src/interfaces/components/Textarea/index.d.ts +170 -0
  201. package/dist/src/interfaces/components/TimeRange/index.d.ts +129 -0
  202. package/dist/src/interfaces/components/Timeline/index.d.ts +37 -0
  203. package/dist/src/interfaces/components/Tooltip/index.d.ts +57 -0
  204. package/dist/src/interfaces/components/TruncateComponent/index.d.ts +34 -0
  205. package/dist/src/interfaces/components/UploadFile/index.d.ts +187 -0
  206. package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +139 -0
  207. package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +144 -0
  208. package/dist/src/main.d.ts +1 -0
  209. package/dist/src/utils/common.d.ts +5 -4
  210. package/dist/src/utils/constant.d.ts +1 -0
  211. package/dist/types-external/table.d.ts +3 -0
  212. package/package.json +46 -47
  213. package/dist/index.cjs.map +0 -1
  214. package/dist/index.mjs.map +0 -1
@@ -1,4 +1,5 @@
1
- import { StoryObj } from '@storybook/react-vite';
1
+ import { StoryObj } from '@storybook/react';
2
+
2
3
  declare const meta: {
3
4
  title: string;
4
5
  component: import('react').ForwardRefExoticComponent<import('..').IInputNative & import('react').RefAttributes<HTMLInputElement>>;
@@ -7,17 +8,160 @@ declare const meta: {
7
8
  };
8
9
  tags: string[];
9
10
  argTypes: {
11
+ startIcon: {
12
+ control: "object";
13
+ description: string;
14
+ table: {
15
+ category: string;
16
+ type: {
17
+ summary: string;
18
+ };
19
+ };
20
+ };
21
+ endIcon: {
22
+ control: "object";
23
+ description: string;
24
+ table: {
25
+ category: string;
26
+ type: {
27
+ summary: string;
28
+ };
29
+ };
30
+ };
31
+ sizeInput: {
32
+ control: {
33
+ type: "select";
34
+ };
35
+ options: string[];
36
+ description: string;
37
+ table: {
38
+ category: string;
39
+ type: {
40
+ summary: string;
41
+ };
42
+ defaultValue: {
43
+ summary: string;
44
+ };
45
+ };
46
+ };
10
47
  className: {
11
- type: "string";
48
+ control: "text";
49
+ description: string;
50
+ table: {
51
+ category: string;
52
+ type: {
53
+ summary: string;
54
+ };
55
+ };
12
56
  };
13
57
  classNameContainer: {
14
- type: "string";
58
+ control: "text";
59
+ description: string;
60
+ table: {
61
+ category: string;
62
+ type: {
63
+ summary: string;
64
+ };
65
+ };
15
66
  };
16
67
  classNameLabelError: {
17
- type: "string";
68
+ control: "text";
69
+ description: string;
70
+ table: {
71
+ category: string;
72
+ type: {
73
+ summary: string;
74
+ };
75
+ };
76
+ };
77
+ value: {
78
+ control: "text";
79
+ description: string;
80
+ table: {
81
+ category: string;
82
+ type: {
83
+ summary: string;
84
+ };
85
+ };
18
86
  };
19
87
  error: {
20
- type: "string";
88
+ control: "text";
89
+ description: string;
90
+ table: {
91
+ category: string;
92
+ type: {
93
+ summary: string;
94
+ };
95
+ };
96
+ };
97
+ disabled: {
98
+ control: "boolean";
99
+ description: string;
100
+ table: {
101
+ category: string;
102
+ type: {
103
+ summary: string;
104
+ };
105
+ defaultValue: {
106
+ summary: string;
107
+ };
108
+ };
109
+ };
110
+ type: {
111
+ control: {
112
+ type: "select";
113
+ };
114
+ options: string[];
115
+ description: string;
116
+ table: {
117
+ category: string;
118
+ type: {
119
+ summary: string;
120
+ };
121
+ defaultValue: {
122
+ summary: string;
123
+ };
124
+ };
125
+ };
126
+ onChange: {
127
+ action: string;
128
+ description: string;
129
+ table: {
130
+ category: string;
131
+ type: {
132
+ summary: string;
133
+ };
134
+ };
135
+ };
136
+ name: {
137
+ control: "text";
138
+ description: string;
139
+ table: {
140
+ category: string;
141
+ type: {
142
+ summary: string;
143
+ };
144
+ };
145
+ };
146
+ id: {
147
+ control: "text";
148
+ description: string;
149
+ table: {
150
+ category: string;
151
+ type: {
152
+ summary: string;
153
+ };
154
+ };
155
+ };
156
+ placeholder: {
157
+ control: "text";
158
+ description: string;
159
+ table: {
160
+ category: string;
161
+ type: {
162
+ summary: string;
163
+ };
164
+ };
21
165
  };
22
166
  };
23
167
  args: {
@@ -0,0 +1,9 @@
1
+ export declare const configInputReguler: {
2
+ size: {
3
+ large: string;
4
+ medium: string;
5
+ small: string;
6
+ };
7
+ variant: {};
8
+ };
9
+ export declare const keysConfigInputRegulerSize: string[];
@@ -1,3 +1,4 @@
1
1
  import { IInputReguler } from '../../interfaces/components/Input/index';
2
+
2
3
  declare const InputReguler: import('react').ForwardRefExoticComponent<IInputReguler & import('react').RefAttributes<HTMLInputElement>>;
3
4
  export default InputReguler;
@@ -1,4 +1,5 @@
1
- import { StoryObj } from '@storybook/react-vite';
1
+ import { StoryObj } from '@storybook/react';
2
+
2
3
  declare const meta: {
3
4
  title: string;
4
5
  component: import('react').ForwardRefExoticComponent<import('..').IInputReguler & import('react').RefAttributes<HTMLInputElement>>;
@@ -7,20 +8,190 @@ declare const meta: {
7
8
  };
8
9
  tags: string[];
9
10
  argTypes: {
11
+ label: {
12
+ control: "text";
13
+ description: string;
14
+ table: {
15
+ category: string;
16
+ type: {
17
+ summary: string;
18
+ };
19
+ };
20
+ };
21
+ startIcon: {
22
+ control: "object";
23
+ description: string;
24
+ table: {
25
+ category: string;
26
+ type: {
27
+ summary: string;
28
+ };
29
+ };
30
+ };
31
+ endIcon: {
32
+ control: "object";
33
+ description: string;
34
+ table: {
35
+ category: string;
36
+ type: {
37
+ summary: string;
38
+ };
39
+ };
40
+ };
41
+ sizeInput: {
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
+ };
10
57
  className: {
11
- type: "string";
58
+ control: "text";
59
+ description: string;
60
+ table: {
61
+ category: string;
62
+ type: {
63
+ summary: string;
64
+ };
65
+ };
12
66
  };
13
67
  classNameContainer: {
14
- type: "string";
68
+ control: "text";
69
+ description: string;
70
+ table: {
71
+ category: string;
72
+ type: {
73
+ summary: string;
74
+ };
75
+ };
15
76
  };
16
77
  classNameLabel: {
17
- type: "string";
78
+ control: "text";
79
+ description: string;
80
+ table: {
81
+ category: string;
82
+ type: {
83
+ summary: string;
84
+ };
85
+ };
18
86
  };
19
87
  classNameLabelError: {
20
- type: "string";
88
+ control: "text";
89
+ description: string;
90
+ table: {
91
+ category: string;
92
+ type: {
93
+ summary: string;
94
+ };
95
+ };
96
+ };
97
+ value: {
98
+ control: "text";
99
+ description: string;
100
+ table: {
101
+ category: string;
102
+ type: {
103
+ summary: string;
104
+ };
105
+ };
21
106
  };
22
107
  error: {
23
- type: "string";
108
+ control: "text";
109
+ description: string;
110
+ table: {
111
+ category: string;
112
+ type: {
113
+ summary: string;
114
+ };
115
+ };
116
+ };
117
+ disabled: {
118
+ control: "boolean";
119
+ description: string;
120
+ table: {
121
+ category: string;
122
+ type: {
123
+ summary: string;
124
+ };
125
+ defaultValue: {
126
+ summary: string;
127
+ };
128
+ };
129
+ };
130
+ type: {
131
+ control: "text";
132
+ description: string;
133
+ table: {
134
+ category: string;
135
+ type: {
136
+ summary: string;
137
+ };
138
+ defaultValue: {
139
+ summary: string;
140
+ };
141
+ };
142
+ };
143
+ isRequired: {
144
+ control: "boolean";
145
+ description: string;
146
+ table: {
147
+ category: string;
148
+ type: {
149
+ summary: string;
150
+ };
151
+ defaultValue: {
152
+ summary: string;
153
+ };
154
+ };
155
+ };
156
+ onChange: {
157
+ action: string;
158
+ description: string;
159
+ table: {
160
+ category: string;
161
+ type: {
162
+ summary: string;
163
+ };
164
+ };
165
+ };
166
+ id: {
167
+ control: "text";
168
+ description: string;
169
+ table: {
170
+ category: string;
171
+ type: {
172
+ summary: string;
173
+ };
174
+ };
175
+ };
176
+ name: {
177
+ control: "text";
178
+ description: string;
179
+ table: {
180
+ category: string;
181
+ type: {
182
+ summary: string;
183
+ };
184
+ };
185
+ };
186
+ placeholder: {
187
+ control: "text";
188
+ description: string;
189
+ table: {
190
+ category: string;
191
+ type: {
192
+ summary: string;
193
+ };
194
+ };
24
195
  };
25
196
  };
26
197
  args: {
@@ -0,0 +1,9 @@
1
+ export declare const configModal: {
2
+ size: {
3
+ small: string;
4
+ medium: string;
5
+ regular: string;
6
+ large: string;
7
+ };
8
+ };
9
+ export declare const keysConfigModalSize: string[];
@@ -1,4 +1,5 @@
1
1
  import { ElementType } from 'react';
2
2
  import { IModalDialog } from '../../interfaces/components/Modal';
3
+
3
4
  declare const ModalDialog: <T extends ElementType = "div">({ as, children, id, idModal, withOverlay, show, size, className, classNameContainer, onClose, ...props }: IModalDialog<T>) => import("react/jsx-runtime").JSX.Element;
4
5
  export default ModalDialog;
@@ -1,4 +1,5 @@
1
- import { StoryObj } from '@storybook/react-vite';
1
+ import { StoryObj } from '@storybook/react';
2
+
2
3
  declare const meta: {
3
4
  title: string;
4
5
  component: <T extends import('react').ElementType = "div">({ as, children, id, idModal, withOverlay, show, size, className, classNameContainer, onClose, ...props }: import('../../interfaces/components/Modal').IModalDialog<T>) => import("react/jsx-runtime").JSX.Element;
@@ -7,8 +8,126 @@ declare const meta: {
7
8
  };
8
9
  tags: string[];
9
10
  argTypes: {
11
+ children: {
12
+ control: "object";
13
+ description: string;
14
+ table: {
15
+ category: string;
16
+ type: {
17
+ summary: string;
18
+ };
19
+ };
20
+ };
21
+ as: {
22
+ control: "text";
23
+ description: string;
24
+ table: {
25
+ category: string;
26
+ type: {
27
+ summary: string;
28
+ };
29
+ defaultValue: {
30
+ summary: string;
31
+ };
32
+ };
33
+ };
34
+ id: {
35
+ control: "text";
36
+ description: string;
37
+ table: {
38
+ category: string;
39
+ type: {
40
+ summary: string;
41
+ };
42
+ defaultValue: {
43
+ summary: string;
44
+ };
45
+ };
46
+ };
47
+ idModal: {
48
+ control: "text";
49
+ description: string;
50
+ table: {
51
+ category: string;
52
+ type: {
53
+ summary: string;
54
+ };
55
+ defaultValue: {
56
+ summary: string;
57
+ };
58
+ };
59
+ };
60
+ size: {
61
+ control: {
62
+ type: "select";
63
+ };
64
+ options: string[];
65
+ description: string;
66
+ table: {
67
+ category: string;
68
+ type: {
69
+ summary: string;
70
+ };
71
+ defaultValue: {
72
+ summary: string;
73
+ };
74
+ };
75
+ };
10
76
  className: {
11
- type: "string";
77
+ control: "text";
78
+ description: string;
79
+ table: {
80
+ category: string;
81
+ type: {
82
+ summary: string;
83
+ };
84
+ };
85
+ };
86
+ classNameContainer: {
87
+ control: "text";
88
+ description: string;
89
+ table: {
90
+ category: string;
91
+ type: {
92
+ summary: string;
93
+ };
94
+ };
95
+ };
96
+ withOverlay: {
97
+ control: "boolean";
98
+ description: string;
99
+ table: {
100
+ category: string;
101
+ type: {
102
+ summary: string;
103
+ };
104
+ defaultValue: {
105
+ summary: string;
106
+ };
107
+ };
108
+ };
109
+ show: {
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
+ onClose: {
123
+ action: string;
124
+ description: string;
125
+ table: {
126
+ category: string;
127
+ type: {
128
+ summary: string;
129
+ };
130
+ };
12
131
  };
13
132
  };
14
133
  render: (args: import('../../interfaces/components/Modal').IModalDialog<import('react').ElementType>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,4 @@
1
1
  import { INumberFormat } from '../../interfaces/components/NumberFormat';
2
+
2
3
  declare const NumberFormat: ({ max, min, selectedText, onChange, onFocusInput, ...otherProps }: INumberFormat) => import("react/jsx-runtime").JSX.Element;
3
4
  export default NumberFormat;