@dxtmisha/wiki 0.24.3 → 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.
Files changed (278) hide show
  1. package/package.json +8 -8
  2. package/src/classes/WikiStorybook.ts +92 -1
  3. package/src/classes/WikiStorybookItem.ts +79 -5
  4. package/src/classes/WikiStorybookProp.ts +109 -0
  5. package/src/library.ts +1 -0
  6. package/src/media/descriptions/wikiDescriptions.ts +32 -0
  7. package/src/media/descriptions/wikiDescriptionsAccordion.ts +204 -0
  8. package/src/media/descriptions/wikiDescriptionsActionSheet.ts +264 -0
  9. package/src/media/descriptions/wikiDescriptionsActions.ts +189 -0
  10. package/src/media/descriptions/wikiDescriptionsAnchor.ts +78 -0
  11. package/src/media/descriptions/wikiDescriptionsArrow.ts +214 -0
  12. package/src/media/descriptions/wikiDescriptionsBadge.ts +43 -0
  13. package/src/media/descriptions/wikiDescriptionsBars.ts +33 -0
  14. package/src/media/descriptions/wikiDescriptionsBlock.ts +159 -0
  15. package/src/media/descriptions/wikiDescriptionsButton.ts +32 -1
  16. package/src/media/descriptions/wikiDescriptionsCell.ts +26 -1
  17. package/src/media/descriptions/wikiDescriptionsChip.ts +42 -0
  18. package/src/media/descriptions/wikiDescriptionsChipGroup.ts +199 -0
  19. package/src/media/descriptions/wikiDescriptionsDialog.ts +226 -0
  20. package/src/media/descriptions/wikiDescriptionsField.ts +57 -2
  21. package/src/media/descriptions/wikiDescriptionsFieldCounter.ts +32 -0
  22. package/src/media/descriptions/wikiDescriptionsFieldLabel.ts +22 -0
  23. package/src/media/descriptions/wikiDescriptionsFieldMessage.ts +25 -0
  24. package/src/media/descriptions/wikiDescriptionsIcon.ts +46 -8
  25. package/src/media/descriptions/wikiDescriptionsImage.ts +91 -7
  26. package/src/media/descriptions/wikiDescriptionsInput.ts +313 -0
  27. package/src/media/descriptions/wikiDescriptionsList.ts +31 -0
  28. package/src/media/descriptions/wikiDescriptionsListGroup.ts +57 -0
  29. package/src/media/descriptions/wikiDescriptionsListItem.ts +42 -0
  30. package/src/media/descriptions/wikiDescriptionsListMenu.ts +41 -0
  31. package/src/media/descriptions/wikiDescriptionsMask.ts +42 -0
  32. package/src/media/descriptions/wikiDescriptionsMenu.ts +179 -0
  33. package/src/media/descriptions/wikiDescriptionsModal.ts +200 -0
  34. package/src/media/descriptions/wikiDescriptionsMotionTransform.ts +59 -6
  35. package/src/media/descriptions/wikiDescriptionsPage.ts +155 -0
  36. package/src/media/descriptions/wikiDescriptionsProgress.ts +39 -0
  37. package/src/media/descriptions/wikiDescriptionsRipple.ts +42 -3
  38. package/src/media/descriptions/wikiDescriptionsScrollbar.ts +48 -0
  39. package/src/media/descriptions/wikiDescriptionsSection.ts +152 -0
  40. package/src/media/descriptions/wikiDescriptionsSelect.ts +253 -0
  41. package/src/media/descriptions/wikiDescriptionsSelectValue.ts +107 -0
  42. package/src/media/descriptions/wikiDescriptionsSkeleton.ts +42 -1
  43. package/src/media/descriptions/wikiDescriptionsTextareaAutosize.ts +80 -0
  44. package/src/media/descriptions/wikiDescriptionsTooltip.ts +136 -0
  45. package/src/media/descriptions/wikiDescriptionsWindow.ts +60 -0
  46. package/src/media/functional/en/conversions.mdx +67 -0
  47. package/src/media/functional/en/dataUtils.mdx +25 -0
  48. package/src/media/functional/en/datetimeRef.mdx +1 -1
  49. package/src/media/functional/en/eventRef.mdx +1 -1
  50. package/src/media/functional/en/executionUtils.mdx +58 -0
  51. package/src/media/functional/en/geoFlagRef.mdx +1 -1
  52. package/src/media/functional/en/geoIntlRef.mdx +1 -1
  53. package/src/media/functional/en/geoRef.mdx +2 -2
  54. package/src/media/functional/en/meta.mdx +1206 -0
  55. package/src/media/functional/en/metaManager.mdx +376 -0
  56. package/src/media/functional/en/metaOg.mdx +694 -0
  57. package/src/media/functional/en/metaTwitter.mdx +853 -0
  58. package/src/media/functional/en/reactive.mdx +40 -0
  59. package/src/media/functional/en/refTypes.mdx +1 -1
  60. package/src/media/functional/en/useApiRef.mdx +5 -5
  61. package/src/media/functional/en/useMeta.mdx +431 -0
  62. package/src/media/functional/en/validationUtils.mdx +11 -0
  63. package/src/media/functional/functional-basic/functions/getCurrentDate/getCurrentDate.en.mdx +25 -0
  64. package/src/media/functional/functional-basic/functions/getCurrentDate/getCurrentDate.ru.mdx +25 -0
  65. package/src/media/functional/functional-basic/functions/getCurrentDate/getCurrentDate.vi.mdx +25 -0
  66. package/src/media/functional/functional-basic/functions/isEnter/isEnter.en.mdx +30 -0
  67. package/src/media/functional/functional-basic/functions/isEnter/isEnter.ru.mdx +30 -0
  68. package/src/media/functional/functional-basic/functions/isEnter/isEnter.vi.mdx +30 -0
  69. package/src/media/functional/ru/conversions.mdx +67 -0
  70. package/src/media/functional/ru/dataUtils.mdx +25 -0
  71. package/src/media/functional/ru/datetimeRef.mdx +2 -2
  72. package/src/media/functional/ru/eventRef.mdx +1 -1
  73. package/src/media/functional/ru/executionUtils.mdx +58 -0
  74. package/src/media/functional/ru/geoFlagRef.mdx +1 -1
  75. package/src/media/functional/ru/geoIntl.mdx +2 -2
  76. package/src/media/functional/ru/geoIntlRef.mdx +1 -1
  77. package/src/media/functional/ru/geoRef.mdx +2 -2
  78. package/src/media/functional/ru/listTypes.mdx +1 -1
  79. package/src/media/functional/ru/meta.mdx +1330 -0
  80. package/src/media/functional/ru/metaManager.mdx +376 -0
  81. package/src/media/functional/ru/metaOg.mdx +694 -0
  82. package/src/media/functional/ru/metaTwitter.mdx +853 -0
  83. package/src/media/functional/ru/reactive.mdx +40 -0
  84. package/src/media/functional/ru/refTypes.mdx +2 -2
  85. package/src/media/functional/ru/useApiRef.mdx +5 -5
  86. package/src/media/functional/ru/useMeta.mdx +431 -0
  87. package/src/media/functional/ru/validationUtils.mdx +11 -0
  88. package/src/media/mdx/Accordion/accordion.en.mdx +59 -0
  89. package/src/media/mdx/Accordion/accordion.ru.mdx +59 -0
  90. package/src/media/mdx/Accordion/slots.en.mdx +6 -0
  91. package/src/media/mdx/Accordion/slots.ru.mdx +6 -0
  92. package/src/media/mdx/Accordion/wikiMdxAccordion.ts +25 -0
  93. package/src/media/mdx/ActionSheet/actionSheet.en.mdx +61 -0
  94. package/src/media/mdx/ActionSheet/actionSheet.ru.mdx +61 -0
  95. package/src/media/mdx/ActionSheet/touchClose.en.mdx +21 -0
  96. package/src/media/mdx/ActionSheet/touchClose.ru.mdx +21 -0
  97. package/src/media/mdx/ActionSheet/wikiMdxActionSheet.ts +25 -0
  98. package/src/media/mdx/Actions/actions.en.mdx +48 -0
  99. package/src/media/mdx/Actions/actions.ru.mdx +48 -0
  100. package/src/media/mdx/Actions/flexible.en.mdx +19 -0
  101. package/src/media/mdx/Actions/flexible.ru.mdx +19 -0
  102. package/src/media/mdx/Actions/list.en.mdx +50 -0
  103. package/src/media/mdx/Actions/list.ru.mdx +50 -0
  104. package/src/media/mdx/Actions/wikiMdxActions.ts +31 -0
  105. package/src/media/mdx/Anchor/anchor.en.mdx +34 -0
  106. package/src/media/mdx/Anchor/anchor.ru.mdx +34 -0
  107. package/src/media/mdx/Anchor/expose.go.en.mdx +6 -0
  108. package/src/media/mdx/Anchor/expose.go.ru.mdx +6 -0
  109. package/src/media/mdx/Anchor/hide.en.mdx +28 -0
  110. package/src/media/mdx/Anchor/hide.ru.mdx +28 -0
  111. package/src/media/mdx/Anchor/isCopy.en.mdx +23 -0
  112. package/src/media/mdx/Anchor/isCopy.ru.mdx +23 -0
  113. package/src/media/mdx/Anchor/scroll.en.mdx +34 -0
  114. package/src/media/mdx/Anchor/scroll.ru.mdx +35 -0
  115. package/src/media/mdx/Anchor/wikiMdxAnchor.ts +43 -0
  116. package/src/media/mdx/Arrow/arrow.en.mdx +33 -0
  117. package/src/media/mdx/Arrow/arrow.ru.mdx +33 -0
  118. package/src/media/mdx/Arrow/wikiMdxArrow.ts +19 -0
  119. package/src/media/mdx/Block/block.en.mdx +42 -0
  120. package/src/media/mdx/Block/block.ru.mdx +42 -0
  121. package/src/media/mdx/Block/wikiMdxBlock.ts +19 -0
  122. package/src/media/mdx/ChipGroup/chipGroup.en.mdx +51 -0
  123. package/src/media/mdx/ChipGroup/chipGroup.ru.mdx +51 -0
  124. package/src/media/mdx/ChipGroup/selected.en.mdx +50 -0
  125. package/src/media/mdx/ChipGroup/selected.ru.mdx +50 -0
  126. package/src/media/mdx/ChipGroup/wikiMdxChipGroup.ts +25 -0
  127. package/src/media/mdx/Dialog/buttons.en.mdx +45 -0
  128. package/src/media/mdx/Dialog/buttons.ru.mdx +45 -0
  129. package/src/media/mdx/Dialog/dialog.en.mdx +66 -0
  130. package/src/media/mdx/Dialog/dialog.ru.mdx +65 -0
  131. package/src/media/mdx/Dialog/events.en.mdx +63 -0
  132. package/src/media/mdx/Dialog/events.ru.mdx +63 -0
  133. package/src/media/mdx/Dialog/states.en.mdx +58 -0
  134. package/src/media/mdx/Dialog/states.ru.mdx +57 -0
  135. package/src/media/mdx/Dialog/wikiMdxDialog.ts +37 -0
  136. package/src/media/mdx/Field/arrows.en.mdx +22 -6
  137. package/src/media/mdx/Field/arrows.ru.mdx +22 -6
  138. package/src/media/mdx/Field/slots.en.mdx +0 -13
  139. package/src/media/mdx/Field/slots.ru.mdx +0 -13
  140. package/src/media/mdx/Image/flag.en.mdx +23 -0
  141. package/src/media/mdx/Image/flag.ru.mdx +23 -0
  142. package/src/media/mdx/Image/image.en.mdx +26 -21
  143. package/src/media/mdx/Image/image.ru.mdx +26 -22
  144. package/src/media/mdx/Image/img-tag.en.mdx +105 -0
  145. package/src/media/mdx/Image/img-tag.ru.mdx +105 -0
  146. package/src/media/mdx/Image/wikiMdxImage.ts +12 -0
  147. package/src/media/mdx/Input/currency.en.mdx +38 -0
  148. package/src/media/mdx/Input/currency.ru.mdx +38 -0
  149. package/src/media/mdx/Input/date.en.mdx +53 -0
  150. package/src/media/mdx/Input/date.ru.mdx +53 -0
  151. package/src/media/mdx/Input/input.en.mdx +143 -0
  152. package/src/media/mdx/Input/input.ru.mdx +71 -0
  153. package/src/media/mdx/Input/mask.en.mdx +30 -0
  154. package/src/media/mdx/Input/mask.ru.mdx +30 -0
  155. package/src/media/mdx/Input/number.en.mdx +41 -0
  156. package/src/media/mdx/Input/number.ru.mdx +41 -0
  157. package/src/media/mdx/Input/type.en.mdx +26 -0
  158. package/src/media/mdx/Input/type.ru.mdx +26 -0
  159. package/src/media/mdx/Input/wikiMdxInput.ts +49 -0
  160. package/src/media/mdx/Menu/event.updateValue.en.mdx +29 -0
  161. package/src/media/mdx/Menu/event.updateValue.ru.mdx +30 -0
  162. package/src/media/mdx/Menu/expose.navigation.en.mdx +12 -0
  163. package/src/media/mdx/Menu/expose.navigation.ru.mdx +12 -0
  164. package/src/media/mdx/Menu/navigation.en.mdx +56 -0
  165. package/src/media/mdx/Menu/navigation.ru.mdx +56 -0
  166. package/src/media/mdx/Menu/slots.control.en.mdx +65 -0
  167. package/src/media/mdx/Menu/slots.control.ru.mdx +65 -0
  168. package/src/media/mdx/Menu/slots.en.mdx +2 -24
  169. package/src/media/mdx/Menu/slots.ru.mdx +2 -24
  170. package/src/media/mdx/Menu/wikiMdxMenu.ts +27 -3
  171. package/src/media/mdx/Modal/differences.en.mdx +130 -0
  172. package/src/media/mdx/Modal/differences.ru.mdx +65 -0
  173. package/src/media/mdx/Modal/modal.en.mdx +63 -0
  174. package/src/media/mdx/Modal/modal.ru.mdx +63 -0
  175. package/src/media/mdx/Modal/wikiMdxModal.ts +25 -0
  176. package/src/media/mdx/MotionTransform/expose.motionTransformElement.en.mdx +13 -0
  177. package/src/media/mdx/MotionTransform/expose.motionTransformElement.ru.mdx +14 -0
  178. package/src/media/mdx/MotionTransform/wikiMdxMotionTransform.ts +6 -0
  179. package/src/media/mdx/Page/page.en.mdx +38 -0
  180. package/src/media/mdx/Page/page.ru.mdx +38 -0
  181. package/src/media/mdx/Page/wikiMdxPage.ts +19 -0
  182. package/src/media/mdx/Section/section.en.mdx +38 -0
  183. package/src/media/mdx/Section/section.ru.mdx +38 -0
  184. package/src/media/mdx/Section/wikiMdxSection.ts +19 -0
  185. package/src/media/mdx/Select/select.en.mdx +69 -0
  186. package/src/media/mdx/Select/select.ru.mdx +69 -0
  187. package/src/media/mdx/Select/wikiMdxSelect.ts +19 -0
  188. package/src/media/mdx/SelectValue/selectValue.en.mdx +64 -0
  189. package/src/media/mdx/SelectValue/selectValue.ru.mdx +64 -0
  190. package/src/media/mdx/SelectValue/wikiMdxSelectValue.ts +19 -0
  191. package/src/media/mdx/TextareaAutosize/textarea-autosize.en.mdx +65 -0
  192. package/src/media/mdx/TextareaAutosize/textarea-autosize.ru.mdx +65 -0
  193. package/src/media/mdx/TextareaAutosize/wikiMdxTextareaAutosize.ts +19 -0
  194. package/src/media/mdx/Tooltip/event.tooltip.en.mdx +7 -0
  195. package/src/media/mdx/Tooltip/event.tooltip.ru.mdx +8 -0
  196. package/src/media/mdx/Tooltip/slot.control.en.mdx +14 -0
  197. package/src/media/mdx/Tooltip/slot.control.ru.mdx +14 -0
  198. package/src/media/mdx/Tooltip/tooltip.en.mdx +34 -0
  199. package/src/media/mdx/Tooltip/tooltip.ru.mdx +34 -0
  200. package/src/media/mdx/Tooltip/wikiMdxTooltip.ts +31 -0
  201. package/src/media/mdx/Window/classes.ru.mdx +1 -1
  202. package/src/media/mdx/event/events.actions.en.mdx +44 -0
  203. package/src/media/mdx/event/events.actions.ru.mdx +44 -0
  204. package/src/media/mdx/event/events.inputStandard.en.mdx +6 -0
  205. package/src/media/mdx/event/events.inputStandard.ru.mdx +6 -0
  206. package/src/media/mdx/event/wikiMdxEvent.ts +20 -8
  207. package/src/media/mdx/expose/expose.clear.en.mdx +1 -1
  208. package/src/media/mdx/expose/expose.descriptionId.en.mdx +6 -0
  209. package/src/media/mdx/expose/expose.descriptionId.ru.mdx +6 -0
  210. package/src/media/mdx/expose/expose.id.en.mdx +6 -0
  211. package/src/media/mdx/expose/expose.id.ru.mdx +6 -0
  212. package/src/media/mdx/expose/expose.labelId.en.mdx +6 -0
  213. package/src/media/mdx/expose/expose.labelId.ru.mdx +6 -0
  214. package/src/media/mdx/expose/wikiMdxExpose.ts +18 -0
  215. package/src/media/mdx/slot/body.en.mdx +6 -0
  216. package/src/media/mdx/slot/body.ru.mdx +6 -0
  217. package/src/media/mdx/slot/headline.en.mdx +7 -0
  218. package/src/media/mdx/slot/headline.ru.mdx +6 -0
  219. package/src/media/mdx/slot/leading.en.mdx +7 -0
  220. package/src/media/mdx/slot/leading.ru.mdx +7 -0
  221. package/src/media/mdx/slot/secondary.en.mdx +5 -0
  222. package/src/media/mdx/slot/secondary.ru.mdx +5 -0
  223. package/src/media/mdx/slot/trailing.en.mdx +7 -0
  224. package/src/media/mdx/slot/trailing.ru.mdx +7 -0
  225. package/src/media/mdx/slot/wikiMdxSlot.ts +30 -0
  226. package/src/media/mdx/style/isSkeleton.en.mdx +2 -2
  227. package/src/media/mdx/style/isSkeleton.ru.mdx +2 -2
  228. package/src/media/mdx/value/v-model-selected.en.mdx +28 -0
  229. package/src/media/mdx/value/v-model-selected.ru.mdx +28 -0
  230. package/src/media/mdx/value/v-model.en.mdx +26 -0
  231. package/src/media/mdx/value/v-model.ru.mdx +26 -0
  232. package/src/media/mdx/value/wikiMdxValue.ts +24 -3
  233. package/src/media/mdx/wikiMdx.ts +33 -1
  234. package/src/media/props/wiki.ts +44 -0
  235. package/src/media/props/wikiActions.ts +43 -0
  236. package/src/media/props/wikiActionsInclude.ts +62 -0
  237. package/src/media/props/wikiAnchor.ts +85 -0
  238. package/src/media/props/wikiAria.ts +123 -0
  239. package/src/media/props/wikiArrow.ts +24 -0
  240. package/src/media/props/wikiArrowInclude.ts +45 -0
  241. package/src/media/props/wikiAttributes.ts +143 -0
  242. package/src/media/props/wikiBadge.ts +7 -4
  243. package/src/media/props/wikiBars.ts +7 -6
  244. package/src/media/props/wikiBarsInclude.ts +82 -0
  245. package/src/media/props/wikiButton.ts +8 -4
  246. package/src/media/props/wikiChip.ts +4 -2
  247. package/src/media/props/wikiChipGroup.ts +39 -0
  248. package/src/media/props/wikiDialog.ts +33 -0
  249. package/src/media/props/wikiField.ts +18 -31
  250. package/src/media/props/wikiFieldCounterInclude.ts +87 -0
  251. package/src/media/props/wikiForm.ts +267 -0
  252. package/src/media/props/wikiHook.ts +20 -0
  253. package/src/media/props/wikiIcon.ts +19 -6
  254. package/src/media/props/wikiIconInclude.ts +322 -0
  255. package/src/media/props/wikiImage.ts +97 -20
  256. package/src/media/props/wikiInformation.ts +164 -0
  257. package/src/media/props/wikiInput.ts +34 -0
  258. package/src/media/props/wikiList.ts +10 -4
  259. package/src/media/props/wikiListItem.ts +23 -2
  260. package/src/media/props/wikiMask.ts +2 -12
  261. package/src/media/props/wikiMaskInclude.ts +54 -0
  262. package/src/media/props/wikiMenu.ts +1 -11
  263. package/src/media/props/wikiMotionTransform.ts +7 -13
  264. package/src/media/props/wikiOption.ts +356 -0
  265. package/src/media/props/wikiProgress.ts +8 -5
  266. package/src/media/props/wikiScrollbar.ts +6 -6
  267. package/src/media/props/wikiSelect.ts +68 -0
  268. package/src/media/props/wikiSelectValue.ts +30 -0
  269. package/src/media/props/wikiStatus.ts +34 -57
  270. package/src/media/props/wikiStyle.ts +85 -406
  271. package/src/media/props/wikiTechnical.ts +141 -1
  272. package/src/media/props/wikiText.ts +167 -0
  273. package/src/media/props/wikiTooltip.ts +53 -0
  274. package/src/media/props/wikiValue.ts +22 -276
  275. package/src/media/props/wikiWindow.ts +24 -45
  276. package/src/shims-mdx.d.ts +5 -0
  277. package/src/styles/storybookStyle.scss +3 -1
  278. package/src/types/storybookTypes.ts +48 -4
@@ -0,0 +1,123 @@
1
+ import {
2
+ type StorybookArgsToList,
3
+ StorybookCategory,
4
+ StorybookControl
5
+ } from '../../types/storybookTypes'
6
+
7
+ /**
8
+ * The wikiAria object contains common properties for all components in the ARIA category
9
+ *
10
+ * Объект wikiAria содержит общие свойства для всех компонентов в категории ARIA
11
+ */
12
+ export const wikiAria: StorybookArgsToList = {
13
+ ariaDescribedby: {
14
+ type: StorybookControl.text,
15
+ options: {
16
+ category: StorybookCategory.aria,
17
+ type: 'string',
18
+ description: {
19
+ en: 'Identifies the element(s) that describe the object',
20
+ ru: 'Определяет элемент(ы), которые описывают объект'
21
+ }
22
+ }
23
+ },
24
+ ariaHaspopup: {
25
+ type: StorybookControl.text,
26
+ options: {
27
+ category: StorybookCategory.aria,
28
+ type: 'string',
29
+ description: {
30
+ en: 'Indicates the availability and type of interactive popup element',
31
+ ru: 'Указывает на наличие и тип интерактивного всплывающего элемента'
32
+ }
33
+ }
34
+ },
35
+ ariaLabel: {
36
+ type: StorybookControl.text,
37
+ options: {
38
+ category: StorybookCategory.aria,
39
+ type: 'string',
40
+ description: {
41
+ en: 'Defines a label for the element for screen readers',
42
+ ru: 'Определяет метку для элемента для программ чтения с экрана'
43
+ }
44
+ }
45
+ },
46
+ ariaLabelledby: {
47
+ type: StorybookControl.text,
48
+ options: {
49
+ category: StorybookCategory.aria,
50
+ type: 'string',
51
+ description: {
52
+ en: 'Identifies the element(s) that label the current element',
53
+ ru: 'Определяет элемент(ы), которые обозначают текущий элемент'
54
+ }
55
+ }
56
+ },
57
+ ariaLive: {
58
+ type: StorybookControl.select,
59
+ options: {
60
+ category: StorybookCategory.aria,
61
+ type: 'string',
62
+ options: ['off', 'polite', 'assertive'],
63
+ description: {
64
+ en: 'Indicates that an element will be updated, and describes the types of updates',
65
+ ru: 'Указывает, что элемент будет обновляться, и описывает типы обновлений'
66
+ }
67
+ }
68
+ },
69
+ ariaMultiselectable: {
70
+ type: StorybookControl.boolean,
71
+ options: {
72
+ category: StorybookCategory.technical,
73
+ description: {
74
+ en: 'Indicates that the user may select more than one item',
75
+ ru: 'Указывает, что пользователь может выбрать более одного элемента'
76
+ }
77
+ }
78
+ },
79
+ polite: {
80
+ type: StorybookControl.boolean,
81
+ options: {
82
+ category: StorybookCategory.aria,
83
+ type: 'boolean',
84
+ description: {
85
+ en: 'Sets aria-live to "polite" for non-intrusive screen reader announcements',
86
+ ru: 'Устанавливает aria-live в "polite" для ненавязчивых объявлений программы чтения с экрана'
87
+ }
88
+ }
89
+ },
90
+ role: {
91
+ type: StorybookControl.text,
92
+ options: {
93
+ category: StorybookCategory.aria,
94
+ type: 'string',
95
+ description: {
96
+ en: 'Defines the role of the element for accessibility',
97
+ ru: 'Определяет роль элемента для доступности'
98
+ }
99
+ }
100
+ },
101
+ roleItem: {
102
+ type: StorybookControl.text,
103
+ options: {
104
+ category: StorybookCategory.aria,
105
+ type: 'string',
106
+ description: {
107
+ en: 'Defines the role of the item element for accessibility',
108
+ ru: 'Определяет роль элемента item для доступности'
109
+ }
110
+ }
111
+ },
112
+ tabindex: {
113
+ type: StorybookControl.number,
114
+ options: {
115
+ category: StorybookCategory.aria,
116
+ type: 'number',
117
+ description: {
118
+ en: 'Tab order position for keyboard navigation',
119
+ ru: 'Позиция порядка табуляции для навигации с клавиатуры'
120
+ }
121
+ }
122
+ }
123
+ }
@@ -0,0 +1,24 @@
1
+ import {
2
+ type StorybookArgsToList,
3
+ StorybookCategory,
4
+ StorybookControl
5
+ } from '../../types/storybookTypes'
6
+
7
+ /**
8
+ * The wikiArrow object contains descriptions of all properties for the Arrow component
9
+ *
10
+ * Объект wikiArrow содержит описание всех свойств для компонента Arrow
11
+ */
12
+ export const wikiArrow: StorybookArgsToList = {
13
+ elementTarget: {
14
+ type: StorybookControl.text,
15
+ options: {
16
+ category: StorybookCategory.value,
17
+ description: {
18
+ en: 'The arrow will point to this element if auto mode is set',
19
+ ru: 'Стрелка будет указывать на этот элемент, если установлен автоматический режим'
20
+ },
21
+ value: '#id-arrow-target'
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,45 @@
1
+ import {
2
+ type StorybookArgsToList,
3
+ StorybookCategory,
4
+ StorybookControl
5
+ } from '../../types/storybookTypes'
6
+
7
+ /**
8
+ * The wikiArrowInclude object contains descriptions of all properties for the Arrow include
9
+ *
10
+ * Объект wikiArrowInclude содержит описание всех свойств для включения Arrow
11
+ */
12
+ export const wikiArrowInclude: StorybookArgsToList = {
13
+ arrowAttrs: {
14
+ type: StorybookControl.object,
15
+ options: {
16
+ category: StorybookCategory.attributes,
17
+ description: {
18
+ en: 'Additional attributes for the Arrow component',
19
+ ru: 'Дополнительные атрибуты для компонента Arrow'
20
+ }
21
+ }
22
+ },
23
+ arrowPosition: {
24
+ type: StorybookControl.select,
25
+ options: {
26
+ category: StorybookCategory.arrow,
27
+ description: {
28
+ en: 'Arrow position',
29
+ ru: 'Позиция стрелки'
30
+ },
31
+ options: ['auto', 'top', 'bottom', 'left', 'right'],
32
+ defaultValue: 'auto'
33
+ }
34
+ },
35
+ arrowShow: {
36
+ type: StorybookControl.boolean,
37
+ options: {
38
+ category: StorybookCategory.arrow,
39
+ description: {
40
+ en: 'Show arrow',
41
+ ru: 'Показать стрелку'
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,143 @@
1
+ import {
2
+ type StorybookArgsToList,
3
+ StorybookCategory,
4
+ StorybookControl
5
+ } from '../../types/storybookTypes'
6
+
7
+ /**
8
+ * The wikiAttributes object contains descriptions of all attribute properties
9
+ *
10
+ * Объект wikiAttributes содержит описание всех свойств атрибутов
11
+ */
12
+ export const wikiAttributes: StorybookArgsToList = {
13
+ buttonAttrs: {
14
+ type: StorybookControl.object,
15
+ options: {
16
+ category: StorybookCategory.attributes,
17
+ description: {
18
+ en: 'Additional attributes for button elements',
19
+ ru: 'Дополнительные атрибуты для элементов кнопок'
20
+ }
21
+ }
22
+ },
23
+ buttonSecondaryAttrs: {
24
+ type: StorybookControl.object,
25
+ options: {
26
+ category: StorybookCategory.attributes,
27
+ description: {
28
+ en: 'Additional attributes for secondary button elements',
29
+ ru: 'Дополнительные атрибуты для элементов вторичных кнопок'
30
+ }
31
+ }
32
+ },
33
+ cellAttrs: {
34
+ type: StorybookControl.object,
35
+ options: {
36
+ category: StorybookCategory.attributes,
37
+ description: {
38
+ en: 'Additional attributes for the Cell component',
39
+ ru: 'Дополнительные атрибуты для компонента Cell'
40
+ }
41
+ }
42
+ },
43
+ chipAttrs: {
44
+ type: StorybookControl.object,
45
+ options: {
46
+ category: StorybookCategory.attributes,
47
+ description: {
48
+ en: 'Additional attributes for the Chip component',
49
+ ru: 'Дополнительные атрибуты для компонента Chip'
50
+ }
51
+ }
52
+ },
53
+ fieldAttrs: {
54
+ type: StorybookControl.object,
55
+ options: {
56
+ category: StorybookCategory.attributes,
57
+ description: {
58
+ en: 'Additional attributes for the Field component',
59
+ ru: 'Дополнительные атрибуты для компонента Field'
60
+ }
61
+ }
62
+ },
63
+ fieldLabelAttrs: {
64
+ type: StorybookControl.object,
65
+ options: {
66
+ category: StorybookCategory.attributes,
67
+ description: {
68
+ en: 'Additional attributes for the FieldLabel element',
69
+ ru: 'Дополнительные атрибуты для элемента FieldLabel'
70
+ }
71
+ }
72
+ },
73
+ fieldMessageAttrs: {
74
+ type: StorybookControl.object,
75
+ options: {
76
+ category: StorybookCategory.attributes,
77
+ description: {
78
+ en: 'Additional attributes for the FieldMessage element',
79
+ ru: 'Дополнительные атрибуты для элемента FieldMessage'
80
+ }
81
+ }
82
+ },
83
+ inputAttrs: {
84
+ type: StorybookControl.object,
85
+ options: {
86
+ category: StorybookCategory.attributes,
87
+ description: {
88
+ en: 'Additional attributes for the native input element',
89
+ ru: 'Дополнительные атрибуты для нативного элемента input'
90
+ }
91
+ }
92
+ },
93
+ menuAttrs: {
94
+ type: StorybookControl.object,
95
+ options: {
96
+ category: StorybookCategory.attributes,
97
+ description: {
98
+ en: 'Additional attributes for the Menu root container',
99
+ ru: 'Дополнительные атрибуты для корневого контейнера Menu'
100
+ }
101
+ }
102
+ },
103
+ motionTransformAttrs: {
104
+ type: StorybookControl.object,
105
+ options: {
106
+ category: StorybookCategory.attributes,
107
+ description: {
108
+ en: 'Additional attributes for the MotionTransform component',
109
+ ru: 'Дополнительные атрибуты для компонента MotionTransform'
110
+ }
111
+ }
112
+ },
113
+ scrollbarAttrs: {
114
+ type: StorybookControl.object,
115
+ options: {
116
+ category: StorybookCategory.attributes,
117
+ description: {
118
+ en: 'Sets attributes for the internal scrollbar',
119
+ ru: 'Задает атрибуты встроенного скроллбара'
120
+ }
121
+ }
122
+ },
123
+ tooltipAttrs: {
124
+ type: StorybookControl.object,
125
+ options: {
126
+ category: StorybookCategory.attributes,
127
+ description: {
128
+ en: 'Additional attributes for the Tooltip component',
129
+ ru: 'Дополнительные атрибуты для компонента Tooltip'
130
+ }
131
+ }
132
+ },
133
+ windowAttrs: {
134
+ type: StorybookControl.object,
135
+ options: {
136
+ category: StorybookCategory.attributes,
137
+ description: {
138
+ en: 'Additional attributes for the Window root container',
139
+ ru: 'Дополнительные атрибуты для корневого контейнера Window'
140
+ }
141
+ }
142
+ }
143
+ }
@@ -16,10 +16,11 @@ export const wikiBadge: StorybookArgsToList = {
16
16
  category: StorybookCategory.style,
17
17
 
18
18
  description: {
19
- en: 'Outline variant of the badge with transparent background and border',
19
+ en: 'Outline variant of the badge with a transparent background and border',
20
20
  ru: 'Контурный вариант бейджа с прозрачным фоном и границей'
21
21
  }
22
- }
22
+ },
23
+ isDemo: true
23
24
  },
24
25
  'badge.primary': {
25
26
  type: StorybookControl.boolean,
@@ -29,7 +30,8 @@ export const wikiBadge: StorybookArgsToList = {
29
30
  en: 'Primary color variant for the badge with high contrast and emphasis',
30
31
  ru: 'Основной цветовой вариант бейджа с высоким контрастом и акцентом'
31
32
  }
32
- }
33
+ },
34
+ isDemo: true
33
35
  },
34
36
  'badge.secondary': {
35
37
  type: StorybookControl.boolean,
@@ -40,6 +42,7 @@ export const wikiBadge: StorybookArgsToList = {
40
42
  en: 'Secondary color variant for the badge with moderate contrast',
41
43
  ru: 'Второстепенный цветовой вариант бейджа с умеренным контрастом'
42
44
  }
43
- }
45
+ },
46
+ isDemo: true
44
47
  }
45
48
  }
@@ -18,7 +18,8 @@ export const wikiBars: StorybookArgsToList = {
18
18
  en: 'Enables action mode',
19
19
  ru: 'Включает режим действия'
20
20
  }
21
- }
21
+ },
22
+ isDemo: true
22
23
  },
23
24
  'bars.actionBars': {
24
25
  type: StorybookControl.object,
@@ -38,7 +39,7 @@ export const wikiBars: StorybookArgsToList = {
38
39
  'bars.actionDescription': {
39
40
  type: StorybookControl.text,
40
41
  options: {
41
- category: StorybookCategory.value,
42
+ category: StorybookCategory.information,
42
43
  description: {
43
44
  en: 'Description for the action',
44
45
  ru: 'Описание для действия'
@@ -49,7 +50,7 @@ export const wikiBars: StorybookArgsToList = {
49
50
  'bars.actionLabel': {
50
51
  type: StorybookControl.text,
51
52
  options: {
52
- category: StorybookCategory.value,
53
+ category: StorybookCategory.information,
53
54
  description: {
54
55
  en: 'Label for the action',
55
56
  ru: 'Метка для действия'
@@ -70,7 +71,7 @@ export const wikiBars: StorybookArgsToList = {
70
71
  'bars.backActionHide': {
71
72
  type: StorybookControl.boolean,
72
73
  options: {
73
- category: StorybookCategory.style,
74
+ category: StorybookCategory.option,
74
75
  description: {
75
76
  en: 'Hide back button in action',
76
77
  ru: 'Скрыть кнопку назад в action'
@@ -80,7 +81,7 @@ export const wikiBars: StorybookArgsToList = {
80
81
  'bars.backHide': {
81
82
  type: StorybookControl.boolean,
82
83
  options: {
83
- category: StorybookCategory.style,
84
+ category: StorybookCategory.option,
84
85
  description: {
85
86
  en: 'Hides the back button',
86
87
  ru: 'Скрывает кнопку назад'
@@ -107,7 +108,7 @@ export const wikiBars: StorybookArgsToList = {
107
108
  options: {
108
109
  category: StorybookCategory.technical,
109
110
  description: {
110
- en: 'Two-way binding for action state (v-model:action)',
111
+ en: 'Two-way binding for the action state (v-model:action)',
111
112
  ru: 'Двусторонняя привязка состояния action (v-model:action)'
112
113
  }
113
114
  }
@@ -0,0 +1,82 @@
1
+ import {
2
+ type StorybookArgsToList,
3
+ StorybookCategory,
4
+ StorybookControl
5
+ } from '../../types/storybookTypes'
6
+
7
+ /**
8
+ * The wikiBarsInclude object contains descriptions of all properties for the Bars include
9
+ *
10
+ * Объект wikiBarsInclude содержит описание всех свойств для включения Bars
11
+ */
12
+ export const wikiBarsInclude: StorybookArgsToList = {
13
+ barsAttrs: {
14
+ type: StorybookControl.object,
15
+ options: {
16
+ category: StorybookCategory.attributes,
17
+ description: {
18
+ en: 'Additional attributes for the bars (header toolbar) container',
19
+ ru: 'Дополнительные атрибуты для контейнера бара (верхней панели)'
20
+ }
21
+ }
22
+ },
23
+ barsBackHide: {
24
+ type: StorybookControl.boolean,
25
+ options: {
26
+ category: StorybookCategory.bars,
27
+ description: {
28
+ en: 'Hides the back button in the bars',
29
+ ru: 'Скрывает кнопку назад в барах'
30
+ }
31
+ }
32
+ },
33
+ barsDescription: {
34
+ type: StorybookControl.string,
35
+ options: {
36
+ category: StorybookCategory.bars,
37
+ type: 'string',
38
+ description: {
39
+ en: 'Description text displayed in the bars area (subtitle/help)',
40
+ ru: 'Текст описания, отображаемый в области бара (подзаголовок/подсказка)'
41
+ },
42
+ value: 'Welcome to the application!'
43
+ }
44
+ },
45
+ barsHide: {
46
+ type: StorybookControl.boolean,
47
+ options: {
48
+ category: StorybookCategory.bars,
49
+ description: {
50
+ en: 'Hides the bars (header toolbar)',
51
+ ru: 'Скрывает бар (верхнюю панель)'
52
+ }
53
+ }
54
+ },
55
+ barsLabel: {
56
+ type: StorybookControl.string,
57
+ options: {
58
+ category: StorybookCategory.bars,
59
+ type: ['string', 'number'],
60
+ description: {
61
+ en: 'Label or numeric indicator shown in the bars header',
62
+ ru: 'Метка или числовой индикатор, отображаемый в заголовке бара'
63
+ },
64
+ value: 'Hello friend'
65
+ }
66
+ },
67
+ barsList: {
68
+ type: StorybookControl.object,
69
+ options: {
70
+ category: StorybookCategory.bars,
71
+ description: {
72
+ en: 'Array of buttons displayed in the bars area (actions)',
73
+ ru: 'Массив кнопок, отображаемых в области бара (действия)'
74
+ },
75
+ value: [
76
+ { icon: 'home', label: 'Home' },
77
+ { icon: 'search', label: 'Search' },
78
+ { icon: 'settings', label: 'Settings' }
79
+ ]
80
+ }
81
+ }
82
+ }
@@ -19,7 +19,8 @@ export const wikiButton: StorybookArgsToList = {
19
19
  en: 'Outline button style',
20
20
  ru: 'Стиль кнопки с обводкой'
21
21
  }
22
- }
22
+ },
23
+ isDemo: true
23
24
  },
24
25
  'button.primary': {
25
26
  type: StorybookControl.boolean,
@@ -30,7 +31,8 @@ export const wikiButton: StorybookArgsToList = {
30
31
  en: 'Primary button style',
31
32
  ru: 'Основной стиль кнопки'
32
33
  }
33
- }
34
+ },
35
+ isDemo: true
34
36
  },
35
37
  'button.secondary': {
36
38
  type: StorybookControl.boolean,
@@ -41,7 +43,8 @@ export const wikiButton: StorybookArgsToList = {
41
43
  en: 'Secondary button style',
42
44
  ru: 'Вторичный стиль кнопки'
43
45
  }
44
- }
46
+ },
47
+ isDemo: true
45
48
  },
46
49
  'button.text': {
47
50
  type: StorybookControl.boolean,
@@ -52,6 +55,7 @@ export const wikiButton: StorybookArgsToList = {
52
55
  en: 'Text button style',
53
56
  ru: 'Текстовый стиль кнопки'
54
57
  }
55
- }
58
+ },
59
+ isDemo: true
56
60
  }
57
61
  }
@@ -19,7 +19,8 @@ export const wikiChip: StorybookArgsToList = {
19
19
  en: 'Alternative visual appearance style',
20
20
  ru: 'Альтернативный стиль внешнего вида'
21
21
  }
22
- }
22
+ },
23
+ isDemo: true
23
24
  },
24
25
  'chip.input': {
25
26
  type: StorybookControl.boolean,
@@ -30,6 +31,7 @@ export const wikiChip: StorybookArgsToList = {
30
31
  en: 'Input-style visual appearance',
31
32
  ru: 'Внешний вид в стиле поля ввода'
32
33
  }
33
- }
34
+ },
35
+ isDemo: true
34
36
  }
35
37
  }
@@ -0,0 +1,39 @@
1
+ import {
2
+ type StorybookArgsToList,
3
+ StorybookCategory,
4
+ StorybookControl
5
+ } from '../../types/storybookTypes'
6
+
7
+ /**
8
+ * The wikiChipGroup object contains properties for the ChipGroup component
9
+ *
10
+ * Объект wikiChipGroup содержит свойства для компонента ChipGroup
11
+ */
12
+ export const wikiChipGroup: StorybookArgsToList = {
13
+ 'chipGroup.list': {
14
+ type: StorybookControl.object,
15
+ options: {
16
+ category: StorybookCategory.value,
17
+ description: {
18
+ en: 'Array of chip items data. Contains the data for all chips to be rendered in the group.',
19
+ ru: 'Массив данных элементов чипов. Содержит данные для всех чипов, которые должны быть отображены в группе.'
20
+ },
21
+ value: [
22
+ { label: 'Apple', value: 'apple' },
23
+ { label: 'Banana', value: 'banana' },
24
+ { label: 'Orange', value: 'orange' }
25
+ ]
26
+ }
27
+ },
28
+ 'chipGroup.selected': {
29
+ type: StorybookControl.string,
30
+ options: {
31
+ category: StorybookCategory.status,
32
+ type: ['string', 'number', 'boolean', 'array'],
33
+ description: {
34
+ en: 'Currently selected item(s) - can be a single value or an array of values',
35
+ ru: 'Выбранный элемент(ы) - может быть одним значением или массивом значений'
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,33 @@
1
+ import {
2
+ type StorybookArgsToItem,
3
+ type StorybookArgsToList,
4
+ StorybookCategory,
5
+ StorybookControl
6
+ } from '../../types/storybookTypes'
7
+
8
+ import { wikiActionsInclude } from './wikiActionsInclude'
9
+
10
+ /**
11
+ * The wikiDialog object contains properties specific to Dialog component
12
+ *
13
+ * Объект wikiDialog содержит свойства, специфичные для компонента Dialog
14
+ */
15
+ export const wikiDialog: StorybookArgsToList = {
16
+ 'dialog.actionsList': {
17
+ ...(wikiActionsInclude.actionsList as StorybookArgsToItem),
18
+ options: {
19
+ ...(wikiActionsInclude.actionsList as StorybookArgsToItem).options,
20
+ value: undefined
21
+ }
22
+ },
23
+ 'dialog.clickOkAndClose': {
24
+ type: StorybookControl.boolean,
25
+ options: {
26
+ category: StorybookCategory.option,
27
+ description: {
28
+ en: 'Automatically closes the dialog when the OK button is clicked',
29
+ ru: 'Автоматически закрывает диалог при клике на кнопку OK'
30
+ }
31
+ }
32
+ }
33
+ }