@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
@@ -12,6 +12,11 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
12
12
  meta: {
13
13
  title: string;
14
14
  decorators: import("@storybook/react").Decorator[];
15
+ parameters: {
16
+ controls: {
17
+ disableSaveFromUI: boolean;
18
+ };
19
+ };
15
20
  component: any;
16
21
  args: {
17
22
  id: string;
@@ -53,18 +58,27 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
53
58
  control: {
54
59
  type: string;
55
60
  };
61
+ table: {
62
+ category: string;
63
+ };
56
64
  };
57
65
  size: {
58
66
  options: any;
59
67
  control: {
60
68
  type: string;
61
69
  };
70
+ table: {
71
+ category: string;
72
+ };
62
73
  };
63
74
  appearance: {
64
75
  options: string[];
65
76
  control: {
66
77
  type: string;
67
78
  };
79
+ table: {
80
+ category: string;
81
+ };
68
82
  };
69
83
  hasDivider: {
70
84
  control: {
@@ -74,6 +88,25 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
74
88
  arg: string;
75
89
  eq: string;
76
90
  };
91
+ table: {
92
+ category: string;
93
+ };
94
+ };
95
+ disabled: {
96
+ control: {
97
+ type: string;
98
+ };
99
+ table: {
100
+ category: string;
101
+ };
102
+ };
103
+ readOnly: {
104
+ control: {
105
+ type: string;
106
+ };
107
+ table: {
108
+ category: string;
109
+ };
77
110
  };
78
111
  requiredPlacement: {
79
112
  options: string[];
@@ -84,6 +117,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
84
117
  arg: string;
85
118
  truthy: boolean;
86
119
  };
120
+ table: {
121
+ category: string;
122
+ };
87
123
  };
88
124
  required: {
89
125
  control: {
@@ -93,6 +129,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
93
129
  arg: string;
94
130
  truthy: boolean;
95
131
  };
132
+ table: {
133
+ category: string;
134
+ };
96
135
  };
97
136
  hasRequiredIndicator: {
98
137
  control: {
@@ -102,6 +141,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
102
141
  arg: string;
103
142
  truthy: boolean;
104
143
  };
144
+ table: {
145
+ category: string;
146
+ };
105
147
  };
106
148
  optional: {
107
149
  control: {
@@ -111,6 +153,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
111
153
  arg: string;
112
154
  truthy: boolean;
113
155
  };
156
+ table: {
157
+ category: string;
158
+ };
114
159
  };
115
160
  optionalText: {
116
161
  control: {
@@ -120,17 +165,74 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
120
165
  arg: string;
121
166
  truthy: boolean;
122
167
  };
168
+ table: {
169
+ category: string;
170
+ };
171
+ };
172
+ label: {
173
+ control: {
174
+ type: string;
175
+ };
176
+ table: {
177
+ category: string;
178
+ };
179
+ };
180
+ placeholder: {
181
+ control: {
182
+ type: string;
183
+ };
184
+ table: {
185
+ category: string;
186
+ };
187
+ };
188
+ textBefore: {
189
+ control: {
190
+ type: string;
191
+ };
192
+ table: {
193
+ category: string;
194
+ };
195
+ };
196
+ textAfter: {
197
+ control: {
198
+ type: string;
199
+ };
200
+ table: {
201
+ category: string;
202
+ };
203
+ };
204
+ enableContentLeft: {
205
+ control: {
206
+ type: string;
207
+ };
208
+ table: {
209
+ category: string;
210
+ };
211
+ };
212
+ enableContentRight: {
213
+ control: {
214
+ type: string;
215
+ };
216
+ table: {
217
+ category: string;
218
+ };
123
219
  };
124
220
  maxLength: {
125
221
  control: {
126
222
  type: string;
127
223
  };
224
+ table: {
225
+ category: string;
226
+ };
128
227
  };
129
228
  labelPlacement: {
130
229
  options: string[];
131
230
  control: {
132
231
  type: string;
133
232
  };
233
+ table: {
234
+ category: string;
235
+ };
134
236
  };
135
237
  keepPlaceholder: {
136
238
  control: {
@@ -140,16 +242,33 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
140
242
  arg: string;
141
243
  eq: string;
142
244
  };
245
+ table: {
246
+ category: string;
247
+ };
143
248
  };
144
249
  titleCaption: {
145
250
  control: {
146
251
  type: string;
147
252
  };
253
+ table: {
254
+ category: string;
255
+ };
148
256
  };
149
257
  leftHelper: {
150
258
  control: {
151
259
  type: string;
152
260
  };
261
+ table: {
262
+ category: string;
263
+ };
264
+ };
265
+ hasHint: {
266
+ control: {
267
+ type: string;
268
+ };
269
+ table: {
270
+ category: string;
271
+ };
153
272
  };
154
273
  rightHelper: {
155
274
  control: {
@@ -164,6 +283,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
164
283
  arg: string;
165
284
  truthy: boolean;
166
285
  };
286
+ table: {
287
+ category: string;
288
+ };
167
289
  };
168
290
  hintView: {
169
291
  options: string[];
@@ -174,6 +296,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
174
296
  arg: string;
175
297
  truthy: boolean;
176
298
  };
299
+ table: {
300
+ category: string;
301
+ };
177
302
  };
178
303
  hintSize: {
179
304
  options: string[];
@@ -184,6 +309,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
184
309
  arg: string;
185
310
  truthy: boolean;
186
311
  };
312
+ table: {
313
+ category: string;
314
+ };
187
315
  };
188
316
  hintTargetPlacement: {
189
317
  options: string[];
@@ -194,6 +322,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
194
322
  arg: string;
195
323
  truthy: boolean;
196
324
  };
325
+ table: {
326
+ category: string;
327
+ };
197
328
  };
198
329
  hintTrigger: {
199
330
  options: string[];
@@ -204,6 +335,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
204
335
  arg: string;
205
336
  truthy: boolean;
206
337
  };
338
+ table: {
339
+ category: string;
340
+ };
207
341
  };
208
342
  hintPlacement: {
209
343
  options: string[];
@@ -215,6 +349,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
215
349
  truthy: boolean;
216
350
  };
217
351
  mappers: string[];
352
+ table: {
353
+ category: string;
354
+ };
218
355
  };
219
356
  hintHasArrow: {
220
357
  control: {
@@ -224,6 +361,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
224
361
  arg: string;
225
362
  truthy: boolean;
226
363
  };
364
+ table: {
365
+ category: string;
366
+ };
227
367
  };
228
368
  hintWidth: {
229
369
  control: {
@@ -233,6 +373,9 @@ export declare const getTextFieldStories: (config: CreateStoriesProps) => {
233
373
  arg: string;
234
374
  truthy: boolean;
235
375
  };
376
+ table: {
377
+ category: string;
378
+ };
236
379
  };
237
380
  };
238
381
  };
@@ -9,6 +9,11 @@ type CreateMetaProps = {
9
9
  export declare const createMeta: ({ component, componentConfig, title, defaultArgs, additionalArgTypes, disablePropsList, }: CreateMetaProps) => {
10
10
  title: string;
11
11
  decorators: import("@storybook/react").Decorator[];
12
+ parameters: {
13
+ controls: {
14
+ disableSaveFromUI: boolean;
15
+ };
16
+ };
12
17
  component: any;
13
18
  args: {
14
19
  id: string;
@@ -50,18 +55,27 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
50
55
  control: {
51
56
  type: string;
52
57
  };
58
+ table: {
59
+ category: string;
60
+ };
53
61
  };
54
62
  size: {
55
63
  options: any;
56
64
  control: {
57
65
  type: string;
58
66
  };
67
+ table: {
68
+ category: string;
69
+ };
59
70
  };
60
71
  appearance: {
61
72
  options: string[];
62
73
  control: {
63
74
  type: string;
64
75
  };
76
+ table: {
77
+ category: string;
78
+ };
65
79
  };
66
80
  hasDivider: {
67
81
  control: {
@@ -71,6 +85,25 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
71
85
  arg: string;
72
86
  eq: string;
73
87
  };
88
+ table: {
89
+ category: string;
90
+ };
91
+ };
92
+ disabled: {
93
+ control: {
94
+ type: string;
95
+ };
96
+ table: {
97
+ category: string;
98
+ };
99
+ };
100
+ readOnly: {
101
+ control: {
102
+ type: string;
103
+ };
104
+ table: {
105
+ category: string;
106
+ };
74
107
  };
75
108
  requiredPlacement: {
76
109
  options: string[];
@@ -81,6 +114,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
81
114
  arg: string;
82
115
  truthy: boolean;
83
116
  };
117
+ table: {
118
+ category: string;
119
+ };
84
120
  };
85
121
  required: {
86
122
  control: {
@@ -90,6 +126,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
90
126
  arg: string;
91
127
  truthy: boolean;
92
128
  };
129
+ table: {
130
+ category: string;
131
+ };
93
132
  };
94
133
  hasRequiredIndicator: {
95
134
  control: {
@@ -99,6 +138,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
99
138
  arg: string;
100
139
  truthy: boolean;
101
140
  };
141
+ table: {
142
+ category: string;
143
+ };
102
144
  };
103
145
  optional: {
104
146
  control: {
@@ -108,6 +150,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
108
150
  arg: string;
109
151
  truthy: boolean;
110
152
  };
153
+ table: {
154
+ category: string;
155
+ };
111
156
  };
112
157
  optionalText: {
113
158
  control: {
@@ -117,17 +162,74 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
117
162
  arg: string;
118
163
  truthy: boolean;
119
164
  };
165
+ table: {
166
+ category: string;
167
+ };
168
+ };
169
+ label: {
170
+ control: {
171
+ type: string;
172
+ };
173
+ table: {
174
+ category: string;
175
+ };
176
+ };
177
+ placeholder: {
178
+ control: {
179
+ type: string;
180
+ };
181
+ table: {
182
+ category: string;
183
+ };
184
+ };
185
+ textBefore: {
186
+ control: {
187
+ type: string;
188
+ };
189
+ table: {
190
+ category: string;
191
+ };
192
+ };
193
+ textAfter: {
194
+ control: {
195
+ type: string;
196
+ };
197
+ table: {
198
+ category: string;
199
+ };
200
+ };
201
+ enableContentLeft: {
202
+ control: {
203
+ type: string;
204
+ };
205
+ table: {
206
+ category: string;
207
+ };
208
+ };
209
+ enableContentRight: {
210
+ control: {
211
+ type: string;
212
+ };
213
+ table: {
214
+ category: string;
215
+ };
120
216
  };
121
217
  maxLength: {
122
218
  control: {
123
219
  type: string;
124
220
  };
221
+ table: {
222
+ category: string;
223
+ };
125
224
  };
126
225
  labelPlacement: {
127
226
  options: string[];
128
227
  control: {
129
228
  type: string;
130
229
  };
230
+ table: {
231
+ category: string;
232
+ };
131
233
  };
132
234
  keepPlaceholder: {
133
235
  control: {
@@ -137,16 +239,33 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
137
239
  arg: string;
138
240
  eq: string;
139
241
  };
242
+ table: {
243
+ category: string;
244
+ };
140
245
  };
141
246
  titleCaption: {
142
247
  control: {
143
248
  type: string;
144
249
  };
250
+ table: {
251
+ category: string;
252
+ };
145
253
  };
146
254
  leftHelper: {
147
255
  control: {
148
256
  type: string;
149
257
  };
258
+ table: {
259
+ category: string;
260
+ };
261
+ };
262
+ hasHint: {
263
+ control: {
264
+ type: string;
265
+ };
266
+ table: {
267
+ category: string;
268
+ };
150
269
  };
151
270
  rightHelper: {
152
271
  control: {
@@ -161,6 +280,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
161
280
  arg: string;
162
281
  truthy: boolean;
163
282
  };
283
+ table: {
284
+ category: string;
285
+ };
164
286
  };
165
287
  hintView: {
166
288
  options: string[];
@@ -171,6 +293,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
171
293
  arg: string;
172
294
  truthy: boolean;
173
295
  };
296
+ table: {
297
+ category: string;
298
+ };
174
299
  };
175
300
  hintSize: {
176
301
  options: string[];
@@ -181,6 +306,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
181
306
  arg: string;
182
307
  truthy: boolean;
183
308
  };
309
+ table: {
310
+ category: string;
311
+ };
184
312
  };
185
313
  hintTargetPlacement: {
186
314
  options: string[];
@@ -191,6 +319,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
191
319
  arg: string;
192
320
  truthy: boolean;
193
321
  };
322
+ table: {
323
+ category: string;
324
+ };
194
325
  };
195
326
  hintTrigger: {
196
327
  options: string[];
@@ -201,6 +332,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
201
332
  arg: string;
202
333
  truthy: boolean;
203
334
  };
335
+ table: {
336
+ category: string;
337
+ };
204
338
  };
205
339
  hintPlacement: {
206
340
  options: string[];
@@ -212,6 +346,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
212
346
  truthy: boolean;
213
347
  };
214
348
  mappers: string[];
349
+ table: {
350
+ category: string;
351
+ };
215
352
  };
216
353
  hintHasArrow: {
217
354
  control: {
@@ -221,6 +358,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
221
358
  arg: string;
222
359
  truthy: boolean;
223
360
  };
361
+ table: {
362
+ category: string;
363
+ };
224
364
  };
225
365
  hintWidth: {
226
366
  control: {
@@ -230,6 +370,9 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
230
370
  arg: string;
231
371
  truthy: boolean;
232
372
  };
373
+ table: {
374
+ category: string;
375
+ };
233
376
  };
234
377
  };
235
378
  };