@salutejs/plasma-sb-utils 0.231.0-next-sbcom.0 → 0.231.0

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.
Files changed (94) hide show
  1. package/lib/components/Attach/Attach.d.ts +248 -0
  2. package/lib/components/Attach/Attach.js +35 -0
  3. package/lib/components/Attach/Attach.js.map +1 -0
  4. package/lib/components/Attach/fixtures.d.ts +6 -0
  5. package/lib/components/Attach/fixtures.js +7 -0
  6. package/lib/components/Attach/fixtures.js.map +1 -0
  7. package/lib/components/Attach/index.d.ts +1 -0
  8. package/lib/components/Attach/index.js +2 -0
  9. package/lib/components/Attach/index.js.map +1 -0
  10. package/lib/components/Attach/meta.d.ts +243 -0
  11. package/lib/components/Attach/meta.js +150 -0
  12. package/lib/components/Attach/meta.js.map +1 -0
  13. package/lib/components/Attach/stories.d.ts +1 -0
  14. package/lib/components/Attach/stories.js +71 -0
  15. package/lib/components/Attach/stories.js.map +1 -0
  16. package/lib/components/Badge/Badge.d.ts +119 -0
  17. package/lib/components/Badge/Badge.js +40 -0
  18. package/lib/components/Badge/Badge.js.map +1 -0
  19. package/lib/components/Badge/fixtures.d.ts +3 -0
  20. package/lib/components/Badge/fixtures.js +7 -0
  21. package/lib/components/Badge/fixtures.js.map +1 -0
  22. package/lib/components/Badge/index.d.ts +1 -0
  23. package/lib/components/Badge/index.js +2 -0
  24. package/lib/components/Badge/index.js.map +1 -0
  25. package/lib/components/Badge/meta.d.ts +114 -0
  26. package/lib/components/Badge/meta.js +67 -0
  27. package/lib/components/Badge/meta.js.map +1 -0
  28. package/lib/components/Badge/stories.d.ts +1 -0
  29. package/lib/components/Badge/stories.js +34 -0
  30. package/lib/components/Badge/stories.js.map +1 -0
  31. package/lib/components/Button/Button.d.ts +50 -4
  32. package/lib/components/Button/meta.d.ts +50 -4
  33. package/lib/components/Button/meta.js +25 -6
  34. package/lib/components/Button/meta.js.map +1 -1
  35. package/lib/components/Chip/meta.js +1 -1
  36. package/lib/components/Chip/meta.js.map +1 -1
  37. package/lib/components/CodeField/CodeField.d.ts +156 -0
  38. package/lib/components/CodeField/CodeField.js +40 -0
  39. package/lib/components/CodeField/CodeField.js.map +1 -0
  40. package/lib/components/CodeField/fixtures.d.ts +6 -0
  41. package/lib/components/CodeField/fixtures.js +7 -0
  42. package/lib/components/CodeField/fixtures.js.map +1 -0
  43. package/lib/components/CodeField/index.d.ts +1 -0
  44. package/lib/components/CodeField/index.js +2 -0
  45. package/lib/components/CodeField/index.js.map +1 -0
  46. package/lib/components/CodeField/meta.d.ts +151 -0
  47. package/lib/components/CodeField/meta.js +84 -0
  48. package/lib/components/CodeField/meta.js.map +1 -0
  49. package/lib/components/CodeField/stories.d.ts +1 -0
  50. package/lib/components/CodeField/stories.js +38 -0
  51. package/lib/components/CodeField/stories.js.map +1 -0
  52. package/lib/components/CodeInput/CodeInput.d.ts +147 -0
  53. package/lib/components/CodeInput/CodeInput.js +40 -0
  54. package/lib/components/CodeInput/CodeInput.js.map +1 -0
  55. package/lib/components/CodeInput/fixtures.d.ts +5 -0
  56. package/lib/components/CodeInput/fixtures.js +6 -0
  57. package/lib/components/CodeInput/fixtures.js.map +1 -0
  58. package/lib/components/CodeInput/index.d.ts +1 -0
  59. package/lib/components/CodeInput/index.js +2 -0
  60. package/lib/components/CodeInput/index.js.map +1 -0
  61. package/lib/components/CodeInput/meta.d.ts +142 -0
  62. package/lib/components/CodeInput/meta.js +80 -0
  63. package/lib/components/CodeInput/meta.js.map +1 -0
  64. package/lib/components/CodeInput/stories.d.ts +1 -0
  65. package/lib/components/CodeInput/stories.js +38 -0
  66. package/lib/components/CodeInput/stories.js.map +1 -0
  67. package/lib/components/DatePicker/DatePicker.d.ts +443 -2
  68. package/lib/components/DatePicker/meta.d.ts +443 -2
  69. package/lib/components/DatePicker/meta.js +176 -154
  70. package/lib/components/DatePicker/meta.js.map +1 -1
  71. package/lib/components/DatePicker/stories.js +3 -0
  72. package/lib/components/DatePicker/stories.js.map +1 -1
  73. package/lib/components/DateTimePicker/stories.d.ts +1 -1
  74. package/lib/components/DateTimePicker/stories.js +2 -2
  75. package/lib/components/DateTimePicker/stories.js.map +1 -1
  76. package/lib/components/Range/stories.js +2 -0
  77. package/lib/components/Range/stories.js.map +1 -1
  78. package/lib/components/Steps/Steps.js +1 -4
  79. package/lib/components/Steps/Steps.js.map +1 -1
  80. package/lib/components/TextField/TextField.d.ts +143 -0
  81. package/lib/components/TextField/meta.d.ts +143 -0
  82. package/lib/components/TextField/meta.js +69 -45
  83. package/lib/components/TextField/meta.js.map +1 -1
  84. package/lib/components/TimePicker/TimePicker.d.ts +20 -0
  85. package/lib/components/TimePicker/fixtures.d.ts +1 -0
  86. package/lib/components/TimePicker/fixtures.js +1 -0
  87. package/lib/components/TimePicker/fixtures.js.map +1 -1
  88. package/lib/components/TimePicker/meta.d.ts +20 -0
  89. package/lib/components/TimePicker/meta.js +10 -2
  90. package/lib/components/TimePicker/meta.js.map +1 -1
  91. package/lib/components/index.d.ts +4 -0
  92. package/lib/components/index.js +4 -0
  93. package/lib/components/index.js.map +1 -1
  94. package/package.json +4 -4
@@ -58,7 +58,227 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
58
58
  placement: string;
59
59
  disableFlip: boolean;
60
60
  };
61
- argTypes: any;
61
+ argTypes: {
62
+ defaultDate: {
63
+ control: {
64
+ type: string;
65
+ };
66
+ };
67
+ labelPlacement: {
68
+ options: string[];
69
+ control: {
70
+ type: string;
71
+ };
72
+ };
73
+ inputView: {
74
+ options: string[];
75
+ control: {
76
+ type: string;
77
+ };
78
+ };
79
+ placement: {
80
+ options: string[];
81
+ control: {
82
+ type: string;
83
+ };
84
+ table: {
85
+ category: string;
86
+ };
87
+ };
88
+ appearance: {
89
+ options: string[];
90
+ control: {
91
+ type: string;
92
+ };
93
+ };
94
+ hasClearDivider: {
95
+ control: {
96
+ type: string;
97
+ };
98
+ if: {
99
+ arg: string;
100
+ eq: string;
101
+ };
102
+ };
103
+ view: {
104
+ options: any;
105
+ control: {
106
+ type: string;
107
+ };
108
+ };
109
+ size: {
110
+ options: any;
111
+ control: {
112
+ type: string;
113
+ };
114
+ };
115
+ min: {
116
+ control: {
117
+ type: string;
118
+ };
119
+ };
120
+ max: {
121
+ control: {
122
+ type: string;
123
+ };
124
+ };
125
+ includeEdgeDates: {
126
+ control: {
127
+ type: string;
128
+ };
129
+ };
130
+ renderFromDate: {
131
+ control: {
132
+ type: string;
133
+ };
134
+ };
135
+ lang: {
136
+ options: string[];
137
+ control: {
138
+ type: string;
139
+ };
140
+ };
141
+ requiredPlacement: {
142
+ options: string[];
143
+ control: {
144
+ type: string;
145
+ };
146
+ if: {
147
+ arg: string;
148
+ truthy: boolean;
149
+ };
150
+ };
151
+ hasRequiredIndicator: {
152
+ control: {
153
+ type: string;
154
+ };
155
+ if: {
156
+ arg: string;
157
+ truthy: boolean;
158
+ };
159
+ };
160
+ format: {
161
+ options: string[];
162
+ control: {
163
+ type: string;
164
+ };
165
+ };
166
+ eventTooltipSize: {
167
+ options: string[];
168
+ control: {
169
+ type: string;
170
+ };
171
+ if: {
172
+ arg: string;
173
+ truthy: boolean;
174
+ };
175
+ };
176
+ hintText: {
177
+ control: {
178
+ type: string;
179
+ };
180
+ if: {
181
+ arg: string;
182
+ truthy: boolean;
183
+ };
184
+ };
185
+ hintView: {
186
+ options: string[];
187
+ control: {
188
+ type: string;
189
+ };
190
+ if: {
191
+ arg: string;
192
+ truthy: boolean;
193
+ };
194
+ };
195
+ hintSize: {
196
+ options: string[];
197
+ control: {
198
+ type: string;
199
+ };
200
+ if: {
201
+ arg: string;
202
+ truthy: boolean;
203
+ };
204
+ };
205
+ hintTargetPlacement: {
206
+ options: string[];
207
+ control: {
208
+ type: string;
209
+ };
210
+ if: {
211
+ arg: string;
212
+ truthy: boolean;
213
+ };
214
+ };
215
+ hintTrigger: {
216
+ options: string[];
217
+ control: {
218
+ type: string;
219
+ };
220
+ if: {
221
+ arg: string;
222
+ truthy: boolean;
223
+ };
224
+ };
225
+ hintPlacement: {
226
+ options: string[];
227
+ control: {
228
+ type: string;
229
+ };
230
+ if: {
231
+ arg: string;
232
+ truthy: boolean;
233
+ };
234
+ mappers: string[];
235
+ };
236
+ hintHasArrow: {
237
+ control: {
238
+ type: string;
239
+ };
240
+ if: {
241
+ arg: string;
242
+ truthy: boolean;
243
+ };
244
+ };
245
+ hintWidth: {
246
+ control: {
247
+ type: string;
248
+ };
249
+ if: {
250
+ arg: string;
251
+ truthy: boolean;
252
+ };
253
+ };
254
+ shortcutsWidth: {
255
+ control: {
256
+ type: string;
257
+ };
258
+ if: {
259
+ arg: string;
260
+ truthy: boolean;
261
+ };
262
+ };
263
+ shortcutsPlacement: {
264
+ options: string[];
265
+ control: {
266
+ type: string;
267
+ };
268
+ if: {
269
+ arg: string;
270
+ truthy: boolean;
271
+ };
272
+ };
273
+ disableFlip: {
274
+ control: {
275
+ type: string;
276
+ };
277
+ table: {
278
+ category: string;
279
+ };
280
+ };
281
+ };
62
282
  };
63
283
  export declare const createRangeMeta: ({ component, componentConfig, title, defaultArgs, additionalArgTypes, disablePropsList, }: CreateMetaProps) => {
64
284
  title: string;
@@ -121,6 +341,227 @@ export declare const createRangeMeta: ({ component, componentConfig, title, defa
121
341
  placement: string;
122
342
  disableFlip: boolean;
123
343
  };
124
- argTypes: any;
344
+ argTypes: {
345
+ dividerVariant: {
346
+ options: string[];
347
+ control: {
348
+ type: string;
349
+ };
350
+ };
351
+ firstInputView: {
352
+ options: string[];
353
+ control: {
354
+ type: string;
355
+ };
356
+ };
357
+ secondInputView: {
358
+ options: string[];
359
+ control: {
360
+ type: string;
361
+ };
362
+ };
363
+ placement: {
364
+ options: string[];
365
+ control: {
366
+ type: string;
367
+ };
368
+ table: {
369
+ category: string;
370
+ };
371
+ };
372
+ appearance: {
373
+ options: string[];
374
+ control: {
375
+ type: string;
376
+ };
377
+ };
378
+ hasClearDivider: {
379
+ control: {
380
+ type: string;
381
+ };
382
+ if: {
383
+ arg: string;
384
+ eq: string;
385
+ };
386
+ };
387
+ view: {
388
+ options: any;
389
+ control: {
390
+ type: string;
391
+ };
392
+ };
393
+ size: {
394
+ options: any;
395
+ control: {
396
+ type: string;
397
+ };
398
+ };
399
+ min: {
400
+ control: {
401
+ type: string;
402
+ };
403
+ };
404
+ max: {
405
+ control: {
406
+ type: string;
407
+ };
408
+ };
409
+ includeEdgeDates: {
410
+ control: {
411
+ type: string;
412
+ };
413
+ };
414
+ renderFromDate: {
415
+ control: {
416
+ type: string;
417
+ };
418
+ };
419
+ lang: {
420
+ options: string[];
421
+ control: {
422
+ type: string;
423
+ };
424
+ };
425
+ requiredPlacement: {
426
+ options: string[];
427
+ control: {
428
+ type: string;
429
+ };
430
+ if: {
431
+ arg: string;
432
+ truthy: boolean;
433
+ };
434
+ };
435
+ hasRequiredIndicator: {
436
+ control: {
437
+ type: string;
438
+ };
439
+ if: {
440
+ arg: string;
441
+ truthy: boolean;
442
+ };
443
+ };
444
+ format: {
445
+ options: string[];
446
+ control: {
447
+ type: string;
448
+ };
449
+ };
450
+ eventTooltipSize: {
451
+ options: string[];
452
+ control: {
453
+ type: string;
454
+ };
455
+ if: {
456
+ arg: string;
457
+ truthy: boolean;
458
+ };
459
+ };
460
+ hintText: {
461
+ control: {
462
+ type: string;
463
+ };
464
+ if: {
465
+ arg: string;
466
+ truthy: boolean;
467
+ };
468
+ };
469
+ hintView: {
470
+ options: string[];
471
+ control: {
472
+ type: string;
473
+ };
474
+ if: {
475
+ arg: string;
476
+ truthy: boolean;
477
+ };
478
+ };
479
+ hintSize: {
480
+ options: string[];
481
+ control: {
482
+ type: string;
483
+ };
484
+ if: {
485
+ arg: string;
486
+ truthy: boolean;
487
+ };
488
+ };
489
+ hintTargetPlacement: {
490
+ options: string[];
491
+ control: {
492
+ type: string;
493
+ };
494
+ if: {
495
+ arg: string;
496
+ truthy: boolean;
497
+ };
498
+ };
499
+ hintTrigger: {
500
+ options: string[];
501
+ control: {
502
+ type: string;
503
+ };
504
+ if: {
505
+ arg: string;
506
+ truthy: boolean;
507
+ };
508
+ };
509
+ hintPlacement: {
510
+ options: string[];
511
+ control: {
512
+ type: string;
513
+ };
514
+ if: {
515
+ arg: string;
516
+ truthy: boolean;
517
+ };
518
+ mappers: string[];
519
+ };
520
+ hintHasArrow: {
521
+ control: {
522
+ type: string;
523
+ };
524
+ if: {
525
+ arg: string;
526
+ truthy: boolean;
527
+ };
528
+ };
529
+ hintWidth: {
530
+ control: {
531
+ type: string;
532
+ };
533
+ if: {
534
+ arg: string;
535
+ truthy: boolean;
536
+ };
537
+ };
538
+ shortcutsWidth: {
539
+ control: {
540
+ type: string;
541
+ };
542
+ if: {
543
+ arg: string;
544
+ truthy: boolean;
545
+ };
546
+ };
547
+ shortcutsPlacement: {
548
+ options: string[];
549
+ control: {
550
+ type: string;
551
+ };
552
+ if: {
553
+ arg: string;
554
+ truthy: boolean;
555
+ };
556
+ };
557
+ disableFlip: {
558
+ control: {
559
+ type: string;
560
+ };
561
+ table: {
562
+ category: string;
563
+ };
564
+ };
565
+ };
125
566
  };
126
567
  export {};