sag_components 2.0.0-beta304 → 2.0.0-beta306
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 +3 -1
- package/dist/index.esm.js +72 -17
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +72 -17
- package/dist/index.js.map +1 -1
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +3 -1
- package/dist/types/components/QuickFilter/QuickFilter.stories.d.ts +120 -101
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.d.ts +2 -1
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +9 -1
- package/dist/types/components/SearchInput/SearchInput.stories.d.ts +27 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function QuickFilter({ hoverColor, multipleSelection, xIconShow, disabled, error, errorMessage, label, labelColor, placeHolder, width, height, checkBoxColor, dropdownHeight, onChange, options, selectedValue, }: {
|
|
1
|
+
export function QuickFilter({ hoverColor, multipleSelection, xIconShow, disabled, error, errorMessage, label, labelColor, placeHolder, optionHoverColor, selectedOptionColor, width, height, checkBoxColor, dropdownHeight, onChange, options, selectedValue, }: {
|
|
2
2
|
hoverColor?: string;
|
|
3
3
|
multipleSelection?: boolean;
|
|
4
4
|
xIconShow?: boolean;
|
|
@@ -8,6 +8,8 @@ export function QuickFilter({ hoverColor, multipleSelection, xIconShow, disabled
|
|
|
8
8
|
label?: string;
|
|
9
9
|
labelColor?: string;
|
|
10
10
|
placeHolder?: string;
|
|
11
|
+
optionHoverColor?: string;
|
|
12
|
+
selectedOptionColor?: string;
|
|
11
13
|
width?: string;
|
|
12
14
|
height?: string;
|
|
13
15
|
checkBoxColor?: string;
|
|
@@ -56,206 +56,225 @@ declare namespace _default {
|
|
|
56
56
|
}
|
|
57
57
|
export { control_3 as control };
|
|
58
58
|
}
|
|
59
|
-
namespace
|
|
59
|
+
namespace optionHoverColor {
|
|
60
60
|
const name_5: string;
|
|
61
61
|
export { name_5 as name };
|
|
62
62
|
const description_4: string;
|
|
63
63
|
export { description_4 as description };
|
|
64
64
|
}
|
|
65
|
-
namespace
|
|
65
|
+
namespace options {
|
|
66
66
|
const name_6: string;
|
|
67
67
|
export { name_6 as name };
|
|
68
68
|
const description_5: string;
|
|
69
69
|
export { description_5 as description };
|
|
70
70
|
}
|
|
71
|
-
namespace
|
|
71
|
+
namespace selectedValue {
|
|
72
72
|
const name_7: string;
|
|
73
73
|
export { name_7 as name };
|
|
74
|
-
export namespace type_5 {
|
|
75
|
-
const name_8: string;
|
|
76
|
-
export { name_8 as name };
|
|
77
|
-
}
|
|
78
|
-
export { type_5 as type };
|
|
79
74
|
const description_6: string;
|
|
80
75
|
export { description_6 as description };
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
|
|
76
|
+
}
|
|
77
|
+
namespace selectedOptionColor {
|
|
78
|
+
const name_8: string;
|
|
79
|
+
export { name_8 as name };
|
|
80
|
+
const description_7: string;
|
|
81
|
+
export { description_7 as description };
|
|
86
82
|
export namespace control_4 {
|
|
87
|
-
const
|
|
88
|
-
export {
|
|
83
|
+
const type_5: string;
|
|
84
|
+
export { type_5 as type };
|
|
85
|
+
const presetColors_3: string[];
|
|
86
|
+
export { presetColors_3 as presetColors };
|
|
89
87
|
}
|
|
90
88
|
export { control_4 as control };
|
|
91
89
|
}
|
|
92
|
-
namespace
|
|
90
|
+
namespace multipleSelection {
|
|
93
91
|
const name_9: string;
|
|
94
92
|
export { name_9 as name };
|
|
95
|
-
export namespace
|
|
93
|
+
export namespace type_6 {
|
|
96
94
|
const name_10: string;
|
|
97
95
|
export { name_10 as name };
|
|
98
96
|
}
|
|
99
|
-
export {
|
|
100
|
-
const
|
|
101
|
-
export {
|
|
102
|
-
export namespace
|
|
103
|
-
const
|
|
104
|
-
export {
|
|
97
|
+
export { type_6 as type };
|
|
98
|
+
const description_8: string;
|
|
99
|
+
export { description_8 as description };
|
|
100
|
+
export namespace defaultValue_1 {
|
|
101
|
+
const summary_1: boolean;
|
|
102
|
+
export { summary_1 as summary };
|
|
105
103
|
}
|
|
106
|
-
export {
|
|
104
|
+
export { defaultValue_1 as defaultValue };
|
|
107
105
|
export namespace control_5 {
|
|
108
|
-
const
|
|
109
|
-
export {
|
|
106
|
+
const type_7: string;
|
|
107
|
+
export { type_7 as type };
|
|
110
108
|
}
|
|
111
109
|
export { control_5 as control };
|
|
112
110
|
}
|
|
113
|
-
namespace
|
|
111
|
+
namespace placeHolder {
|
|
114
112
|
const name_11: string;
|
|
115
113
|
export { name_11 as name };
|
|
116
|
-
export namespace
|
|
114
|
+
export namespace type_8 {
|
|
117
115
|
const name_12: string;
|
|
118
116
|
export { name_12 as name };
|
|
119
117
|
}
|
|
120
|
-
export {
|
|
121
|
-
const
|
|
122
|
-
export {
|
|
123
|
-
export namespace
|
|
124
|
-
const
|
|
125
|
-
export {
|
|
118
|
+
export { type_8 as type };
|
|
119
|
+
const description_9: string;
|
|
120
|
+
export { description_9 as description };
|
|
121
|
+
export namespace defaultValue_2 {
|
|
122
|
+
const summary_2: string;
|
|
123
|
+
export { summary_2 as summary };
|
|
126
124
|
}
|
|
127
|
-
export {
|
|
125
|
+
export { defaultValue_2 as defaultValue };
|
|
128
126
|
export namespace control_6 {
|
|
129
|
-
const
|
|
130
|
-
export {
|
|
127
|
+
const type_9: string;
|
|
128
|
+
export { type_9 as type };
|
|
131
129
|
}
|
|
132
130
|
export { control_6 as control };
|
|
133
131
|
}
|
|
134
|
-
namespace
|
|
132
|
+
namespace width {
|
|
135
133
|
const name_13: string;
|
|
136
134
|
export { name_13 as name };
|
|
137
|
-
export namespace
|
|
135
|
+
export namespace type_10 {
|
|
138
136
|
const name_14: string;
|
|
139
137
|
export { name_14 as name };
|
|
140
138
|
}
|
|
141
|
-
export {
|
|
142
|
-
const
|
|
143
|
-
export {
|
|
144
|
-
export namespace
|
|
145
|
-
const
|
|
146
|
-
export {
|
|
139
|
+
export { type_10 as type };
|
|
140
|
+
const description_10: string;
|
|
141
|
+
export { description_10 as description };
|
|
142
|
+
export namespace defaultValue_3 {
|
|
143
|
+
const summary_3: string;
|
|
144
|
+
export { summary_3 as summary };
|
|
147
145
|
}
|
|
148
|
-
export {
|
|
146
|
+
export { defaultValue_3 as defaultValue };
|
|
149
147
|
export namespace control_7 {
|
|
150
|
-
const
|
|
151
|
-
export {
|
|
148
|
+
const type_11: string;
|
|
149
|
+
export { type_11 as type };
|
|
152
150
|
}
|
|
153
151
|
export { control_7 as control };
|
|
154
152
|
}
|
|
155
|
-
namespace
|
|
153
|
+
namespace disabled {
|
|
156
154
|
const name_15: string;
|
|
157
155
|
export { name_15 as name };
|
|
158
|
-
export namespace
|
|
156
|
+
export namespace type_12 {
|
|
159
157
|
const name_16: string;
|
|
160
158
|
export { name_16 as name };
|
|
161
159
|
}
|
|
162
|
-
export {
|
|
163
|
-
const
|
|
164
|
-
export {
|
|
165
|
-
export namespace
|
|
166
|
-
const
|
|
167
|
-
export {
|
|
160
|
+
export { type_12 as type };
|
|
161
|
+
const description_11: string;
|
|
162
|
+
export { description_11 as description };
|
|
163
|
+
export namespace defaultValue_4 {
|
|
164
|
+
const summary_4: boolean;
|
|
165
|
+
export { summary_4 as summary };
|
|
168
166
|
}
|
|
169
|
-
export {
|
|
167
|
+
export { defaultValue_4 as defaultValue };
|
|
170
168
|
export namespace control_8 {
|
|
171
|
-
const
|
|
172
|
-
export {
|
|
169
|
+
const type_13: string;
|
|
170
|
+
export { type_13 as type };
|
|
173
171
|
}
|
|
174
172
|
export { control_8 as control };
|
|
175
173
|
}
|
|
176
|
-
namespace
|
|
174
|
+
namespace error {
|
|
177
175
|
const name_17: string;
|
|
178
176
|
export { name_17 as name };
|
|
179
|
-
export namespace
|
|
177
|
+
export namespace type_14 {
|
|
180
178
|
const name_18: string;
|
|
181
179
|
export { name_18 as name };
|
|
182
180
|
}
|
|
183
|
-
export {
|
|
184
|
-
const
|
|
185
|
-
export {
|
|
186
|
-
export namespace
|
|
187
|
-
const
|
|
188
|
-
export {
|
|
181
|
+
export { type_14 as type };
|
|
182
|
+
const description_12: string;
|
|
183
|
+
export { description_12 as description };
|
|
184
|
+
export namespace defaultValue_5 {
|
|
185
|
+
const summary_5: boolean;
|
|
186
|
+
export { summary_5 as summary };
|
|
189
187
|
}
|
|
190
|
-
export {
|
|
188
|
+
export { defaultValue_5 as defaultValue };
|
|
191
189
|
export namespace control_9 {
|
|
192
|
-
const
|
|
193
|
-
export {
|
|
190
|
+
const type_15: string;
|
|
191
|
+
export { type_15 as type };
|
|
194
192
|
}
|
|
195
193
|
export { control_9 as control };
|
|
196
194
|
}
|
|
197
|
-
namespace
|
|
195
|
+
namespace errorMessage {
|
|
198
196
|
const name_19: string;
|
|
199
197
|
export { name_19 as name };
|
|
200
|
-
export namespace
|
|
198
|
+
export namespace type_16 {
|
|
201
199
|
const name_20: string;
|
|
202
200
|
export { name_20 as name };
|
|
203
201
|
}
|
|
204
|
-
export {
|
|
205
|
-
const
|
|
206
|
-
export {
|
|
207
|
-
export namespace
|
|
208
|
-
const
|
|
209
|
-
export {
|
|
202
|
+
export { type_16 as type };
|
|
203
|
+
const description_13: string;
|
|
204
|
+
export { description_13 as description };
|
|
205
|
+
export namespace defaultValue_6 {
|
|
206
|
+
const summary_6: string;
|
|
207
|
+
export { summary_6 as summary };
|
|
210
208
|
}
|
|
211
|
-
export {
|
|
209
|
+
export { defaultValue_6 as defaultValue };
|
|
212
210
|
export namespace control_10 {
|
|
213
|
-
const
|
|
214
|
-
export {
|
|
211
|
+
const type_17: string;
|
|
212
|
+
export { type_17 as type };
|
|
215
213
|
}
|
|
216
214
|
export { control_10 as control };
|
|
217
215
|
}
|
|
218
|
-
namespace
|
|
216
|
+
namespace xIconShow {
|
|
219
217
|
const name_21: string;
|
|
220
218
|
export { name_21 as name };
|
|
221
|
-
export namespace
|
|
219
|
+
export namespace type_18 {
|
|
222
220
|
const name_22: string;
|
|
223
221
|
export { name_22 as name };
|
|
224
222
|
}
|
|
225
|
-
export {
|
|
226
|
-
const
|
|
227
|
-
export {
|
|
228
|
-
export namespace
|
|
229
|
-
const
|
|
230
|
-
export {
|
|
223
|
+
export { type_18 as type };
|
|
224
|
+
const description_14: string;
|
|
225
|
+
export { description_14 as description };
|
|
226
|
+
export namespace defaultValue_7 {
|
|
227
|
+
const summary_7: boolean;
|
|
228
|
+
export { summary_7 as summary };
|
|
231
229
|
}
|
|
232
|
-
export {
|
|
230
|
+
export { defaultValue_7 as defaultValue };
|
|
233
231
|
export namespace control_11 {
|
|
234
|
-
const
|
|
235
|
-
export {
|
|
232
|
+
const type_19: string;
|
|
233
|
+
export { type_19 as type };
|
|
236
234
|
}
|
|
237
235
|
export { control_11 as control };
|
|
238
236
|
}
|
|
239
|
-
namespace
|
|
237
|
+
namespace onChange {
|
|
240
238
|
const name_23: string;
|
|
241
239
|
export { name_23 as name };
|
|
242
|
-
export namespace
|
|
240
|
+
export namespace type_20 {
|
|
243
241
|
const name_24: string;
|
|
244
242
|
export { name_24 as name };
|
|
245
243
|
}
|
|
246
|
-
export {
|
|
247
|
-
const
|
|
248
|
-
export {
|
|
244
|
+
export { type_20 as type };
|
|
245
|
+
const description_15: string;
|
|
246
|
+
export { description_15 as description };
|
|
247
|
+
export namespace defaultValue_8 {
|
|
248
|
+
const summary_8: string;
|
|
249
|
+
export { summary_8 as summary };
|
|
250
|
+
}
|
|
251
|
+
export { defaultValue_8 as defaultValue };
|
|
252
|
+
export namespace control_12 {
|
|
253
|
+
const type_21: any;
|
|
254
|
+
export { type_21 as type };
|
|
255
|
+
}
|
|
256
|
+
export { control_12 as control };
|
|
257
|
+
}
|
|
258
|
+
namespace dropdownHeight {
|
|
259
|
+
const name_25: string;
|
|
260
|
+
export { name_25 as name };
|
|
261
|
+
export namespace type_22 {
|
|
262
|
+
const name_26: string;
|
|
263
|
+
export { name_26 as name };
|
|
264
|
+
}
|
|
265
|
+
export { type_22 as type };
|
|
266
|
+
const description_16: string;
|
|
267
|
+
export { description_16 as description };
|
|
249
268
|
export namespace defaultValue_9 {
|
|
250
269
|
const summary_9: string;
|
|
251
270
|
export { summary_9 as summary };
|
|
252
271
|
}
|
|
253
272
|
export { defaultValue_9 as defaultValue };
|
|
254
|
-
export namespace
|
|
255
|
-
const
|
|
256
|
-
export {
|
|
273
|
+
export namespace control_13 {
|
|
274
|
+
const type_23: string;
|
|
275
|
+
export { type_23 as type };
|
|
257
276
|
}
|
|
258
|
-
export {
|
|
277
|
+
export { control_13 as control };
|
|
259
278
|
}
|
|
260
279
|
}
|
|
261
280
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function QuickFilterDropdownMultiSelection({ label, labelEmptyValue, options, selectedValue, placeHolder, onChange, required, disabled, width, height, error, errorMessage, labelColor, xIconShow, checkBoxColor, showLabelOnTop, dropdownHeight, }: {
|
|
1
|
+
export function QuickFilterDropdownMultiSelection({ label, labelEmptyValue, options, selectedValue, placeHolder, onChange, required, disabled, width, height, error, errorMessage, labelColor, optionHoverColor, xIconShow, checkBoxColor, showLabelOnTop, dropdownHeight, }: {
|
|
2
2
|
label: any;
|
|
3
3
|
labelEmptyValue: any;
|
|
4
4
|
options: any;
|
|
@@ -12,6 +12,7 @@ export function QuickFilterDropdownMultiSelection({ label, labelEmptyValue, opti
|
|
|
12
12
|
error: any;
|
|
13
13
|
errorMessage: any;
|
|
14
14
|
labelColor: any;
|
|
15
|
+
optionHoverColor?: string;
|
|
15
16
|
xIconShow: any;
|
|
16
17
|
checkBoxColor: any;
|
|
17
18
|
showLabelOnTop: any;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
export function QuickFilterDropdownSingle({ label, hoverColor, options, selectedValue, placeHolder, onChange, disabled, width, error, errorMessage, xIconShow, labelColor, showLabelOnTop, }: {
|
|
1
|
+
export function QuickFilterDropdownSingle({ label, hoverColor, options, selectedValue, placeHolder, optionHoverColor, selectedOptionColor, onChange, disabled, width, error, errorMessage, xIconShow, labelColor, showLabelOnTop, }: {
|
|
2
2
|
label: any;
|
|
3
3
|
hoverColor: any;
|
|
4
4
|
options: any;
|
|
5
5
|
selectedValue: any;
|
|
6
6
|
placeHolder: any;
|
|
7
|
+
optionHoverColor?: string;
|
|
8
|
+
selectedOptionColor?: string;
|
|
7
9
|
onChange: any;
|
|
8
10
|
disabled: any;
|
|
9
11
|
width: any;
|
|
@@ -19,6 +21,8 @@ export namespace QuickFilterDropdownSingle {
|
|
|
19
21
|
const label: PropTypes.Requireable<string>;
|
|
20
22
|
const labelColor: PropTypes.Requireable<string>;
|
|
21
23
|
const hoverColor: PropTypes.Requireable<string>;
|
|
24
|
+
const optionHoverColor: PropTypes.Requireable<string>;
|
|
25
|
+
const selectedOptionColor: PropTypes.Requireable<string>;
|
|
22
26
|
const width: PropTypes.Requireable<string>;
|
|
23
27
|
const disabled: PropTypes.Requireable<boolean>;
|
|
24
28
|
const error: PropTypes.Requireable<boolean>;
|
|
@@ -44,6 +48,10 @@ export namespace QuickFilterDropdownSingle {
|
|
|
44
48
|
export { labelColor_1 as labelColor };
|
|
45
49
|
const hoverColor_1: string;
|
|
46
50
|
export { hoverColor_1 as hoverColor };
|
|
51
|
+
const optionHoverColor_1: string;
|
|
52
|
+
export { optionHoverColor_1 as optionHoverColor };
|
|
53
|
+
const selectedOptionColor_1: string;
|
|
54
|
+
export { selectedOptionColor_1 as selectedOptionColor };
|
|
47
55
|
const width_1: string;
|
|
48
56
|
export { width_1 as width };
|
|
49
57
|
const disabled_1: boolean;
|
|
@@ -71,6 +71,30 @@ declare namespace _default {
|
|
|
71
71
|
export { description_5 as description };
|
|
72
72
|
export const action: string;
|
|
73
73
|
}
|
|
74
|
+
namespace onClear {
|
|
75
|
+
const name_6: string;
|
|
76
|
+
export { name_6 as name };
|
|
77
|
+
export namespace control_6 {
|
|
78
|
+
const type_6: string;
|
|
79
|
+
export { type_6 as type };
|
|
80
|
+
}
|
|
81
|
+
export { control_6 as control };
|
|
82
|
+
const description_6: string;
|
|
83
|
+
export { description_6 as description };
|
|
84
|
+
const action_1: string;
|
|
85
|
+
export { action_1 as action };
|
|
86
|
+
}
|
|
87
|
+
namespace clearTrigger {
|
|
88
|
+
const name_7: string;
|
|
89
|
+
export { name_7 as name };
|
|
90
|
+
export namespace control_7 {
|
|
91
|
+
const type_7: string;
|
|
92
|
+
export { type_7 as type };
|
|
93
|
+
}
|
|
94
|
+
export { control_7 as control };
|
|
95
|
+
const description_7: string;
|
|
96
|
+
export { description_7 as description };
|
|
97
|
+
}
|
|
74
98
|
}
|
|
75
99
|
}
|
|
76
100
|
export default _default;
|
|
@@ -90,4 +114,7 @@ export namespace Default {
|
|
|
90
114
|
export { onTyping_1 as onTyping };
|
|
91
115
|
}
|
|
92
116
|
}
|
|
117
|
+
export namespace WithClearButton {
|
|
118
|
+
function render(): import("react/jsx-runtime").JSX.Element;
|
|
119
|
+
}
|
|
93
120
|
import SearchInput from "./SearchInput";
|