@dxtmisha/wiki 0.24.1 → 0.24.3

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 (415) hide show
  1. package/package.json +3 -2
  2. package/src/library.ts +7 -7
  3. package/src/media/descriptions/wikiDescriptionsBars.ts +1 -3
  4. package/src/media/descriptions/wikiDescriptionsCell.ts +1 -2
  5. package/src/media/descriptions/wikiDescriptionsChip.ts +0 -1
  6. package/src/media/descriptions/wikiDescriptionsField.ts +1 -4
  7. package/src/media/descriptions/wikiDescriptionsFieldCounter.ts +6 -6
  8. package/src/media/descriptions/wikiDescriptionsFieldMessage.ts +1 -2
  9. package/src/media/descriptions/wikiDescriptionsImage.ts +2 -2
  10. package/src/media/descriptions/wikiDescriptionsList.ts +1 -5
  11. package/src/media/descriptions/wikiDescriptionsListGroup.ts +2 -3
  12. package/src/media/descriptions/wikiDescriptionsListItem.ts +1 -3
  13. package/src/media/descriptions/wikiDescriptionsListMenu.ts +2 -9
  14. package/src/media/descriptions/wikiDescriptionsMask.ts +12 -0
  15. package/src/media/descriptions/wikiDescriptionsMenu.ts +3 -14
  16. package/src/media/descriptions/wikiDescriptionsMotionTransform.ts +2 -4
  17. package/src/media/descriptions/wikiDescriptionsScrollbar.ts +1 -7
  18. package/src/media/descriptions/wikiDescriptionsSkeleton.ts +1 -0
  19. package/src/media/descriptions/wikiDescriptionsWindow.ts +5 -22
  20. package/src/media/functional/en/broadcastMessage.mdx +307 -0
  21. package/src/media/functional/ru/broadcastMessage.mdx +305 -0
  22. package/src/media/mdx/Badge/badge.en.mdx +85 -7
  23. package/src/media/mdx/Badge/badge.ru.mdx +85 -7
  24. package/src/media/mdx/Badge/dot.en.mdx +16 -12
  25. package/src/media/mdx/Badge/dot.ru.mdx +16 -12
  26. package/src/media/mdx/Badge/outline.en.mdx +12 -13
  27. package/src/media/mdx/Badge/outline.ru.mdx +12 -13
  28. package/src/media/mdx/Badge/primary.en.mdx +12 -12
  29. package/src/media/mdx/Badge/primary.ru.mdx +12 -12
  30. package/src/media/mdx/Badge/secondary.en.mdx +12 -13
  31. package/src/media/mdx/Badge/secondary.ru.mdx +12 -13
  32. package/src/media/mdx/Bars/action.en.mdx +72 -28
  33. package/src/media/mdx/Bars/action.ru.mdx +73 -29
  34. package/src/media/mdx/Bars/bars.en.mdx +90 -15
  35. package/src/media/mdx/Bars/bars.ru.mdx +91 -15
  36. package/src/media/mdx/Bars/slots.en.mdx +33 -0
  37. package/src/media/mdx/Bars/slots.ru.mdx +33 -0
  38. package/src/media/mdx/Bars/v-model.en.mdx +23 -14
  39. package/src/media/mdx/Bars/v-model.ru.mdx +23 -14
  40. package/src/media/mdx/Bars/wikiMdxBars.ts +5 -11
  41. package/src/media/mdx/Button/button.en.mdx +89 -1
  42. package/src/media/mdx/Button/button.ru.mdx +89 -1
  43. package/src/media/mdx/Button/outline.en.mdx +12 -14
  44. package/src/media/mdx/Button/outline.ru.mdx +12 -14
  45. package/src/media/mdx/Button/primary.en.mdx +12 -19
  46. package/src/media/mdx/Button/primary.ru.mdx +12 -19
  47. package/src/media/mdx/Button/secondary.en.mdx +12 -17
  48. package/src/media/mdx/Button/secondary.ru.mdx +12 -17
  49. package/src/media/mdx/Button/text.en.mdx +12 -11
  50. package/src/media/mdx/Button/text.ru.mdx +12 -11
  51. package/src/media/mdx/Cell/cell.en.mdx +50 -9
  52. package/src/media/mdx/Cell/cell.ru.mdx +50 -9
  53. package/src/media/mdx/Cell/slots.en.mdx +82 -0
  54. package/src/media/mdx/Cell/slots.ru.mdx +83 -0
  55. package/src/media/mdx/Cell/wikiMdxCell.ts +6 -12
  56. package/src/media/mdx/Chip/assistive.en.mdx +12 -14
  57. package/src/media/mdx/Chip/assistive.ru.mdx +12 -14
  58. package/src/media/mdx/Chip/chip.en.mdx +69 -9
  59. package/src/media/mdx/Chip/chip.ru.mdx +69 -9
  60. package/src/media/mdx/Chip/input.en.mdx +12 -19
  61. package/src/media/mdx/Chip/input.ru.mdx +12 -19
  62. package/src/media/mdx/Field/arrows.en.mdx +67 -17
  63. package/src/media/mdx/Field/arrows.ru.mdx +67 -17
  64. package/src/media/mdx/Field/cancel.en.mdx +47 -10
  65. package/src/media/mdx/Field/cancel.ru.mdx +47 -10
  66. package/src/media/mdx/Field/field.en.mdx +45 -15
  67. package/src/media/mdx/Field/field.ru.mdx +45 -15
  68. package/src/media/mdx/Field/slots.en.mdx +151 -0
  69. package/src/media/mdx/Field/slots.ru.mdx +151 -0
  70. package/src/media/mdx/Field/value.en.mdx +49 -28
  71. package/src/media/mdx/Field/value.ru.mdx +49 -28
  72. package/src/media/mdx/Field/width.en.mdx +21 -19
  73. package/src/media/mdx/Field/width.ru.mdx +21 -19
  74. package/src/media/mdx/Field/wikiMdxField.ts +14 -26
  75. package/src/media/mdx/FieldCounter/fieldCounter.en.mdx +52 -14
  76. package/src/media/mdx/FieldCounter/fieldCounter.ru.mdx +55 -14
  77. package/src/media/mdx/FieldCounter/templates.en.mdx +26 -6
  78. package/src/media/mdx/FieldCounter/templates.ru.mdx +25 -5
  79. package/src/media/mdx/FieldLabel/fieldLabel.en.mdx +56 -14
  80. package/src/media/mdx/FieldLabel/fieldLabel.ru.mdx +56 -14
  81. package/src/media/mdx/FieldMessage/fieldMessage.en.mdx +58 -14
  82. package/src/media/mdx/FieldMessage/fieldMessage.ru.mdx +58 -14
  83. package/src/media/mdx/FieldMessage/slots.en.mdx +45 -0
  84. package/src/media/mdx/FieldMessage/slots.ru.mdx +45 -0
  85. package/src/media/mdx/FieldMessage/wikiMdxFieldMessage.ts +6 -12
  86. package/src/media/mdx/Icon/expose.isActive.en.mdx +2 -10
  87. package/src/media/mdx/Icon/expose.isActive.ru.mdx +2 -10
  88. package/src/media/mdx/Icon/icon.en.mdx +43 -9
  89. package/src/media/mdx/Icon/icon.ru.mdx +27 -28
  90. package/src/media/mdx/Image/adaptive.en.mdx +63 -20
  91. package/src/media/mdx/Image/adaptive.ru.mdx +62 -25
  92. package/src/media/mdx/Image/event.load.en.mdx +37 -2
  93. package/src/media/mdx/Image/event.load.ru.mdx +34 -7
  94. package/src/media/mdx/Image/{expose.type.ru.mdx → expose.en.mdx} +11 -1
  95. package/src/media/mdx/Image/expose.ru.mdx +31 -0
  96. package/src/media/mdx/Image/image.en.mdx +46 -0
  97. package/src/media/mdx/Image/image.ru.mdx +47 -0
  98. package/src/media/mdx/Image/size.en.mdx +19 -19
  99. package/src/media/mdx/Image/size.ru.mdx +19 -23
  100. package/src/media/mdx/Image/value.en.mdx +10 -27
  101. package/src/media/mdx/Image/value.ru.mdx +10 -29
  102. package/src/media/mdx/Image/wikiMdxImage.ts +11 -11
  103. package/src/media/mdx/List/event.close.en.mdx +5 -8
  104. package/src/media/mdx/List/event.close.ru.mdx +5 -8
  105. package/src/media/mdx/List/list.en.mdx +56 -14
  106. package/src/media/mdx/List/list.ru.mdx +56 -14
  107. package/src/media/mdx/List/lite.en.mdx +17 -12
  108. package/src/media/mdx/List/lite.ru.mdx +17 -12
  109. package/src/media/mdx/List/slot.html.en.mdx +72 -21
  110. package/src/media/mdx/List/slot.html.ru.mdx +72 -21
  111. package/src/media/mdx/ListGroup/listGroup.en.mdx +55 -1
  112. package/src/media/mdx/ListGroup/listGroup.ru.mdx +55 -1
  113. package/src/media/mdx/ListGroup/slots.en.mdx +10 -0
  114. package/src/media/mdx/ListGroup/slots.ru.mdx +10 -0
  115. package/src/media/mdx/ListGroup/wikiMdxListGroup.ts +6 -12
  116. package/src/media/mdx/ListItem/basic.en.mdx +47 -10
  117. package/src/media/mdx/ListItem/basic.ru.mdx +46 -9
  118. package/src/media/mdx/ListItem/fill.en.mdx +22 -8
  119. package/src/media/mdx/ListItem/fill.ru.mdx +22 -8
  120. package/src/media/mdx/ListItem/slots.en.mdx +7 -0
  121. package/src/media/mdx/ListItem/slots.ru.mdx +7 -0
  122. package/src/media/mdx/ListItem/wikiMdxListItem.ts +7 -13
  123. package/src/media/mdx/ListMenu/listMenu.en.mdx +62 -1
  124. package/src/media/mdx/ListMenu/listMenu.ru.mdx +62 -1
  125. package/src/media/mdx/Mask/basic.en.mdx +68 -16
  126. package/src/media/mdx/Mask/basic.ru.mdx +70 -11
  127. package/src/media/mdx/Mask/dateTypes.en.mdx +82 -68
  128. package/src/media/mdx/Mask/dateTypes.ru.mdx +82 -68
  129. package/src/media/mdx/Mask/expose.en.mdx +20 -0
  130. package/src/media/mdx/Mask/expose.ru.mdx +20 -0
  131. package/src/media/mdx/Mask/groupSave.en.mdx +13 -46
  132. package/src/media/mdx/Mask/groupSave.ru.mdx +13 -46
  133. package/src/media/mdx/Mask/mask.en.mdx +12 -66
  134. package/src/media/mdx/Mask/mask.ru.mdx +12 -66
  135. package/src/media/mdx/Mask/match.en.mdx +16 -24
  136. package/src/media/mdx/Mask/match.ru.mdx +16 -24
  137. package/src/media/mdx/Mask/numberTypes.en.mdx +64 -52
  138. package/src/media/mdx/Mask/numberTypes.ru.mdx +64 -52
  139. package/src/media/mdx/Mask/pattern.en.mdx +63 -75
  140. package/src/media/mdx/Mask/pattern.ru.mdx +63 -75
  141. package/src/media/mdx/Mask/special.en.mdx +174 -97
  142. package/src/media/mdx/Mask/special.ru.mdx +174 -97
  143. package/src/media/mdx/Mask/type.en.mdx +12 -36
  144. package/src/media/mdx/Mask/type.ru.mdx +11 -35
  145. package/src/media/mdx/Mask/visible.en.mdx +33 -41
  146. package/src/media/mdx/Mask/visible.ru.mdx +32 -40
  147. package/src/media/mdx/Mask/wikiMdxMask.ts +6 -0
  148. package/src/media/mdx/Menu/ajax.en.mdx +44 -51
  149. package/src/media/mdx/Menu/ajax.ru.mdx +44 -52
  150. package/src/media/mdx/Menu/menu.en.mdx +63 -1
  151. package/src/media/mdx/Menu/menu.ru.mdx +64 -1
  152. package/src/media/mdx/Menu/slots.en.mdx +122 -0
  153. package/src/media/mdx/Menu/slots.ru.mdx +122 -0
  154. package/src/media/mdx/Menu/wikiMdxMenu.ts +7 -32
  155. package/src/media/mdx/MotionTransform/animationHeadPosition.en.mdx +10 -22
  156. package/src/media/mdx/MotionTransform/animationHeadPosition.ru.mdx +10 -22
  157. package/src/media/mdx/MotionTransform/classes.en.mdx +18 -25
  158. package/src/media/mdx/MotionTransform/classes.ru.mdx +18 -25
  159. package/src/media/mdx/MotionTransform/events.en.mdx +31 -43
  160. package/src/media/mdx/MotionTransform/events.ru.mdx +31 -43
  161. package/src/media/mdx/MotionTransform/expose.isShow.en.mdx +2 -4
  162. package/src/media/mdx/MotionTransform/expose.isShow.ru.mdx +2 -4
  163. package/src/media/mdx/MotionTransform/ignore.en.mdx +22 -24
  164. package/src/media/mdx/MotionTransform/ignore.ru.mdx +22 -24
  165. package/src/media/mdx/MotionTransform/motionTransform.en.mdx +44 -15
  166. package/src/media/mdx/MotionTransform/motionTransform.ru.mdx +44 -15
  167. package/src/media/mdx/MotionTransform/slots.en.mdx +92 -0
  168. package/src/media/mdx/MotionTransform/slots.ru.mdx +92 -0
  169. package/src/media/mdx/MotionTransform/v-model.en.mdx +23 -14
  170. package/src/media/mdx/MotionTransform/v-model.ru.mdx +23 -14
  171. package/src/media/mdx/MotionTransform/wikiMdxMotionTransform.ts +5 -17
  172. package/src/media/mdx/Progress/circular.en.mdx +7 -20
  173. package/src/media/mdx/Progress/circular.ru.mdx +7 -20
  174. package/src/media/mdx/Progress/delays.en.mdx +6 -13
  175. package/src/media/mdx/Progress/delays.ru.mdx +6 -13
  176. package/src/media/mdx/Progress/linear.en.mdx +9 -23
  177. package/src/media/mdx/Progress/linear.ru.mdx +9 -23
  178. package/src/media/mdx/Progress/progress.en.mdx +67 -5
  179. package/src/media/mdx/Progress/progress.ru.mdx +67 -5
  180. package/src/media/mdx/Progress/values.en.mdx +6 -28
  181. package/src/media/mdx/Progress/values.ru.mdx +6 -29
  182. package/src/media/mdx/Ripple/ripple.en.mdx +34 -40
  183. package/src/media/mdx/Ripple/ripple.ru.mdx +34 -40
  184. package/src/media/mdx/Scrollbar/emits-include.en.mdx +38 -0
  185. package/src/media/mdx/Scrollbar/emits-include.ru.mdx +38 -0
  186. package/src/media/mdx/Scrollbar/emits.en.mdx +38 -0
  187. package/src/media/mdx/Scrollbar/emits.ru.mdx +38 -0
  188. package/src/media/mdx/Scrollbar/scrollbar.en.mdx +38 -2
  189. package/src/media/mdx/Scrollbar/scrollbar.ru.mdx +38 -2
  190. package/src/media/mdx/Scrollbar/wikiMdxScrollbar.ts +12 -43
  191. package/src/media/mdx/Skeleton/classes.en.mdx +13 -0
  192. package/src/media/mdx/Skeleton/classes.ru.mdx +13 -0
  193. package/src/media/mdx/Skeleton/expose.isActive.en.mdx +7 -28
  194. package/src/media/mdx/Skeleton/expose.isActive.ru.mdx +7 -28
  195. package/src/media/mdx/Skeleton/skeleton.en.mdx +37 -36
  196. package/src/media/mdx/Skeleton/skeleton.ru.mdx +37 -36
  197. package/src/media/mdx/Skeleton/wikiMdxSkeleton.ts +7 -0
  198. package/src/media/mdx/Window/axis.en.mdx +11 -19
  199. package/src/media/mdx/Window/axis.ru.mdx +11 -19
  200. package/src/media/mdx/Window/classes.en.mdx +9 -26
  201. package/src/media/mdx/Window/classes.ru.mdx +9 -26
  202. package/src/media/mdx/Window/event.window.en.mdx +26 -8
  203. package/src/media/mdx/Window/event.window.ru.mdx +26 -8
  204. package/src/media/mdx/Window/expose.en.mdx +44 -0
  205. package/src/media/mdx/Window/expose.ru.mdx +44 -0
  206. package/src/media/mdx/Window/hooks.en.mdx +29 -50
  207. package/src/media/mdx/Window/hooks.ru.mdx +31 -52
  208. package/src/media/mdx/Window/slots.en.mdx +168 -0
  209. package/src/media/mdx/Window/slots.ru.mdx +168 -0
  210. package/src/media/mdx/Window/v-model.en.mdx +20 -11
  211. package/src/media/mdx/Window/v-model.ru.mdx +19 -11
  212. package/src/media/mdx/Window/wikiMdxWindow.ts +11 -41
  213. package/src/media/mdx/Window/window.en.mdx +55 -1
  214. package/src/media/mdx/Window/window.ru.mdx +55 -1
  215. package/src/media/mdx/event/events.bars.en.mdx +50 -0
  216. package/src/media/mdx/event/events.bars.ru.mdx +50 -0
  217. package/src/media/mdx/event/events.beforeinput.en.mdx +13 -0
  218. package/src/media/mdx/event/events.beforeinput.ru.mdx +13 -0
  219. package/src/media/mdx/event/events.click.en.mdx +36 -0
  220. package/src/media/mdx/event/events.click.ru.mdx +36 -0
  221. package/src/media/mdx/event/events.focus.en.mdx +13 -0
  222. package/src/media/mdx/event/events.focus.ru.mdx +13 -0
  223. package/src/media/mdx/event/events.input.en.mdx +89 -0
  224. package/src/media/mdx/event/events.input.ru.mdx +90 -0
  225. package/src/media/mdx/event/events.keyboard.en.mdx +13 -0
  226. package/src/media/mdx/event/events.keyboard.ru.mdx +13 -0
  227. package/src/media/mdx/event/events.paste.en.mdx +6 -0
  228. package/src/media/mdx/event/events.paste.ru.mdx +6 -0
  229. package/src/media/mdx/event/events.reset.en.mdx +6 -0
  230. package/src/media/mdx/event/events.reset.ru.mdx +6 -0
  231. package/src/media/mdx/event/wikiMdxEvent.ts +39 -74
  232. package/src/media/mdx/expose/expose.clear.en.mdx +3 -0
  233. package/src/media/mdx/expose/expose.clear.ru.mdx +3 -0
  234. package/src/media/mdx/expose/expose.detail.en.mdx +5 -0
  235. package/src/media/mdx/expose/{detail.ru.mdx → expose.detail.ru.mdx} +1 -3
  236. package/src/media/mdx/expose/expose.open.en.mdx +5 -0
  237. package/src/media/mdx/expose/expose.open.ru.mdx +5 -0
  238. package/src/media/mdx/expose/expose.selected.en.mdx +23 -0
  239. package/src/media/mdx/expose/expose.selected.ru.mdx +23 -0
  240. package/src/media/mdx/expose/{value.en.mdx → expose.value.en.mdx} +1 -3
  241. package/src/media/mdx/expose/{value.ru.mdx → expose.value.ru.mdx} +1 -3
  242. package/src/media/mdx/expose/wikiMdxExpose.ts +25 -31
  243. package/src/media/mdx/slot/caption.en.mdx +2 -7
  244. package/src/media/mdx/slot/caption.ru.mdx +2 -7
  245. package/src/media/mdx/slot/control.en.mdx +4 -5
  246. package/src/media/mdx/slot/control.ru.mdx +4 -5
  247. package/src/media/mdx/slot/default.en.mdx +2 -7
  248. package/src/media/mdx/slot/default.ru.mdx +2 -7
  249. package/src/media/mdx/slot/description.en.mdx +2 -7
  250. package/src/media/mdx/slot/description.ru.mdx +2 -7
  251. package/src/media/mdx/slot/footer.en.mdx +4 -5
  252. package/src/media/mdx/slot/footer.ru.mdx +4 -5
  253. package/src/media/mdx/slot/label.en.mdx +2 -8
  254. package/src/media/mdx/slot/label.ru.mdx +2 -8
  255. package/src/media/mdx/slot/prefix.en.mdx +1 -4
  256. package/src/media/mdx/slot/prefix.ru.mdx +1 -4
  257. package/src/media/mdx/slot/suffix.en.mdx +1 -4
  258. package/src/media/mdx/slot/suffix.ru.mdx +1 -4
  259. package/src/media/mdx/slot/wikiMdxSlot.ts +0 -6
  260. package/src/media/mdx/style/adaptive.en.mdx +6 -16
  261. package/src/media/mdx/style/adaptive.ru.mdx +6 -16
  262. package/src/media/mdx/style/asPalette.en.mdx +13 -5
  263. package/src/media/mdx/style/asPalette.ru.mdx +13 -5
  264. package/src/media/mdx/style/dir.en.mdx +14 -7
  265. package/src/media/mdx/style/dir.ru.mdx +14 -7
  266. package/src/media/mdx/style/isSkeleton.en.mdx +20 -6
  267. package/src/media/mdx/style/isSkeleton.ru.mdx +19 -5
  268. package/src/media/mdx/value/highlight.en.mdx +19 -12
  269. package/src/media/mdx/value/highlight.ru.mdx +19 -12
  270. package/src/media/mdx/value/labelNumber.en.mdx +39 -20
  271. package/src/media/mdx/value/labelNumber.ru.mdx +39 -20
  272. package/src/media/mdx/value/value.en.mdx +6 -12
  273. package/src/media/mdx/value/value.ru.mdx +6 -12
  274. package/src/media/styles/color.md +1 -0
  275. package/src/media/styles/en/about.mdx +79 -0
  276. package/src/media/styles/en/color.mdx +711 -0
  277. package/src/media/styles/en/content.mdx +29 -0
  278. package/src/media/styles/en/dimension.mdx +233 -0
  279. package/src/media/styles/en/dir.mdx +193 -0
  280. package/src/media/styles/en/flex.mdx +249 -0
  281. package/src/media/styles/en/font.mdx +171 -0
  282. package/src/media/styles/en/margin.mdx +115 -0
  283. package/src/media/styles/en/media.mdx +133 -0
  284. package/src/media/styles/en/padding.mdx +115 -0
  285. package/src/media/styles/en/position.mdx +183 -0
  286. package/src/media/styles/en/rules.mdx +117 -0
  287. package/src/media/styles/en/scrollbar.mdx +27 -0
  288. package/src/media/styles/en/selector.mdx +153 -0
  289. package/src/media/styles/en/transform.mdx +114 -0
  290. package/src/media/styles/ru/about.mdx +78 -0
  291. package/src/media/styles/ru/color.mdx +711 -0
  292. package/src/media/styles/ru/content.mdx +30 -0
  293. package/src/media/styles/ru/dimension.mdx +233 -0
  294. package/src/media/styles/ru/dir.mdx +193 -0
  295. package/src/media/styles/ru/flex.mdx +249 -0
  296. package/src/media/styles/ru/font.mdx +171 -0
  297. package/src/media/styles/ru/margin.mdx +115 -0
  298. package/src/media/styles/ru/media.mdx +133 -0
  299. package/src/media/styles/ru/padding.mdx +115 -0
  300. package/src/media/styles/ru/position.mdx +183 -0
  301. package/src/media/styles/ru/rules.mdx +117 -0
  302. package/src/media/styles/ru/scrollbar.mdx +27 -0
  303. package/src/media/styles/ru/selector.mdx +153 -0
  304. package/src/media/styles/ru/transform.mdx +114 -0
  305. package/src/styles/storybookStyle.scss +1 -0
  306. package/src/media/mdx/Bars/slot.actionBars.en.mdx +0 -12
  307. package/src/media/mdx/Bars/slot.actionBars.ru.mdx +0 -11
  308. package/src/media/mdx/Bars/slot.bars.en.mdx +0 -12
  309. package/src/media/mdx/Bars/slot.bars.ru.mdx +0 -11
  310. package/src/media/mdx/Cell/slot.body.en.mdx +0 -7
  311. package/src/media/mdx/Cell/slot.body.ru.mdx +0 -7
  312. package/src/media/mdx/Cell/slot.trailing.en.mdx +0 -7
  313. package/src/media/mdx/Cell/slot.trailing.ru.mdx +0 -7
  314. package/src/media/mdx/Field/slot.default.en.mdx +0 -9
  315. package/src/media/mdx/Field/slot.default.ru.mdx +0 -9
  316. package/src/media/mdx/Field/slot.leading.en.mdx +0 -10
  317. package/src/media/mdx/Field/slot.leading.ru.mdx +0 -10
  318. package/src/media/mdx/Field/slot.trailing.en.mdx +0 -10
  319. package/src/media/mdx/Field/slot.trailing.ru.mdx +0 -10
  320. package/src/media/mdx/FieldMessage/slot.helper.en.mdx +0 -12
  321. package/src/media/mdx/FieldMessage/slot.helper.ru.mdx +0 -12
  322. package/src/media/mdx/FieldMessage/slot.validation.en.mdx +0 -12
  323. package/src/media/mdx/FieldMessage/slot.validation.ru.mdx +0 -12
  324. package/src/media/mdx/Image/expose.data.en.mdx +0 -13
  325. package/src/media/mdx/Image/expose.data.ru.mdx +0 -13
  326. package/src/media/mdx/Image/expose.type.en.mdx +0 -21
  327. package/src/media/mdx/ListGroup/slot.head.en.mdx +0 -8
  328. package/src/media/mdx/ListGroup/slot.head.ru.mdx +0 -8
  329. package/src/media/mdx/ListGroup/slot.list.en.mdx +0 -8
  330. package/src/media/mdx/ListGroup/slot.list.ru.mdx +0 -8
  331. package/src/media/mdx/ListItem/slot.body.en.mdx +0 -7
  332. package/src/media/mdx/ListItem/slot.body.ru.mdx +0 -7
  333. package/src/media/mdx/ListItem/slot.trailing.en.mdx +0 -7
  334. package/src/media/mdx/ListItem/slot.trailing.ru.mdx +0 -7
  335. package/src/media/mdx/Menu/slot.contextBottom.en.mdx +0 -9
  336. package/src/media/mdx/Menu/slot.contextBottom.ru.mdx +0 -9
  337. package/src/media/mdx/Menu/slot.contextTop.en.mdx +0 -9
  338. package/src/media/mdx/Menu/slot.contextTop.ru.mdx +0 -9
  339. package/src/media/mdx/Menu/slot.control.en.mdx +0 -9
  340. package/src/media/mdx/Menu/slot.control.ru.mdx +0 -9
  341. package/src/media/mdx/Menu/slot.footer.en.mdx +0 -9
  342. package/src/media/mdx/Menu/slot.footer.ru.mdx +0 -9
  343. package/src/media/mdx/Menu/slot.title.en.mdx +0 -9
  344. package/src/media/mdx/Menu/slot.title.ru.mdx +0 -9
  345. package/src/media/mdx/MotionTransform/slot.body.en.mdx +0 -11
  346. package/src/media/mdx/MotionTransform/slot.body.ru.mdx +0 -11
  347. package/src/media/mdx/MotionTransform/slot.head.en.mdx +0 -11
  348. package/src/media/mdx/MotionTransform/slot.head.ru.mdx +0 -11
  349. package/src/media/mdx/MotionTransform/slot.params.en.mdx +0 -61
  350. package/src/media/mdx/MotionTransform/slot.params.ru.mdx +0 -61
  351. package/src/media/mdx/Scrollbar/event.bottom.en.mdx +0 -12
  352. package/src/media/mdx/Scrollbar/event.bottom.ru.mdx +0 -12
  353. package/src/media/mdx/Scrollbar/event.edge.en.mdx +0 -14
  354. package/src/media/mdx/Scrollbar/event.edge.ru.mdx +0 -14
  355. package/src/media/mdx/Scrollbar/event.leaveBottom.en.mdx +0 -11
  356. package/src/media/mdx/Scrollbar/event.leaveBottom.ru.mdx +0 -11
  357. package/src/media/mdx/Scrollbar/event.leaveTop.en.mdx +0 -11
  358. package/src/media/mdx/Scrollbar/event.leaveTop.ru.mdx +0 -11
  359. package/src/media/mdx/Scrollbar/event.reachBottom.en.mdx +0 -11
  360. package/src/media/mdx/Scrollbar/event.reachBottom.ru.mdx +0 -11
  361. package/src/media/mdx/Scrollbar/event.reachTop.en.mdx +0 -11
  362. package/src/media/mdx/Scrollbar/event.reachTop.ru.mdx +0 -11
  363. package/src/media/mdx/Scrollbar/event.top.en.mdx +0 -12
  364. package/src/media/mdx/Scrollbar/event.top.ru.mdx +0 -12
  365. package/src/media/mdx/Window/expose.control.en.mdx +0 -15
  366. package/src/media/mdx/Window/expose.control.ru.mdx +0 -15
  367. package/src/media/mdx/Window/expose.id.en.mdx +0 -7
  368. package/src/media/mdx/Window/expose.id.ru.mdx +0 -7
  369. package/src/media/mdx/Window/expose.open.en.mdx +0 -7
  370. package/src/media/mdx/Window/expose.open.ru.mdx +0 -7
  371. package/src/media/mdx/Window/expose.setOpen.en.mdx +0 -7
  372. package/src/media/mdx/Window/expose.setOpen.ru.mdx +0 -7
  373. package/src/media/mdx/Window/expose.toClose.en.mdx +0 -7
  374. package/src/media/mdx/Window/expose.toClose.ru.mdx +0 -7
  375. package/src/media/mdx/Window/expose.toOpen.en.mdx +0 -7
  376. package/src/media/mdx/Window/expose.toOpen.ru.mdx +0 -7
  377. package/src/media/mdx/Window/expose.toggle.en.mdx +0 -7
  378. package/src/media/mdx/Window/expose.toggle.ru.mdx +0 -7
  379. package/src/media/mdx/event/bars.en.mdx +0 -17
  380. package/src/media/mdx/event/bars.ru.mdx +0 -14
  381. package/src/media/mdx/event/barsBack.en.mdx +0 -14
  382. package/src/media/mdx/event/barsBack.ru.mdx +0 -16
  383. package/src/media/mdx/event/barsLite.en.mdx +0 -14
  384. package/src/media/mdx/event/barsLite.ru.mdx +0 -14
  385. package/src/media/mdx/event/click.en.mdx +0 -18
  386. package/src/media/mdx/event/click.ru.mdx +0 -18
  387. package/src/media/mdx/event/clickLite.en.mdx +0 -18
  388. package/src/media/mdx/event/clickLite.ru.mdx +0 -18
  389. package/src/media/mdx/event/scrollbarBottom.en.mdx +0 -13
  390. package/src/media/mdx/event/scrollbarBottom.ru.mdx +0 -13
  391. package/src/media/mdx/event/scrollbarEdge.en.mdx +0 -15
  392. package/src/media/mdx/event/scrollbarEdge.ru.mdx +0 -15
  393. package/src/media/mdx/event/scrollbarLeaveBottom.en.mdx +0 -12
  394. package/src/media/mdx/event/scrollbarLeaveBottom.ru.mdx +0 -12
  395. package/src/media/mdx/event/scrollbarLeaveTop.en.mdx +0 -12
  396. package/src/media/mdx/event/scrollbarLeaveTop.ru.mdx +0 -12
  397. package/src/media/mdx/event/scrollbarReachBottom.en.mdx +0 -12
  398. package/src/media/mdx/event/scrollbarReachBottom.ru.mdx +0 -12
  399. package/src/media/mdx/event/scrollbarReachTop.en.mdx +0 -12
  400. package/src/media/mdx/event/scrollbarReachTop.ru.mdx +0 -12
  401. package/src/media/mdx/event/scrollbarTop.en.mdx +0 -13
  402. package/src/media/mdx/event/scrollbarTop.ru.mdx +0 -13
  403. package/src/media/mdx/event/window.en.mdx +0 -20
  404. package/src/media/mdx/event/window.ru.mdx +0 -20
  405. package/src/media/mdx/expose/detail.en.mdx +0 -7
  406. package/src/media/mdx/expose/isSelected.en.mdx +0 -8
  407. package/src/media/mdx/expose/isSelected.ru.mdx +0 -8
  408. package/src/media/mdx/expose/selectedList.en.mdx +0 -7
  409. package/src/media/mdx/expose/selectedList.ru.mdx +0 -7
  410. package/src/media/mdx/expose/selectedNames.en.mdx +0 -7
  411. package/src/media/mdx/expose/selectedNames.ru.mdx +0 -7
  412. package/src/media/mdx/expose/selectedValues.en.mdx +0 -8
  413. package/src/media/mdx/expose/selectedValues.ru.mdx +0 -8
  414. package/src/media/mdx/slot/title.en.mdx +0 -9
  415. package/src/media/mdx/slot/title.ru.mdx +0 -9
@@ -0,0 +1,92 @@
1
+ ```html
2
+ <script setup>
3
+ import { ref } from 'vue'
4
+
5
+ const isOpen = ref(false)
6
+ </script>
7
+
8
+ <template>
9
+ <MotionTransform v-model:open="isOpen">
10
+ <template #head="{ isOpen, classes }">
11
+ <div :class="classes.click">
12
+ <h3>{{ isOpen ? '▲' : '▼' }} Header</h3>
13
+ </div>
14
+ </template>
15
+
16
+ <template #body="{ isShow, classes }">
17
+ <div v-if="isShow" :class="classes.open">
18
+ <p>Main content</p>
19
+ <button :class="classes.close">Close</button>
20
+ </div>
21
+ </template>
22
+ </MotionTransform>
23
+ </template>
24
+ ````
25
+
26
+ ### `head`
27
+
28
+ Slot for placing the header area that serves as a trigger for opening/closing the component.
29
+
30
+ **Parameters:**
31
+ - `props: MotionTransformControlItem` — object with component control data
32
+
33
+ ### `body`
34
+
35
+ Slot for placing the main content area that appears when the component is opened.
36
+
37
+ **Parameters:**
38
+ - `props: MotionTransformControlItem` — object with component control data
39
+
40
+ ## MotionTransformControlItem
41
+
42
+ `MotionTransformControlItem` — object passed to all MotionTransform component slots, containing state control data.
43
+
44
+ ### Type structure
45
+
46
+ ```typescript
47
+ type MotionTransformControlItem = {
48
+ /** Component open state */
49
+ isOpen: ComputedRef<boolean>
50
+
51
+ /** Visible or preparing to be shown */
52
+ isShow: ComputedRef<boolean>
53
+
54
+ /** Helper CSS classes for state styling */
55
+ classes: MotionTransformClassList
56
+ }
57
+ ```
58
+
59
+ ### Properties
60
+
61
+ - **`isOpen`** — computed property indicating whether the component is open
62
+ - **`isShow`** — computed property, `true` when the component is visible or in the preparation/transition phase
63
+ - **`classes`** — object with CSS classes to control states and behavior
64
+
65
+ ### MotionTransformClassList
66
+
67
+ Available CSS classes for styling and controlling behavior:
68
+
69
+ ```typescript
70
+ type MotionTransformClassList = {
71
+ /** Component visibility class */
72
+ show: string
73
+
74
+ /** Open state class */
75
+ open: string
76
+
77
+ /** Window mode class */
78
+ window: string
79
+
80
+ /** Click class */
81
+ click: string
82
+
83
+ /** Behavior disabling class */
84
+ none: string
85
+
86
+ /** Global disabling class */
87
+ noneGlobal: string
88
+
89
+ /** Close class */
90
+ close: string
91
+ }
92
+ ```
@@ -0,0 +1,92 @@
1
+ ```html
2
+ <script setup>
3
+ import { ref } from 'vue'
4
+
5
+ const isOpen = ref(false)
6
+ </script>
7
+
8
+ <template>
9
+ <MotionTransform v-model:open="isOpen">
10
+ <template #head="{ isOpen, classes }">
11
+ <div :class="classes.click">
12
+ <h3>{{ isOpen ? '▲' : '▼' }} Заголовок</h3>
13
+ </div>
14
+ </template>
15
+
16
+ <template #body="{ isShow, classes }">
17
+ <div v-if="isShow" :class="classes.open">
18
+ <p>Основное содержимое</p>
19
+ <button :class="classes.close">Закрыть</button>
20
+ </div>
21
+ </template>
22
+ </MotionTransform>
23
+ </template>
24
+ ````
25
+
26
+ ### `head`
27
+
28
+ Слот для размещения области заголовка, которая служит триггером для открытия/закрытия компонента.
29
+
30
+ **Параметры:**
31
+ - `props: MotionTransformControlItem` — объект с данными управления компонентом
32
+
33
+ ### `body`
34
+
35
+ Слот для размещения основной области содержимого, которая появляется при открытии компонента.
36
+
37
+ **Параметры:**
38
+ - `props: MotionTransformControlItem` — объект с данными управления компонентом
39
+
40
+ ## MotionTransformControlItem
41
+
42
+ `MotionTransformControlItem` — объект, передаваемый во все слоты компонента MotionTransform, содержащий данные для управления состоянием.
43
+
44
+ ### Структура типа
45
+
46
+ ```typescript
47
+ type MotionTransformControlItem = {
48
+ /** Состояние открытия компонента */
49
+ isOpen: ComputedRef<boolean>
50
+
51
+ /** Видимость или подготовка к показу */
52
+ isShow: ComputedRef<boolean>
53
+
54
+ /** Набор вспомогательных CSS-классов для стилизации состояний */
55
+ classes: MotionTransformClassList
56
+ }
57
+ ```
58
+
59
+ ### Свойства
60
+
61
+ - **`isOpen`** — вычисляемое свойство, указывающее открыт ли компонент
62
+ - **`isShow`** — вычисляемое свойство, `true` если компонент видим или находится в подготовке к показу (анимация)
63
+ - **`classes`** — объект с CSS-классами для управления состояниями и поведением
64
+
65
+ ### MotionTransformClassList
66
+
67
+ Список доступных CSS-классов для стилизации и управления поведением:
68
+
69
+ ```typescript
70
+ type MotionTransformClassList = {
71
+ /** Класс видимости компонента */
72
+ show: string
73
+
74
+ /** Класс открытого состояния */
75
+ open: string
76
+
77
+ /** Класс режима окна */
78
+ window: string
79
+
80
+ /** Класс клика */
81
+ click: string
82
+
83
+ /** Класс отключения поведения */
84
+ none: string
85
+
86
+ /** Класс глобального отключения */
87
+ noneGlobal: string
88
+
89
+ /** Класс закрытия */
90
+ close: string
91
+ }
92
+ ```
@@ -1,19 +1,28 @@
1
- ## Two-way binding (v-model)
1
+ ## State Management via v-model
2
2
 
3
- The MotionTransform component supports two-way binding for the `open` state using the `v-model:open` directive.
3
+ Two-way binding of component open state via `v-model:open`.
4
4
 
5
- ### Usage
6
-
7
- This allows you to synchronize the component's visibility with a local data property in your parent component.
5
+ **Parameters:**
6
+ - `open: boolean` — component open state
8
7
 
9
8
  ```html
10
- <MotionTransform v-model:open="isOpen"/>
9
+ <script setup>
10
+ import { ref } from 'vue'
11
+
12
+ const isOpen = ref(false)
13
+ </script>
14
+
15
+ <template>
16
+ <button @click="isOpen = true">Open</button>
17
+
18
+ <MotionTransform v-model:open="isOpen">
19
+ <template #head>
20
+ <div>Header</div>
21
+ </template>
22
+ <template #body>
23
+ <p>Component content</p>
24
+ <button @click="isOpen = false">Close</button>
25
+ </template>
26
+ </MotionTransform>
27
+ </template>
11
28
  ```
12
-
13
- ### How it works
14
-
15
- The `v-model:open` is a shorthand for binding the `open` prop and listening to the `update:open` event.
16
-
17
- - **`:open="isOpen"`**: The component's visibility is controlled by the `isOpen` ref.
18
- - **`@update:open="isOpen = $event"`**: When the component's internal state changes (e.g., by clicking the head), it emits an event to update the parent's `isOpen` ref.
19
-
@@ -1,19 +1,28 @@
1
- ## Двусторонняя привязка (v-model)
1
+ ## Управление состоянием через v-model
2
2
 
3
- Компонент MotionTransform поддерживает двустороннюю привязку для состояния `open` с использованием директивы `v-model:open`.
3
+ Двусторонняя привязка состояния открытия компонента через `v-model:open`.
4
4
 
5
- ### Использование
6
-
7
- Это позволяет синхронизировать видимость компонента с локальным свойством данных в вашем родительском компоненте.
5
+ **Параметры:**
6
+ - `open: boolean` — состояние открытия компонента
8
7
 
9
8
  ```html
10
- <MotionTransform v-model:open="isOpen"/>
9
+ <script setup>
10
+ import { ref } from 'vue'
11
+
12
+ const isOpen = ref(false)
13
+ </script>
14
+
15
+ <template>
16
+ <button @click="isOpen = true">Открыть</button>
17
+
18
+ <MotionTransform v-model:open="isOpen">
19
+ <template #head>
20
+ <div>Заголовок</div>
21
+ </template>
22
+ <template #body>
23
+ <p>Содержимое компонента</p>
24
+ <button @click="isOpen = false">Закрыть</button>
25
+ </template>
26
+ </MotionTransform>
27
+ </template>
11
28
  ```
12
-
13
- ### Как это работает
14
-
15
- `v-model:open` является сокращением для привязки свойства `open` и прослушивания события `update:open`.
16
-
17
- - **`:open="isOpen"`**: Видимость компонента управляется `isOpen` ref.
18
- - **`@update:open="isOpen = $event"`**: Когда внутреннее состояние компонента изменяется (например, при клике на заголовок), он генерирует событие для обновления `isOpen` ref родительского компонента.
19
-
@@ -12,12 +12,8 @@ import ignoreEn from './ignore.en.mdx'
12
12
  import ignoreRu from './ignore.ru.mdx'
13
13
  import motionTransformEn from './motionTransform.en.mdx'
14
14
  import motionTransformRu from './motionTransform.ru.mdx'
15
- import slotBodyEn from './slot.body.en.mdx'
16
- import slotBodyRu from './slot.body.ru.mdx'
17
- import slotHeadEn from './slot.head.en.mdx'
18
- import slotHeadRu from './slot.head.ru.mdx'
19
- import slotParamsEn from './slot.params.en.mdx'
20
- import slotParamsRu from './slot.params.ru.mdx'
15
+ import slotsEn from './slots.en.mdx'
16
+ import slotsRu from './slots.ru.mdx'
21
17
  import vModelEn from './v-model.en.mdx'
22
18
  import vModelRu from './v-model.ru.mdx'
23
19
 
@@ -53,17 +49,9 @@ export const wikiMdxMotionTransform: StorybookComponentsMdxItem = {
53
49
  en: motionTransformEn,
54
50
  ru: motionTransformRu
55
51
  },
56
- 'slot.body': {
57
- en: slotBodyEn,
58
- ru: slotBodyRu
59
- },
60
- 'slot.head': {
61
- en: slotHeadEn,
62
- ru: slotHeadRu
63
- },
64
- 'slot.params': {
65
- en: slotParamsEn,
66
- ru: slotParamsRu
52
+ 'slots': {
53
+ en: slotsEn,
54
+ ru: slotsRu
67
55
  },
68
56
  'v-model': {
69
57
  en: vModelEn,
@@ -1,26 +1,13 @@
1
1
  ## Circular Progress and Related Parameters
2
2
 
3
- The `circular` property enables circular progress indicator display mode. For optimal control over the appearance and behavior of circular progress, it is recommended to use it together with additional styling properties.
3
+ The `circular` property enables circular progress indicator display mode as a ring indicator. For optimal control over appearance and behavior, it is recommended to use it together with additional properties.
4
4
 
5
- ### Properties
5
+ **Properties:**
6
6
 
7
- - **circular**Enables circular progress display mode as a ring indicator.
8
- - **dense**Removes internal padding, allowing the indicator to be used in small elements where space is limited.
7
+ - `circular`enables circular progress display mode
8
+ - `dense`removes internal padding for compact placement in small elements
9
9
 
10
- ### Description
11
-
12
- - The `circular` property activates a ring progress indicator that fills around the circumference proportionally to the current value.
13
- - `dense` removes padding, making the indicator more compact for placement in limited space.
14
- - Both properties work together to create a flexible and adaptive circular progress indicator.
15
-
16
- ### Recommendations
17
-
18
- - Use `circular` to display progress in compact interfaces or when a central focus is needed.
19
- - Apply `dense` in small elements where space-saving is important and padding needs to be removed.
20
- - Combine properties depending on available space and design requirements.
21
- - Circular progress is particularly effective for displaying process completion.
22
-
23
- ### Usage Example
10
+ The `circular` property activates a ring progress indicator that fills around the circumference proportionally to the current value. `dense` removes padding, making the indicator more compact for placement in limited space.
24
11
 
25
12
  ```html
26
13
  <!-- Basic circular progress -->
@@ -29,9 +16,9 @@ The `circular` property enables circular progress indicator display mode. For op
29
16
  <!-- Compact circular progress -->
30
17
  <Progress circular dense />
31
18
 
32
- <!-- Circular progress with specific value -->
19
+ <!-- With specific value -->
33
20
  <Progress circular :value="75" />
34
21
 
35
- <!-- Compact circular progress with value -->
22
+ <!-- Compact with value -->
36
23
  <Progress circular dense :value="50" />
37
24
  ```
@@ -1,26 +1,13 @@
1
1
  ## Круглый прогресс и связанные параметры
2
2
 
3
- Свойство `circular` включает режим круглого отображения индикатора прогресса. Для оптимального контроля над внешним видом и поведением круглого прогресса рекомендуется использовать его совместно с дополнительными свойствами стилизации.
3
+ Свойство `circular` включает режим круглого отображения индикатора прогресса в виде кольцевого индикатора. Для оптимального контроля над внешним видом и поведением рекомендуется использовать его совместно с дополнительными свойствами.
4
4
 
5
- ### Свойства
5
+ **Свойства:**
6
6
 
7
- - **circular**Включает режим круглого отображения прогресса в виде кольцевого индикатора.
8
- - **dense**Убирает внутренние отступы, позволяя использовать индикатор в маленьких элементах, где мало места.
7
+ - `circular`включает режим круглого отображения прогресса
8
+ - `dense`убирает внутренние отступы для компактного размещения в маленьких элементах
9
9
 
10
- ### Описание
11
-
12
- - Свойство `circular` активирует кольцевой индикатор прогресса, который заполняется по окружности пропорционально текущему значению.
13
- - `dense` убирает padding, делая индикатор более компактным для размещения в ограниченном пространстве.
14
- - Оба свойства работают совместно для создания гибкого и адаптивного круглого индикатора прогресса.
15
-
16
- ### Рекомендации
17
-
18
- - Используйте `circular` для отображения прогресса в компактных интерфейсах или когда нужен центральный фокус.
19
- - Применяйте `dense` в маленьких элементах, где важна экономия места и нужно убрать отступы.
20
- - Комбинируйте свойства в зависимости от доступного пространства и требований дизайна.
21
- - Круглый прогресс особенно эффективен для отображения завершенности процессов.
22
-
23
- ### Пример использования
10
+ Свойство `circular` активирует кольцевой индикатор прогресса, который заполняется по окружности пропорционально текущему значению. `dense` убирает padding, делая индикатор более компактным для размещения в ограниченном пространстве.
24
11
 
25
12
  ```html
26
13
  <!-- Базовый круглый прогресс -->
@@ -29,9 +16,9 @@
29
16
  <!-- Компактный круглый прогресс -->
30
17
  <Progress circular dense />
31
18
 
32
- <!-- Круглый прогресс с определенным значением -->
19
+ <!-- С определенным значением -->
33
20
  <Progress circular :value="75" />
34
21
 
35
- <!-- Компактный круглый прогресс со значением -->
22
+ <!-- Компактный со значением -->
36
23
  <Progress circular dense :value="50" />
37
24
  ```
@@ -2,28 +2,21 @@
2
2
 
3
3
  The `delay` and `delayHide` properties control timing parameters for showing and hiding the progress indicator. These properties allow creating a smoother user experience by avoiding flickers during fast operations.
4
4
 
5
- ### Properties
5
+ **Properties:**
6
6
 
7
- - **delay**Delay before showing the progress indicator in milliseconds. Defaults to 360 ms.
8
- - **delayHide**Delay before hiding the progress indicator in milliseconds. Defaults to 200 ms.
7
+ - `delay`delay before showing the indicator in milliseconds, defaults to `360`
8
+ - `delayHide`delay before hiding the indicator in milliseconds, defaults to `200`
9
9
 
10
- ### Recommendations
11
-
12
- - Use the standard `delay="360"` value for most cases - it's been proven in practice.
13
- - Increase `delay` for rapid operations where the indicator might interfere with perception.
14
- - Decrease `delay` for long operations where users need immediate feedback.
15
- - Adjust `delayHide` based on context—for critical operations you can increase the value.
16
-
17
- ### Usage Example
10
+ The standard `delay="360"` value is proven in practice and suitable for most cases. Increase `delay` for rapid operations where the indicator might interfere with perception. Decrease for long operations where immediate feedback is important.
18
11
 
19
12
  ```html
20
13
  <!-- Standard delays -->
21
14
  <Progress delay="360" delayHide="200" />
22
15
 
23
- <!-- Fast appearance for long operations -->
16
+ <!-- Fast appearance -->
24
17
  <Progress delay="100" delayHide="200" />
25
18
 
26
- <!-- Slow appearance for fast operations -->
19
+ <!-- Slow appearance -->
27
20
  <Progress delay="800" delayHide="300" />
28
21
 
29
22
  <!-- No delays -->
@@ -2,28 +2,21 @@
2
2
 
3
3
  Свойства `delay` и `delayHide` контролируют временные параметры появления и скрытия индикатора прогресса. Эти свойства позволяют создавать более плавный пользовательский опыт, избегая мерцаний при быстрых операциях.
4
4
 
5
- ### Свойства
5
+ **Свойства:**
6
6
 
7
- - **delay**Задержка перед показом индикатора прогресса в миллисекундах. По умолчанию 360 мс.
8
- - **delayHide**Задержка перед скрытием индикатора прогресса в миллисекундах. По умолчанию 200 мс.
7
+ - `delay`задержка перед показом индикатора в миллисекундах, по умолчанию `360`
8
+ - `delayHide`задержка перед скрытием индикатора в миллисекундах, по умолчанию `200`
9
9
 
10
- ### Рекомендации
11
-
12
- - Используйте стандартное значение `delay="360"` для большинства случаев - оно проверено на практике.
13
- - Увеличивайте `delay` для очень быстрых операций, где индикатор может помешать восприятию.
14
- - Уменьшайте `delay` для долгих операций, где пользователю важно видеть немедленную обратную связь.
15
- - Настраивайте `delayHide` в зависимости от контекста - для критичных операций можно увеличить значение.
16
-
17
- ### Пример использования
10
+ Стандартное значение `delay="360"` проверено на практике и подходит для большинства случаев. Увеличивайте `delay` для очень быстрых операций, где индикатор может помешать восприятию. Уменьшайте для долгих операций, где важна немедленная обратная связь.
18
11
 
19
12
  ```html
20
13
  <!-- Стандартные задержки -->
21
14
  <Progress delay="360" delayHide="200" />
22
15
 
23
- <!-- Быстрое появление для долгих операций -->
16
+ <!-- Быстрое появление -->
24
17
  <Progress delay="100" delayHide="200" />
25
18
 
26
- <!-- Медленное появление для быстрых операций -->
19
+ <!-- Медленное появление -->
27
20
  <Progress delay="800" delayHide="300" />
28
21
 
29
22
  <!-- Без задержек -->
@@ -1,39 +1,25 @@
1
1
  ## Linear Progress and Related Parameters
2
2
 
3
- The `linear` property enables linear progress indicator display mode. For complete control over the behavior and appearance of linear progress, it is recommended to use it together with additional positioning and styling properties.
3
+ The `linear` property enables linear progress indicator display mode as a horizontal bar. For complete control over behavior and appearance, it is recommended to use it together with additional properties.
4
4
 
5
- ### Properties
5
+ **Properties:**
6
6
 
7
- - **linear**Enables linear progress display mode as a horizontal bar.
8
- - **position**Defines the position of the linear indicator (`top`, `bottom`, `static`). Defaults to `top`.
9
- - **point**Adds a point at the end of the progress indicator to emphasize the current position.
7
+ - `linear`enables linear progress display mode
8
+ - `position`defines the indicator position (`'top'`, `'bottom'`, `'static'`), defaults to `'top'`
9
+ - `point`adds a point at the end of the indicator to emphasize the current position
10
10
 
11
- ### Description
12
-
13
- - The `linear` property activates a horizontal progress bar that fills proportionally to the current value.
14
- - `position` controls the indicator placement: `top` places it at the top of the container, `bottom` at the bottom, `static` in the normal document flows.
15
- - `point` adds a visual marker at the end of the filled portion, making the current position more noticeable.
16
- - All properties work together to create a flexible and informative progress indicator.
17
-
18
- ### Recommendations
19
-
20
- - Use `position="top"` or `position="bottom"` to overlay progress on top of content.
21
- - Apply `position="static"` when the indicator should take space in the document flow.
22
- - Add `point` for better visualization of current progress, especially with small values.
23
- - Combine properties depending on usage context and interface design.
24
-
25
- ### Usage Example
11
+ The `linear` property activates a horizontal progress bar that fills proportionally to the current value. `position` controls the placement: `'top'` places it at the top of the container, `'bottom'` at the bottom, `'static'` in the normal document flow. `point` adds a visual marker at the end of the filled portion.
26
12
 
27
13
  ```html
28
14
  <!-- Basic linear progress -->
29
15
  <Progress linear />
30
16
 
31
- <!-- Linear progress with bottom positioning -->
17
+ <!-- With bottom positioning -->
32
18
  <Progress linear position="bottom" />
33
19
 
34
- <!-- Linear progress with point in static position -->
20
+ <!-- With point in static position -->
35
21
  <Progress linear position="static" point />
36
22
 
37
- <!-- Full configuration with specific value -->
23
+ <!-- With specific value -->
38
24
  <Progress linear position="top" point :value="65" />
39
25
  ```
@@ -1,39 +1,25 @@
1
1
  ## Линейный прогресс и связанные параметры
2
2
 
3
- Свойство `linear` включает режим линейного отображения индикатора прогресса. Для полного контроля над поведением и внешним видом линейного прогресса рекомендуется использовать его совместно с дополнительными свойствами позиционирования и стилизации.
3
+ Свойство `linear` включает режим линейного отображения индикатора прогресса в виде горизонтальной полосы. Для полного контроля над поведением и внешним видом рекомендуется использовать его совместно с дополнительными свойствами.
4
4
 
5
- ### Свойства
5
+ **Свойства:**
6
6
 
7
- - **linear**Включает режим линейного отображения прогресса в виде горизонтальной полосы.
8
- - **position**Определяет позицию линейного индикатора (`top`, `bottom`, `static`). По умолчанию `top`.
9
- - **point**Добавляет точку в конце индикатора прогресса для акцентирования текущего положения.
7
+ - `linear`включает режим линейного отображения прогресса
8
+ - `position`определяет позицию индикатора (`'top'`, `'bottom'`, `'static'`), по умолчанию `'top'`
9
+ - `point`добавляет точку в конце индикатора для акцентирования текущего положения
10
10
 
11
- ### Описание
12
-
13
- - Свойство `linear` активирует горизонтальную полосу прогресса, которая заполняется пропорционально текущему значению.
14
- - `position` управляет расположением индикатора: `top` размещает его в верхней части контейнера, `bottom` — в нижней, `static` — в обычном потоке документа.
15
- - `point` добавляет визуальный маркер на конце заполненной части, делая текущую позицию более заметной.
16
- - Все свойства работают совместно для создания гибкого и информативного индикатора прогресса.
17
-
18
- ### Рекомендации
19
-
20
- - Используйте `position="top"` или `position="bottom"` для наложения прогресса поверх контента.
21
- - Применяйте `position="static"` когда индикатор должен занимать место в потоке документа.
22
- - Добавляйте `point` для лучшей визуализации текущего прогресса, особенно при небольших значениях.
23
- - Комбинируйте свойства в зависимости от контекста использования и дизайна интерфейса.
24
-
25
- ### Пример использования
11
+ Свойство `linear` активирует горизонтальную полосу прогресса, которая заполняется пропорционально текущему значению. `position` управляет расположением: `'top'` размещает индикатор в верхней части контейнера, `'bottom'` — в нижней, `'static'` — в обычном потоке документа. `point` добавляет визуальный маркер на конце заполненной части.
26
12
 
27
13
  ```html
28
14
  <!-- Базовый линейный прогресс -->
29
15
  <Progress linear />
30
16
 
31
- <!-- Линейный прогресс с позиционированием снизу -->
17
+ <!-- С позиционированием снизу -->
32
18
  <Progress linear position="bottom" />
33
19
 
34
- <!-- Линейный прогресс с точкой в статичной позиции -->
20
+ <!-- С точкой в статичной позиции -->
35
21
  <Progress linear position="static" point />
36
22
 
37
- <!-- Полная настройка с определенным значением -->
23
+ <!-- С определенным значением -->
38
24
  <Progress linear position="top" point :value="65" />
39
25
  ```
@@ -1,9 +1,71 @@
1
- ## Progress Indicator
1
+ Component for visual representation of operation progress, data loading, and long-running processes.
2
2
 
3
- The `Progress` component is designed to display the progress of operations, data loading, or any other processes that require visual representation of completion status.
3
+ Progress provides flexible options for indicating completion status: linear and circular progress bars, minimalist point indicators. The component automatically manages visibility with customizable appearance and hiding delays, supports both determinate progress values and indeterminate states for operations with unknown completion time.
4
4
 
5
- ### Key Features
5
+ **Key Features:**
6
6
 
7
- The component supports various types of progress-display - linear and circular indicators, as well as point variants for minimal display. It can work with both determinate progress values and indeterminate states for operations with unknown execution time.
7
+ - Linear and circular progress indicators
8
+ - Point variants for minimal display
9
+ - Determinate mode with specific values (0-100%)
10
+ - Indeterminate mode for unknown execution time
11
+ - Flexible positioning (top, bottom, static)
12
+ - Customizable appearance and hiding delays
13
+ - Compact and inverted display modes
14
+ - Automatic visibility management
8
15
 
9
- Provides flexible positioning and styling options, including compact and inverted display variants. Supports delay settings for smooth appearance and hiding of the indicator.
16
+ **Typical Use Cases:**
17
+
18
+ - Indicating data loading from server
19
+ - Displaying file upload progress
20
+ - Visualizing multi-step operation execution
21
+ - Global page loading indicators
22
+ - Progress bars in forms and wizards
23
+ - Background process indication
24
+
25
+ ```html
26
+ <script setup>
27
+ import { ref } from 'vue'
28
+
29
+ const progress = ref(0)
30
+ const loading = ref(false)
31
+
32
+ const startLoading = () => {
33
+ loading.value = true
34
+ progress.value = 0
35
+
36
+ const interval = setInterval(() => {
37
+ progress.value += 10
38
+ if (progress.value >= 100) {
39
+ clearInterval(interval)
40
+ loading.value = false
41
+ }
42
+ }, 500)
43
+ }
44
+ </script>
45
+
46
+ <template>
47
+ <button @click="startLoading">Start Loading</button>
48
+
49
+ <!-- Linear indicator with determinate value -->
50
+ <Progress
51
+ :visible="loading"
52
+ :value="progress"
53
+ linear
54
+ position="top"
55
+ />
56
+
57
+ <!-- Circular indicator -->
58
+ <Progress
59
+ :visible="loading"
60
+ :value="progress"
61
+ circular
62
+ />
63
+
64
+ <!-- Indeterminate indicator -->
65
+ <Progress
66
+ :visible="loading"
67
+ linear
68
+ indeterminate="type1"
69
+ />
70
+ </template>
71
+ ```