morya-ui 0.3.0 → 0.3.2

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 (309) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/dist/Button-dMqRmoYa.js +222 -0
  3. package/dist/{Card-Dsmnzong.js → Card-B1CB9Trm.js} +3 -5
  4. package/dist/Empty-C5tndBOm.js +147 -0
  5. package/dist/Icon-od9Ob-Ay.js +393 -0
  6. package/dist/Loading-BSsRs6v9.js +420 -0
  7. package/dist/Pagination-CqpC5EAs.js +166 -0
  8. package/dist/Select-CKGrSoaC.js +572 -0
  9. package/dist/Skeleton-DCYdXAH2.js +59 -0
  10. package/dist/accordion/style.css +20 -71
  11. package/dist/auto-complete/index.js +118 -120
  12. package/dist/auto-complete/style.css +24 -88
  13. package/dist/avatar/index.js +1 -1
  14. package/dist/avatar/style.css +10 -67
  15. package/dist/badge/style.css +10 -68
  16. package/dist/block-ui/style.css +10 -68
  17. package/dist/breadcrumb/style.css +10 -61
  18. package/dist/button/index.js +1 -1
  19. package/dist/button/style.css +72 -78
  20. package/dist/card/index.js +1 -1
  21. package/dist/card/style.css +30 -67
  22. package/dist/carousel/index.js +72 -64
  23. package/dist/carousel/style.css +36 -82
  24. package/dist/cascade-select/index.js +1 -1
  25. package/dist/cascade-select/style.css +24 -81
  26. package/dist/checkbox/style.css +10 -61
  27. package/dist/chip/index.js +1 -1
  28. package/dist/chip/style.css +10 -67
  29. package/dist/command-menu/index.js +37 -39
  30. package/dist/command-menu/style.css +10 -75
  31. package/dist/components/Accordion/styles.css +10 -10
  32. package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
  33. package/dist/components/AutoComplete/styles.css +0 -7
  34. package/dist/components/Badge/styles.css +0 -7
  35. package/dist/components/BlockUI/styles.css +0 -7
  36. package/dist/components/Button/Button.vue.d.ts +2 -0
  37. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  38. package/dist/components/Button/styles.css +62 -11
  39. package/dist/components/Button/types.d.ts +4 -0
  40. package/dist/components/Button/types.d.ts.map +1 -1
  41. package/dist/components/Card/Card.vue.d.ts +2 -2
  42. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  43. package/dist/components/Card/index.d.ts +1 -1
  44. package/dist/components/Card/index.d.ts.map +1 -1
  45. package/dist/components/Card/styles.css +20 -6
  46. package/dist/components/Card/types.d.ts +4 -2
  47. package/dist/components/Card/types.d.ts.map +1 -1
  48. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  49. package/dist/components/Carousel/styles.css +26 -15
  50. package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
  51. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +2 -2
  52. package/dist/components/DataView/DataView.vue.d.ts +7 -7
  53. package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
  54. package/dist/components/DataView/styles.css +0 -20
  55. package/dist/components/Dialog/styles.css +3 -46
  56. package/dist/components/Dock/styles.css +0 -10
  57. package/dist/components/Drawer/styles.css +2 -51
  58. package/dist/components/Dropdown/Dropdown.vue.d.ts +2 -2
  59. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  60. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +8 -9
  61. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  62. package/dist/components/Dropdown/styles.css +24 -5
  63. package/dist/components/Fieldset/styles.css +0 -7
  64. package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
  65. package/dist/components/FileUpload/fileUtils.d.ts +8 -0
  66. package/dist/components/FileUpload/fileUtils.d.ts.map +1 -0
  67. package/dist/components/Gallery/styles.css +0 -8
  68. package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
  69. package/dist/components/Icon/icon-categories.d.ts.map +1 -1
  70. package/dist/components/Icon/icons-types.d.ts +4 -2
  71. package/dist/components/Icon/icons-types.d.ts.map +1 -1
  72. package/dist/components/Icon/icons.d.ts +250 -561
  73. package/dist/components/Icon/icons.d.ts.map +1 -1
  74. package/dist/components/Icon/index.d.ts +2 -2
  75. package/dist/components/Icon/index.d.ts.map +1 -1
  76. package/dist/components/Icon/styles.css +0 -6
  77. package/dist/components/Knob/styles.css +0 -6
  78. package/dist/components/Layout/styles.css +5 -14
  79. package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
  80. package/dist/components/Loading/styles.css +0 -16
  81. package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
  82. package/dist/components/Menu/styles.css +6 -7
  83. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  84. package/dist/components/Menubar/styles.css +4 -0
  85. package/dist/components/Message/styles.css +0 -13
  86. package/dist/components/Page/PageContent.vue.d.ts +2 -1
  87. package/dist/components/Page/PageContent.vue.d.ts.map +1 -1
  88. package/dist/components/Page/PageFilterChips.vue.d.ts +16 -0
  89. package/dist/components/Page/PageFilterChips.vue.d.ts.map +1 -0
  90. package/dist/components/Page/PageFilters.vue.d.ts +15 -3
  91. package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
  92. package/dist/components/Page/PageHeader.vue.d.ts +8 -4
  93. package/dist/components/Page/PageHeader.vue.d.ts.map +1 -1
  94. package/dist/components/Page/PagePlaceholder.vue.d.ts +6 -2
  95. package/dist/components/Page/PagePlaceholder.vue.d.ts.map +1 -1
  96. package/dist/components/Page/PageSection.vue.d.ts +8 -2
  97. package/dist/components/Page/PageSection.vue.d.ts.map +1 -1
  98. package/dist/components/Page/PageStat.vue.d.ts +8 -3
  99. package/dist/components/Page/PageStat.vue.d.ts.map +1 -1
  100. package/dist/components/Page/index.d.ts +2 -1
  101. package/dist/components/Page/index.d.ts.map +1 -1
  102. package/dist/components/Page/styles.css +239 -44
  103. package/dist/components/Page/types.d.ts +40 -0
  104. package/dist/components/Page/types.d.ts.map +1 -1
  105. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  106. package/dist/components/Pagination/styles.css +7 -10
  107. package/dist/components/Pagination/types.d.ts +1 -1
  108. package/dist/components/Pagination/types.d.ts.map +1 -1
  109. package/dist/components/Panel/styles.css +0 -7
  110. package/dist/components/Popover/styles.css +20 -17
  111. package/dist/components/ProgressBar/styles.css +0 -9
  112. package/dist/components/ProgressSpinner/styles.css +0 -7
  113. package/dist/components/ScrollTop/styles.css +0 -7
  114. package/dist/components/Scrollbar/Scrollbar.vue.d.ts +1 -1
  115. package/dist/components/Scrollbar/styles.css +0 -8
  116. package/dist/components/Select/Select.vue.d.ts +10 -8
  117. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  118. package/dist/components/Select/selectOptions.d.ts +46 -0
  119. package/dist/components/Select/selectOptions.d.ts.map +1 -0
  120. package/dist/components/Select/styles.css +35 -8
  121. package/dist/components/Select/types.d.ts +11 -1
  122. package/dist/components/Select/types.d.ts.map +1 -1
  123. package/dist/components/Sidebar/styles.css +0 -6
  124. package/dist/components/Skeleton/styles.css +0 -6
  125. package/dist/components/Slider/styles.css +9 -0
  126. package/dist/components/SplitButton/styles.css +5 -0
  127. package/dist/components/Status/styles.css +0 -7
  128. package/dist/components/Switch/styles.css +0 -7
  129. package/dist/components/Table/Table.vue.d.ts +26 -26
  130. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  131. package/dist/components/Table/TableLoadingLine.vue.d.ts.map +1 -1
  132. package/dist/components/Table/hooks/useExpandableRow.d.ts.map +1 -1
  133. package/dist/components/Table/hooks/useTotalItems.d.ts.map +1 -1
  134. package/dist/components/Table/styles.css +61 -44
  135. package/dist/components/Table/tableQuery.d.ts +30 -0
  136. package/dist/components/Table/tableQuery.d.ts.map +1 -0
  137. package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
  138. package/dist/components/Tree/treeQuery.d.ts +31 -0
  139. package/dist/components/Tree/treeQuery.d.ts.map +1 -0
  140. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  141. package/dist/components/TreeSelect/styles.css +1 -1
  142. package/dist/config-provider/index.js +1 -1
  143. package/dist/config-provider/style.css +72 -72
  144. package/dist/confirm-dialog/index.js +2 -2
  145. package/dist/confirm-dialog/style.css +75 -124
  146. package/dist/confirm-popup/index.js +2 -2
  147. package/dist/confirm-popup/style.css +72 -78
  148. package/dist/context-menu/index.js +2 -2
  149. package/dist/context-menu/style.css +10 -75
  150. package/dist/data-view/index.js +47 -47
  151. package/dist/data-view/style.css +393 -174
  152. package/dist/data-view/style.js +1 -1
  153. package/dist/date-picker/index.js +1 -1
  154. package/dist/date-picker/style.css +10 -67
  155. package/dist/dialog/index.js +2 -2
  156. package/dist/dialog/style.css +75 -124
  157. package/dist/divider/style.css +10 -61
  158. package/dist/dock/index.js +2 -2
  159. package/dist/dock/style.css +10 -77
  160. package/dist/drawer/index.js +1 -1
  161. package/dist/drawer/style.css +12 -118
  162. package/dist/dropdown/index.js +110 -91
  163. package/dist/dropdown/style.css +34 -80
  164. package/dist/empty/index.js +5 -150
  165. package/dist/empty/style.css +10 -67
  166. package/dist/fieldset/index.js +1 -1
  167. package/dist/fieldset/style.css +10 -74
  168. package/dist/file-upload/index.js +148 -146
  169. package/dist/file-upload/style.css +10 -67
  170. package/dist/filterByQuery-Bczaxzih.js +17 -0
  171. package/dist/flex/style.css +10 -61
  172. package/dist/float-label/style.css +10 -61
  173. package/dist/fluid/style.css +10 -61
  174. package/dist/form/style.css +10 -61
  175. package/dist/gallery/index.js +1 -1
  176. package/dist/gallery/style.css +10 -83
  177. package/dist/grid/style.css +10 -61
  178. package/dist/icon/index.js +93 -39
  179. package/dist/icon/style.css +10 -67
  180. package/dist/icon-COrt_N8A.js +18 -0
  181. package/dist/icon-field/style.css +10 -61
  182. package/dist/index.d.ts +3 -2
  183. package/dist/index.d.ts.map +1 -1
  184. package/dist/index.js +5400 -5145
  185. package/dist/inplace/style.css +10 -61
  186. package/dist/input/index.js +1 -1
  187. package/dist/input/style.css +10 -67
  188. package/dist/input-color/style.css +10 -61
  189. package/dist/input-group/style.css +10 -61
  190. package/dist/input-number/index.js +1 -1
  191. package/dist/input-number/style.css +10 -67
  192. package/dist/input-otp/style.css +10 -61
  193. package/dist/input-password/index.js +1 -1
  194. package/dist/input-password/style.css +10 -67
  195. package/dist/input-tags/index.js +1 -1
  196. package/dist/input-tags/style.css +10 -67
  197. package/dist/knob/style.css +10 -67
  198. package/dist/label/style.css +10 -61
  199. package/dist/layout/index.js +1 -1
  200. package/dist/layout/style.css +15 -89
  201. package/dist/listbox/index.js +30 -32
  202. package/dist/listbox/style.css +10 -69
  203. package/dist/loading/index.js +32 -446
  204. package/dist/loading/style.css +10 -77
  205. package/dist/mega-menu/index.js +2 -2
  206. package/dist/mega-menu/style.css +10 -67
  207. package/dist/menu/index.js +265 -255
  208. package/dist/menu/style.css +36 -99
  209. package/dist/menubar/index.js +6 -3
  210. package/dist/menubar/style.css +14 -75
  211. package/dist/message/index.js +1 -1
  212. package/dist/message/style.css +10 -80
  213. package/dist/meter-group/style.css +10 -61
  214. package/dist/order-list/index.js +1 -1
  215. package/dist/order-list/style.css +10 -67
  216. package/dist/page/index.js +229 -70
  217. package/dist/page/style.css +1186 -113
  218. package/dist/page/style.js +3 -0
  219. package/dist/pagination/index.js +1 -1
  220. package/dist/pagination/style.css +210 -77
  221. package/dist/pagination/style.js +1 -0
  222. package/dist/panel/index.js +1 -1
  223. package/dist/panel/style.css +10 -74
  224. package/dist/pick-list/index.js +1 -1
  225. package/dist/pick-list/style.css +10 -67
  226. package/dist/popover/style.css +30 -78
  227. package/dist/progress-bar/style.css +10 -70
  228. package/dist/progress-spinner/index.js +105 -2
  229. package/dist/progress-spinner/style.css +10 -68
  230. package/dist/radio/style.css +10 -61
  231. package/dist/rating/index.js +1 -1
  232. package/dist/rating/style.css +10 -67
  233. package/dist/resolver-map.d.ts.map +1 -1
  234. package/dist/resolver.js +1 -0
  235. package/dist/result/index.js +1 -1
  236. package/dist/result/style.css +10 -67
  237. package/dist/scroll-top/index.js +1 -1
  238. package/dist/scroll-top/style.css +10 -82
  239. package/dist/scrollbar/style.css +10 -69
  240. package/dist/select/index.js +2 -478
  241. package/dist/select/style.css +59 -89
  242. package/dist/select-button/style.css +10 -61
  243. package/dist/shared/config.d.ts +2 -2
  244. package/dist/shared/filterByQuery.d.ts +14 -0
  245. package/dist/shared/filterByQuery.d.ts.map +1 -0
  246. package/dist/shared/menu/expand.d.ts +38 -0
  247. package/dist/shared/menu/expand.d.ts.map +1 -0
  248. package/dist/shared/menu/icon.d.ts.map +1 -1
  249. package/dist/shared/menu/index.d.ts +2 -0
  250. package/dist/shared/menu/index.d.ts.map +1 -1
  251. package/dist/shared/styles/select-overlay.css +14 -6
  252. package/dist/sidebar/index.js +2 -2
  253. package/dist/sidebar/style.css +10 -73
  254. package/dist/skeleton/index.js +2 -59
  255. package/dist/skeleton/style.css +10 -67
  256. package/dist/slider/style.css +19 -61
  257. package/dist/space/style.css +10 -61
  258. package/dist/speed-dial/index.js +2 -2
  259. package/dist/speed-dial/style.css +10 -67
  260. package/dist/split-button/index.js +1 -1
  261. package/dist/split-button/style.css +77 -78
  262. package/dist/splitter/style.css +10 -61
  263. package/dist/status/index.js +1 -1
  264. package/dist/status/style.css +10 -74
  265. package/dist/stepper/index.js +1 -1
  266. package/dist/stepper/style.css +10 -67
  267. package/dist/styles/base.css +5 -50
  268. package/dist/styles.css +1 -1
  269. package/dist/switch/style.css +10 -68
  270. package/dist/table/index.js +409 -373
  271. package/dist/table/style.css +457 -215
  272. package/dist/table/style.js +1 -1
  273. package/dist/tabs/index.js +1 -1
  274. package/dist/tabs/style.css +10 -75
  275. package/dist/tag/index.js +1 -1
  276. package/dist/tag/style.css +10 -67
  277. package/dist/terminal/style.css +10 -61
  278. package/dist/textarea/index.js +1 -1
  279. package/dist/textarea/style.css +10 -67
  280. package/dist/theme/styles.css +5 -11
  281. package/dist/theme/useMotion.d.ts +5 -1
  282. package/dist/theme/useMotion.d.ts.map +1 -1
  283. package/dist/tiered-menu/index.js +1 -1
  284. package/dist/tiered-menu/style.css +10 -75
  285. package/dist/timeline/index.js +1 -1
  286. package/dist/timeline/style.css +10 -75
  287. package/dist/toast/index.js +1 -1
  288. package/dist/toast/style.css +10 -67
  289. package/dist/toggle-button/index.js +2 -2
  290. package/dist/toggle-button/style.css +10 -67
  291. package/dist/toolbar/style.css +10 -61
  292. package/dist/tooltip/style.css +10 -61
  293. package/dist/tree/index.js +159 -173
  294. package/dist/tree/style.css +10 -67
  295. package/dist/tree-select/index.js +200 -213
  296. package/dist/tree-select/style.css +25 -82
  297. package/dist/tree-table/index.js +1 -1
  298. package/dist/tree-table/style.css +10 -67
  299. package/dist/treeQuery-CnHkyYOA.js +107 -0
  300. package/dist/virtual-scroller/style.css +10 -69
  301. package/package.json +1 -1
  302. package/dist/Button-B5X_R4Md.js +0 -156
  303. package/dist/Icon-lcN1rS87.js +0 -610
  304. package/dist/Pagination-CVrH8Ypi.js +0 -158
  305. package/dist/ProgressSpinner-BeWVF6Jv.js +0 -105
  306. package/dist/checkStrategy-CZzuUKDI.js +0 -63
  307. package/dist/components/Icon/icons-tabler.d.ts +0 -77
  308. package/dist/components/Icon/icons-tabler.d.ts.map +0 -1
  309. package/dist/icon-DWXkh-RM.js +0 -27
@@ -1,13 +1,13 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { a as t, t as n } from "../Icon-lcN1rS87.js";
2
+ import { a as t, t as n } from "../Icon-od9Ob-Ay.js";
3
3
  import { t as r } from "../useMenuKeyboard-BedmYE4W.js";
4
4
  import { t as i } from "../Checkbox-BzbAUfyZ.js";
5
- import { a, c as ee, n as o, o as s, s as c, t as l } from "../checkStrategy-CZzuUKDI.js";
6
- import { n as te } from "../locale-Bzm2nbEp.js";
5
+ import { a, c as ee, d as o, f as s, i as c, l, o as u, p as d, r as te, s as ne, t as f } from "../treeQuery-CnHkyYOA.js";
6
+ import { n as re } from "../locale-Bzm2nbEp.js";
7
7
  import "./style.js";
8
- import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, defineComponent as _, inject as v, mergeProps as y, nextTick as ne, normalizeClass as b, openBlock as x, provide as S, reactive as C, ref as w, renderList as T, renderSlot as re, resolveDynamicComponent as ie, toDisplayString as E, unref as D, useAttrs as O, useSlots as ae, watch as k, withModifiers as A } from "vue";
8
+ import { Fragment as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, defineComponent as b, inject as x, mergeProps as S, nextTick as C, normalizeClass as w, openBlock as T, provide as E, reactive as D, ref as O, renderList as ie, renderSlot as ae, resolveDynamicComponent as oe, toDisplayString as k, unref as A, useAttrs as se, useSlots as ce, watch as j, withModifiers as M } from "vue";
9
9
  //#region src/components/Tree/context.ts
10
- var j = Symbol("m-tree"), M = Symbol("m-tree-node-slot"), N = [
10
+ var le = Symbol("m-tree"), ue = Symbol("m-tree-node-slot"), N = [
11
11
  "aria-expanded",
12
12
  "aria-disabled",
13
13
  "aria-level",
@@ -23,101 +23,101 @@ var j = Symbol("m-tree"), M = Symbol("m-tree-node-slot"), N = [
23
23
  key: 3,
24
24
  class: "m-tree__icon",
25
25
  "aria-hidden": "true"
26
- }, R = ["disabled"], oe = {
26
+ }, R = ["disabled"], z = {
27
27
  key: 0,
28
28
  class: "m-tree__children",
29
29
  role: "group"
30
- }, se = /* @__PURE__ */ _({
30
+ }, B = /* @__PURE__ */ b({
31
31
  __name: "TreeNodeItem",
32
32
  props: {
33
33
  node: {},
34
34
  depth: { default: 1 }
35
35
  },
36
36
  setup(e) {
37
- let r = e, a = v(j), ee = v(M, void 0), o = te(), s = d(() => a.isExpanded(r.node.key)), c = d(() => a.isSelected(r.node.key)), l = d(() => a.isChecked(r.node.key)), _ = d(() => a.isIndeterminate(r.node.key)), y = d(() => a.isDisabled(r.node)), ne = d(() => a.isMatch(r.node)), S = d(() => !!a.loadingKeys[r.node.key]), C = d(() => a.hasChildren(r.node)), w = d(() => {
37
+ let r = e, a = x(le), ee = x(ue, void 0), o = re(), s = m(() => a.isExpanded(r.node.key)), c = m(() => a.isSelected(r.node.key)), l = m(() => a.isChecked(r.node.key)), u = m(() => a.isIndeterminate(r.node.key)), d = m(() => a.isDisabled(r.node)), te = m(() => a.isMatch(r.node)), ne = m(() => !!a.loadingKeys[r.node.key]), f = m(() => a.hasChildren(r.node)), b = m(() => {
38
38
  if (r.node.icon && t(r.node.icon)) return r.node.icon;
39
- }), re = d(() => r.node.children ?? a.loadedChildren[r.node.key] ?? []), O = d(() => ee?.({
39
+ }), S = m(() => r.node.children ?? a.loadedChildren[r.node.key] ?? []), C = m(() => ee?.({
40
40
  node: r.node,
41
41
  data: r.node
42
42
  }));
43
- return (t, r) => (x(), m("li", {
44
- class: b(["m-tree__node", { "m-tree__node--active": D(a).activeKey.value === e.node.key }]),
43
+ return (t, r) => (T(), _("li", {
44
+ class: w(["m-tree__node", { "m-tree__node--active": A(a).activeKey.value === e.node.key }]),
45
45
  role: "treeitem",
46
- "aria-expanded": C.value ? s.value : void 0,
47
- "aria-disabled": y.value || void 0,
46
+ "aria-expanded": f.value ? s.value : void 0,
47
+ "aria-disabled": d.value || void 0,
48
48
  "aria-level": e.depth,
49
49
  "aria-selected": c.value,
50
- "aria-checked": D(a).showCheckbox ? l.value : void 0,
51
- tabindex: D(a).tabindexForKey(e.node.key),
50
+ "aria-checked": A(a).showCheckbox ? l.value : void 0,
51
+ tabindex: A(a).tabindexForKey(e.node.key),
52
52
  "data-m-tree-key": e.node.key,
53
- onFocus: r[8] ||= (t) => D(a).setActiveKey(e.node.key)
54
- }, [h("div", {
55
- class: b(["m-tree__row", {
53
+ onFocus: r[8] ||= (t) => A(a).setActiveKey(e.node.key)
54
+ }, [v("div", {
55
+ class: w(["m-tree__row", {
56
56
  "m-tree__row--selected": c.value,
57
- "m-tree__row--disabled": y.value,
58
- "m-tree__row--matched": ne.value,
59
- "m-tree__row--indeterminate": _.value
57
+ "m-tree__row--disabled": d.value,
58
+ "m-tree__row--matched": te.value,
59
+ "m-tree__row--indeterminate": u.value
60
60
  }]),
61
- draggable: D(a).draggable && !y.value,
62
- onDragstart: r[4] ||= (t) => D(a).onDragStart(e.node, t),
63
- onDragover: r[5] ||= (t) => D(a).onDragOver(e.node, t),
64
- onDrop: r[6] ||= (t) => D(a).onDrop(e.node, t),
65
- onDragend: r[7] ||= (e) => D(a).onDragEnd()
61
+ draggable: A(a).draggable && !d.value,
62
+ onDragstart: r[4] ||= (t) => A(a).onDragStart(e.node, t),
63
+ onDragover: r[5] ||= (t) => A(a).onDragOver(e.node, t),
64
+ onDrop: r[6] ||= (t) => A(a).onDrop(e.node, t),
65
+ onDragend: r[7] ||= (e) => A(a).onDragEnd()
66
66
  }, [
67
- C.value ? (x(), m("button", {
67
+ f.value ? (T(), _("button", {
68
68
  key: 0,
69
69
  type: "button",
70
70
  class: "m-tree__toggler",
71
71
  tabindex: "-1",
72
- "aria-label": s.value ? D(o).collapse : D(o).expand,
73
- disabled: y.value,
74
- onClick: r[0] ||= (t) => D(a).toggleExpand(e.node)
75
- }, [S.value ? (x(), f(n, {
72
+ "aria-label": s.value ? A(o).collapse : A(o).expand,
73
+ disabled: d.value,
74
+ onClick: r[0] ||= (t) => A(a).toggleExpand(e.node)
75
+ }, [ne.value ? (T(), h(n, {
76
76
  key: 0,
77
77
  name: "loader",
78
78
  size: "sm"
79
- })) : (x(), f(n, {
79
+ })) : (T(), h(n, {
80
80
  key: 1,
81
81
  name: s.value ? "chevron-down" : "chevron-right",
82
82
  size: "sm"
83
- }, null, 8, ["name"]))], 8, F)) : (x(), m("span", I)),
84
- D(a).showCheckbox ? (x(), f(i, {
83
+ }, null, 8, ["name"]))], 8, F)) : (T(), _("span", I)),
84
+ A(a).showCheckbox ? (T(), h(i, {
85
85
  key: 2,
86
86
  class: "m-tree__checkbox",
87
87
  tabindex: "-1",
88
88
  "model-value": l.value,
89
- indeterminate: _.value,
90
- disabled: y.value,
91
- "onUpdate:modelValue": r[1] ||= (t) => D(a).toggleCheck(e.node),
92
- onClick: r[2] ||= A(() => {}, ["stop"])
89
+ indeterminate: u.value,
90
+ disabled: d.value,
91
+ "onUpdate:modelValue": r[1] ||= (t) => A(a).toggleCheck(e.node),
92
+ onClick: r[2] ||= M(() => {}, ["stop"])
93
93
  }, null, 8, [
94
94
  "model-value",
95
95
  "indeterminate",
96
96
  "disabled"
97
- ])) : p("", !0),
98
- w.value || e.node.icon ? (x(), m("span", L, [w.value ? (x(), f(n, {
97
+ ])) : g("", !0),
98
+ b.value || e.node.icon ? (T(), _("span", L, [b.value ? (T(), h(n, {
99
99
  key: 0,
100
- name: w.value,
100
+ name: b.value,
101
101
  size: "sm"
102
- }, null, 8, ["name"])) : (x(), m(u, { key: 1 }, [g(E(e.node.icon), 1)], 64))])) : p("", !0),
103
- h("button", {
102
+ }, null, 8, ["name"])) : (T(), _(p, { key: 1 }, [y(k(e.node.icon), 1)], 64))])) : g("", !0),
103
+ v("button", {
104
104
  type: "button",
105
105
  class: "m-tree__label",
106
106
  tabindex: "-1",
107
- disabled: y.value,
108
- onClick: r[3] ||= (t) => D(a).select(e.node)
109
- }, [O.value ? (x(), f(ie({ render: () => O.value }), { key: 0 })) : (x(), m(u, { key: 1 }, [g(E(e.node.label), 1)], 64))], 8, R)
110
- ], 42, P), C.value && s.value ? (x(), m("ul", oe, [(x(!0), m(u, null, T(re.value, (t) => (x(), f(se, {
107
+ disabled: d.value,
108
+ onClick: r[3] ||= (t) => A(a).select(e.node)
109
+ }, [C.value ? (T(), h(oe({ render: () => C.value }), { key: 0 })) : (T(), _(p, { key: 1 }, [y(k(e.node.label), 1)], 64))], 8, R)
110
+ ], 42, P), f.value && s.value ? (T(), _("ul", z, [(T(!0), _(p, null, ie(S.value, (t) => (T(), h(B, {
111
111
  key: t.key,
112
112
  node: t,
113
113
  depth: e.depth + 1
114
- }, null, 8, ["node", "depth"]))), 128))])) : p("", !0)], 42, N));
114
+ }, null, 8, ["node", "depth"]))), 128))])) : g("", !0)], 42, N));
115
115
  }
116
- }), ce = {
116
+ }), de = {
117
117
  key: 1,
118
118
  class: "m-tree__message",
119
119
  role: "status"
120
- }, le = { class: "m-tree__empty-text" }, z = /* @__PURE__ */ _({
120
+ }, fe = { class: "m-tree__empty-text" }, V = /* @__PURE__ */ b({
121
121
  inheritAttrs: !1,
122
122
  __name: "Tree",
123
123
  props: {
@@ -172,91 +172,77 @@ var j = Symbol("m-tree"), M = Symbol("m-tree-node-slot"), N = [
172
172
  "node-drop"
173
173
  ],
174
174
  setup(t, { emit: n }) {
175
- let i = t, p = n, g = O(), { rootAttrs: _ } = e(g, () => i.pt), v = ae(), b = te();
176
- S(M, v.default);
177
- let ie = d(() => i.emptyMessage ?? b.value.emptyMessage), A = w({}), N = C({}), P = C({}), F = C({}), I = C({}), L = w(null), R = w(null), oe = d(() => l(i.value)), z = d(() => i.checkStrategy ?? "all");
178
- k(() => [
175
+ let i = t, g = n, y = se(), { rootAttrs: b } = e(y, () => i.pt), x = ce(), w = re();
176
+ E(ue, x.default);
177
+ let oe = m(() => i.emptyMessage ?? w.value.emptyMessage), M = O({}), N = D({}), P = D({}), F = D({}), I = D({}), L = O(null), R = O(null), z = m(() => ne(i.value)), V = m(() => i.checkStrategy ?? "all");
178
+ j(() => [
179
179
  i.value,
180
180
  i.defaultExpandAll,
181
181
  i.expandedKeys
182
182
  ], () => {
183
183
  if (i.expandedKeys) {
184
- A.value = { ...i.expandedKeys };
184
+ M.value = { ...i.expandedKeys };
185
185
  return;
186
186
  }
187
- if (i.defaultExpandAll) {
188
- let e = {};
189
- ee(i.value, (t) => {
190
- t.children?.length && (e[t.key] = !0);
191
- }), A.value = e;
192
- }
193
- }, { immediate: !0 }), k(() => i.expandedKeys, (e) => {
194
- e && (A.value = { ...e });
187
+ i.defaultExpandAll && (M.value = f(i.value));
188
+ }, { immediate: !0 }), j(() => i.expandedKeys, (e) => {
189
+ e && (M.value = { ...e });
195
190
  });
196
- let B = d(() => i.selectionMode === "single" && i.modelValue ? { [i.modelValue]: !0 } : i.selectionKeys ?? {}), V = d(() => o(i.value, i.checkedKeys ?? {}, z.value, i.checkStrictly));
197
- function H(e, t) {
198
- return t.label.toLowerCase().includes(e.toLowerCase());
199
- }
200
- function U(e) {
201
- let t = i.filter?.trim();
202
- return !t || (i.filterNode ?? H)(t, e) ? !0 : (e.children ?? []).some((e) => U(e));
191
+ let H = m(() => i.selectionMode === "single" && i.modelValue ? { [i.modelValue]: !0 } : i.selectionKeys ?? {}), U = m(() => ee(i.value, i.checkedKeys ?? {}, V.value, i.checkStrictly)), W = m(() => i.filterNode ?? c);
192
+ function pe(e) {
193
+ return u(e, i.filter ?? "", W.value);
203
194
  }
204
- let W = d(() => i.filter?.trim() ? i.value.filter((e) => U(e)) : i.value), ue = d(() => !!i.filter?.trim() && W.value.length === 0);
205
- function G(e) {
195
+ let G = m(() => te(i.value, i.filter ?? "", W.value)), me = m(() => !!i.filter?.trim() && G.value.length === 0);
196
+ function K(e) {
206
197
  if (i.filter?.trim()) {
207
- let t = de(i.value, e);
208
- if (t && (t.children ?? []).some((e) => U(e))) return !0;
198
+ let t = l(i.value, e);
199
+ if (t && (t.children ?? []).some((e) => pe(e))) return !0;
209
200
  }
210
- return !!A.value[e];
201
+ return !!M.value[e];
211
202
  }
212
- function de(e, t) {
213
- for (let n of e) {
214
- if (n.key === t) return n;
215
- let e = de(n.children ?? [], t);
216
- if (e) return e;
217
- }
218
- return null;
219
- }
220
- function fe(e) {
221
- return !!B.value[e];
203
+ function he(e) {
204
+ return !!H.value[e];
222
205
  }
223
- function K(e) {
224
- return !!V.value[e];
206
+ function q(e) {
207
+ return !!U.value[e];
225
208
  }
226
- function pe(e) {
209
+ function ge(e) {
227
210
  if (i.checkStrictly || !i.showCheckbox) return !1;
228
- let t = oe.value.get(e) ?? [];
211
+ let t = z.value.get(e) ?? [];
229
212
  if (!t.length) return !1;
230
213
  let n = 0, r = !1;
231
- for (let e of t) K(e.key) && (n += 1), pe(e.key) && (r = !0);
214
+ for (let e of t) q(e.key) && (n += 1), ge(e.key) && (r = !0);
232
215
  return r ? !0 : n > 0 && n < t.length;
233
216
  }
234
- function q(e) {
217
+ function J(e) {
235
218
  return !!e.disabled;
236
219
  }
237
- function me(e) {
220
+ function _e(e) {
238
221
  return e.isLeaf ? !0 : i.lazy ? !e.children?.length && !P[e.key]?.length && !N[e.key] : !e.children?.length && !P[e.key]?.length;
239
222
  }
240
- function J(e) {
223
+ function Y(e) {
241
224
  return e.children?.length || P[e.key]?.length ? !0 : i.lazy && !e.isLeaf && !F[e.key];
242
225
  }
243
- function he(e) {
226
+ function ve(e) {
244
227
  return e.children ?? P[e.key] ?? [];
245
228
  }
246
- function ge(e) {
229
+ function ye(e) {
247
230
  let t = i.filter?.trim();
248
- return t ? (i.filterNode ?? H)(t, e) : !1;
231
+ return t ? W.value(t, e) : !1;
249
232
  }
250
- async function Y(e) {
251
- if (q(e)) return;
252
- let t = G(e.key), n = { ...A.value };
253
- if (t) delete n[e.key], p("node-collapse", e);
254
- else if (i.accordion && (n = {}), n[e.key] = !0, p("node-expand", e), i.lazy && i.load && !e.children?.length && !F[e.key] && !e.isLeaf) {
233
+ async function X(e) {
234
+ if (J(e)) return;
235
+ let t = K(e.key), n = a(M.value, e.key, {
236
+ open: t,
237
+ accordion: i.accordion
238
+ });
239
+ if (t) g("node-collapse", e);
240
+ else if (g("node-expand", e), i.lazy && i.load && !e.children?.length && !F[e.key] && !e.isLeaf) {
255
241
  N[e.key] = !0, delete I[e.key];
256
242
  try {
257
243
  P[e.key] = await i.load(e), F[e.key] = !0;
258
244
  } catch (t) {
259
- I[e.key] = !0, delete n[e.key], p("node-load-error", {
245
+ I[e.key] = !0, n = { ...n }, delete n[e.key], g("node-load-error", {
260
246
  node: e,
261
247
  error: t
262
248
  });
@@ -264,82 +250,82 @@ var j = Symbol("m-tree"), M = Symbol("m-tree-node-slot"), N = [
264
250
  N[e.key] = !1;
265
251
  }
266
252
  }
267
- A.value = n, p("update:expandedKeys", n);
253
+ M.value = n, g("update:expandedKeys", n);
268
254
  }
269
- function _e(e) {
270
- if (q(e)) return;
255
+ function be(e) {
256
+ if (J(e)) return;
271
257
  if (i.selectionMode === "single") {
272
- let t = fe(e.key) ? null : e.key;
273
- p("update:modelValue", t), p("update:selectionKeys", t ? { [t]: !0 } : {}), p(t ? "node-select" : "node-unselect", e);
258
+ let t = he(e.key) ? null : e.key;
259
+ g("update:modelValue", t), g("update:selectionKeys", t ? { [t]: !0 } : {}), g(t ? "node-select" : "node-unselect", e);
274
260
  return;
275
261
  }
276
- let t = { ...B.value };
277
- t[e.key] ? (delete t[e.key], p("node-unselect", e)) : (t[e.key] = !0, p("node-select", e)), p("update:selectionKeys", t);
262
+ let t = { ...H.value };
263
+ t[e.key] ? (delete t[e.key], g("node-unselect", e)) : (t[e.key] = !0, g("node-select", e)), g("update:selectionKeys", t);
278
264
  }
279
- function ve(e) {
280
- if (q(e)) return;
281
- let t = { ...V.value }, n = !K(e.key);
282
- i.checkStrictly ? n ? t[e.key] = !0 : delete t[e.key] : (s(e, n, t), c(i.value, t));
283
- let r = a(i.value, t, z.value, i.checkStrictly);
284
- p("update:checkedKeys", r), p("check", {
265
+ function xe(e) {
266
+ if (J(e)) return;
267
+ let t = { ...U.value }, n = !q(e.key);
268
+ i.checkStrictly ? n ? t[e.key] = !0 : delete t[e.key] : (s(e, n, t), d(i.value, t));
269
+ let r = o(i.value, t, V.value, i.checkStrictly);
270
+ g("update:checkedKeys", r), g("check", {
285
271
  node: e,
286
272
  checkedKeys: r
287
273
  });
288
274
  }
289
- function ye(e, t) {
290
- if (!i.draggable || q(e)) {
275
+ function Se(e, t) {
276
+ if (!i.draggable || J(e)) {
291
277
  t.preventDefault();
292
278
  return;
293
279
  }
294
280
  L.value = e.key, t.dataTransfer?.setData("text/plain", e.key), t.dataTransfer.effectAllowed = "move";
295
281
  }
296
- function be(e, t) {
282
+ function Ce(e, t) {
297
283
  !i.draggable || !L.value || L.value === e.key || (t.preventDefault(), t.dataTransfer.dropEffect = "move");
298
284
  }
299
- function xe(e, t) {
285
+ function we(e, t) {
300
286
  if (!i.draggable || !L.value || L.value === e.key) return;
301
287
  t.preventDefault();
302
288
  let n = t.currentTarget.getBoundingClientRect(), r = t.clientY - n.top, a = "inside";
303
- r < n.height * .25 ? a = "before" : r > n.height * .75 && (a = "after"), p("node-drop", {
289
+ r < n.height * .25 ? a = "before" : r > n.height * .75 && (a = "after"), g("node-drop", {
304
290
  dragKey: L.value,
305
291
  dropKey: e.key,
306
292
  position: a
307
293
  }), L.value = null;
308
294
  }
309
- function Se() {
295
+ function Te() {
310
296
  L.value = null;
311
297
  }
312
- let X = d(() => {
298
+ let Z = m(() => {
313
299
  let e = [], t = (n, r) => {
314
300
  for (let i of n) e.push({
315
301
  node: i,
316
302
  parentKey: r
317
- }), G(i.key) && t(he(i), i.key);
303
+ }), K(i.key) && t(ve(i), i.key);
318
304
  };
319
- return t(W.value, null), e;
320
- }), Z = r({
321
- itemCount: () => X.value.length,
322
- isItemDisabled: (e) => !!X.value[e]?.node.disabled,
305
+ return t(G.value, null), e;
306
+ }), Q = r({
307
+ itemCount: () => Z.value.length,
308
+ isItemDisabled: (e) => !!Z.value[e]?.node.disabled,
323
309
  onActivate: (e, t) => {
324
- let n = X.value[e];
325
- n && (t.key === " " && i.showCheckbox ? ve(n.node) : _e(n.node));
310
+ let n = Z.value[e];
311
+ n && (t.key === " " && i.showCheckbox ? xe(n.node) : be(n.node));
326
312
  }
327
- }), Q = d(() => X.value[Z.activeIndex.value]?.node.key ?? null);
328
- function Ce(e) {
329
- if (Q.value === e) return 0;
330
- if (Z.activeIndex.value < 0) {
331
- let t = X.value.findIndex((e) => !e.node.disabled);
332
- if (t >= 0 && X.value[t].node.key === e) return 0;
313
+ }), $ = m(() => Z.value[Q.activeIndex.value]?.node.key ?? null);
314
+ function Ee(e) {
315
+ if ($.value === e) return 0;
316
+ if (Q.activeIndex.value < 0) {
317
+ let t = Z.value.findIndex((e) => !e.node.disabled);
318
+ if (t >= 0 && Z.value[t].node.key === e) return 0;
333
319
  }
334
320
  return -1;
335
321
  }
336
- function we(e) {
337
- let t = X.value.findIndex((t) => t.node.key === e);
338
- t >= 0 && Z.setActive(t);
322
+ function De(e) {
323
+ let t = Z.value.findIndex((t) => t.node.key === e);
324
+ t >= 0 && Q.setActive(t);
339
325
  }
340
- k(Z.activeIndex, () => {
341
- ne(() => {
342
- let e = Q.value;
326
+ j(Q.activeIndex, () => {
327
+ C(() => {
328
+ let e = $.value;
343
329
  if (e == null || !R.value) return;
344
330
  let t = R.value.querySelectorAll("[data-m-tree-key]");
345
331
  for (let n of t) if (n.dataset.mTreeKey === e) {
@@ -348,33 +334,33 @@ var j = Symbol("m-tree"), M = Symbol("m-tree-node-slot"), N = [
348
334
  }
349
335
  });
350
336
  });
351
- function $(e) {
352
- let t = Z.activeIndex.value, n = X.value[t];
337
+ function Oe(e) {
338
+ let t = Q.activeIndex.value, n = Z.value[t];
353
339
  if (e.key === "ArrowRight") {
354
340
  if (e.preventDefault(), !n) return;
355
- J(n.node) && (G(n.node.key) ? Z.setActive(t + 1) : Y(n.node));
341
+ Y(n.node) && (K(n.node.key) ? Q.setActive(t + 1) : X(n.node));
356
342
  return;
357
343
  }
358
344
  if (e.key === "ArrowLeft") {
359
345
  if (e.preventDefault(), !n) return;
360
- if (J(n.node) && G(n.node.key)) Y(n.node);
346
+ if (Y(n.node) && K(n.node.key)) X(n.node);
361
347
  else if (n.parentKey != null) {
362
- let e = X.value.findIndex((e) => e.node.key === n.parentKey);
363
- e >= 0 && Z.setActive(e);
348
+ let e = Z.value.findIndex((e) => e.node.key === n.parentKey);
349
+ e >= 0 && Q.setActive(e);
364
350
  }
365
351
  return;
366
352
  }
367
- Z.onKeydown(e);
353
+ Q.onKeydown(e);
368
354
  }
369
- return S(j, {
370
- isExpanded: G,
371
- isSelected: fe,
372
- isChecked: K,
373
- isIndeterminate: pe,
374
- isDisabled: q,
375
- isLeaf: me,
376
- hasChildren: J,
377
- isMatch: ge,
355
+ return E(le, {
356
+ isExpanded: K,
357
+ isSelected: he,
358
+ isChecked: q,
359
+ isIndeterminate: ge,
360
+ isDisabled: J,
361
+ isLeaf: _e,
362
+ hasChildren: Y,
363
+ isMatch: ye,
378
364
  get showCheckbox() {
379
365
  return i.showCheckbox;
380
366
  },
@@ -388,36 +374,36 @@ var j = Symbol("m-tree"), M = Symbol("m-tree-node-slot"), N = [
388
374
  loadedChildren: P,
389
375
  loadedKeys: F,
390
376
  loadFailedKeys: I,
391
- activeKey: Q,
392
- tabindexForKey: Ce,
393
- setActiveKey: we,
394
- toggleExpand: Y,
395
- select: _e,
396
- toggleCheck: ve,
397
- onDragStart: ye,
398
- onDragOver: be,
399
- onDrop: xe,
400
- onDragEnd: Se
401
- }), (e, t) => (x(), m("div", y(D(_), { class: "m-tree-root" }), [W.value.length ? (x(), m("ul", {
377
+ activeKey: $,
378
+ tabindexForKey: Ee,
379
+ setActiveKey: De,
380
+ toggleExpand: X,
381
+ select: be,
382
+ toggleCheck: xe,
383
+ onDragStart: Se,
384
+ onDragOver: Ce,
385
+ onDrop: we,
386
+ onDragEnd: Te
387
+ }), (e, t) => (T(), _("div", S(A(b), { class: "m-tree-root" }), [G.value.length ? (T(), _("ul", {
402
388
  key: 0,
403
389
  ref_key: "root",
404
390
  ref: R,
405
391
  class: "m-tree",
406
392
  role: "tree",
407
- onKeydown: $
408
- }, [(x(!0), m(u, null, T(W.value, (e) => (x(), f(se, {
393
+ onKeydown: Oe
394
+ }, [(T(!0), _(p, null, ie(G.value, (e) => (T(), h(B, {
409
395
  key: e.key,
410
396
  node: e,
411
397
  depth: 1
412
- }, null, 8, ["node"]))), 128))], 544)) : ue.value ? (x(), m("div", ce, [re(e.$slots, "empty", {}, () => [h("p", le, E(ie.value), 1)])])) : (x(), m("ul", {
398
+ }, null, 8, ["node"]))), 128))], 544)) : me.value ? (T(), _("div", de, [ae(e.$slots, "empty", {}, () => [v("p", fe, k(oe.value), 1)])])) : (T(), _("ul", {
413
399
  key: 2,
414
400
  ref_key: "root",
415
401
  ref: R,
416
402
  class: "m-tree",
417
403
  role: "tree",
418
- onKeydown: $
404
+ onKeydown: Oe
419
405
  }, null, 544))], 16));
420
406
  }
421
407
  });
422
408
  //#endregion
423
- export { z as MTree };
409
+ export { V as MTree };
@@ -50,6 +50,10 @@
50
50
  --m-font-size-sm: 0.8125rem;
51
51
  --m-font-size-md: 0.875rem;
52
52
  --m-font-size-lg: 1.125rem;
53
+ /* Display scale (page titles, KPI figures) */
54
+ --m-font-size-xl: 1.25rem;
55
+ --m-font-size-2xl: 1.5rem;
56
+ --m-font-size-3xl: 1.75rem;
53
57
  --m-opacity-disabled: 0.55;
54
58
  /* Layering: override --m-z-base via ConfigProvider / createMoryaUI */
55
59
  --m-z-base: 1000;
@@ -192,20 +196,10 @@
192
196
 
193
197
  /*
194
198
  * Global motion policy (complements per-component rules):
195
- * - `reduced` / OS prefers-reduced-motion: keep short paint transitions; stop loops
199
+ * - `reduced`: keep short paint transitions; stop loops
196
200
  * and layout/transform size animation.
197
201
  * - `none`: zero all transition/animation durations.
198
202
  */
199
- @media (prefers-reduced-motion: reduce) {
200
- html:not([data-m-ignore-reduced-motion]) *,
201
- html:not([data-m-ignore-reduced-motion]) *::before,
202
- html:not([data-m-ignore-reduced-motion]) *::after {
203
- animation-duration: 0.01ms !important;
204
- animation-iteration-count: 1 !important;
205
- transition-property: background-color, border-color, color, opacity, box-shadow,
206
- outline, fill, stroke, stroke-dashoffset !important;
207
- }
208
- }
209
203
 
210
204
  [data-m-motion="reduced"] *,
211
205
  [data-m-motion="reduced"] *::before,
@@ -529,9 +523,13 @@
529
523
  border-radius: var(--m-radius-md);
530
524
  box-shadow: var(--m-shadow-md);
531
525
  max-height: var(--m-dropdown-submenu-max-height);
526
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
527
  min-width: 10rem;
533
528
  overflow: hidden;
534
529
  padding: var(--m-space-1);
530
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
531
+ by the space left of the anchor in the viewport. */
532
+ width: max-content;
535
533
  }
536
534
 
537
535
  .m-dropdown__submenu--teleported {
@@ -611,7 +609,7 @@
611
609
  .m-zoom-enter-from,
612
610
  .m-zoom-leave-to {
613
611
  opacity: 0;
614
- transform: scale(0.9);
612
+ transform: scale(0.95);
615
613
  }
616
614
 
617
615
  .m-slide-up-enter-active,
@@ -656,44 +654,6 @@
656
654
  transform: translateX(calc(var(--m-motion-distance) * -1));
657
655
  }
658
656
 
659
- @media (prefers-reduced-motion: reduce) {
660
- html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
661
- html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
662
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
663
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
664
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
665
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
666
- html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
667
- html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
668
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
669
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
670
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
671
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
672
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
673
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
674
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
675
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
676
- transition: none;
677
- }
678
-
679
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
680
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
681
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
682
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
683
- html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
684
- html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
685
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
686
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
687
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
688
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
689
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
690
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
691
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
692
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
693
- transform: none;
694
- }
695
- }
696
-
697
657
  [data-m-motion="reduced"] .m-fade-enter-active,
698
658
  [data-m-motion="reduced"] .m-fade-leave-active,
699
659
  [data-m-motion="reduced"] .m-scale-fade-enter-active,
@@ -1188,17 +1148,6 @@
1188
1148
  animation: none !important;
1189
1149
  }
1190
1150
 
1191
- @media (prefers-reduced-motion: reduce) {
1192
- html:not([data-m-ignore-reduced-motion]) *,
1193
- html:not([data-m-ignore-reduced-motion]) *::before,
1194
- html:not([data-m-ignore-reduced-motion]) *::after {
1195
- animation-duration: 0.01ms !important;
1196
- animation-iteration-count: 1 !important;
1197
- scroll-behavior: auto !important;
1198
- transition-duration: 0.01ms !important;
1199
- }
1200
- }
1201
-
1202
1151
  .m-checkbox__control {
1203
1152
  border-radius: var(--m-radius-sm);
1204
1153
  }
@@ -1271,12 +1220,6 @@
1271
1220
  }
1272
1221
  }
1273
1222
 
1274
- @media (prefers-reduced-motion: reduce) {
1275
- html:not([data-m-ignore-reduced-motion]) .m-icon--spin svg {
1276
- animation: none;
1277
- }
1278
- }
1279
-
1280
1223
  :root[data-m-motion='none'] .m-icon--spin svg,
1281
1224
  :root[data-m-motion='reduced'] .m-icon--spin svg {
1282
1225
  animation: none;