@momo-framework/ui 0.16.5 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (593) hide show
  1. package/README.hy.md +153 -40
  2. package/README.md +142 -38
  3. package/README.ru.md +147 -40
  4. package/dist/components/Accordion.js +1 -1
  5. package/dist/components/Accordion.js.map +1 -1
  6. package/dist/components/{Accordion.vue_vue_type_script_setup_true_lang.js → Accordion.vue_vue_type_part.js} +2 -2
  7. package/dist/components/Accordion.vue_vue_type_part.js.map +1 -0
  8. package/dist/components/Alert.js +1 -1
  9. package/dist/components/Alert.js.map +1 -1
  10. package/dist/components/{Alert.vue_vue_type_script_setup_true_lang.js → Alert.vue_vue_type_part.js} +2 -2
  11. package/dist/components/Alert.vue_vue_type_part.js.map +1 -0
  12. package/dist/components/AppShell.js +1 -1
  13. package/dist/components/AppShell.js.map +1 -1
  14. package/dist/components/AppShell.vue.d.ts +3 -1
  15. package/dist/components/{AppShell.vue_vue_type_script_setup_true_lang.js → AppShell.vue_vue_type_part.js} +2 -2
  16. package/dist/components/AppShell.vue_vue_type_part.js.map +1 -0
  17. package/dist/components/AspectRatio.js +1 -1
  18. package/dist/components/AspectRatio.js.map +1 -1
  19. package/dist/components/AspectRatio.vue.d.ts +1 -1
  20. package/dist/components/{AspectRatio.vue_vue_type_script_setup_true_lang.js → AspectRatio.vue_vue_type_part.js} +2 -2
  21. package/dist/components/AspectRatio.vue_vue_type_part.js.map +1 -0
  22. package/dist/components/Avatar.js +1 -1
  23. package/dist/components/Avatar.js.map +1 -1
  24. package/dist/components/{Avatar.vue_vue_type_script_setup_true_lang.js → Avatar.vue_vue_type_part.js} +2 -2
  25. package/dist/components/Avatar.vue_vue_type_part.js.map +1 -0
  26. package/dist/components/Badge.js +1 -1
  27. package/dist/components/Badge.js.map +1 -1
  28. package/dist/components/Badge.vue.d.ts +1 -1
  29. package/dist/components/{Badge.vue_vue_type_script_setup_true_lang.js → Badge.vue_vue_type_part.js} +2 -2
  30. package/dist/components/Badge.vue_vue_type_part.js.map +1 -0
  31. package/dist/components/Breadcrumbs.js +1 -1
  32. package/dist/components/Breadcrumbs.js.map +1 -1
  33. package/dist/components/{Breadcrumbs.vue_vue_type_script_setup_true_lang.js → Breadcrumbs.vue_vue_type_part.js} +9 -5
  34. package/dist/components/Breadcrumbs.vue_vue_type_part.js.map +1 -0
  35. package/dist/components/Button.js +1 -1
  36. package/dist/components/Button.js.map +1 -1
  37. package/dist/components/Button.vue.d.ts +1 -1
  38. package/dist/components/{Button.vue_vue_type_script_setup_true_lang.js → Button.vue_vue_type_part.js} +2 -2
  39. package/dist/components/Button.vue_vue_type_part.js.map +1 -0
  40. package/dist/components/ButtonGroup.js +1 -1
  41. package/dist/components/ButtonGroup.js.map +1 -1
  42. package/dist/components/{ButtonGroup.vue_vue_type_script_setup_true_lang.js → ButtonGroup.vue_vue_type_part.js} +2 -2
  43. package/dist/components/ButtonGroup.vue_vue_type_part.js.map +1 -0
  44. package/dist/components/Calendar.js +1 -1
  45. package/dist/components/Calendar.js.map +1 -1
  46. package/dist/components/Calendar.vue.d.ts +5 -0
  47. package/dist/components/{Calendar.vue_vue_type_script_setup_true_lang.js → Calendar.vue_vue_type_part.js} +35 -10
  48. package/dist/components/Calendar.vue_vue_type_part.js.map +1 -0
  49. package/dist/components/Card.js +1 -1
  50. package/dist/components/Card.js.map +1 -1
  51. package/dist/components/Card.vue.d.ts +2 -2
  52. package/dist/components/{Card.vue_vue_type_script_setup_true_lang.js → Card.vue_vue_type_part.js} +2 -2
  53. package/dist/components/Card.vue_vue_type_part.js.map +1 -0
  54. package/dist/components/Carousel.js +1 -1
  55. package/dist/components/Carousel.js.map +1 -1
  56. package/dist/components/{Carousel.vue_vue_type_script_setup_true_lang.js → Carousel.vue_vue_type_part.js} +2 -2
  57. package/dist/components/Carousel.vue_vue_type_part.js.map +1 -0
  58. package/dist/components/Checkbox.js +1 -1
  59. package/dist/components/Checkbox.js.map +1 -1
  60. package/dist/components/Checkbox.vue.d.ts +1 -0
  61. package/dist/components/{Checkbox.vue_vue_type_script_setup_true_lang.js → Checkbox.vue_vue_type_part.js} +2 -2
  62. package/dist/components/Checkbox.vue_vue_type_part.js.map +1 -0
  63. package/dist/components/Clock.js +1 -1
  64. package/dist/components/Clock.js.map +1 -1
  65. package/dist/components/Clock.vue.d.ts +2 -0
  66. package/dist/components/{Clock.vue_vue_type_script_setup_true_lang.js → Clock.vue_vue_type_part.js} +2 -2
  67. package/dist/components/Clock.vue_vue_type_part.js.map +1 -0
  68. package/dist/components/Collapsible.js +1 -1
  69. package/dist/components/Collapsible.js.map +1 -1
  70. package/dist/components/Collapsible.vue.d.ts +1 -0
  71. package/dist/components/{Collapsible.vue_vue_type_script_setup_true_lang.js → Collapsible.vue_vue_type_part.js} +2 -2
  72. package/dist/components/Collapsible.vue_vue_type_part.js.map +1 -0
  73. package/dist/components/ColorPicker.js +1 -1
  74. package/dist/components/ColorPicker.js.map +1 -1
  75. package/dist/components/ColorPicker.vue.d.ts +4 -0
  76. package/dist/components/{ColorPicker.vue_vue_type_script_setup_true_lang.js → ColorPicker.vue_vue_type_part.js} +9 -4
  77. package/dist/components/ColorPicker.vue_vue_type_part.js.map +1 -0
  78. package/dist/components/Combobox.js +1 -1
  79. package/dist/components/Combobox.js.map +1 -1
  80. package/dist/components/Combobox.vue.d.ts +2 -1
  81. package/dist/components/{Combobox.vue_vue_type_script_setup_true_lang.js → Combobox.vue_vue_type_part.js} +71 -28
  82. package/dist/components/Combobox.vue_vue_type_part.js.map +1 -0
  83. package/dist/components/CommandPalette.js +1 -1
  84. package/dist/components/CommandPalette.js.map +1 -1
  85. package/dist/components/CommandPalette.vue.d.ts +1 -0
  86. package/dist/components/{CommandPalette.vue_vue_type_script_setup_true_lang.js → CommandPalette.vue_vue_type_part.js} +2 -2
  87. package/dist/components/CommandPalette.vue_vue_type_part.js.map +1 -0
  88. package/dist/components/ConfirmDialog.js +1 -1
  89. package/dist/components/ConfirmDialog.js.map +1 -1
  90. package/dist/components/{ConfirmDialog.vue_vue_type_script_setup_true_lang.js → ConfirmDialog.vue_vue_type_part.js} +2 -2
  91. package/dist/components/ConfirmDialog.vue_vue_type_part.js.map +1 -0
  92. package/dist/components/Container.js +1 -1
  93. package/dist/components/Container.js.map +1 -1
  94. package/dist/components/{Container.vue_vue_type_script_setup_true_lang.js → Container.vue_vue_type_part.js} +2 -2
  95. package/dist/components/Container.vue_vue_type_part.js.map +1 -0
  96. package/dist/components/ContextMenu.d.ts +2 -0
  97. package/dist/components/ContextMenu.js +6 -0
  98. package/dist/components/ContextMenu.js.map +1 -0
  99. package/dist/components/ContextMenu.vue.d.ts +25 -0
  100. package/dist/components/ContextMenu.vue_vue_type_part.js +82 -0
  101. package/dist/components/ContextMenu.vue_vue_type_part.js.map +1 -0
  102. package/dist/components/ConversationItem.js +1 -1
  103. package/dist/components/ConversationItem.js.map +1 -1
  104. package/dist/components/ConversationItem.vue.d.ts +3 -3
  105. package/dist/components/{ConversationItem.vue_vue_type_script_setup_true_lang.js → ConversationItem.vue_vue_type_part.js} +2 -2
  106. package/dist/components/ConversationItem.vue_vue_type_part.js.map +1 -0
  107. package/dist/components/DataTable.js +1 -1
  108. package/dist/components/DataTable.js.map +1 -1
  109. package/dist/components/DataTable.vue.d.ts +2 -1
  110. package/dist/components/{DataTable.vue_vue_type_script_setup_true_lang.js → DataTable.vue_vue_type_part.js} +120 -80
  111. package/dist/components/DataTable.vue_vue_type_part.js.map +1 -0
  112. package/dist/components/DateDivider.js +1 -1
  113. package/dist/components/DateDivider.js.map +1 -1
  114. package/dist/components/{DateDivider.vue_vue_type_script_setup_true_lang.js → DateDivider.vue_vue_type_part.js} +2 -2
  115. package/dist/components/DateDivider.vue_vue_type_part.js.map +1 -0
  116. package/dist/components/DatePicker.js +1 -1
  117. package/dist/components/DatePicker.js.map +1 -1
  118. package/dist/components/DatePicker.vue.d.ts +2 -1
  119. package/dist/components/{DatePicker.vue_vue_type_script_setup_true_lang.js → DatePicker.vue_vue_type_part.js} +2 -2
  120. package/dist/components/DatePicker.vue_vue_type_part.js.map +1 -0
  121. package/dist/components/DateRangePicker.d.ts +2 -0
  122. package/dist/components/DateRangePicker.js +6 -0
  123. package/dist/components/DateRangePicker.js.map +1 -0
  124. package/dist/components/DateRangePicker.vue.d.ts +50 -0
  125. package/dist/components/DateRangePicker.vue_vue_type_part.js +206 -0
  126. package/dist/components/DateRangePicker.vue_vue_type_part.js.map +1 -0
  127. package/dist/components/Defaults.js +1 -1
  128. package/dist/components/Defaults.js.map +1 -1
  129. package/dist/components/{Defaults.vue_vue_type_script_setup_true_lang.js → Defaults.vue_vue_type_part.js} +2 -2
  130. package/dist/components/Defaults.vue_vue_type_part.js.map +1 -0
  131. package/dist/components/DescriptionList.js +1 -1
  132. package/dist/components/DescriptionList.js.map +1 -1
  133. package/dist/components/{DescriptionList.vue_vue_type_script_setup_true_lang.js → DescriptionList.vue_vue_type_part.js} +2 -2
  134. package/dist/components/DescriptionList.vue_vue_type_part.js.map +1 -0
  135. package/dist/components/Dialog.js +1 -1
  136. package/dist/components/Dialog.js.map +1 -1
  137. package/dist/components/Dialog.vue.d.ts +1 -0
  138. package/dist/components/{Dialog.vue_vue_type_script_setup_true_lang.js → Dialog.vue_vue_type_part.js} +20 -3
  139. package/dist/components/Dialog.vue_vue_type_part.js.map +1 -0
  140. package/dist/components/Divider.js +1 -1
  141. package/dist/components/Divider.js.map +1 -1
  142. package/dist/components/{Divider.vue_vue_type_script_setup_true_lang.js → Divider.vue_vue_type_part.js} +2 -2
  143. package/dist/components/Divider.vue_vue_type_part.js.map +1 -0
  144. package/dist/components/EmptyState.js +1 -1
  145. package/dist/components/EmptyState.js.map +1 -1
  146. package/dist/components/{EmptyState.vue_vue_type_script_setup_true_lang.js → EmptyState.vue_vue_type_part.js} +2 -2
  147. package/dist/components/EmptyState.vue_vue_type_part.js.map +1 -0
  148. package/dist/components/Field.js +1 -1
  149. package/dist/components/Field.js.map +1 -1
  150. package/dist/components/Field.vue.d.ts +7 -1
  151. package/dist/components/{Field.vue_vue_type_script_setup_true_lang.js → Field.vue_vue_type_part.js} +36 -9
  152. package/dist/components/Field.vue_vue_type_part.js.map +1 -0
  153. package/dist/components/FileUpload.js +1 -1
  154. package/dist/components/FileUpload.js.map +1 -1
  155. package/dist/components/FileUpload.vue.d.ts +5 -1
  156. package/dist/components/{FileUpload.vue_vue_type_script_setup_true_lang.js → FileUpload.vue_vue_type_part.js} +9 -5
  157. package/dist/components/FileUpload.vue_vue_type_part.js.map +1 -0
  158. package/dist/components/Form.d.ts +2 -0
  159. package/dist/components/Form.js +6 -0
  160. package/dist/components/Form.js.map +1 -0
  161. package/dist/components/Form.vue.d.ts +40 -0
  162. package/dist/components/Form.vue_vue_type_part.js +85 -0
  163. package/dist/components/Form.vue_vue_type_part.js.map +1 -0
  164. package/dist/components/FullscreenButton.js +1 -1
  165. package/dist/components/FullscreenButton.js.map +1 -1
  166. package/dist/components/{FullscreenButton.vue_vue_type_script_setup_true_lang.js → FullscreenButton.vue_vue_type_part.js} +2 -2
  167. package/dist/components/FullscreenButton.vue_vue_type_part.js.map +1 -0
  168. package/dist/components/Glyph.js +1 -1
  169. package/dist/components/Glyph.js.map +1 -1
  170. package/dist/components/{Glyph.vue_vue_type_script_setup_true_lang.js → Glyph.vue_vue_type_part.js} +7 -3
  171. package/dist/components/Glyph.vue_vue_type_part.js.map +1 -0
  172. package/dist/components/Grid.js +1 -1
  173. package/dist/components/Grid.js.map +1 -1
  174. package/dist/components/{Grid.vue_vue_type_script_setup_true_lang.js → Grid.vue_vue_type_part.js} +2 -2
  175. package/dist/components/Grid.vue_vue_type_part.js.map +1 -0
  176. package/dist/components/Heading.d.ts +2 -0
  177. package/dist/components/Heading.js +6 -0
  178. package/dist/components/Heading.js.map +1 -0
  179. package/dist/components/Heading.vue.d.ts +24 -0
  180. package/dist/components/Heading.vue_vue_type_part.js +38 -0
  181. package/dist/components/Heading.vue_vue_type_part.js.map +1 -0
  182. package/dist/components/HoverCard.d.ts +2 -0
  183. package/dist/components/HoverCard.js +6 -0
  184. package/dist/components/HoverCard.js.map +1 -0
  185. package/dist/components/HoverCard.vue.d.ts +37 -0
  186. package/dist/components/HoverCard.vue_vue_type_part.js +110 -0
  187. package/dist/components/HoverCard.vue_vue_type_part.js.map +1 -0
  188. package/dist/components/Icon.js +1 -1
  189. package/dist/components/Icon.js.map +1 -1
  190. package/dist/components/{Icon.vue_vue_type_script_setup_true_lang.js → Icon.vue_vue_type_part.js} +7 -3
  191. package/dist/components/Icon.vue_vue_type_part.js.map +1 -0
  192. package/dist/components/Input.js +1 -1
  193. package/dist/components/Input.js.map +1 -1
  194. package/dist/components/Input.vue.d.ts +1 -1
  195. package/dist/components/{Input.vue_vue_type_script_setup_true_lang.js → Input.vue_vue_type_part.js} +2 -2
  196. package/dist/components/Input.vue_vue_type_part.js.map +1 -0
  197. package/dist/components/Kbd.js +1 -1
  198. package/dist/components/Kbd.js.map +1 -1
  199. package/dist/components/{Kbd.vue_vue_type_script_setup_true_lang.js → Kbd.vue_vue_type_part.js} +2 -2
  200. package/dist/components/Kbd.vue_vue_type_part.js.map +1 -0
  201. package/dist/components/Link.d.ts +2 -0
  202. package/dist/components/Link.js +6 -0
  203. package/dist/components/Link.js.map +1 -0
  204. package/dist/components/Link.vue.d.ts +27 -0
  205. package/dist/components/Link.vue_vue_type_part.js +67 -0
  206. package/dist/components/Link.vue_vue_type_part.js.map +1 -0
  207. package/dist/components/List.js +1 -1
  208. package/dist/components/List.js.map +1 -1
  209. package/dist/components/{List.vue_vue_type_script_setup_true_lang.js → List.vue_vue_type_part.js} +2 -2
  210. package/dist/components/List.vue_vue_type_part.js.map +1 -0
  211. package/dist/components/LocaleSwitcher.js +1 -1
  212. package/dist/components/LocaleSwitcher.js.map +1 -1
  213. package/dist/components/{LocaleSwitcher.vue_vue_type_script_setup_true_lang.js → LocaleSwitcher.vue_vue_type_part.js} +2 -2
  214. package/dist/components/LocaleSwitcher.vue_vue_type_part.js.map +1 -0
  215. package/dist/components/Menu.js +1 -1
  216. package/dist/components/Menu.js.map +1 -1
  217. package/dist/components/Menu.vue.d.ts +27 -11
  218. package/dist/components/Menu.vue_vue_type_part.js +318 -0
  219. package/dist/components/Menu.vue_vue_type_part.js.map +1 -0
  220. package/dist/components/Message.js +1 -1
  221. package/dist/components/Message.js.map +1 -1
  222. package/dist/components/{Message.vue_vue_type_script_setup_true_lang.js → Message.vue_vue_type_part.js} +2 -2
  223. package/dist/components/Message.vue_vue_type_part.js.map +1 -0
  224. package/dist/components/MessageGroup.js +1 -1
  225. package/dist/components/MessageGroup.js.map +1 -1
  226. package/dist/components/MessageGroup.vue.d.ts +1 -1
  227. package/dist/components/{MessageGroup.vue_vue_type_script_setup_true_lang.js → MessageGroup.vue_vue_type_part.js} +2 -2
  228. package/dist/components/MessageGroup.vue_vue_type_part.js.map +1 -0
  229. package/dist/components/NavList.js +1 -1
  230. package/dist/components/NavList.js.map +1 -1
  231. package/dist/components/{NavList.vue_vue_type_script_setup_true_lang.js → NavList.vue_vue_type_part.js} +2 -2
  232. package/dist/components/NavList.vue_vue_type_part.js.map +1 -0
  233. package/dist/components/NavigationSwitcher.js +1 -1
  234. package/dist/components/NavigationSwitcher.js.map +1 -1
  235. package/dist/components/{NavigationSwitcher.vue_vue_type_script_setup_true_lang.js → NavigationSwitcher.vue_vue_type_part.js} +2 -2
  236. package/dist/components/NavigationSwitcher.vue_vue_type_part.js.map +1 -0
  237. package/dist/components/NumberInput.js +1 -1
  238. package/dist/components/NumberInput.js.map +1 -1
  239. package/dist/components/NumberInput.vue.d.ts +1 -0
  240. package/dist/components/{NumberInput.vue_vue_type_script_setup_true_lang.js → NumberInput.vue_vue_type_part.js} +4 -4
  241. package/dist/components/NumberInput.vue_vue_type_part.js.map +1 -0
  242. package/dist/components/OverlayTransition.js +1 -1
  243. package/dist/components/OverlayTransition.js.map +1 -1
  244. package/dist/components/{OverlayTransition.vue_vue_type_script_setup_true_lang.js → OverlayTransition.vue_vue_type_part.js} +2 -2
  245. package/dist/components/OverlayTransition.vue_vue_type_part.js.map +1 -0
  246. package/dist/components/Pagination.js +1 -1
  247. package/dist/components/Pagination.js.map +1 -1
  248. package/dist/components/Pagination.vue.d.ts +1 -0
  249. package/dist/components/{Pagination.vue_vue_type_script_setup_true_lang.js → Pagination.vue_vue_type_part.js} +2 -2
  250. package/dist/components/Pagination.vue_vue_type_part.js.map +1 -0
  251. package/dist/components/Panel.js +1 -1
  252. package/dist/components/Panel.js.map +1 -1
  253. package/dist/components/Panel.vue.d.ts +1 -1
  254. package/dist/components/{Panel.vue_vue_type_script_setup_true_lang.js → Panel.vue_vue_type_part.js} +2 -2
  255. package/dist/components/Panel.vue_vue_type_part.js.map +1 -0
  256. package/dist/components/PasswordInput.js +1 -1
  257. package/dist/components/PasswordInput.js.map +1 -1
  258. package/dist/components/PasswordInput.vue.d.ts +2 -1
  259. package/dist/components/{PasswordInput.vue_vue_type_script_setup_true_lang.js → PasswordInput.vue_vue_type_part.js} +2 -2
  260. package/dist/components/PasswordInput.vue_vue_type_part.js.map +1 -0
  261. package/dist/components/PinInput.js +1 -1
  262. package/dist/components/PinInput.js.map +1 -1
  263. package/dist/components/PinInput.vue.d.ts +2 -1
  264. package/dist/components/{PinInput.vue_vue_type_script_setup_true_lang.js → PinInput.vue_vue_type_part.js} +2 -2
  265. package/dist/components/PinInput.vue_vue_type_part.js.map +1 -0
  266. package/dist/components/Popover.js +1 -1
  267. package/dist/components/Popover.js.map +1 -1
  268. package/dist/components/Popover.vue.d.ts +1 -0
  269. package/dist/components/{Popover.vue_vue_type_script_setup_true_lang.js → Popover.vue_vue_type_part.js} +4 -2
  270. package/dist/components/Popover.vue_vue_type_part.js.map +1 -0
  271. package/dist/components/Progress.js +1 -1
  272. package/dist/components/Progress.js.map +1 -1
  273. package/dist/components/{Progress.vue_vue_type_script_setup_true_lang.js → Progress.vue_vue_type_part.js} +2 -2
  274. package/dist/components/Progress.vue_vue_type_part.js.map +1 -0
  275. package/dist/components/QrCode.js +1 -1
  276. package/dist/components/QrCode.js.map +1 -1
  277. package/dist/components/{QrCode.vue_vue_type_script_setup_true_lang.js → QrCode.vue_vue_type_part.js} +3 -3
  278. package/dist/components/QrCode.vue_vue_type_part.js.map +1 -0
  279. package/dist/components/RadioGroup.js +1 -1
  280. package/dist/components/RadioGroup.js.map +1 -1
  281. package/dist/components/{RadioGroup.vue_vue_type_script_setup_true_lang.js → RadioGroup.vue_vue_type_part.js} +2 -2
  282. package/dist/components/RadioGroup.vue_vue_type_part.js.map +1 -0
  283. package/dist/components/Rating.js +1 -1
  284. package/dist/components/Rating.js.map +1 -1
  285. package/dist/components/Rating.vue.d.ts +4 -0
  286. package/dist/components/{Rating.vue_vue_type_script_setup_true_lang.js → Rating.vue_vue_type_part.js} +11 -4
  287. package/dist/components/Rating.vue_vue_type_part.js.map +1 -0
  288. package/dist/components/ScrollArea.js +1 -1
  289. package/dist/components/ScrollArea.js.map +1 -1
  290. package/dist/components/{ScrollArea.vue_vue_type_script_setup_true_lang.js → ScrollArea.vue_vue_type_part.js} +2 -2
  291. package/dist/components/ScrollArea.vue_vue_type_part.js.map +1 -0
  292. package/dist/components/SegmentedControl.js +1 -1
  293. package/dist/components/SegmentedControl.js.map +1 -1
  294. package/dist/components/{SegmentedControl.vue_vue_type_script_setup_true_lang.js → SegmentedControl.vue_vue_type_part.js} +2 -2
  295. package/dist/components/SegmentedControl.vue_vue_type_part.js.map +1 -0
  296. package/dist/components/Select.js +1 -1
  297. package/dist/components/Select.js.map +1 -1
  298. package/dist/components/Select.vue.d.ts +2 -1
  299. package/dist/components/{Select.vue_vue_type_script_setup_true_lang.js → Select.vue_vue_type_part.js} +79 -30
  300. package/dist/components/Select.vue_vue_type_part.js.map +1 -0
  301. package/dist/components/SelectionBar.js +1 -1
  302. package/dist/components/SelectionBar.js.map +1 -1
  303. package/dist/components/{SelectionBar.vue_vue_type_script_setup_true_lang.js → SelectionBar.vue_vue_type_part.js} +3 -3
  304. package/dist/components/SelectionBar.vue_vue_type_part.js.map +1 -0
  305. package/dist/components/Skeleton.js +1 -1
  306. package/dist/components/Skeleton.js.map +1 -1
  307. package/dist/components/{Skeleton.vue_vue_type_script_setup_true_lang.js → Skeleton.vue_vue_type_part.js} +2 -2
  308. package/dist/components/Skeleton.vue_vue_type_part.js.map +1 -0
  309. package/dist/components/Slider.js +1 -1
  310. package/dist/components/Slider.js.map +1 -1
  311. package/dist/components/Slider.vue.d.ts +7 -0
  312. package/dist/components/{Slider.vue_vue_type_script_setup_true_lang.js → Slider.vue_vue_type_part.js} +23 -4
  313. package/dist/components/Slider.vue_vue_type_part.js.map +1 -0
  314. package/dist/components/Spacer.js +1 -1
  315. package/dist/components/Spacer.js.map +1 -1
  316. package/dist/components/{Spacer.vue_vue_type_script_setup_true_lang.js → Spacer.vue_vue_type_part.js} +2 -2
  317. package/dist/components/Spacer.vue_vue_type_part.js.map +1 -0
  318. package/dist/components/Spinner.js +1 -1
  319. package/dist/components/Spinner.js.map +1 -1
  320. package/dist/components/{Spinner.vue_vue_type_script_setup_true_lang.js → Spinner.vue_vue_type_part.js} +2 -2
  321. package/dist/components/Spinner.vue_vue_type_part.js.map +1 -0
  322. package/dist/components/Split.js +1 -1
  323. package/dist/components/Split.js.map +1 -1
  324. package/dist/components/{Split.vue_vue_type_script_setup_true_lang.js → Split.vue_vue_type_part.js} +2 -2
  325. package/dist/components/Split.vue_vue_type_part.js.map +1 -0
  326. package/dist/components/Stack.js +1 -1
  327. package/dist/components/Stack.js.map +1 -1
  328. package/dist/components/{Stack.vue_vue_type_script_setup_true_lang.js → Stack.vue_vue_type_part.js} +2 -2
  329. package/dist/components/Stack.vue_vue_type_part.js.map +1 -0
  330. package/dist/components/Stat.js +1 -1
  331. package/dist/components/Stat.js.map +1 -1
  332. package/dist/components/{Stat.vue_vue_type_script_setup_true_lang.js → Stat.vue_vue_type_part.js} +2 -2
  333. package/dist/components/Stat.vue_vue_type_part.js.map +1 -0
  334. package/dist/components/Stepper.js +1 -1
  335. package/dist/components/Stepper.js.map +1 -1
  336. package/dist/components/Stepper.vue.d.ts +1 -0
  337. package/dist/components/{Stepper.vue_vue_type_script_setup_true_lang.js → Stepper.vue_vue_type_part.js} +2 -2
  338. package/dist/components/Stepper.vue_vue_type_part.js.map +1 -0
  339. package/dist/components/Switch.js +1 -1
  340. package/dist/components/Switch.js.map +1 -1
  341. package/dist/components/Switch.vue.d.ts +8 -0
  342. package/dist/components/{Switch.vue_vue_type_script_setup_true_lang.js → Switch.vue_vue_type_part.js} +21 -4
  343. package/dist/components/Switch.vue_vue_type_part.js.map +1 -0
  344. package/dist/components/Tabs.js +1 -1
  345. package/dist/components/Tabs.js.map +1 -1
  346. package/dist/components/{Tabs.vue_vue_type_script_setup_true_lang.js → Tabs.vue_vue_type_part.js} +2 -2
  347. package/dist/components/Tabs.vue_vue_type_part.js.map +1 -0
  348. package/dist/components/Tag.js +1 -1
  349. package/dist/components/Tag.js.map +1 -1
  350. package/dist/components/{Tag.vue_vue_type_script_setup_true_lang.js → Tag.vue_vue_type_part.js} +2 -2
  351. package/dist/components/Tag.vue_vue_type_part.js.map +1 -0
  352. package/dist/components/TagsInput.js +1 -1
  353. package/dist/components/TagsInput.js.map +1 -1
  354. package/dist/components/TagsInput.vue.d.ts +4 -0
  355. package/dist/components/{TagsInput.vue_vue_type_script_setup_true_lang.js → TagsInput.vue_vue_type_part.js} +7 -3
  356. package/dist/components/TagsInput.vue_vue_type_part.js.map +1 -0
  357. package/dist/components/Text.d.ts +2 -0
  358. package/dist/components/Text.js +6 -0
  359. package/dist/components/Text.js.map +1 -0
  360. package/dist/components/Text.vue.d.ts +29 -0
  361. package/dist/components/Text.vue_vue_type_part.js +37 -0
  362. package/dist/components/Text.vue_vue_type_part.js.map +1 -0
  363. package/dist/components/Textarea.js +1 -1
  364. package/dist/components/Textarea.js.map +1 -1
  365. package/dist/components/Textarea.vue.d.ts +3 -0
  366. package/dist/components/{Textarea.vue_vue_type_script_setup_true_lang.js → Textarea.vue_vue_type_part.js} +7 -3
  367. package/dist/components/Textarea.vue_vue_type_part.js.map +1 -0
  368. package/dist/components/ThemeScope.js +1 -1
  369. package/dist/components/ThemeScope.js.map +1 -1
  370. package/dist/components/{ThemeScope.vue_vue_type_script_setup_true_lang.js → ThemeScope.vue_vue_type_part.js} +3 -3
  371. package/dist/components/ThemeScope.vue_vue_type_part.js.map +1 -0
  372. package/dist/components/ThemeSwitcher.js +1 -1
  373. package/dist/components/ThemeSwitcher.js.map +1 -1
  374. package/dist/components/ThemeSwitcher.vue.d.ts +1 -1
  375. package/dist/components/{ThemeSwitcher.vue_vue_type_script_setup_true_lang.js → ThemeSwitcher.vue_vue_type_part.js} +2 -2
  376. package/dist/components/ThemeSwitcher.vue_vue_type_part.js.map +1 -0
  377. package/dist/components/TimePicker.js +1 -1
  378. package/dist/components/TimePicker.js.map +1 -1
  379. package/dist/components/TimePicker.vue.d.ts +2 -1
  380. package/dist/components/{TimePicker.vue_vue_type_script_setup_true_lang.js → TimePicker.vue_vue_type_part.js} +2 -2
  381. package/dist/components/TimePicker.vue_vue_type_part.js.map +1 -0
  382. package/dist/components/TimeRangePicker.js +1 -1
  383. package/dist/components/TimeRangePicker.js.map +1 -1
  384. package/dist/components/TimeRangePicker.vue.d.ts +2 -0
  385. package/dist/components/{TimeRangePicker.vue_vue_type_script_setup_true_lang.js → TimeRangePicker.vue_vue_type_part.js} +2 -2
  386. package/dist/components/TimeRangePicker.vue_vue_type_part.js.map +1 -0
  387. package/dist/components/Timeline.js +1 -1
  388. package/dist/components/Timeline.js.map +1 -1
  389. package/dist/components/{Timeline.vue_vue_type_script_setup_true_lang.js → Timeline.vue_vue_type_part.js} +2 -2
  390. package/dist/components/Timeline.vue_vue_type_part.js.map +1 -0
  391. package/dist/components/ToastViewport.js +1 -1
  392. package/dist/components/ToastViewport.js.map +1 -1
  393. package/dist/components/{ToastViewport.vue_vue_type_script_setup_true_lang.js → ToastViewport.vue_vue_type_part.js} +9 -3
  394. package/dist/components/ToastViewport.vue_vue_type_part.js.map +1 -0
  395. package/dist/components/ToggleButton.js +1 -1
  396. package/dist/components/ToggleButton.js.map +1 -1
  397. package/dist/components/ToggleButton.vue.d.ts +1 -0
  398. package/dist/components/{ToggleButton.vue_vue_type_script_setup_true_lang.js → ToggleButton.vue_vue_type_part.js} +2 -2
  399. package/dist/components/ToggleButton.vue_vue_type_part.js.map +1 -0
  400. package/dist/components/Toolbar.d.ts +2 -0
  401. package/dist/components/Toolbar.js +6 -0
  402. package/dist/components/Toolbar.js.map +1 -0
  403. package/dist/components/Toolbar.vue.d.ts +21 -0
  404. package/dist/components/Toolbar.vue_vue_type_part.js +70 -0
  405. package/dist/components/Toolbar.vue_vue_type_part.js.map +1 -0
  406. package/dist/components/Tooltip.js +1 -1
  407. package/dist/components/Tooltip.js.map +1 -1
  408. package/dist/components/{Tooltip.vue_vue_type_script_setup_true_lang.js → Tooltip.vue_vue_type_part.js} +7 -4
  409. package/dist/components/Tooltip.vue_vue_type_part.js.map +1 -0
  410. package/dist/components/Tree.js +1 -1
  411. package/dist/components/Tree.js.map +1 -1
  412. package/dist/components/Tree.vue.d.ts +4 -1
  413. package/dist/components/{Tree.vue_vue_type_script_setup_true_lang.js → Tree.vue_vue_type_part.js} +66 -37
  414. package/dist/components/Tree.vue_vue_type_part.js.map +1 -0
  415. package/dist/components/VisuallyHidden.js +1 -1
  416. package/dist/components/VisuallyHidden.js.map +1 -1
  417. package/dist/components/{VisuallyHidden.vue_vue_type_script_setup_true_lang.js → VisuallyHidden.vue_vue_type_part.js} +2 -2
  418. package/dist/components/VisuallyHidden.vue_vue_type_part.js.map +1 -0
  419. package/dist/composables/defaults.js +1 -1
  420. package/dist/composables/dismiss.d.ts +1 -1
  421. package/dist/composables/dismiss.js +3 -3
  422. package/dist/composables/dismiss.js.map +1 -1
  423. package/dist/composables/floating.js +7 -2
  424. package/dist/composables/floating.js.map +1 -1
  425. package/dist/composables/focus.js +1 -1
  426. package/dist/composables/focus.js.map +1 -1
  427. package/dist/composables/form.d.ts +22 -0
  428. package/dist/composables/form.js +33 -0
  429. package/dist/composables/form.js.map +1 -0
  430. package/dist/composables/inert.d.ts +2 -0
  431. package/dist/composables/inert.js +47 -0
  432. package/dist/composables/inert.js.map +1 -0
  433. package/dist/composables/layers.js +1 -1
  434. package/dist/composables/locale.js +1 -1
  435. package/dist/composables/theme.js.map +1 -1
  436. package/dist/composables/toast.js +1 -1
  437. package/dist/composables/toast.js.map +1 -1
  438. package/dist/composables/top-layer.d.ts +1 -0
  439. package/dist/composables/top-layer.js +16 -0
  440. package/dist/composables/top-layer.js.map +1 -0
  441. package/dist/composables/use-theme.js +1 -1
  442. package/dist/composables/view-transition.js.map +1 -1
  443. package/dist/composables/virtual.d.ts +19 -0
  444. package/dist/composables/virtual.js +90 -0
  445. package/dist/composables/virtual.js.map +1 -0
  446. package/dist/composables/warn-once.d.ts +1 -0
  447. package/dist/composables/warn-once.js +12 -0
  448. package/dist/composables/warn-once.js.map +1 -0
  449. package/dist/config.d.ts +2 -2
  450. package/dist/config.js +3 -3
  451. package/dist/config.js.map +1 -1
  452. package/dist/directives/ripple.js.map +1 -1
  453. package/dist/i18n.js +3 -3
  454. package/dist/i18n.js.map +1 -1
  455. package/dist/icons/index.d.ts +1 -1
  456. package/dist/icons/lucide.d.ts +4 -0
  457. package/dist/icons/lucide.js +5 -0
  458. package/dist/icons/lucide.js.map +1 -1
  459. package/dist/icons/registry.d.ts +4 -2
  460. package/dist/icons/registry.js +52 -3
  461. package/dist/icons/registry.js.map +1 -1
  462. package/dist/icons/types.d.ts +14 -0
  463. package/dist/index.d.ts +1519 -920
  464. package/dist/index.js +70 -54
  465. package/dist/index.js.map +1 -1
  466. package/dist/locales/{en.js → en.json.js} +4 -1
  467. package/dist/locales/en.json.js.map +1 -0
  468. package/dist/locales/{hy.js → hy.json.js} +4 -1
  469. package/dist/locales/hy.json.js.map +1 -0
  470. package/dist/locales/{ru.js → ru.json.js} +4 -1
  471. package/dist/locales/ru.json.js.map +1 -0
  472. package/dist/motion/enter.js +1 -1
  473. package/dist/motion/enter.js.map +1 -1
  474. package/dist/motion/install.js +4 -4
  475. package/dist/motion/install.js.map +1 -1
  476. package/dist/pt.js +1 -1
  477. package/dist/skills/momo-ui/SKILL.md +11 -3
  478. package/dist/skills/momo-ui/api/registerIconCollection.md +1 -1
  479. package/dist/skills/momo-ui/api/useDismiss.md +1 -1
  480. package/dist/skills/momo-ui/components/Button.md +1 -1
  481. package/dist/skills/momo-ui/components/ButtonGroup.md +1 -1
  482. package/dist/skills/momo-ui/components/Calendar.md +1 -0
  483. package/dist/skills/momo-ui/components/ColorPicker.md +1 -0
  484. package/dist/skills/momo-ui/components/Combobox.md +3 -1
  485. package/dist/skills/momo-ui/components/ContextMenu.md +32 -0
  486. package/dist/skills/momo-ui/components/DataTable.md +3 -1
  487. package/dist/skills/momo-ui/components/DateRangePicker.md +41 -0
  488. package/dist/skills/momo-ui/components/Field.md +5 -1
  489. package/dist/skills/momo-ui/components/FileUpload.md +2 -1
  490. package/dist/skills/momo-ui/components/Form.md +48 -0
  491. package/dist/skills/momo-ui/components/Heading.md +33 -0
  492. package/dist/skills/momo-ui/components/HoverCard.md +36 -0
  493. package/dist/skills/momo-ui/components/Icon.md +3 -1
  494. package/dist/skills/momo-ui/components/Input.md +1 -1
  495. package/dist/skills/momo-ui/components/Link.md +30 -0
  496. package/dist/skills/momo-ui/components/Menu.md +17 -1
  497. package/dist/skills/momo-ui/components/Rating.md +1 -0
  498. package/dist/skills/momo-ui/components/Select.md +3 -1
  499. package/dist/skills/momo-ui/components/Slider.md +3 -0
  500. package/dist/skills/momo-ui/components/Switch.md +3 -0
  501. package/dist/skills/momo-ui/components/TagsInput.md +1 -0
  502. package/dist/skills/momo-ui/components/Text.md +31 -0
  503. package/dist/skills/momo-ui/components/Textarea.md +1 -0
  504. package/dist/skills/momo-ui/components/Toolbar.md +26 -0
  505. package/dist/skills/momo-ui/components/Tree.md +3 -1
  506. package/dist/styles.css +1 -2228
  507. package/package.json +35 -30
  508. package/dist/components/Accordion.vue_vue_type_script_setup_true_lang.js.map +0 -1
  509. package/dist/components/Alert.vue_vue_type_script_setup_true_lang.js.map +0 -1
  510. package/dist/components/AppShell.vue_vue_type_script_setup_true_lang.js.map +0 -1
  511. package/dist/components/AspectRatio.vue_vue_type_script_setup_true_lang.js.map +0 -1
  512. package/dist/components/Avatar.vue_vue_type_script_setup_true_lang.js.map +0 -1
  513. package/dist/components/Badge.vue_vue_type_script_setup_true_lang.js.map +0 -1
  514. package/dist/components/Breadcrumbs.vue_vue_type_script_setup_true_lang.js.map +0 -1
  515. package/dist/components/Button.vue_vue_type_script_setup_true_lang.js.map +0 -1
  516. package/dist/components/ButtonGroup.vue_vue_type_script_setup_true_lang.js.map +0 -1
  517. package/dist/components/Calendar.vue_vue_type_script_setup_true_lang.js.map +0 -1
  518. package/dist/components/Card.vue_vue_type_script_setup_true_lang.js.map +0 -1
  519. package/dist/components/Carousel.vue_vue_type_script_setup_true_lang.js.map +0 -1
  520. package/dist/components/Checkbox.vue_vue_type_script_setup_true_lang.js.map +0 -1
  521. package/dist/components/Clock.vue_vue_type_script_setup_true_lang.js.map +0 -1
  522. package/dist/components/Collapsible.vue_vue_type_script_setup_true_lang.js.map +0 -1
  523. package/dist/components/ColorPicker.vue_vue_type_script_setup_true_lang.js.map +0 -1
  524. package/dist/components/Combobox.vue_vue_type_script_setup_true_lang.js.map +0 -1
  525. package/dist/components/CommandPalette.vue_vue_type_script_setup_true_lang.js.map +0 -1
  526. package/dist/components/ConfirmDialog.vue_vue_type_script_setup_true_lang.js.map +0 -1
  527. package/dist/components/Container.vue_vue_type_script_setup_true_lang.js.map +0 -1
  528. package/dist/components/ConversationItem.vue_vue_type_script_setup_true_lang.js.map +0 -1
  529. package/dist/components/DataTable.vue_vue_type_script_setup_true_lang.js.map +0 -1
  530. package/dist/components/DateDivider.vue_vue_type_script_setup_true_lang.js.map +0 -1
  531. package/dist/components/DatePicker.vue_vue_type_script_setup_true_lang.js.map +0 -1
  532. package/dist/components/Defaults.vue_vue_type_script_setup_true_lang.js.map +0 -1
  533. package/dist/components/DescriptionList.vue_vue_type_script_setup_true_lang.js.map +0 -1
  534. package/dist/components/Dialog.vue_vue_type_script_setup_true_lang.js.map +0 -1
  535. package/dist/components/Divider.vue_vue_type_script_setup_true_lang.js.map +0 -1
  536. package/dist/components/EmptyState.vue_vue_type_script_setup_true_lang.js.map +0 -1
  537. package/dist/components/Field.vue_vue_type_script_setup_true_lang.js.map +0 -1
  538. package/dist/components/FileUpload.vue_vue_type_script_setup_true_lang.js.map +0 -1
  539. package/dist/components/FullscreenButton.vue_vue_type_script_setup_true_lang.js.map +0 -1
  540. package/dist/components/Glyph.vue_vue_type_script_setup_true_lang.js.map +0 -1
  541. package/dist/components/Grid.vue_vue_type_script_setup_true_lang.js.map +0 -1
  542. package/dist/components/Icon.vue_vue_type_script_setup_true_lang.js.map +0 -1
  543. package/dist/components/Input.vue_vue_type_script_setup_true_lang.js.map +0 -1
  544. package/dist/components/Kbd.vue_vue_type_script_setup_true_lang.js.map +0 -1
  545. package/dist/components/List.vue_vue_type_script_setup_true_lang.js.map +0 -1
  546. package/dist/components/LocaleSwitcher.vue_vue_type_script_setup_true_lang.js.map +0 -1
  547. package/dist/components/Menu.vue_vue_type_script_setup_true_lang.js +0 -188
  548. package/dist/components/Menu.vue_vue_type_script_setup_true_lang.js.map +0 -1
  549. package/dist/components/Message.vue_vue_type_script_setup_true_lang.js.map +0 -1
  550. package/dist/components/MessageGroup.vue_vue_type_script_setup_true_lang.js.map +0 -1
  551. package/dist/components/NavList.vue_vue_type_script_setup_true_lang.js.map +0 -1
  552. package/dist/components/NavigationSwitcher.vue_vue_type_script_setup_true_lang.js.map +0 -1
  553. package/dist/components/NumberInput.vue_vue_type_script_setup_true_lang.js.map +0 -1
  554. package/dist/components/OverlayTransition.vue_vue_type_script_setup_true_lang.js.map +0 -1
  555. package/dist/components/Pagination.vue_vue_type_script_setup_true_lang.js.map +0 -1
  556. package/dist/components/Panel.vue_vue_type_script_setup_true_lang.js.map +0 -1
  557. package/dist/components/PasswordInput.vue_vue_type_script_setup_true_lang.js.map +0 -1
  558. package/dist/components/PinInput.vue_vue_type_script_setup_true_lang.js.map +0 -1
  559. package/dist/components/Popover.vue_vue_type_script_setup_true_lang.js.map +0 -1
  560. package/dist/components/Progress.vue_vue_type_script_setup_true_lang.js.map +0 -1
  561. package/dist/components/QrCode.vue_vue_type_script_setup_true_lang.js.map +0 -1
  562. package/dist/components/RadioGroup.vue_vue_type_script_setup_true_lang.js.map +0 -1
  563. package/dist/components/Rating.vue_vue_type_script_setup_true_lang.js.map +0 -1
  564. package/dist/components/ScrollArea.vue_vue_type_script_setup_true_lang.js.map +0 -1
  565. package/dist/components/SegmentedControl.vue_vue_type_script_setup_true_lang.js.map +0 -1
  566. package/dist/components/Select.vue_vue_type_script_setup_true_lang.js.map +0 -1
  567. package/dist/components/SelectionBar.vue_vue_type_script_setup_true_lang.js.map +0 -1
  568. package/dist/components/Skeleton.vue_vue_type_script_setup_true_lang.js.map +0 -1
  569. package/dist/components/Slider.vue_vue_type_script_setup_true_lang.js.map +0 -1
  570. package/dist/components/Spacer.vue_vue_type_script_setup_true_lang.js.map +0 -1
  571. package/dist/components/Spinner.vue_vue_type_script_setup_true_lang.js.map +0 -1
  572. package/dist/components/Split.vue_vue_type_script_setup_true_lang.js.map +0 -1
  573. package/dist/components/Stack.vue_vue_type_script_setup_true_lang.js.map +0 -1
  574. package/dist/components/Stat.vue_vue_type_script_setup_true_lang.js.map +0 -1
  575. package/dist/components/Stepper.vue_vue_type_script_setup_true_lang.js.map +0 -1
  576. package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js.map +0 -1
  577. package/dist/components/Tabs.vue_vue_type_script_setup_true_lang.js.map +0 -1
  578. package/dist/components/Tag.vue_vue_type_script_setup_true_lang.js.map +0 -1
  579. package/dist/components/TagsInput.vue_vue_type_script_setup_true_lang.js.map +0 -1
  580. package/dist/components/Textarea.vue_vue_type_script_setup_true_lang.js.map +0 -1
  581. package/dist/components/ThemeScope.vue_vue_type_script_setup_true_lang.js.map +0 -1
  582. package/dist/components/ThemeSwitcher.vue_vue_type_script_setup_true_lang.js.map +0 -1
  583. package/dist/components/TimePicker.vue_vue_type_script_setup_true_lang.js.map +0 -1
  584. package/dist/components/TimeRangePicker.vue_vue_type_script_setup_true_lang.js.map +0 -1
  585. package/dist/components/Timeline.vue_vue_type_script_setup_true_lang.js.map +0 -1
  586. package/dist/components/ToastViewport.vue_vue_type_script_setup_true_lang.js.map +0 -1
  587. package/dist/components/ToggleButton.vue_vue_type_script_setup_true_lang.js.map +0 -1
  588. package/dist/components/Tooltip.vue_vue_type_script_setup_true_lang.js.map +0 -1
  589. package/dist/components/Tree.vue_vue_type_script_setup_true_lang.js.map +0 -1
  590. package/dist/components/VisuallyHidden.vue_vue_type_script_setup_true_lang.js.map +0 -1
  591. package/dist/locales/en.js.map +0 -1
  592. package/dist/locales/hy.js.map +0 -1
  593. package/dist/locales/ru.js.map +0 -1
package/README.hy.md CHANGED
@@ -16,7 +16,7 @@
16
16
  </div>
17
17
 
18
18
  <div align="center">
19
- <b>Momo UI-ի Vue կոմպոնենտները CRM-ի և աշխատանքային ինտերֆեյսների համար։</b><br/>
19
+ <b>Momo UI-ի Vue կոմպոնենտները վեբ հավելվածների համար։</b><br/>
20
20
  Ոճավորված @momo-framework/themes-ի թոքեններով կամ առանց ոճերի՝ pass-through-ով ցանկացած CSS-ի համար։
21
21
  </div>
22
22
 
@@ -26,39 +26,78 @@
26
26
 
27
27
  ---
28
28
 
29
- ## Հնարավորություններ
29
+ ## Բովանդակություն
30
30
 
31
- - Երկու ռեժիմ՝ ոճավորված, որտեղ `styles.css`-ը նկարում է յուրաքանչյուր կոմպոնենտ թոքեններից, և `unstyled`, որտեղ կոմպոնենտները պահում են վարքը, ARIA-ն և ստեղնաշարը, իսկ նկարում է հավելվածը
32
- - Pass-through յուրաքանչյուր մասի վրա․ `pt`-ն ընդունում է ատրիբուտներ, դասերի տող կամ վիճակից կախված ֆունկցիա՝ գլոբալ պլագինում և առանձին օրինակում․ դասերը և մշակիչները միաձուլվում են
33
- - Յուրաքանչյուր մաս ունի `data-scope`, `data-part` և վիճակ (`data-open`, `data-selected`, `data-invalid`), ուստի CSS-ը, թեստերը և անալիտիկան կարդում են մեկ աղբյուր
34
- - Ստեղնաշար և ARIA ըստ WAI-ARIA օրինաչափությունների՝ combobox և listbox, մենյու, ներդիրներ, մոդալ երկխոսություն ֆոկուսի թակարդով և ֆոկուսի վերադարձով, փոխանջատիչ, դասավորվող աղյուսակի վերնագրեր
35
- - Թռուցիկներն ունեն ֆիքսված դիրքավորում և շրջում, ուստի աղյուսակի կամ երկխոսության ներսում մենյուն չի կտրվում `overflow: hidden`-ով
36
- - Կոմպոնենտների տեքստերը անգլերեն, ռուսերեն և հայերեն vue-i18n հաղորդագրություններ են `momo` բանալու տակ. եթե հավելվածում կա vue-i18n, կիտը խոսում է դրա միջոցով, առանց դրա նույն ֆայլերը կարդում է ներկառուցված փոքր թարգմանիչը
37
- - Կախվածություններ աշխատանքի ժամանակ՝ Vue, տոկենները և motion-ը (GSAP, Lenis). ESM tree-shaking-ով և տիպերով
38
- - `@momo-framework/themes`-ի քսաներեք պրեսեթ (`material` լռելյայն, `aura`, `lara`, `nora`, `fluent`, `carbon`, `ant`, `cupertino`, `primer`, `geist`, `polaris`, `spectrum`, `lightning`, `clarity`, `fiori`, `bootstrap`, `mantine`, `chakra`, `soft`, `paper`, `brutal`, `terminal`, `classic`), primary-ն, surface-ը, խտությունը, ripple-ը և լցված դաշտերը ընտրվում են առանձին․ `app.use(MomoUI, { preset: carbon, theme: { primary: 'teal' } })`
39
- - `useTheme()`-ը փոխում է պրեսեթը, գույները կամ ցանկացած տոկեն ընթացքում, `ThemeScope`-ը էջի մի մասին տալիս է իր պրեսեթը, գույներն ու սխեման, `tokens('switch', {...})`-ը վերասահմանում է մեկ օրինակի տոկենները `style`-ի միջոցով
40
- - Ripple ցուցիչից՝ կոճակների, մենյուի կետերի, ցանկի տարբերակների, ներդիրների և նավիգացիայի վրա, որտեղ թեման այն միացնում է
41
- - RTL․ ամենուր տրամաբանական հատկություններ, մենյուներն ու հուշումները հայելային են, կողային վահանակները դուրս են գալիս տողի վերջից, սլաքները շրջվում են, հեռախոսներն ու թվերը մնում են ձախից աջ․ `dir: 'rtl'` պլագինում
42
- - Օվերլեյներն անիմացվում են GSAP-ով `@momo-framework/motion`-ի միջոցով, որը կիտի կախվածությունն է. երկխոսությունները, մենյուները, պոպովերները, ցուցակները, հուշումներն ու թոսթերը ունեն իրենց պրեսեթը (`motion: { overlays: { dialog: 'zoom-in' } }`), `motion: false`-ը վերադարձնում է CSS անցումները, `unstyled`-ն անջատում է անիմացիաները։ Կիտը վերաարտահանում է motion-ի ամբողջ API-ն՝ `Motion`, `MotionGroup`, `v-reveal`, `useSmoothScroll` և մնացածը
43
- - Սեփական reset `momo.reset` շերտում՝ մնացած ամեն ինչից ցածր. `box-sizing`, առանց լռելյայն լուսանցքների, ձևերի դաշտերը ժառանգում են տառատեսակը, մեդիան դուրս չի գալիս եզրից, `[hidden]`-ը միշտ թաքցնում է, հավասարակշռված վերնագրեր, ֆոկուսի օղակ տոկեններից, `interpolate-size`, «նվազեցնել շարժումը»։ Ֆոկուսի եզրագծերին և անջատված կոնտրոլների սեղմումներին չի դիպչում։ `reset: false`-ն անջատում է այն
44
- - Էջի և `.m-scrollbar`-ի ոլորման գոտին տոկեններից բոլոր շարժիչներում, `.m-scrollbar-none` և `.m-scrollbar-stable`
45
- - Լռելյայն արժեքներ երեք մակարդակում՝ prop, մոտակա ծնող (`<Defaults :values="{ Button: { size: 'sm' } }">`, `ButtonGroup`) և պլագին (`defaults: { Button: { variant: 'outline' } }`), հետո կիտը
46
- - Հարթությունը պահում են թեստերը. բոլոր կոնտրոլները (կոճակ, դաշտ, ցուցակ, թիվ, սեգմենտներ, կոդի բջիջներ) ունեն մեկ բարձրություն ամեն չափի համար, որը չափվում է Chromium-ում. ոճերը երկարությունները, տևողությունները, ստվերներն ու գույները վերցնում են միայն տոկեններից, օգտագործում են միայն տրամաբանական հատկություններ և մնում են կիտի շերտերում
47
- - Storybook [momo-framework.github.io/ui](https://momo-framework.github.io/ui/) հասցեում՝ յուրաքանչյուր կոմպոնենտ իր ավազարկղով, վիճակներով և մասերով, կլինիկայի CRM-ի էկրաններ, պրեսեթի, primary-ի, surface-ի, խտության, ripple-ի, դաշտերի, սխեմայի, ուղղության և լեզվի վահանակ, axe a11y ներդիրում և թոքեններից շրջանակ՝ լուսավոր և մուգ թեմայով
31
+ - [Հնարավորություններ](#հնարավորություններ)
32
+ - [Ինչու](#ինչու)
33
+ - [Պահանջներ](#պահանջներ)
34
+ - [Արագ մեկնարկ](#արագ-մեկնարկ)
35
+ - [Կոմպոնենտներ](#կոմպոնենտներ)
36
+ - [Կարգավորում](#կարգավորում)
37
+ - [Սքիլ ԱԲ գործակալների համար](#սքիլ-աբ-գործակալների-համար)
38
+ - [Մշակում](#մշակում)
39
+ - [Կարգավիճակ](#կարգավիճակ)
40
+ - [Լիցենզիա](#լիցենզիա)
48
41
 
49
- ## Կոմպոնենտներ
42
+ ---
50
43
 
51
- - **Գործողություններ.** `Button` (solid, soft, outline, ghost, link; վեց տոն; բեռնման ժամանակ պահում է լայնությունը), `ButtonGroup`, `ToggleButton`, `Menu`, `SegmentedControl`
52
- - **Ձևեր.** `Field` (պիտակը, հուշումը և սխալը կապված են դաշտին id-ով), `Input` ձախ և աջ սլոթերով, `Textarea` ավտոբարձրությամբ, `PasswordInput` (ցույց տալ և թաքցնել, Caps Lock, հուսալիություն և կանոններ), `Select` (մեկ, մի քանի, որոնում, խմբեր, նկարագրություններ, անցում ըստ տառերի), `Combobox`, որը մուտքագրելիս առաջարկում է սերվերից, `Checkbox` միջանկյալ վիճակով և զանգված-մոդելով, `RadioGroup` նկարագրություններով, `Switch`, `NumberInput` (spinbutton, կարդում է թվերն ըստ էջի լեզվի), `Slider`, `PinInput` միանգամյա կոդերի համար
53
- - **Տվյալներ.** `DataTable` (դասավորում տեղում կամ սերվերում, տողերի ընտրություն, կպչուն վերնագիր, խտություն, կմախք-տողեր, բջիջների սլոթեր, տողերը բացվում են Enter-ով), `SelectionBar` ընտրվածի հետ գործողությունների համար, `Pagination`, `Tabs` հաշվիչներով, `DescriptionList`, `Timeline`, `Stat`, `Stepper`, `Accordion` և `Collapsible`
54
- - **Արձագանք.** `Alert`, `ToastViewport` `useToast()`-ով, `ConfirmDialog` `useConfirm()`-ով, `Progress`, `Spinner`, `Skeleton`, `EmptyState`, `Badge`, `Tag`, `QrCode`
55
- - **Հավելվածի շրջանակ.** `AppShell` (նավիգացիան սկզբում, վերջում, վերևում կամ ներքևում. տեղը ընտրում է հավելվածը կամ մարդը `NavigationSwitcher`-ով, `persist`-ը հիշում է ընտրությունը, նավիգացիան թռչում է նոր եզր. կողային ընտրացանկը ծալվում է Material 3 ռելսի՝ ստորագրություններով կամ միայն պատկերակներով. `reveal`-ը թաքցնում է այն, մինչև կուրսորը հասնի եզրին կամ մինչ էջը ոլորվում է ներքև), `NavList` (vue-router-ի կամ Nuxt-ի հղումներ իրենց ակտիվ վիճակով, հաշվիչներ, հուշումներ ծալված ընտրացանկում), `Breadcrumbs`
56
- - **Դասավորություն.** `Stack`, `Grid` (սյուներ թվով, ձևանմուշով կամ նվազագույն լայնությամբ), `Container`, `Split`, `Spacer`, `AspectRatio`, `ScrollArea`, `VisuallyHidden`. բացերը և լուսանցքները միայն տարածության սանդղակից (`none`, `xxs`-ից `xxl`)
57
- - **Մակերեսներ և շերտեր.** `Card` (մեդիա, գործողություններ, ստորոտ, outlined, elevated կամ filled), `Panel`, `Dialog` (կենտրոնում կամ կողային վահանակով `position="end"`), `Tooltip`, `Avatar`
44
+ ## Հնարավորություններ
45
+
46
+ - 88 կոմպոնենտ, գրանցվում են որպես `M<Name>`՝ `MButton`, `MDataTable`,
47
+ `MField`
48
+ - Ոճավորված ռեժիմում `styles.css`-ը նկարում է յուրաքանչյուր կոմպոնենտ
49
+ թոքեններից
50
+ - `unstyled: true`-ն պահում է վարքը, ARIA-ն և ստեղնաշարը, իսկ տեսքը
51
+ նկարում է հավելվածը
52
+ - `pt`-ն յուրաքանչյուր մասի վրա ընդունում է ատրիբուտներ, դասերի տող կամ
53
+ վիճակից կախված ֆունկցիա՝ պլագինում և առանձին օրինակում
54
+ - Յուրաքանչյուր մաս ունի `data-scope`, `data-part` և վիճակ, օրինակ
55
+ `data-open` կամ `data-invalid`
56
+ - Ստեղնաշարը և ARIA-ն ըստ WAI-ARIA օրինաչափությունների՝ listbox-ի, մենյուի,
57
+ ներդիրների, երկխոսության և փոխանջատիչի համար
58
+ - Երկխոսությունը ֆոկուսը պահում է ներսում, հետևի էջը դարձնում է `inert` և
59
+ փակվելուց հետո վերադարձնում է ֆոկուսը
60
+ - Երկխոսությունները, մենյուները, popover-ները, հուշումները և toast-երը
61
+ բացվում են զննարկչի top layer-ում՝ հավելվածի ցանկացած `z-index`-ից վեր
62
+ - `virtual`-ը `DataTable`-ում, `Select`-ում, `Tree`-ում և `Combobox`-ում նկարում
63
+ է միայն տեսանելի տողերը և ևս 6-ական յուրաքանչյուր կողմից
64
+ - `Form`-ը ուղարկելուց առաջ ստուգում է յուրաքանչյուր `Field` և ֆոկուսը
65
+ տանում է առաջին սխալին
66
+ - Թռուցիկներն ունեն ֆիքսված դիրքավորում և շրջում, ուստի աղյուսակի
67
+ `overflow: hidden`-ը մենյուն չի կտրում
68
+ - `@momo-framework/themes`-ի 23 պրեսեթ, լռելյայն `material`
69
+ - `useTheme()`-ը ընթացքում փոխում է պրեսեթը, գույները կամ ցանկացած թոքեն
70
+ - `ThemeScope`-ը էջի մի մասին տալիս է իր պրեսեթը և սխեման
71
+ - Ինտերֆեյսի տեքստերը անգլերեն, ռուսերեն և հայերեն են, vue-i18n-ի միջոցով,
72
+ եթե այն կա հավելվածում
73
+ - RTL `dir: 'rtl'`-ով՝ տրամաբանական հատկություններ, հայելային մենյուներ,
74
+ հեռախոսներն ու թվերը մնում են ձախից աջ
75
+ - Օվերլեյներն անիմացվում են GSAP-ով `@momo-framework/motion`-ի միջոցով, և
76
+ կիտը վերաարտահանում է դրա API-ն
77
+ - Լռելյայն արժեքներ երեք մակարդակում՝ prop, մոտակա `<MDefaults>`, պլագին
78
+ - Յուրաքանչյուր կոնտրոլ ունի մեկ բարձրություն ամեն չափի համար, թեստերը այն
79
+ չափում են Chromium-ում
80
+ - Storybook բոլոր կոմպոնենտներով՝
81
+ [momo-framework.github.io/ui](https://momo-framework.github.io/ui/)
58
82
 
59
83
  ## Ինչու
60
84
 
61
- CRM-ն ապրում է աղյուսակներում, ձևերում և երկխոսություններում, և հենց դրանք են ամենադժվարը ճիշտ անել․ ստեղնաշարը ցուցակում, ֆոկուսը երկխոսությունը փակելուց հետո, ոլորվող աղյուսակով կտրված մենյուն, ցատկող բեռնման կոճակը։ Ընդհանուր կիտի վրա փաթաթանը նշանակում է պայքար նրա ոճերի դեմ յուրաքանչյուր պատվիրատուի համար։ Այստեղ վարքը և տեսքը առանձնացված են․ վարքը և մատչելիությունը նույնն են բոլոր հավելվածների համար, տեսքը տալիս են թոքենները կամ հավելվածի սեփական CSS-ը `pt`-ի միջոցով։
85
+ Հավելվածի էկրանների մեծ մասը աղյուսակներ, ձևեր և երկխոսություններ են՝
86
+ լինի CRM, ադմին վահանակ, գրանցման էջ թե անձնական կաբինետ, և հենց դրանք են
87
+ ամենադժվարը ճիշտ անել՝ ստեղնաշարը ցուցակում, ֆոկուսը
88
+ երկխոսությունը փակելուց հետո, ոլորվող աղյուսակով կտրված մենյուն, ցատկող
89
+ բեռնման կոճակը։ Ընդհանուր կիտի վրա փաթաթանը նշանակում է պայքար նրա ոճերի
90
+ դեմ յուրաքանչյուր պատվիրատուի համար։ Այստեղ վարքը և տեսքը առանձին շերտեր
91
+ են։ Վարքը և մատչելիությունը նույնն են բոլոր հավելվածներում, տեսքը տալիս են
92
+ թոքենները կամ հավելվածի սեփական CSS-ը `pt`-ի միջոցով։
93
+
94
+ ## Պահանջներ
95
+
96
+ - Vue 3.5 կամ ավելի նոր, միակ peer կախվածությունը
97
+ - Հավաքիչ, որը կարդում է ESM և CSS ներմուծումներ, օրինակ Vite
98
+ - Nuxt հավելվածները տեղադրում են
99
+ [`@momo-framework/nuxt`](https://github.com/momo-framework/ui-nuxt)՝
100
+ ներքևի պլագինի փոխարեն
62
101
 
63
102
  ## Արագ մեկնարկ
64
103
 
@@ -67,11 +106,15 @@ pnpm add @momo-framework/ui
67
106
  ```
68
107
 
69
108
  ```ts
70
- import MomoUI, { ru } from '@momo-framework/ui'
109
+ import MomoUI from '@momo-framework/ui'
71
110
  import { carbon } from '@momo-framework/themes'
72
111
  import '@momo-framework/ui/styles.css'
73
112
 
74
- app.use(MomoUI, { preset: carbon, theme: { primary: 'teal', surface: 'stone', density: 'compact' }, locale: 'ru' })
113
+ app.use(MomoUI, {
114
+ preset: carbon,
115
+ theme: { primary: 'teal', surface: 'stone', density: 'compact' },
116
+ locale: 'ru',
117
+ })
75
118
  ```
76
119
 
77
120
  ```vue
@@ -91,7 +134,7 @@ app.use(MomoUI, { preset: carbon, theme: { primary: 'teal', surface: 'stone', de
91
134
  />
92
135
  ```
93
136
 
94
- Unstyled, with any CSS framework:
137
+ Առանց ոճերի, ցանկացած CSS ֆրեյմվորքով՝
95
138
 
96
139
  ```ts
97
140
  app.use(MomoUI, {
@@ -102,42 +145,112 @@ app.use(MomoUI, {
102
145
  })
103
146
  ```
104
147
 
148
+ ## Կոմպոնենտներ
149
+
150
+ - **Գործողություններ.** `Button`, `ButtonGroup`, `ToggleButton`, `Menu`,
151
+ `SegmentedControl`, `CommandPalette`, `FullscreenButton`
152
+ - **Ձևեր.** `Field`, `Input`, `Textarea`, `PasswordInput`, `Select`,
153
+ `Combobox`, `TagsInput`, `Checkbox`, `RadioGroup`, `Switch`, `NumberInput`,
154
+ `Slider`, `PinInput`, `Rating`, `ColorPicker`, `FileUpload`
155
+ - **Ամսաթվեր և ժամ.** `Calendar`, `DatePicker`, `TimePicker`,
156
+ `TimeRangePicker`, `Clock`
157
+ - **Տվյալներ.** `DataTable`, `SelectionBar`, `Pagination`, `List`, `Tree`,
158
+ `DescriptionList`, `Timeline`, `Stat`, `Stepper`, `Tabs`, `Accordion`,
159
+ `Collapsible`
160
+ - **Հաղորդագրություններ.** `Message`, `MessageGroup`, `ConversationItem`,
161
+ `DateDivider`
162
+ - **Արձագանք.** `Alert`, `ToastViewport`, `ConfirmDialog`, `Progress`,
163
+ `Spinner`, `Skeleton`, `EmptyState`, `Badge`, `Tag`, `Kbd`, `QrCode`
164
+ - **Հավելվածի շրջանակ.** `AppShell`, `NavList`, `NavigationSwitcher`,
165
+ `Breadcrumbs`, `LocaleSwitcher`, `ThemeSwitcher`
166
+ - **Դասավորություն.** `Stack`, `Grid`, `Container`, `Split`, `Spacer`,
167
+ `Divider`, `AspectRatio`, `ScrollArea`, `VisuallyHidden`
168
+ - **Մակերեսներ և շերտեր.** `Card`, `Panel`, `Dialog`, `Popover`, `Tooltip`,
169
+ `Carousel`, `Avatar`, `Icon`
170
+ - **Կոնտեքստ.** `Defaults`, `ThemeScope`, `Motion`, `MotionGroup`
171
+
172
+ Յուրաքանչյուրի props-ը, սլոթերը և մասերը Storybook-ում են և ներքևի սքիլում։
173
+ Հեռախոսի դաշտը գտնվում է
174
+ [`@momo-framework/phone`](https://github.com/momo-framework/ui-phone)-ում։
175
+
176
+ ## Կարգավորում
177
+
178
+ `app.use(MomoUI, options)`-ի կարգավորումները՝
179
+
180
+ - **`preset`, `theme`.** `@momo-framework/themes`-ի պրեսեթը և դրա primary-ն,
181
+ surface-ը, խտությունը, ripple-ը և դաշտերի տարբերակը
182
+ - **`unstyled`, `pt`, `ptOptions`.** Առանց կիտի ոճերի, և pass-through ըստ
183
+ մասերի
184
+ - **`locale`, `i18n`.** Լեզուն, և vue-i18n օրինակ կամ `false`՝ ներկառուցված
185
+ թարգմանչի համար
186
+ - **`dir`.** `ltr` կամ `rtl`
187
+ - **`colorMode`.** Լուսավոր կամ մուգ սխեմայի արտաքին աղբյուր, օրինակ cookie
188
+ Nuxt-ում
189
+ - **`defaults`.** Props ըստ կոմպոնենտների, օրինակ
190
+ `{ Button: { variant: 'outline' } }`
191
+ - **`motion`.** Պրեսեթ յուրաքանչյուր օվերլեյի համար, կամ `false`՝ CSS
192
+ անցումների համար
193
+ - **`reset`.** `false`-ն անջատում է կիտի reset-ը `momo.reset` շերտում
194
+ - **`icons`.** Պատկերակների հավաքածուներ ներկառուցված 38 Lucide պատկերակներից
195
+ բացի, օրինակ `@iconify-json/lucide`։ `fallbackToApi: true`-ն անծանոթ անունը
196
+ բեռնում է Iconify API-ից, լռելյայն անջատված է
197
+ - **`prefix`, `components`.** Կոմպոնենտների նախածանցը, լռելյայն `M`, կամ
198
+ `false`՝ գլոբալ ոչինչ չգրանցելու համար
199
+
105
200
  ## Սքիլ ԱԲ գործակալների համար
106
201
 
107
- Փաթեթում կա սքիլ Claude Code-ի և այլ գործակալների համար, որոնք կարդում են `.claude/skills`. հավաքածուի կանոնները, դասավորությունն ու ձևերը, և ամեն բաղադրիչի համար ֆայլ՝ իր props-ով, իրադարձություններով, slot-երով, մասերով և տիպերով։
202
+ Փաթեթում կա սքիլ Claude Code-ի և այլ գործակալների համար, որոնք կարդում են
203
+ `.claude/skills`՝ կիտի կանոնները, դասավորության և ձևերի օրինաչափությունները,
204
+ և ֆայլ յուրաքանչյուր կոմպոնենտի համար՝ իր props-ով, իրադարձություններով,
205
+ սլոթերով, մասերով և տիպերով։
108
206
 
109
207
  ```bash
110
- pnpm exec momo-ui-skills
208
+ pnpm exec momo-ui-skills # copies the skill to .claude/skills/momo-ui
209
+ pnpm exec momo-ui-skills --list # prints the components inside
111
210
  ```
112
211
 
113
- Հրամանը սքիլը դնում է նախագծի `.claude/skills/momo-ui`։ Հավաքածուն թարմացնելուց հետո այն կրկին են գործարկում։ `--list`-ը տպում է բովանդակությունը։
114
-
115
- Բաղադրիչի ֆայլի տեղեկատու մասը հավաքվում է կոդից build-ի ժամանակ։ Նշումները գրվում են ձեռքով `skills/momo-ui/notes/<Name>.md`-ում, և թեստը ձախողվում է, եթե բաղադրիչը նշում չունի։
212
+ Կիտը թարմացնելուց հետո հրամանը կրկին են գործարկում։ Կոմպոնենտի ֆայլի
213
+ տեղեկատու մասը ստեղծվում է կոդից build-ի ժամանակ։ Նշումները գրվում են
214
+ ձեռքով `skills/momo-ui/notes/<Name>.md`-ում, և թեստը ձախողվում է, եթե
215
+ կոմպոնենտը նշում չունի։
116
216
 
117
217
  ## Մշակում
118
218
 
119
219
  ```bash
120
220
  pnpm install
221
+ pnpm exec playwright install chromium
121
222
  pnpm run lint
122
223
  pnpm run typecheck
224
+ pnpm run size
123
225
  pnpm run test
226
+ pnpm run visual
124
227
  pnpm run storybook
125
228
  pnpm run build
126
229
  ```
127
230
 
128
- `pnpm run test`-ը աշխատեցնում է unit թեստերը happy-dom-ում և յուրաքանչյուր պատմություն Chromium-ում axe ստուգումով (`@storybook/addon-vitest`, `@storybook/addon-a11y`) և ձախողվում է, եթե տողերի, ճյուղերի կամ ֆունկցիաների ծածկույթը 100%-ից ցածր է։ Բրաուզերը տեղադրվում է մեկ անգամ՝ `pnpm exec playwright install chromium`։
231
+ `pnpm run test`-ը աշխատեցնում է unit թեստերը happy-dom-ում և յուրաքանչյուր
232
+ պատմություն Chromium-ում axe-ով, հետո ձախողվում է, եթե տողերի, ճյուղերի
233
+ կամ ֆունկցիաների ծածկույթը 100%-ից ցածր է։ `pnpm run visual`-ը
234
+ համեմատում է `material`, `carbon` և `fluent` պրեսեթների 12 նկար՝ լուսավոր
235
+ և մութ սխեմայով, `test/visual/__screenshots__`-ի հետ։ CI-ը գործարկում է
236
+ `lint`, `typecheck`, `size`, `test` և `visual` յուրաքանչյուր pull request-ի
237
+ և `main`-ի push-ի ժամանակ։ Visual references workflow-ը CI-ում նորից է
238
+ նկարում էկրանները տեսքի պլանավորված փոփոխությունից հետո։
129
239
 
130
240
  ## Կարգավիճակ
131
241
 
132
- 0.5, աջակցվում է։ Հանրային API՝ պլագինը և դրա կարգավորումները, կոմպոնենտները իրենց props-ներով, սլոթերով և `pt` մասերով, `usePart`, `useDefaults`, `provideDefaults`, `useToast`, `useConfirm`, `useShell`, `useColorMode`, `useTheme`, `tokens`, `vRipple`, `useField`, `useFloating`, `useDismiss`, `useFocusTrap`, `useScrollLock`, `spaces`, `controlSizes`, `containerSizes` սանդղակները, լոկալները և `@momo-framework/motion`-ի API-ն։ Տեսքի որոշումները [DESIGN.md](DESIGN.md)-ում են։
242
+ 0.17, աջակցվում է։ Փոփոխություններն ըստ տարբերակների
243
+ [CHANGELOG.md](CHANGELOG.md)-ում են։ Հանրային API՝ պլագինը և դրա
244
+ կարգավորումները, կոմպոնենտները իրենց props-ով, սլոթերով և `pt` մասերով, և
245
+ `src/index.ts`-ի արտահանումները։ Տեսքի որոշումները [DESIGN.md](DESIGN.md)-ում
246
+ են։
133
247
 
134
248
  ## Լիցենզիա
135
249
 
136
250
  [AGPL-3.0-or-later](LICENSE).
137
-
138
251
  ---
139
252
 
140
253
  <div align="center">
141
254
  <sub>© 2024 - 2026 Anidzen Labs. Innovation through simplicity.</sub><br/>
142
- <sub>Built by <a href="https://anidzen.com">anidzen.com</a> and <a href="https://vahe-sargsyan.com/">w33bvGL</a></sub>
255
+ <sub>Built by <a href="https://vahe-sargsyan.com/">w33bvGL</a></sub>
143
256
  </div>
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
  </div>
17
17
 
18
18
  <div align="center">
19
- <b>Vue components of Momo UI for CRM and work interfaces.</b><br/>
19
+ <b>Vue components of Momo UI for web applications.</b><br/>
20
20
  Styled by the tokens of @momo-framework/themes, or unstyled with pass-through to any CSS.
21
21
  </div>
22
22
 
@@ -26,39 +26,73 @@
26
26
 
27
27
  ---
28
28
 
29
- ## Features
29
+ ## Table of contents
30
30
 
31
- - Two modes: styled, where `styles.css` draws every component from tokens, and `unstyled`, where the components keep behaviour, ARIA and keyboard and the app draws them
32
- - Pass-through on every part: `pt` takes attributes, a class string or a function of the state, globally in the plugin and per instance; classes and listeners merge
33
- - Every part carries `data-scope`, `data-part` and its state (`data-open`, `data-selected`, `data-invalid`), so CSS, tests and analytics read one source
34
- - Keyboard and ARIA by the WAI-ARIA patterns: combobox and listbox, menu, tabs, modal dialog with a focus trap that gives the focus back, switch, sortable table headers
35
- - Popups use fixed positioning with flipping, so a menu inside a table or a dialog is never cut by `overflow: hidden`
36
- - Texts of the components in English, Russian and Armenian as vue-i18n messages under `momo`: with vue-i18n in the app the kit speaks through it, without it a small built-in translator reads the same files
37
- - Runtime dependencies: Vue, the tokens and motion (GSAP, Lenis); tree-shakable ESM with types
38
- - Twenty three presets of `@momo-framework/themes` (`material` by default, `aura`, `lara`, `nora`, `fluent`, `carbon`, `ant`, `cupertino`, `primer`, `geist`, `polaris`, `spectrum`, `lightning`, `clarity`, `fiori`, `bootstrap`, `mantine`, `chakra`, `soft`, `paper`, `brutal`, `terminal`, `classic`) with primary, surface, density, ripple and filled fields chosen apart: `app.use(MomoUI, { preset: carbon, theme: { primary: 'teal' } })`
39
- - `useTheme()` switches the preset, the colours or any token at runtime, `ThemeScope` gives a part of the page its own preset, colours and scheme, `tokens('switch', {...})` overrides the tokens of one instance through `style`
40
- - Ripple from the pointer on buttons, menu items, options, tabs and navigation where the theme turns it on
41
- - RTL: logical properties everywhere, menus and tooltips mirror, side panels and the drawer come from the end, arrows turn, phones and numbers stay left to right; `dir: 'rtl'` in the plugin
42
- - Overlays animate on GSAP through `@momo-framework/motion`, a dependency of the kit: dialogs, menus, popovers, selects, tooltips and toasts each take a preset (`motion: { overlays: { dialog: 'zoom-in' } }`), `motion: false` returns to CSS transitions, `unstyled` turns animation off. The kit re-exports the whole motion API: `Motion`, `MotionGroup`, `v-reveal`, `useSmoothScroll` and the rest
43
- - A reset of its own in the layer `momo.reset` below everything else: `box-sizing`, no default margins, form controls inherit the font, media never overflow, `[hidden]` always hides, balanced headings, a focus ring from tokens, `interpolate-size`, reduced motion. It keeps outlines and clicks of disabled controls. `reset: false` turns it off
44
- - The scroll bar of the page and of `.m-scrollbar` from tokens in every engine, `.m-scrollbar-none` and `.m-scrollbar-stable`
45
- - Defaults on three levels: a prop, the nearest parent (`<Defaults :values="{ Button: { size: 'sm' } }">`, `ButtonGroup`) and the plugin (`defaults: { Button: { variant: 'outline' } }`), then the kit
46
- - Evenness held by tests: every control (button, field, select, number, segments, code cells) has one height per size, measured in Chromium; styles take lengths, durations, shadows and colours only from tokens, use logical properties only and stay inside the layers of the kit
47
- - Storybook at [momo-framework.github.io/ui](https://momo-framework.github.io/ui/): every component with a playground, its states and its parts, screens of a clinic CRM, a toolbar for preset, primary, surface, density, ripple, fields, scheme, direction and language, axe in the a11y panel, and a frame drawn from the tokens that switches between light and dark
31
+ - [Features](#features)
32
+ - [Why](#why)
33
+ - [Requirements](#requirements)
34
+ - [Quick start](#quick-start)
35
+ - [Components](#components)
36
+ - [Configuration](#configuration)
37
+ - [Skill for AI agents](#skill-for-ai-agents)
38
+ - [Development](#development)
39
+ - [Status](#status)
40
+ - [License](#license)
48
41
 
49
- ## Components
42
+ ---
50
43
 
51
- - **Actions.** `Button` (solid, soft, outline, ghost, link; six tones; loading keeps the width), `ButtonGroup`, `ToggleButton`, `Menu`, `SegmentedControl`
52
- - **Forms.** `Field` (label, hint and error wired to the control by id), `Input` with leading and trailing slots, `Textarea` with autosize, `PasswordInput` (show and hide, Caps Lock, strength and rules), `Select` (single, multiple, search, groups, descriptions, typeahead), `Combobox` that suggests from the server as you type, `Checkbox` with indeterminate and array models, `RadioGroup` with descriptions, `Switch`, `NumberInput` (a spinbutton that reads the locale), `Slider`, `PinInput` for one-time codes
53
- - **Data.** `DataTable` (local or server sort, row selection, sticky header, density, skeleton rows, cell slots, rows open by Enter), `SelectionBar` for bulk actions, `Pagination`, `Tabs` with counts, `DescriptionList`, `Timeline`, `Stat`, `Stepper`, `Accordion` and `Collapsible`
54
- - **Feedback.** `Alert`, `ToastViewport` with `useToast()`, `ConfirmDialog` with `useConfirm()`, `Progress`, `Spinner`, `Skeleton`, `EmptyState`, `Badge`, `Tag`, `QrCode`
55
- - **App frame.** `AppShell` (the navigation at the start, the end, the top or the bottom, chosen by the app or by the person with `NavigationSwitcher` and kept with `persist`; it flies to its new edge; a sidebar collapses to a Material 3 rail with labels or to icons only; `reveal` hides it until the pointer reaches its edge or while the page scrolls down), `NavList` (links of vue-router or Nuxt with their active state, badges, tooltips when collapsed), `Breadcrumbs`
56
- - **Layout.** `Stack`, `Grid` (columns by count, template or minimum width), `Container`, `Split`, `Spacer`, `AspectRatio`, `ScrollArea`, `VisuallyHidden`; gaps and paddings only from the space scale (`none`, `xxs` to `xxl`)
57
- - **Surfaces and overlays.** `Card` (media, actions, footer, outlined, elevated or filled), `Panel`, `Dialog` (centre, or a side panel with `position="end"`), `Tooltip`, `Avatar`
44
+ ## Features
45
+
46
+ - 88 components, registered as `M<Name>`: `MButton`, `MDataTable`, `MField`
47
+ - Styled mode draws every component from tokens through `styles.css`
48
+ - `unstyled: true` keeps behaviour, ARIA and keyboard, and the app draws the
49
+ look
50
+ - `pt` on every part takes attributes, a class string or a function of the
51
+ state, in the plugin and per instance
52
+ - Every part carries `data-scope`, `data-part` and its state, such as
53
+ `data-open` or `data-invalid`
54
+ - Keyboard and ARIA follow the WAI-ARIA patterns for listbox, menu, tabs,
55
+ dialog and switch
56
+ - A dialog traps the focus, makes the page behind it `inert` and gives the
57
+ focus back on close
58
+ - Dialogs, menus, popovers, tooltips and toasts open in the top layer of the
59
+ browser, above any `z-index` of the app
60
+ - `virtual` on `DataTable`, `Select`, `Tree` and `Combobox` draws only the
61
+ rows in view and 6 more on each side
62
+ - `Form` checks every `Field` before it sends and moves the focus to the
63
+ first error
64
+ - Popups use fixed positioning with flipping, so `overflow: hidden` of a table
65
+ does not cut a menu
66
+ - 23 presets of `@momo-framework/themes`, `material` by default
67
+ - `useTheme()` changes the preset, the colours or any token at runtime
68
+ - `ThemeScope` gives a part of the page its own preset and scheme
69
+ - Interface texts in English, Russian and Armenian, read through vue-i18n
70
+ when the app has it
71
+ - RTL with `dir: 'rtl'`: logical properties, mirrored menus, phones and
72
+ numbers stay left to right
73
+ - Overlays animate on GSAP through `@momo-framework/motion`, and the kit
74
+ re-exports its API
75
+ - Defaults on three levels: a prop, the nearest `<MDefaults>`, the plugin
76
+ - Every control has one height per size, measured in Chromium by the tests
77
+ - Storybook with every component at
78
+ [momo-framework.github.io/ui](https://momo-framework.github.io/ui/)
58
79
 
59
80
  ## Why
60
81
 
61
- A CRM lives in tables, forms and dialogs, and those are the hardest parts to get right: keyboard in a listbox, focus after a dialog closes, a menu clipped by a scrolling table, a loading button that jumps. Wrapping a general kit means fighting its styles for every client. Here behaviour and look are separate layers: behaviour and accessibility are the same for every app, the look is tokens or the app's own CSS through `pt`.
82
+ Most screens of an app are tables, forms and dialogs, in a CRM, an admin
83
+ panel, a booking page or a personal account alike, and those are the hardest
84
+ parts to get right: keyboard in a listbox, focus after a dialog closes, a menu clipped
85
+ by a scrolling table, a loading button that jumps. Wrapping a general kit
86
+ means fighting its styles for every client. Here behaviour and look are
87
+ separate layers. Behaviour and accessibility are the same in every app, the
88
+ look is tokens or the app's own CSS through `pt`.
89
+
90
+ ## Requirements
91
+
92
+ - Vue 3.5 or newer, the only peer dependency
93
+ - A bundler that reads ESM and CSS imports, such as Vite
94
+ - Nuxt apps install [`@momo-framework/nuxt`](https://github.com/momo-framework/ui-nuxt)
95
+ instead of the plugin below
62
96
 
63
97
  ## Quick start
64
98
 
@@ -67,11 +101,15 @@ pnpm add @momo-framework/ui
67
101
  ```
68
102
 
69
103
  ```ts
70
- import MomoUI, { ru } from '@momo-framework/ui'
104
+ import MomoUI from '@momo-framework/ui'
71
105
  import { carbon } from '@momo-framework/themes'
72
106
  import '@momo-framework/ui/styles.css'
73
107
 
74
- app.use(MomoUI, { preset: carbon, theme: { primary: 'teal', surface: 'stone', density: 'compact' }, locale: 'ru' })
108
+ app.use(MomoUI, {
109
+ preset: carbon,
110
+ theme: { primary: 'teal', surface: 'stone', density: 'compact' },
111
+ locale: 'ru',
112
+ })
75
113
  ```
76
114
 
77
115
  ```vue
@@ -102,34 +140,100 @@ app.use(MomoUI, {
102
140
  })
103
141
  ```
104
142
 
143
+ ## Components
144
+
145
+ - **Actions.** `Button`, `ButtonGroup`, `ToggleButton`, `Menu`,
146
+ `SegmentedControl`, `CommandPalette`, `FullscreenButton`
147
+ - **Forms.** `Field`, `Input`, `Textarea`, `PasswordInput`, `Select`,
148
+ `Combobox`, `TagsInput`, `Checkbox`, `RadioGroup`, `Switch`, `NumberInput`,
149
+ `Slider`, `PinInput`, `Rating`, `ColorPicker`, `FileUpload`
150
+ - **Dates and time.** `Calendar`, `DatePicker`, `TimePicker`,
151
+ `TimeRangePicker`, `Clock`
152
+ - **Data.** `DataTable`, `SelectionBar`, `Pagination`, `List`, `Tree`,
153
+ `DescriptionList`, `Timeline`, `Stat`, `Stepper`, `Tabs`, `Accordion`,
154
+ `Collapsible`
155
+ - **Messages.** `Message`, `MessageGroup`, `ConversationItem`, `DateDivider`
156
+ - **Feedback.** `Alert`, `ToastViewport`, `ConfirmDialog`, `Progress`,
157
+ `Spinner`, `Skeleton`, `EmptyState`, `Badge`, `Tag`, `Kbd`, `QrCode`
158
+ - **App frame.** `AppShell`, `NavList`, `NavigationSwitcher`, `Breadcrumbs`,
159
+ `LocaleSwitcher`, `ThemeSwitcher`
160
+ - **Layout.** `Stack`, `Grid`, `Container`, `Split`, `Spacer`, `Divider`,
161
+ `AspectRatio`, `ScrollArea`, `VisuallyHidden`
162
+ - **Surfaces and overlays.** `Card`, `Panel`, `Dialog`, `Popover`, `Tooltip`,
163
+ `Carousel`, `Avatar`, `Icon`
164
+ - **Context.** `Defaults`, `ThemeScope`, `Motion`, `MotionGroup`
165
+
166
+ Props, slots and parts of each one are in Storybook and in the skill below.
167
+ The phone input lives in
168
+ [`@momo-framework/phone`](https://github.com/momo-framework/ui-phone).
169
+
170
+ ## Configuration
171
+
172
+ Options of `app.use(MomoUI, options)`:
173
+
174
+ - **`preset`, `theme`.** The preset of `@momo-framework/themes` and its
175
+ primary, surface, density, ripple and field variant
176
+ - **`unstyled`, `pt`, `ptOptions`.** No kit styles, and the pass-through per
177
+ part
178
+ - **`locale`, `i18n`.** The language, and a vue-i18n instance or `false` for
179
+ the built-in translator
180
+ - **`dir`.** `ltr` or `rtl`
181
+ - **`colorMode`.** An outside source of the light or dark scheme, such as a
182
+ cookie in Nuxt
183
+ - **`defaults`.** Props per component, such as
184
+ `{ Button: { variant: 'outline' } }`
185
+ - **`motion`.** A preset per overlay, or `false` for CSS transitions
186
+ - **`reset`.** `false` turns off the kit reset in the layer `momo.reset`
187
+ - **`icons`.** Icon collections beyond the 38 built-in Lucide icons, such as
188
+ `@iconify-json/lucide`. `fallbackToApi: true` loads an unknown name from
189
+ the Iconify API, off by default
190
+ - **`prefix`, `components`.** The component prefix, `M` by default, or
191
+ `false` to register nothing globally
192
+
105
193
  ## Skill for AI agents
106
194
 
107
- The package ships a skill for Claude Code and other agents that read `.claude/skills`: the rules of the kit, the layout and form patterns, and a file per component with its props, events, slots, parts and types.
195
+ The package ships a skill for Claude Code and other agents that read
196
+ `.claude/skills`: the rules of the kit, the layout and form patterns, and a
197
+ file per component with its props, events, slots, parts and types.
108
198
 
109
199
  ```bash
110
- pnpm exec momo-ui-skills
200
+ pnpm exec momo-ui-skills # copies the skill to .claude/skills/momo-ui
201
+ pnpm exec momo-ui-skills --list # prints the components inside
111
202
  ```
112
203
 
113
- It copies the skill to `.claude/skills/momo-ui` of the project. Run it again after an update of the kit. `--list` prints what is inside.
114
-
115
- The reference part of each component file is generated from the code at build time. The notes are written by hand in `skills/momo-ui/notes/<Name>.md`, and a test fails when a component has no note.
204
+ Run it again after an update of the kit. The reference part of each
205
+ component file is generated from the code at build time. The notes are
206
+ written by hand in `skills/momo-ui/notes/<Name>.md`, and a test fails when a
207
+ component has no note.
116
208
 
117
209
  ## Development
118
210
 
119
211
  ```bash
120
212
  pnpm install
213
+ pnpm exec playwright install chromium
121
214
  pnpm run lint
122
215
  pnpm run typecheck
216
+ pnpm run size
123
217
  pnpm run test
218
+ pnpm run visual
124
219
  pnpm run storybook
125
220
  pnpm run build
126
221
  ```
127
222
 
128
- `pnpm run test` runs unit tests in happy-dom and every story in Chromium with axe (`@storybook/addon-vitest`, `@storybook/addon-a11y`), then fails below 100% coverage of lines, branches and functions. Install the browser once with `pnpm exec playwright install chromium`.
223
+ `pnpm run test` runs unit tests in happy-dom and every story in Chromium with
224
+ axe, then fails below 100% coverage of lines, branches and functions.
225
+ `pnpm run visual` compares 12 screenshots of `material`, `carbon` and
226
+ `fluent`, light and dark, with `test/visual/__screenshots__`. CI runs `lint`,
227
+ `typecheck`, `size`, `test` and `visual` on every pull request and push to
228
+ `main`. The workflow Visual references draws the screenshots again in CI
229
+ after a planned change of the look.
129
230
 
130
231
  ## Status
131
232
 
132
- 0.5, maintained. Public API: the plugin and its options, the components and their props, slots and `pt` parts, `usePart`, `useDefaults`, `provideDefaults`, `useToast`, `useConfirm`, `useShell`, `useColorMode`, `useTheme`, `tokens`, `vRipple`, `useField`, `useFloating`, `useDismiss`, `useFocusTrap`, `useScrollLock`, the scales `spaces`, `controlSizes`, `containerSizes`, locales and the API of `@momo-framework/motion`. Design decisions are in [DESIGN.md](DESIGN.md).
233
+ 0.17, maintained. Changes by version are in [CHANGELOG.md](CHANGELOG.md).
234
+ Public API: the plugin and
235
+ its options, the components with their props, slots and `pt` parts, and the
236
+ exports of `src/index.ts`. Design decisions are in [DESIGN.md](DESIGN.md).
133
237
 
134
238
  ## License
135
239
 
@@ -139,5 +243,5 @@ pnpm run build
139
243
 
140
244
  <div align="center">
141
245
  <sub>© 2024 - 2026 Anidzen Labs. Innovation through simplicity.</sub><br/>
142
- <sub>Built by <a href="https://anidzen.com">anidzen.com</a> and <a href="https://vahe-sargsyan.com/">w33bvGL</a></sub>
246
+ <sub>Built by <a href="https://vahe-sargsyan.com/">w33bvGL</a></sub>
143
247
  </div>