@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
|
@@ -11,7 +11,8 @@ export const wikiForm: StorybookArgsToList = {
|
|
|
11
11
|
en: 'Arrow controls type for numeric input (auto, carousel, stepper, none)',
|
|
12
12
|
ru: 'Тип стрелочных элементов управления для числового ввода (auto, carousel, stepper, none)'
|
|
13
13
|
}
|
|
14
|
-
}
|
|
14
|
+
},
|
|
15
|
+
isDemo: true
|
|
15
16
|
},
|
|
16
17
|
arrowAlign: {
|
|
17
18
|
type: StorybookControl.select,
|
|
@@ -23,6 +24,11 @@ export const wikiForm: StorybookArgsToList = {
|
|
|
23
24
|
en: 'Sets alignment position of arrow buttons within the field',
|
|
24
25
|
ru: 'Задает позицию выравнивания кнопок-стрелок внутри поля'
|
|
25
26
|
}
|
|
27
|
+
},
|
|
28
|
+
isDemo: true,
|
|
29
|
+
demoOptions: {
|
|
30
|
+
arrow: 'carousel',
|
|
31
|
+
arrowCarousel: true
|
|
26
32
|
}
|
|
27
33
|
},
|
|
28
34
|
arrowStep: {
|
|
@@ -92,6 +98,17 @@ export const wikiForm: StorybookArgsToList = {
|
|
|
92
98
|
}
|
|
93
99
|
}
|
|
94
100
|
},
|
|
101
|
+
for: {
|
|
102
|
+
type: StorybookControl.string,
|
|
103
|
+
options: {
|
|
104
|
+
category: StorybookCategory.form,
|
|
105
|
+
type: 'string',
|
|
106
|
+
description: {
|
|
107
|
+
en: 'ID of the element the label is bound to',
|
|
108
|
+
ru: 'ID элемента, к которому привязана метка'
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
95
112
|
form: {
|
|
96
113
|
type: StorybookControl.string,
|
|
97
114
|
options: {
|
|
@@ -179,6 +196,18 @@ export const wikiForm: StorybookArgsToList = {
|
|
|
179
196
|
en: 'Enables multiple selection mode',
|
|
180
197
|
ru: 'Включает режим множественного выбора'
|
|
181
198
|
}
|
|
199
|
+
},
|
|
200
|
+
isDemo: true
|
|
201
|
+
},
|
|
202
|
+
name: {
|
|
203
|
+
type: StorybookControl.string,
|
|
204
|
+
options: {
|
|
205
|
+
category: StorybookCategory.form,
|
|
206
|
+
type: 'string',
|
|
207
|
+
description: {
|
|
208
|
+
en: 'Name attribute for the input field',
|
|
209
|
+
ru: 'Атрибут name для поля ввода'
|
|
210
|
+
}
|
|
182
211
|
}
|
|
183
212
|
},
|
|
184
213
|
pattern: {
|
|
@@ -200,7 +229,8 @@ export const wikiForm: StorybookArgsToList = {
|
|
|
200
229
|
en: 'Marks the field as required and shows the required indicator',
|
|
201
230
|
ru: 'Помечает поле как обязательное и показывает индикатор обязательности'
|
|
202
231
|
}
|
|
203
|
-
}
|
|
232
|
+
},
|
|
233
|
+
isDemo: true
|
|
204
234
|
},
|
|
205
235
|
spellcheck: {
|
|
206
236
|
type: StorybookControl.boolean,
|
|
@@ -223,17 +253,6 @@ export const wikiForm: StorybookArgsToList = {
|
|
|
223
253
|
}
|
|
224
254
|
}
|
|
225
255
|
},
|
|
226
|
-
tabindex: {
|
|
227
|
-
type: StorybookControl.number,
|
|
228
|
-
options: {
|
|
229
|
-
category: StorybookCategory.form,
|
|
230
|
-
type: 'number',
|
|
231
|
-
description: {
|
|
232
|
-
en: 'Tab order position for keyboard navigation',
|
|
233
|
-
ru: 'Позиция порядка табуляции для навигации с клавиатуры'
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
256
|
validationCode: {
|
|
238
257
|
type: StorybookControl.object,
|
|
239
258
|
options: {
|
|
@@ -14,14 +14,15 @@ export const wikiIcon: StorybookArgsToList = {
|
|
|
14
14
|
en: 'Sets the icon to an active state',
|
|
15
15
|
ru: 'Переводит иконку в активное состояние'
|
|
16
16
|
}
|
|
17
|
-
}
|
|
17
|
+
},
|
|
18
|
+
isDemo: true
|
|
18
19
|
},
|
|
19
20
|
|
|
20
21
|
// Values
|
|
21
22
|
'icon.icon': {
|
|
22
23
|
type: StorybookControl.string,
|
|
23
24
|
options: {
|
|
24
|
-
category: StorybookCategory.
|
|
25
|
+
category: StorybookCategory.icon,
|
|
25
26
|
type: ['string', 'File'],
|
|
26
27
|
description: {
|
|
27
28
|
en: 'Value of the main icon',
|
|
@@ -33,7 +34,7 @@ export const wikiIcon: StorybookArgsToList = {
|
|
|
33
34
|
'icon.iconActive': {
|
|
34
35
|
type: StorybookControl.string,
|
|
35
36
|
options: {
|
|
36
|
-
category: StorybookCategory.
|
|
37
|
+
category: StorybookCategory.icon,
|
|
37
38
|
type: ['string', 'File'],
|
|
38
39
|
description: {
|
|
39
40
|
en: 'Value of the active icon',
|
|
@@ -82,6 +83,10 @@ export const wikiIcon: StorybookArgsToList = {
|
|
|
82
83
|
en: 'Makes the element rectangular',
|
|
83
84
|
ru: 'Делает элемент прямоугольным'
|
|
84
85
|
}
|
|
86
|
+
},
|
|
87
|
+
isDemo: true,
|
|
88
|
+
demoOptions: {
|
|
89
|
+
overlay: true
|
|
85
90
|
}
|
|
86
91
|
},
|
|
87
92
|
'icon.circle': {
|
|
@@ -92,6 +97,10 @@ export const wikiIcon: StorybookArgsToList = {
|
|
|
92
97
|
en: 'Makes the element circular',
|
|
93
98
|
ru: 'Делает элемент круглым'
|
|
94
99
|
}
|
|
100
|
+
},
|
|
101
|
+
isDemo: true,
|
|
102
|
+
demoOptions: {
|
|
103
|
+
overlay: true
|
|
95
104
|
}
|
|
96
105
|
},
|
|
97
106
|
'icon.square': {
|
|
@@ -102,6 +111,10 @@ export const wikiIcon: StorybookArgsToList = {
|
|
|
102
111
|
en: 'Makes the element square',
|
|
103
112
|
ru: 'Делает элемент квадратным'
|
|
104
113
|
}
|
|
114
|
+
},
|
|
115
|
+
isDemo: true,
|
|
116
|
+
demoOptions: {
|
|
117
|
+
overlay: true
|
|
105
118
|
}
|
|
106
119
|
},
|
|
107
120
|
'icon.animationType': {
|
|
@@ -40,7 +40,7 @@ export const wikiIconInclude: StorybookArgsToList = {
|
|
|
40
40
|
options: {
|
|
41
41
|
category: StorybookCategory.icon,
|
|
42
42
|
description: {
|
|
43
|
-
en: 'Sets icon for left arrow',
|
|
43
|
+
en: 'Sets icon for the left arrow',
|
|
44
44
|
ru: 'Задает иконку стрелки влево'
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -58,7 +58,7 @@ export const wikiIconInclude: StorybookArgsToList = {
|
|
|
58
58
|
iconAttrs: {
|
|
59
59
|
type: StorybookControl.object,
|
|
60
60
|
options: {
|
|
61
|
-
category: StorybookCategory.
|
|
61
|
+
category: StorybookCategory.attributes,
|
|
62
62
|
description: {
|
|
63
63
|
en: 'Sets additional attributes for the icon element',
|
|
64
64
|
ru: 'Задает дополнительные атрибуты для элемента иконки'
|
|
@@ -70,7 +70,7 @@ export const wikiIconInclude: StorybookArgsToList = {
|
|
|
70
70
|
options: {
|
|
71
71
|
category: StorybookCategory.icon,
|
|
72
72
|
description: {
|
|
73
|
-
en: 'Sets icon for back button',
|
|
73
|
+
en: 'Sets icon for the back button',
|
|
74
74
|
ru: 'Задает иконку для кнопки назад'
|
|
75
75
|
}
|
|
76
76
|
}
|
|
@@ -111,7 +111,7 @@ export const wikiIconInclude: StorybookArgsToList = {
|
|
|
111
111
|
category: StorybookCategory.icon,
|
|
112
112
|
|
|
113
113
|
description: {
|
|
114
|
-
en: 'Mirrors the icon depending on site direction (RTL/LTR)',
|
|
114
|
+
en: 'Mirrors the icon depending on a site direction (RTL/LTR)',
|
|
115
115
|
ru: 'Зеркально отражает иконку в зависимости от направления сайта (RTL/LTR)'
|
|
116
116
|
}
|
|
117
117
|
}
|
|
@@ -121,7 +121,7 @@ export const wikiIconInclude: StorybookArgsToList = {
|
|
|
121
121
|
options: {
|
|
122
122
|
category: StorybookCategory.icon,
|
|
123
123
|
description: {
|
|
124
|
-
en: 'Sets icon displayed in error state',
|
|
124
|
+
en: 'Sets icon displayed in the error state',
|
|
125
125
|
ru: 'Задает иконку, отображаемую в состоянии ошибки'
|
|
126
126
|
}
|
|
127
127
|
}
|
|
@@ -142,7 +142,7 @@ export const wikiIconInclude: StorybookArgsToList = {
|
|
|
142
142
|
options: {
|
|
143
143
|
category: StorybookCategory.icon,
|
|
144
144
|
description: {
|
|
145
|
-
en: 'Sets icon for link',
|
|
145
|
+
en: 'Sets icon for a link',
|
|
146
146
|
ru: 'Задает иконку для ссылки'
|
|
147
147
|
}
|
|
148
148
|
}
|
|
@@ -205,7 +205,7 @@ export const wikiIconInclude: StorybookArgsToList = {
|
|
|
205
205
|
options: {
|
|
206
206
|
category: StorybookCategory.icon,
|
|
207
207
|
description: {
|
|
208
|
-
en: 'Sets icon displayed in success state',
|
|
208
|
+
en: 'Sets icon displayed in a success state',
|
|
209
209
|
ru: 'Задает иконку, отображаемую в состоянии успеха'
|
|
210
210
|
}
|
|
211
211
|
}
|
|
@@ -240,7 +240,9 @@ export const wikiIconInclude: StorybookArgsToList = {
|
|
|
240
240
|
en: 'Value of the trailing icon',
|
|
241
241
|
ru: 'Значение завершающей иконки'
|
|
242
242
|
}
|
|
243
|
-
}
|
|
243
|
+
},
|
|
244
|
+
isDemo: true,
|
|
245
|
+
demo: 'settings'
|
|
244
246
|
},
|
|
245
247
|
iconTrailingDirOnly: {
|
|
246
248
|
type: StorybookControl.boolean,
|
|
@@ -284,7 +286,8 @@ export const wikiIconInclude: StorybookArgsToList = {
|
|
|
284
286
|
en: 'Turns the icon',
|
|
285
287
|
ru: 'Поворачивает иконку'
|
|
286
288
|
}
|
|
287
|
-
}
|
|
289
|
+
},
|
|
290
|
+
isDemo: true
|
|
288
291
|
},
|
|
289
292
|
iconVisibility: {
|
|
290
293
|
type: StorybookControl.string,
|
|
@@ -21,7 +21,9 @@ export const wikiImage: StorybookArgsToList = {
|
|
|
21
21
|
ru: 'Принимает название иконки, ссылку на изображение, объект File или ссылку на PDF файл'
|
|
22
22
|
},
|
|
23
23
|
value: 'rocket_launch'
|
|
24
|
-
}
|
|
24
|
+
},
|
|
25
|
+
isDemo: true,
|
|
26
|
+
demo: 'https://drscdn.500px.org/photo/294267357/q%3D90_m%3D2048/v2?sig=adb52b9add18ad21ab4a86b99695377f2a18821c609d42149b3426dfb99cf924'
|
|
25
27
|
},
|
|
26
28
|
'image.url': {
|
|
27
29
|
type: StorybookControl.string,
|
|
@@ -89,6 +91,18 @@ export const wikiImage: StorybookArgsToList = {
|
|
|
89
91
|
}
|
|
90
92
|
}
|
|
91
93
|
},
|
|
94
|
+
'image.fetchPriority': {
|
|
95
|
+
type: StorybookControl.select,
|
|
96
|
+
options: {
|
|
97
|
+
category: StorybookCategory.option,
|
|
98
|
+
type: 'string',
|
|
99
|
+
options: ['auto', 'high', 'low'],
|
|
100
|
+
description: {
|
|
101
|
+
en: 'Sets the priority for fetching the image',
|
|
102
|
+
ru: 'Устанавливает приоритет загрузки изображения'
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
92
106
|
'image.lazy': {
|
|
93
107
|
type: StorybookControl.boolean,
|
|
94
108
|
options: {
|
|
@@ -130,6 +144,17 @@ export const wikiImage: StorybookArgsToList = {
|
|
|
130
144
|
}
|
|
131
145
|
}
|
|
132
146
|
},
|
|
147
|
+
'image.preloadOffset': {
|
|
148
|
+
type: StorybookControl.string,
|
|
149
|
+
options: {
|
|
150
|
+
category: StorybookCategory.option,
|
|
151
|
+
type: 'string',
|
|
152
|
+
description: {
|
|
153
|
+
en: 'Distance from the viewport to start preloading the image',
|
|
154
|
+
ru: 'Расстояние от области просмотра для начала предзагрузки изображения'
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
133
158
|
'image.srcset': {
|
|
134
159
|
type: StorybookControl.object,
|
|
135
160
|
options: {
|
|
@@ -32,7 +32,9 @@ export const wikiInformation: StorybookArgsToList = {
|
|
|
32
32
|
en: 'Caption text for additional information',
|
|
33
33
|
ru: 'Текст подписи для дополнительной информации'
|
|
34
34
|
}
|
|
35
|
-
}
|
|
35
|
+
},
|
|
36
|
+
isDemo: true,
|
|
37
|
+
demo: 'Caption text'
|
|
36
38
|
},
|
|
37
39
|
description: {
|
|
38
40
|
type: StorybookControl.string,
|
|
@@ -51,7 +53,7 @@ export const wikiInformation: StorybookArgsToList = {
|
|
|
51
53
|
options: {
|
|
52
54
|
category: StorybookCategory.information,
|
|
53
55
|
description: {
|
|
54
|
-
en: 'Forces display of helper / validation message ignoring usual visibility rules',
|
|
56
|
+
en: 'Forces display of a helper / validation message ignoring usual visibility rules',
|
|
55
57
|
ru: 'Принудительно показывает сообщение (helper / validation), игнорируя обычные условия видимости'
|
|
56
58
|
}
|
|
57
59
|
}
|
|
@@ -88,7 +90,9 @@ export const wikiInformation: StorybookArgsToList = {
|
|
|
88
90
|
en: 'Specifies the image value for the component',
|
|
89
91
|
ru: 'Указывает значение изображения для компонента'
|
|
90
92
|
}
|
|
91
|
-
}
|
|
93
|
+
},
|
|
94
|
+
isDemo: true,
|
|
95
|
+
demo: 'https://drscdn.500px.org/photo/294267357/q%3D90_m%3D2048/v2?sig=adb52b9add18ad21ab4a86b99695377f2a18821c609d42149b3426dfb99cf924'
|
|
92
96
|
},
|
|
93
97
|
label: {
|
|
94
98
|
type: StorybookControl.string,
|
|
@@ -102,17 +106,6 @@ export const wikiInformation: StorybookArgsToList = {
|
|
|
102
106
|
value: 'Label'
|
|
103
107
|
}
|
|
104
108
|
},
|
|
105
|
-
labelMax: {
|
|
106
|
-
type: StorybookControl.number,
|
|
107
|
-
options: {
|
|
108
|
-
category: StorybookCategory.information,
|
|
109
|
-
type: 'number',
|
|
110
|
-
description: {
|
|
111
|
-
en: 'Maximum length of the label text before truncation',
|
|
112
|
-
ru: 'Максимальная длина текста метки перед обрезкой'
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
109
|
placeholder: {
|
|
117
110
|
type: StorybookControl.string,
|
|
118
111
|
options: {
|
|
@@ -122,7 +115,9 @@ export const wikiInformation: StorybookArgsToList = {
|
|
|
122
115
|
en: 'Placeholder text shown when the input is empty',
|
|
123
116
|
ru: 'Текст подсказки, отображаемый при пустом вводе'
|
|
124
117
|
}
|
|
125
|
-
}
|
|
118
|
+
},
|
|
119
|
+
isDemo: true,
|
|
120
|
+
demo: 'Placeholder text'
|
|
126
121
|
},
|
|
127
122
|
prefix: {
|
|
128
123
|
type: StorybookControl.string,
|
|
@@ -133,7 +128,9 @@ export const wikiInformation: StorybookArgsToList = {
|
|
|
133
128
|
en: 'Prefix text displayed before the main content',
|
|
134
129
|
ru: 'Текст префикса, отображаемый перед основным содержимым'
|
|
135
130
|
}
|
|
136
|
-
}
|
|
131
|
+
},
|
|
132
|
+
isDemo: true,
|
|
133
|
+
demo: 'Prefix text'
|
|
137
134
|
},
|
|
138
135
|
suffix: {
|
|
139
136
|
type: StorybookControl.string,
|
|
@@ -144,6 +141,11 @@ export const wikiInformation: StorybookArgsToList = {
|
|
|
144
141
|
en: 'Suffix text displayed after the main content',
|
|
145
142
|
ru: 'Текст суффикса, отображаемый после основного содержимого'
|
|
146
143
|
}
|
|
144
|
+
},
|
|
145
|
+
isDemo: true,
|
|
146
|
+
demo: 'Suffix text',
|
|
147
|
+
demoOptions: {
|
|
148
|
+
value: 'Value'
|
|
147
149
|
}
|
|
148
150
|
},
|
|
149
151
|
validationMessage: {
|
|
@@ -155,6 +157,8 @@ export const wikiInformation: StorybookArgsToList = {
|
|
|
155
157
|
en: 'Error or validation message text',
|
|
156
158
|
ru: 'Текст сообщения об ошибке или валидации'
|
|
157
159
|
}
|
|
158
|
-
}
|
|
160
|
+
},
|
|
161
|
+
isDemo: true,
|
|
162
|
+
demo: 'Validation message'
|
|
159
163
|
}
|
|
160
164
|
}
|
|
@@ -80,7 +80,7 @@ export const wikiList: StorybookArgsToList = {
|
|
|
80
80
|
},
|
|
81
81
|
value: [
|
|
82
82
|
{
|
|
83
|
-
label: 'Запустить проект',
|
|
83
|
+
label: 'Запустить проект (Label)',
|
|
84
84
|
value: 'launch-project',
|
|
85
85
|
icon: 'play_arrow'
|
|
86
86
|
},
|
|
@@ -256,15 +256,19 @@ export const wikiList: StorybookArgsToList = {
|
|
|
256
256
|
en: 'Enable lightweight display mode. Reduces visual complexity by showing simplified item styling with minimal decorative elements.',
|
|
257
257
|
ru: 'Включить упрощенный режим отображения. Уменьшает визуальную сложность, показывая упрощенную стилизацию элементов с минимальными декоративными элементами.'
|
|
258
258
|
}
|
|
259
|
+
},
|
|
260
|
+
isDemo: true,
|
|
261
|
+
demoOptions: {
|
|
262
|
+
liteThreshold: 4
|
|
259
263
|
}
|
|
260
264
|
},
|
|
261
265
|
'list.liteThreshold': {
|
|
262
266
|
type: StorybookControl.number,
|
|
263
267
|
options: {
|
|
264
|
-
category: StorybookCategory.
|
|
268
|
+
category: StorybookCategory.option,
|
|
265
269
|
description: {
|
|
266
270
|
en: 'Threshold value that works when lite mode is enabled (lite: true). Defines the maximum number of items before additional optimizations are applied in lite mode.',
|
|
267
|
-
ru: 'Пороговое значение, которое
|
|
271
|
+
ru: 'Пороговое значение, которое работает, когда включен lite режим (lite: true). Определяет максимальное количество элементов перед применением дополнительных оптимизаций в lite режиме.'
|
|
268
272
|
}
|
|
269
273
|
}
|
|
270
274
|
},
|
|
@@ -276,6 +280,8 @@ export const wikiList: StorybookArgsToList = {
|
|
|
276
280
|
en: 'List of selected items. Contains all currently selected items in the list for multi-selection scenarios.',
|
|
277
281
|
ru: 'Список выбранных элементов. Содержит все текущие выбранные элементы списка для сценариев множественного выбора.'
|
|
278
282
|
}
|
|
279
|
-
}
|
|
283
|
+
},
|
|
284
|
+
isDemo: true,
|
|
285
|
+
demo: 'task-management'
|
|
280
286
|
}
|
|
281
287
|
}
|
|
@@ -75,12 +75,13 @@ export const wikiListItem: StorybookArgsToList = {
|
|
|
75
75
|
'listItem.selectedChild': {
|
|
76
76
|
type: StorybookControl.boolean,
|
|
77
77
|
options: {
|
|
78
|
-
category: StorybookCategory.
|
|
78
|
+
category: StorybookCategory.technical,
|
|
79
79
|
description: {
|
|
80
80
|
en: 'Indicates if any child element of this list item is selected',
|
|
81
81
|
ru: 'Указывает, выбран ли какой-либо дочерний элемент данного элемента списка'
|
|
82
82
|
}
|
|
83
|
-
}
|
|
83
|
+
},
|
|
84
|
+
isDemo: true
|
|
84
85
|
},
|
|
85
86
|
'listItem.type': {
|
|
86
87
|
type: StorybookControl.string,
|
|
@@ -35,7 +35,7 @@ export const wikiMask: StorybookArgsToList = {
|
|
|
35
35
|
'mask.fullOnly': {
|
|
36
36
|
type: StorybookControl.boolean,
|
|
37
37
|
options: {
|
|
38
|
-
category: StorybookCategory.
|
|
38
|
+
category: StorybookCategory.option,
|
|
39
39
|
description: {
|
|
40
40
|
en: 'Treat input as valid only when the mask is fully completed',
|
|
41
41
|
ru: 'Считать ввод валидным только при полном заполнении маски'
|
|
@@ -45,7 +45,7 @@ export const wikiMask: StorybookArgsToList = {
|
|
|
45
45
|
'mask.groupSave': {
|
|
46
46
|
type: StorybookControl.boolean,
|
|
47
47
|
options: {
|
|
48
|
-
category: StorybookCategory.
|
|
48
|
+
category: StorybookCategory.option,
|
|
49
49
|
description: {
|
|
50
50
|
en: 'Controls cursor behavior when moving between different special character groups in the mask',
|
|
51
51
|
ru: 'Управляет поведением курсора при переходе между разными группами специальных символов в маске'
|
|
@@ -24,7 +24,7 @@ export const wikiMaskInclude: StorybookArgsToList = {
|
|
|
24
24
|
maskAttrs: {
|
|
25
25
|
type: StorybookControl.object,
|
|
26
26
|
options: {
|
|
27
|
-
category: StorybookCategory.
|
|
27
|
+
category: StorybookCategory.attributes,
|
|
28
28
|
description: {
|
|
29
29
|
en: 'Additional attributes for the mask component',
|
|
30
30
|
ru: 'Дополнительные атрибуты для компонента маски'
|
|
@@ -26,7 +26,7 @@ export const wikiMenu: StorybookArgsToList = {
|
|
|
26
26
|
'menu.cache': {
|
|
27
27
|
type: StorybookControl.boolean,
|
|
28
28
|
options: {
|
|
29
|
-
category: StorybookCategory.
|
|
29
|
+
category: StorybookCategory.option,
|
|
30
30
|
description: {
|
|
31
31
|
en: 'Enables caching of loaded menu data to reduce network requests.',
|
|
32
32
|
ru: 'Включает кэширование загруженных данных меню для уменьшения сетевых запросов.'
|
|
@@ -35,9 +35,9 @@ export const wikiMotionTransform: StorybookArgsToList = {
|
|
|
35
35
|
'motionTransform.autoClose': {
|
|
36
36
|
type: StorybookControl.boolean,
|
|
37
37
|
options: {
|
|
38
|
-
category: StorybookCategory.
|
|
38
|
+
category: StorybookCategory.option,
|
|
39
39
|
description: {
|
|
40
|
-
en: 'Automatically close on outside click',
|
|
40
|
+
en: 'Automatically close on the outside click',
|
|
41
41
|
ru: 'Автоматическое закрытие при клике снаружи'
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -65,11 +65,15 @@ export const wikiMotionTransform: StorybookArgsToList = {
|
|
|
65
65
|
'motionTransform.section': {
|
|
66
66
|
type: StorybookControl.boolean,
|
|
67
67
|
options: {
|
|
68
|
-
category: StorybookCategory.
|
|
68
|
+
category: StorybookCategory.option,
|
|
69
69
|
description: {
|
|
70
70
|
en: 'Enable section styling mode',
|
|
71
71
|
ru: 'Включение режима стилизации секции'
|
|
72
72
|
}
|
|
73
|
+
},
|
|
74
|
+
isDemo: true,
|
|
75
|
+
demoOptions: {
|
|
76
|
+
open: true
|
|
73
77
|
}
|
|
74
78
|
}
|
|
75
79
|
}
|