sag_components 2.0.0-beta100 → 2.0.0-beta102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IsLoadingAnimation.gif +0 -0
- package/dist/index.d.ts +115 -13
- package/dist/index.esm.js +15127 -408
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +15115 -388
- package/dist/index.js.map +1 -1
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +2 -1
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +2 -1
- package/dist/types/components/ItemManagerPanel/ConfirmationDialog/ConfirmationDialog.d.ts +9 -0
- package/dist/types/components/ItemManagerPanel/ConfirmationDialog/ConfirmationDialog.style.d.ts +13 -0
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.d.ts +14 -2
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.stories.d.ts +54 -0
- package/dist/types/components/ItemManagerPanel/ItemManagerPanel.style.d.ts +6 -0
- package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.d.ts +3 -3
- package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.style.d.ts +4 -0
- package/dist/types/components/ItemManagerPanel/NewSubitem/NewSubitem.d.ts +8 -0
- package/dist/types/components/ItemManagerPanel/NewSubitem/NewSubitem.style.d.ts +15 -0
- package/dist/types/components/ItemManagerPanel/NewSubitemList/NewSubitemList.d.ts +2 -0
- package/dist/types/components/ItemManagerPanel/NewSubitemList/NewSubitemList.style.d.ts +17 -0
- package/dist/types/components/ItemManagerPanel/SuccessScreen/SuccessScreen.d.ts +8 -0
- package/dist/types/components/ItemManagerPanel/SuccessScreen/SuccessScreen.style.d.ts +16 -0
- package/dist/types/components/MessageBox/MessageBox.d.ts +13 -0
- package/dist/types/components/MessageBox/MessageBox.stories.d.ts +75 -0
- package/dist/types/components/MessageBox/MessageBox.styles.d.ts +9 -0
- package/dist/types/components/ModalDrawer/ModalDrawer.d.ts +15 -0
- package/dist/types/components/ModalDrawer/ModalDrawer.stories.d.ts +7 -0
- package/dist/types/components/ModalDrawer/ModalDrawer.styles.d.ts +3 -0
- package/dist/types/components/OverlayDropdown/OverlayDropdown.d.ts +24 -13
- package/dist/types/components/OverlayDropdown/OverlayDropdown.stories.d.ts +182 -5
- package/dist/types/components/OverlayDropdown/OverlayDropdown.style.d.ts +0 -2
- package/dist/types/components/OverlayDropdown/OverlayTemplateDialog.d.ts +5 -1
- package/dist/types/components/Table/DropMenus/FieldPop.d.ts +2 -0
- package/dist/types/components/Table/DropMenus/FieldPop.style.d.ts +5 -0
- package/dist/types/components/Table/DropMenus/FilterPop.d.ts +2 -0
- package/dist/types/components/Table/DropMenus/FilterPop.style.d.ts +6 -0
- package/dist/types/components/Table/DropMenus/RangePop.d.ts +2 -0
- package/dist/types/components/Table/DropMenus/RangePop.style.d.ts +10 -0
- package/dist/types/components/Table/DropMenus/SortPop.d.ts +2 -0
- package/dist/types/components/Table/DropMenus/SortPop.style.d.ts +8 -0
- package/dist/types/components/Table/FilterIcon.d.ts +6 -0
- package/dist/types/components/Table/Icons/DisabledTrashIcon.d.ts +6 -0
- package/dist/types/components/Table/Icons/FilterIcon.d.ts +4 -0
- package/dist/types/components/Table/Icons/SortIcon.d.ts +5 -0
- package/dist/types/components/Table/Icons/TrashIcon.d.ts +6 -0
- package/dist/types/components/Table/SortIcon.d.ts +6 -0
- package/dist/types/components/Table/Table.stories.d.ts +275 -29
- package/dist/types/components/Table/Table.style.d.ts +4 -0
- package/dist/types/components/Table/TableBody.d.ts +9 -0
- package/dist/types/components/Table/TableBody.styles.d.ts +10 -0
- package/dist/types/components/Table/TableHeader.d.ts +9 -0
- package/dist/types/components/Table/TableHeader.styles.d.ts +8 -0
- package/dist/types/components/Table/Tooltip.d.ts +8 -0
- package/dist/types/components/Table/Tooltip.styles.d.ts +1 -0
- package/dist/types/components/Table/useTooltip.d.ts +11 -0
- package/dist/types/components/WeeksPicker/WeeksCalendar.d.ts +3 -1
- package/dist/types/components/WeeksPicker/WeeksPicker.d.ts +3 -12
- package/dist/types/icons/ArrowRightFullIcon.d.ts +5 -0
- package/dist/types/icons/ExclamationMarkIcon.d.ts +6 -0
- package/dist/types/icons/OkIcon.d.ts +6 -0
- package/dist/types/icons/RedDot.d.ts +5 -0
- package/dist/types/icons/TrashIcon.d.ts +7 -0
- package/dist/types/icons/index.d.ts +5 -0
- package/dist/types/index.d.ts +8 -0
- package/package.json +5 -2
|
@@ -39,70 +39,174 @@ declare namespace _default {
|
|
|
39
39
|
const name_4: string;
|
|
40
40
|
export { name_4 as name };
|
|
41
41
|
}
|
|
42
|
-
namespace
|
|
42
|
+
namespace columns {
|
|
43
43
|
const control_4: string;
|
|
44
44
|
export { control_4 as control };
|
|
45
45
|
const description_5: string;
|
|
46
46
|
export { description_5 as description };
|
|
47
47
|
const name_5: string;
|
|
48
48
|
export { name_5 as name };
|
|
49
|
-
export const defaultValue: string;
|
|
50
49
|
}
|
|
51
|
-
namespace
|
|
52
|
-
const
|
|
53
|
-
export {
|
|
50
|
+
namespace onSort {
|
|
51
|
+
const action_1: string;
|
|
52
|
+
export { action_1 as action };
|
|
54
53
|
const description_6: string;
|
|
55
54
|
export { description_6 as description };
|
|
56
55
|
const name_6: string;
|
|
57
56
|
export { name_6 as name };
|
|
58
|
-
const defaultValue_1: string;
|
|
59
|
-
export { defaultValue_1 as defaultValue };
|
|
60
57
|
}
|
|
61
|
-
namespace
|
|
62
|
-
const
|
|
63
|
-
export {
|
|
58
|
+
namespace onFilter {
|
|
59
|
+
const action_2: string;
|
|
60
|
+
export { action_2 as action };
|
|
64
61
|
const description_7: string;
|
|
65
62
|
export { description_7 as description };
|
|
66
63
|
const name_7: string;
|
|
67
64
|
export { name_7 as name };
|
|
68
|
-
const defaultValue_2: boolean;
|
|
69
|
-
export { defaultValue_2 as defaultValue };
|
|
70
65
|
}
|
|
71
|
-
namespace
|
|
72
|
-
const
|
|
73
|
-
export {
|
|
66
|
+
namespace onSelectAll {
|
|
67
|
+
const action_3: string;
|
|
68
|
+
export { action_3 as action };
|
|
74
69
|
const description_8: string;
|
|
75
70
|
export { description_8 as description };
|
|
76
71
|
const name_8: string;
|
|
77
72
|
export { name_8 as name };
|
|
78
73
|
}
|
|
79
|
-
namespace
|
|
80
|
-
const
|
|
81
|
-
export {
|
|
74
|
+
namespace buttonColor {
|
|
75
|
+
const control_5: string;
|
|
76
|
+
export { control_5 as control };
|
|
82
77
|
const description_9: string;
|
|
83
78
|
export { description_9 as description };
|
|
84
79
|
const name_9: string;
|
|
85
80
|
export { name_9 as name };
|
|
86
|
-
const
|
|
87
|
-
export { defaultValue_3 as defaultValue };
|
|
81
|
+
export const defaultValue: string;
|
|
88
82
|
}
|
|
89
|
-
namespace
|
|
90
|
-
const
|
|
91
|
-
export {
|
|
83
|
+
namespace buttonHoverColor {
|
|
84
|
+
const control_6: string;
|
|
85
|
+
export { control_6 as control };
|
|
92
86
|
const description_10: string;
|
|
93
87
|
export { description_10 as description };
|
|
94
88
|
const name_10: string;
|
|
95
89
|
export { name_10 as name };
|
|
96
|
-
const
|
|
97
|
-
export {
|
|
90
|
+
const defaultValue_1: string;
|
|
91
|
+
export { defaultValue_1 as defaultValue };
|
|
98
92
|
}
|
|
99
|
-
namespace
|
|
100
|
-
const
|
|
101
|
-
export {
|
|
93
|
+
namespace showSideButton {
|
|
94
|
+
const control_7: string;
|
|
95
|
+
export { control_7 as control };
|
|
102
96
|
const description_11: string;
|
|
103
97
|
export { description_11 as description };
|
|
104
98
|
const name_11: string;
|
|
105
99
|
export { name_11 as name };
|
|
100
|
+
const defaultValue_2: boolean;
|
|
101
|
+
export { defaultValue_2 as defaultValue };
|
|
102
|
+
}
|
|
103
|
+
namespace onSideButtonClick {
|
|
104
|
+
const action_4: string;
|
|
105
|
+
export { action_4 as action };
|
|
106
|
+
const description_12: string;
|
|
107
|
+
export { description_12 as description };
|
|
108
|
+
const name_12: string;
|
|
109
|
+
export { name_12 as name };
|
|
110
|
+
}
|
|
111
|
+
namespace sideButtonColor {
|
|
112
|
+
const control_8: string;
|
|
113
|
+
export { control_8 as control };
|
|
114
|
+
const description_13: string;
|
|
115
|
+
export { description_13 as description };
|
|
116
|
+
const name_13: string;
|
|
117
|
+
export { name_13 as name };
|
|
118
|
+
const defaultValue_3: string;
|
|
119
|
+
export { defaultValue_3 as defaultValue };
|
|
120
|
+
}
|
|
121
|
+
namespace sideButtonHoverColor {
|
|
122
|
+
const control_9: string;
|
|
123
|
+
export { control_9 as control };
|
|
124
|
+
const description_14: string;
|
|
125
|
+
export { description_14 as description };
|
|
126
|
+
const name_14: string;
|
|
127
|
+
export { name_14 as name };
|
|
128
|
+
const defaultValue_4: string;
|
|
129
|
+
export { defaultValue_4 as defaultValue };
|
|
130
|
+
}
|
|
131
|
+
namespace children {
|
|
132
|
+
const control_10: string;
|
|
133
|
+
export { control_10 as control };
|
|
134
|
+
const description_15: string;
|
|
135
|
+
export { description_15 as description };
|
|
136
|
+
const name_15: string;
|
|
137
|
+
export { name_15 as name };
|
|
138
|
+
}
|
|
139
|
+
namespace tableBodyHeight {
|
|
140
|
+
const control_11: string;
|
|
141
|
+
export { control_11 as control };
|
|
142
|
+
const description_16: string;
|
|
143
|
+
export { description_16 as description };
|
|
144
|
+
const name_16: string;
|
|
145
|
+
export { name_16 as name };
|
|
146
|
+
}
|
|
147
|
+
namespace isLoading {
|
|
148
|
+
const control_12: string;
|
|
149
|
+
export { control_12 as control };
|
|
150
|
+
const description_17: string;
|
|
151
|
+
export { description_17 as description };
|
|
152
|
+
const name_17: string;
|
|
153
|
+
export { name_17 as name };
|
|
154
|
+
}
|
|
155
|
+
namespace isLoadingText {
|
|
156
|
+
const control_13: string;
|
|
157
|
+
export { control_13 as control };
|
|
158
|
+
const description_18: string;
|
|
159
|
+
export { description_18 as description };
|
|
160
|
+
const name_18: string;
|
|
161
|
+
export { name_18 as name };
|
|
162
|
+
}
|
|
163
|
+
namespace onRowClick {
|
|
164
|
+
const action_5: string;
|
|
165
|
+
export { action_5 as action };
|
|
166
|
+
const description_19: string;
|
|
167
|
+
export { description_19 as description };
|
|
168
|
+
const name_19: string;
|
|
169
|
+
export { name_19 as name };
|
|
170
|
+
}
|
|
171
|
+
namespace onLastRowsReached {
|
|
172
|
+
const action_6: string;
|
|
173
|
+
export { action_6 as action };
|
|
174
|
+
const description_20: string;
|
|
175
|
+
export { description_20 as description };
|
|
176
|
+
const name_20: string;
|
|
177
|
+
export { name_20 as name };
|
|
178
|
+
}
|
|
179
|
+
namespace lastRowsThreshold {
|
|
180
|
+
const control_14: string;
|
|
181
|
+
export { control_14 as control };
|
|
182
|
+
const description_21: string;
|
|
183
|
+
export { description_21 as description };
|
|
184
|
+
const name_21: string;
|
|
185
|
+
export { name_21 as name };
|
|
186
|
+
}
|
|
187
|
+
namespace onSendClick {
|
|
188
|
+
const action_7: string;
|
|
189
|
+
export { action_7 as action };
|
|
190
|
+
const description_22: string;
|
|
191
|
+
export { description_22 as description };
|
|
192
|
+
const name_22: string;
|
|
193
|
+
export { name_22 as name };
|
|
194
|
+
}
|
|
195
|
+
namespace showHorizontalScroll {
|
|
196
|
+
const control_15: string;
|
|
197
|
+
export { control_15 as control };
|
|
198
|
+
const description_23: string;
|
|
199
|
+
export { description_23 as description };
|
|
200
|
+
const name_23: string;
|
|
201
|
+
export { name_23 as name };
|
|
202
|
+
}
|
|
203
|
+
namespace onDeleteClick {
|
|
204
|
+
const action_8: string;
|
|
205
|
+
export { action_8 as action };
|
|
206
|
+
const description_24: string;
|
|
207
|
+
export { description_24 as description };
|
|
208
|
+
const name_24: string;
|
|
209
|
+
export { name_24 as name };
|
|
106
210
|
}
|
|
107
211
|
}
|
|
108
212
|
}
|
|
@@ -115,8 +219,18 @@ export namespace Default {
|
|
|
115
219
|
export { height_1 as height };
|
|
116
220
|
const tableTitle_1: string;
|
|
117
221
|
export { tableTitle_1 as tableTitle };
|
|
118
|
-
const
|
|
222
|
+
const tableBodyHeight_1: string;
|
|
223
|
+
export { tableBodyHeight_1 as tableBodyHeight };
|
|
224
|
+
const isLoading_1: boolean;
|
|
225
|
+
export { isLoading_1 as isLoading };
|
|
226
|
+
const isLoadingText_1: string;
|
|
227
|
+
export { isLoadingText_1 as isLoadingText };
|
|
228
|
+
const lastRowsThreshold_1: number;
|
|
229
|
+
export { lastRowsThreshold_1 as lastRowsThreshold };
|
|
230
|
+
const data_1: any[];
|
|
119
231
|
export { data_1 as data };
|
|
232
|
+
const columns_1: any[];
|
|
233
|
+
export { columns_1 as columns };
|
|
120
234
|
export function onButtonClick_1(): void;
|
|
121
235
|
export { onButtonClick_1 as onButtonClick };
|
|
122
236
|
const buttonColor_1: string;
|
|
@@ -131,8 +245,140 @@ export namespace Default {
|
|
|
131
245
|
export { sideButtonColor_1 as sideButtonColor };
|
|
132
246
|
const sideButtonHoverColor_1: string;
|
|
133
247
|
export { sideButtonHoverColor_1 as sideButtonHoverColor };
|
|
248
|
+
const showHorizontalScroll_1: boolean;
|
|
249
|
+
export { showHorizontalScroll_1 as showHorizontalScroll };
|
|
134
250
|
const children_1: import("react/jsx-runtime").JSX.Element;
|
|
135
251
|
export { children_1 as children };
|
|
136
252
|
}
|
|
137
253
|
}
|
|
254
|
+
export namespace WithData {
|
|
255
|
+
export namespace args_1 {
|
|
256
|
+
const width_2: string;
|
|
257
|
+
export { width_2 as width };
|
|
258
|
+
const height_2: string;
|
|
259
|
+
export { height_2 as height };
|
|
260
|
+
const tableBodyHeight_2: string;
|
|
261
|
+
export { tableBodyHeight_2 as tableBodyHeight };
|
|
262
|
+
const tableTitle_2: string;
|
|
263
|
+
export { tableTitle_2 as tableTitle };
|
|
264
|
+
export const counter: number;
|
|
265
|
+
const isLoading_2: boolean;
|
|
266
|
+
export { isLoading_2 as isLoading };
|
|
267
|
+
const isLoadingText_2: string;
|
|
268
|
+
export { isLoadingText_2 as isLoadingText };
|
|
269
|
+
const lastRowsThreshold_2: number;
|
|
270
|
+
export { lastRowsThreshold_2 as lastRowsThreshold };
|
|
271
|
+
export { columns1 as columns };
|
|
272
|
+
export { data1 as data };
|
|
273
|
+
const buttonColor_2: string;
|
|
274
|
+
export { buttonColor_2 as buttonColor };
|
|
275
|
+
}
|
|
276
|
+
export { args_1 as args };
|
|
277
|
+
}
|
|
278
|
+
export namespace EmptyState {
|
|
279
|
+
export namespace args_2 {
|
|
280
|
+
const width_3: string;
|
|
281
|
+
export { width_3 as width };
|
|
282
|
+
const height_3: string;
|
|
283
|
+
export { height_3 as height };
|
|
284
|
+
const tableTitle_3: string;
|
|
285
|
+
export { tableTitle_3 as tableTitle };
|
|
286
|
+
const columns_2: any[];
|
|
287
|
+
export { columns_2 as columns };
|
|
288
|
+
const data_2: any[];
|
|
289
|
+
export { data_2 as data };
|
|
290
|
+
}
|
|
291
|
+
export { args_2 as args };
|
|
292
|
+
}
|
|
138
293
|
import Table from "./Table";
|
|
294
|
+
declare const columns1: ({
|
|
295
|
+
key: string;
|
|
296
|
+
title: string;
|
|
297
|
+
filter: boolean;
|
|
298
|
+
sort: boolean;
|
|
299
|
+
checkBox: boolean;
|
|
300
|
+
fieldType: string;
|
|
301
|
+
minWidth: string;
|
|
302
|
+
maxWidth: string;
|
|
303
|
+
filterOptions: {
|
|
304
|
+
label: string;
|
|
305
|
+
value: string;
|
|
306
|
+
}[];
|
|
307
|
+
sortOptions: {
|
|
308
|
+
value: string;
|
|
309
|
+
label: string;
|
|
310
|
+
}[];
|
|
311
|
+
rangeFilter?: undefined;
|
|
312
|
+
freeTextFilter?: undefined;
|
|
313
|
+
tooltipText?: undefined;
|
|
314
|
+
} | {
|
|
315
|
+
key: string;
|
|
316
|
+
title: string;
|
|
317
|
+
filter: boolean;
|
|
318
|
+
sort: boolean;
|
|
319
|
+
checkBox: boolean;
|
|
320
|
+
fieldType: string;
|
|
321
|
+
minWidth: string;
|
|
322
|
+
maxWidth: string;
|
|
323
|
+
filterOptions: any[];
|
|
324
|
+
rangeFilter: boolean;
|
|
325
|
+
sortOptions?: undefined;
|
|
326
|
+
freeTextFilter?: undefined;
|
|
327
|
+
tooltipText?: undefined;
|
|
328
|
+
} | {
|
|
329
|
+
key: string;
|
|
330
|
+
title: string;
|
|
331
|
+
filter: boolean;
|
|
332
|
+
sort: boolean;
|
|
333
|
+
checkBox: boolean;
|
|
334
|
+
fieldType: string;
|
|
335
|
+
minWidth: string;
|
|
336
|
+
maxWidth: string;
|
|
337
|
+
freeTextFilter: boolean;
|
|
338
|
+
filterOptions?: undefined;
|
|
339
|
+
sortOptions?: undefined;
|
|
340
|
+
rangeFilter?: undefined;
|
|
341
|
+
tooltipText?: undefined;
|
|
342
|
+
} | {
|
|
343
|
+
key: string;
|
|
344
|
+
title: string;
|
|
345
|
+
filter: boolean;
|
|
346
|
+
sort: boolean;
|
|
347
|
+
checkBox: boolean;
|
|
348
|
+
fieldType: string;
|
|
349
|
+
minWidth: string;
|
|
350
|
+
maxWidth: string;
|
|
351
|
+
filterOptions: {
|
|
352
|
+
value: string;
|
|
353
|
+
label: string;
|
|
354
|
+
}[];
|
|
355
|
+
sortOptions: any[];
|
|
356
|
+
tooltipText: {
|
|
357
|
+
value: string;
|
|
358
|
+
label: string;
|
|
359
|
+
}[];
|
|
360
|
+
rangeFilter?: undefined;
|
|
361
|
+
freeTextFilter?: undefined;
|
|
362
|
+
})[];
|
|
363
|
+
declare const data1: {
|
|
364
|
+
EventCode: number;
|
|
365
|
+
ExternalEventID: string;
|
|
366
|
+
EventName: string;
|
|
367
|
+
EventType: number;
|
|
368
|
+
EventComponent: string;
|
|
369
|
+
EventSubType: number;
|
|
370
|
+
StartWeekID: string;
|
|
371
|
+
EndWeekID: string;
|
|
372
|
+
IsPartnership: boolean;
|
|
373
|
+
DueDate: string;
|
|
374
|
+
EnterDate: string;
|
|
375
|
+
LastModDate: string;
|
|
376
|
+
Retailers: string[];
|
|
377
|
+
EventTypeName: string;
|
|
378
|
+
EventSubTypeName: string;
|
|
379
|
+
PackageStatus: string;
|
|
380
|
+
Week: string;
|
|
381
|
+
Period: string;
|
|
382
|
+
Year: string;
|
|
383
|
+
Trash: string;
|
|
384
|
+
}[];
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export const TableWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
export const TableContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export const TableBodyScrollWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
4
|
export const TableTag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, never>> & string;
|
|
3
5
|
export const Thead: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
|
|
4
6
|
export const HeaderCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, never>> & string;
|
|
@@ -12,3 +14,5 @@ export const SubTitle: import("styled-components/dist/types").IStyledComponentBa
|
|
|
12
14
|
export const NoEventsParent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
15
|
export const NoEventsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
14
16
|
export const NoEventsMessage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
17
|
+
export const LoadingWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
18
|
+
export const LoadingText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default TableBody;
|
|
2
|
+
declare function TableBody({ columns, data, onRowClick, onSendClick, buttonColor, onDeleteClick }: {
|
|
3
|
+
columns: any;
|
|
4
|
+
data: any;
|
|
5
|
+
onRowClick: any;
|
|
6
|
+
onSendClick: any;
|
|
7
|
+
buttonColor: any;
|
|
8
|
+
onDeleteClick: any;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const StyledTableBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
|
|
2
|
+
export const TableRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, never>> & string;
|
|
3
|
+
export const Tooltip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export const TableCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
|
|
5
|
+
export const SkeletonCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
|
|
6
|
+
export const SkeletonBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export const PackageStatusContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
+
export const SentStatus: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
+
export const TrashIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
|
+
export const DisabledTrashIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default TableHeader;
|
|
2
|
+
declare function TableHeader({ columns, onSort, onFilter, onSelectAll, activeFilters, activeSorts }: {
|
|
3
|
+
columns: any;
|
|
4
|
+
onSort: any;
|
|
5
|
+
onFilter: any;
|
|
6
|
+
onSelectAll: any;
|
|
7
|
+
activeFilters?: any[];
|
|
8
|
+
activeSorts?: any[];
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const StyledTableHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, never>> & string;
|
|
2
|
+
export const HeaderCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, never>> & string;
|
|
3
|
+
export const ColumnContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export const ColumnCheckbox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
5
|
+
export const ColumnLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
6
|
+
export const ColumnActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export const IconButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
8
|
+
export const PopWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const StyledTooltip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -9,10 +9,12 @@ export default WeeksCalendar;
|
|
|
9
9
|
* • onApply(start,end) – callback, both numbers (inclusive)
|
|
10
10
|
* • onCancel() – callback
|
|
11
11
|
*/
|
|
12
|
-
declare function WeeksCalendar({ year, defaultStartWeek, defaultEndWeek, onApply, onCancel, }: {
|
|
12
|
+
declare function WeeksCalendar({ year, defaultStartWeek, defaultEndWeek, backgroundColor, hoverBackgroundColor, onApply, onCancel, }: {
|
|
13
13
|
year: any;
|
|
14
14
|
defaultStartWeek?: any;
|
|
15
15
|
defaultEndWeek?: any;
|
|
16
|
+
backgroundColor?: string;
|
|
17
|
+
hoverBackgroundColor?: string;
|
|
16
18
|
onApply: any;
|
|
17
19
|
onCancel: any;
|
|
18
20
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,27 +1,18 @@
|
|
|
1
1
|
export default WeeksPicker;
|
|
2
|
-
declare function WeeksPicker({ label, disabled, borderColor, borderColorFocus, textColor, required, placeholder, borderRadius, year, width, height, onChange, selectedValue, }: {
|
|
2
|
+
declare function WeeksPicker({ label, disabled, borderColor, borderColorFocus, textColor, hoverColor, required, placeholder, borderRadius, year, width, height, withMarginBottom, onChange, selectedValue, }: {
|
|
3
3
|
label: any;
|
|
4
4
|
disabled: any;
|
|
5
5
|
borderColor: any;
|
|
6
6
|
borderColorFocus: any;
|
|
7
7
|
textColor: any;
|
|
8
|
+
hoverColor: any;
|
|
8
9
|
required: any;
|
|
9
10
|
placeholder: any;
|
|
10
11
|
borderRadius: any;
|
|
11
12
|
year: any;
|
|
12
13
|
width: any;
|
|
13
14
|
height: any;
|
|
15
|
+
withMarginBottom?: boolean;
|
|
14
16
|
onChange: any;
|
|
15
17
|
selectedValue: any;
|
|
16
18
|
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
declare namespace WeeksPicker {
|
|
18
|
-
namespace propTypes {
|
|
19
|
-
const label: PropTypes.Validator<string>;
|
|
20
|
-
const year: PropTypes.Validator<number>;
|
|
21
|
-
const onChange: PropTypes.Validator<(...args: any[]) => any>;
|
|
22
|
-
const defaultValues: PropTypes.Requireable<number[]>;
|
|
23
|
-
const saveStartWeekID: PropTypes.Validator<(...args: any[]) => any>;
|
|
24
|
-
const saveEndWeekID: PropTypes.Validator<(...args: any[]) => any>;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
import PropTypes from "prop-types";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export default TrashIcon;
|
|
2
|
+
/**
|
|
3
|
+
* TrashIcon component renders a trash/delete icon based on the given state.
|
|
4
|
+
* @param {('default'|'hover'|'disabled'|'active')} state - The visual state of the icon.
|
|
5
|
+
* @param {object} props - Additional props passed to the svg element.
|
|
6
|
+
*/
|
|
7
|
+
declare function TrashIcon({ state, ...props }: ('default' | 'hover' | 'disabled' | 'active')): import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,3 +13,8 @@ export { default as SearchIcon } from './SearchIcon';
|
|
|
13
13
|
export { default as PlusIcon } from './PlusIcon';
|
|
14
14
|
export { default as ArrowLeftIcon } from './ArrowLeftIcon';
|
|
15
15
|
export { default as Plus } from './Plus';
|
|
16
|
+
export { default as ArrowRightFullIcon } from './ArrowRightFullIcon';
|
|
17
|
+
export { default as RedDot } from './RedDot';
|
|
18
|
+
export { default as TrashIcon } from './TrashIcon';
|
|
19
|
+
export { default as CalendarInOpen } from './CalendarInOpen';
|
|
20
|
+
export { default as Calendar } from './Calendar';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export { default as ModalWithOverlay } from "./components/ModalWithOverlay/Modal
|
|
|
40
40
|
export { default as DropdownNew } from "./components/DropdownNew/DropdownNew.jsx";
|
|
41
41
|
export { default as WeeksPicker } from "./components/WeeksPicker/WeeksPicker.jsx";
|
|
42
42
|
export { default as Input } from "./components/Input/Input.jsx";
|
|
43
|
+
export { default as Tooltip } from "./components/Tooltip/Tooltip.jsx";
|
|
43
44
|
export { default as ToggleSwitch } from "./components/ToggleSwitch/ToggleSwitch.jsx";
|
|
44
45
|
export { default as ContainerTable } from "./components/ContainerTable/ContainerTable.jsx";
|
|
45
46
|
export { default as MenuRoute } from "./components/MenuRoute/MenuRoute.jsx";
|
|
@@ -47,4 +48,11 @@ export { default as Build } from "./components/MenuRoute/MenuIcons/Build.jsx";
|
|
|
47
48
|
export { default as Track } from "./components/MenuRoute/MenuIcons/Track.jsx";
|
|
48
49
|
export { default as Execute } from "./components/MenuRoute/MenuIcons/Execute.jsx";
|
|
49
50
|
export { default as Table } from "./components/Table/Table.jsx";
|
|
51
|
+
export { default as FilterPop } from "./components/Table/DropMenus/FilterPop.jsx";
|
|
52
|
+
export { default as SortPop } from "./components/Table/DropMenus/SortPop.jsx";
|
|
53
|
+
export { default as RangePop } from "./components/Table/DropMenus/RangePop.jsx";
|
|
50
54
|
export { default as SearchInput } from "./components/SearchInput/SearchInput.jsx";
|
|
55
|
+
export { default as ItemManagerPanel } from "./components/ItemManagerPanel/ItemManagerPanel.jsx";
|
|
56
|
+
export { default as ModalDrawer } from "./components/ModalDrawer/ModalDrawer.jsx";
|
|
57
|
+
export { default as OverlayDropdown } from "./components/OverlayDropdown/OverlayDropdown.jsx";
|
|
58
|
+
export { default as MessageBox } from "./components/MessageBox/MessageBox.jsx";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sag_components",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-beta102",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -28,8 +28,10 @@
|
|
|
28
28
|
"@chromatic-com/storybook": "^3.2.5",
|
|
29
29
|
"@rollup/plugin-babel": "^6.0.3",
|
|
30
30
|
"@rollup/plugin-commonjs": "^24.0.0",
|
|
31
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
31
32
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
32
33
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
34
|
+
"@rollup/plugin-url": "^8.0.2",
|
|
33
35
|
"@storybook/addon-designs": "^8.2.0",
|
|
34
36
|
"@storybook/addon-essentials": "^8.6.4",
|
|
35
37
|
"@storybook/addon-interactions": "^8.6.4",
|
|
@@ -76,6 +78,7 @@
|
|
|
76
78
|
"@emotion/styled": "^11.11.5",
|
|
77
79
|
"classnames": "^2.3.2",
|
|
78
80
|
"framer-motion": "^11.15.0",
|
|
81
|
+
"lottie-react": "^2.4.1",
|
|
79
82
|
"moment": "^2.30.1",
|
|
80
83
|
"prop-types": "^15.8.1",
|
|
81
84
|
"react": "^18.3.1",
|
|
@@ -85,7 +88,7 @@
|
|
|
85
88
|
"react-loading-skeleton": "^3.3.1",
|
|
86
89
|
"recharts": "^2.15.0",
|
|
87
90
|
"styled-components": "^6.1.15",
|
|
88
|
-
"typescript": "^
|
|
91
|
+
"typescript": "^4.9.5"
|
|
89
92
|
},
|
|
90
93
|
"browserslist": {
|
|
91
94
|
"production": [
|