@salutejs/plasma-sb-utils 0.247.0-next-sbcom.0 → 0.248.0-dev.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.
- package/lib/components/Accordion/Accordion.d.ts +5 -38
- package/lib/components/Accordion/meta.d.ts +5 -38
- package/lib/components/Accordion/meta.js +6 -15
- package/lib/components/Accordion/meta.js.map +1 -1
- package/lib/components/Attach/Attach.d.ts +38 -101
- package/lib/components/Attach/meta.d.ts +38 -101
- package/lib/components/Attach/meta.js +44 -53
- package/lib/components/Attach/meta.js.map +1 -1
- package/lib/components/Badge/Badge.d.ts +18 -45
- package/lib/components/Badge/meta.d.ts +18 -45
- package/lib/components/Badge/meta.js +10 -15
- package/lib/components/Badge/meta.js.map +1 -1
- package/lib/components/BottomSheet/BottomSheet.d.ts +11 -41
- package/lib/components/BottomSheet/meta.d.ts +11 -41
- package/lib/components/BottomSheet/meta.js +10 -16
- package/lib/components/BottomSheet/meta.js.map +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -12
- package/lib/components/Breadcrumbs/meta.d.ts +0 -12
- package/lib/components/Breadcrumbs/meta.js +0 -4
- package/lib/components/Breadcrumbs/meta.js.map +1 -1
- package/lib/components/Button/Button.d.ts +15 -51
- package/lib/components/Button/meta.d.ts +15 -51
- package/lib/components/Button/meta.js +10 -18
- package/lib/components/Button/meta.js.map +1 -1
- package/lib/components/Calendar/Calendar.d.ts +26 -5
- package/lib/components/Calendar/meta.d.ts +26 -5
- package/lib/components/Calendar/meta.js +15 -7
- package/lib/components/Calendar/meta.js.map +1 -1
- package/lib/components/Calendar/stories.d.ts +2 -2
- package/lib/components/Calendar/stories.js +4 -4
- package/lib/components/Calendar/stories.js.map +1 -1
- package/lib/components/Carousel/Carousel.d.ts +27 -12
- package/lib/components/Carousel/Carousel.js +14 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/meta.d.ts +16 -12
- package/lib/components/Carousel/meta.js +19 -12
- package/lib/components/Carousel/meta.js.map +1 -1
- package/lib/components/Carousel/stories.d.ts +1 -0
- package/lib/components/Carousel/stories.js +43 -1
- package/lib/components/Carousel/stories.js.map +1 -1
- package/lib/components/Chip/Chip.d.ts +10 -43
- package/lib/components/Chip/meta.d.ts +10 -43
- package/lib/components/Chip/meta.js +8 -16
- package/lib/components/Chip/meta.js.map +1 -1
- package/lib/components/CodeArea/CodeArea.d.ts +16 -46
- package/lib/components/CodeArea/meta.d.ts +16 -46
- package/lib/components/CodeArea/meta.js +16 -20
- package/lib/components/CodeArea/meta.js.map +1 -1
- package/lib/components/CodeField/CodeField.d.ts +0 -46
- package/lib/components/CodeField/meta.d.ts +0 -46
- package/lib/components/CodeField/meta.js +0 -15
- package/lib/components/CodeField/meta.js.map +1 -1
- package/lib/components/CodeInput/CodeInput.d.ts +0 -40
- package/lib/components/CodeInput/meta.d.ts +0 -40
- package/lib/components/CodeInput/meta.js +0 -13
- package/lib/components/CodeInput/meta.js.map +1 -1
- package/lib/components/Combobox/Combobox.d.ts +10 -90
- package/lib/components/Combobox/meta.d.ts +10 -90
- package/lib/components/Combobox/meta.js +6 -33
- package/lib/components/Combobox/meta.js.map +1 -1
- package/lib/components/DatePicker/DatePicker.d.ts +135 -58
- package/lib/components/DatePicker/fixtures.d.ts +1 -0
- package/lib/components/DatePicker/fixtures.js +1 -0
- package/lib/components/DatePicker/fixtures.js.map +1 -1
- package/lib/components/DatePicker/meta.d.ts +135 -58
- package/lib/components/DatePicker/meta.js +70 -79
- package/lib/components/DatePicker/meta.js.map +1 -1
- package/lib/components/DateTimePicker/DateTimePicker.d.ts +31 -158
- package/lib/components/DateTimePicker/fixtures.d.ts +1 -0
- package/lib/components/DateTimePicker/fixtures.js +1 -0
- package/lib/components/DateTimePicker/fixtures.js.map +1 -1
- package/lib/components/DateTimePicker/meta.d.ts +31 -158
- package/lib/components/DateTimePicker/meta.js +22 -59
- package/lib/components/DateTimePicker/meta.js.map +1 -1
- package/lib/components/Drawer/Drawer.d.ts +32 -78
- package/lib/components/Drawer/meta.d.ts +32 -78
- package/lib/components/Drawer/meta.js +26 -33
- package/lib/components/Drawer/meta.js.map +1 -1
- package/lib/components/Dropdown/fixtures.js +15 -1
- package/lib/components/Dropdown/fixtures.js.map +1 -1
- package/lib/components/Dropdown/meta.js +1 -1
- package/lib/components/Dropdown/meta.js.map +1 -1
- package/lib/components/Dropzone/Dropzone.d.ts +0 -33
- package/lib/components/Dropzone/meta.d.ts +0 -33
- package/lib/components/Dropzone/meta.js +0 -11
- package/lib/components/Dropzone/meta.js.map +1 -1
- package/lib/components/EmbeddedButton/EmbeddedButton.d.ts +0 -21
- package/lib/components/EmbeddedButton/meta.d.ts +0 -21
- package/lib/components/EmbeddedButton/meta.js +10 -14
- package/lib/components/EmbeddedButton/meta.js.map +1 -1
- package/lib/components/File/File.d.ts +11 -6
- package/lib/components/File/meta.d.ts +11 -6
- package/lib/components/File/meta.js +9 -6
- package/lib/components/File/meta.js.map +1 -1
- package/lib/components/InformationWrapper/InformationWrapper.d.ts +10 -73
- package/lib/components/InformationWrapper/meta.d.ts +10 -73
- package/lib/components/InformationWrapper/meta.js +10 -28
- package/lib/components/InformationWrapper/meta.js.map +1 -1
- package/lib/components/Link/Link.d.ts +5 -23
- package/lib/components/Link/meta.d.ts +5 -23
- package/lib/components/Link/meta.js +7 -11
- package/lib/components/Link/meta.js.map +1 -1
- package/lib/components/Note/Note.d.ts +15 -54
- package/lib/components/Note/meta.d.ts +15 -54
- package/lib/components/Note/meta.js +13 -22
- package/lib/components/Note/meta.js.map +1 -1
- package/lib/components/NumberFormat/NumberFormat.d.ts +0 -84
- package/lib/components/NumberFormat/meta.d.ts +0 -84
- package/lib/components/NumberFormat/meta.js +0 -28
- package/lib/components/NumberFormat/meta.js.map +1 -1
- package/lib/components/NumberInput/NumberInput.d.ts +0 -72
- package/lib/components/NumberInput/meta.d.ts +0 -72
- package/lib/components/NumberInput/meta.js +0 -24
- package/lib/components/NumberInput/meta.js.map +1 -1
- package/lib/components/Pagination/Pagination.d.ts +15 -64
- package/lib/components/Pagination/meta.d.ts +15 -64
- package/lib/components/Pagination/meta.js +9 -22
- package/lib/components/Pagination/meta.js.map +1 -1
- package/lib/components/Popover/Popover.d.ts +10 -67
- package/lib/components/Popover/meta.d.ts +10 -40
- package/lib/components/Popover/meta.js +8 -15
- package/lib/components/Popover/meta.js.map +1 -1
- package/lib/components/Popover/stories.d.ts +0 -27
- package/lib/components/Popover/stories.js +3 -11
- package/lib/components/Popover/stories.js.map +1 -1
- package/lib/components/Progress/Progress.d.ts +5 -41
- package/lib/components/Progress/meta.d.ts +5 -41
- package/lib/components/Progress/meta.js +7 -17
- package/lib/components/Progress/meta.js.map +1 -1
- package/lib/components/Range/Range.d.ts +47 -12
- package/lib/components/Range/meta.d.ts +47 -12
- package/lib/components/Range/meta.js +15 -5
- package/lib/components/Range/meta.js.map +1 -1
- package/lib/components/Rating/Rating.d.ts +0 -33
- package/lib/components/Rating/meta.d.ts +0 -33
- package/lib/components/Rating/meta.js +0 -11
- package/lib/components/Rating/meta.js.map +1 -1
- package/lib/components/Segment/meta.js +13 -9
- package/lib/components/Segment/meta.js.map +1 -1
- package/lib/components/Select/Select.d.ts +11 -269
- package/lib/components/Select/Select.js +13 -1
- package/lib/components/Select/Select.js.map +1 -1
- package/lib/components/Select/meta.d.ts +15 -2
- package/lib/components/Select/meta.js +16 -7
- package/lib/components/Select/meta.js.map +1 -1
- package/lib/components/Slider/Slider.d.ts +19 -97
- package/lib/components/Slider/meta.d.ts +19 -94
- package/lib/components/Slider/meta.js +15 -36
- package/lib/components/Slider/meta.js.map +1 -1
- package/lib/components/Slider/stories.d.ts +0 -3
- package/lib/components/Slider/stories.js +0 -1
- package/lib/components/Slider/stories.js.map +1 -1
- package/lib/components/Steps/Steps.d.ts +25 -73
- package/lib/components/Steps/meta.d.ts +25 -73
- package/lib/components/Steps/meta.js +22 -31
- package/lib/components/Steps/meta.js.map +1 -1
- package/lib/components/Table/Table.d.ts +6 -6
- package/lib/components/Table/meta.d.ts +6 -6
- package/lib/components/Table/meta.js +8 -4
- package/lib/components/Table/meta.js.map +1 -1
- package/lib/components/Tabs/Tabs.d.ts +48 -144
- package/lib/components/Tabs/meta.d.ts +24 -72
- package/lib/components/Tabs/meta.js +21 -31
- package/lib/components/Tabs/meta.js.map +1 -1
- package/lib/components/TextArea/TextArea.d.ts +19 -121
- package/lib/components/TextArea/meta.d.ts +19 -121
- package/lib/components/TextArea/meta.js +14 -44
- package/lib/components/TextArea/meta.js.map +1 -1
- package/lib/components/TextField/TextField.d.ts +15 -108
- package/lib/components/TextField/meta.d.ts +15 -108
- package/lib/components/TextField/meta.js +13 -40
- package/lib/components/TextField/meta.js.map +1 -1
- package/lib/components/TextFieldSlider/TextFieldSlider.d.ts +25 -148
- package/lib/components/TextFieldSlider/meta.d.ts +25 -148
- package/lib/components/TextFieldSlider/meta.js +19 -54
- package/lib/components/TextFieldSlider/meta.js.map +1 -1
- package/lib/components/TimePicker/TimePicker.d.ts +21 -129
- package/lib/components/TimePicker/meta.d.ts +21 -129
- package/lib/components/TimePicker/meta.js +16 -48
- package/lib/components/TimePicker/meta.js.map +1 -1
- package/lib/components/Tour/Tour.d.ts +5 -35
- package/lib/components/Tour/meta.d.ts +5 -35
- package/lib/components/Tour/meta.js +7 -15
- package/lib/components/Tour/meta.js.map +1 -1
- package/lib/components/_ai/Answer/Answer.d.ts +7 -34
- package/lib/components/_ai/Answer/meta.d.ts +7 -34
- package/lib/components/_ai/Answer/meta.js +13 -19
- package/lib/components/_ai/Answer/meta.js.map +1 -1
- package/lib/components/_ai/Container/Container.d.ts +26 -80
- package/lib/components/_ai/Container/meta.d.ts +26 -80
- package/lib/components/_ai/Container/meta.js +34 -48
- package/lib/components/_ai/Container/meta.js.map +1 -1
- package/lib/components/_ai/Header/Header.d.ts +8 -32
- package/lib/components/_ai/Header/meta.d.ts +8 -32
- package/lib/components/_ai/Header/meta.js +8 -13
- package/lib/components/_ai/Header/meta.js.map +1 -1
- package/lib/components/_ai/Input/Input.d.ts +8 -41
- package/lib/components/_ai/Input/meta.d.ts +8 -41
- package/lib/components/_ai/Input/meta.js +8 -16
- package/lib/components/_ai/Input/meta.js.map +1 -1
- package/lib/components/_ai/Markdown/Markdown.d.ts +4 -4
- package/lib/components/_ai/Markdown/meta.d.ts +4 -4
- package/lib/components/_ai/Markdown/meta.js +7 -5
- package/lib/components/_ai/Markdown/meta.js.map +1 -1
- package/lib/components/_ai/UserMessage/UserMessage.d.ts +11 -29
- package/lib/components/_ai/UserMessage/meta.d.ts +11 -29
- package/lib/components/_ai/UserMessage/meta.js +8 -11
- package/lib/components/_ai/UserMessage/meta.js.map +1 -1
- package/lib/components/_ai/UserMessage/stories.js +2 -2
- package/lib/components/_ai/UserMessage/stories.js.map +1 -1
- package/lib/components/index.d.ts +0 -1
- package/lib/components/index.js +0 -1
- package/lib/components/index.js.map +1 -1
- package/lib/helpers/exampleOnly.d.ts +14 -0
- package/lib/helpers/exampleOnly.js +28 -0
- package/lib/helpers/exampleOnly.js.map +1 -0
- package/lib/helpers/index.d.ts +1 -0
- package/lib/helpers/index.js +1 -0
- package/lib/helpers/index.js.map +1 -1
- package/package.json +7 -7
- package/lib/components/Spinner/Spinner.d.ts +0 -59
- package/lib/components/Spinner/Spinner.js +0 -42
- package/lib/components/Spinner/Spinner.js.map +0 -1
- package/lib/components/Spinner/fixtures.d.ts +0 -1
- package/lib/components/Spinner/fixtures.js +0 -2
- package/lib/components/Spinner/fixtures.js.map +0 -1
- package/lib/components/Spinner/index.d.ts +0 -1
- package/lib/components/Spinner/index.js +0 -2
- package/lib/components/Spinner/index.js.map +0 -1
- package/lib/components/Spinner/meta.d.ts +0 -47
- package/lib/components/Spinner/meta.js +0 -45
- package/lib/components/Spinner/meta.js.map +0 -1
- package/lib/components/Spinner/stories.d.ts +0 -7
- package/lib/components/Spinner/stories.js +0 -60
- package/lib/components/Spinner/stories.js.map +0 -1
|
@@ -44,99 +44,63 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
44
44
|
control: {
|
|
45
45
|
type: string;
|
|
46
46
|
};
|
|
47
|
-
table: {
|
|
48
|
-
category: string;
|
|
49
|
-
};
|
|
50
47
|
};
|
|
51
48
|
size: {
|
|
52
49
|
options: any;
|
|
53
50
|
control: {
|
|
54
51
|
type: string;
|
|
55
52
|
};
|
|
56
|
-
table: {
|
|
57
|
-
category: string;
|
|
58
|
-
};
|
|
59
53
|
};
|
|
60
54
|
disabled: {
|
|
61
55
|
control: {
|
|
62
56
|
type: string;
|
|
63
57
|
};
|
|
64
|
-
table: {
|
|
65
|
-
category: string;
|
|
66
|
-
};
|
|
67
58
|
};
|
|
68
59
|
readOnly: {
|
|
69
60
|
control: {
|
|
70
61
|
type: string;
|
|
71
62
|
};
|
|
72
|
-
table: {
|
|
73
|
-
category: string;
|
|
74
|
-
};
|
|
75
63
|
};
|
|
76
64
|
defaultValue: {
|
|
77
65
|
control: {
|
|
78
66
|
type: string;
|
|
79
67
|
};
|
|
80
|
-
table: {
|
|
81
|
-
category: string;
|
|
82
|
-
};
|
|
83
68
|
};
|
|
84
69
|
thousandsGroupStyle: {
|
|
85
70
|
options: string[];
|
|
86
71
|
control: {
|
|
87
72
|
type: string;
|
|
88
73
|
};
|
|
89
|
-
table: {
|
|
90
|
-
category: string;
|
|
91
|
-
};
|
|
92
74
|
};
|
|
93
75
|
thousandSeparator: {
|
|
94
76
|
control: {
|
|
95
77
|
type: string;
|
|
96
78
|
};
|
|
97
|
-
table: {
|
|
98
|
-
category: string;
|
|
99
|
-
};
|
|
100
79
|
};
|
|
101
80
|
decimalScale: {
|
|
102
81
|
control: {
|
|
103
82
|
type: string;
|
|
104
83
|
};
|
|
105
|
-
table: {
|
|
106
|
-
category: string;
|
|
107
|
-
};
|
|
108
84
|
};
|
|
109
85
|
decimalSeparator: {
|
|
110
86
|
control: {
|
|
111
87
|
type: string;
|
|
112
88
|
};
|
|
113
|
-
table: {
|
|
114
|
-
category: string;
|
|
115
|
-
};
|
|
116
89
|
};
|
|
117
90
|
fixedDecimalScale: {
|
|
118
91
|
control: {
|
|
119
92
|
type: string;
|
|
120
93
|
};
|
|
121
|
-
table: {
|
|
122
|
-
category: string;
|
|
123
|
-
};
|
|
124
94
|
};
|
|
125
95
|
allowNegative: {
|
|
126
96
|
control: {
|
|
127
97
|
type: string;
|
|
128
98
|
};
|
|
129
|
-
table: {
|
|
130
|
-
category: string;
|
|
131
|
-
};
|
|
132
99
|
};
|
|
133
100
|
allowLeadingZeros: {
|
|
134
101
|
control: {
|
|
135
102
|
type: string;
|
|
136
103
|
};
|
|
137
|
-
table: {
|
|
138
|
-
category: string;
|
|
139
|
-
};
|
|
140
104
|
};
|
|
141
105
|
requiredPlacement: {
|
|
142
106
|
options: string[];
|
|
@@ -147,9 +111,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
147
111
|
arg: string;
|
|
148
112
|
truthy: boolean;
|
|
149
113
|
};
|
|
150
|
-
table: {
|
|
151
|
-
category: string;
|
|
152
|
-
};
|
|
153
114
|
};
|
|
154
115
|
required: {
|
|
155
116
|
control: {
|
|
@@ -159,9 +120,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
159
120
|
arg: string;
|
|
160
121
|
truthy: boolean;
|
|
161
122
|
};
|
|
162
|
-
table: {
|
|
163
|
-
category: string;
|
|
164
|
-
};
|
|
165
123
|
};
|
|
166
124
|
optional: {
|
|
167
125
|
control: {
|
|
@@ -171,9 +129,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
171
129
|
arg: string;
|
|
172
130
|
truthy: boolean;
|
|
173
131
|
};
|
|
174
|
-
table: {
|
|
175
|
-
category: string;
|
|
176
|
-
};
|
|
177
132
|
};
|
|
178
133
|
optionalText: {
|
|
179
134
|
control: {
|
|
@@ -183,26 +138,17 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
183
138
|
arg: string;
|
|
184
139
|
truthy: boolean;
|
|
185
140
|
};
|
|
186
|
-
table: {
|
|
187
|
-
category: string;
|
|
188
|
-
};
|
|
189
141
|
};
|
|
190
142
|
label: {
|
|
191
143
|
control: {
|
|
192
144
|
type: string;
|
|
193
145
|
};
|
|
194
|
-
table: {
|
|
195
|
-
category: string;
|
|
196
|
-
};
|
|
197
146
|
};
|
|
198
147
|
labelPlacement: {
|
|
199
148
|
options: string[];
|
|
200
149
|
control: {
|
|
201
150
|
type: string;
|
|
202
151
|
};
|
|
203
|
-
table: {
|
|
204
|
-
category: string;
|
|
205
|
-
};
|
|
206
152
|
};
|
|
207
153
|
keepPlaceholder: {
|
|
208
154
|
control: {
|
|
@@ -212,73 +158,46 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
212
158
|
arg: string;
|
|
213
159
|
eq: string;
|
|
214
160
|
};
|
|
215
|
-
table: {
|
|
216
|
-
category: string;
|
|
217
|
-
};
|
|
218
161
|
};
|
|
219
162
|
titleCaption: {
|
|
220
163
|
control: {
|
|
221
164
|
type: string;
|
|
222
165
|
};
|
|
223
|
-
table: {
|
|
224
|
-
category: string;
|
|
225
|
-
};
|
|
226
166
|
};
|
|
227
167
|
prefix: {
|
|
228
168
|
control: {
|
|
229
169
|
type: string;
|
|
230
170
|
};
|
|
231
|
-
table: {
|
|
232
|
-
category: string;
|
|
233
|
-
};
|
|
234
171
|
};
|
|
235
172
|
textBefore: {
|
|
236
173
|
control: {
|
|
237
174
|
type: string;
|
|
238
175
|
};
|
|
239
|
-
table: {
|
|
240
|
-
category: string;
|
|
241
|
-
};
|
|
242
176
|
};
|
|
243
177
|
textAfter: {
|
|
244
178
|
control: {
|
|
245
179
|
type: string;
|
|
246
180
|
};
|
|
247
|
-
table: {
|
|
248
|
-
category: string;
|
|
249
|
-
};
|
|
250
181
|
};
|
|
251
182
|
suffix: {
|
|
252
183
|
control: {
|
|
253
184
|
type: string;
|
|
254
185
|
};
|
|
255
|
-
table: {
|
|
256
|
-
category: string;
|
|
257
|
-
};
|
|
258
186
|
};
|
|
259
187
|
placeholder: {
|
|
260
188
|
control: {
|
|
261
189
|
type: string;
|
|
262
190
|
};
|
|
263
|
-
table: {
|
|
264
|
-
category: string;
|
|
265
|
-
};
|
|
266
191
|
};
|
|
267
192
|
leftHelper: {
|
|
268
193
|
control: {
|
|
269
194
|
type: string;
|
|
270
195
|
};
|
|
271
|
-
table: {
|
|
272
|
-
category: string;
|
|
273
|
-
};
|
|
274
196
|
};
|
|
275
197
|
clear: {
|
|
276
198
|
control: {
|
|
277
199
|
type: string;
|
|
278
200
|
};
|
|
279
|
-
table: {
|
|
280
|
-
category: string;
|
|
281
|
-
};
|
|
282
201
|
};
|
|
283
202
|
hasDivider: {
|
|
284
203
|
control: {
|
|
@@ -288,9 +207,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
288
207
|
arg: string;
|
|
289
208
|
truthy: boolean;
|
|
290
209
|
};
|
|
291
|
-
table: {
|
|
292
|
-
category: string;
|
|
293
|
-
};
|
|
294
210
|
};
|
|
295
211
|
};
|
|
296
212
|
};
|
|
@@ -39,42 +39,30 @@ export var createMeta = function (_a) {
|
|
|
39
39
|
argTypes: __assign(__assign({ view: {
|
|
40
40
|
options: componentConfig.views,
|
|
41
41
|
control: { type: 'select' },
|
|
42
|
-
table: { category: 'variation' },
|
|
43
42
|
}, size: {
|
|
44
43
|
options: componentConfig.sizes,
|
|
45
44
|
control: { type: 'inline-radio' },
|
|
46
|
-
table: { category: 'variation' },
|
|
47
45
|
}, disabled: {
|
|
48
46
|
control: { type: 'boolean' },
|
|
49
|
-
table: { category: 'variation' },
|
|
50
47
|
}, readOnly: {
|
|
51
48
|
control: { type: 'boolean' },
|
|
52
|
-
table: { category: 'variation' },
|
|
53
49
|
}, defaultValue: {
|
|
54
50
|
control: { type: 'text' },
|
|
55
|
-
table: { category: 'value-related' },
|
|
56
51
|
}, thousandsGroupStyle: {
|
|
57
52
|
options: thousandsGroupStyles,
|
|
58
53
|
control: { type: 'select' },
|
|
59
|
-
table: { category: 'value-related' },
|
|
60
54
|
}, thousandSeparator: {
|
|
61
55
|
control: { type: 'text' },
|
|
62
|
-
table: { category: 'value-related' },
|
|
63
56
|
}, decimalScale: {
|
|
64
57
|
control: { type: 'number' },
|
|
65
|
-
table: { category: 'value-related' },
|
|
66
58
|
}, decimalSeparator: {
|
|
67
59
|
control: { type: 'text' },
|
|
68
|
-
table: { category: 'value-related' },
|
|
69
60
|
}, fixedDecimalScale: {
|
|
70
61
|
control: { type: 'boolean' },
|
|
71
|
-
table: { category: 'value-related' },
|
|
72
62
|
}, allowNegative: {
|
|
73
63
|
control: { type: 'boolean' },
|
|
74
|
-
table: { category: 'value-related' },
|
|
75
64
|
}, allowLeadingZeros: {
|
|
76
65
|
control: { type: 'boolean' },
|
|
77
|
-
table: { category: 'value-related' },
|
|
78
66
|
}, requiredPlacement: {
|
|
79
67
|
options: requiredPlacements,
|
|
80
68
|
control: { type: 'select' },
|
|
@@ -82,73 +70,57 @@ export var createMeta = function (_a) {
|
|
|
82
70
|
arg: 'optional',
|
|
83
71
|
truthy: false,
|
|
84
72
|
},
|
|
85
|
-
table: { category: 'form-related' },
|
|
86
73
|
}, required: {
|
|
87
74
|
control: { type: 'boolean' },
|
|
88
75
|
if: {
|
|
89
76
|
arg: 'optional',
|
|
90
77
|
truthy: false,
|
|
91
78
|
},
|
|
92
|
-
table: { category: 'form-related' },
|
|
93
79
|
}, optional: {
|
|
94
80
|
control: { type: 'boolean' },
|
|
95
81
|
if: {
|
|
96
82
|
arg: 'required',
|
|
97
83
|
truthy: false,
|
|
98
84
|
},
|
|
99
|
-
table: { category: 'form-related' },
|
|
100
85
|
}, optionalText: {
|
|
101
86
|
control: { type: 'text' },
|
|
102
87
|
if: {
|
|
103
88
|
arg: 'required',
|
|
104
89
|
truthy: false,
|
|
105
90
|
},
|
|
106
|
-
table: { category: 'layout' },
|
|
107
91
|
}, label: {
|
|
108
92
|
control: { type: 'text' },
|
|
109
|
-
table: { category: 'layout' },
|
|
110
93
|
}, labelPlacement: {
|
|
111
94
|
options: labelPlacements,
|
|
112
95
|
control: { type: 'inline-radio' },
|
|
113
|
-
table: { category: 'layout' },
|
|
114
96
|
}, keepPlaceholder: {
|
|
115
97
|
control: { type: 'boolean' },
|
|
116
98
|
if: {
|
|
117
99
|
arg: 'labelPlacement',
|
|
118
100
|
eq: 'inner',
|
|
119
101
|
},
|
|
120
|
-
table: { category: 'layout' },
|
|
121
102
|
}, titleCaption: {
|
|
122
103
|
control: { type: 'text' },
|
|
123
|
-
table: { category: 'layout' },
|
|
124
104
|
}, prefix: {
|
|
125
105
|
control: { type: 'text' },
|
|
126
|
-
table: { category: 'layout' },
|
|
127
106
|
}, textBefore: {
|
|
128
107
|
control: { type: 'text' },
|
|
129
|
-
table: { category: 'layout' },
|
|
130
108
|
}, textAfter: {
|
|
131
109
|
control: { type: 'text' },
|
|
132
|
-
table: { category: 'layout' },
|
|
133
110
|
}, suffix: {
|
|
134
111
|
control: { type: 'text' },
|
|
135
|
-
table: { category: 'layout' },
|
|
136
112
|
}, placeholder: {
|
|
137
113
|
control: { type: 'text' },
|
|
138
|
-
table: { category: 'layout' },
|
|
139
114
|
}, leftHelper: {
|
|
140
115
|
control: { type: 'text' },
|
|
141
|
-
table: { category: 'layout' },
|
|
142
116
|
}, clear: {
|
|
143
117
|
control: { type: 'boolean' },
|
|
144
|
-
table: { category: 'layout' },
|
|
145
118
|
}, hasDivider: {
|
|
146
119
|
control: { type: 'boolean' },
|
|
147
120
|
if: {
|
|
148
121
|
arg: 'clear',
|
|
149
122
|
truthy: true,
|
|
150
123
|
},
|
|
151
|
-
table: { category: 'layout' },
|
|
152
124
|
} }, additionalArgTypes), disableProps(__spreadArray(__spreadArray([], commonDisabledArgs, true), disablePropsList, true))),
|
|
153
125
|
};
|
|
154
126
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Num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,EAAE,MAAM,EAAE;aAC5B,EACD,UAAU,EAAE;gBACR,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;aAC5B,EACD,SAAS,EAAE;gBACP,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;aAC5B,EACD,MAAM,EAAE;gBACJ,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;aAC5B,EACD,WAAW,EAAE;gBACT,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;aAC5B,EACD,UAAU,EAAE;gBACR,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;aAC5B,EACD,KAAK,EAAE;gBACH,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;aAC/B,EACD,UAAU,EAAE;gBACR,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;gBAC5B,EAAE,EAAE;oBACA,GAAG,EAAE,OAAO;oBACZ,MAAM,EAAE,IAAI;iBACf;aACJ,IACE,kBAAkB,GAClB,YAAY,iCAAK,kBAAkB,SAAK,gBAAgB,QAAE,CAChE;KACJ,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -46,204 +46,132 @@ export declare const getNumberInputStories: (config: CreateStoriesProps) => {
|
|
|
46
46
|
control: {
|
|
47
47
|
type: string;
|
|
48
48
|
};
|
|
49
|
-
table: {
|
|
50
|
-
category: string;
|
|
51
|
-
};
|
|
52
49
|
};
|
|
53
50
|
size: {
|
|
54
51
|
options: any;
|
|
55
52
|
control: {
|
|
56
53
|
type: string;
|
|
57
54
|
};
|
|
58
|
-
table: {
|
|
59
|
-
category: string;
|
|
60
|
-
};
|
|
61
55
|
};
|
|
62
56
|
shape: {
|
|
63
57
|
options: string[];
|
|
64
58
|
control: {
|
|
65
59
|
type: string;
|
|
66
60
|
};
|
|
67
|
-
table: {
|
|
68
|
-
category: string;
|
|
69
|
-
};
|
|
70
61
|
};
|
|
71
62
|
segmentation: {
|
|
72
63
|
options: string[];
|
|
73
64
|
control: {
|
|
74
65
|
type: string;
|
|
75
66
|
};
|
|
76
|
-
table: {
|
|
77
|
-
category: string;
|
|
78
|
-
};
|
|
79
67
|
};
|
|
80
68
|
inputBackgroundType: {
|
|
81
69
|
options: string[];
|
|
82
70
|
control: {
|
|
83
71
|
type: string;
|
|
84
72
|
};
|
|
85
|
-
table: {
|
|
86
|
-
category: string;
|
|
87
|
-
};
|
|
88
73
|
};
|
|
89
74
|
disabled: {
|
|
90
75
|
control: {
|
|
91
76
|
type: string;
|
|
92
77
|
};
|
|
93
|
-
table: {
|
|
94
|
-
category: string;
|
|
95
|
-
};
|
|
96
78
|
};
|
|
97
79
|
min: {
|
|
98
80
|
control: {
|
|
99
81
|
type: string;
|
|
100
82
|
};
|
|
101
|
-
table: {
|
|
102
|
-
category: string;
|
|
103
|
-
};
|
|
104
83
|
};
|
|
105
84
|
max: {
|
|
106
85
|
control: {
|
|
107
86
|
type: string;
|
|
108
87
|
};
|
|
109
|
-
table: {
|
|
110
|
-
category: string;
|
|
111
|
-
};
|
|
112
88
|
};
|
|
113
89
|
step: {
|
|
114
90
|
control: {
|
|
115
91
|
type: string;
|
|
116
92
|
};
|
|
117
|
-
table: {
|
|
118
|
-
category: string;
|
|
119
|
-
};
|
|
120
93
|
};
|
|
121
94
|
precision: {
|
|
122
95
|
control: {
|
|
123
96
|
type: string;
|
|
124
97
|
min: number;
|
|
125
98
|
};
|
|
126
|
-
table: {
|
|
127
|
-
category: string;
|
|
128
|
-
};
|
|
129
99
|
};
|
|
130
100
|
thousandSeparator: {
|
|
131
101
|
options: string[];
|
|
132
102
|
control: {
|
|
133
103
|
type: string;
|
|
134
104
|
};
|
|
135
|
-
table: {
|
|
136
|
-
category: string;
|
|
137
|
-
};
|
|
138
105
|
};
|
|
139
106
|
decimalSeparator: {
|
|
140
107
|
options: string[];
|
|
141
108
|
control: {
|
|
142
109
|
type: string;
|
|
143
110
|
};
|
|
144
|
-
table: {
|
|
145
|
-
category: string;
|
|
146
|
-
};
|
|
147
111
|
};
|
|
148
112
|
thousandsGroupStyle: {
|
|
149
113
|
options: string[];
|
|
150
114
|
control: {
|
|
151
115
|
type: string;
|
|
152
116
|
};
|
|
153
|
-
table: {
|
|
154
|
-
category: string;
|
|
155
|
-
};
|
|
156
117
|
};
|
|
157
118
|
decimalScale: {
|
|
158
119
|
control: {
|
|
159
120
|
type: string;
|
|
160
121
|
min: number;
|
|
161
122
|
};
|
|
162
|
-
table: {
|
|
163
|
-
category: string;
|
|
164
|
-
};
|
|
165
123
|
};
|
|
166
124
|
fixedDecimalScale: {
|
|
167
125
|
control: {
|
|
168
126
|
type: string;
|
|
169
127
|
};
|
|
170
|
-
table: {
|
|
171
|
-
category: string;
|
|
172
|
-
};
|
|
173
128
|
};
|
|
174
129
|
allowNegative: {
|
|
175
130
|
control: {
|
|
176
131
|
type: string;
|
|
177
132
|
};
|
|
178
|
-
table: {
|
|
179
|
-
category: string;
|
|
180
|
-
};
|
|
181
133
|
};
|
|
182
134
|
allowLeadingZeros: {
|
|
183
135
|
control: {
|
|
184
136
|
type: string;
|
|
185
137
|
};
|
|
186
|
-
table: {
|
|
187
|
-
category: string;
|
|
188
|
-
};
|
|
189
138
|
};
|
|
190
139
|
limitBehavior: {
|
|
191
140
|
options: string[];
|
|
192
141
|
control: {
|
|
193
142
|
type: string;
|
|
194
143
|
};
|
|
195
|
-
table: {
|
|
196
|
-
category: string;
|
|
197
|
-
};
|
|
198
144
|
};
|
|
199
145
|
displayWithoutValue: {
|
|
200
146
|
options: string[];
|
|
201
147
|
control: {
|
|
202
148
|
type: string;
|
|
203
149
|
};
|
|
204
|
-
table: {
|
|
205
|
-
category: string;
|
|
206
|
-
};
|
|
207
150
|
};
|
|
208
151
|
isManualInput: {
|
|
209
152
|
control: {
|
|
210
153
|
type: string;
|
|
211
154
|
};
|
|
212
|
-
table: {
|
|
213
|
-
category: string;
|
|
214
|
-
};
|
|
215
155
|
};
|
|
216
156
|
textBefore: {
|
|
217
157
|
control: {
|
|
218
158
|
type: string;
|
|
219
159
|
};
|
|
220
|
-
table: {
|
|
221
|
-
category: string;
|
|
222
|
-
};
|
|
223
160
|
};
|
|
224
161
|
textAfter: {
|
|
225
162
|
control: {
|
|
226
163
|
type: string;
|
|
227
164
|
};
|
|
228
|
-
table: {
|
|
229
|
-
category: string;
|
|
230
|
-
};
|
|
231
165
|
};
|
|
232
166
|
width: {
|
|
233
167
|
control: {
|
|
234
168
|
type: string;
|
|
235
169
|
};
|
|
236
|
-
table: {
|
|
237
|
-
category: string;
|
|
238
|
-
};
|
|
239
170
|
};
|
|
240
171
|
isLoading: {
|
|
241
172
|
control: {
|
|
242
173
|
type: string;
|
|
243
174
|
};
|
|
244
|
-
table: {
|
|
245
|
-
category: string;
|
|
246
|
-
};
|
|
247
175
|
};
|
|
248
176
|
};
|
|
249
177
|
};
|