sag_components 2.0.0-beta144 → 2.0.0-beta145
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/index.d.ts +9 -5
- package/dist/index.esm.js +356 -488
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +356 -488
- package/dist/index.js.map +1 -1
- package/dist/types/components/MessageBox/MessageBox.d.ts +9 -5
- package/dist/types/components/MessageBox/MessageBox.stories.d.ts +67 -15
- package/dist/types/components/MessageBox/MessageBox.styles.d.ts +2 -4
- package/dist/types/components/Table/Table.stories.d.ts +78 -66
- package/dist/types/components/Table/TableBody.d.ts +9 -2
- package/dist/types/components/Table/TableBody.styles.d.ts +6 -0
- package/dist/types/components/Table/data.d.ts +3 -16
- package/package.json +1 -1
- package/dist/types/components/Table/CommentModal.d.ts +0 -2
- package/dist/types/components/Table/CommentModal.styles.d.ts +0 -11
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
export default MessageBox;
|
|
2
|
-
declare function MessageBox({ isOpen, onClose, onConfirm, title,
|
|
2
|
+
declare function MessageBox({ isOpen, isDisabled, onClose, onConfirm, title, primaryText, secondaryText, width, height, color, hoverColor, secondaryColor, seperateSectionBorder, children, }: {
|
|
3
3
|
isOpen?: boolean;
|
|
4
|
+
isDisabled?: boolean;
|
|
4
5
|
onClose?: () => void;
|
|
5
6
|
onConfirm?: () => void;
|
|
6
7
|
title?: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
cancelText?: string;
|
|
10
|
-
confirmText?: string;
|
|
8
|
+
primaryText?: string;
|
|
9
|
+
secondaryText?: string;
|
|
11
10
|
width?: string;
|
|
12
11
|
height?: string;
|
|
12
|
+
color?: string;
|
|
13
|
+
hoverColor?: string;
|
|
14
|
+
secondaryColor?: string;
|
|
15
|
+
seperateSectionBorder?: boolean;
|
|
16
|
+
children: any;
|
|
13
17
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,67 +7,119 @@ declare namespace _default {
|
|
|
7
7
|
}
|
|
8
8
|
export namespace argTypes {
|
|
9
9
|
export namespace isOpen {
|
|
10
|
+
const name: string;
|
|
10
11
|
const control: string;
|
|
11
12
|
const description: string;
|
|
12
13
|
}
|
|
13
14
|
export namespace title_1 {
|
|
15
|
+
const name_1: string;
|
|
16
|
+
export { name_1 as name };
|
|
14
17
|
const control_1: string;
|
|
15
18
|
export { control_1 as control };
|
|
16
19
|
const description_1: string;
|
|
17
20
|
export { description_1 as description };
|
|
18
21
|
}
|
|
19
22
|
export { title_1 as title };
|
|
20
|
-
export namespace
|
|
23
|
+
export namespace primaryText {
|
|
24
|
+
const name_2: string;
|
|
25
|
+
export { name_2 as name };
|
|
21
26
|
const control_2: string;
|
|
22
27
|
export { control_2 as control };
|
|
23
28
|
const description_2: string;
|
|
24
29
|
export { description_2 as description };
|
|
25
30
|
}
|
|
26
|
-
export namespace
|
|
31
|
+
export namespace secondaryText {
|
|
32
|
+
const name_3: string;
|
|
33
|
+
export { name_3 as name };
|
|
27
34
|
const control_3: string;
|
|
28
35
|
export { control_3 as control };
|
|
29
36
|
const description_3: string;
|
|
30
37
|
export { description_3 as description };
|
|
31
38
|
}
|
|
32
|
-
export namespace
|
|
39
|
+
export namespace width {
|
|
40
|
+
const name_4: string;
|
|
41
|
+
export { name_4 as name };
|
|
33
42
|
const control_4: string;
|
|
34
43
|
export { control_4 as control };
|
|
35
44
|
const description_4: string;
|
|
36
45
|
export { description_4 as description };
|
|
37
46
|
}
|
|
38
|
-
export namespace
|
|
47
|
+
export namespace height {
|
|
48
|
+
const name_5: string;
|
|
49
|
+
export { name_5 as name };
|
|
39
50
|
const control_5: string;
|
|
40
51
|
export { control_5 as control };
|
|
41
52
|
const description_5: string;
|
|
42
53
|
export { description_5 as description };
|
|
43
54
|
}
|
|
44
|
-
export namespace
|
|
45
|
-
const
|
|
46
|
-
export {
|
|
55
|
+
export namespace onClose {
|
|
56
|
+
const name_6: string;
|
|
57
|
+
export { name_6 as name };
|
|
58
|
+
export const action: string;
|
|
47
59
|
const description_6: string;
|
|
48
60
|
export { description_6 as description };
|
|
49
61
|
}
|
|
50
|
-
export namespace
|
|
51
|
-
const
|
|
52
|
-
export {
|
|
62
|
+
export namespace onConfirm {
|
|
63
|
+
const name_7: string;
|
|
64
|
+
export { name_7 as name };
|
|
65
|
+
const action_1: string;
|
|
66
|
+
export { action_1 as action };
|
|
53
67
|
const description_7: string;
|
|
54
68
|
export { description_7 as description };
|
|
55
69
|
}
|
|
56
|
-
export namespace
|
|
57
|
-
|
|
70
|
+
export namespace isDisabled {
|
|
71
|
+
const name_8: string;
|
|
72
|
+
export { name_8 as name };
|
|
73
|
+
const control_6: string;
|
|
74
|
+
export { control_6 as control };
|
|
58
75
|
const description_8: string;
|
|
59
76
|
export { description_8 as description };
|
|
60
77
|
}
|
|
61
|
-
export namespace
|
|
62
|
-
const
|
|
63
|
-
export {
|
|
78
|
+
export namespace color {
|
|
79
|
+
const name_9: string;
|
|
80
|
+
export { name_9 as name };
|
|
81
|
+
const control_7: string;
|
|
82
|
+
export { control_7 as control };
|
|
64
83
|
const description_9: string;
|
|
65
84
|
export { description_9 as description };
|
|
66
85
|
}
|
|
86
|
+
export namespace hoverColor {
|
|
87
|
+
const name_10: string;
|
|
88
|
+
export { name_10 as name };
|
|
89
|
+
const control_8: string;
|
|
90
|
+
export { control_8 as control };
|
|
91
|
+
const description_10: string;
|
|
92
|
+
export { description_10 as description };
|
|
93
|
+
}
|
|
94
|
+
export namespace secondaryColor {
|
|
95
|
+
const name_11: string;
|
|
96
|
+
export { name_11 as name };
|
|
97
|
+
const control_9: string;
|
|
98
|
+
export { control_9 as control };
|
|
99
|
+
const description_11: string;
|
|
100
|
+
export { description_11 as description };
|
|
101
|
+
}
|
|
102
|
+
export namespace seperateSectionBorder {
|
|
103
|
+
const name_12: string;
|
|
104
|
+
export { name_12 as name };
|
|
105
|
+
const control_10: string;
|
|
106
|
+
export { control_10 as control };
|
|
107
|
+
const description_12: string;
|
|
108
|
+
export { description_12 as description };
|
|
109
|
+
}
|
|
110
|
+
export namespace children {
|
|
111
|
+
const name_13: string;
|
|
112
|
+
export { name_13 as name };
|
|
113
|
+
const control_11: string;
|
|
114
|
+
export { control_11 as control };
|
|
115
|
+
const description_13: string;
|
|
116
|
+
export { description_13 as description };
|
|
117
|
+
}
|
|
67
118
|
}
|
|
68
119
|
}
|
|
69
120
|
export default _default;
|
|
70
121
|
export const Default: any;
|
|
122
|
+
export const Comment: any;
|
|
71
123
|
export const CustomMessage: any;
|
|
72
124
|
export const ShortMessage: any;
|
|
73
125
|
export const LongMessage: any;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export const ModalOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
2
|
export const ModalContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
export const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
4
|
+
export const ModalHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
5
|
export const ModalTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
5
|
-
export const
|
|
6
|
-
export const IconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
-
export const MessageTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
8
|
-
export const MessageMessage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
6
|
+
export const ModalContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
7
|
export const ButtonContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -24,73 +24,73 @@ declare namespace _default {
|
|
|
24
24
|
const name_2: string;
|
|
25
25
|
export { name_2 as name };
|
|
26
26
|
}
|
|
27
|
-
namespace
|
|
27
|
+
namespace tableBackground {
|
|
28
28
|
const control_3: string;
|
|
29
29
|
export { control_3 as control };
|
|
30
30
|
const description_3: string;
|
|
31
31
|
export { description_3 as description };
|
|
32
32
|
const name_3: string;
|
|
33
33
|
export { name_3 as name };
|
|
34
|
-
export const defaultValue:
|
|
34
|
+
export const defaultValue: string;
|
|
35
35
|
}
|
|
36
|
-
namespace
|
|
36
|
+
namespace hideRowsCounter {
|
|
37
37
|
const control_4: string;
|
|
38
38
|
export { control_4 as control };
|
|
39
39
|
const description_4: string;
|
|
40
40
|
export { description_4 as description };
|
|
41
41
|
const name_4: string;
|
|
42
42
|
export { name_4 as name };
|
|
43
|
+
const defaultValue_1: boolean;
|
|
44
|
+
export { defaultValue_1 as defaultValue };
|
|
43
45
|
}
|
|
44
|
-
namespace
|
|
45
|
-
|
|
46
|
+
namespace data {
|
|
47
|
+
const control_5: string;
|
|
48
|
+
export { control_5 as control };
|
|
46
49
|
const description_5: string;
|
|
47
50
|
export { description_5 as description };
|
|
48
51
|
const name_5: string;
|
|
49
52
|
export { name_5 as name };
|
|
50
53
|
}
|
|
51
|
-
namespace
|
|
52
|
-
const
|
|
53
|
-
export { control_5 as control };
|
|
54
|
+
namespace onButtonClick {
|
|
55
|
+
export const action: string;
|
|
54
56
|
const description_6: string;
|
|
55
57
|
export { description_6 as description };
|
|
56
58
|
const name_6: string;
|
|
57
59
|
export { name_6 as name };
|
|
58
60
|
}
|
|
59
|
-
namespace
|
|
60
|
-
const
|
|
61
|
-
export {
|
|
61
|
+
namespace columns {
|
|
62
|
+
const control_6: string;
|
|
63
|
+
export { control_6 as control };
|
|
62
64
|
const description_7: string;
|
|
63
65
|
export { description_7 as description };
|
|
64
66
|
const name_7: string;
|
|
65
67
|
export { name_7 as name };
|
|
66
68
|
}
|
|
67
|
-
namespace
|
|
68
|
-
const
|
|
69
|
-
export {
|
|
69
|
+
namespace onSort {
|
|
70
|
+
const action_1: string;
|
|
71
|
+
export { action_1 as action };
|
|
70
72
|
const description_8: string;
|
|
71
73
|
export { description_8 as description };
|
|
72
74
|
const name_8: string;
|
|
73
75
|
export { name_8 as name };
|
|
74
76
|
}
|
|
75
|
-
namespace
|
|
76
|
-
const
|
|
77
|
-
export {
|
|
77
|
+
namespace onFilter {
|
|
78
|
+
const action_2: string;
|
|
79
|
+
export { action_2 as action };
|
|
78
80
|
const description_9: string;
|
|
79
81
|
export { description_9 as description };
|
|
80
82
|
const name_9: string;
|
|
81
83
|
export { name_9 as name };
|
|
82
84
|
}
|
|
83
|
-
namespace
|
|
84
|
-
const
|
|
85
|
-
export {
|
|
85
|
+
namespace onSelectAll {
|
|
86
|
+
const action_3: string;
|
|
87
|
+
export { action_3 as action };
|
|
86
88
|
const description_10: string;
|
|
87
89
|
export { description_10 as description };
|
|
88
90
|
const name_10: string;
|
|
89
91
|
export { name_10 as name };
|
|
90
|
-
const defaultValue_1: string;
|
|
91
|
-
export { defaultValue_1 as defaultValue };
|
|
92
92
|
}
|
|
93
|
-
namespace
|
|
93
|
+
namespace buttonColor {
|
|
94
94
|
const control_7: string;
|
|
95
95
|
export { control_7 as control };
|
|
96
96
|
const description_11: string;
|
|
@@ -100,35 +100,35 @@ declare namespace _default {
|
|
|
100
100
|
const defaultValue_2: string;
|
|
101
101
|
export { defaultValue_2 as defaultValue };
|
|
102
102
|
}
|
|
103
|
-
namespace
|
|
103
|
+
namespace buttonHoverColor {
|
|
104
104
|
const control_8: string;
|
|
105
105
|
export { control_8 as control };
|
|
106
106
|
const description_12: string;
|
|
107
107
|
export { description_12 as description };
|
|
108
108
|
const name_12: string;
|
|
109
109
|
export { name_12 as name };
|
|
110
|
-
const defaultValue_3:
|
|
110
|
+
const defaultValue_3: string;
|
|
111
111
|
export { defaultValue_3 as defaultValue };
|
|
112
112
|
}
|
|
113
|
-
namespace
|
|
114
|
-
const
|
|
115
|
-
export {
|
|
113
|
+
namespace showSideButton {
|
|
114
|
+
const control_9: string;
|
|
115
|
+
export { control_9 as control };
|
|
116
116
|
const description_13: string;
|
|
117
117
|
export { description_13 as description };
|
|
118
118
|
const name_13: string;
|
|
119
119
|
export { name_13 as name };
|
|
120
|
+
const defaultValue_4: boolean;
|
|
121
|
+
export { defaultValue_4 as defaultValue };
|
|
120
122
|
}
|
|
121
|
-
namespace
|
|
122
|
-
const
|
|
123
|
-
export {
|
|
123
|
+
namespace onSideButtonClick {
|
|
124
|
+
const action_4: string;
|
|
125
|
+
export { action_4 as action };
|
|
124
126
|
const description_14: string;
|
|
125
127
|
export { description_14 as description };
|
|
126
128
|
const name_14: string;
|
|
127
129
|
export { name_14 as name };
|
|
128
|
-
const defaultValue_4: string;
|
|
129
|
-
export { defaultValue_4 as defaultValue };
|
|
130
130
|
}
|
|
131
|
-
namespace
|
|
131
|
+
namespace sideButtonColor {
|
|
132
132
|
const control_10: string;
|
|
133
133
|
export { control_10 as control };
|
|
134
134
|
const description_15: string;
|
|
@@ -138,15 +138,17 @@ declare namespace _default {
|
|
|
138
138
|
const defaultValue_5: string;
|
|
139
139
|
export { defaultValue_5 as defaultValue };
|
|
140
140
|
}
|
|
141
|
-
namespace
|
|
141
|
+
namespace sideButtonHoverColor {
|
|
142
142
|
const control_11: string;
|
|
143
143
|
export { control_11 as control };
|
|
144
144
|
const description_16: string;
|
|
145
145
|
export { description_16 as description };
|
|
146
146
|
const name_16: string;
|
|
147
147
|
export { name_16 as name };
|
|
148
|
+
const defaultValue_6: string;
|
|
149
|
+
export { defaultValue_6 as defaultValue };
|
|
148
150
|
}
|
|
149
|
-
namespace
|
|
151
|
+
namespace children {
|
|
150
152
|
const control_12: string;
|
|
151
153
|
export { control_12 as control };
|
|
152
154
|
const description_17: string;
|
|
@@ -154,7 +156,7 @@ declare namespace _default {
|
|
|
154
156
|
const name_17: string;
|
|
155
157
|
export { name_17 as name };
|
|
156
158
|
}
|
|
157
|
-
namespace
|
|
159
|
+
namespace tableBodyHeight {
|
|
158
160
|
const control_13: string;
|
|
159
161
|
export { control_13 as control };
|
|
160
162
|
const description_18: string;
|
|
@@ -162,7 +164,7 @@ declare namespace _default {
|
|
|
162
164
|
const name_18: string;
|
|
163
165
|
export { name_18 as name };
|
|
164
166
|
}
|
|
165
|
-
namespace
|
|
167
|
+
namespace isLoading {
|
|
166
168
|
const control_14: string;
|
|
167
169
|
export { control_14 as control };
|
|
168
170
|
const description_19: string;
|
|
@@ -170,63 +172,63 @@ declare namespace _default {
|
|
|
170
172
|
const name_19: string;
|
|
171
173
|
export { name_19 as name };
|
|
172
174
|
}
|
|
173
|
-
namespace
|
|
174
|
-
const
|
|
175
|
-
export {
|
|
175
|
+
namespace isLoadingText {
|
|
176
|
+
const control_15: string;
|
|
177
|
+
export { control_15 as control };
|
|
176
178
|
const description_20: string;
|
|
177
179
|
export { description_20 as description };
|
|
178
180
|
const name_20: string;
|
|
179
181
|
export { name_20 as name };
|
|
180
182
|
}
|
|
181
|
-
namespace
|
|
182
|
-
const
|
|
183
|
-
export {
|
|
183
|
+
namespace onRowClick {
|
|
184
|
+
const action_5: string;
|
|
185
|
+
export { action_5 as action };
|
|
184
186
|
const description_21: string;
|
|
185
187
|
export { description_21 as description };
|
|
186
188
|
const name_21: string;
|
|
187
189
|
export { name_21 as name };
|
|
188
190
|
}
|
|
189
|
-
namespace
|
|
190
|
-
const
|
|
191
|
-
export {
|
|
191
|
+
namespace onLastRowsReached {
|
|
192
|
+
const action_6: string;
|
|
193
|
+
export { action_6 as action };
|
|
192
194
|
const description_22: string;
|
|
193
195
|
export { description_22 as description };
|
|
194
196
|
const name_22: string;
|
|
195
197
|
export { name_22 as name };
|
|
196
198
|
}
|
|
197
|
-
namespace
|
|
198
|
-
const
|
|
199
|
-
export {
|
|
199
|
+
namespace lastRowsThreshold {
|
|
200
|
+
const control_16: string;
|
|
201
|
+
export { control_16 as control };
|
|
200
202
|
const description_23: string;
|
|
201
203
|
export { description_23 as description };
|
|
202
204
|
const name_23: string;
|
|
203
205
|
export { name_23 as name };
|
|
204
206
|
}
|
|
205
|
-
namespace
|
|
206
|
-
const
|
|
207
|
-
export {
|
|
207
|
+
namespace onSendClick {
|
|
208
|
+
const action_7: string;
|
|
209
|
+
export { action_7 as action };
|
|
208
210
|
const description_24: string;
|
|
209
211
|
export { description_24 as description };
|
|
210
212
|
const name_24: string;
|
|
211
213
|
export { name_24 as name };
|
|
212
214
|
}
|
|
213
|
-
namespace
|
|
214
|
-
const
|
|
215
|
-
export {
|
|
215
|
+
namespace showHorizontalScroll {
|
|
216
|
+
const control_17: string;
|
|
217
|
+
export { control_17 as control };
|
|
216
218
|
const description_25: string;
|
|
217
219
|
export { description_25 as description };
|
|
218
220
|
const name_25: string;
|
|
219
221
|
export { name_25 as name };
|
|
220
222
|
}
|
|
221
|
-
namespace
|
|
222
|
-
const
|
|
223
|
-
export {
|
|
223
|
+
namespace onDeleteClick {
|
|
224
|
+
const action_8: string;
|
|
225
|
+
export { action_8 as action };
|
|
224
226
|
const description_26: string;
|
|
225
227
|
export { description_26 as description };
|
|
226
228
|
const name_26: string;
|
|
227
229
|
export { name_26 as name };
|
|
228
230
|
}
|
|
229
|
-
namespace
|
|
231
|
+
namespace showNoDataInSearch {
|
|
230
232
|
const control_18: string;
|
|
231
233
|
export { control_18 as control };
|
|
232
234
|
const description_27: string;
|
|
@@ -234,22 +236,30 @@ declare namespace _default {
|
|
|
234
236
|
const name_27: string;
|
|
235
237
|
export { name_27 as name };
|
|
236
238
|
}
|
|
237
|
-
namespace
|
|
238
|
-
const
|
|
239
|
-
export {
|
|
239
|
+
namespace resetTableFocus {
|
|
240
|
+
const control_19: string;
|
|
241
|
+
export { control_19 as control };
|
|
240
242
|
const description_28: string;
|
|
241
243
|
export { description_28 as description };
|
|
242
244
|
const name_28: string;
|
|
243
245
|
export { name_28 as name };
|
|
244
246
|
}
|
|
245
|
-
namespace
|
|
246
|
-
const
|
|
247
|
-
export {
|
|
247
|
+
namespace onTableFocusChange {
|
|
248
|
+
const action_9: string;
|
|
249
|
+
export { action_9 as action };
|
|
248
250
|
const description_29: string;
|
|
249
251
|
export { description_29 as description };
|
|
250
252
|
const name_29: string;
|
|
251
253
|
export { name_29 as name };
|
|
252
254
|
}
|
|
255
|
+
namespace clearFocusOnOutsideClick {
|
|
256
|
+
const control_20: string;
|
|
257
|
+
export { control_20 as control };
|
|
258
|
+
const description_30: string;
|
|
259
|
+
export { description_30 as description };
|
|
260
|
+
const name_30: string;
|
|
261
|
+
export { name_30 as name };
|
|
262
|
+
}
|
|
253
263
|
}
|
|
254
264
|
}
|
|
255
265
|
export default _default;
|
|
@@ -307,6 +317,8 @@ export namespace WithData {
|
|
|
307
317
|
export { width_2 as width };
|
|
308
318
|
const height_2: string;
|
|
309
319
|
export { height_2 as height };
|
|
320
|
+
const tableBackground_1: string;
|
|
321
|
+
export { tableBackground_1 as tableBackground };
|
|
310
322
|
const tableBodyHeight_2: string;
|
|
311
323
|
export { tableBodyHeight_2 as tableBodyHeight };
|
|
312
324
|
const tableTitle_2: string;
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
export default TableBody;
|
|
2
|
-
declare function TableBody({ columns, data, onRowClick, onSendClick, buttonColor,
|
|
2
|
+
declare function TableBody({ columns, data, onRowClick, onSendClick, buttonColor, buttonHoverColor, selectedColor, onDeleteClick, resetFocusIndex, changeFocusIndex, onFocusChange, indexToShimmer, statuses, onCommentSave, commentTextLimit, ref, }: {
|
|
3
3
|
columns: any;
|
|
4
4
|
data: any;
|
|
5
5
|
onRowClick: any;
|
|
6
6
|
onSendClick: any;
|
|
7
7
|
buttonColor: any;
|
|
8
|
-
|
|
8
|
+
buttonHoverColor: any;
|
|
9
9
|
selectedColor: any;
|
|
10
|
+
onDeleteClick: any;
|
|
10
11
|
resetFocusIndex: any;
|
|
11
12
|
changeFocusIndex: any;
|
|
12
13
|
onFocusChange: any;
|
|
13
14
|
indexToShimmer?: number;
|
|
15
|
+
statuses?: {
|
|
16
|
+
status: string;
|
|
17
|
+
palette: string[];
|
|
18
|
+
}[];
|
|
14
19
|
onCommentSave?: () => void;
|
|
20
|
+
commentTextLimit?: number;
|
|
15
21
|
ref?: any;
|
|
16
22
|
}): import("react/jsx-runtime").JSX.Element;
|
|
17
23
|
declare namespace TableBody {
|
|
@@ -26,6 +32,7 @@ declare namespace TableBody {
|
|
|
26
32
|
const onFocusChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
33
|
const indexToShimmer: PropTypes.Requireable<number>;
|
|
28
34
|
const onCommentSave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
35
|
+
const commentTextLimit: PropTypes.Requireable<number>;
|
|
29
36
|
const ref: PropTypes.Requireable<object>;
|
|
30
37
|
}
|
|
31
38
|
const displayName: string;
|
|
@@ -10,3 +10,9 @@ export const SentStatus: import("styled-components/dist/types").IStyledComponent
|
|
|
10
10
|
export const TrashIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
11
|
export const CommentIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
12
|
export const DisabledTrashIconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
|
+
export const StatusCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
14
|
+
export const StatusCellCircle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
15
|
+
export const TextareaWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
16
|
+
export const TextareaLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
|
|
17
|
+
export const CommentTextarea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, never>> & string;
|
|
18
|
+
export const CharacterCount: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -175,7 +175,8 @@ export const supplierColumns: ({
|
|
|
175
175
|
freeTextFilter?: undefined;
|
|
176
176
|
rangeFilter?: undefined;
|
|
177
177
|
})[];
|
|
178
|
-
export const supplierData:
|
|
178
|
+
export const supplierData: {
|
|
179
|
+
Status: string;
|
|
179
180
|
Supplier: string;
|
|
180
181
|
EventID: string;
|
|
181
182
|
WeekNumber: string;
|
|
@@ -189,18 +190,4 @@ export const supplierData: ({
|
|
|
189
190
|
HUB: string;
|
|
190
191
|
Comments: string;
|
|
191
192
|
Trash: string;
|
|
192
|
-
}
|
|
193
|
-
Supplier: string;
|
|
194
|
-
EventID: string;
|
|
195
|
-
WeekNumber: string;
|
|
196
|
-
Period: string;
|
|
197
|
-
EventAttribute: string;
|
|
198
|
-
EventType: string;
|
|
199
|
-
EventSubType: string;
|
|
200
|
-
Component: string;
|
|
201
|
-
NegotiatedBrand: string;
|
|
202
|
-
ProductGroup: string;
|
|
203
|
-
HUB: string;
|
|
204
|
-
Comments: string;
|
|
205
|
-
Trash?: undefined;
|
|
206
|
-
})[];
|
|
193
|
+
}[];
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const ModalOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
-
export const ModalContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
-
export const ModalHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
-
export const ModalTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
5
|
-
export const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
6
|
-
export const ModalBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
-
export const TextareaWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
-
export const TextareaLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
|
|
9
|
-
export const CommentTextarea: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, never>> & string;
|
|
10
|
-
export const CharacterCount: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
|
-
export const ModalBottom: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|