morya-ui 0.3.1 → 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 (228) hide show
  1. package/CHANGELOG.md +32 -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/Pagination-CqpC5EAs.js +166 -0
  6. package/dist/Select-CKGrSoaC.js +572 -0
  7. package/dist/Skeleton-DCYdXAH2.js +59 -0
  8. package/dist/accordion/style.css +16 -71
  9. package/dist/auto-complete/index.js +117 -119
  10. package/dist/auto-complete/style.css +6 -82
  11. package/dist/avatar/style.css +6 -67
  12. package/dist/badge/style.css +6 -68
  13. package/dist/block-ui/style.css +6 -68
  14. package/dist/breadcrumb/style.css +6 -61
  15. package/dist/button/index.js +1 -1
  16. package/dist/button/style.css +68 -78
  17. package/dist/card/index.js +1 -1
  18. package/dist/card/style.css +26 -67
  19. package/dist/carousel/style.css +6 -73
  20. package/dist/cascade-select/style.css +6 -75
  21. package/dist/checkbox/style.css +6 -61
  22. package/dist/chip/style.css +6 -67
  23. package/dist/command-menu/index.js +36 -38
  24. package/dist/command-menu/style.css +6 -75
  25. package/dist/components/Accordion/styles.css +10 -10
  26. package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
  27. package/dist/components/AutoComplete/styles.css +0 -7
  28. package/dist/components/Badge/styles.css +0 -7
  29. package/dist/components/BlockUI/styles.css +0 -7
  30. package/dist/components/Button/Button.vue.d.ts +2 -0
  31. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  32. package/dist/components/Button/styles.css +62 -11
  33. package/dist/components/Button/types.d.ts +4 -0
  34. package/dist/components/Button/types.d.ts.map +1 -1
  35. package/dist/components/Card/Card.vue.d.ts +2 -2
  36. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  37. package/dist/components/Card/index.d.ts +1 -1
  38. package/dist/components/Card/index.d.ts.map +1 -1
  39. package/dist/components/Card/styles.css +20 -6
  40. package/dist/components/Card/types.d.ts +4 -2
  41. package/dist/components/Card/types.d.ts.map +1 -1
  42. package/dist/components/Carousel/styles.css +0 -6
  43. package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
  44. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +2 -2
  45. package/dist/components/Dialog/styles.css +3 -46
  46. package/dist/components/Dock/styles.css +0 -10
  47. package/dist/components/Drawer/styles.css +2 -51
  48. package/dist/components/Fieldset/styles.css +0 -7
  49. package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
  50. package/dist/components/FileUpload/fileUtils.d.ts +8 -0
  51. package/dist/components/FileUpload/fileUtils.d.ts.map +1 -0
  52. package/dist/components/Gallery/styles.css +0 -8
  53. package/dist/components/Icon/styles.css +0 -6
  54. package/dist/components/Knob/styles.css +0 -6
  55. package/dist/components/Layout/styles.css +0 -12
  56. package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
  57. package/dist/components/Loading/styles.css +0 -16
  58. package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
  59. package/dist/components/Menu/styles.css +0 -7
  60. package/dist/components/Message/styles.css +0 -13
  61. package/dist/components/Page/PageContent.vue.d.ts +2 -1
  62. package/dist/components/Page/PageContent.vue.d.ts.map +1 -1
  63. package/dist/components/Page/PageFilterChips.vue.d.ts +16 -0
  64. package/dist/components/Page/PageFilterChips.vue.d.ts.map +1 -0
  65. package/dist/components/Page/PageFilters.vue.d.ts +15 -3
  66. package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
  67. package/dist/components/Page/PageHeader.vue.d.ts +8 -4
  68. package/dist/components/Page/PageHeader.vue.d.ts.map +1 -1
  69. package/dist/components/Page/PagePlaceholder.vue.d.ts +6 -2
  70. package/dist/components/Page/PagePlaceholder.vue.d.ts.map +1 -1
  71. package/dist/components/Page/PageSection.vue.d.ts +8 -2
  72. package/dist/components/Page/PageSection.vue.d.ts.map +1 -1
  73. package/dist/components/Page/PageStat.vue.d.ts +8 -3
  74. package/dist/components/Page/PageStat.vue.d.ts.map +1 -1
  75. package/dist/components/Page/index.d.ts +2 -1
  76. package/dist/components/Page/index.d.ts.map +1 -1
  77. package/dist/components/Page/styles.css +239 -44
  78. package/dist/components/Page/types.d.ts +40 -0
  79. package/dist/components/Page/types.d.ts.map +1 -1
  80. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  81. package/dist/components/Pagination/styles.css +7 -10
  82. package/dist/components/Pagination/types.d.ts +1 -1
  83. package/dist/components/Pagination/types.d.ts.map +1 -1
  84. package/dist/components/Panel/styles.css +0 -7
  85. package/dist/components/Popover/styles.css +20 -17
  86. package/dist/components/ProgressBar/styles.css +0 -9
  87. package/dist/components/ProgressSpinner/styles.css +0 -7
  88. package/dist/components/ScrollTop/styles.css +0 -7
  89. package/dist/components/Scrollbar/styles.css +0 -8
  90. package/dist/components/Select/Select.vue.d.ts +1 -3
  91. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  92. package/dist/components/Select/selectOptions.d.ts +46 -0
  93. package/dist/components/Select/selectOptions.d.ts.map +1 -0
  94. package/dist/components/Select/styles.css +5 -7
  95. package/dist/components/Sidebar/styles.css +0 -6
  96. package/dist/components/Skeleton/styles.css +0 -6
  97. package/dist/components/Status/styles.css +0 -7
  98. package/dist/components/Switch/styles.css +0 -7
  99. package/dist/components/Table/hooks/useExpandableRow.d.ts.map +1 -1
  100. package/dist/components/Table/hooks/useTotalItems.d.ts.map +1 -1
  101. package/dist/components/Table/styles.css +7 -10
  102. package/dist/components/Table/tableQuery.d.ts +30 -0
  103. package/dist/components/Table/tableQuery.d.ts.map +1 -0
  104. package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
  105. package/dist/components/Tree/treeQuery.d.ts +31 -0
  106. package/dist/components/Tree/treeQuery.d.ts.map +1 -0
  107. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  108. package/dist/config-provider/index.js +1 -1
  109. package/dist/config-provider/style.css +68 -72
  110. package/dist/confirm-dialog/index.js +1 -1
  111. package/dist/confirm-dialog/style.css +71 -124
  112. package/dist/confirm-popup/index.js +1 -1
  113. package/dist/confirm-popup/style.css +68 -78
  114. package/dist/context-menu/style.css +6 -75
  115. package/dist/data-view/index.js +1 -1
  116. package/dist/data-view/style.css +13 -87
  117. package/dist/date-picker/style.css +6 -67
  118. package/dist/dialog/index.js +1 -1
  119. package/dist/dialog/style.css +71 -124
  120. package/dist/divider/style.css +6 -61
  121. package/dist/dock/style.css +6 -77
  122. package/dist/drawer/style.css +8 -118
  123. package/dist/dropdown/style.css +6 -75
  124. package/dist/empty/index.js +5 -150
  125. package/dist/empty/style.css +6 -67
  126. package/dist/fieldset/style.css +6 -74
  127. package/dist/file-upload/index.js +147 -145
  128. package/dist/file-upload/style.css +6 -67
  129. package/dist/filterByQuery-Bczaxzih.js +17 -0
  130. package/dist/flex/style.css +6 -61
  131. package/dist/float-label/style.css +6 -61
  132. package/dist/fluid/style.css +6 -61
  133. package/dist/form/style.css +6 -61
  134. package/dist/gallery/style.css +6 -83
  135. package/dist/grid/style.css +6 -61
  136. package/dist/icon/style.css +6 -67
  137. package/dist/icon-field/style.css +6 -61
  138. package/dist/index.d.ts +3 -2
  139. package/dist/index.d.ts.map +1 -1
  140. package/dist/index.js +9017 -8694
  141. package/dist/inplace/style.css +6 -61
  142. package/dist/input/style.css +6 -67
  143. package/dist/input-color/style.css +6 -61
  144. package/dist/input-group/style.css +6 -61
  145. package/dist/input-number/style.css +6 -67
  146. package/dist/input-otp/style.css +6 -61
  147. package/dist/input-password/style.css +6 -67
  148. package/dist/input-tags/style.css +6 -67
  149. package/dist/knob/style.css +6 -67
  150. package/dist/label/style.css +6 -61
  151. package/dist/layout/style.css +6 -87
  152. package/dist/listbox/index.js +30 -32
  153. package/dist/listbox/style.css +6 -69
  154. package/dist/loading/style.css +6 -77
  155. package/dist/mega-menu/style.css +6 -67
  156. package/dist/menu/index.js +263 -253
  157. package/dist/menu/style.css +26 -99
  158. package/dist/menubar/style.css +6 -75
  159. package/dist/message/style.css +6 -80
  160. package/dist/meter-group/style.css +6 -61
  161. package/dist/order-list/style.css +6 -67
  162. package/dist/page/index.js +228 -69
  163. package/dist/page/style.css +1182 -113
  164. package/dist/page/style.js +3 -0
  165. package/dist/pagination/index.js +1 -1
  166. package/dist/pagination/style.css +206 -77
  167. package/dist/pagination/style.js +1 -0
  168. package/dist/panel/style.css +6 -74
  169. package/dist/pick-list/style.css +6 -67
  170. package/dist/popover/style.css +26 -78
  171. package/dist/progress-bar/style.css +6 -70
  172. package/dist/progress-spinner/style.css +6 -68
  173. package/dist/radio/style.css +6 -61
  174. package/dist/rating/style.css +6 -67
  175. package/dist/resolver-map.d.ts.map +1 -1
  176. package/dist/resolver.js +1 -0
  177. package/dist/result/style.css +6 -67
  178. package/dist/scroll-top/style.css +6 -82
  179. package/dist/scrollbar/style.css +6 -69
  180. package/dist/select/index.js +2 -545
  181. package/dist/select/style.css +11 -82
  182. package/dist/select-button/style.css +6 -61
  183. package/dist/shared/config.d.ts +2 -2
  184. package/dist/shared/filterByQuery.d.ts +14 -0
  185. package/dist/shared/filterByQuery.d.ts.map +1 -0
  186. package/dist/shared/menu/expand.d.ts +38 -0
  187. package/dist/shared/menu/expand.d.ts.map +1 -0
  188. package/dist/shared/menu/index.d.ts +2 -0
  189. package/dist/shared/menu/index.d.ts.map +1 -1
  190. package/dist/sidebar/style.css +6 -73
  191. package/dist/skeleton/index.js +2 -59
  192. package/dist/skeleton/style.css +6 -67
  193. package/dist/slider/style.css +6 -61
  194. package/dist/space/style.css +6 -61
  195. package/dist/speed-dial/style.css +6 -67
  196. package/dist/split-button/style.css +68 -78
  197. package/dist/splitter/style.css +6 -61
  198. package/dist/status/style.css +6 -74
  199. package/dist/stepper/style.css +6 -67
  200. package/dist/styles/base.css +1 -50
  201. package/dist/styles.css +1 -1
  202. package/dist/switch/style.css +6 -68
  203. package/dist/table/index.js +341 -311
  204. package/dist/table/style.css +20 -111
  205. package/dist/tabs/style.css +6 -75
  206. package/dist/tag/style.css +6 -67
  207. package/dist/terminal/style.css +6 -61
  208. package/dist/textarea/style.css +6 -67
  209. package/dist/theme/styles.css +5 -11
  210. package/dist/theme/useMotion.d.ts +5 -1
  211. package/dist/theme/useMotion.d.ts.map +1 -1
  212. package/dist/tiered-menu/style.css +6 -75
  213. package/dist/timeline/style.css +6 -75
  214. package/dist/toast/style.css +6 -67
  215. package/dist/toggle-button/style.css +6 -67
  216. package/dist/toolbar/style.css +6 -61
  217. package/dist/tooltip/style.css +6 -61
  218. package/dist/tree/index.js +158 -172
  219. package/dist/tree/style.css +6 -67
  220. package/dist/tree-select/index.js +198 -212
  221. package/dist/tree-select/style.css +6 -75
  222. package/dist/tree-table/style.css +6 -67
  223. package/dist/treeQuery-CnHkyYOA.js +107 -0
  224. package/dist/virtual-scroller/style.css +6 -69
  225. package/package.json +1 -1
  226. package/dist/Button-smoDleh0.js +0 -156
  227. package/dist/Pagination-DrXmzcEy.js +0 -158
  228. package/dist/checkStrategy-CZzuUKDI.js +0 -63
@@ -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,
@@ -615,7 +609,7 @@
615
609
  .m-zoom-enter-from,
616
610
  .m-zoom-leave-to {
617
611
  opacity: 0;
618
- transform: scale(0.9);
612
+ transform: scale(0.95);
619
613
  }
620
614
 
621
615
  .m-slide-up-enter-active,
@@ -660,44 +654,6 @@
660
654
  transform: translateX(calc(var(--m-motion-distance) * -1));
661
655
  }
662
656
 
663
- @media (prefers-reduced-motion: reduce) {
664
- html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
665
- html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
666
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
667
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
668
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
669
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
670
- html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
671
- html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
672
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
673
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
674
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
675
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
676
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
677
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
678
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
679
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
680
- transition: none;
681
- }
682
-
683
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
684
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
685
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
686
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
687
- html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
688
- html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
689
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
690
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
691
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
692
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
693
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
694
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
695
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
696
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
697
- transform: none;
698
- }
699
- }
700
-
701
657
  [data-m-motion="reduced"] .m-fade-enter-active,
702
658
  [data-m-motion="reduced"] .m-fade-leave-active,
703
659
  [data-m-motion="reduced"] .m-scale-fade-enter-active,
@@ -1192,17 +1148,6 @@
1192
1148
  animation: none !important;
1193
1149
  }
1194
1150
 
1195
- @media (prefers-reduced-motion: reduce) {
1196
- html:not([data-m-ignore-reduced-motion]) *,
1197
- html:not([data-m-ignore-reduced-motion]) *::before,
1198
- html:not([data-m-ignore-reduced-motion]) *::after {
1199
- animation-duration: 0.01ms !important;
1200
- animation-iteration-count: 1 !important;
1201
- scroll-behavior: auto !important;
1202
- transition-duration: 0.01ms !important;
1203
- }
1204
- }
1205
-
1206
1151
  .m-accordion {
1207
1152
  border: var(--m-border-width) solid var(--m-color-border);
1208
1153
  border-radius: var(--m-radius-md);
@@ -1264,13 +1209,20 @@
1264
1209
  min-height: 0;
1265
1210
  }
1266
1211
 
1267
- .m-accordion-collapse-enter-active,
1212
+ .m-accordion-collapse-enter-active {
1213
+ display: grid;
1214
+ overflow: hidden;
1215
+ transition:
1216
+ grid-template-rows var(--m-motion-enter) var(--m-motion-ease),
1217
+ opacity var(--m-motion-enter) var(--m-motion-ease);
1218
+ }
1219
+
1268
1220
  .m-accordion-collapse-leave-active {
1269
1221
  display: grid;
1270
1222
  overflow: hidden;
1271
1223
  transition:
1272
- grid-template-rows var(--m-motion-normal) var(--m-motion-ease),
1273
- opacity var(--m-motion-normal) var(--m-motion-ease);
1224
+ grid-template-rows var(--m-motion-exit) var(--m-motion-ease),
1225
+ opacity var(--m-motion-exit) var(--m-motion-ease);
1274
1226
  }
1275
1227
 
1276
1228
  .m-accordion-collapse-enter-active,
@@ -1284,13 +1236,6 @@
1284
1236
  opacity: 0;
1285
1237
  }
1286
1238
 
1287
- @media (prefers-reduced-motion: reduce) {
1288
- html:not([data-m-ignore-reduced-motion]) .m-accordion-collapse-enter-active,
1289
- html:not([data-m-ignore-reduced-motion]) .m-accordion-collapse-leave-active {
1290
- transition: none;
1291
- }
1292
- }
1293
-
1294
1239
  [data-m-motion="reduced"] .m-accordion-collapse-enter-active,
1295
1240
  [data-m-motion="reduced"] .m-accordion-collapse-leave-active,
1296
1241
  [data-m-motion="none"] .m-accordion-collapse-enter-active,
@@ -4,14 +4,15 @@ import { t as n } from "../useMotionTransition-Bxnnb_9u.js";
4
4
  import { n as ee, t as te } from "../overlay-oR-5MDuE.js";
5
5
  import { t as ne } from "../overlayPlacement-Cd20JTD_.js";
6
6
  import { t as re } from "../useFloatingViewportSync-DZdJ7W8n.js";
7
- import { t as ie } from "../useMId-BXFYayPP.js";
8
- import { t as ae } from "../Scrollbar-DTeJ8P5b.js";
9
- import { t as r } from "../useFieldFeedback-C5qIqYMK.js";
10
- import { t as i } from "../VirtualScroller-CHoFCmpP.js";
7
+ import { t as r } from "../useMId-BXFYayPP.js";
8
+ import { t as i } from "../Scrollbar-DTeJ8P5b.js";
9
+ import { n as a } from "../filterByQuery-Bczaxzih.js";
10
+ import { t as ie } from "../VirtualScroller-CHoFCmpP.js";
11
+ import { t as ae } from "../useFieldFeedback-C5qIqYMK.js";
11
12
  import { c as oe, o as se } from "../config-CapALqt3.js";
12
13
  import { n as ce } from "../locale-Bzm2nbEp.js";
13
14
  import "./style.js";
14
- import { Fragment as le, Teleport as ue, Transition as de, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeProps as p, nextTick as m, normalizeClass as h, normalizeStyle as fe, onBeforeUnmount as pe, openBlock as g, ref as _, renderList as me, renderSlot as v, toDisplayString as y, unref as b, useAttrs as he, watch as x, withCtx as S, withModifiers as C } from "vue";
15
+ import { Fragment as le, Teleport as ue, Transition as de, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeStyle as fe, onBeforeUnmount as pe, openBlock as _, ref as v, renderList as me, renderSlot as y, toDisplayString as b, unref as x, useAttrs as he, watch as S, withCtx as C, withModifiers as w } from "vue";
15
16
  //#region src/components/AutoComplete/AutoComplete.vue?vue&type=script&setup=true&lang.ts
16
17
  var ge = ["for"], _e = [
17
18
  "id",
@@ -43,7 +44,7 @@ var ge = ["for"], _e = [
43
44
  "aria-selected",
44
45
  "onMouseenter",
45
46
  "onMousedown"
46
- ], Te = ["id", "role"], Ee = 80, w = /* @__PURE__ */ f({
47
+ ], Te = ["id", "role"], T = 80, E = /* @__PURE__ */ p({
47
48
  inheritAttrs: !1,
48
49
  __name: "AutoComplete",
49
50
  props: {
@@ -99,180 +100,177 @@ var ge = ["for"], _e = [
99
100
  "complete",
100
101
  "clear"
101
102
  ],
102
- setup(f, { emit: w }) {
103
- let T = f, E = w, D = he(), { rootAttrs: O, controlAttrs: De } = e(D, () => T.pt), k = oe(), { transitionName: Oe, transitionCss: ke } = n({
103
+ setup(p, { emit: E }) {
104
+ let D = p, O = E, k = he(), { rootAttrs: Ee, controlAttrs: De } = e(k, () => D.pt), A = oe(), { transitionName: Oe, transitionCss: ke } = n({
104
105
  role: "popup",
105
- local: () => T.transition,
106
+ local: () => D.transition,
106
107
  componentName: "AutoComplete",
107
108
  fallback: "scale-fade"
108
- }), A = ce(), j = se("AutoComplete", () => T.size), Ae = ie("m-autocomplete"), M = a(() => T.id ?? Ae), { isInvalid: N, feedbackText: P, feedbackIsError: F } = r(T), je = a(() => T.emptyMessage ?? A.value.emptyOptions), I = _(!1), L = _(null), R = _(null), z = _(null), B = _({}), V = _(-1), H = a(() => ee(T, k.value.appendTo)), U = a(() => te(T, k.value.appendTo));
109
+ }), j = ce(), M = se("AutoComplete", () => D.size), Ae = r("m-autocomplete"), N = o(() => D.id ?? Ae), { isInvalid: P, feedbackText: F, feedbackIsError: I } = ae(D), je = o(() => D.emptyMessage ?? j.value.emptyOptions), L = v(!1), R = v(null), z = v(null), B = v(null), V = v({}), H = v(-1), U = o(() => ee(D, A.value.appendTo)), W = o(() => te(D, A.value.appendTo));
109
110
  function Me(e) {
110
111
  return typeof e == "string" ? {
111
112
  label: e,
112
113
  value: e
113
114
  } : e;
114
115
  }
115
- let W = a(() => T.suggestions.map(Me)), G = a(() => {
116
- let e = (T.modelValue ?? "").trim().toLowerCase();
117
- return e ? W.value.filter((t) => t.label.toLowerCase().includes(e) || t.value.toLowerCase().includes(e)) : W.value;
118
- }), K = a(() => T.virtual === !1 ? !1 : T.virtual === !0 || G.value.length >= Ee), q = a(() => j.value === "small" ? 28 : j.value === "large" ? 40 : 34), Ne = a(() => Math.min(240, Math.max(q.value * 4, G.value.length * q.value))), J = _(null);
116
+ let Ne = o(() => D.suggestions.map(Me)), G = o(() => a(Ne.value, D.modelValue ?? "")), K = o(() => D.virtual === !1 ? !1 : D.virtual === !0 || G.value.length >= T), q = o(() => M.value === "small" ? 28 : M.value === "large" ? 40 : 34), Pe = o(() => Math.min(240, Math.max(q.value * 4, G.value.length * q.value))), J = v(null);
119
117
  function Y(e) {
120
118
  return e;
121
119
  }
122
- let Pe = a(() => T.clearable && !!T.modelValue && !T.disabled), Fe = a(() => [
120
+ let Fe = o(() => D.clearable && !!D.modelValue && !D.disabled), Ie = o(() => [
123
121
  "m-autocomplete",
124
- `m-autocomplete--${j.value}`,
122
+ `m-autocomplete--${M.value}`,
125
123
  {
126
- "m-autocomplete--disabled": T.disabled,
127
- "m-autocomplete--open": I.value,
128
- "m-autocomplete--loading": T.loading,
129
- "m-autocomplete--invalid": N.value
124
+ "m-autocomplete--disabled": D.disabled,
125
+ "m-autocomplete--open": L.value,
126
+ "m-autocomplete--loading": D.loading,
127
+ "m-autocomplete--invalid": P.value
130
128
  }
131
129
  ]);
132
130
  function X() {
133
- if (!U.value || !R.value) return;
134
- let e = R.value.getBoundingClientRect(), t = `${e.width}px`;
135
- B.value = ne(e, "bottom-start", {
131
+ if (!W.value || !z.value) return;
132
+ let e = z.value.getBoundingClientRect(), t = `${e.width}px`;
133
+ V.value = ne(e, "bottom-start", {
136
134
  minWidth: t,
137
135
  width: t
138
136
  });
139
137
  }
140
138
  function Z(e, t = !1) {
141
- E("complete", e), I.value = !0, V.value = t && G.value.length ? 0 : -1, m(() => X());
139
+ O("complete", e), L.value = !0, H.value = t && G.value.length ? 0 : -1, h(() => X());
142
140
  }
143
- function Ie(e) {
144
- if (T.disabled) return;
141
+ function Le(e) {
142
+ if (D.disabled) return;
145
143
  let t = e.target.value;
146
- E("update:modelValue", t), Z(t);
144
+ O("update:modelValue", t), Z(t);
147
145
  }
148
146
  function Q(e) {
149
- T.disabled || (E("update:modelValue", e.value), I.value = !1);
150
- }
151
- function Le() {
152
- T.disabled || (E("update:modelValue", ""), E("clear"), Z(""));
147
+ D.disabled || (O("update:modelValue", e.value), L.value = !1);
153
148
  }
154
149
  function Re() {
155
- if (!T.disabled) {
156
- if (I.value) {
157
- I.value = !1;
150
+ D.disabled || (O("update:modelValue", ""), O("clear"), Z(""));
151
+ }
152
+ function ze() {
153
+ if (!D.disabled) {
154
+ if (L.value) {
155
+ L.value = !1;
158
156
  return;
159
157
  }
160
- Z(T.modelValue ?? "");
158
+ Z(D.modelValue ?? "");
161
159
  }
162
160
  }
163
- function ze(e) {
164
- if (!I.value && (e.key === "ArrowDown" || e.key === "Enter")) {
165
- Z(T.modelValue ?? "", !0);
161
+ function Be(e) {
162
+ if (!L.value && (e.key === "ArrowDown" || e.key === "Enter")) {
163
+ Z(D.modelValue ?? "", !0);
166
164
  return;
167
165
  }
168
- if (I.value) {
166
+ if (L.value) {
169
167
  if (e.key === "Escape") {
170
- I.value = !1;
168
+ L.value = !1;
171
169
  return;
172
170
  }
173
171
  if (e.key === "ArrowDown" || e.key === "ArrowUp") {
174
172
  e.preventDefault();
175
173
  let t = G.value.length;
176
174
  if (!t) return;
177
- if (V.value < 0) V.value = e.key === "ArrowDown" ? 0 : t - 1;
175
+ if (H.value < 0) H.value = e.key === "ArrowDown" ? 0 : t - 1;
178
176
  else {
179
177
  let n = e.key === "ArrowDown" ? 1 : -1;
180
- V.value = (V.value + n + t) % t;
178
+ H.value = (H.value + n + t) % t;
181
179
  }
182
180
  }
183
- if (e.key === "Enter" && V.value >= 0) {
181
+ if (e.key === "Enter" && H.value >= 0) {
184
182
  e.preventDefault();
185
- let t = G.value[V.value];
183
+ let t = G.value[H.value];
186
184
  t != null && Q(t);
187
185
  }
188
186
  }
189
187
  }
190
188
  function $(e) {
191
189
  let t = e.target;
192
- L.value?.contains(t) || z.value?.contains(t) || (I.value = !1);
190
+ R.value?.contains(t) || B.value?.contains(t) || (L.value = !1);
193
191
  }
194
- function Be() {
195
- I.value && X();
192
+ function Ve() {
193
+ L.value && X();
196
194
  }
197
- re(() => I.value && U.value, Be), x(V, (e) => {
195
+ re(() => L.value && W.value, Ve), S(H, (e) => {
198
196
  !K.value || e < 0 || J.value?.scrollToIndex(e);
199
- }), x(I, async (e) => {
200
- e ? (document.addEventListener("click", $), await m(), X()) : document.removeEventListener("click", $);
201
- }), x(G, (e) => {
202
- e.length ? V.value >= e.length && (V.value = 0) : V.value = -1;
197
+ }), S(L, async (e) => {
198
+ e ? (document.addEventListener("click", $), await h(), X()) : document.removeEventListener("click", $);
199
+ }), S(G, (e) => {
200
+ e.length ? H.value >= e.length && (H.value = 0) : H.value = -1;
203
201
  }), pe(() => {
204
202
  document.removeEventListener("click", $);
205
203
  });
206
- let Ve = a(() => I.value);
207
- return (e, n) => (g(), c("div", p({
204
+ let He = o(() => L.value);
205
+ return (e, n) => (_(), l("div", m({
208
206
  ref_key: "root",
209
- ref: L
210
- }, b(O), { class: "m-select-field" }), [
211
- f.label ? (g(), c("label", {
207
+ ref: R
208
+ }, x(Ee), { class: "m-select-field" }), [
209
+ p.label ? (_(), l("label", {
212
210
  key: 0,
213
211
  class: "m-select-field__label",
214
- for: M.value
215
- }, y(f.label), 9, ge)) : s("", !0),
216
- l("div", { class: h(Fe.value) }, [l("div", {
212
+ for: N.value
213
+ }, b(p.label), 9, ge)) : c("", !0),
214
+ u("div", { class: g(Ie.value) }, [u("div", {
217
215
  ref_key: "trigger",
218
- ref: R,
216
+ ref: z,
219
217
  class: "m-autocomplete__control"
220
218
  }, [
221
- l("input", p(b(De), {
222
- id: M.value,
219
+ u("input", m(x(De), {
220
+ id: N.value,
223
221
  class: "m-autocomplete__input",
224
222
  type: "text",
225
223
  role: "combobox",
226
- value: f.modelValue,
227
- placeholder: f.placeholder,
228
- name: f.name,
229
- autocomplete: f.autocomplete,
230
- autofocus: f.autofocus || void 0,
231
- disabled: f.disabled,
232
- "aria-expanded": I.value,
233
- "aria-busy": f.loading || void 0,
234
- "aria-invalid": b(N) || void 0,
235
- "aria-describedby": b(P) ? `${M.value}-help` : void 0,
224
+ value: p.modelValue,
225
+ placeholder: p.placeholder,
226
+ name: p.name,
227
+ autocomplete: p.autocomplete,
228
+ autofocus: p.autofocus || void 0,
229
+ disabled: p.disabled,
230
+ "aria-expanded": L.value,
231
+ "aria-busy": p.loading || void 0,
232
+ "aria-invalid": x(P) || void 0,
233
+ "aria-describedby": x(F) ? `${N.value}-help` : void 0,
236
234
  "aria-autocomplete": "list",
237
- onInput: Ie,
238
- onKeydown: ze,
239
- onFocus: n[0] ||= (e) => Z(f.modelValue ?? "")
235
+ onInput: Le,
236
+ onKeydown: Be,
237
+ onFocus: n[0] ||= (e) => Z(p.modelValue ?? "")
240
238
  }), null, 16, _e),
241
- f.loading ? (g(), c("span", ve)) : Pe.value ? (g(), c("button", {
239
+ p.loading ? (_(), l("span", ve)) : Fe.value ? (_(), l("button", {
242
240
  key: 1,
243
241
  type: "button",
244
242
  class: "m-autocomplete__clear",
245
- "aria-label": b(A).clearInput,
246
- onClick: Le
247
- }, [d(t, {
243
+ "aria-label": x(j).clearInput,
244
+ onClick: Re
245
+ }, [f(t, {
248
246
  name: "close",
249
247
  size: "sm"
250
- })], 8, ye)) : s("", !0),
251
- f.dropdown ? (g(), c("button", {
248
+ })], 8, ye)) : c("", !0),
249
+ p.dropdown ? (_(), l("button", {
252
250
  key: 2,
253
251
  type: "button",
254
252
  class: "m-autocomplete__dropdown",
255
- "aria-label": b(A).showSuggestions,
256
- disabled: f.disabled,
257
- onClick: Re
258
- }, [d(t, {
253
+ "aria-label": x(j).showSuggestions,
254
+ disabled: p.disabled,
255
+ onClick: ze
256
+ }, [f(t, {
259
257
  name: "chevron-down",
260
258
  size: "sm"
261
- })], 8, be)) : s("", !0)
262
- ], 512), (g(), o(ue, {
263
- to: H.value.to,
264
- disabled: H.value.disabled
265
- }, [d(de, {
266
- name: b(Oe),
267
- css: b(ke)
259
+ })], 8, be)) : c("", !0)
260
+ ], 512), (_(), s(ue, {
261
+ to: U.value.to,
262
+ disabled: U.value.disabled
263
+ }, [f(de, {
264
+ name: x(Oe),
265
+ css: x(ke)
268
266
  }, {
269
- default: S(() => [Ve.value ? (g(), c("div", {
267
+ default: C(() => [He.value ? (_(), l("div", {
270
268
  key: 0,
271
269
  ref_key: "panel",
272
- ref: z,
273
- class: h(["m-autocomplete__panel", { "m-autocomplete__panel--teleported": U.value }]),
274
- style: fe(U.value ? B.value : void 0)
275
- }, [K.value && G.value.length && !f.loading ? (g(), o(i, {
270
+ ref: B,
271
+ class: g(["m-autocomplete__panel", { "m-autocomplete__panel--teleported": W.value }]),
272
+ style: fe(W.value ? V.value : void 0)
273
+ }, [K.value && G.value.length && !p.loading ? (_(), s(ie, {
276
274
  key: 0,
277
275
  ref_key: "virtualList",
278
276
  ref: J,
@@ -280,22 +278,22 @@ var ge = ["for"], _e = [
280
278
  role: "listbox",
281
279
  items: G.value,
282
280
  "item-size": q.value,
283
- height: Ne.value,
281
+ height: Pe.value,
284
282
  buffer: 4
285
283
  }, {
286
- item: S(({ item: t, index: n }) => [l("div", {
287
- class: h(["m-autocomplete__item", { "m-autocomplete__item--active": n === V.value }]),
284
+ item: C(({ item: t, index: n }) => [u("div", {
285
+ class: g(["m-autocomplete__item", { "m-autocomplete__item--active": n === H.value }]),
288
286
  role: "option",
289
- "aria-selected": n === V.value,
290
- onMouseenter: (e) => V.value = n,
291
- onMousedown: C((e) => Q(Y(t)), ["prevent"])
292
- }, [v(e.$slots, "item", { option: Y(t) }, () => [u(y(Y(t).label), 1)])], 42, xe)]),
287
+ "aria-selected": n === H.value,
288
+ onMouseenter: (e) => H.value = n,
289
+ onMousedown: w((e) => Q(Y(t)), ["prevent"])
290
+ }, [y(e.$slots, "item", { option: Y(t) }, () => [d(b(Y(t).label), 1)])], 42, xe)]),
293
291
  _: 3
294
292
  }, 8, [
295
293
  "items",
296
294
  "item-size",
297
295
  "height"
298
- ])) : (g(), o(ae, {
296
+ ])) : (_(), s(i, {
299
297
  key: 1,
300
298
  tag: "ul",
301
299
  role: "listbox",
@@ -303,26 +301,26 @@ var ge = ["for"], _e = [
303
301
  "fit-content": "",
304
302
  "view-class": "m-autocomplete__panel-list"
305
303
  }, {
306
- default: S(() => [f.loading && !G.value.length ? (g(), c("li", Se, y(b(A).loading), 1)) : G.value.length ? s("", !0) : (g(), c("li", Ce, [v(e.$slots, "empty", {}, () => [u(y(je.value), 1)])])), (g(!0), c(le, null, me(G.value, (t, n) => (g(), c("li", {
304
+ default: C(() => [p.loading && !G.value.length ? (_(), l("li", Se, b(x(j).loading), 1)) : G.value.length ? c("", !0) : (_(), l("li", Ce, [y(e.$slots, "empty", {}, () => [d(b(je.value), 1)])])), (_(!0), l(le, null, me(G.value, (t, n) => (_(), l("li", {
307
305
  key: `${t.value}-${n}`,
308
- class: h(["m-autocomplete__item", { "m-autocomplete__item--active": n === V.value }]),
306
+ class: g(["m-autocomplete__item", { "m-autocomplete__item--active": n === H.value }]),
309
307
  role: "option",
310
- "aria-selected": n === V.value,
311
- onMouseenter: (e) => V.value = n,
312
- onMousedown: C((e) => Q(t), ["prevent"])
313
- }, [v(e.$slots, "item", { option: t }, () => [u(y(t.label), 1)])], 42, we))), 128))]),
308
+ "aria-selected": n === H.value,
309
+ onMouseenter: (e) => H.value = n,
310
+ onMousedown: w((e) => Q(t), ["prevent"])
311
+ }, [y(e.$slots, "item", { option: t }, () => [d(b(t.label), 1)])], 42, we))), 128))]),
314
312
  _: 3
315
- }))], 6)) : s("", !0)]),
313
+ }))], 6)) : c("", !0)]),
316
314
  _: 3
317
315
  }, 8, ["name", "css"])], 8, ["to", "disabled"]))], 2),
318
- b(P) ? (g(), c("span", {
316
+ x(F) ? (_(), l("span", {
319
317
  key: 1,
320
- id: `${M.value}-help`,
321
- class: h(["m-select-field__help", { "m-select-field__help--invalid": b(F) }]),
322
- role: b(F) ? "alert" : void 0
323
- }, y(b(P)), 11, Te)) : s("", !0)
318
+ id: `${N.value}-help`,
319
+ class: g(["m-select-field__help", { "m-select-field__help--invalid": x(I) }]),
320
+ role: x(I) ? "alert" : void 0
321
+ }, b(x(F)), 11, Te)) : c("", !0)
324
322
  ], 16));
325
323
  }
326
324
  });
327
325
  //#endregion
328
- export { w as MAutoComplete };
326
+ export { E as MAutoComplete };
@@ -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,
@@ -615,7 +609,7 @@
615
609
  .m-zoom-enter-from,
616
610
  .m-zoom-leave-to {
617
611
  opacity: 0;
618
- transform: scale(0.9);
612
+ transform: scale(0.95);
619
613
  }
620
614
 
621
615
  .m-slide-up-enter-active,
@@ -660,44 +654,6 @@
660
654
  transform: translateX(calc(var(--m-motion-distance) * -1));
661
655
  }
662
656
 
663
- @media (prefers-reduced-motion: reduce) {
664
- html:not([data-m-ignore-reduced-motion]) .m-fade-enter-active,
665
- html:not([data-m-ignore-reduced-motion]) .m-fade-leave-active,
666
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-active,
667
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-active,
668
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-active,
669
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-active,
670
- html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-active,
671
- html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-active,
672
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-active,
673
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-active,
674
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-active,
675
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-active,
676
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-active,
677
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-active,
678
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-active,
679
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-active {
680
- transition: none;
681
- }
682
-
683
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-enter-from,
684
- html:not([data-m-ignore-reduced-motion]) .m-scale-fade-leave-to,
685
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-enter-from,
686
- html:not([data-m-ignore-reduced-motion]) .m-slide-fade-leave-to,
687
- html:not([data-m-ignore-reduced-motion]) .m-zoom-enter-from,
688
- html:not([data-m-ignore-reduced-motion]) .m-zoom-leave-to,
689
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-enter-from,
690
- html:not([data-m-ignore-reduced-motion]) .m-slide-up-leave-to,
691
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-enter-from,
692
- html:not([data-m-ignore-reduced-motion]) .m-slide-down-leave-to,
693
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-enter-from,
694
- html:not([data-m-ignore-reduced-motion]) .m-slide-left-leave-to,
695
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-enter-from,
696
- html:not([data-m-ignore-reduced-motion]) .m-slide-right-leave-to {
697
- transform: none;
698
- }
699
- }
700
-
701
657
  [data-m-motion="reduced"] .m-fade-enter-active,
702
658
  [data-m-motion="reduced"] .m-fade-leave-active,
703
659
  [data-m-motion="reduced"] .m-scale-fade-enter-active,
@@ -1192,17 +1148,6 @@
1192
1148
  animation: none !important;
1193
1149
  }
1194
1150
 
1195
- @media (prefers-reduced-motion: reduce) {
1196
- html:not([data-m-ignore-reduced-motion]) *,
1197
- html:not([data-m-ignore-reduced-motion]) *::before,
1198
- html:not([data-m-ignore-reduced-motion]) *::after {
1199
- animation-duration: 0.01ms !important;
1200
- animation-iteration-count: 1 !important;
1201
- scroll-behavior: auto !important;
1202
- transition-duration: 0.01ms !important;
1203
- }
1204
- }
1205
-
1206
1151
  /* Shared floating option-list chrome for form select-likes. */
1207
1152
 
1208
1153
  .m-select__menu,
@@ -1423,12 +1368,6 @@
1423
1368
  }
1424
1369
  }
1425
1370
 
1426
- @media (prefers-reduced-motion: reduce) {
1427
- html:not([data-m-ignore-reduced-motion]) .m-icon--spin svg {
1428
- animation: none;
1429
- }
1430
- }
1431
-
1432
1371
  :root[data-m-motion='none'] .m-icon--spin svg,
1433
1372
  :root[data-m-motion='reduced'] .m-icon--spin svg {
1434
1373
  animation: none;
@@ -1558,14 +1497,6 @@
1558
1497
  opacity: 0;
1559
1498
  }
1560
1499
 
1561
- @media (prefers-reduced-motion: reduce) {
1562
- html:not([data-m-ignore-reduced-motion]) .m-scrollbar__thumb,
1563
- html:not([data-m-ignore-reduced-motion]) .m-scrollbar-fade-enter-active,
1564
- html:not([data-m-ignore-reduced-motion]) .m-scrollbar-fade-leave-active {
1565
- transition: none;
1566
- }
1567
- }
1568
-
1569
1500
  :root[data-m-motion='none'] .m-scrollbar__thumb,
1570
1501
  :root[data-m-motion='none'] .m-scrollbar-fade-enter-active,
1571
1502
  :root[data-m-motion='none'] .m-scrollbar-fade-leave-active,
@@ -1764,13 +1695,6 @@
1764
1695
  width: var(--m-autocomplete-spinner-size);
1765
1696
  }
1766
1697
 
1767
- @media (prefers-reduced-motion: reduce) {
1768
- html:not([data-m-ignore-reduced-motion]) .m-autocomplete__spinner {
1769
- animation: none;
1770
- border-top-color: var(--m-color-text-muted);
1771
- }
1772
- }
1773
-
1774
1698
  [data-m-motion="reduced"] .m-autocomplete__spinner {
1775
1699
  animation: none;
1776
1700
  border-top-color: var(--m-color-text-muted);