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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. package/CHANGELOG.md +2 -1
  2. package/dist/components/badge/{badge.d.ts → Badge.d.ts} +0 -0
  3. package/dist/components/form/checkbox/index.d.ts +2 -1
  4. package/dist/components/form/fileUploader/hooks/useIcon.d.ts +1 -1
  5. package/dist/components/form/fileUploader/hooks/useTexts.d.ts +2 -2
  6. package/dist/components/table/Table.d.ts +20 -0
  7. package/dist/components/table/components/Pagination.d.ts +7 -0
  8. package/dist/components/table/components/customizationModal/customizationsModal.d.ts +2 -1
  9. package/dist/components/table/components/customizationModal/utils.d.ts +2 -2
  10. package/dist/components/table/index.d.ts +6 -2
  11. package/dist/components/table/table.stories.d.ts +5 -8
  12. package/dist/index.d.ts +3 -3
  13. package/dist/index.esm.js +4 -4
  14. package/dist/index.esm.js.map +1 -1
  15. package/dist/index.js +3 -3
  16. package/dist/index.js.map +1 -1
  17. package/dist/styles/theme.d.ts +2 -0
  18. package/package.json +2 -2
  19. package/dist/components/avatar/AvatarImage.d.ts +0 -3
  20. package/dist/components/avatar/AvatarInitials.d.ts +0 -3
  21. package/dist/components/avatar/AvatarPlaceholder.d.ts +0 -3
  22. package/dist/components/avatar/baseAvatar.d.ts +0 -3
  23. package/dist/components/avatar/typings/avatar.d.ts +0 -30
  24. package/dist/components/badge/components/styledBadgeWrapper.d.ts +0 -1
  25. package/dist/components/buttons/baseButton.d.ts +0 -3
  26. package/dist/components/buttons/button.d.ts +0 -3
  27. package/dist/components/buttons/buttons.stories.d.ts +0 -1
  28. package/dist/components/buttons/iconButton.d.ts +0 -3
  29. package/dist/components/buttons/iconButton.stories.d.ts +0 -1
  30. package/dist/components/buttons/typings/baseButton.d.ts +0 -15
  31. package/dist/components/buttons/typings/buttons.d.ts +0 -9
  32. package/dist/components/buttons/typings/iconButton.d.ts +0 -13
  33. package/dist/components/buttons/utils.d.ts +0 -47
  34. package/dist/components/checkbox/Checkbox.d.ts +0 -15
  35. package/dist/components/checkbox/checkbox.stories.d.ts +0 -1
  36. package/dist/components/checkbox/checkboxPalette.d.ts +0 -16
  37. package/dist/components/checkbox/components/Input.d.ts +0 -9
  38. package/dist/components/checkbox/components/checkbox-input.d.ts +0 -2
  39. package/dist/components/checkbox/components/container.d.ts +0 -2
  40. package/dist/components/checkbox/components/label.d.ts +0 -8
  41. package/dist/components/checkbox/components/styledCheckboxInputWrapper.d.ts +0 -2
  42. package/dist/components/checkbox/hooks/useCheckboxValue.d.ts +0 -11
  43. package/dist/components/checkbox/index.d.ts +0 -4
  44. package/dist/components/checkbox/types.d.ts +0 -19
  45. package/dist/components/checkbox/typings/checkbox.d.ts +0 -38
  46. package/dist/components/checkbox/utils.d.ts +0 -24
  47. package/dist/components/common/Icon/components/backgroundWrapper.d.ts +0 -5
  48. package/dist/components/common/Icon/icon.stories.d.ts +0 -1
  49. package/dist/components/common/Icon/index.d.ts +0 -6
  50. package/dist/components/common/Icon/typings.d.ts +0 -43
  51. package/dist/components/dropdown/components/StyledDropdown.d.ts +0 -8
  52. package/dist/components/dropdown/components/StyledDropdownWrapper.d.ts +0 -10
  53. package/dist/components/dropdown/components/UnstyledDropdown.d.ts +0 -13
  54. package/dist/components/dropdownLegacy/DropdownImpl.d.ts +0 -12
  55. package/dist/components/dropdownLegacy/components/Item.d.ts +0 -8
  56. package/dist/components/dropdownLegacy/components/Separator.d.ts +0 -2
  57. package/dist/components/dropdownLegacy/components/ShortcutText.d.ts +0 -1
  58. package/dist/components/dropdownLegacy/components/Title.d.ts +0 -4
  59. package/dist/components/dropdownLegacy/components/UserListItem.d.ts +0 -6
  60. package/dist/components/dropdownLegacy/dropdown.d.ts +0 -13
  61. package/dist/components/dropdownLegacy/dropdown.stories.d.ts +0 -1
  62. package/dist/components/dropdownLegacy/types.d.ts +0 -45
  63. package/dist/components/dropdownV2/DropdownImpl.d.ts +0 -4
  64. package/dist/components/dropdownV2/components/Item.d.ts +0 -8
  65. package/dist/components/dropdownV2/components/Separator.d.ts +0 -3
  66. package/dist/components/dropdownV2/components/ShortcutText.d.ts +0 -1
  67. package/dist/components/dropdownV2/components/Title.d.ts +0 -4
  68. package/dist/components/dropdownV2/components/UserListItem.d.ts +0 -6
  69. package/dist/components/dropdownV2/dropdown.d.ts +0 -14
  70. package/dist/components/dropdownV2/dropdown.stories.d.ts +0 -1
  71. package/dist/components/dropdownV2/index.d.ts +0 -3
  72. package/dist/components/dropdownV2/types.d.ts +0 -49
  73. package/dist/components/groupRadioButton/typings/groupRadioButton.d.ts +0 -21
  74. package/dist/components/groupRadioButton/utils.d.ts +0 -3
  75. package/dist/components/groupedList/components/StyledGroupedList.d.ts +0 -17
  76. package/dist/components/iconDropdown/iconDropdown.d.ts +0 -9
  77. package/dist/components/iconDropdown/index.d.ts +0 -2
  78. package/dist/components/inlineMessages/utils.d.ts +0 -295
  79. package/dist/components/inputText/components/icons.d.ts +0 -8
  80. package/dist/components/inputText/components/inputContainer.d.ts +0 -1
  81. package/dist/components/inputText/components/messages.d.ts +0 -2
  82. package/dist/components/inputText/components/wrapperTextArea.d.ts +0 -1
  83. package/dist/components/inputText/icons.d.ts +0 -9
  84. package/dist/components/inputText/index.d.ts +0 -3
  85. package/dist/components/inputText/inputText.stories.d.ts +0 -1
  86. package/dist/components/inputText/inputTextStyledWrapper.d.ts +0 -2
  87. package/dist/components/inputText/sideText.d.ts +0 -6
  88. package/dist/components/inputText/typings/enums.d.ts +0 -17
  89. package/dist/components/inputText/typings/inputText.d.ts +0 -43
  90. package/dist/components/inputText/utils.d.ts +0 -8
  91. package/dist/components/modals/components/HeaderSearch.d.ts +0 -8
  92. package/dist/components/modals/modalStyledWrapper.d.ts +0 -2
  93. package/dist/components/navigationDropdown/index.d.ts +0 -2
  94. package/dist/components/navigationDropdown/navigationDropdown.d.ts +0 -9
  95. package/dist/components/select/custom-select-style.d.ts +0 -2
  96. package/dist/components/select/hooks/constants.d.ts +0 -4613
  97. package/dist/components/select/hooks/useCustomSelectStyle.d.ts +0 -4
  98. package/dist/components/select/index.d.ts +0 -4
  99. package/dist/components/select/select.stories.d.ts +0 -1
  100. package/dist/components/select/typings/select.d.ts +0 -22
  101. package/dist/components/select/utils.d.ts +0 -1
  102. package/dist/components/stepBar/components/singleStep.d.ts +0 -3
  103. package/dist/components/stepBar/components/styledStepBarWrapper.d.ts +0 -2
  104. package/dist/components/stepBar/index.d.ts +0 -2
  105. package/dist/components/stepBar/stepBar.d.ts +0 -7
  106. package/dist/components/stepBar/stepBar.stories.d.ts +0 -1
  107. package/dist/components/stepBar/types.d.ts +0 -15
  108. package/dist/components/table/components/pagination.d.ts +0 -2
  109. package/dist/components/table/table.d.ts +0 -2
  110. package/dist/components/tabs/components/item/Item.d.ts +0 -8
  111. package/dist/components/tabs/components/item/components/ActiveTag.d.ts +0 -6
  112. package/dist/components/tabs/components/item/components/Tab.d.ts +0 -6
  113. package/dist/components/tabs/components/tabsDropdown/TabsDropdown.d.ts +0 -8
  114. package/dist/components/tabs/components/tabsDropdown/components/TabsDropdownTrigger.d.ts +0 -7
  115. package/dist/components/tabs/hooks/useResizedWidth.d.ts +0 -7
  116. package/dist/components/tabs/hooks/useTabItemsCount.d.ts +0 -12
  117. package/dist/components/tabs/tabs.d.ts +0 -12
  118. package/dist/components/tabs/types.d.ts +0 -5
  119. package/dist/components/tag/components/StyledTag.d.ts +0 -10
  120. package/dist/components/test/index.d.ts +0 -2
  121. package/dist/components/test/test.d.ts +0 -5
  122. package/dist/components/textButton/TextButton.d.ts +0 -12
  123. package/dist/components/textButton/index.d.ts +0 -2
  124. package/dist/components/textButton/textButton.stories.d.ts +0 -1
  125. package/dist/components/tooltips/components/message.d.ts +0 -12
  126. package/dist/components/tooltips/components/styledTooltipWrapper.d.ts +0 -1
  127. package/dist/components/tooltips/index.d.ts +0 -2
  128. package/dist/components/tooltips/tooltips.d.ts +0 -15
  129. package/dist/components/tooltips/tooltips.stories.d.ts +0 -1
  130. package/dist/components/tooltips/types.d.ts +0 -25
  131. package/dist/styles/default-palette/base.d.ts +0 -18
  132. package/dist/styles/default-palette/blue.d.ts +0 -12
  133. package/dist/styles/default-palette/cyan.d.ts +0 -12
  134. package/dist/styles/default-palette/fucsia.d.ts +0 -12
  135. package/dist/styles/default-palette/green.d.ts +0 -12
  136. package/dist/styles/default-palette/grey.d.ts +0 -12
  137. package/dist/styles/default-palette/index.d.ts +0 -152
  138. package/dist/styles/default-palette/indigo.d.ts +0 -12
  139. package/dist/styles/default-palette/orange.d.ts +0 -12
  140. package/dist/styles/default-palette/pink.d.ts +0 -12
  141. package/dist/styles/default-palette/red.d.ts +0 -12
  142. package/dist/styles/default-palette/yellow.d.ts +0 -12
  143. package/dist/styles/defaultPalette/base.d.ts +0 -18
  144. package/dist/styles/defaultPalette/blue.d.ts +0 -12
  145. package/dist/styles/defaultPalette/cyan.d.ts +0 -12
  146. package/dist/styles/defaultPalette/fuchsia.d.ts +0 -12
  147. package/dist/styles/defaultPalette/green.d.ts +0 -12
  148. package/dist/styles/defaultPalette/grey.d.ts +0 -12
  149. package/dist/styles/defaultPalette/indigo.d.ts +0 -12
  150. package/dist/styles/defaultPalette/orange.d.ts +0 -12
  151. package/dist/styles/defaultPalette/pink.d.ts +0 -12
  152. package/dist/styles/defaultPalette/red.d.ts +0 -12
  153. package/dist/styles/defaultPalette/yellow.d.ts +0 -12
  154. package/dist/styles/elevations.d.ts +0 -7
  155. package/dist/styles/fic-palette/base.d.ts +0 -18
  156. package/dist/styles/fic-palette/blue.d.ts +0 -12
  157. package/dist/styles/fic-palette/cyan.d.ts +0 -12
  158. package/dist/styles/fic-palette/fucsia.d.ts +0 -12
  159. package/dist/styles/fic-palette/green.d.ts +0 -12
  160. package/dist/styles/fic-palette/grey.d.ts +0 -12
  161. package/dist/styles/fic-palette/index.d.ts +0 -141
  162. package/dist/styles/fic-palette/indigo.d.ts +0 -12
  163. package/dist/styles/fic-palette/orange.d.ts +0 -12
  164. package/dist/styles/fic-palette/pink.d.ts +0 -12
  165. package/dist/styles/fic-palette/red.d.ts +0 -12
  166. package/dist/styles/fic-palette/yellow.d.ts +0 -12
  167. package/dist/styles/palette.d.ts +0 -298
  168. package/dist/styles/shadows.d.ts +0 -3
  169. package/dist/utils/FICNumbers.d.ts +0 -11
@@ -1,14 +0,0 @@
1
- import { Component } from 'react';
2
- import { DropdownImplProps } from './types';
3
- import DropdownItem from './components/Item';
4
- import DropdownTitle from './components/Title';
5
- import DropdownSeparator from './components/Separator';
6
- import { UserListItem } from './components/UserListItem';
7
- export declare class DropdownV2 extends Component<DropdownImplProps, {}> {
8
- static Item: typeof DropdownItem;
9
- static Title: typeof DropdownTitle;
10
- static Separator: typeof DropdownSeparator;
11
- static UserListItem: typeof UserListItem;
12
- render(): JSX.Element;
13
- }
14
- export default DropdownV2;
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- import { Dropdown } from './types';
2
- declare const DropdownV2: Dropdown;
3
- export { DropdownV2 };
@@ -1,49 +0,0 @@
1
- import React from 'react';
2
- import { IconName, TypePropType } from '../common/Icon/typings';
3
- import { AvatarAllowedSizes } from '../avatar/types';
4
- export declare type TitleProps = {
5
- text: string;
6
- };
7
- export declare type contentOption = {
8
- id: number;
9
- text: string;
10
- icon?: IconName;
11
- };
12
- export declare type DropdownImplProps = {
13
- className?: string;
14
- title?: string;
15
- renderTrigger?: () => void;
16
- content?: contentOption[];
17
- onSelectOption?: (id: number | string) => void;
18
- renderContent?: (closeDropdown: () => void) => JSX.Element;
19
- alignRight?: boolean;
20
- fullWidth?: boolean;
21
- };
22
- export interface ItemProps {
23
- text: string;
24
- id?: number;
25
- className?: string;
26
- iconName?: IconName;
27
- iconType?: TypePropType;
28
- iconSwapOpacity?: boolean;
29
- active?: boolean;
30
- shortcut?: string;
31
- onSelected?: (id: number | undefined) => void;
32
- children?: React.ReactChild;
33
- }
34
- export interface UserListItemProps {
35
- img?: string;
36
- placeholder?: string;
37
- avatarSize?: AvatarAllowedSizes;
38
- noText?: string;
39
- text?: string;
40
- renderText?: JSX.Element;
41
- onClick?: () => void;
42
- }
43
- export interface Dropdown {
44
- Container: React.FC<DropdownImplProps>;
45
- Item: React.FC<ItemProps>;
46
- Separator: React.FC;
47
- UserListItem: React.FC<UserListItemProps>;
48
- Title: React.FC<TitleProps>;
49
- }
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- export declare type TRadioButtonGroup = React.FC<{
3
- options: Array<{
4
- key: number;
5
- label: string;
6
- }>;
7
- value: number;
8
- onClick: (option: {
9
- key: number;
10
- label: string;
11
- }) => void;
12
- isDisabled?: boolean;
13
- renderOption?: (props: {
14
- isDisabled?: boolean;
15
- isChecked: boolean;
16
- label: string;
17
- }) => JSX.Element;
18
- optionsSpacing?: number;
19
- style?: React.CSSProperties;
20
- inline?: boolean;
21
- }>;
@@ -1,3 +0,0 @@
1
- /**
2
- * TODO: Probably dead code
3
- */
@@ -1,17 +0,0 @@
1
- import { ItemsType } from '../types';
2
- declare type TMasterElement = {
3
- noResults?: boolean;
4
- };
5
- declare type TSingleElement = {
6
- active?: boolean;
7
- isDefault?: boolean;
8
- onClick: (elem: ItemsType) => void;
9
- };
10
- export declare const StyledGroupedListWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
11
- export declare const MasterElement: import("styled-components").StyledComponent<"div", any, TMasterElement, never>;
12
- export declare const IconStyled: import("styled-components").StyledComponent<import("../../common/Icon/typings").IconType, any, {}, never>;
13
- export declare const SingleElement: import("styled-components").StyledComponent<"div", any, TSingleElement, never>;
14
- export declare const LeftSingleElement: import("styled-components").StyledComponent<"div", any, {}, never>;
15
- export declare const RightSingleElement: import("styled-components").StyledComponent<"div", any, {}, never>;
16
- export declare const NoResults: import("styled-components").StyledComponent<"span", any, {}, never>;
17
- export {};
@@ -1,9 +0,0 @@
1
- import React, { Component } from 'react';
2
- declare type Props = {
3
- icon: string;
4
- children: React.ReactNode;
5
- };
6
- declare class IconDropdown extends Component<Props, {}> {
7
- render(): JSX.Element;
8
- }
9
- export default IconDropdown;
@@ -1,2 +0,0 @@
1
- import IconDropdown from './iconDropdown';
2
- export { IconDropdown };
@@ -1,295 +0,0 @@
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;
@@ -1,8 +0,0 @@
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 {};
@@ -1 +0,0 @@
1
- export declare const InputContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,2 +0,0 @@
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>;
@@ -1 +0,0 @@
1
- export declare const WrapperTextArea: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,9 +0,0 @@
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">;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { InputTextPropsInterface } from './typings/inputText';
3
- export declare const InputText: (props: InputTextPropsInterface) => JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import { InputTextStylingPropsInterface } from './typings/inputText';
2
- export declare const StyledWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, InputTextStylingPropsInterface, never>;
@@ -1,6 +0,0 @@
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>;
@@ -1,17 +0,0 @@
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
- }
@@ -1,43 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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,8 +0,0 @@
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 {};
@@ -1,2 +0,0 @@
1
- import { ModalPropsInterface } from './types';
2
- export declare const ModalStyledWrapper: import("styled-components").StyledComponent<"div", any, ModalPropsInterface, never>;
@@ -1,2 +0,0 @@
1
- import NavigationDropdown from './navigationDropdown';
2
- export { NavigationDropdown };
@@ -1,9 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- import { Styles } from 'react-select/src/styles';
2
- export declare const customStyles: (size: "medium" | "large" | undefined, themeContext: any) => Partial<Styles>;