sag_components 2.0.0-beta269 → 2.0.0-beta270
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 +5 -1
- package/dist/index.esm.js +84 -74
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +84 -74
- package/dist/index.js.map +1 -1
- package/dist/types/components/Input/Input.d.ts +5 -1
- package/dist/types/components/Input/Input.stories.d.ts +93 -72
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default Input;
|
|
2
|
-
declare function Input({ label, labelEmptyValue, size, selectedValue, placeHolder, inputType, onChange, onClick, onBlur, required, disabled, isDarkerBackground, width, height, error, errorMessage, labelColor, leftIcon, rightIcon, password, leftIconOnClick, rightIconOnClick, multiline, rows, maxLength, regex, onKeyDown, }: {
|
|
2
|
+
declare function Input({ label, labelEmptyValue, size, selectedValue, placeHolder, inputType, onChange, onClick, onBlur, required, disabled, isDarkerBackground, width, minWidth, height, error, errorMessage, labelColor, leftIcon, rightIcon, password, leftIconOnClick, rightIconOnClick, multiline, rows, maxLength, regex, onKeyDown, }: {
|
|
3
3
|
label: any;
|
|
4
4
|
labelEmptyValue: any;
|
|
5
5
|
size: any;
|
|
@@ -13,6 +13,7 @@ declare function Input({ label, labelEmptyValue, size, selectedValue, placeHolde
|
|
|
13
13
|
disabled: any;
|
|
14
14
|
isDarkerBackground?: boolean;
|
|
15
15
|
width: any;
|
|
16
|
+
minWidth: any;
|
|
16
17
|
height?: string;
|
|
17
18
|
error: any;
|
|
18
19
|
errorMessage: any;
|
|
@@ -37,6 +38,7 @@ declare namespace Input {
|
|
|
37
38
|
const labelColor: PropTypes.Requireable<string>;
|
|
38
39
|
const required: PropTypes.Requireable<boolean>;
|
|
39
40
|
const width: PropTypes.Requireable<string>;
|
|
41
|
+
const minWidth: PropTypes.Requireable<string>;
|
|
40
42
|
const disabled: PropTypes.Requireable<boolean>;
|
|
41
43
|
const error: PropTypes.Requireable<boolean>;
|
|
42
44
|
const errorMessage: PropTypes.Requireable<string>;
|
|
@@ -70,6 +72,8 @@ declare namespace Input {
|
|
|
70
72
|
export { required_1 as required };
|
|
71
73
|
const width_1: string;
|
|
72
74
|
export { width_1 as width };
|
|
75
|
+
const minWidth_1: string;
|
|
76
|
+
export { minWidth_1 as minWidth };
|
|
73
77
|
const disabled_1: boolean;
|
|
74
78
|
export { disabled_1 as disabled };
|
|
75
79
|
const error_1: boolean;
|
|
@@ -104,40 +104,40 @@ declare namespace _default {
|
|
|
104
104
|
}
|
|
105
105
|
export { control_5 as control };
|
|
106
106
|
}
|
|
107
|
-
namespace
|
|
107
|
+
namespace minWidth {
|
|
108
108
|
const name_10: string;
|
|
109
109
|
export { name_10 as name };
|
|
110
|
+
export namespace type_10 {
|
|
111
|
+
const name_11: string;
|
|
112
|
+
export { name_11 as name };
|
|
113
|
+
}
|
|
114
|
+
export { type_10 as type };
|
|
110
115
|
const description_5: string;
|
|
111
116
|
export { description_5 as description };
|
|
117
|
+
export namespace defaultValue_4 {
|
|
118
|
+
const summary_4: string;
|
|
119
|
+
export { summary_4 as summary };
|
|
120
|
+
}
|
|
121
|
+
export { defaultValue_4 as defaultValue };
|
|
112
122
|
export namespace control_6 {
|
|
113
|
-
const
|
|
114
|
-
export {
|
|
115
|
-
export const presetColors: string[];
|
|
123
|
+
const type_11: string;
|
|
124
|
+
export { type_11 as type };
|
|
116
125
|
}
|
|
117
126
|
export { control_6 as control };
|
|
118
127
|
}
|
|
119
|
-
namespace
|
|
120
|
-
const
|
|
121
|
-
export {
|
|
122
|
-
export namespace type_11 {
|
|
123
|
-
const name_12: string;
|
|
124
|
-
export { name_12 as name };
|
|
125
|
-
}
|
|
126
|
-
export { type_11 as type };
|
|
128
|
+
namespace labelColor {
|
|
129
|
+
const name_12: string;
|
|
130
|
+
export { name_12 as name };
|
|
127
131
|
const description_6: string;
|
|
128
132
|
export { description_6 as description };
|
|
129
|
-
export namespace defaultValue_4 {
|
|
130
|
-
const summary_4: boolean;
|
|
131
|
-
export { summary_4 as summary };
|
|
132
|
-
}
|
|
133
|
-
export { defaultValue_4 as defaultValue };
|
|
134
133
|
export namespace control_7 {
|
|
135
134
|
const type_12: string;
|
|
136
135
|
export { type_12 as type };
|
|
136
|
+
export const presetColors: string[];
|
|
137
137
|
}
|
|
138
138
|
export { control_7 as control };
|
|
139
139
|
}
|
|
140
|
-
namespace
|
|
140
|
+
namespace required {
|
|
141
141
|
const name_13: string;
|
|
142
142
|
export { name_13 as name };
|
|
143
143
|
export namespace type_13 {
|
|
@@ -158,7 +158,7 @@ declare namespace _default {
|
|
|
158
158
|
}
|
|
159
159
|
export { control_8 as control };
|
|
160
160
|
}
|
|
161
|
-
namespace
|
|
161
|
+
namespace disabled {
|
|
162
162
|
const name_15: string;
|
|
163
163
|
export { name_15 as name };
|
|
164
164
|
export namespace type_15 {
|
|
@@ -179,7 +179,7 @@ declare namespace _default {
|
|
|
179
179
|
}
|
|
180
180
|
export { control_9 as control };
|
|
181
181
|
}
|
|
182
|
-
namespace
|
|
182
|
+
namespace isDarkerBackground {
|
|
183
183
|
const name_17: string;
|
|
184
184
|
export { name_17 as name };
|
|
185
185
|
export namespace type_17 {
|
|
@@ -200,7 +200,7 @@ declare namespace _default {
|
|
|
200
200
|
}
|
|
201
201
|
export { control_10 as control };
|
|
202
202
|
}
|
|
203
|
-
namespace
|
|
203
|
+
namespace error {
|
|
204
204
|
const name_19: string;
|
|
205
205
|
export { name_19 as name };
|
|
206
206
|
export namespace type_19 {
|
|
@@ -211,7 +211,7 @@ declare namespace _default {
|
|
|
211
211
|
const description_10: string;
|
|
212
212
|
export { description_10 as description };
|
|
213
213
|
export namespace defaultValue_8 {
|
|
214
|
-
const summary_8:
|
|
214
|
+
const summary_8: boolean;
|
|
215
215
|
export { summary_8 as summary };
|
|
216
216
|
}
|
|
217
217
|
export { defaultValue_8 as defaultValue };
|
|
@@ -221,7 +221,7 @@ declare namespace _default {
|
|
|
221
221
|
}
|
|
222
222
|
export { control_11 as control };
|
|
223
223
|
}
|
|
224
|
-
namespace
|
|
224
|
+
namespace errorMessage {
|
|
225
225
|
const name_21: string;
|
|
226
226
|
export { name_21 as name };
|
|
227
227
|
export namespace type_21 {
|
|
@@ -232,7 +232,7 @@ declare namespace _default {
|
|
|
232
232
|
const description_11: string;
|
|
233
233
|
export { description_11 as description };
|
|
234
234
|
export namespace defaultValue_9 {
|
|
235
|
-
const summary_9:
|
|
235
|
+
const summary_9: string;
|
|
236
236
|
export { summary_9 as summary };
|
|
237
237
|
}
|
|
238
238
|
export { defaultValue_9 as defaultValue };
|
|
@@ -242,52 +242,52 @@ declare namespace _default {
|
|
|
242
242
|
}
|
|
243
243
|
export { control_12 as control };
|
|
244
244
|
}
|
|
245
|
-
namespace
|
|
245
|
+
namespace password {
|
|
246
246
|
const name_23: string;
|
|
247
247
|
export { name_23 as name };
|
|
248
|
-
export
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
export { type_23 as type };
|
|
248
|
+
export namespace type_23 {
|
|
249
|
+
const name_24: string;
|
|
250
|
+
export { name_24 as name };
|
|
252
251
|
}
|
|
253
|
-
export {
|
|
252
|
+
export { type_23 as type };
|
|
254
253
|
const description_12: string;
|
|
255
254
|
export { description_12 as description };
|
|
255
|
+
export namespace defaultValue_10 {
|
|
256
|
+
const summary_10: boolean;
|
|
257
|
+
export { summary_10 as summary };
|
|
258
|
+
}
|
|
259
|
+
export { defaultValue_10 as defaultValue };
|
|
260
|
+
export namespace control_13 {
|
|
261
|
+
const type_24: string;
|
|
262
|
+
export { type_24 as type };
|
|
263
|
+
}
|
|
264
|
+
export { control_13 as control };
|
|
256
265
|
}
|
|
257
|
-
namespace
|
|
258
|
-
const
|
|
259
|
-
export {
|
|
266
|
+
namespace leftIcon {
|
|
267
|
+
const name_25: string;
|
|
268
|
+
export { name_25 as name };
|
|
260
269
|
export { iconsList as options };
|
|
261
270
|
export namespace control_14 {
|
|
262
|
-
const
|
|
263
|
-
export {
|
|
271
|
+
const type_25: string;
|
|
272
|
+
export { type_25 as type };
|
|
264
273
|
}
|
|
265
274
|
export { control_14 as control };
|
|
266
275
|
const description_13: string;
|
|
267
276
|
export { description_13 as description };
|
|
268
277
|
}
|
|
269
|
-
namespace
|
|
270
|
-
const
|
|
271
|
-
export {
|
|
272
|
-
export
|
|
273
|
-
const name_26: string;
|
|
274
|
-
export { name_26 as name };
|
|
275
|
-
}
|
|
276
|
-
export { type_25 as type };
|
|
277
|
-
const description_14: string;
|
|
278
|
-
export { description_14 as description };
|
|
279
|
-
export namespace defaultValue_10 {
|
|
280
|
-
const summary_10: boolean;
|
|
281
|
-
export { summary_10 as summary };
|
|
282
|
-
}
|
|
283
|
-
export { defaultValue_10 as defaultValue };
|
|
278
|
+
namespace rightIcon {
|
|
279
|
+
const name_26: string;
|
|
280
|
+
export { name_26 as name };
|
|
281
|
+
export { iconsList as options };
|
|
284
282
|
export namespace control_15 {
|
|
285
283
|
const type_26: string;
|
|
286
284
|
export { type_26 as type };
|
|
287
285
|
}
|
|
288
286
|
export { control_15 as control };
|
|
287
|
+
const description_14: string;
|
|
288
|
+
export { description_14 as description };
|
|
289
289
|
}
|
|
290
|
-
namespace
|
|
290
|
+
namespace multiline {
|
|
291
291
|
const name_27: string;
|
|
292
292
|
export { name_27 as name };
|
|
293
293
|
export namespace type_27 {
|
|
@@ -298,19 +298,17 @@ declare namespace _default {
|
|
|
298
298
|
const description_15: string;
|
|
299
299
|
export { description_15 as description };
|
|
300
300
|
export namespace defaultValue_11 {
|
|
301
|
-
const summary_11:
|
|
301
|
+
const summary_11: boolean;
|
|
302
302
|
export { summary_11 as summary };
|
|
303
303
|
}
|
|
304
304
|
export { defaultValue_11 as defaultValue };
|
|
305
305
|
export namespace control_16 {
|
|
306
306
|
const type_28: string;
|
|
307
307
|
export { type_28 as type };
|
|
308
|
-
export const min: number;
|
|
309
|
-
export const max: number;
|
|
310
308
|
}
|
|
311
309
|
export { control_16 as control };
|
|
312
310
|
}
|
|
313
|
-
namespace
|
|
311
|
+
namespace rows {
|
|
314
312
|
const name_29: string;
|
|
315
313
|
export { name_29 as name };
|
|
316
314
|
export namespace type_29 {
|
|
@@ -320,46 +318,69 @@ declare namespace _default {
|
|
|
320
318
|
export { type_29 as type };
|
|
321
319
|
const description_16: string;
|
|
322
320
|
export { description_16 as description };
|
|
321
|
+
export namespace defaultValue_12 {
|
|
322
|
+
const summary_12: number;
|
|
323
|
+
export { summary_12 as summary };
|
|
324
|
+
}
|
|
325
|
+
export { defaultValue_12 as defaultValue };
|
|
323
326
|
export namespace control_17 {
|
|
324
327
|
const type_30: string;
|
|
325
328
|
export { type_30 as type };
|
|
329
|
+
export const min: number;
|
|
330
|
+
export const max: number;
|
|
331
|
+
}
|
|
332
|
+
export { control_17 as control };
|
|
333
|
+
}
|
|
334
|
+
namespace maxLength {
|
|
335
|
+
const name_31: string;
|
|
336
|
+
export { name_31 as name };
|
|
337
|
+
export namespace type_31 {
|
|
338
|
+
const name_32: string;
|
|
339
|
+
export { name_32 as name };
|
|
340
|
+
}
|
|
341
|
+
export { type_31 as type };
|
|
342
|
+
const description_17: string;
|
|
343
|
+
export { description_17 as description };
|
|
344
|
+
export namespace control_18 {
|
|
345
|
+
const type_32: string;
|
|
346
|
+
export { type_32 as type };
|
|
326
347
|
const min_1: number;
|
|
327
348
|
export { min_1 as min };
|
|
328
349
|
const max_1: number;
|
|
329
350
|
export { max_1 as max };
|
|
330
351
|
}
|
|
331
|
-
export {
|
|
352
|
+
export { control_18 as control };
|
|
332
353
|
}
|
|
333
354
|
namespace leftIconOnClick {
|
|
334
|
-
const
|
|
335
|
-
export {
|
|
355
|
+
const name_33: string;
|
|
356
|
+
export { name_33 as name };
|
|
336
357
|
export const action: string;
|
|
337
|
-
const
|
|
338
|
-
export {
|
|
358
|
+
const description_18: string;
|
|
359
|
+
export { description_18 as description };
|
|
339
360
|
}
|
|
340
361
|
namespace rightIconOnClick {
|
|
341
|
-
const
|
|
342
|
-
export {
|
|
362
|
+
const name_34: string;
|
|
363
|
+
export { name_34 as name };
|
|
343
364
|
const action_1: string;
|
|
344
365
|
export { action_1 as action };
|
|
345
|
-
const
|
|
346
|
-
export {
|
|
366
|
+
const description_19: string;
|
|
367
|
+
export { description_19 as description };
|
|
347
368
|
}
|
|
348
369
|
namespace onChange {
|
|
349
|
-
const
|
|
350
|
-
export {
|
|
370
|
+
const name_35: string;
|
|
371
|
+
export { name_35 as name };
|
|
351
372
|
const action_2: string;
|
|
352
373
|
export { action_2 as action };
|
|
353
|
-
const
|
|
354
|
-
export {
|
|
374
|
+
const description_20: string;
|
|
375
|
+
export { description_20 as description };
|
|
355
376
|
}
|
|
356
377
|
namespace onBlur {
|
|
357
|
-
const
|
|
358
|
-
export {
|
|
378
|
+
const name_36: string;
|
|
379
|
+
export { name_36 as name };
|
|
359
380
|
const action_3: string;
|
|
360
381
|
export { action_3 as action };
|
|
361
|
-
const
|
|
362
|
-
export {
|
|
382
|
+
const description_21: string;
|
|
383
|
+
export { description_21 as description };
|
|
363
384
|
}
|
|
364
385
|
}
|
|
365
386
|
}
|