@dxtmisha/wiki 0.25.1 → 0.39.1
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/package.json +2 -2
- package/src/classes/WikiStorybook.ts +92 -1
- package/src/classes/WikiStorybookItem.ts +55 -5
- package/src/classes/WikiStorybookProp.ts +109 -0
- package/src/library.ts +1 -0
- package/src/media/descriptions/wikiDescriptions.ts +4 -0
- package/src/media/descriptions/wikiDescriptionsAccordion.ts +46 -0
- package/src/media/descriptions/wikiDescriptionsActionSheet.ts +53 -0
- package/src/media/descriptions/wikiDescriptionsActions.ts +28 -0
- package/src/media/descriptions/wikiDescriptionsAnchor.ts +36 -0
- package/src/media/descriptions/wikiDescriptionsArrow.ts +33 -0
- package/src/media/descriptions/wikiDescriptionsBadge.ts +43 -0
- package/src/media/descriptions/wikiDescriptionsBars.ts +33 -0
- package/src/media/descriptions/wikiDescriptionsBlock.ts +67 -5
- package/src/media/descriptions/wikiDescriptionsButton.ts +32 -0
- package/src/media/descriptions/wikiDescriptionsCell.ts +24 -0
- package/src/media/descriptions/wikiDescriptionsChip.ts +42 -0
- package/src/media/descriptions/wikiDescriptionsChipGroup.ts +45 -14
- package/src/media/descriptions/wikiDescriptionsDialog.ts +44 -0
- package/src/media/descriptions/wikiDescriptionsField.ts +55 -2
- package/src/media/descriptions/wikiDescriptionsFieldCounter.ts +32 -0
- package/src/media/descriptions/wikiDescriptionsFieldLabel.ts +22 -0
- package/src/media/descriptions/wikiDescriptionsFieldMessage.ts +25 -0
- package/src/media/descriptions/wikiDescriptionsIcon.ts +46 -8
- package/src/media/descriptions/wikiDescriptionsImage.ts +50 -1
- package/src/media/descriptions/wikiDescriptionsInput.ts +56 -0
- package/src/media/descriptions/wikiDescriptionsList.ts +31 -0
- package/src/media/descriptions/wikiDescriptionsListGroup.ts +57 -0
- package/src/media/descriptions/wikiDescriptionsListItem.ts +42 -0
- package/src/media/descriptions/wikiDescriptionsListMenu.ts +41 -0
- package/src/media/descriptions/wikiDescriptionsMask.ts +42 -0
- package/src/media/descriptions/wikiDescriptionsMenu.ts +56 -0
- package/src/media/descriptions/wikiDescriptionsModal.ts +61 -6
- package/src/media/descriptions/wikiDescriptionsMotionTransform.ts +57 -0
- package/src/media/descriptions/wikiDescriptionsPage.ts +155 -0
- package/src/media/descriptions/wikiDescriptionsProgress.ts +39 -0
- package/src/media/descriptions/wikiDescriptionsRipple.ts +42 -3
- package/src/media/descriptions/wikiDescriptionsScrollbar.ts +48 -0
- package/src/media/descriptions/wikiDescriptionsSection.ts +152 -0
- package/src/media/descriptions/wikiDescriptionsSelect.ts +44 -0
- package/src/media/descriptions/wikiDescriptionsSelectValue.ts +29 -0
- package/src/media/descriptions/wikiDescriptionsSkeleton.ts +42 -1
- package/src/media/descriptions/wikiDescriptionsTextareaAutosize.ts +30 -0
- package/src/media/descriptions/wikiDescriptionsTooltip.ts +47 -0
- package/src/media/descriptions/wikiDescriptionsWindow.ts +60 -0
- package/src/media/functional/functional-basic/functions/getCurrentDate/getCurrentDate.en.mdx +25 -0
- package/src/media/functional/functional-basic/functions/getCurrentDate/getCurrentDate.ru.mdx +25 -0
- package/src/media/functional/functional-basic/functions/getCurrentDate/getCurrentDate.vi.mdx +25 -0
- package/src/media/functional/functional-basic/functions/isEnter/isEnter.en.mdx +30 -0
- package/src/media/functional/functional-basic/functions/isEnter/isEnter.ru.mdx +30 -0
- package/src/media/functional/functional-basic/functions/isEnter/isEnter.vi.mdx +30 -0
- package/src/media/mdx/Image/flag.en.mdx +23 -0
- package/src/media/mdx/Image/flag.ru.mdx +23 -0
- package/src/media/mdx/Image/image.en.mdx +26 -21
- package/src/media/mdx/Image/image.ru.mdx +26 -22
- package/src/media/mdx/Image/wikiMdxImage.ts +6 -0
- package/src/media/mdx/Page/page.en.mdx +38 -0
- package/src/media/mdx/Page/page.ru.mdx +38 -0
- package/src/media/mdx/Page/wikiMdxPage.ts +19 -0
- package/src/media/mdx/Section/section.en.mdx +38 -0
- package/src/media/mdx/Section/section.ru.mdx +38 -0
- package/src/media/mdx/Section/wikiMdxSection.ts +19 -0
- package/src/media/mdx/expose/expose.clear.en.mdx +1 -1
- package/src/media/mdx/wikiMdx.ts +4 -0
- package/src/media/props/wiki.ts +2 -0
- package/src/media/props/wikiActionsInclude.ts +1 -1
- package/src/media/props/wikiAnchor.ts +3 -2
- package/src/media/props/wikiAria.ts +21 -0
- package/src/media/props/wikiArrowInclude.ts +1 -1
- package/src/media/props/wikiAttributes.ts +143 -0
- package/src/media/props/wikiBadge.ts +7 -4
- package/src/media/props/wikiBars.ts +7 -6
- package/src/media/props/wikiBarsInclude.ts +5 -3
- package/src/media/props/wikiButton.ts +8 -4
- package/src/media/props/wikiChip.ts +4 -2
- package/src/media/props/wikiDialog.ts +1 -2
- package/src/media/props/wikiField.ts +18 -10
- package/src/media/props/wikiFieldCounterInclude.ts +15 -6
- package/src/media/props/wikiForm.ts +32 -13
- package/src/media/props/wikiIcon.ts +16 -3
- package/src/media/props/wikiIconInclude.ts +12 -9
- package/src/media/props/wikiImage.ts +26 -1
- package/src/media/props/wikiInformation.ts +21 -17
- package/src/media/props/wikiList.ts +10 -4
- package/src/media/props/wikiListItem.ts +3 -2
- package/src/media/props/wikiMask.ts +2 -2
- package/src/media/props/wikiMaskInclude.ts +1 -1
- package/src/media/props/wikiMenu.ts +1 -1
- package/src/media/props/wikiMotionTransform.ts +7 -3
- package/src/media/props/wikiOption.ts +250 -7
- package/src/media/props/wikiProgress.ts +8 -5
- package/src/media/props/wikiScrollbar.ts +6 -6
- package/src/media/props/wikiSelect.ts +22 -22
- package/src/media/props/wikiStatus.ts +16 -27
- package/src/media/props/wikiStyle.ts +43 -275
- package/src/media/props/wikiTechnical.ts +77 -2
- package/src/media/props/wikiText.ts +110 -0
- package/src/media/props/wikiValue.ts +26 -91
- package/src/media/props/wikiWindow.ts +27 -17
- package/src/shims-mdx.d.ts +5 -0
- package/src/types/storybookTypes.ts +22 -0
|
@@ -21,6 +21,7 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
21
21
|
ru: 'Управляет адаптивным поведением отображения для разных размеров экрана и медиа‑запросов'
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
|
|
24
25
|
},
|
|
25
26
|
align: {
|
|
26
27
|
type: StorybookControl.select,
|
|
@@ -32,7 +33,8 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
32
33
|
en: 'General alignment depending on component semantics',
|
|
33
34
|
ru: 'Общее выравнивание в зависимости от семантики компонента'
|
|
34
35
|
}
|
|
35
|
-
}
|
|
36
|
+
},
|
|
37
|
+
isDemo: true
|
|
36
38
|
},
|
|
37
39
|
asPalette: {
|
|
38
40
|
type: StorybookControl.boolean,
|
|
@@ -45,40 +47,6 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
},
|
|
48
|
-
autosize: {
|
|
49
|
-
type: StorybookControl.boolean,
|
|
50
|
-
options: {
|
|
51
|
-
category: StorybookCategory.style,
|
|
52
|
-
|
|
53
|
-
description: {
|
|
54
|
-
en: 'Automatically adjusts the component size based on content',
|
|
55
|
-
ru: 'Автоматически подстраивает размер компонента под содержимое'
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
autoClose: {
|
|
60
|
-
type: StorybookControl.boolean,
|
|
61
|
-
options: {
|
|
62
|
-
category: StorybookCategory.style,
|
|
63
|
-
|
|
64
|
-
description: {
|
|
65
|
-
en: 'Closes the window/menu when clicking inside the content area',
|
|
66
|
-
ru: 'Закрывает окно/меню при клике внутри области содержимого'
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
axis: {
|
|
71
|
-
type: StorybookControl.select,
|
|
72
|
-
options: {
|
|
73
|
-
category: StorybookCategory.style,
|
|
74
|
-
type: 'string',
|
|
75
|
-
options: [],
|
|
76
|
-
description: {
|
|
77
|
-
en: 'Sets the axis direction for component layout or scrolling',
|
|
78
|
-
ru: 'Задает направление оси для раскладки или прокрутки компонента'
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
50
|
barsAdaptive: {
|
|
83
51
|
type: StorybookControl.select,
|
|
84
52
|
options: {
|
|
@@ -99,66 +67,16 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
99
67
|
}
|
|
100
68
|
}
|
|
101
69
|
},
|
|
102
|
-
buttonAttrs: {
|
|
103
|
-
type: StorybookControl.object,
|
|
104
|
-
options: {
|
|
105
|
-
category: StorybookCategory.style,
|
|
106
|
-
description: {
|
|
107
|
-
en: 'Additional attributes for button elements',
|
|
108
|
-
ru: 'Дополнительные атрибуты для элементов кнопок'
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
buttonSecondaryAttrs: {
|
|
113
|
-
type: StorybookControl.object,
|
|
114
|
-
options: {
|
|
115
|
-
category: StorybookCategory.style,
|
|
116
|
-
description: {
|
|
117
|
-
en: 'Additional attributes for secondary button elements',
|
|
118
|
-
ru: 'Дополнительные атрибуты для элементов вторичных кнопок'
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
cellAttrs: {
|
|
123
|
-
type: StorybookControl.object,
|
|
124
|
-
options: {
|
|
125
|
-
category: StorybookCategory.style,
|
|
126
|
-
description: {
|
|
127
|
-
en: 'Additional attributes for the Cell component',
|
|
128
|
-
ru: 'Дополнительные атрибуты для компонента Cell'
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
chipAttrs: {
|
|
133
|
-
type: StorybookControl.object,
|
|
134
|
-
options: {
|
|
135
|
-
category: StorybookCategory.style,
|
|
136
|
-
description: {
|
|
137
|
-
en: 'Additional attributes for the Chip component',
|
|
138
|
-
ru: 'Дополнительные атрибуты для компонента Chip'
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
cancel: {
|
|
143
|
-
type: StorybookControl.select,
|
|
144
|
-
options: {
|
|
145
|
-
category: StorybookCategory.style,
|
|
146
|
-
options: ['auto', 'always'],
|
|
147
|
-
description: {
|
|
148
|
-
en: 'Cancel button mode: auto (show only if cancelShow + active, no arrows) or always (force unless disabled/readonly or arrows).',
|
|
149
|
-
ru: 'Режим кнопки очистки: auto (показывать если cancelShow и активен, без стрелок) или always (всегда, кроме disabled/readonly или стрелок).'
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
70
|
closeButton: {
|
|
154
71
|
type: StorybookControl.boolean,
|
|
155
72
|
options: {
|
|
156
73
|
category: StorybookCategory.style,
|
|
157
74
|
description: {
|
|
158
|
-
en: 'Shows close button in header',
|
|
75
|
+
en: 'Shows a close button in the header',
|
|
159
76
|
ru: 'Показывает кнопку закрытия в заголовке'
|
|
160
77
|
}
|
|
161
|
-
}
|
|
78
|
+
},
|
|
79
|
+
isDemo: true
|
|
162
80
|
},
|
|
163
81
|
container: {
|
|
164
82
|
type: StorybookControl.select,
|
|
@@ -176,12 +94,12 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
176
94
|
type: StorybookControl.boolean,
|
|
177
95
|
options: {
|
|
178
96
|
category: StorybookCategory.style,
|
|
179
|
-
|
|
180
97
|
description: {
|
|
181
98
|
en: 'Enables compact display variant',
|
|
182
99
|
ru: 'Включает компактный вариант отображения'
|
|
183
100
|
}
|
|
184
|
-
}
|
|
101
|
+
},
|
|
102
|
+
isDemo: true
|
|
185
103
|
},
|
|
186
104
|
divider: {
|
|
187
105
|
type: StorybookControl.boolean,
|
|
@@ -214,37 +132,8 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
214
132
|
en: 'Displays the component as a dot indicator',
|
|
215
133
|
ru: 'Отображает компонент как точечный индикатор'
|
|
216
134
|
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
fieldAttrs: {
|
|
220
|
-
type: StorybookControl.object,
|
|
221
|
-
options: {
|
|
222
|
-
category: StorybookCategory.style,
|
|
223
|
-
description: {
|
|
224
|
-
en: 'Additional attributes for the Field component',
|
|
225
|
-
ru: 'Дополнительные атрибуты для компонента Field'
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
},
|
|
229
|
-
fieldLabelAttrs: {
|
|
230
|
-
type: StorybookControl.object,
|
|
231
|
-
options: {
|
|
232
|
-
category: StorybookCategory.style,
|
|
233
|
-
description: {
|
|
234
|
-
en: 'Additional attributes for the FieldLabel element',
|
|
235
|
-
ru: 'Дополнительные атрибуты для элемента FieldLabel'
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
fieldMessageAttrs: {
|
|
240
|
-
type: StorybookControl.object,
|
|
241
|
-
options: {
|
|
242
|
-
category: StorybookCategory.style,
|
|
243
|
-
description: {
|
|
244
|
-
en: 'Additional attributes for the FieldMessage element',
|
|
245
|
-
ru: 'Дополнительные атрибуты для элемента FieldMessage'
|
|
246
|
-
}
|
|
247
|
-
}
|
|
135
|
+
},
|
|
136
|
+
isDemo: true
|
|
248
137
|
},
|
|
249
138
|
fill: {
|
|
250
139
|
type: StorybookControl.string,
|
|
@@ -255,17 +144,9 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
255
144
|
en: 'Sets fill color for the component',
|
|
256
145
|
ru: 'Задает цвет заливки компонента'
|
|
257
146
|
}
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
type: StorybookControl.boolean,
|
|
262
|
-
options: {
|
|
263
|
-
category: StorybookCategory.style,
|
|
264
|
-
description: {
|
|
265
|
-
en: 'Enables filter mode for search (hides non-matching items)',
|
|
266
|
-
ru: 'Включает режим фильтрации для поиска (скрывает несовпадающие элементы)'
|
|
267
|
-
}
|
|
268
|
-
}
|
|
147
|
+
},
|
|
148
|
+
isDemo: true,
|
|
149
|
+
demo: 'oklch(53.2% 0.157 131.589)'
|
|
269
150
|
},
|
|
270
151
|
flexible: {
|
|
271
152
|
type: StorybookControl.select,
|
|
@@ -289,28 +170,6 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
289
170
|
}
|
|
290
171
|
}
|
|
291
172
|
},
|
|
292
|
-
hideList: {
|
|
293
|
-
type: StorybookControl.boolean,
|
|
294
|
-
options: {
|
|
295
|
-
category: StorybookCategory.style,
|
|
296
|
-
description: {
|
|
297
|
-
en: 'Hides the internal List part of Menu; shows only header/toolbar and other slots.',
|
|
298
|
-
ru: 'Скрывает внутреннюю часть List в Menu; отображает только заголовок/панель и другие слоты.'
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
horizontal: {
|
|
303
|
-
type: StorybookControl.select,
|
|
304
|
-
options: {
|
|
305
|
-
category: StorybookCategory.style,
|
|
306
|
-
type: 'string',
|
|
307
|
-
options: [],
|
|
308
|
-
description: {
|
|
309
|
-
en: 'Sets horizontal alignment of elements',
|
|
310
|
-
ru: 'Задает горизонтальное выравнивание элементов'
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
173
|
imagePosition: {
|
|
315
174
|
type: StorybookControl.select,
|
|
316
175
|
options: {
|
|
@@ -320,16 +179,10 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
320
179
|
ru: 'Определяет расположение изображения внутри макета окна'
|
|
321
180
|
},
|
|
322
181
|
options: ['left', 'top']
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
options: {
|
|
328
|
-
category: StorybookCategory.style,
|
|
329
|
-
description: {
|
|
330
|
-
en: 'Additional attributes for the native input element',
|
|
331
|
-
ru: 'Дополнительные атрибуты для нативного элемента input'
|
|
332
|
-
}
|
|
182
|
+
},
|
|
183
|
+
isDemo: true,
|
|
184
|
+
demoOptions: {
|
|
185
|
+
image: 'https://drscdn.500px.org/photo/294267357/q%3D90_m%3D2048/v2?sig=adb52b9add18ad21ab4a86b99695377f2a18821c609d42149b3426dfb99cf924'
|
|
333
186
|
}
|
|
334
187
|
},
|
|
335
188
|
inverse: {
|
|
@@ -364,39 +217,8 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
364
217
|
en: 'Sets the maximum width of the component',
|
|
365
218
|
ru: 'Задает максимальную ширину компонента'
|
|
366
219
|
}
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
menuAttrs: {
|
|
370
|
-
type: StorybookControl.object,
|
|
371
|
-
options: {
|
|
372
|
-
category: StorybookCategory.style,
|
|
373
|
-
description: {
|
|
374
|
-
en: 'Additional attributes for the Menu root container',
|
|
375
|
-
ru: 'Дополнительные атрибуты для корневого контейнера Menu'
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
motionTransformAttrs: {
|
|
380
|
-
type: StorybookControl.object,
|
|
381
|
-
options: {
|
|
382
|
-
category: StorybookCategory.style,
|
|
383
|
-
description: {
|
|
384
|
-
en: 'Additional attributes for the MotionTransform component',
|
|
385
|
-
ru: 'Дополнительные атрибуты для компонента MotionTransform'
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
},
|
|
389
|
-
overlap: {
|
|
390
|
-
type: StorybookControl.select,
|
|
391
|
-
options: {
|
|
392
|
-
category: StorybookCategory.style,
|
|
393
|
-
type: 'string',
|
|
394
|
-
options: [],
|
|
395
|
-
description: {
|
|
396
|
-
en: 'Defines element positioning relative to other elements',
|
|
397
|
-
ru: 'Определяет расположение элемента относительно других элементов'
|
|
398
|
-
}
|
|
399
|
-
}
|
|
220
|
+
},
|
|
221
|
+
isDemo: true
|
|
400
222
|
},
|
|
401
223
|
overlay: {
|
|
402
224
|
type: StorybookControl.boolean,
|
|
@@ -406,7 +228,8 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
406
228
|
en: 'Adds background overlay to the component',
|
|
407
229
|
ru: 'Добавляет фоновую подложку к компоненту'
|
|
408
230
|
}
|
|
409
|
-
}
|
|
231
|
+
},
|
|
232
|
+
isDemo: true
|
|
410
233
|
},
|
|
411
234
|
padding: {
|
|
412
235
|
type: StorybookControl.select,
|
|
@@ -415,9 +238,13 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
415
238
|
type: 'string',
|
|
416
239
|
options: [],
|
|
417
240
|
description: {
|
|
418
|
-
en: 'Sets internal spacing around the content',
|
|
419
|
-
ru: 'Задает внутренние отступы вокруг
|
|
241
|
+
en: 'Sets internal spacing around the content. If `paddingByIndent` is enabled, the `padding` value is ignored.',
|
|
242
|
+
ru: 'Задает внутренние отступы вокруг содержимого. Если включен `paddingByIndent`, значение `padding` игнорируется.'
|
|
420
243
|
}
|
|
244
|
+
},
|
|
245
|
+
isDemo: true,
|
|
246
|
+
demoOptions: {
|
|
247
|
+
paddingByIndent: false
|
|
421
248
|
}
|
|
422
249
|
},
|
|
423
250
|
paddingByIndent: {
|
|
@@ -437,7 +264,7 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
437
264
|
options: [],
|
|
438
265
|
type: 'string',
|
|
439
266
|
description: {
|
|
440
|
-
en: 'Sets color palette for the element',
|
|
267
|
+
en: 'Sets a color palette for the element',
|
|
441
268
|
ru: 'Задает цветовую палитру для элемента'
|
|
442
269
|
}
|
|
443
270
|
}
|
|
@@ -452,7 +279,8 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
452
279
|
en: 'Sets the positioning method for the element',
|
|
453
280
|
ru: 'Задает метод позиционирования элемента'
|
|
454
281
|
}
|
|
455
|
-
}
|
|
282
|
+
},
|
|
283
|
+
isDemo: true
|
|
456
284
|
},
|
|
457
285
|
rounded: {
|
|
458
286
|
type: StorybookControl.select,
|
|
@@ -475,17 +303,8 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
475
303
|
en: 'Makes the component fully rounded (circular)',
|
|
476
304
|
ru: 'Делает компонент полностью скругленным (круглым)'
|
|
477
305
|
}
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
scrollbarAttrs: {
|
|
481
|
-
type: StorybookControl.object,
|
|
482
|
-
options: {
|
|
483
|
-
category: StorybookCategory.style,
|
|
484
|
-
description: {
|
|
485
|
-
en: 'Sets attributes for the internal scrollbar',
|
|
486
|
-
ru: 'Задает атрибуты встроенного скроллбара'
|
|
487
|
-
}
|
|
488
|
-
}
|
|
306
|
+
},
|
|
307
|
+
isDemo: true
|
|
489
308
|
},
|
|
490
309
|
size: {
|
|
491
310
|
type: StorybookControl.select,
|
|
@@ -497,18 +316,8 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
497
316
|
en: 'Sets component size',
|
|
498
317
|
ru: 'Задает размер компонента'
|
|
499
318
|
}
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
template: {
|
|
503
|
-
type: StorybookControl.string,
|
|
504
|
-
options: {
|
|
505
|
-
category: StorybookCategory.style,
|
|
506
|
-
type: 'string',
|
|
507
|
-
description: {
|
|
508
|
-
en: 'Custom display template used by the component',
|
|
509
|
-
ru: 'Пользовательский шаблон отображения, используемый компонентом'
|
|
510
|
-
}
|
|
511
|
-
}
|
|
319
|
+
},
|
|
320
|
+
isDemo: true
|
|
512
321
|
},
|
|
513
322
|
textAlign: {
|
|
514
323
|
type: StorybookControl.select,
|
|
@@ -522,50 +331,6 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
522
331
|
}
|
|
523
332
|
}
|
|
524
333
|
},
|
|
525
|
-
touchClose: {
|
|
526
|
-
type: StorybookControl.boolean,
|
|
527
|
-
options: {
|
|
528
|
-
category: StorybookCategory.style,
|
|
529
|
-
description: {
|
|
530
|
-
en: 'Enables closing the component by swipe-down gesture on mobile devices',
|
|
531
|
-
ru: 'Включает закрытие компонента жестом свайпа вниз на мобильных устройствах'
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
tooltipAttrs: {
|
|
536
|
-
type: StorybookControl.object,
|
|
537
|
-
options: {
|
|
538
|
-
category: StorybookCategory.style,
|
|
539
|
-
description: {
|
|
540
|
-
en: 'Additional attributes for the Tooltip component',
|
|
541
|
-
ru: 'Дополнительные атрибуты для компонента Tooltip'
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
},
|
|
545
|
-
type: {
|
|
546
|
-
type: StorybookControl.select,
|
|
547
|
-
options: {
|
|
548
|
-
category: StorybookCategory.style,
|
|
549
|
-
type: 'string',
|
|
550
|
-
options: [],
|
|
551
|
-
description: {
|
|
552
|
-
en: 'Selects the visual type/variant of the component',
|
|
553
|
-
ru: 'Выбирает визуальный тип/вариант компонента'
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
vertical: {
|
|
558
|
-
type: StorybookControl.select,
|
|
559
|
-
options: {
|
|
560
|
-
category: StorybookCategory.style,
|
|
561
|
-
type: 'string',
|
|
562
|
-
options: [],
|
|
563
|
-
description: {
|
|
564
|
-
en: 'Sets vertical alignment of elements',
|
|
565
|
-
ru: 'Задает вертикальное выравнивание элементов'
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
334
|
width: {
|
|
570
335
|
type: StorybookControl.select,
|
|
571
336
|
options: {
|
|
@@ -576,16 +341,19 @@ export const wikiStyle: StorybookArgsToList = {
|
|
|
576
341
|
en: 'Sets component width',
|
|
577
342
|
ru: 'Задает ширину компонента'
|
|
578
343
|
}
|
|
579
|
-
}
|
|
344
|
+
},
|
|
345
|
+
isDemo: true
|
|
580
346
|
},
|
|
581
|
-
|
|
582
|
-
type: StorybookControl.
|
|
347
|
+
wrap: {
|
|
348
|
+
type: StorybookControl.boolean,
|
|
583
349
|
options: {
|
|
584
350
|
category: StorybookCategory.style,
|
|
351
|
+
type: 'boolean',
|
|
585
352
|
description: {
|
|
586
|
-
en: '
|
|
587
|
-
ru: '
|
|
353
|
+
en: 'Controls text wrapping behavior',
|
|
354
|
+
ru: 'Управляет поведением переноса текста'
|
|
588
355
|
}
|
|
589
|
-
}
|
|
356
|
+
},
|
|
357
|
+
isDemo: true
|
|
590
358
|
}
|
|
591
359
|
}
|
|
@@ -10,6 +10,37 @@ import {
|
|
|
10
10
|
* Объект wikiTechnical содержит общие технические свойства для всех компонентов
|
|
11
11
|
*/
|
|
12
12
|
export const wikiTechnical: StorybookArgsToList = {
|
|
13
|
+
captionDecorative: {
|
|
14
|
+
type: StorybookControl.boolean,
|
|
15
|
+
options: {
|
|
16
|
+
category: StorybookCategory.technical,
|
|
17
|
+
description: {
|
|
18
|
+
en: 'Specifies whether the caption is purely decorative',
|
|
19
|
+
ru: 'Указывает, является ли подпись чисто декоративной'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
descriptionId: {
|
|
24
|
+
type: StorybookControl.string,
|
|
25
|
+
options: {
|
|
26
|
+
category: StorybookCategory.technical,
|
|
27
|
+
type: 'string',
|
|
28
|
+
description: {
|
|
29
|
+
en: 'Unique identifier for the description element',
|
|
30
|
+
ru: 'Уникальный идентификатор для элемента описания'
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
embedded: {
|
|
35
|
+
type: StorybookControl.boolean,
|
|
36
|
+
options: {
|
|
37
|
+
category: StorybookCategory.technical,
|
|
38
|
+
description: {
|
|
39
|
+
en: 'The window will be displayed inside the current parent element',
|
|
40
|
+
ru: 'Окно будет отображаться внутри текущего родительского элемента'
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
13
44
|
helperId: {
|
|
14
45
|
type: StorybookControl.string,
|
|
15
46
|
options: {
|
|
@@ -32,6 +63,17 @@ export const wikiTechnical: StorybookArgsToList = {
|
|
|
32
63
|
}
|
|
33
64
|
}
|
|
34
65
|
},
|
|
66
|
+
index: {
|
|
67
|
+
type: StorybookControl.number,
|
|
68
|
+
options: {
|
|
69
|
+
category: StorybookCategory.technical,
|
|
70
|
+
type: 'number',
|
|
71
|
+
description: {
|
|
72
|
+
en: 'Index value for the component',
|
|
73
|
+
ru: 'Значение индекса для компонента'
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
35
77
|
labelId: {
|
|
36
78
|
type: StorybookControl.string,
|
|
37
79
|
options: {
|
|
@@ -43,6 +85,17 @@ export const wikiTechnical: StorybookArgsToList = {
|
|
|
43
85
|
}
|
|
44
86
|
}
|
|
45
87
|
},
|
|
88
|
+
language: {
|
|
89
|
+
type: StorybookControl.string,
|
|
90
|
+
options: {
|
|
91
|
+
category: StorybookCategory.technical,
|
|
92
|
+
type: 'string',
|
|
93
|
+
description: {
|
|
94
|
+
en: 'Language/locale code (BCP 47) used for formatting values (e.g., en-US, ru-RU)',
|
|
95
|
+
ru: 'Код языка/локали (BCP 47) для форматирования значений (например, ru-RU, en-US)'
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
46
99
|
messageId: {
|
|
47
100
|
type: StorybookControl.string,
|
|
48
101
|
options: {
|
|
@@ -59,7 +112,7 @@ export const wikiTechnical: StorybookArgsToList = {
|
|
|
59
112
|
options: {
|
|
60
113
|
category: StorybookCategory.technical,
|
|
61
114
|
description: {
|
|
62
|
-
en: 'Two-way binding for open state (v-model:open)',
|
|
115
|
+
en: 'Two-way binding for the open state (v-model:open)',
|
|
63
116
|
ru: 'Двусторонняя привязка состояния открытия (v-model:open)'
|
|
64
117
|
}
|
|
65
118
|
}
|
|
@@ -69,7 +122,7 @@ export const wikiTechnical: StorybookArgsToList = {
|
|
|
69
122
|
options: {
|
|
70
123
|
category: StorybookCategory.technical,
|
|
71
124
|
description: {
|
|
72
|
-
en: 'Two-way binding for selected state (v-model:selected)',
|
|
125
|
+
en: 'Two-way binding for the selected state (v-model:selected)',
|
|
73
126
|
ru: 'Двусторонняя привязка состояния выбора (v-model:selected)'
|
|
74
127
|
}
|
|
75
128
|
}
|
|
@@ -84,6 +137,28 @@ export const wikiTechnical: StorybookArgsToList = {
|
|
|
84
137
|
}
|
|
85
138
|
}
|
|
86
139
|
},
|
|
140
|
+
prefixId: {
|
|
141
|
+
type: StorybookControl.string,
|
|
142
|
+
options: {
|
|
143
|
+
category: StorybookCategory.technical,
|
|
144
|
+
type: 'string',
|
|
145
|
+
description: {
|
|
146
|
+
en: 'Unique identifier for the prefix element',
|
|
147
|
+
ru: 'Уникальный идентификатор для элемента префикса'
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
suffixId: {
|
|
152
|
+
type: StorybookControl.string,
|
|
153
|
+
options: {
|
|
154
|
+
category: StorybookCategory.technical,
|
|
155
|
+
type: 'string',
|
|
156
|
+
description: {
|
|
157
|
+
en: 'Unique identifier for the suffix element',
|
|
158
|
+
ru: 'Уникальный идентификатор для элемента суффикса'
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
87
162
|
validationId: {
|
|
88
163
|
type: StorybookControl.string,
|
|
89
164
|
options: {
|
|
@@ -10,6 +10,39 @@ import {
|
|
|
10
10
|
* Объект wikiText содержит описание всех текстовых свойств
|
|
11
11
|
*/
|
|
12
12
|
export const wikiText: StorybookArgsToList = {
|
|
13
|
+
textCancel: {
|
|
14
|
+
type: StorybookControl.text,
|
|
15
|
+
options: {
|
|
16
|
+
category: StorybookCategory.text,
|
|
17
|
+
type: 'string | (() => string)',
|
|
18
|
+
description: {
|
|
19
|
+
en: 'Cancel text',
|
|
20
|
+
ru: 'Текст отмены'
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
textCharacterLimit: {
|
|
25
|
+
type: StorybookControl.text,
|
|
26
|
+
options: {
|
|
27
|
+
category: StorybookCategory.text,
|
|
28
|
+
type: 'string | (() => string)',
|
|
29
|
+
description: {
|
|
30
|
+
en: 'Character limit exceeded text',
|
|
31
|
+
ru: 'Текст о превышении лимита символов'
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
textCharacterRemaining: {
|
|
36
|
+
type: StorybookControl.text,
|
|
37
|
+
options: {
|
|
38
|
+
category: StorybookCategory.text,
|
|
39
|
+
type: 'string | (() => string)',
|
|
40
|
+
description: {
|
|
41
|
+
en: 'Remaining characters text',
|
|
42
|
+
ru: 'Текст об оставшихся символах'
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
13
46
|
textClose: {
|
|
14
47
|
type: StorybookControl.text,
|
|
15
48
|
options: {
|
|
@@ -32,6 +65,17 @@ export const wikiText: StorybookArgsToList = {
|
|
|
32
65
|
}
|
|
33
66
|
}
|
|
34
67
|
},
|
|
68
|
+
textDecrement: {
|
|
69
|
+
type: StorybookControl.text,
|
|
70
|
+
options: {
|
|
71
|
+
category: StorybookCategory.text,
|
|
72
|
+
type: 'string | (() => string)',
|
|
73
|
+
description: {
|
|
74
|
+
en: 'Text for decreasing value',
|
|
75
|
+
ru: 'Текст для уменьшения значения'
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
35
79
|
textEntriesMatch: {
|
|
36
80
|
type: StorybookControl.text,
|
|
37
81
|
options: {
|
|
@@ -43,6 +87,50 @@ export const wikiText: StorybookArgsToList = {
|
|
|
43
87
|
}
|
|
44
88
|
}
|
|
45
89
|
},
|
|
90
|
+
textHide: {
|
|
91
|
+
type: StorybookControl.text,
|
|
92
|
+
options: {
|
|
93
|
+
category: StorybookCategory.text,
|
|
94
|
+
type: 'string | (() => string)',
|
|
95
|
+
description: {
|
|
96
|
+
en: 'Hide text',
|
|
97
|
+
ru: 'Текст скрытия'
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
textIncrement: {
|
|
102
|
+
type: StorybookControl.text,
|
|
103
|
+
options: {
|
|
104
|
+
category: StorybookCategory.text,
|
|
105
|
+
type: 'string | (() => string)',
|
|
106
|
+
description: {
|
|
107
|
+
en: 'Text for increasing value',
|
|
108
|
+
ru: 'Текст для увеличения значения'
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
textLoading: {
|
|
113
|
+
type: StorybookControl.text,
|
|
114
|
+
options: {
|
|
115
|
+
category: StorybookCategory.text,
|
|
116
|
+
type: 'string | (() => string)',
|
|
117
|
+
description: {
|
|
118
|
+
en: 'Loading text',
|
|
119
|
+
ru: 'Текст загрузки'
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
textNext: {
|
|
124
|
+
type: StorybookControl.text,
|
|
125
|
+
options: {
|
|
126
|
+
category: StorybookCategory.text,
|
|
127
|
+
type: 'string | (() => string)',
|
|
128
|
+
description: {
|
|
129
|
+
en: 'Next text',
|
|
130
|
+
ru: 'Текст следующего'
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
46
134
|
textOk: {
|
|
47
135
|
type: StorybookControl.text,
|
|
48
136
|
options: {
|
|
@@ -53,5 +141,27 @@ export const wikiText: StorybookArgsToList = {
|
|
|
53
141
|
ru: 'Текст подтверждения'
|
|
54
142
|
}
|
|
55
143
|
}
|
|
144
|
+
},
|
|
145
|
+
textPrevious: {
|
|
146
|
+
type: StorybookControl.text,
|
|
147
|
+
options: {
|
|
148
|
+
category: StorybookCategory.text,
|
|
149
|
+
type: 'string | (() => string)',
|
|
150
|
+
description: {
|
|
151
|
+
en: 'Previous text',
|
|
152
|
+
ru: 'Текст предыдущего'
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
textShow: {
|
|
157
|
+
type: StorybookControl.text,
|
|
158
|
+
options: {
|
|
159
|
+
category: StorybookCategory.text,
|
|
160
|
+
type: 'string | (() => string)',
|
|
161
|
+
description: {
|
|
162
|
+
en: 'Show text',
|
|
163
|
+
ru: 'Текст показа'
|
|
164
|
+
}
|
|
165
|
+
}
|
|
56
166
|
}
|
|
57
167
|
}
|