@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.
Files changed (235) hide show
  1. package/lib/components/Accordion/Accordion.d.ts +5 -38
  2. package/lib/components/Accordion/meta.d.ts +5 -38
  3. package/lib/components/Accordion/meta.js +6 -15
  4. package/lib/components/Accordion/meta.js.map +1 -1
  5. package/lib/components/Attach/Attach.d.ts +38 -101
  6. package/lib/components/Attach/meta.d.ts +38 -101
  7. package/lib/components/Attach/meta.js +44 -53
  8. package/lib/components/Attach/meta.js.map +1 -1
  9. package/lib/components/Badge/Badge.d.ts +18 -45
  10. package/lib/components/Badge/meta.d.ts +18 -45
  11. package/lib/components/Badge/meta.js +10 -15
  12. package/lib/components/Badge/meta.js.map +1 -1
  13. package/lib/components/BottomSheet/BottomSheet.d.ts +11 -41
  14. package/lib/components/BottomSheet/meta.d.ts +11 -41
  15. package/lib/components/BottomSheet/meta.js +10 -16
  16. package/lib/components/BottomSheet/meta.js.map +1 -1
  17. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -12
  18. package/lib/components/Breadcrumbs/meta.d.ts +0 -12
  19. package/lib/components/Breadcrumbs/meta.js +0 -4
  20. package/lib/components/Breadcrumbs/meta.js.map +1 -1
  21. package/lib/components/Button/Button.d.ts +15 -51
  22. package/lib/components/Button/meta.d.ts +15 -51
  23. package/lib/components/Button/meta.js +10 -18
  24. package/lib/components/Button/meta.js.map +1 -1
  25. package/lib/components/Calendar/Calendar.d.ts +26 -5
  26. package/lib/components/Calendar/meta.d.ts +26 -5
  27. package/lib/components/Calendar/meta.js +15 -7
  28. package/lib/components/Calendar/meta.js.map +1 -1
  29. package/lib/components/Calendar/stories.d.ts +2 -2
  30. package/lib/components/Calendar/stories.js +4 -4
  31. package/lib/components/Calendar/stories.js.map +1 -1
  32. package/lib/components/Carousel/Carousel.d.ts +27 -12
  33. package/lib/components/Carousel/Carousel.js +14 -1
  34. package/lib/components/Carousel/Carousel.js.map +1 -1
  35. package/lib/components/Carousel/meta.d.ts +16 -12
  36. package/lib/components/Carousel/meta.js +19 -12
  37. package/lib/components/Carousel/meta.js.map +1 -1
  38. package/lib/components/Carousel/stories.d.ts +1 -0
  39. package/lib/components/Carousel/stories.js +43 -1
  40. package/lib/components/Carousel/stories.js.map +1 -1
  41. package/lib/components/Chip/Chip.d.ts +10 -43
  42. package/lib/components/Chip/meta.d.ts +10 -43
  43. package/lib/components/Chip/meta.js +8 -16
  44. package/lib/components/Chip/meta.js.map +1 -1
  45. package/lib/components/CodeArea/CodeArea.d.ts +16 -46
  46. package/lib/components/CodeArea/meta.d.ts +16 -46
  47. package/lib/components/CodeArea/meta.js +16 -20
  48. package/lib/components/CodeArea/meta.js.map +1 -1
  49. package/lib/components/CodeField/CodeField.d.ts +0 -46
  50. package/lib/components/CodeField/meta.d.ts +0 -46
  51. package/lib/components/CodeField/meta.js +0 -15
  52. package/lib/components/CodeField/meta.js.map +1 -1
  53. package/lib/components/CodeInput/CodeInput.d.ts +0 -40
  54. package/lib/components/CodeInput/meta.d.ts +0 -40
  55. package/lib/components/CodeInput/meta.js +0 -13
  56. package/lib/components/CodeInput/meta.js.map +1 -1
  57. package/lib/components/Combobox/Combobox.d.ts +10 -90
  58. package/lib/components/Combobox/meta.d.ts +10 -90
  59. package/lib/components/Combobox/meta.js +6 -33
  60. package/lib/components/Combobox/meta.js.map +1 -1
  61. package/lib/components/DatePicker/DatePicker.d.ts +135 -58
  62. package/lib/components/DatePicker/fixtures.d.ts +1 -0
  63. package/lib/components/DatePicker/fixtures.js +1 -0
  64. package/lib/components/DatePicker/fixtures.js.map +1 -1
  65. package/lib/components/DatePicker/meta.d.ts +135 -58
  66. package/lib/components/DatePicker/meta.js +70 -79
  67. package/lib/components/DatePicker/meta.js.map +1 -1
  68. package/lib/components/DateTimePicker/DateTimePicker.d.ts +31 -158
  69. package/lib/components/DateTimePicker/fixtures.d.ts +1 -0
  70. package/lib/components/DateTimePicker/fixtures.js +1 -0
  71. package/lib/components/DateTimePicker/fixtures.js.map +1 -1
  72. package/lib/components/DateTimePicker/meta.d.ts +31 -158
  73. package/lib/components/DateTimePicker/meta.js +22 -59
  74. package/lib/components/DateTimePicker/meta.js.map +1 -1
  75. package/lib/components/Drawer/Drawer.d.ts +32 -78
  76. package/lib/components/Drawer/meta.d.ts +32 -78
  77. package/lib/components/Drawer/meta.js +26 -33
  78. package/lib/components/Drawer/meta.js.map +1 -1
  79. package/lib/components/Dropdown/fixtures.js +15 -1
  80. package/lib/components/Dropdown/fixtures.js.map +1 -1
  81. package/lib/components/Dropdown/meta.js +1 -1
  82. package/lib/components/Dropdown/meta.js.map +1 -1
  83. package/lib/components/Dropzone/Dropzone.d.ts +0 -33
  84. package/lib/components/Dropzone/meta.d.ts +0 -33
  85. package/lib/components/Dropzone/meta.js +0 -11
  86. package/lib/components/Dropzone/meta.js.map +1 -1
  87. package/lib/components/EmbeddedButton/EmbeddedButton.d.ts +0 -21
  88. package/lib/components/EmbeddedButton/meta.d.ts +0 -21
  89. package/lib/components/EmbeddedButton/meta.js +10 -14
  90. package/lib/components/EmbeddedButton/meta.js.map +1 -1
  91. package/lib/components/File/File.d.ts +11 -6
  92. package/lib/components/File/meta.d.ts +11 -6
  93. package/lib/components/File/meta.js +9 -6
  94. package/lib/components/File/meta.js.map +1 -1
  95. package/lib/components/InformationWrapper/InformationWrapper.d.ts +10 -73
  96. package/lib/components/InformationWrapper/meta.d.ts +10 -73
  97. package/lib/components/InformationWrapper/meta.js +10 -28
  98. package/lib/components/InformationWrapper/meta.js.map +1 -1
  99. package/lib/components/Link/Link.d.ts +5 -23
  100. package/lib/components/Link/meta.d.ts +5 -23
  101. package/lib/components/Link/meta.js +7 -11
  102. package/lib/components/Link/meta.js.map +1 -1
  103. package/lib/components/Note/Note.d.ts +15 -54
  104. package/lib/components/Note/meta.d.ts +15 -54
  105. package/lib/components/Note/meta.js +13 -22
  106. package/lib/components/Note/meta.js.map +1 -1
  107. package/lib/components/NumberFormat/NumberFormat.d.ts +0 -84
  108. package/lib/components/NumberFormat/meta.d.ts +0 -84
  109. package/lib/components/NumberFormat/meta.js +0 -28
  110. package/lib/components/NumberFormat/meta.js.map +1 -1
  111. package/lib/components/NumberInput/NumberInput.d.ts +0 -72
  112. package/lib/components/NumberInput/meta.d.ts +0 -72
  113. package/lib/components/NumberInput/meta.js +0 -24
  114. package/lib/components/NumberInput/meta.js.map +1 -1
  115. package/lib/components/Pagination/Pagination.d.ts +15 -64
  116. package/lib/components/Pagination/meta.d.ts +15 -64
  117. package/lib/components/Pagination/meta.js +9 -22
  118. package/lib/components/Pagination/meta.js.map +1 -1
  119. package/lib/components/Popover/Popover.d.ts +10 -67
  120. package/lib/components/Popover/meta.d.ts +10 -40
  121. package/lib/components/Popover/meta.js +8 -15
  122. package/lib/components/Popover/meta.js.map +1 -1
  123. package/lib/components/Popover/stories.d.ts +0 -27
  124. package/lib/components/Popover/stories.js +3 -11
  125. package/lib/components/Popover/stories.js.map +1 -1
  126. package/lib/components/Progress/Progress.d.ts +5 -41
  127. package/lib/components/Progress/meta.d.ts +5 -41
  128. package/lib/components/Progress/meta.js +7 -17
  129. package/lib/components/Progress/meta.js.map +1 -1
  130. package/lib/components/Range/Range.d.ts +47 -12
  131. package/lib/components/Range/meta.d.ts +47 -12
  132. package/lib/components/Range/meta.js +15 -5
  133. package/lib/components/Range/meta.js.map +1 -1
  134. package/lib/components/Rating/Rating.d.ts +0 -33
  135. package/lib/components/Rating/meta.d.ts +0 -33
  136. package/lib/components/Rating/meta.js +0 -11
  137. package/lib/components/Rating/meta.js.map +1 -1
  138. package/lib/components/Segment/meta.js +13 -9
  139. package/lib/components/Segment/meta.js.map +1 -1
  140. package/lib/components/Select/Select.d.ts +11 -269
  141. package/lib/components/Select/Select.js +13 -1
  142. package/lib/components/Select/Select.js.map +1 -1
  143. package/lib/components/Select/meta.d.ts +15 -2
  144. package/lib/components/Select/meta.js +16 -7
  145. package/lib/components/Select/meta.js.map +1 -1
  146. package/lib/components/Slider/Slider.d.ts +19 -97
  147. package/lib/components/Slider/meta.d.ts +19 -94
  148. package/lib/components/Slider/meta.js +15 -36
  149. package/lib/components/Slider/meta.js.map +1 -1
  150. package/lib/components/Slider/stories.d.ts +0 -3
  151. package/lib/components/Slider/stories.js +0 -1
  152. package/lib/components/Slider/stories.js.map +1 -1
  153. package/lib/components/Steps/Steps.d.ts +25 -73
  154. package/lib/components/Steps/meta.d.ts +25 -73
  155. package/lib/components/Steps/meta.js +22 -31
  156. package/lib/components/Steps/meta.js.map +1 -1
  157. package/lib/components/Table/Table.d.ts +6 -6
  158. package/lib/components/Table/meta.d.ts +6 -6
  159. package/lib/components/Table/meta.js +8 -4
  160. package/lib/components/Table/meta.js.map +1 -1
  161. package/lib/components/Tabs/Tabs.d.ts +48 -144
  162. package/lib/components/Tabs/meta.d.ts +24 -72
  163. package/lib/components/Tabs/meta.js +21 -31
  164. package/lib/components/Tabs/meta.js.map +1 -1
  165. package/lib/components/TextArea/TextArea.d.ts +19 -121
  166. package/lib/components/TextArea/meta.d.ts +19 -121
  167. package/lib/components/TextArea/meta.js +14 -44
  168. package/lib/components/TextArea/meta.js.map +1 -1
  169. package/lib/components/TextField/TextField.d.ts +15 -108
  170. package/lib/components/TextField/meta.d.ts +15 -108
  171. package/lib/components/TextField/meta.js +13 -40
  172. package/lib/components/TextField/meta.js.map +1 -1
  173. package/lib/components/TextFieldSlider/TextFieldSlider.d.ts +25 -148
  174. package/lib/components/TextFieldSlider/meta.d.ts +25 -148
  175. package/lib/components/TextFieldSlider/meta.js +19 -54
  176. package/lib/components/TextFieldSlider/meta.js.map +1 -1
  177. package/lib/components/TimePicker/TimePicker.d.ts +21 -129
  178. package/lib/components/TimePicker/meta.d.ts +21 -129
  179. package/lib/components/TimePicker/meta.js +16 -48
  180. package/lib/components/TimePicker/meta.js.map +1 -1
  181. package/lib/components/Tour/Tour.d.ts +5 -35
  182. package/lib/components/Tour/meta.d.ts +5 -35
  183. package/lib/components/Tour/meta.js +7 -15
  184. package/lib/components/Tour/meta.js.map +1 -1
  185. package/lib/components/_ai/Answer/Answer.d.ts +7 -34
  186. package/lib/components/_ai/Answer/meta.d.ts +7 -34
  187. package/lib/components/_ai/Answer/meta.js +13 -19
  188. package/lib/components/_ai/Answer/meta.js.map +1 -1
  189. package/lib/components/_ai/Container/Container.d.ts +26 -80
  190. package/lib/components/_ai/Container/meta.d.ts +26 -80
  191. package/lib/components/_ai/Container/meta.js +34 -48
  192. package/lib/components/_ai/Container/meta.js.map +1 -1
  193. package/lib/components/_ai/Header/Header.d.ts +8 -32
  194. package/lib/components/_ai/Header/meta.d.ts +8 -32
  195. package/lib/components/_ai/Header/meta.js +8 -13
  196. package/lib/components/_ai/Header/meta.js.map +1 -1
  197. package/lib/components/_ai/Input/Input.d.ts +8 -41
  198. package/lib/components/_ai/Input/meta.d.ts +8 -41
  199. package/lib/components/_ai/Input/meta.js +8 -16
  200. package/lib/components/_ai/Input/meta.js.map +1 -1
  201. package/lib/components/_ai/Markdown/Markdown.d.ts +4 -4
  202. package/lib/components/_ai/Markdown/meta.d.ts +4 -4
  203. package/lib/components/_ai/Markdown/meta.js +7 -5
  204. package/lib/components/_ai/Markdown/meta.js.map +1 -1
  205. package/lib/components/_ai/UserMessage/UserMessage.d.ts +11 -29
  206. package/lib/components/_ai/UserMessage/meta.d.ts +11 -29
  207. package/lib/components/_ai/UserMessage/meta.js +8 -11
  208. package/lib/components/_ai/UserMessage/meta.js.map +1 -1
  209. package/lib/components/_ai/UserMessage/stories.js +2 -2
  210. package/lib/components/_ai/UserMessage/stories.js.map +1 -1
  211. package/lib/components/index.d.ts +0 -1
  212. package/lib/components/index.js +0 -1
  213. package/lib/components/index.js.map +1 -1
  214. package/lib/helpers/exampleOnly.d.ts +14 -0
  215. package/lib/helpers/exampleOnly.js +28 -0
  216. package/lib/helpers/exampleOnly.js.map +1 -0
  217. package/lib/helpers/index.d.ts +1 -0
  218. package/lib/helpers/index.js +1 -0
  219. package/lib/helpers/index.js.map +1 -1
  220. package/package.json +7 -7
  221. package/lib/components/Spinner/Spinner.d.ts +0 -59
  222. package/lib/components/Spinner/Spinner.js +0 -42
  223. package/lib/components/Spinner/Spinner.js.map +0 -1
  224. package/lib/components/Spinner/fixtures.d.ts +0 -1
  225. package/lib/components/Spinner/fixtures.js +0 -2
  226. package/lib/components/Spinner/fixtures.js.map +0 -1
  227. package/lib/components/Spinner/index.d.ts +0 -1
  228. package/lib/components/Spinner/index.js +0 -2
  229. package/lib/components/Spinner/index.js.map +0 -1
  230. package/lib/components/Spinner/meta.d.ts +0 -47
  231. package/lib/components/Spinner/meta.js +0 -45
  232. package/lib/components/Spinner/meta.js.map +0 -1
  233. package/lib/components/Spinner/stories.d.ts +0 -7
  234. package/lib/components/Spinner/stories.js +0 -60
  235. package/lib/components/Spinner/stories.js.map +0 -1
@@ -34,70 +34,64 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
34
34
  dividerAlign: string;
35
35
  };
36
36
  argTypes: {
37
- orientation: {
38
- options: string[];
37
+ hasAction: {
39
38
  control: {
40
39
  type: string;
41
40
  };
42
- table: {
43
- category: string;
44
- };
45
41
  };
46
- size: {
47
- options: string[];
42
+ helperText: {
48
43
  control: {
49
44
  type: string;
50
45
  };
51
- table: {
52
- category: string;
53
- };
54
46
  };
55
- disabled: {
47
+ itemQuantity: {
56
48
  control: {
57
49
  type: string;
58
50
  };
59
- table: {
60
- category: string;
61
- };
62
51
  };
63
- disableScroll: {
52
+ width: {
64
53
  control: {
65
54
  type: string;
66
55
  };
67
- table: {
68
- category: string;
56
+ if: {
57
+ arg: string;
58
+ eq: string;
69
59
  };
70
60
  };
71
- hasDivider: {
61
+ height: {
72
62
  control: {
73
63
  type: string;
74
64
  };
75
- table: {
76
- category: string;
65
+ if: {
66
+ arg: string;
67
+ eq: string;
77
68
  };
78
69
  };
79
- hasAction: {
70
+ orientation: {
71
+ options: string[];
80
72
  control: {
81
73
  type: string;
82
74
  };
83
- table: {
84
- category: string;
85
- };
86
75
  };
87
- helperText: {
76
+ size: {
77
+ options: string[];
88
78
  control: {
89
79
  type: string;
90
80
  };
91
- table: {
92
- category: string;
81
+ };
82
+ disabled: {
83
+ control: {
84
+ type: string;
93
85
  };
94
86
  };
95
- itemQuantity: {
87
+ disableScroll: {
96
88
  control: {
97
89
  type: string;
98
90
  };
99
- table: {
100
- category: string;
91
+ };
92
+ hasDivider: {
93
+ control: {
94
+ type: string;
101
95
  };
102
96
  };
103
97
  stretch: {
@@ -108,9 +102,6 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
108
102
  arg: string;
109
103
  eq: string;
110
104
  };
111
- table: {
112
- category: string;
113
- };
114
105
  };
115
106
  maxItemWidth: {
116
107
  control: {
@@ -120,9 +111,6 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
120
111
  arg: string;
121
112
  truthy: boolean;
122
113
  };
123
- table: {
124
- category: string;
125
- };
126
114
  };
127
115
  clip: {
128
116
  options: string[];
@@ -133,42 +121,12 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
133
121
  arg: string;
134
122
  truthy: boolean;
135
123
  };
136
- table: {
137
- category: string;
138
- };
139
- };
140
- width: {
141
- control: {
142
- type: string;
143
- };
144
- if: {
145
- arg: string;
146
- eq: string;
147
- };
148
- table: {
149
- category: string;
150
- };
151
- };
152
- height: {
153
- control: {
154
- type: string;
155
- };
156
- if: {
157
- arg: string;
158
- eq: string;
159
- };
160
- table: {
161
- category: string;
162
- };
163
124
  };
164
125
  contentLeft: {
165
126
  options: string[];
166
127
  control: {
167
128
  type: string;
168
129
  };
169
- table: {
170
- category: string;
171
- };
172
130
  };
173
131
  contentRight: {
174
132
  options: string[];
@@ -179,9 +137,6 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
179
137
  arg: string;
180
138
  eq: string;
181
139
  };
182
- table: {
183
- category: string;
184
- };
185
140
  };
186
141
  dividerAlign: {
187
142
  options: string[];
@@ -192,9 +147,6 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
192
147
  arg: string;
193
148
  eq: string;
194
149
  };
195
- table: {
196
- category: string;
197
- };
198
150
  };
199
151
  };
200
152
  };
@@ -223,70 +175,64 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
223
175
  dividerAlign: string;
224
176
  };
225
177
  argTypes: {
226
- orientation: {
227
- options: string[];
178
+ hasAction: {
228
179
  control: {
229
180
  type: string;
230
181
  };
231
- table: {
232
- category: string;
233
- };
234
182
  };
235
- size: {
236
- options: string[];
183
+ helperText: {
237
184
  control: {
238
185
  type: string;
239
186
  };
240
- table: {
241
- category: string;
242
- };
243
187
  };
244
- disabled: {
188
+ itemQuantity: {
245
189
  control: {
246
190
  type: string;
247
191
  };
248
- table: {
249
- category: string;
250
- };
251
192
  };
252
- disableScroll: {
193
+ width: {
253
194
  control: {
254
195
  type: string;
255
196
  };
256
- table: {
257
- category: string;
197
+ if: {
198
+ arg: string;
199
+ eq: string;
258
200
  };
259
201
  };
260
- hasDivider: {
202
+ height: {
261
203
  control: {
262
204
  type: string;
263
205
  };
264
- table: {
265
- category: string;
206
+ if: {
207
+ arg: string;
208
+ eq: string;
266
209
  };
267
210
  };
268
- hasAction: {
211
+ orientation: {
212
+ options: string[];
269
213
  control: {
270
214
  type: string;
271
215
  };
272
- table: {
273
- category: string;
274
- };
275
216
  };
276
- helperText: {
217
+ size: {
218
+ options: string[];
277
219
  control: {
278
220
  type: string;
279
221
  };
280
- table: {
281
- category: string;
222
+ };
223
+ disabled: {
224
+ control: {
225
+ type: string;
282
226
  };
283
227
  };
284
- itemQuantity: {
228
+ disableScroll: {
285
229
  control: {
286
230
  type: string;
287
231
  };
288
- table: {
289
- category: string;
232
+ };
233
+ hasDivider: {
234
+ control: {
235
+ type: string;
290
236
  };
291
237
  };
292
238
  stretch: {
@@ -297,9 +243,6 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
297
243
  arg: string;
298
244
  eq: string;
299
245
  };
300
- table: {
301
- category: string;
302
- };
303
246
  };
304
247
  maxItemWidth: {
305
248
  control: {
@@ -309,9 +252,6 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
309
252
  arg: string;
310
253
  truthy: boolean;
311
254
  };
312
- table: {
313
- category: string;
314
- };
315
255
  };
316
256
  clip: {
317
257
  options: string[];
@@ -322,42 +262,12 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
322
262
  arg: string;
323
263
  truthy: boolean;
324
264
  };
325
- table: {
326
- category: string;
327
- };
328
- };
329
- width: {
330
- control: {
331
- type: string;
332
- };
333
- if: {
334
- arg: string;
335
- eq: string;
336
- };
337
- table: {
338
- category: string;
339
- };
340
- };
341
- height: {
342
- control: {
343
- type: string;
344
- };
345
- if: {
346
- arg: string;
347
- eq: string;
348
- };
349
- table: {
350
- category: string;
351
- };
352
265
  };
353
266
  contentLeft: {
354
267
  options: string[];
355
268
  control: {
356
269
  type: string;
357
270
  };
358
- table: {
359
- category: string;
360
- };
361
271
  };
362
272
  contentRight: {
363
273
  options: string[];
@@ -368,9 +278,6 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
368
278
  arg: string;
369
279
  eq: string;
370
280
  };
371
- table: {
372
- category: string;
373
- };
374
281
  };
375
282
  dividerAlign: {
376
283
  options: string[];
@@ -381,9 +288,6 @@ export declare const getTabsStories: (config: CreateTabsStoriesProps) => {
381
288
  arg: string;
382
289
  eq: string;
383
290
  };
384
- table: {
385
- category: string;
386
- };
387
291
  };
388
292
  };
389
293
  };
@@ -29,70 +29,64 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
29
29
  dividerAlign: string;
30
30
  };
31
31
  argTypes: {
32
- orientation: {
33
- options: string[];
32
+ hasAction: {
34
33
  control: {
35
34
  type: string;
36
35
  };
37
- table: {
38
- category: string;
39
- };
40
36
  };
41
- size: {
42
- options: string[];
37
+ helperText: {
43
38
  control: {
44
39
  type: string;
45
40
  };
46
- table: {
47
- category: string;
48
- };
49
41
  };
50
- disabled: {
42
+ itemQuantity: {
51
43
  control: {
52
44
  type: string;
53
45
  };
54
- table: {
55
- category: string;
56
- };
57
46
  };
58
- disableScroll: {
47
+ width: {
59
48
  control: {
60
49
  type: string;
61
50
  };
62
- table: {
63
- category: string;
51
+ if: {
52
+ arg: string;
53
+ eq: string;
64
54
  };
65
55
  };
66
- hasDivider: {
56
+ height: {
67
57
  control: {
68
58
  type: string;
69
59
  };
70
- table: {
71
- category: string;
60
+ if: {
61
+ arg: string;
62
+ eq: string;
72
63
  };
73
64
  };
74
- hasAction: {
65
+ orientation: {
66
+ options: string[];
75
67
  control: {
76
68
  type: string;
77
69
  };
78
- table: {
79
- category: string;
80
- };
81
70
  };
82
- helperText: {
71
+ size: {
72
+ options: string[];
83
73
  control: {
84
74
  type: string;
85
75
  };
86
- table: {
87
- category: string;
76
+ };
77
+ disabled: {
78
+ control: {
79
+ type: string;
88
80
  };
89
81
  };
90
- itemQuantity: {
82
+ disableScroll: {
91
83
  control: {
92
84
  type: string;
93
85
  };
94
- table: {
95
- category: string;
86
+ };
87
+ hasDivider: {
88
+ control: {
89
+ type: string;
96
90
  };
97
91
  };
98
92
  stretch: {
@@ -103,9 +97,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
103
97
  arg: string;
104
98
  eq: string;
105
99
  };
106
- table: {
107
- category: string;
108
- };
109
100
  };
110
101
  maxItemWidth: {
111
102
  control: {
@@ -115,9 +106,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
115
106
  arg: string;
116
107
  truthy: boolean;
117
108
  };
118
- table: {
119
- category: string;
120
- };
121
109
  };
122
110
  clip: {
123
111
  options: string[];
@@ -128,42 +116,12 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
128
116
  arg: string;
129
117
  truthy: boolean;
130
118
  };
131
- table: {
132
- category: string;
133
- };
134
- };
135
- width: {
136
- control: {
137
- type: string;
138
- };
139
- if: {
140
- arg: string;
141
- eq: string;
142
- };
143
- table: {
144
- category: string;
145
- };
146
- };
147
- height: {
148
- control: {
149
- type: string;
150
- };
151
- if: {
152
- arg: string;
153
- eq: string;
154
- };
155
- table: {
156
- category: string;
157
- };
158
119
  };
159
120
  contentLeft: {
160
121
  options: string[];
161
122
  control: {
162
123
  type: string;
163
124
  };
164
- table: {
165
- category: string;
166
- };
167
125
  };
168
126
  contentRight: {
169
127
  options: string[];
@@ -174,9 +132,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
174
132
  arg: string;
175
133
  eq: string;
176
134
  };
177
- table: {
178
- category: string;
179
- };
180
135
  };
181
136
  dividerAlign: {
182
137
  options: string[];
@@ -187,9 +142,6 @@ export declare const createMeta: ({ component, componentConfig, title, defaultAr
187
142
  arg: string;
188
143
  eq: string;
189
144
  };
190
- table: {
191
- category: string;
192
- };
193
145
  };
194
146
  };
195
147
  };
@@ -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 { getConfigVariations } from '../../helpers';
23
23
  import { orientations, clips, contentLeftOptions, contentRightOptions, dividerAligns, splitSizes } from './fixtures';
24
24
  var commonDisabledArgs = [
@@ -39,68 +39,58 @@ export var createMeta = function (_a) {
39
39
  decorators: [InSpacingDecorator],
40
40
  component: component,
41
41
  args: __assign({ size: regularSizes[0], orientation: 'horizontal', disabled: false, disableScroll: false, hasDivider: true, hasAction: false, helperText: '', itemQuantity: 6, stretch: false, width: '15rem', height: '10rem', maxItemWidth: '', dividerAlign: 'left' }, defaultArgs),
42
- argTypes: __assign(__assign({ orientation: {
42
+ argTypes: __assign(__assign(__assign({ orientation: {
43
43
  options: orientations,
44
44
  control: { type: 'select' },
45
- table: { category: 'variation' },
46
45
  }, size: {
47
46
  options: regularSizes,
48
47
  control: { type: 'select' },
49
- table: { category: 'variation' },
50
48
  }, disabled: {
51
49
  control: { type: 'boolean' },
52
- table: { category: 'variation' },
53
50
  }, disableScroll: {
54
51
  control: { type: 'boolean' },
55
- table: { category: 'variation' },
56
52
  }, hasDivider: {
57
53
  control: { type: 'boolean' },
58
- table: { category: 'layout' },
59
- }, hasAction: {
60
- control: { type: 'boolean' },
61
- table: { category: 'layout' },
62
- }, helperText: {
63
- control: { type: 'text' },
64
- table: { category: 'layout' },
65
- }, itemQuantity: {
66
- control: { type: 'number' },
67
- table: { category: 'layout' },
68
54
  }, stretch: {
69
55
  control: { type: 'boolean' },
70
56
  if: { arg: 'orientation', eq: 'horizontal' },
71
- table: { category: 'layout' },
72
57
  }, maxItemWidth: {
73
58
  control: { type: 'text' },
74
59
  if: { arg: 'stretch', truthy: false },
75
- table: { category: 'layout' },
76
60
  }, clip: {
77
61
  options: clips,
78
62
  control: { type: 'select' },
79
63
  if: { arg: 'stretch', truthy: false },
80
- table: { category: 'layout' },
81
- }, width: {
82
- control: { type: 'text' },
83
- if: { arg: 'clip', eq: 'scroll' },
84
- table: { category: 'layout' },
85
- }, height: {
86
- control: { type: 'text' },
87
- if: { arg: 'clip', eq: 'scroll' },
88
- table: { category: 'layout' },
89
64
  }, contentLeft: {
90
65
  options: contentLeftOptions,
91
66
  control: { type: 'select' },
92
- table: { category: 'layout' },
93
67
  }, contentRight: {
94
68
  options: contentRightOptions,
95
69
  control: { type: 'select' },
96
70
  if: { arg: 'helperText', eq: '' },
97
- table: { category: 'layout' },
98
71
  }, dividerAlign: {
99
72
  options: dividerAligns,
100
73
  control: { type: 'select' },
101
74
  if: { arg: 'orientation', eq: 'vertical' },
102
- table: { category: 'layout' },
103
- } }, additionalArgTypes), disableProps(__spreadArray(__spreadArray([], commonDisabledArgs, true), disablePropsList, true))),
75
+ } }, exampleOnly({
76
+ hasAction: {
77
+ control: { type: 'boolean' },
78
+ },
79
+ helperText: {
80
+ control: { type: 'text' },
81
+ },
82
+ itemQuantity: {
83
+ control: { type: 'number' },
84
+ },
85
+ width: {
86
+ control: { type: 'text' },
87
+ if: { arg: 'clip', eq: 'scroll' },
88
+ },
89
+ height: {
90
+ control: { type: 'text' },
91
+ if: { arg: 'clip', eq: 'scroll' },
92
+ },
93
+ })), additionalArgTypes), disableProps(__spreadArray(__spreadArray([], commonDisabledArgs, true), disablePropsList, true))),
104
94
  };
105
95
  };
106
96
  //# sourceMappingURL=meta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/components/Tabs/meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAWrH,IAAM,kBAAkB,GAAG;IACvB,oBAAoB;IACpB,QAAQ;IACR,UAAU;IACV,MAAM;IACN,IAAI;IACJ,aAAa;IACb,eAAe;IACf,OAAO;CACV,CAAC;AAEF,MAAM,CAAC,IAAM,UAAU,GAAG,UAAC,EAOT;QANd,SAAS,eAAA,EACT,eAAe,qBAAA,EACf,aAAyB,EAAzB,KAAK,mBAAG,iBAAiB,KAAA,EACzB,mBAAgB,EAAhB,WAAW,mBAAG,EAAE,KAAA,EAChB,0BAAuB,EAAvB,kBAAkB,mBAAG,EAAE,KAAA,EACvB,wBAAqB,EAArB,gBAAgB,mBAAG,EAAE,KAAA;IAEb,IAAA,YAAY,GAAK,UAAU,CAAC,mBAAmB,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,aAAtE,CAAuE;IAE3F,OAAO;QACH,KAAK,OAAA;QACL,UAAU,EAAE,CAAC,kBAAkB,CAAC;QAChC,SAAS,WAAA;QACT,IAAI,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