@salutejs/plasma-sb-utils 0.247.0-next-sbcom.0 → 0.248.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
|
@@ -42,183 +42,126 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
42
42
|
control: {
|
|
43
43
|
type: string;
|
|
44
44
|
};
|
|
45
|
-
table: {
|
|
46
|
-
category: string;
|
|
47
|
-
};
|
|
48
45
|
};
|
|
49
|
-
|
|
50
|
-
options: any;
|
|
46
|
+
buttonText: {
|
|
51
47
|
control: {
|
|
52
48
|
type: string;
|
|
53
49
|
};
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
if: {
|
|
51
|
+
arg: string;
|
|
52
|
+
eq: string;
|
|
56
53
|
};
|
|
57
54
|
};
|
|
58
|
-
|
|
59
|
-
options: any;
|
|
55
|
+
buttonValue: {
|
|
60
56
|
control: {
|
|
61
57
|
type: string;
|
|
62
58
|
};
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
if: {
|
|
60
|
+
arg: string;
|
|
61
|
+
eq: string;
|
|
65
62
|
};
|
|
66
63
|
};
|
|
67
|
-
|
|
68
|
-
options: string[];
|
|
64
|
+
enableContentLeft: {
|
|
69
65
|
control: {
|
|
70
66
|
type: string;
|
|
71
67
|
};
|
|
72
|
-
|
|
73
|
-
|
|
68
|
+
if: {
|
|
69
|
+
arg: string;
|
|
70
|
+
eq: string;
|
|
74
71
|
};
|
|
75
72
|
};
|
|
76
|
-
|
|
77
|
-
options: string[];
|
|
73
|
+
enableContentRight: {
|
|
78
74
|
control: {
|
|
79
75
|
type: string;
|
|
80
76
|
};
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
if: {
|
|
78
|
+
arg: string;
|
|
79
|
+
eq: string;
|
|
83
80
|
};
|
|
84
81
|
};
|
|
85
|
-
|
|
82
|
+
fileFormat: {
|
|
83
|
+
options: string[];
|
|
86
84
|
control: {
|
|
87
85
|
type: string;
|
|
88
86
|
};
|
|
89
|
-
table: {
|
|
90
|
-
category: string;
|
|
91
|
-
};
|
|
92
87
|
};
|
|
93
|
-
|
|
88
|
+
placement: {
|
|
89
|
+
options: string[];
|
|
94
90
|
control: {
|
|
95
91
|
type: string;
|
|
96
92
|
};
|
|
97
|
-
if: {
|
|
98
|
-
arg: string;
|
|
99
|
-
eq: string;
|
|
100
|
-
};
|
|
101
|
-
table: {
|
|
102
|
-
category: string;
|
|
103
|
-
};
|
|
104
93
|
};
|
|
105
|
-
|
|
94
|
+
trigger: {
|
|
95
|
+
options: string[];
|
|
106
96
|
control: {
|
|
107
97
|
type: string;
|
|
108
98
|
};
|
|
109
|
-
if: {
|
|
110
|
-
arg: string;
|
|
111
|
-
eq: string;
|
|
112
|
-
};
|
|
113
|
-
table: {
|
|
114
|
-
category: string;
|
|
115
|
-
};
|
|
116
99
|
};
|
|
117
|
-
|
|
100
|
+
closeOnOverlayClick: {
|
|
118
101
|
control: {
|
|
119
102
|
type: string;
|
|
120
103
|
};
|
|
121
104
|
if: {
|
|
122
105
|
arg: string;
|
|
123
|
-
|
|
124
|
-
};
|
|
125
|
-
table: {
|
|
126
|
-
category: string;
|
|
106
|
+
truthy: boolean;
|
|
127
107
|
};
|
|
128
108
|
};
|
|
129
|
-
|
|
109
|
+
listWidth: {
|
|
130
110
|
control: {
|
|
131
111
|
type: string;
|
|
132
112
|
};
|
|
133
|
-
if: {
|
|
134
|
-
arg: string;
|
|
135
|
-
eq: string;
|
|
136
|
-
};
|
|
137
|
-
table: {
|
|
138
|
-
category: string;
|
|
139
|
-
};
|
|
140
113
|
};
|
|
141
114
|
width: {
|
|
142
115
|
control: {
|
|
143
116
|
type: string;
|
|
144
117
|
};
|
|
145
|
-
table: {
|
|
146
|
-
category: string;
|
|
147
|
-
};
|
|
148
118
|
};
|
|
149
|
-
|
|
119
|
+
view: {
|
|
120
|
+
options: any;
|
|
150
121
|
control: {
|
|
151
122
|
type: string;
|
|
152
123
|
};
|
|
153
|
-
table: {
|
|
154
|
-
category: string;
|
|
155
|
-
};
|
|
156
124
|
};
|
|
157
|
-
|
|
158
|
-
options:
|
|
125
|
+
size: {
|
|
126
|
+
options: any;
|
|
159
127
|
control: {
|
|
160
128
|
type: string;
|
|
161
129
|
};
|
|
162
|
-
table: {
|
|
163
|
-
category: string;
|
|
164
|
-
};
|
|
165
130
|
};
|
|
166
|
-
|
|
131
|
+
helperTextView: {
|
|
132
|
+
options: string[];
|
|
167
133
|
control: {
|
|
168
134
|
type: string;
|
|
169
135
|
};
|
|
170
|
-
table: {
|
|
171
|
-
category: string;
|
|
172
|
-
};
|
|
173
136
|
};
|
|
174
|
-
|
|
137
|
+
buttonType: {
|
|
175
138
|
options: string[];
|
|
176
139
|
control: {
|
|
177
140
|
type: string;
|
|
178
141
|
};
|
|
179
|
-
table: {
|
|
180
|
-
category: string;
|
|
181
|
-
};
|
|
182
142
|
};
|
|
183
|
-
|
|
143
|
+
disabled: {
|
|
184
144
|
control: {
|
|
185
145
|
type: string;
|
|
186
146
|
};
|
|
187
|
-
if: {
|
|
188
|
-
arg: string;
|
|
189
|
-
truthy: boolean;
|
|
190
|
-
};
|
|
191
|
-
table: {
|
|
192
|
-
category: string;
|
|
193
|
-
};
|
|
194
147
|
};
|
|
195
|
-
|
|
148
|
+
helperText: {
|
|
196
149
|
control: {
|
|
197
150
|
type: string;
|
|
198
151
|
};
|
|
199
|
-
table: {
|
|
200
|
-
category: string;
|
|
201
|
-
};
|
|
202
152
|
};
|
|
203
|
-
|
|
204
|
-
options: string[];
|
|
153
|
+
multiple: {
|
|
205
154
|
control: {
|
|
206
155
|
type: string;
|
|
207
156
|
};
|
|
208
|
-
table: {
|
|
209
|
-
category: string;
|
|
210
|
-
};
|
|
211
157
|
};
|
|
212
|
-
|
|
158
|
+
flow: {
|
|
213
159
|
options: string[];
|
|
214
160
|
control: {
|
|
215
161
|
type: string;
|
|
216
162
|
};
|
|
217
|
-
table: {
|
|
218
|
-
category: string;
|
|
219
|
-
};
|
|
220
163
|
};
|
|
221
|
-
|
|
164
|
+
hasAttachment: {
|
|
222
165
|
control: {
|
|
223
166
|
type: string;
|
|
224
167
|
};
|
|
@@ -226,17 +169,11 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
226
169
|
arg: string;
|
|
227
170
|
truthy: boolean;
|
|
228
171
|
};
|
|
229
|
-
table: {
|
|
230
|
-
category: string;
|
|
231
|
-
};
|
|
232
172
|
};
|
|
233
|
-
|
|
173
|
+
hideButtonOnAttach: {
|
|
234
174
|
control: {
|
|
235
175
|
type: string;
|
|
236
176
|
};
|
|
237
|
-
table: {
|
|
238
|
-
category: string;
|
|
239
|
-
};
|
|
240
177
|
};
|
|
241
178
|
};
|
|
242
179
|
};
|
|
@@ -18,7 +18,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
18
18
|
}
|
|
19
19
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
20
20
|
};
|
|
21
|
-
import { disableProps, InSpacingDecorator } from '../../index';
|
|
21
|
+
import { disableProps, InSpacingDecorator, exampleOnly } from '../../index';
|
|
22
22
|
import { flowOptions, fileFormatOptions, placements, triggers, buttonTypeVariants, helperTextViews } from './fixtures';
|
|
23
23
|
var commonDisabledArgs = [
|
|
24
24
|
'contentLeft',
|
|
@@ -41,110 +41,101 @@ export var createMeta = function (_a) {
|
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
43
|
args: __assign({ controlled: false, size: 'm', view: 'accent', width: '400px', fileFormat: 'all', multiple: false, flow: 'horizontal', hasAttachment: true, hideButtonOnAttach: false, buttonType: 'button', buttonText: 'Загрузить файл', buttonValue: '', enableContentLeft: false, enableContentRight: false, helperTextView: 'default', helperText: 'Подсказка', placement: 'bottom-start', trigger: 'click', listWidth: '300px', closeOnOverlayClick: true }, defaultArgs),
|
|
44
|
-
argTypes: __assign(__assign({
|
|
45
|
-
control: { type: 'boolean' },
|
|
46
|
-
table: { category: 'controlled variant' },
|
|
47
|
-
}, view: {
|
|
44
|
+
argTypes: __assign(__assign(__assign({ view: {
|
|
48
45
|
options: componentConfig.views,
|
|
49
46
|
control: {
|
|
50
47
|
type: 'select',
|
|
51
48
|
},
|
|
52
|
-
table: { category: 'variation' },
|
|
53
49
|
}, size: {
|
|
54
50
|
options: componentConfig.sizes,
|
|
55
51
|
control: {
|
|
56
52
|
type: 'select',
|
|
57
53
|
},
|
|
58
|
-
table: { category: 'variation' },
|
|
59
54
|
}, helperTextView: {
|
|
60
55
|
options: helperTextViews,
|
|
61
56
|
control: {
|
|
62
57
|
type: 'select',
|
|
63
58
|
},
|
|
64
|
-
table: { category: 'variation' },
|
|
65
59
|
}, buttonType: {
|
|
66
60
|
options: buttonTypeVariants,
|
|
67
61
|
control: {
|
|
68
62
|
type: 'select',
|
|
69
63
|
},
|
|
70
|
-
table: { category: 'variation' },
|
|
71
64
|
}, disabled: {
|
|
72
65
|
control: { type: 'boolean' },
|
|
73
|
-
|
|
74
|
-
|
|
66
|
+
}, helperText: {
|
|
67
|
+
control: { type: 'text' },
|
|
68
|
+
}, multiple: {
|
|
69
|
+
control: { type: 'boolean' },
|
|
70
|
+
}, flow: {
|
|
71
|
+
options: flowOptions,
|
|
72
|
+
control: {
|
|
73
|
+
type: 'select',
|
|
74
|
+
},
|
|
75
|
+
}, hasAttachment: {
|
|
76
|
+
control: {
|
|
77
|
+
type: 'boolean',
|
|
78
|
+
},
|
|
79
|
+
if: { arg: 'hideButtonOnAttach', truthy: false },
|
|
80
|
+
}, hideButtonOnAttach: {
|
|
81
|
+
control: { type: 'boolean' },
|
|
82
|
+
} }, exampleOnly({
|
|
83
|
+
controlled: {
|
|
84
|
+
control: { type: 'boolean' },
|
|
85
|
+
},
|
|
86
|
+
buttonText: {
|
|
75
87
|
control: {
|
|
76
88
|
type: 'text',
|
|
77
89
|
},
|
|
78
90
|
if: { arg: 'buttonType', eq: 'button' },
|
|
79
|
-
|
|
80
|
-
|
|
91
|
+
},
|
|
92
|
+
buttonValue: {
|
|
81
93
|
control: {
|
|
82
94
|
type: 'text',
|
|
83
95
|
},
|
|
84
96
|
if: { arg: 'buttonType', eq: 'button' },
|
|
85
|
-
|
|
86
|
-
|
|
97
|
+
},
|
|
98
|
+
enableContentLeft: {
|
|
87
99
|
control: {
|
|
88
100
|
type: 'boolean',
|
|
89
101
|
},
|
|
90
102
|
if: { arg: 'buttonType', eq: 'button' },
|
|
91
|
-
|
|
92
|
-
|
|
103
|
+
},
|
|
104
|
+
enableContentRight: {
|
|
93
105
|
control: {
|
|
94
106
|
type: 'boolean',
|
|
95
107
|
},
|
|
96
108
|
if: { arg: 'buttonType', eq: 'button' },
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
control: { type: 'text' },
|
|
100
|
-
table: { category: 'layout' },
|
|
101
|
-
}, helperText: {
|
|
102
|
-
control: { type: 'text' },
|
|
103
|
-
table: { category: 'layout' },
|
|
104
|
-
}, fileFormat: {
|
|
109
|
+
},
|
|
110
|
+
fileFormat: {
|
|
105
111
|
options: fileFormatOptions,
|
|
106
112
|
control: {
|
|
107
113
|
type: 'select',
|
|
108
114
|
},
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
control: { type: 'boolean' },
|
|
112
|
-
table: { category: 'file' },
|
|
113
|
-
}, flow: {
|
|
114
|
-
options: flowOptions,
|
|
115
|
-
control: {
|
|
116
|
-
type: 'select',
|
|
117
|
-
},
|
|
118
|
-
table: { category: 'layout' },
|
|
119
|
-
}, hasAttachment: {
|
|
120
|
-
control: {
|
|
121
|
-
type: 'boolean',
|
|
122
|
-
},
|
|
123
|
-
if: { arg: 'hideButtonOnAttach', truthy: false },
|
|
124
|
-
table: { category: 'layout' },
|
|
125
|
-
}, hideButtonOnAttach: {
|
|
126
|
-
control: { type: 'boolean' },
|
|
127
|
-
table: { category: 'layout' },
|
|
128
|
-
}, placement: {
|
|
115
|
+
},
|
|
116
|
+
placement: {
|
|
129
117
|
options: placements,
|
|
130
118
|
control: {
|
|
131
119
|
type: 'select',
|
|
132
120
|
},
|
|
133
|
-
|
|
134
|
-
|
|
121
|
+
},
|
|
122
|
+
trigger: {
|
|
135
123
|
options: triggers,
|
|
136
124
|
control: {
|
|
137
125
|
type: 'select',
|
|
138
126
|
},
|
|
139
|
-
|
|
140
|
-
|
|
127
|
+
},
|
|
128
|
+
closeOnOverlayClick: {
|
|
141
129
|
control: { type: 'boolean' },
|
|
142
130
|
if: { arg: 'alwaysOpened', truthy: false },
|
|
143
|
-
|
|
144
|
-
|
|
131
|
+
},
|
|
132
|
+
listWidth: {
|
|
145
133
|
control: { type: 'text' },
|
|
146
|
-
|
|
147
|
-
|
|
134
|
+
},
|
|
135
|
+
width: {
|
|
136
|
+
control: { type: 'text' },
|
|
137
|
+
},
|
|
138
|
+
})), additionalArgTypes), disableProps(__spreadArray(__spreadArray([], commonDisabledArgs, true), disablePropsList, true))),
|
|
148
139
|
};
|
|
149
140
|
};
|
|
150
141
|
//# sourceMappingURL=meta.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Attach/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Attach/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE5E,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,UAAU,EAAE,QAAQ,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAWvH,IAAM,kBAAkB,GAAG;IACvB,aAAa;IACb,cAAc;IACd,SAAS;IACT,qBAAqB;IACrB,MAAM;IACN,OAAO;IACP,iBAAiB;CACpB,CAAC;AAEF,MAAM,CAAC,IAAM,UAAU,GAAG,UAAC,EAOT;QANd,SAAS,eAAA,EACT,eAAe,qBAAA,EACf,aAA2B,EAA3B,KAAK,mBAAG,mBAAmB,KAAA,EAC3B,mBAAgB,EAAhB,WAAW,mBAAG,EAAE,KAA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BACR,OAAO,EAAE,iBAAiB;gBAC1B,OAAO,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACjB;aACJ;YACD,SAAS,EAAE;gBACP,OAAO,EAAE,UAAU;gBACnB,OAAO,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACjB;aACJ;YACD,OAAO,EAAE;gBACL,OAAO,EAAE,QAAQ;gBACjB,OAAO,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACjB;aACJ;YACD,mBAAmB,EAAE;gBACjB,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;gBAC5B,EAAE,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE;aAC7C;YACD,SAAS,EAAE;gBACP,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;aAC5B;YACD,KAAK,EAAE;gBACH,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;aAC5B;SACJ,CAAC,GACC,kBAAkB,GAClB,YAAY,iCAAK,kBAAkB,SAAK,gBAAgB,QAAE,CAChE;KACJ,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -23,70 +23,53 @@ export declare const getBadgeStories: (config: CreateBadgeStoriesProps) => {
|
|
|
23
23
|
maxWidth: string;
|
|
24
24
|
};
|
|
25
25
|
argTypes: {
|
|
26
|
-
|
|
27
|
-
options: any;
|
|
26
|
+
enableText: {
|
|
28
27
|
control: {
|
|
29
28
|
type: string;
|
|
30
29
|
};
|
|
31
|
-
table: {
|
|
32
|
-
category: string;
|
|
33
|
-
};
|
|
34
30
|
};
|
|
35
|
-
|
|
36
|
-
options: any;
|
|
31
|
+
enableContentLeft: {
|
|
37
32
|
control: {
|
|
38
33
|
type: string;
|
|
39
34
|
};
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
if: {
|
|
36
|
+
arg: string;
|
|
37
|
+
truthy: boolean;
|
|
42
38
|
};
|
|
43
39
|
};
|
|
44
|
-
|
|
45
|
-
options: string[];
|
|
40
|
+
enableContentRight: {
|
|
46
41
|
control: {
|
|
47
42
|
type: string;
|
|
48
43
|
};
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
if: {
|
|
45
|
+
arg: string;
|
|
46
|
+
truthy: boolean;
|
|
51
47
|
};
|
|
52
48
|
};
|
|
53
|
-
|
|
49
|
+
view: {
|
|
50
|
+
options: any;
|
|
54
51
|
control: {
|
|
55
52
|
type: string;
|
|
56
53
|
};
|
|
57
|
-
table: {
|
|
58
|
-
category: string;
|
|
59
|
-
};
|
|
60
54
|
};
|
|
61
|
-
|
|
55
|
+
size: {
|
|
56
|
+
options: any;
|
|
62
57
|
control: {
|
|
63
58
|
type: string;
|
|
64
59
|
};
|
|
65
|
-
if: {
|
|
66
|
-
arg: string;
|
|
67
|
-
truthy: boolean;
|
|
68
|
-
};
|
|
69
|
-
table: {
|
|
70
|
-
category: string;
|
|
71
|
-
};
|
|
72
60
|
};
|
|
73
|
-
|
|
61
|
+
appearance: {
|
|
62
|
+
options: string[];
|
|
74
63
|
control: {
|
|
75
64
|
type: string;
|
|
76
65
|
};
|
|
77
|
-
table: {
|
|
78
|
-
category: string;
|
|
79
|
-
};
|
|
80
66
|
};
|
|
81
|
-
|
|
67
|
+
pilled: {
|
|
82
68
|
control: {
|
|
83
69
|
type: string;
|
|
84
70
|
};
|
|
85
|
-
table: {
|
|
86
|
-
category: string;
|
|
87
|
-
};
|
|
88
71
|
};
|
|
89
|
-
|
|
72
|
+
text: {
|
|
90
73
|
control: {
|
|
91
74
|
type: string;
|
|
92
75
|
};
|
|
@@ -94,21 +77,11 @@ export declare const getBadgeStories: (config: CreateBadgeStoriesProps) => {
|
|
|
94
77
|
arg: string;
|
|
95
78
|
truthy: boolean;
|
|
96
79
|
};
|
|
97
|
-
table: {
|
|
98
|
-
category: string;
|
|
99
|
-
};
|
|
100
80
|
};
|
|
101
|
-
|
|
81
|
+
maxWidth: {
|
|
102
82
|
control: {
|
|
103
83
|
type: string;
|
|
104
84
|
};
|
|
105
|
-
if: {
|
|
106
|
-
arg: string;
|
|
107
|
-
truthy: boolean;
|
|
108
|
-
};
|
|
109
|
-
table: {
|
|
110
|
-
category: string;
|
|
111
|
-
};
|
|
112
85
|
};
|
|
113
86
|
};
|
|
114
87
|
};
|
|
@@ -22,70 +22,53 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
22
22
|
maxWidth: string;
|
|
23
23
|
};
|
|
24
24
|
argTypes: {
|
|
25
|
-
|
|
26
|
-
options: any;
|
|
25
|
+
enableText: {
|
|
27
26
|
control: {
|
|
28
27
|
type: string;
|
|
29
28
|
};
|
|
30
|
-
table: {
|
|
31
|
-
category: string;
|
|
32
|
-
};
|
|
33
29
|
};
|
|
34
|
-
|
|
35
|
-
options: any;
|
|
30
|
+
enableContentLeft: {
|
|
36
31
|
control: {
|
|
37
32
|
type: string;
|
|
38
33
|
};
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
if: {
|
|
35
|
+
arg: string;
|
|
36
|
+
truthy: boolean;
|
|
41
37
|
};
|
|
42
38
|
};
|
|
43
|
-
|
|
44
|
-
options: string[];
|
|
39
|
+
enableContentRight: {
|
|
45
40
|
control: {
|
|
46
41
|
type: string;
|
|
47
42
|
};
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
if: {
|
|
44
|
+
arg: string;
|
|
45
|
+
truthy: boolean;
|
|
50
46
|
};
|
|
51
47
|
};
|
|
52
|
-
|
|
48
|
+
view: {
|
|
49
|
+
options: any;
|
|
53
50
|
control: {
|
|
54
51
|
type: string;
|
|
55
52
|
};
|
|
56
|
-
table: {
|
|
57
|
-
category: string;
|
|
58
|
-
};
|
|
59
53
|
};
|
|
60
|
-
|
|
54
|
+
size: {
|
|
55
|
+
options: any;
|
|
61
56
|
control: {
|
|
62
57
|
type: string;
|
|
63
58
|
};
|
|
64
|
-
if: {
|
|
65
|
-
arg: string;
|
|
66
|
-
truthy: boolean;
|
|
67
|
-
};
|
|
68
|
-
table: {
|
|
69
|
-
category: string;
|
|
70
|
-
};
|
|
71
59
|
};
|
|
72
|
-
|
|
60
|
+
appearance: {
|
|
61
|
+
options: string[];
|
|
73
62
|
control: {
|
|
74
63
|
type: string;
|
|
75
64
|
};
|
|
76
|
-
table: {
|
|
77
|
-
category: string;
|
|
78
|
-
};
|
|
79
65
|
};
|
|
80
|
-
|
|
66
|
+
pilled: {
|
|
81
67
|
control: {
|
|
82
68
|
type: string;
|
|
83
69
|
};
|
|
84
|
-
table: {
|
|
85
|
-
category: string;
|
|
86
|
-
};
|
|
87
70
|
};
|
|
88
|
-
|
|
71
|
+
text: {
|
|
89
72
|
control: {
|
|
90
73
|
type: string;
|
|
91
74
|
};
|
|
@@ -93,21 +76,11 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
|
|
|
93
76
|
arg: string;
|
|
94
77
|
truthy: boolean;
|
|
95
78
|
};
|
|
96
|
-
table: {
|
|
97
|
-
category: string;
|
|
98
|
-
};
|
|
99
79
|
};
|
|
100
|
-
|
|
80
|
+
maxWidth: {
|
|
101
81
|
control: {
|
|
102
82
|
type: string;
|
|
103
83
|
};
|
|
104
|
-
if: {
|
|
105
|
-
arg: string;
|
|
106
|
-
truthy: boolean;
|
|
107
|
-
};
|
|
108
|
-
table: {
|
|
109
|
-
category: string;
|
|
110
|
-
};
|
|
111
84
|
};
|
|
112
85
|
};
|
|
113
86
|
};
|