@fattureincloud/fic-design-system 0.4.7 → 0.4.9-expenses.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. package/dist/components/form/datepicker/DatePicker.d.ts +5 -0
  2. package/dist/components/form/datepicker/DatePickerImpl.d.ts +25 -0
  3. package/dist/components/{table/components/actions/actionsContainer.d.ts → form/datepicker/StyledDatePicker.d.ts} +1 -1
  4. package/dist/components/form/datepicker/components/CustomButton.d.ts +7 -0
  5. package/dist/components/form/datepicker/components/DatePickerDay.d.ts +3 -0
  6. package/dist/components/form/datepicker/components/DatePickerHeader.d.ts +8 -0
  7. package/dist/components/form/datepicker/components/MonthPicker.d.ts +4 -0
  8. package/dist/components/form/datepicker/components/YearPicker.d.ts +6 -0
  9. package/dist/components/form/datepicker/components/hooks/useDatePickerHeaderShowLogic.d.ts +15 -0
  10. package/dist/components/form/datepicker/components/styled.d.ts +5 -0
  11. package/dist/components/form/datepicker/datePickerPalette.d.ts +33 -0
  12. package/dist/components/form/datepicker/datepicker.stories.d.ts +6 -0
  13. package/dist/components/form/datepicker/hooks/useDatePickerValues.d.ts +13 -0
  14. package/dist/components/form/datepicker/hooks/useYearsList.d.ts +2 -0
  15. package/dist/components/form/datepicker/index.d.ts +5 -0
  16. package/dist/components/form/datepicker/types.d.ts +1 -0
  17. package/dist/components/form/datepicker/utils.d.ts +1 -0
  18. package/dist/components/table/Table.d.ts +4 -1
  19. package/dist/components/table/components/TableBody.d.ts +2 -1
  20. package/dist/components/table/components/actions/ActionsCell.d.ts +10 -0
  21. package/dist/components/table/components/loadingCell/LoadingCell.d.ts +9 -0
  22. package/dist/components/table/components/tableBody/TableBodyLoader.d.ts +7 -0
  23. package/dist/components/table/components/tableBody/styled.d.ts +3 -0
  24. package/dist/components/table/components/tableHeader/SortIndicator.d.ts +6 -0
  25. package/dist/components/table/components/tableHeader/TableHeader.d.ts +7 -0
  26. package/dist/components/table/components/tableParts/TableTd.d.ts +2 -1
  27. package/dist/components/table/components/tableParts/styled.d.ts +7 -1
  28. package/dist/components/table/hooks/useTableHooks.d.ts +2 -2
  29. package/dist/components/table/index.d.ts +2 -1
  30. package/dist/index.d.ts +3 -2
  31. package/dist/index.esm.js +10 -4
  32. package/dist/index.esm.js.map +1 -1
  33. package/dist/index.js +9 -3
  34. package/dist/index.js.map +1 -1
  35. package/dist/styles/theme.d.ts +2 -0
  36. package/package.json +18 -11
  37. package/CHANGELOG.md +0 -374
  38. package/dist/components/form/fileUploader/hooks/useIcon.d.ts +0 -4
  39. package/dist/components/form/fileUploader/hooks/useTexts.d.ts +0 -3
  40. package/dist/components/table/components/actionLink.d.ts +0 -3
  41. package/dist/components/table/components/actions/actionsPopUp.d.ts +0 -12
  42. package/dist/components/table/components/actions/actionsPopUpButton.d.ts +0 -8
  43. package/dist/components/table/components/actions/actionsPopUpUnderlay.d.ts +0 -3
  44. package/dist/components/table/components/components/headDesktop.d.ts +0 -15
  45. package/dist/components/table/components/components/listMobile.d.ts +0 -15
  46. package/dist/components/table/components/components/rowDesktop.d.ts +0 -18
  47. package/dist/components/table/components/customizationModal/customizationsModal.d.ts +0 -10
  48. package/dist/components/table/components/customizationModal/index.d.ts +0 -2
  49. package/dist/components/table/components/customizationModal/styledWrapper.d.ts +0 -3
  50. package/dist/components/table/components/customizationModal/useDnd.d.ts +0 -8
  51. package/dist/components/table/components/customizationModal/utils.d.ts +0 -6
  52. package/dist/components/table/components/emptySet.d.ts +0 -10
  53. package/dist/components/table/components/linearBackground.d.ts +0 -1
  54. package/dist/components/table/components/loadingContent.d.ts +0 -7
  55. package/dist/components/table/components/sortIcon.d.ts +0 -2
  56. package/dist/components/table/components/styledWrapper.d.ts +0 -3
  57. package/dist/components/table/components/unstyledTable.d.ts +0 -11
  58. package/dist/components/table/typings/main.d.ts +0 -92
  59. package/dist/components/table/utils/configPersistency.d.ts +0 -14
@@ -3,6 +3,7 @@ import { DefaultTheme } from 'styled-components';
3
3
  import { ButtonPalette, IconButtonPalette } from '../components/buttons';
4
4
  import { DropdownPalette } from '../components/dropdown';
5
5
  import { CheckboxPalette } from '../components/form/checkbox';
6
+ import { DatePickerPalette } from '../components/form/datepicker';
6
7
  import { FileUploaderPalette } from '../components/form/fileUploader';
7
8
  import { InputHelperPalette } from '../components/form/inputHelper';
8
9
  import { InputTextPalette } from '../components/form/inputText';
@@ -29,6 +30,7 @@ interface Components {
29
30
  sidebarItem: SidebarItemPalette;
30
31
  stepper: StepperPalette;
31
32
  table: TablePalette;
33
+ datePicker: DatePickerPalette;
32
34
  inputText: InputTextPalette;
33
35
  textArea: TextAreaPalette;
34
36
  inputHelper: InputHelperPalette;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fattureincloud/fic-design-system",
3
- "version": "0.4.7",
3
+ "version": "0.4.9-expenses.1.2",
4
4
  "description": "Fatture in Cloud and Danea design system",
5
5
  "repository": "git@bitbucket.org:fattureincloud/design-system.git",
6
6
  "license": "MIT",
@@ -21,6 +21,7 @@
21
21
  "@storybook/react": "^6.4.9",
22
22
  "@storybook/theming": "^6.4.9",
23
23
  "@types/lodash": "^4.14.138",
24
+ "@types/react-datepicker": "^4.3.4",
24
25
  "@types/react-modal": "^3.10.4",
25
26
  "@types/react-select": "^4.0.18",
26
27
  "@types/react-table": "^7.7.9",
@@ -49,21 +50,25 @@
49
50
  "typescript": "~4.4.0"
50
51
  },
51
52
  "dependencies": {
52
- "@fortawesome/fontawesome-svg-core": "^1.3.0",
53
- "@fortawesome/free-brands-svg-icons": "^6.0.0",
54
- "@fortawesome/free-regular-svg-icons": "^6.0.0",
55
- "@fortawesome/free-solid-svg-icons": "^6.0.0",
56
- "@fortawesome/pro-duotone-svg-icons": "^6.0.0",
57
- "@fortawesome/pro-light-svg-icons": "^6.0.0",
58
- "@fortawesome/pro-regular-svg-icons": "^6.0.0",
59
- "@fortawesome/pro-solid-svg-icons": "^6.0.0",
60
- "@fortawesome/react-fontawesome": "^0.1.17",
53
+ "@fortawesome/fontawesome-svg-core": "1.2.36",
54
+ "@fortawesome/free-brands-svg-icons": "~5.15.4",
55
+ "@fortawesome/free-regular-svg-icons": "~5.15.4",
56
+ "@fortawesome/free-solid-svg-icons": "~5.15.4",
57
+ "@fortawesome/pro-duotone-svg-icons": "~5.15.4",
58
+ "@fortawesome/pro-light-svg-icons": "~5.15.4",
59
+ "@fortawesome/pro-regular-svg-icons": "~5.15.4",
60
+ "@fortawesome/pro-solid-svg-icons": "~5.15.4",
61
+ "@fortawesome/react-fontawesome": "0.1.14",
61
62
  "@popperjs/core": "^2.6.0",
62
63
  "@types/react": "^17.0.37",
63
64
  "@types/react-select": "^4.0.18",
65
+ "date-fns": "^2.28.0",
64
66
  "lodash": "^4.17.21",
67
+ "react-content-loader": "^6.1.0",
68
+ "react-datepicker": "^4.6.0",
65
69
  "react-device-detect": "^2.1.2",
66
70
  "react-dropzone": "^12.0.2",
71
+ "react-infinite-scroll-component": "^6.1.0",
67
72
  "react-is": "^17.0.2",
68
73
  "react-modal": "^3.11.1",
69
74
  "react-popper": "^2.2.4",
@@ -75,9 +80,11 @@
75
80
  "styled-components": "5.3.1"
76
81
  },
77
82
  "peerDependencies": {
83
+ "@types/react-table": "^7.7.9",
78
84
  "@types/styled-components": "~5.1.15",
79
85
  "react": "^17.0.2",
80
86
  "react-dom": "^17.0.2",
87
+ "react-table": "^7.7.0",
81
88
  "styled-components": "5.3.1"
82
89
  },
83
90
  "scripts": {
@@ -95,4 +102,4 @@
95
102
  ]
96
103
  },
97
104
  "packageManager": "yarn@3.1.1"
98
- }
105
+ }
package/CHANGELOG.md DELETED
@@ -1,374 +0,0 @@
1
- # Changelog
2
-
3
- ## v0.4.7 - 22/02/2022
4
-
5
- ### 🚀 Added
6
-
7
- - Add new FileUploader component
8
- - Add new Table component
9
-
10
- ### 🐛 Bug Fix
11
-
12
- - Fix appearance of multiline (long) Select Options
13
-
14
- ## v0.4.6 - 15/02/2022
15
-
16
- ### 🚀 Added
17
-
18
- - Add `customHeader` and `customFooter` props to Modal
19
- - Add `isPrefilled` prop to InputText, TextArea and Select components
20
- - Add `isTransparent` prop to Select and InputText components
21
- - Add `customStyles` prop to Select component
22
- - Add UnitDropdown to InputText
23
- - Add `ref` prop to InputText component
24
- - Add Select `simpleValue` prop and `useSelectSimpleValue` hook
25
-
26
- ### 🐛 Bug Fix
27
-
28
- - Fix Accordion graphical appearance (CSS)
29
-
30
- ### 💅 Enhancement
31
-
32
- - Add `JSX.Element` to label prop type in form components
33
- - Remove up and down arrows on `input[type=number]`
34
-
35
- ## v0.4.5 - 08/02/2022
36
-
37
- - Update FontAwesome to v6.0.0
38
-
39
- ## v0.4.4 - 25/01/2022
40
-
41
- ### 🐛 Bug Fix
42
-
43
- - Move SidebarItem Dropdown on the left in Safari
44
-
45
- ## v0.4.3 - 21/01/2022
46
-
47
- ### 🐛 Bug Fix
48
-
49
- - Remove the Checkbox `Label` tag when prop `text` is missing
50
-
51
- ### 💅 Enhancement
52
-
53
- - Change Button `text` prop from `string | JSX.Element` to `ReactText | JSX.Element`
54
-
55
- ## v0.4.2 - 19/01/2022
56
-
57
- ### 🐛 Bug Fix
58
-
59
- - Fix Dropdown content appearance animation in Safari (animation removed)
60
- - Fix absent Select typings
61
- - Fix Select Option multiline appearance
62
-
63
- ### 💅 Enhancement
64
-
65
- - Change all occurrences of `isDisabled` prop to `disabled` for "form" components
66
-
67
- ## v0.4.1 - 14/01/2022
68
-
69
- ### 🐛 Bug Fix
70
-
71
- - Fix a bug during the update of SidebarItem
72
-
73
- ## v0.4.0 - 15/12/2021
74
-
75
- ### 💅 Enhancement
76
-
77
- - Update Storybook to v6
78
- - Update Rollup to v2
79
- - Change build configs
80
-
81
- ## v0.3.24 - 13/12/2021
82
-
83
- ### 🐛 Bug Fix
84
-
85
- - Add preventDefault on Dropdown trigger click
86
-
87
- ## v0.3.23 - 13/12/2021
88
-
89
- ### 💅 Enhancement
90
-
91
- - Add href and cmd/ctrl+click on SidebarItem
92
-
93
- ## v0.3.22 - 30/11/2021
94
-
95
- ### 🐛 Bug Fix
96
-
97
- - Move `lint-staged` to devDependencies
98
-
99
- ## v0.3.21 - 29/11/2021
100
-
101
- ### 🐛 Bug Fix
102
-
103
- - Fix bug with Select usage
104
-
105
- ## v0.3.20 - 22/11/2021
106
-
107
- ### 🚀 Added
108
-
109
- - TextArea:
110
- - Add isResizable prop
111
- - Add characters counter
112
- - Add new `Select` components (`Select`, `CreatableSelect`, `AsyncSelect`, `AsyncCreatableSelect`)
113
-
114
- ### 💅 Enhancement
115
-
116
- - `InputHelper`'s prop `message` changed type from `string` to `ReactChild`
117
- - Add `className` to TextArea wrapper
118
- - Remove `margin-bottom: 1em` from `InputText` and `TextArea` components
119
- - Update styled-components to v5
120
- - Add styled-components to `peerDependencies`
121
-
122
- ### 🐛 Bug Fix
123
-
124
- - The cursor hovering an Icon will be `pointer` only if the icon has an `onClick` event
125
- - Fix Tabs component glitch
126
-
127
- ## v0.3.19 - 02/11/2021
128
-
129
- ### 🚀 Added
130
-
131
- - Add SidebarItem customization through `CustomSidebarItemProps` prop
132
- - Add exports for `SidebarItemProps`
133
-
134
- ### 💅 Enhancement
135
-
136
- - Remove deprecated `alignRight` props from Dropdown component
137
- - The `text` prop in Badge is now a `ReactText`
138
- - Button `type=text` now supports icons and hover/active state
139
-
140
- ### 🐛 Bug Fix
141
-
142
- - Fix click on SidebarItem's Dropdown
143
-
144
- ## v0.3.18 - 20/10/2021
145
-
146
- ### 🚀 Added
147
-
148
- - Add new InputText component
149
- - Add new InputHelper component
150
- - Add new TextArea component
151
-
152
- ### 💅 Enhancement
153
-
154
- - Add `isDisabled` prop to Icon component
155
-
156
- ### 🐛 Bug Fix
157
-
158
- - Close the Tooltip dropdown on click outside
159
- - Better mobile event handling on Tooltip component (close on scroll page)
160
- - Add a maximum width to the tooltip dropdown
161
-
162
- ## v0.3.17 - 06/10/2021
163
-
164
- ### 🚀 Added
165
-
166
- - Added new `Stepper` component
167
- - Added prop `forceOpenDropdown` on SidebarItem component
168
-
169
- ## v0.3.16 - 29/09/2021
170
-
171
- ### 🚀 Added
172
-
173
- - Add new `forceOpen` prop to Dropdown
174
-
175
- ### 💅 Enhancement
176
-
177
- - Change SidebarItem height from 40px to 44px
178
-
179
- ### 🐛 Bug Fix
180
-
181
- - Fix Tooltip's arrow color
182
-
183
- ## v0.3.15 - 21/09/2021
184
-
185
- ### 🚀 Added
186
-
187
- - Add new SidebarItem component
188
-
189
- ## v0.3.14 - 02/09/2021
190
-
191
- ### 🚀 Added
192
-
193
- - Added new Tooltip component
194
-
195
- ### 💅 Enhancement
196
-
197
- - Add `triggerStyles` Dropdown prop
198
- - Add new `IconBackground` component to support circle background behind icons
199
-
200
- ## v0.3.13 - 19/08/2021
201
-
202
- - Add `link` to DropdownItem `type`
203
-
204
- ## v0.3.12 - 19/08/2021
205
-
206
- ### 💅 Enhancement
207
-
208
- - Merged Dropdown interfaces `ContentOption` and `ItemProps` in `DropdownItemProps`
209
- - Add a part of DropdownPalette
210
-
211
- ### 🐛 Bug Fix
212
-
213
- - Add `e.stopPropagation()` on Dropdown trigger click
214
-
215
- ## v0.3.11 - 16/08/2021
216
-
217
- ### 💅 Enhancement
218
-
219
- - DropdownItems doesn't highlight without an `onClick` prop anymore
220
- - Changed DropdownItems' shortcuts style
221
-
222
- ## v0.3.10 - 28/07/2021
223
-
224
- ### 🐛 Bug Fix
225
-
226
- - Export checkboxPalette interface
227
- - Added boolean-only support for Checkbox component
228
-
229
- ### 💅 Enhancement
230
-
231
- - Change onClick prop type for Checkbox component
232
-
233
- ## v0.3.9 - 28/07/2021
234
-
235
- ### 💅 Enhancement
236
-
237
- - Added boolean values support to Checkbox
238
-
239
- ### 🐛 Bug Fix
240
-
241
- - Fix CustomSizeModal width on small screens
242
-
243
- ## v0.3.8 - 26/07/2021
244
-
245
- ### 🚀 Added
246
-
247
- - Added new Checkbox component with Checkbox Palette
248
-
249
- ### 🐛 Bug Fix
250
-
251
- - Increased Toast z-index to make it visible while a modal is open
252
-
253
- ## v0.3.7 - 25/06/2021
254
-
255
- ### 🚀 Added
256
-
257
- - Added MicroTag palette
258
- - Added Icon palette
259
-
260
- ### 💅 Enhancement
261
-
262
- - Refactor Palette structure
263
- - Remove base palette part
264
- - Use "transparent" css value instead of palette.base.transparent
265
-
266
- ## v0.3.6 - 04/06/2021
267
-
268
- ### 💅 Enhancement
269
-
270
- - Change project linting rules
271
-
272
- ## v0.3.5 - 03/06/2021
273
-
274
- ### 🚀 Added
275
-
276
- - Add export for `closeDropdownType`
277
-
278
- ### 💅 Enhancement
279
-
280
- - Remove Dropdown padding with custom content
281
-
282
- ## v0.3.4 - 26/05/2021
283
-
284
- ### 🚀 Added
285
-
286
- - isDisabled prop on IconButton
287
- - IconButton default types (defaultColor, defaultType) in iconButtonPalette
288
- - Add `href` and `target` props on Button component
289
-
290
- ### 💅 Enhancement
291
-
292
- - Fix buttons appearance on small screens
293
-
294
- ## v0.3.2 - 19/05/2021
295
-
296
- ### 🚀 Added
297
-
298
- - Add fullWidth prop on Button
299
-
300
- ### 💅 Enhancement
301
-
302
- - Fix default buttonPalette colors
303
- - Align iconButton palette names to Button's one
304
-
305
- ## v0.3.1 - 18/05/2021
306
-
307
- ### 🚀 Added
308
-
309
- - New useDebounceClick hook
310
- - Add new theme object manual configuration
311
- - Add palette configuration object for:
312
- - Tag
313
- - Button
314
- - IconButton
315
-
316
- ### 💅 Enhancement
317
-
318
- - Switch default palette to DIC's palette
319
- - Button component redone from scratch
320
- - TextButton merged with Button (type='text')
321
- - IconButton component redone from scratch
322
- - Refactor Tag component
323
-
324
- ## v0.2.9 - 05/05/2021
325
-
326
- ### 💅 Enhancement
327
-
328
- - The first render of the "not scrollable" Tabs component now
329
- shows the scrollable version instead of an empty row with a dropdown
330
- - Split Tabs component in ScrollableTabs and DropdownTabs
331
-
332
- ### 🐛 Bug Fix
333
-
334
- - Actually use the lateralPadding prop in Tabs component
335
-
336
- ## v0.2.8 - 30/04/2021
337
-
338
- ### 🐛 Bug Fix
339
-
340
- - Fixed Dropdowns in Internet Explorer
341
-
342
- ## v0.2.7 - 07/04/2021
343
-
344
- ### 🐛 Bug Fix
345
-
346
- - Fixed dropdown menu openings on Internet Explorer
347
-
348
- ## v0.2.6 - 10/03/2021
349
-
350
- ### 🐛 Bug Fix
351
-
352
- - Change Tag component "style" prop to "tagStyle" to prevent TypeScript error
353
-
354
- ## v0.2.5 - 04/03/2021
355
-
356
- ### 💅 Enhancement
357
-
358
- - Hide Tabs scrollbar if there's enough space for the elements
359
-
360
- ### 🐛 Bug Fix
361
-
362
- - Force Tabs component to have height: 100% (prevent component/sidebar overlap)
363
-
364
- ## v0.2.4 - 03/03/2021
365
-
366
- ### 🐛 Bug Fix
367
-
368
- - Fixed Button appearance with empty text
369
-
370
- ## v0.2.3 - 23/02/2021
371
-
372
- ### 🐛 Bug Fix
373
-
374
- - Fixed an error in Tabs causing the page overflow in scrollable mode
@@ -1,4 +0,0 @@
1
- import { IconProps } from '../../../icon';
2
- import { statuses } from '../types';
3
- declare const useIcon: (status: statuses, icon?: IconProps | null | undefined) => IconProps | null;
4
- export default useIcon;
@@ -1,3 +0,0 @@
1
- import { statuses } from '../types';
2
- declare const useTexts: (status: statuses, customTexts?: any) => any;
3
- export default useTexts;
@@ -1,3 +0,0 @@
1
- export declare const ActionLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
2
- color?: string | undefined;
3
- }, never>;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import { ActionType } from '../../typings/main';
3
- export declare const ActionsPopUp: (props: {
4
- actions: Array<ActionType>;
5
- selectedRows: number[];
6
- element: {
7
- [key: string]: React.ReactText;
8
- id: number;
9
- };
10
- active: boolean;
11
- handlePopUpVisibility: (rowId?: number | undefined) => void;
12
- }) => JSX.Element;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- declare type Props = {
3
- rowId: number;
4
- handlePopUpVisibility: (rowId: number) => void;
5
- active: boolean;
6
- };
7
- export declare const ActionsPopUpButton: (props: Props) => JSX.Element;
8
- export {};
@@ -1,3 +0,0 @@
1
- export declare const ActionsPopUpUnderlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
- active: boolean;
3
- }, never>;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import { ActionType, PropertyFilterInterface, TControlledProperties } from '../../typings/main';
3
- interface Props {
4
- isLoading?: boolean;
5
- allChecked: boolean;
6
- handleSelectAll: (e: React.ChangeEvent<HTMLInputElement>) => void;
7
- controlledProperties: TControlledProperties;
8
- setShowModalCustomizeTrue: () => void;
9
- propertiesFilter: PropertyFilterInterface[];
10
- handleSortOnProperty: (id: string, type: boolean | 'desc' | 'asc') => void;
11
- actions?: ActionType[];
12
- disableSelection?: boolean;
13
- }
14
- export declare const HeadDesktop: ({ actions, allChecked, controlledProperties, disableSelection, handleSelectAll, handleSortOnProperty, isLoading, propertiesFilter, setShowModalCustomizeTrue, }: Props) => JSX.Element;
15
- export {};
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- listSize: number;
4
- isLoading?: boolean;
5
- data: {
6
- [key: string]: React.ReactText;
7
- id: number;
8
- }[];
9
- renderMobileRow?: (o: {
10
- [key: string]: React.ReactText;
11
- id: number;
12
- }) => JSX.Element;
13
- }
14
- export declare const ListMobile: ({ data, isLoading, listSize, renderMobileRow }: Props) => JSX.Element;
15
- export {};
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { ActionType, TControlledProperties } from '../../typings/main';
3
- interface Props {
4
- index: number;
5
- selectedList?: number[];
6
- element: {
7
- [key: string]: React.ReactText;
8
- id: number;
9
- };
10
- handleSelection: (id: number) => void;
11
- controlledProperties: TControlledProperties;
12
- actions?: ActionType[];
13
- handlePopUpVisibility: (rowId?: number) => void;
14
- currentActionsPopUp?: number;
15
- disableSelection?: boolean;
16
- }
17
- export declare const RowDesktop: ({ actions, controlledProperties, currentActionsPopUp, disableSelection, element, handlePopUpVisibility, handleSelection, index, selectedList, }: Props) => JSX.Element;
18
- export {};
@@ -1,10 +0,0 @@
1
- import { Component } from 'react';
2
- import { DropResult, ResponderProvided } from 'react-beautiful-dnd';
3
- import { CustomizationsModalPropsInterface, CustomizationsModalStateInterface } from '../../typings/main';
4
- export declare class CustomizationsModal extends Component<CustomizationsModalPropsInterface, CustomizationsModalStateInterface> {
5
- constructor(props: CustomizationsModalPropsInterface);
6
- propertiesDisplayHandler: (id: string) => void;
7
- onDragEnd: (result: DropResult, provided: ResponderProvided) => void;
8
- resetProperties: () => void;
9
- render(): JSX.Element;
10
- }
@@ -1,2 +0,0 @@
1
- import { CustomizationsModal } from './customizationsModal';
2
- export { CustomizationsModal };
@@ -1,3 +0,0 @@
1
- export declare const StyledWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
- show?: boolean | undefined;
3
- }, never>;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { DropResult, ResponderProvided } from 'react-beautiful-dnd';
3
- import { TControlledProperties } from '../../typings/main';
4
- export declare const UseDnd: React.FunctionComponent<{
5
- localProperties: TControlledProperties;
6
- onDragEnd: (result: DropResult, provided: ResponderProvided) => void;
7
- propertiesDisplayHandler: (id: string) => void;
8
- }>;
@@ -1,6 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { DraggableStateSnapshot, DraggingStyle, NotDraggingStyle } from 'react-beautiful-dnd';
3
- import { TControlledProperties } from '../../typings/main';
4
- export declare const getItemStyle: (snapshot: DraggableStateSnapshot, draggableStyle?: DraggingStyle | NotDraggingStyle | undefined) => React.CSSProperties;
5
- export declare const getListStyle: (isDraggingOver: boolean) => CSSProperties;
6
- export declare const reorder: (list: TControlledProperties, startIndex: number, endIndex: number) => import("../../typings/main").TControlledProperty[];
@@ -1,10 +0,0 @@
1
- import { Component } from 'react';
2
- interface Props {
3
- }
4
- interface State {
5
- }
6
- export declare class EmptySet extends Component<Props, State> {
7
- state: {};
8
- render(): JSX.Element;
9
- }
10
- export {};
@@ -1 +0,0 @@
1
- export declare const linearBackground: () => import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("styled-components").DefaultTheme>>;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- interface LoadingContentProps {
3
- elmentsNumber: number;
4
- propsNumber: number;
5
- }
6
- export declare const LoadingContent: (props: LoadingContentProps) => JSX.Element;
7
- export {};
@@ -1,2 +0,0 @@
1
- import { TSortIcon } from '../typings/main';
2
- export declare const SortIcon: TSortIcon;
@@ -1,3 +0,0 @@
1
- import { TablePropsInterface } from '../typings/main';
2
- import { UnstyledTable } from './unstyledTable';
3
- export declare const StyledTableWrapper: import("styled-components").StyledComponent<typeof UnstyledTable, import("styled-components").DefaultTheme, TablePropsInterface, never>;
@@ -1,11 +0,0 @@
1
- import React, { Component } from 'react';
2
- import { TablePropsInterface, TableStateInterface, TControlledProperties } from '../typings/main';
3
- export declare class UnstyledTable extends Component<TablePropsInterface, TableStateInterface> {
4
- constructor(props: TablePropsInterface);
5
- handleSelection: (id: number) => void;
6
- handleSelectAll: (e: React.ChangeEvent<HTMLInputElement>) => void;
7
- handleSortOnProperty: (id: string, type: 'desc' | 'asc' | boolean) => void;
8
- modifyControlledPropertiesHandler: (properties: TControlledProperties) => void;
9
- handlePopUpVisibility: (rowId?: number | undefined) => void;
10
- render(): JSX.Element;
11
- }