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