@fattureincloud/fic-design-system 0.4.2 → 0.4.6-expenses.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (229) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist/components/avatar/AvatarImage.d.ts +3 -0
  3. package/dist/components/avatar/AvatarInitials.d.ts +3 -0
  4. package/dist/components/avatar/AvatarPlaceholder.d.ts +3 -0
  5. package/dist/components/avatar/baseAvatar.d.ts +3 -0
  6. package/dist/components/avatar/typings/avatar.d.ts +30 -0
  7. package/dist/components/badge/{Badge.d.ts → badge.d.ts} +0 -0
  8. package/dist/components/badge/components/styledBadgeWrapper.d.ts +1 -0
  9. package/dist/components/badge/index.d.ts +3 -0
  10. package/dist/components/buttons/baseButton.d.ts +3 -0
  11. package/dist/components/buttons/button/Button.d.ts +2 -2
  12. package/dist/components/buttons/button.d.ts +3 -0
  13. package/dist/components/buttons/buttons.stories.d.ts +1 -0
  14. package/dist/components/buttons/iconButton.d.ts +3 -0
  15. package/dist/components/buttons/iconButton.stories.d.ts +1 -0
  16. package/dist/components/buttons/typings/baseButton.d.ts +15 -0
  17. package/dist/components/buttons/typings/buttons.d.ts +9 -0
  18. package/dist/components/buttons/typings/iconButton.d.ts +13 -0
  19. package/dist/components/buttons/utils.d.ts +47 -0
  20. package/dist/components/checkbox/Checkbox.d.ts +15 -0
  21. package/dist/components/checkbox/checkbox.stories.d.ts +1 -0
  22. package/dist/components/checkbox/checkboxPalette.d.ts +16 -0
  23. package/dist/components/checkbox/components/Input.d.ts +9 -0
  24. package/dist/components/checkbox/components/checkbox-input.d.ts +2 -0
  25. package/dist/components/checkbox/components/container.d.ts +2 -0
  26. package/dist/components/checkbox/components/label.d.ts +8 -0
  27. package/dist/components/checkbox/components/styledCheckboxInputWrapper.d.ts +2 -0
  28. package/dist/components/checkbox/hooks/useCheckboxValue.d.ts +11 -0
  29. package/dist/components/checkbox/index.d.ts +4 -0
  30. package/dist/components/checkbox/types.d.ts +19 -0
  31. package/dist/components/checkbox/typings/checkbox.d.ts +38 -0
  32. package/dist/components/checkbox/utils.d.ts +24 -0
  33. package/dist/components/common/Icon/components/backgroundWrapper.d.ts +5 -0
  34. package/dist/components/common/Icon/icon.stories.d.ts +1 -0
  35. package/dist/components/common/Icon/index.d.ts +6 -0
  36. package/dist/components/common/Icon/typings.d.ts +43 -0
  37. package/dist/components/dropdown/components/DefaultTrigger.d.ts +2 -2
  38. package/dist/components/dropdown/components/StyledDropdown.d.ts +8 -0
  39. package/dist/components/dropdown/components/StyledDropdownWrapper.d.ts +10 -0
  40. package/dist/components/dropdown/components/UnstyledDropdown.d.ts +13 -0
  41. package/dist/components/dropdownLegacy/DropdownImpl.d.ts +12 -0
  42. package/dist/components/dropdownLegacy/components/Item.d.ts +8 -0
  43. package/dist/components/dropdownLegacy/components/Separator.d.ts +2 -0
  44. package/dist/components/dropdownLegacy/components/ShortcutText.d.ts +1 -0
  45. package/dist/components/dropdownLegacy/components/Title.d.ts +4 -0
  46. package/dist/components/dropdownLegacy/components/UserListItem.d.ts +6 -0
  47. package/dist/components/dropdownLegacy/dropdown.d.ts +13 -0
  48. package/dist/components/dropdownLegacy/dropdown.stories.d.ts +1 -0
  49. package/dist/components/dropdownLegacy/types.d.ts +45 -0
  50. package/dist/components/dropdownV2/DropdownImpl.d.ts +4 -0
  51. package/dist/components/dropdownV2/components/Item.d.ts +8 -0
  52. package/dist/components/dropdownV2/components/Separator.d.ts +3 -0
  53. package/dist/components/dropdownV2/components/ShortcutText.d.ts +1 -0
  54. package/dist/components/dropdownV2/components/Title.d.ts +4 -0
  55. package/dist/components/dropdownV2/components/UserListItem.d.ts +6 -0
  56. package/dist/components/dropdownV2/dropdown.d.ts +14 -0
  57. package/dist/components/dropdownV2/dropdown.stories.d.ts +1 -0
  58. package/dist/components/dropdownV2/index.d.ts +3 -0
  59. package/dist/components/dropdownV2/types.d.ts +49 -0
  60. package/dist/components/form/common/styles.d.ts +2 -0
  61. package/dist/components/form/fileUploader/FileUploader.d.ts +14 -0
  62. package/dist/components/form/fileUploader/components/FileUploaderContent.d.ts +12 -0
  63. package/dist/components/form/fileUploader/fileUploader.stories.d.ts +5 -0
  64. package/dist/components/form/fileUploader/fileUploaderPalette.d.ts +18 -0
  65. package/dist/components/form/fileUploader/hooks/useCustomPalette.d.ts +3 -0
  66. package/dist/components/form/fileUploader/hooks/useIcon.d.ts +4 -0
  67. package/dist/components/form/fileUploader/hooks/useTexts.d.ts +3 -0
  68. package/dist/components/form/fileUploader/index.d.ts +4 -0
  69. package/dist/components/form/fileUploader/styled.d.ts +14 -0
  70. package/dist/components/form/fileUploader/types.d.ts +18 -0
  71. package/dist/components/form/fileUploader/utils.d.ts +2 -0
  72. package/dist/components/form/inputText/InputText.d.ts +2 -1
  73. package/dist/components/form/inputText/components/InputElement.d.ts +4 -2
  74. package/dist/components/form/inputText/components/UnitDropdown.d.ts +7 -0
  75. package/dist/components/form/inputText/components/unitDropdown/UnitDropdownTrigger.d.ts +9 -0
  76. package/dist/components/form/inputText/index.d.ts +2 -1
  77. package/dist/components/form/inputText/inputText.stories.d.ts +1 -0
  78. package/dist/components/form/inputText/types.d.ts +5 -1
  79. package/dist/components/form/label/Label.d.ts +2 -1
  80. package/dist/components/form/select/SelectWrapper.d.ts +2 -2
  81. package/dist/components/form/select/components/Option.d.ts +1 -1
  82. package/dist/components/form/select/hooks/useSelectGeneric.d.ts +10 -0
  83. package/dist/components/form/select/hooks/useSelectSimpleValue.d.ts +8 -0
  84. package/dist/components/form/select/hooks/useSelectThemeStyles.d.ts +6 -2
  85. package/dist/components/form/select/index.d.ts +4 -2
  86. package/dist/components/form/select/select.stories.d.ts +1 -0
  87. package/dist/components/form/select/types.d.ts +11 -4
  88. package/dist/components/form/select/utils.d.ts +3 -0
  89. package/dist/components/form/textArea/components/TextAreaElement.d.ts +2 -2
  90. package/dist/components/form/textArea/types.d.ts +1 -0
  91. package/dist/components/groupRadioButton/typings/groupRadioButton.d.ts +21 -0
  92. package/dist/components/groupRadioButton/utils.d.ts +3 -0
  93. package/dist/components/groupedList/components/StyledGroupedList.d.ts +17 -0
  94. package/dist/components/groupedList/index.d.ts +2 -1
  95. package/dist/components/iconDropdown/iconDropdown.d.ts +9 -0
  96. package/dist/components/iconDropdown/index.d.ts +2 -0
  97. package/dist/components/inlineMessages/utils.d.ts +295 -0
  98. package/dist/components/inputText/components/icons.d.ts +8 -0
  99. package/dist/components/inputText/components/inputContainer.d.ts +1 -0
  100. package/dist/components/inputText/components/messages.d.ts +2 -0
  101. package/dist/components/inputText/components/wrapperTextArea.d.ts +1 -0
  102. package/dist/components/inputText/icons.d.ts +9 -0
  103. package/dist/components/inputText/index.d.ts +3 -0
  104. package/dist/components/inputText/inputText.stories.d.ts +1 -0
  105. package/dist/components/inputText/inputTextStyledWrapper.d.ts +2 -0
  106. package/dist/components/inputText/sideText.d.ts +6 -0
  107. package/dist/components/inputText/typings/enums.d.ts +17 -0
  108. package/dist/components/inputText/typings/inputText.d.ts +43 -0
  109. package/dist/components/inputText/utils.d.ts +8 -0
  110. package/dist/components/layout/sidebarItem/sidebarItem.stories.d.ts +5 -1
  111. package/dist/components/microTag/index.d.ts +2 -2
  112. package/dist/components/modals/components/HeaderSearch.d.ts +8 -0
  113. package/dist/components/modals/modalStyled.d.ts +2 -0
  114. package/dist/components/modals/modalStyledWrapper.d.ts +2 -0
  115. package/dist/components/modals/types.d.ts +2 -0
  116. package/dist/components/navigationDropdown/index.d.ts +2 -0
  117. package/dist/components/navigationDropdown/navigationDropdown.d.ts +9 -0
  118. package/dist/components/select/custom-select-style.d.ts +2 -0
  119. package/dist/components/select/hooks/constants.d.ts +4613 -0
  120. package/dist/components/select/hooks/useCustomSelectStyle.d.ts +4 -0
  121. package/dist/components/select/index.d.ts +4 -0
  122. package/dist/components/select/select.stories.d.ts +1 -0
  123. package/dist/components/select/typings/select.d.ts +22 -0
  124. package/dist/components/select/utils.d.ts +1 -0
  125. package/dist/components/stepBar/components/singleStep.d.ts +3 -0
  126. package/dist/components/stepBar/components/styledStepBarWrapper.d.ts +2 -0
  127. package/dist/components/stepBar/index.d.ts +2 -0
  128. package/dist/components/stepBar/stepBar.d.ts +7 -0
  129. package/dist/components/stepBar/stepBar.stories.d.ts +1 -0
  130. package/dist/components/stepBar/types.d.ts +15 -0
  131. package/dist/components/table/components/ActionsCell.d.ts +10 -0
  132. package/dist/components/table/components/EmptyState.d.ts +7 -0
  133. package/dist/components/table/components/SelectedRowsCount.d.ts +6 -0
  134. package/dist/components/table/components/SortIndicator.d.ts +6 -0
  135. package/dist/components/table/components/TableBody.d.ts +13 -0
  136. package/dist/components/table/components/TableFoot.d.ts +2 -0
  137. package/dist/components/table/components/TableHeader.d.ts +7 -0
  138. package/dist/components/table/components/actions/DropdownActions.d.ts +9 -0
  139. package/dist/components/table/components/actions/PrimaryAction.d.ts +11 -0
  140. package/dist/components/table/components/checkboxes/Cell.d.ts +4 -0
  141. package/dist/components/table/components/checkboxes/Header.d.ts +4 -0
  142. package/dist/components/table/components/checkboxes/useHeaderCheckboxProps.d.ts +12 -0
  143. package/dist/components/table/components/customizationModal/customizationsModal.d.ts +1 -2
  144. package/dist/components/table/components/customizationModal/utils.d.ts +2 -2
  145. package/dist/components/table/components/pagination/PageButton.d.ts +10 -0
  146. package/dist/components/table/components/pagination/PaginationButtons.d.ts +9 -0
  147. package/dist/components/table/components/pagination/utils.d.ts +14 -0
  148. package/dist/components/table/components/tableParts/TableTd.d.ts +7 -0
  149. package/dist/components/table/components/tableParts/TableTh.d.ts +4 -0
  150. package/dist/components/table/components/tableParts/styled.d.ts +2 -0
  151. package/dist/components/table/hooks/useCheckboxesComponents.d.ts +4 -0
  152. package/dist/components/table/hooks/useTableHooks.d.ts +6 -0
  153. package/dist/components/table/hooks/useTableValues.d.ts +14 -0
  154. package/dist/components/table/stories/columns.d.ts +3 -0
  155. package/dist/components/table/stories/components/CustomPerson.d.ts +6 -0
  156. package/dist/components/table/stories/components/Role.d.ts +7 -0
  157. package/dist/components/table/stories/components/types.d.ts +14 -0
  158. package/dist/components/table/stories/data.d.ts +2 -0
  159. package/dist/components/table/tablePalette.d.ts +33 -0
  160. package/dist/components/table/types.d.ts +27 -0
  161. package/dist/components/table/utils.d.ts +14 -0
  162. package/dist/components/tabs/components/item/Item.d.ts +8 -0
  163. package/dist/components/tabs/components/item/components/ActiveTag.d.ts +6 -0
  164. package/dist/components/tabs/components/item/components/Tab.d.ts +6 -0
  165. package/dist/components/tabs/components/tabsDropdown/TabsDropdown.d.ts +8 -0
  166. package/dist/components/tabs/components/tabsDropdown/components/TabsDropdownTrigger.d.ts +7 -0
  167. package/dist/components/tabs/hooks/useResizedWidth.d.ts +7 -0
  168. package/dist/components/tabs/hooks/useTabItemsCount.d.ts +12 -0
  169. package/dist/components/tabs/tabs.d.ts +12 -0
  170. package/dist/components/tabs/types.d.ts +5 -0
  171. package/dist/components/tag/components/StyledTag.d.ts +10 -0
  172. package/dist/components/tag/index.d.ts +2 -1
  173. package/dist/components/test/index.d.ts +2 -0
  174. package/dist/components/test/test.d.ts +5 -0
  175. package/dist/components/textButton/TextButton.d.ts +12 -0
  176. package/dist/components/textButton/index.d.ts +2 -0
  177. package/dist/components/textButton/textButton.stories.d.ts +1 -0
  178. package/dist/components/tooltips/components/message.d.ts +12 -0
  179. package/dist/components/tooltips/components/styledTooltipWrapper.d.ts +1 -0
  180. package/dist/components/tooltips/index.d.ts +2 -0
  181. package/dist/components/tooltips/tooltips.d.ts +15 -0
  182. package/dist/components/tooltips/tooltips.stories.d.ts +1 -0
  183. package/dist/components/tooltips/types.d.ts +25 -0
  184. package/dist/index.d.ts +9 -7
  185. package/dist/index.esm.js +15 -2
  186. package/dist/index.esm.js.map +1 -1
  187. package/dist/index.js +14 -1
  188. package/dist/index.js.map +1 -1
  189. package/dist/styles/default-palette/base.d.ts +18 -0
  190. package/dist/styles/default-palette/blue.d.ts +12 -0
  191. package/dist/styles/default-palette/cyan.d.ts +12 -0
  192. package/dist/styles/default-palette/fucsia.d.ts +12 -0
  193. package/dist/styles/default-palette/green.d.ts +12 -0
  194. package/dist/styles/default-palette/grey.d.ts +12 -0
  195. package/dist/styles/default-palette/index.d.ts +152 -0
  196. package/dist/styles/default-palette/indigo.d.ts +12 -0
  197. package/dist/styles/default-palette/orange.d.ts +12 -0
  198. package/dist/styles/default-palette/pink.d.ts +12 -0
  199. package/dist/styles/default-palette/red.d.ts +12 -0
  200. package/dist/styles/default-palette/yellow.d.ts +12 -0
  201. package/dist/styles/defaultPalette/base.d.ts +18 -0
  202. package/dist/styles/defaultPalette/blue.d.ts +12 -0
  203. package/dist/styles/defaultPalette/colors/others.d.ts +1 -0
  204. package/dist/styles/defaultPalette/cyan.d.ts +12 -0
  205. package/dist/styles/defaultPalette/fuchsia.d.ts +12 -0
  206. package/dist/styles/defaultPalette/green.d.ts +12 -0
  207. package/dist/styles/defaultPalette/grey.d.ts +12 -0
  208. package/dist/styles/defaultPalette/indigo.d.ts +12 -0
  209. package/dist/styles/defaultPalette/orange.d.ts +12 -0
  210. package/dist/styles/defaultPalette/pink.d.ts +12 -0
  211. package/dist/styles/defaultPalette/red.d.ts +12 -0
  212. package/dist/styles/defaultPalette/yellow.d.ts +12 -0
  213. package/dist/styles/fic-palette/base.d.ts +18 -0
  214. package/dist/styles/fic-palette/blue.d.ts +12 -0
  215. package/dist/styles/fic-palette/cyan.d.ts +12 -0
  216. package/dist/styles/fic-palette/fucsia.d.ts +12 -0
  217. package/dist/styles/fic-palette/green.d.ts +12 -0
  218. package/dist/styles/fic-palette/grey.d.ts +12 -0
  219. package/dist/styles/fic-palette/index.d.ts +141 -0
  220. package/dist/styles/fic-palette/indigo.d.ts +12 -0
  221. package/dist/styles/fic-palette/orange.d.ts +12 -0
  222. package/dist/styles/fic-palette/pink.d.ts +12 -0
  223. package/dist/styles/fic-palette/red.d.ts +12 -0
  224. package/dist/styles/fic-palette/yellow.d.ts +12 -0
  225. package/dist/styles/palette.d.ts +298 -0
  226. package/dist/styles/shadows.d.ts +3 -0
  227. package/dist/styles/theme.d.ts +2 -0
  228. package/dist/utils/FICNumbers.d.ts +11 -0
  229. package/package.json +14 -14
@@ -0,0 +1,295 @@
1
+ export declare const colorSetter: (type: "standard" | "error" | "info" | "warning" | "success" | undefined, palette: {
2
+ colors: {
3
+ base: {
4
+ transparent: string;
5
+ gradientBlue: string;
6
+ };
7
+ black: {
8
+ 8: string;
9
+ 16: string;
10
+ 48: string;
11
+ 80: string;
12
+ 100: string;
13
+ };
14
+ white: {
15
+ 8: string;
16
+ 16: string;
17
+ 48: string;
18
+ 80: string;
19
+ 100: string;
20
+ };
21
+ grey: {
22
+ 900: string;
23
+ 800: string;
24
+ 700: string;
25
+ 600: string;
26
+ 500: string;
27
+ 400: string;
28
+ 300: string;
29
+ 200: string;
30
+ 100: string;
31
+ 50: string;
32
+ };
33
+ blue: {
34
+ 900: string;
35
+ 800: string;
36
+ 700: string;
37
+ 600: string;
38
+ 500: string;
39
+ 400: string;
40
+ 300: string;
41
+ 200: string;
42
+ 100: string;
43
+ 50: string;
44
+ };
45
+ indigo: {
46
+ 900: string;
47
+ 800: string;
48
+ 700: string;
49
+ 600: string;
50
+ 500: string;
51
+ 400: string;
52
+ 300: string;
53
+ 200: string;
54
+ 100: string;
55
+ 50: string;
56
+ };
57
+ yellow: {
58
+ 900: string;
59
+ 800: string;
60
+ 700: string;
61
+ 600: string;
62
+ 500: string;
63
+ 400: string;
64
+ 300: string;
65
+ 200: string;
66
+ 100: string;
67
+ 50: string;
68
+ };
69
+ orange: {
70
+ 900: string;
71
+ 800: string;
72
+ 700: string;
73
+ 600: string;
74
+ 500: string;
75
+ 400: string;
76
+ 300: string;
77
+ 200: string;
78
+ 100: string;
79
+ 50: string;
80
+ };
81
+ red: {
82
+ 900: string;
83
+ 800: string;
84
+ 700: string;
85
+ 600: string;
86
+ 500: string;
87
+ 400: string;
88
+ 300: string;
89
+ 200: string;
90
+ 100: string;
91
+ 50: string;
92
+ };
93
+ green: {
94
+ 900: string;
95
+ 800: string;
96
+ 700: string;
97
+ 600: string;
98
+ 500: string;
99
+ 400: string;
100
+ 300: string;
101
+ 200: string;
102
+ 100: string;
103
+ 50: string;
104
+ };
105
+ fucsia: {
106
+ 900: string;
107
+ 800: string;
108
+ 700: string;
109
+ 600: string;
110
+ 500: string;
111
+ 400: string;
112
+ 300: string;
113
+ 200: string;
114
+ 100: string;
115
+ 50: string;
116
+ };
117
+ pink: {
118
+ 900: string;
119
+ 800: string;
120
+ 700: string;
121
+ 600: string;
122
+ 500: string;
123
+ 400: string;
124
+ 300: string;
125
+ 200: string;
126
+ 100: string;
127
+ 50: string;
128
+ };
129
+ cyan: {
130
+ 900: string;
131
+ 800: string;
132
+ 700: string;
133
+ 600: string;
134
+ 500: string;
135
+ 400: string;
136
+ 300: string;
137
+ 200: string;
138
+ 100: string;
139
+ 50: string;
140
+ };
141
+ primary: {
142
+ 900: string;
143
+ 800: string;
144
+ 700: string;
145
+ 600: string;
146
+ 500: string;
147
+ 400: string;
148
+ 300: string;
149
+ 200: string;
150
+ 100: string;
151
+ 50: string;
152
+ };
153
+ };
154
+ form: {
155
+ field: {
156
+ label: string;
157
+ validationMessage: string;
158
+ description: string;
159
+ };
160
+ };
161
+ button: {
162
+ primary: {
163
+ blue: {
164
+ normal: string;
165
+ hover: string;
166
+ active: string;
167
+ disabled: string;
168
+ text: string;
169
+ textHover: string;
170
+ };
171
+ red: {
172
+ normal: string;
173
+ hover: string;
174
+ active: string;
175
+ disabled: string;
176
+ text: string;
177
+ textHover: string;
178
+ };
179
+ green: {
180
+ normal: string;
181
+ hover: string;
182
+ active: string;
183
+ disabled: string;
184
+ text: string;
185
+ textHover: string;
186
+ };
187
+ white: {
188
+ normal: string;
189
+ hover: string;
190
+ active: string;
191
+ disabled: string;
192
+ text: string;
193
+ textHover: string;
194
+ };
195
+ yellow: {
196
+ normal: string;
197
+ hover: string;
198
+ active: string;
199
+ disabled: string;
200
+ text: string;
201
+ textHover: string;
202
+ };
203
+ };
204
+ secondary: {
205
+ blue: {
206
+ normal: string;
207
+ hover: string;
208
+ active: string;
209
+ disabled: string;
210
+ text: string;
211
+ textHover: string;
212
+ };
213
+ red: {
214
+ normal: string;
215
+ hover: string;
216
+ active: string;
217
+ disabled: string;
218
+ text: string;
219
+ textHover: string;
220
+ };
221
+ green: {
222
+ normal: string;
223
+ hover: string;
224
+ active: string;
225
+ disabled: string;
226
+ text: string;
227
+ textHover: string;
228
+ };
229
+ yellow: {
230
+ normal: string;
231
+ hover: string;
232
+ active: string;
233
+ disabled: string;
234
+ text: string;
235
+ textHover: string;
236
+ };
237
+ white: {
238
+ normal: string;
239
+ hover: string;
240
+ active: string;
241
+ disabled: string;
242
+ text: string;
243
+ textHover: string;
244
+ };
245
+ };
246
+ };
247
+ iconButton: {
248
+ primary: {
249
+ blue: {
250
+ icon: string;
251
+ iconHover: string;
252
+ };
253
+ red: {
254
+ icon: string;
255
+ iconHover: string;
256
+ };
257
+ green: {
258
+ icon: string;
259
+ iconHover: string;
260
+ };
261
+ yellow: {
262
+ icon: string;
263
+ iconHover: string;
264
+ };
265
+ };
266
+ secondary: {
267
+ blue: {
268
+ icon: string;
269
+ iconHover: string;
270
+ };
271
+ red: {
272
+ icon: string;
273
+ iconHover: string;
274
+ };
275
+ green: {
276
+ icon: string;
277
+ iconHover: string;
278
+ };
279
+ yellow: {
280
+ icon: string;
281
+ iconHover: string;
282
+ };
283
+ };
284
+ };
285
+ text: {
286
+ gray: string;
287
+ };
288
+ link: {
289
+ normal: string;
290
+ hover: string;
291
+ gray: string;
292
+ };
293
+ defaultButton: string;
294
+ }) => import("styled-components").FlattenSimpleInterpolation;
295
+ export declare const spacingSetter: (size?: "medium" | "large" | undefined) => import("styled-components").FlattenSimpleInterpolation;
@@ -0,0 +1,8 @@
1
+ import { EInputSize } from '../typings/enums';
2
+ interface IconProps {
3
+ size?: EInputSize;
4
+ hasAction: boolean;
5
+ }
6
+ export declare const IconLeft: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IconProps, never>;
7
+ export declare const IconRight: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, IconProps, never>;
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare const InputContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,2 @@
1
+ export declare const ErrorMessage: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const DescriptionMessage: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1 @@
1
+ export declare const WrapperTextArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,9 @@
1
+ import { IconProps } from '../icon';
2
+ export declare const LefIcon: import("styled-components").StyledComponent<typeof import("@fortawesome/react-fontawesome").FontAwesomeIcon, import("styled-components").DefaultTheme, import("../icon/iconPalette").IconColorPalette & IconProps & {
3
+ isDisabled?: boolean | undefined;
4
+ }, "primary" | "secondary">;
5
+ export declare const RightIcon: import("styled-components").StyledComponent<typeof import("@fortawesome/react-fontawesome").FontAwesomeIcon, import("styled-components").DefaultTheme, import("../icon/iconPalette").IconColorPalette & IconProps & {
6
+ isDisabled?: boolean | undefined;
7
+ } & {
8
+ isValid?: boolean | undefined;
9
+ }, "primary" | "secondary">;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { InputTextPropsInterface } from './typings/inputText';
3
+ export declare const InputText: (props: InputTextPropsInterface) => JSX.Element;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import { InputTextStylingPropsInterface } from './typings/inputText';
2
+ export declare const StyledWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, InputTextStylingPropsInterface, never>;
@@ -0,0 +1,6 @@
1
+ export declare const LeftText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
2
+ size?: "small" | "large" | "medium" | undefined;
3
+ }, never>;
4
+ export declare const RightText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
5
+ size?: "small" | "large" | "medium" | undefined;
6
+ }, never>;
@@ -0,0 +1,17 @@
1
+ export declare enum EInputSize {
2
+ medium = "medium",
3
+ large = "large"
4
+ }
5
+ export declare enum EInputTags {
6
+ textarea = "textarea",
7
+ input = "input"
8
+ }
9
+ export declare enum EInputTypes {
10
+ password = "password",
11
+ text = "text",
12
+ number = "number"
13
+ }
14
+ export declare enum EInputErrorTypes {
15
+ generic = "generic",
16
+ wordcount = "wordcount"
17
+ }
@@ -0,0 +1,43 @@
1
+ import React from 'react';
2
+ import { IconProps } from '../../icon';
3
+ import { EInputErrorTypes, EInputSize, EInputTags, EInputTypes } from './enums';
4
+ export declare type MergedInputElements = HTMLInputElement | HTMLTextAreaElement;
5
+ export interface InputTextStateInterface {
6
+ }
7
+ export interface InputTextStylingPropsInterface {
8
+ size?: EInputSize;
9
+ isDisabled?: boolean;
10
+ inputWidth?: string;
11
+ error?: {
12
+ id: EInputErrorTypes;
13
+ message: string;
14
+ };
15
+ rightInputIcon?: IconProps;
16
+ leftInputIcon?: IconProps;
17
+ }
18
+ export interface InputTextPropsInterface extends InputTextStylingPropsInterface {
19
+ tag?: EInputTags;
20
+ inputType?: EInputTypes;
21
+ value?: number | string;
22
+ inputPlaceholder?: string;
23
+ autoFocus?: boolean;
24
+ label?: string;
25
+ textAreaWordCount?: {
26
+ max: number;
27
+ current: number;
28
+ };
29
+ name?: string;
30
+ rows?: number;
31
+ className?: string;
32
+ description?: {
33
+ message: string;
34
+ };
35
+ onChange?: (e: React.ChangeEvent<MergedInputElements>) => void;
36
+ onFocus?: (e: React.FocusEvent<MergedInputElements>) => void;
37
+ onBlur?: (e: React.FocusEvent<MergedInputElements>) => void;
38
+ onKeyPress?: (e: React.KeyboardEvent<MergedInputElements>) => void;
39
+ onKeyUp?: (e: React.KeyboardEvent<MergedInputElements>) => void;
40
+ onKeyDown?: (e: React.KeyboardEvent<MergedInputElements>) => void;
41
+ rightIconOnClick?: () => void;
42
+ leftIconOnClick?: () => void;
43
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { MergedInputElements } from './typings/inputText';
3
+ /**
4
+ *
5
+ * @param textInput
6
+ * It checks if the type of input is HTMLTextAreaElement or not
7
+ */
8
+ export declare function isTextArea(textInput: React.RefObject<MergedInputElements>): textInput is React.RefObject<HTMLTextAreaElement>;
@@ -1 +1,5 @@
1
- export {};
1
+ import { Meta, Story } from '@storybook/react';
2
+ import { SidebarItemProps } from './SidebarItem';
3
+ export declare const Template: Story<SidebarItemProps>;
4
+ declare const SidebarItemStory: Meta<SidebarItemProps>;
5
+ export default SidebarItemStory;
@@ -1,3 +1,3 @@
1
- import MicroTag from './MicroTag';
1
+ import MicroTag, { MicroTagProps } from './MicroTag';
2
2
  import microTagPalette, { MicroTagPalette } from './microTagPalette';
3
- export { MicroTag, microTagPalette, MicroTagPalette };
3
+ export { MicroTag, MicroTagProps, microTagPalette, MicroTagPalette };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ declare type PropTypes = {
3
+ handleChange: (event: React.FormEvent<HTMLInputElement>) => void;
4
+ value: string;
5
+ placeholder: string;
6
+ };
7
+ export declare const HeaderSearch: (props: PropTypes) => JSX.Element;
8
+ export {};
@@ -8,6 +8,8 @@ export declare const StyledModalBox: import("styled-components").StyledComponent
8
8
  export declare const ModalBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ModalPropsInterface, never>;
9
9
  export declare const ModalHeaderClose: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
10
10
  export declare const ModalHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
+ export declare const ModalSimpleHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
12
+ export declare const ModalSimpleFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
11
13
  export declare const ModalFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
12
14
  export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
13
15
  export declare const TopAttachment: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
@@ -0,0 +1,2 @@
1
+ import { ModalPropsInterface } from './types';
2
+ export declare const ModalStyledWrapper: import("styled-components").StyledComponent<"div", any, ModalPropsInterface, never>;
@@ -8,8 +8,10 @@ export interface ModalPropsInterface {
8
8
  isOpen?: boolean;
9
9
  title?: string;
10
10
  header?: () => JSX.Element;
11
+ customHeader?: () => JSX.Element;
11
12
  footer?: () => JSX.Element;
12
13
  footerButtons?: ButtonProps[];
14
+ customFooter?: () => JSX.Element;
13
15
  allowClose?: boolean;
14
16
  onActionClose?: () => void;
15
17
  isFullscreen?: boolean;
@@ -0,0 +1,2 @@
1
+ import NavigationDropdown from './navigationDropdown';
2
+ export { NavigationDropdown };
@@ -0,0 +1,9 @@
1
+ import React, { Component } from 'react';
2
+ declare type Props = {
3
+ title: string | number;
4
+ children: React.ReactNode;
5
+ };
6
+ declare class NavigationDropdown extends Component<Props, {}> {
7
+ render(): JSX.Element;
8
+ }
9
+ export default NavigationDropdown;
@@ -0,0 +1,2 @@
1
+ import { Styles } from 'react-select/src/styles';
2
+ export declare const customStyles: (size: "medium" | "large" | undefined, themeContext: any) => Partial<Styles>;