@fattureincloud/fic-design-system 0.4.9 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) 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/useFormattedDate.d.ts +12 -0
  15. package/dist/components/form/datepicker/hooks/useYearsList.d.ts +2 -0
  16. package/dist/components/form/datepicker/index.d.ts +5 -0
  17. package/dist/components/form/datepicker/types.d.ts +4 -0
  18. package/dist/components/form/datepicker/utils.d.ts +3 -0
  19. package/dist/components/form/fileUploader/styled.d.ts +2 -0
  20. package/dist/components/form/fileUploader/types.d.ts +2 -2
  21. package/dist/components/table/Table.d.ts +38 -7
  22. package/dist/components/table/components/TableBody.d.ts +2 -1
  23. package/dist/components/table/components/actions/ActionsCell.d.ts +10 -0
  24. package/dist/components/table/components/loadingCell/LoadingCell.d.ts +7 -0
  25. package/dist/components/table/components/tableBody/TableBody.d.ts +13 -0
  26. package/dist/components/table/components/tableBody/TableBodyLoader.d.ts +7 -0
  27. package/dist/components/table/components/tableBody/TableBodyTr.d.ts +7 -0
  28. package/dist/components/table/components/tableBody/styled.d.ts +3 -0
  29. package/dist/components/table/components/tableHeader/SortIndicator.d.ts +6 -0
  30. package/dist/components/table/components/tableHeader/TableHeader.d.ts +10 -0
  31. package/dist/components/table/components/tableParts/TableTd.d.ts +2 -1
  32. package/dist/components/table/components/tableParts/styled.d.ts +16 -1
  33. package/dist/components/table/hooks/useTableHooks.d.ts +2 -2
  34. package/dist/components/table/index.d.ts +3 -2
  35. package/dist/components/table/types.d.ts +1 -0
  36. package/dist/components/table/utils.d.ts +4 -1
  37. package/dist/index.d.ts +3 -2
  38. package/dist/index.esm.js +10 -4
  39. package/dist/index.esm.js.map +1 -1
  40. package/dist/index.js +9 -3
  41. package/dist/index.js.map +1 -1
  42. package/dist/styles/theme.d.ts +2 -0
  43. package/package.json +9 -2
  44. package/CHANGELOG.md +0 -386
  45. package/dist/components/form/fileUploader/hooks/useIcon.d.ts +0 -4
  46. package/dist/components/form/fileUploader/hooks/useTexts.d.ts +0 -3
  47. package/dist/components/table/components/actionLink.d.ts +0 -3
  48. package/dist/components/table/components/actions/actionsPopUp.d.ts +0 -12
  49. package/dist/components/table/components/actions/actionsPopUpButton.d.ts +0 -8
  50. package/dist/components/table/components/actions/actionsPopUpUnderlay.d.ts +0 -3
  51. package/dist/components/table/components/components/headDesktop.d.ts +0 -15
  52. package/dist/components/table/components/components/listMobile.d.ts +0 -15
  53. package/dist/components/table/components/components/rowDesktop.d.ts +0 -18
  54. package/dist/components/table/components/customizationModal/customizationsModal.d.ts +0 -10
  55. package/dist/components/table/components/customizationModal/index.d.ts +0 -2
  56. package/dist/components/table/components/customizationModal/styledWrapper.d.ts +0 -3
  57. package/dist/components/table/components/customizationModal/useDnd.d.ts +0 -8
  58. package/dist/components/table/components/customizationModal/utils.d.ts +0 -6
  59. package/dist/components/table/components/emptySet.d.ts +0 -10
  60. package/dist/components/table/components/linearBackground.d.ts +0 -1
  61. package/dist/components/table/components/loadingContent.d.ts +0 -7
  62. package/dist/components/table/components/sortIcon.d.ts +0 -2
  63. package/dist/components/table/components/styledWrapper.d.ts +0 -3
  64. package/dist/components/table/components/unstyledTable.d.ts +0 -11
  65. package/dist/components/table/typings/main.d.ts +0 -92
  66. 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.9",
3
+ "version": "0.4.12",
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",
@@ -61,9 +62,13 @@
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,386 +0,0 @@
1
- # Changelog
2
-
3
- ## v0.4.9 - 23/02/2022
4
-
5
- ### 🐛 Bug Fix
6
-
7
- - Fix FontAwesome version
8
-
9
- ## v0.4.8 - 23/02/2022
10
-
11
- ### 🐛 Bug Fix
12
-
13
- - Downgrade FontAwesome to v5 due to browser compatibility issues
14
-
15
- ## v0.4.7 - 22/02/2022
16
-
17
- ### 🚀 Added
18
-
19
- - Add new FileUploader component
20
- - Add new Table component
21
-
22
- ### 🐛 Bug Fix
23
-
24
- - Fix appearance of multiline (long) Select Options
25
-
26
- ## v0.4.6 - 15/02/2022
27
-
28
- ### 🚀 Added
29
-
30
- - Add `customHeader` and `customFooter` props to Modal
31
- - Add `isPrefilled` prop to InputText, TextArea and Select components
32
- - Add `isTransparent` prop to Select and InputText components
33
- - Add `customStyles` prop to Select component
34
- - Add UnitDropdown to InputText
35
- - Add `ref` prop to InputText component
36
- - Add Select `simpleValue` prop and `useSelectSimpleValue` hook
37
-
38
- ### 🐛 Bug Fix
39
-
40
- - Fix Accordion graphical appearance (CSS)
41
-
42
- ### 💅 Enhancement
43
-
44
- - Add `JSX.Element` to label prop type in form components
45
- - Remove up and down arrows on `input[type=number]`
46
-
47
- ## v0.4.5 - 08/02/2022
48
-
49
- - Update FontAwesome to v6.0.0 (Downgraded to v5 in v0.4.8)
50
-
51
- ## v0.4.4 - 25/01/2022
52
-
53
- ### 🐛 Bug Fix
54
-
55
- - Move SidebarItem Dropdown on the left in Safari
56
-
57
- ## v0.4.3 - 21/01/2022
58
-
59
- ### 🐛 Bug Fix
60
-
61
- - Remove the Checkbox `Label` tag when prop `text` is missing
62
-
63
- ### 💅 Enhancement
64
-
65
- - Change Button `text` prop from `string | JSX.Element` to `ReactText | JSX.Element`
66
-
67
- ## v0.4.2 - 19/01/2022
68
-
69
- ### 🐛 Bug Fix
70
-
71
- - Fix Dropdown content appearance animation in Safari (animation removed)
72
- - Fix absent Select typings
73
- - Fix Select Option multiline appearance
74
-
75
- ### 💅 Enhancement
76
-
77
- - Change all occurrences of `isDisabled` prop to `disabled` for "form" components
78
-
79
- ## v0.4.1 - 14/01/2022
80
-
81
- ### 🐛 Bug Fix
82
-
83
- - Fix a bug during the update of SidebarItem
84
-
85
- ## v0.4.0 - 15/12/2021
86
-
87
- ### 💅 Enhancement
88
-
89
- - Update Storybook to v6
90
- - Update Rollup to v2
91
- - Change build configs
92
-
93
- ## v0.3.24 - 13/12/2021
94
-
95
- ### 🐛 Bug Fix
96
-
97
- - Add preventDefault on Dropdown trigger click
98
-
99
- ## v0.3.23 - 13/12/2021
100
-
101
- ### 💅 Enhancement
102
-
103
- - Add href and cmd/ctrl+click on SidebarItem
104
-
105
- ## v0.3.22 - 30/11/2021
106
-
107
- ### 🐛 Bug Fix
108
-
109
- - Move `lint-staged` to devDependencies
110
-
111
- ## v0.3.21 - 29/11/2021
112
-
113
- ### 🐛 Bug Fix
114
-
115
- - Fix bug with Select usage
116
-
117
- ## v0.3.20 - 22/11/2021
118
-
119
- ### 🚀 Added
120
-
121
- - TextArea:
122
- - Add isResizable prop
123
- - Add characters counter
124
- - Add new `Select` components (`Select`, `CreatableSelect`, `AsyncSelect`, `AsyncCreatableSelect`)
125
-
126
- ### 💅 Enhancement
127
-
128
- - `InputHelper`'s prop `message` changed type from `string` to `ReactChild`
129
- - Add `className` to TextArea wrapper
130
- - Remove `margin-bottom: 1em` from `InputText` and `TextArea` components
131
- - Update styled-components to v5
132
- - Add styled-components to `peerDependencies`
133
-
134
- ### 🐛 Bug Fix
135
-
136
- - The cursor hovering an Icon will be `pointer` only if the icon has an `onClick` event
137
- - Fix Tabs component glitch
138
-
139
- ## v0.3.19 - 02/11/2021
140
-
141
- ### 🚀 Added
142
-
143
- - Add SidebarItem customization through `CustomSidebarItemProps` prop
144
- - Add exports for `SidebarItemProps`
145
-
146
- ### 💅 Enhancement
147
-
148
- - Remove deprecated `alignRight` props from Dropdown component
149
- - The `text` prop in Badge is now a `ReactText`
150
- - Button `type=text` now supports icons and hover/active state
151
-
152
- ### 🐛 Bug Fix
153
-
154
- - Fix click on SidebarItem's Dropdown
155
-
156
- ## v0.3.18 - 20/10/2021
157
-
158
- ### 🚀 Added
159
-
160
- - Add new InputText component
161
- - Add new InputHelper component
162
- - Add new TextArea component
163
-
164
- ### 💅 Enhancement
165
-
166
- - Add `isDisabled` prop to Icon component
167
-
168
- ### 🐛 Bug Fix
169
-
170
- - Close the Tooltip dropdown on click outside
171
- - Better mobile event handling on Tooltip component (close on scroll page)
172
- - Add a maximum width to the tooltip dropdown
173
-
174
- ## v0.3.17 - 06/10/2021
175
-
176
- ### 🚀 Added
177
-
178
- - Added new `Stepper` component
179
- - Added prop `forceOpenDropdown` on SidebarItem component
180
-
181
- ## v0.3.16 - 29/09/2021
182
-
183
- ### 🚀 Added
184
-
185
- - Add new `forceOpen` prop to Dropdown
186
-
187
- ### 💅 Enhancement
188
-
189
- - Change SidebarItem height from 40px to 44px
190
-
191
- ### 🐛 Bug Fix
192
-
193
- - Fix Tooltip's arrow color
194
-
195
- ## v0.3.15 - 21/09/2021
196
-
197
- ### 🚀 Added
198
-
199
- - Add new SidebarItem component
200
-
201
- ## v0.3.14 - 02/09/2021
202
-
203
- ### 🚀 Added
204
-
205
- - Added new Tooltip component
206
-
207
- ### 💅 Enhancement
208
-
209
- - Add `triggerStyles` Dropdown prop
210
- - Add new `IconBackground` component to support circle background behind icons
211
-
212
- ## v0.3.13 - 19/08/2021
213
-
214
- - Add `link` to DropdownItem `type`
215
-
216
- ## v0.3.12 - 19/08/2021
217
-
218
- ### 💅 Enhancement
219
-
220
- - Merged Dropdown interfaces `ContentOption` and `ItemProps` in `DropdownItemProps`
221
- - Add a part of DropdownPalette
222
-
223
- ### 🐛 Bug Fix
224
-
225
- - Add `e.stopPropagation()` on Dropdown trigger click
226
-
227
- ## v0.3.11 - 16/08/2021
228
-
229
- ### 💅 Enhancement
230
-
231
- - DropdownItems doesn't highlight without an `onClick` prop anymore
232
- - Changed DropdownItems' shortcuts style
233
-
234
- ## v0.3.10 - 28/07/2021
235
-
236
- ### 🐛 Bug Fix
237
-
238
- - Export checkboxPalette interface
239
- - Added boolean-only support for Checkbox component
240
-
241
- ### 💅 Enhancement
242
-
243
- - Change onClick prop type for Checkbox component
244
-
245
- ## v0.3.9 - 28/07/2021
246
-
247
- ### 💅 Enhancement
248
-
249
- - Added boolean values support to Checkbox
250
-
251
- ### 🐛 Bug Fix
252
-
253
- - Fix CustomSizeModal width on small screens
254
-
255
- ## v0.3.8 - 26/07/2021
256
-
257
- ### 🚀 Added
258
-
259
- - Added new Checkbox component with Checkbox Palette
260
-
261
- ### 🐛 Bug Fix
262
-
263
- - Increased Toast z-index to make it visible while a modal is open
264
-
265
- ## v0.3.7 - 25/06/2021
266
-
267
- ### 🚀 Added
268
-
269
- - Added MicroTag palette
270
- - Added Icon palette
271
-
272
- ### 💅 Enhancement
273
-
274
- - Refactor Palette structure
275
- - Remove base palette part
276
- - Use "transparent" css value instead of palette.base.transparent
277
-
278
- ## v0.3.6 - 04/06/2021
279
-
280
- ### 💅 Enhancement
281
-
282
- - Change project linting rules
283
-
284
- ## v0.3.5 - 03/06/2021
285
-
286
- ### 🚀 Added
287
-
288
- - Add export for `closeDropdownType`
289
-
290
- ### 💅 Enhancement
291
-
292
- - Remove Dropdown padding with custom content
293
-
294
- ## v0.3.4 - 26/05/2021
295
-
296
- ### 🚀 Added
297
-
298
- - isDisabled prop on IconButton
299
- - IconButton default types (defaultColor, defaultType) in iconButtonPalette
300
- - Add `href` and `target` props on Button component
301
-
302
- ### 💅 Enhancement
303
-
304
- - Fix buttons appearance on small screens
305
-
306
- ## v0.3.2 - 19/05/2021
307
-
308
- ### 🚀 Added
309
-
310
- - Add fullWidth prop on Button
311
-
312
- ### 💅 Enhancement
313
-
314
- - Fix default buttonPalette colors
315
- - Align iconButton palette names to Button's one
316
-
317
- ## v0.3.1 - 18/05/2021
318
-
319
- ### 🚀 Added
320
-
321
- - New useDebounceClick hook
322
- - Add new theme object manual configuration
323
- - Add palette configuration object for:
324
- - Tag
325
- - Button
326
- - IconButton
327
-
328
- ### 💅 Enhancement
329
-
330
- - Switch default palette to DIC's palette
331
- - Button component redone from scratch
332
- - TextButton merged with Button (type='text')
333
- - IconButton component redone from scratch
334
- - Refactor Tag component
335
-
336
- ## v0.2.9 - 05/05/2021
337
-
338
- ### 💅 Enhancement
339
-
340
- - The first render of the "not scrollable" Tabs component now
341
- shows the scrollable version instead of an empty row with a dropdown
342
- - Split Tabs component in ScrollableTabs and DropdownTabs
343
-
344
- ### 🐛 Bug Fix
345
-
346
- - Actually use the lateralPadding prop in Tabs component
347
-
348
- ## v0.2.8 - 30/04/2021
349
-
350
- ### 🐛 Bug Fix
351
-
352
- - Fixed Dropdowns in Internet Explorer
353
-
354
- ## v0.2.7 - 07/04/2021
355
-
356
- ### 🐛 Bug Fix
357
-
358
- - Fixed dropdown menu openings on Internet Explorer
359
-
360
- ## v0.2.6 - 10/03/2021
361
-
362
- ### 🐛 Bug Fix
363
-
364
- - Change Tag component "style" prop to "tagStyle" to prevent TypeScript error
365
-
366
- ## v0.2.5 - 04/03/2021
367
-
368
- ### 💅 Enhancement
369
-
370
- - Hide Tabs scrollbar if there's enough space for the elements
371
-
372
- ### 🐛 Bug Fix
373
-
374
- - Force Tabs component to have height: 100% (prevent component/sidebar overlap)
375
-
376
- ## v0.2.4 - 03/03/2021
377
-
378
- ### 🐛 Bug Fix
379
-
380
- - Fixed Button appearance with empty text
381
-
382
- ## v0.2.3 - 23/02/2021
383
-
384
- ### 🐛 Bug Fix
385
-
386
- - 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
- }