morya-ui 0.4.4 → 0.4.5

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 (322) hide show
  1. package/CHANGELOG.md +811 -775
  2. package/LICENSE +21 -21
  3. package/README.md +156 -156
  4. package/README.zh-CN.md +156 -156
  5. package/dist/{Button-Bjsth0ct.js → Button-fKkfCnYv.js} +1 -1
  6. package/dist/{Checkbox-Bo26OGHP.js → Checkbox-BXC2mLNd.js} +1 -1
  7. package/dist/DatePicker-DcVjiS5d.js +848 -0
  8. package/dist/{Empty-rMhOPi79.js → Empty-By1qe-ew.js} +1 -1
  9. package/dist/{FlyoutSubmenu-C0id6-Sb.js → FlyoutSubmenu-C1n-fr6i.js} +1 -1
  10. package/dist/{Input-CxSTVp9E.js → Input-D2bee2LU.js} +2 -2
  11. package/dist/{Loading-D_qRwfKv.js → Loading-DE9Iaiao.js} +3 -3
  12. package/dist/Pagination-DpNOb0CS.js +178 -0
  13. package/dist/{Popover-D1uZ1N9Z.js → Popover-Bnz7KNZq.js} +2 -2
  14. package/dist/{ProgressSpinner-hmR23xpi.js → ProgressSpinner-vBXGvQ92.js} +1 -1
  15. package/dist/{Radio-CZAyelC_.js → Radio-BbznzRbr.js} +1 -1
  16. package/dist/{Segmented-BpdO7arR.js → Segmented-CMP3nBAP.js} +1 -1
  17. package/dist/{Select-CySmusHs.js → Select-q4X2ff_M.js} +3 -3
  18. package/dist/{Textarea-DskjTCcz.js → Textarea-DsFOAtPd.js} +2 -2
  19. package/dist/{Tooltip-DSfkflHp.js → Tooltip-5zRVTTVs.js} +2 -2
  20. package/dist/accordion/style.css +1206 -1205
  21. package/dist/affix/style.css +1206 -1205
  22. package/dist/alert/index.js +2 -2
  23. package/dist/alert/style.css +1206 -1205
  24. package/dist/anchor/style.css +1206 -1205
  25. package/dist/auto-complete/index.js +3 -3
  26. package/dist/auto-complete/style.css +1750 -1749
  27. package/dist/avatar/style.css +1319 -1318
  28. package/dist/badge/style.css +1372 -1371
  29. package/dist/block-ui/index.js +1 -1
  30. package/dist/block-ui/style.css +1206 -1205
  31. package/dist/breadcrumb/index.js +1 -1
  32. package/dist/breadcrumb/style.css +1206 -1205
  33. package/dist/button/index.js +1 -1
  34. package/dist/button/style.css +1910 -1909
  35. package/dist/calendar/index.js +3 -3
  36. package/dist/calendar/style.css +2081 -1880
  37. package/dist/card/style.css +1206 -1205
  38. package/dist/carousel/index.js +2 -2
  39. package/dist/carousel/style.css +2209 -2208
  40. package/dist/cascade-select/index.js +3 -3
  41. package/dist/cascade-select/style.css +1910 -1909
  42. package/dist/checkbox/index.js +1 -1
  43. package/dist/checkbox/style.css +1206 -1205
  44. package/dist/chip/index.js +1 -1
  45. package/dist/chip/style.css +1350 -1349
  46. package/dist/command-menu/index.js +3 -3
  47. package/dist/command-menu/style.css +1439 -1438
  48. package/dist/components/AutoComplete/styles.css +209 -209
  49. package/dist/components/Avatar/styles.css +113 -113
  50. package/dist/components/Badge/styles.css +164 -164
  51. package/dist/components/Button/styles.css +698 -698
  52. package/dist/components/Carousel/styles.css +302 -302
  53. package/dist/components/CascadeSelect/styles.css +168 -168
  54. package/dist/components/Chip/styles.css +144 -144
  55. package/dist/components/CommandMenu/styles.css +102 -102
  56. package/dist/components/ConfigProvider/styles.css +6 -6
  57. package/dist/components/ConfirmDialog/styles.css +24 -24
  58. package/dist/components/ConfirmPopup/styles.css +35 -35
  59. package/dist/components/ContextMenu/styles.css +138 -138
  60. package/dist/components/DatePicker/DatePicker.vue.d.ts +21 -0
  61. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  62. package/dist/components/DatePicker/styles.css +653 -453
  63. package/dist/components/DatePicker/types.d.ts +20 -2
  64. package/dist/components/DatePicker/types.d.ts.map +1 -1
  65. package/dist/components/Dialog/styles.css +420 -420
  66. package/dist/components/Dock/styles.css +84 -84
  67. package/dist/components/Drawer/styles.css +346 -346
  68. package/dist/components/Dropdown/styles.css +135 -135
  69. package/dist/components/Empty/styles.css +146 -146
  70. package/dist/components/FileUpload/styles.css +359 -359
  71. package/dist/components/Form/Form.vue.d.ts.map +1 -1
  72. package/dist/components/Form/styles.css +125 -125
  73. package/dist/components/Gallery/styles.css +100 -100
  74. package/dist/components/Input/styles.css +392 -392
  75. package/dist/components/InputColor/styles.css +139 -139
  76. package/dist/components/InputNumber/styles.css +262 -262
  77. package/dist/components/InputPassword/styles.css +189 -189
  78. package/dist/components/InputTags/styles.css +121 -121
  79. package/dist/components/Layout/styles.css +433 -433
  80. package/dist/components/List/styles.css +229 -229
  81. package/dist/components/Listbox/styles.css +130 -130
  82. package/dist/components/Loading/styles.css +378 -378
  83. package/dist/components/MegaMenu/styles.css +97 -97
  84. package/dist/components/Menu/styles.css +565 -565
  85. package/dist/components/Menubar/styles.css +144 -144
  86. package/dist/components/Message/styles.css +248 -248
  87. package/dist/components/MeterGroup/styles.css +49 -49
  88. package/dist/components/OrderList/OrderList.vue.d.ts +13 -7
  89. package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
  90. package/dist/components/OrderList/styles.css +80 -7
  91. package/dist/components/OrderList/types.d.ts +20 -3
  92. package/dist/components/OrderList/types.d.ts.map +1 -1
  93. package/dist/components/Page/styles.css +430 -430
  94. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  95. package/dist/components/Pagination/styles.css +97 -124
  96. package/dist/components/Popover/styles.css +92 -92
  97. package/dist/components/Result/styles.css +146 -146
  98. package/dist/components/Scrollbar/styles.css +131 -131
  99. package/dist/components/Select/styles.css +222 -222
  100. package/dist/components/SelectButton/styles.css +107 -107
  101. package/dist/components/Sidebar/styles.css +74 -74
  102. package/dist/components/Slider/styles.css +211 -211
  103. package/dist/components/SplitButton/styles.css +216 -216
  104. package/dist/components/Status/styles.css +190 -190
  105. package/dist/components/Stepper/styles.css +152 -152
  106. package/dist/components/Switch/styles.css +129 -129
  107. package/dist/components/Table/Table.vue.d.ts +37 -282
  108. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  109. package/dist/components/Table/core/tree.d.ts +4 -0
  110. package/dist/components/Table/core/tree.d.ts.map +1 -1
  111. package/dist/components/Table/core/utils.d.ts +11 -3
  112. package/dist/components/Table/core/utils.d.ts.map +1 -1
  113. package/dist/components/Table/index.d.ts +1 -1
  114. package/dist/components/Table/index.d.ts.map +1 -1
  115. package/dist/components/Table/render/TableColumnSetting.vue.d.ts +25 -0
  116. package/dist/components/Table/render/TableColumnSetting.vue.d.ts.map +1 -0
  117. package/dist/components/Table/render/TableTbody.vue.d.ts +16 -0
  118. package/dist/components/Table/render/TableTbody.vue.d.ts.map +1 -1
  119. package/dist/components/Table/render/TableThead.vue.d.ts +8 -0
  120. package/dist/components/Table/render/TableThead.vue.d.ts.map +1 -1
  121. package/dist/components/Table/state/internal.d.ts +1 -1
  122. package/dist/components/Table/state/internal.d.ts.map +1 -1
  123. package/dist/components/Table/state/usePageItems.d.ts +1 -3
  124. package/dist/components/Table/state/usePageItems.d.ts.map +1 -1
  125. package/dist/components/Table/state/useVirtualRows.d.ts +20 -2
  126. package/dist/components/Table/state/useVirtualRows.d.ts.map +1 -1
  127. package/dist/components/Table/styles.css +95 -0
  128. package/dist/components/Table/types.d.ts +77 -12
  129. package/dist/components/Table/types.d.ts.map +1 -1
  130. package/dist/components/Tabs/styles.css +165 -165
  131. package/dist/components/Terminal/styles.css +75 -75
  132. package/dist/components/Textarea/styles.css +146 -146
  133. package/dist/components/TieredMenu/styles.css +125 -125
  134. package/dist/components/Timeline/styles.css +157 -157
  135. package/dist/components/TreeSelect/styles.css +172 -172
  136. package/dist/components/VirtualScroller/styles.css +27 -27
  137. package/dist/{config-BEpyhJi3.js → config-Cd20zAyW.js} +11 -1
  138. package/dist/config-provider/index.js +1 -1
  139. package/dist/config-provider/style.css +2302 -2301
  140. package/dist/confirm-dialog/index.js +4 -4
  141. package/dist/confirm-dialog/style.css +2348 -2347
  142. package/dist/confirm-popup/index.js +4 -4
  143. package/dist/confirm-popup/style.css +1939 -1938
  144. package/dist/context-menu/index.js +3 -3
  145. package/dist/context-menu/style.css +1475 -1474
  146. package/dist/data-view/index.js +3 -3
  147. package/dist/data-view/style.css +1681 -1707
  148. package/dist/date-picker/index.js +1 -1
  149. package/dist/date-picker/style.css +1991 -1658
  150. package/dist/date-picker/style.js +1 -0
  151. package/dist/descriptions/index.js +1 -1
  152. package/dist/descriptions/style.css +1206 -1205
  153. package/dist/dialog/index.js +4 -4
  154. package/dist/dialog/style.css +2324 -2323
  155. package/dist/divider/style.css +1206 -1205
  156. package/dist/dock/style.css +1290 -1289
  157. package/dist/drawer/index.js +3 -3
  158. package/dist/drawer/style.css +1552 -1551
  159. package/dist/dropdown/index.js +4 -4
  160. package/dist/dropdown/style.css +1472 -1471
  161. package/dist/empty/index.js +1 -1
  162. package/dist/empty/style.css +1352 -1351
  163. package/dist/fieldset/style.css +1206 -1205
  164. package/dist/file-upload/index.js +1 -1
  165. package/dist/file-upload/style.css +1565 -1564
  166. package/dist/flex/index.js +1 -1
  167. package/dist/flex/style.css +1206 -1205
  168. package/dist/float-label/style.css +1206 -1205
  169. package/dist/fluid/style.css +1206 -1205
  170. package/dist/form/index.js +1 -1
  171. package/dist/form/style.css +1333 -1332
  172. package/dist/gallery/index.js +1 -1
  173. package/dist/gallery/style.css +1437 -1436
  174. package/dist/grid/style.css +1206 -1205
  175. package/dist/icon/style.css +1206 -1205
  176. package/dist/icon-field/style.css +1598 -1597
  177. package/dist/image/index.js +1 -1
  178. package/dist/image/style.css +1206 -1205
  179. package/dist/index.d.ts +1 -1
  180. package/dist/index.d.ts.map +1 -1
  181. package/dist/index.js +4118 -3439
  182. package/dist/inplace/style.css +1206 -1205
  183. package/dist/input/index.js +1 -1
  184. package/dist/input/style.css +1723 -1722
  185. package/dist/input-color/index.js +2 -2
  186. package/dist/input-color/style.css +1347 -1346
  187. package/dist/input-group/style.css +1206 -1205
  188. package/dist/input-number/index.js +2 -2
  189. package/dist/input-number/style.css +1468 -1467
  190. package/dist/input-otp/index.js +2 -2
  191. package/dist/input-otp/style.css +1206 -1205
  192. package/dist/input-password/index.js +2 -2
  193. package/dist/input-password/style.css +1520 -1519
  194. package/dist/input-tags/index.js +2 -2
  195. package/dist/input-tags/style.css +1327 -1326
  196. package/dist/knob/style.css +1206 -1205
  197. package/dist/label/style.css +1206 -1205
  198. package/dist/layout/index.js +1 -1
  199. package/dist/layout/style.css +1770 -1769
  200. package/dist/list/index.js +4 -4
  201. package/dist/list/style.css +2061 -2087
  202. package/dist/listbox/index.js +2 -2
  203. package/dist/listbox/style.css +1498 -1497
  204. package/dist/loading/index.js +1 -1
  205. package/dist/loading/style.css +1586 -1585
  206. package/dist/locale/de-DE.d.ts.map +1 -1
  207. package/dist/locale/en-US.d.ts.map +1 -1
  208. package/dist/locale/es-ES.d.ts.map +1 -1
  209. package/dist/locale/fr-FR.d.ts.map +1 -1
  210. package/dist/locale/ja-JP.d.ts.map +1 -1
  211. package/dist/locale/ko-KR.d.ts.map +1 -1
  212. package/dist/locale/pt-BR.d.ts.map +1 -1
  213. package/dist/locale/ru-RU.d.ts.map +1 -1
  214. package/dist/locale/types.d.ts +18 -0
  215. package/dist/locale/types.d.ts.map +1 -1
  216. package/dist/locale/zh-CN.d.ts.map +1 -1
  217. package/dist/locale/zh-TW.d.ts.map +1 -1
  218. package/dist/{locale-CZddM-tH.js → locale-BcxMPufl.js} +1 -1
  219. package/dist/mega-menu/index.js +3 -3
  220. package/dist/mega-menu/style.css +1303 -1302
  221. package/dist/mentions/index.js +3 -3
  222. package/dist/mentions/style.css +1331 -1330
  223. package/dist/menu/index.js +4 -4
  224. package/dist/menu/style.css +2060 -2059
  225. package/dist/menubar/index.js +3 -3
  226. package/dist/menubar/style.css +1481 -1480
  227. package/dist/message/index.js +3 -3
  228. package/dist/message/style.css +1454 -1453
  229. package/dist/meter-group/style.css +1257 -1256
  230. package/dist/order-list/index.js +191 -101
  231. package/dist/order-list/style.css +1286 -1212
  232. package/dist/page/index.js +3 -3
  233. package/dist/page/style.css +2601 -2600
  234. package/dist/pagination/index.js +1 -1
  235. package/dist/pagination/style.css +1525 -1551
  236. package/dist/panel/index.js +1 -1
  237. package/dist/panel/style.css +1206 -1205
  238. package/dist/pick-list/index.js +1 -1
  239. package/dist/pick-list/style.css +1206 -1205
  240. package/dist/popover/index.js +1 -1
  241. package/dist/popover/style.css +1300 -1299
  242. package/dist/progress-bar/style.css +1206 -1205
  243. package/dist/progress-spinner/index.js +1 -1
  244. package/dist/progress-spinner/style.css +1206 -1205
  245. package/dist/qr-code/index.js +3 -3
  246. package/dist/qr-code/style.css +1904 -1903
  247. package/dist/radio/index.js +1 -1
  248. package/dist/radio/style.css +1206 -1205
  249. package/dist/rating/index.js +2 -2
  250. package/dist/rating/style.css +1206 -1205
  251. package/dist/result/index.js +1 -1
  252. package/dist/result/style.css +1352 -1351
  253. package/dist/scroll-top/index.js +2 -2
  254. package/dist/scroll-top/style.css +1337 -1336
  255. package/dist/scrollbar/style.css +1339 -1338
  256. package/dist/segmented/index.js +1 -1
  257. package/dist/segmented/style.css +1206 -1205
  258. package/dist/select/index.js +1 -1
  259. package/dist/select/style.css +2116 -2115
  260. package/dist/select-button/index.js +1 -1
  261. package/dist/select-button/style.css +1315 -1314
  262. package/dist/shared/styles/control-affix-icon.css +110 -110
  263. package/dist/shared/styles/control-suffix.css +118 -118
  264. package/dist/shared/styles/select-overlay.css +177 -177
  265. package/dist/sidebar/index.js +1 -1
  266. package/dist/sidebar/style.css +1280 -1279
  267. package/dist/skeleton/style.css +1206 -1205
  268. package/dist/slider/index.js +2 -2
  269. package/dist/slider/style.css +1419 -1418
  270. package/dist/space/index.js +1 -1
  271. package/dist/space/style.css +1206 -1205
  272. package/dist/speed-dial/index.js +3 -3
  273. package/dist/speed-dial/style.css +1206 -1205
  274. package/dist/split-button/index.js +3 -3
  275. package/dist/split-button/style.css +2120 -2119
  276. package/dist/splitter/index.js +1 -1
  277. package/dist/splitter/style.css +1206 -1205
  278. package/dist/statistic/style.css +1206 -1205
  279. package/dist/status/index.js +1 -1
  280. package/dist/status/style.css +1396 -1395
  281. package/dist/stepper/style.css +1358 -1357
  282. package/dist/styles/base.css +804 -804
  283. package/dist/styles.css +1 -1
  284. package/dist/switch/index.js +1 -1
  285. package/dist/switch/style.css +1337 -1336
  286. package/dist/table/index.js +975 -714
  287. package/dist/table/style.css +1908 -1839
  288. package/dist/tabs/index.js +1 -1
  289. package/dist/tabs/style.css +1502 -1501
  290. package/dist/tag/index.js +2 -2
  291. package/dist/tag/style.css +1206 -1205
  292. package/dist/terminal/index.js +1 -1
  293. package/dist/terminal/style.css +1283 -1282
  294. package/dist/textarea/index.js +1 -1
  295. package/dist/textarea/style.css +1477 -1476
  296. package/dist/theme/styles.css +402 -401
  297. package/dist/tiered-menu/index.js +3 -3
  298. package/dist/tiered-menu/style.css +1462 -1461
  299. package/dist/time-picker/index.js +5 -1
  300. package/dist/time-picker/style.css +1861 -1660
  301. package/dist/timeline/style.css +1494 -1493
  302. package/dist/toast/index.js +3 -3
  303. package/dist/toast/style.css +1904 -1903
  304. package/dist/toggle-button/index.js +1 -1
  305. package/dist/toggle-button/style.css +1206 -1205
  306. package/dist/toolbar/style.css +1206 -1205
  307. package/dist/tooltip/index.js +1 -1
  308. package/dist/tooltip/style.css +1206 -1205
  309. package/dist/tour/index.js +3 -3
  310. package/dist/tour/style.css +1904 -1903
  311. package/dist/tree/index.js +2 -2
  312. package/dist/tree/style.css +1206 -1205
  313. package/dist/tree-select/index.js +4 -4
  314. package/dist/tree-select/style.css +1914 -1913
  315. package/dist/typography/index.js +2 -2
  316. package/dist/typography/style.css +1352 -1351
  317. package/dist/{useMotionTransition-DqL_SEML.js → useMotionTransition-DohkfWRB.js} +1 -1
  318. package/dist/virtual-scroller/style.css +1367 -1366
  319. package/dist/watermark/style.css +1206 -1205
  320. package/package.json +1 -1
  321. package/dist/DatePicker-CsMGzCqY.js +0 -630
  322. package/dist/Pagination-CnGOpp0m.js +0 -171
@@ -1,378 +1,378 @@
1
- /* —— Feedback: Loading —— */
2
-
3
- .m-loading {
4
- position: relative;
5
- }
6
-
7
- .m-loading--fullscreen {
8
- inset: 0;
9
- position: fixed;
10
- z-index: var(--m-loading-z-index, calc(var(--m-z-base) + 200));
11
- }
12
-
13
- .m-loading__content {
14
- position: relative;
15
- }
16
-
17
- .m-loading--active .m-loading__content {
18
- pointer-events: none;
19
- user-select: none;
20
- }
21
-
22
- .m-loading-parent--relative {
23
- position: relative;
24
- }
25
-
26
- .m-loading-mask {
27
- --m-loading-z-index: calc(var(--m-z-base) + 200);
28
- --m-loading-mask-bg: color-mix(in srgb, var(--m-color-surface) 80%, transparent);
29
- align-items: center;
30
- background: var(--m-loading-mask-bg);
31
- display: flex;
32
- inset: 0;
33
- justify-content: center;
34
- position: absolute;
35
- z-index: 10;
36
- }
37
-
38
- .m-loading-mask--fullscreen,
39
- .m-loading-mask--body {
40
- position: fixed;
41
- z-index: var(--m-loading-z-index);
42
- }
43
-
44
- .m-loading-mask--body {
45
- inset: auto;
46
- }
47
-
48
- .m-loading-enter-active {
49
- transition: opacity var(--m-motion-enter) var(--m-motion-ease);
50
- }
51
-
52
- .m-loading-leave-active {
53
- transition: opacity var(--m-motion-exit) var(--m-motion-ease);
54
- }
55
-
56
- .m-loading-enter-from,
57
- .m-loading-leave-to {
58
- opacity: 0;
59
- }
60
-
61
- .m-loading-indicator {
62
- --m-loading-c1: var(--m-color-primary);
63
- --m-loading-c2: color-mix(in srgb, var(--m-color-primary) 62%, white);
64
- --m-loading-c3: var(--m-color-success);
65
- --m-loading-c4: var(--m-color-warning);
66
- --m-loading-c5: var(--m-color-danger);
67
- --m-loading-c6: var(--m-color-text-muted);
68
- --m-loading-spin: var(--m-motion-spin);
69
- --m-loading-aurora-glow: var(--m-motion-loading-aurora);
70
- --m-loading-bounce: var(--m-motion-loading-bounce);
71
- --m-loading-wave: var(--m-motion-spin-medium);
72
- --m-loading-pulse: var(--m-motion-loading-pulse);
73
- --m-loading-stardust: var(--m-motion-loading-stardust);
74
- --m-loading-circular-rotate: var(--m-motion-loading-circular-rotate);
75
- --m-loading-circular-dash: var(--m-motion-spin-dash);
76
- --m-loading-scale: 1;
77
-
78
- align-items: center;
79
- display: inline-flex;
80
- flex-direction: column;
81
- font-family: var(--m-font-sans);
82
- gap: var(--m-space-3);
83
- justify-content: center;
84
- }
85
-
86
- .m-loading-indicator__graphic {
87
- align-items: center;
88
- display: inline-flex;
89
- justify-content: center;
90
- transform: scale(var(--m-loading-scale));
91
- }
92
-
93
- .m-loading-indicator__tip {
94
- color: var(--m-color-text-muted);
95
- font-size: var(--m-font-size-sm);
96
- line-height: 1;
97
- margin: 0;
98
- }
99
-
100
- .m-loading-indicator--small {
101
- --m-loading-scale: 0.85;
102
- }
103
-
104
- .m-loading-indicator--large {
105
- --m-loading-scale: 1.15;
106
- }
107
-
108
- .m-loading-aurora,
109
- .m-loading-pulse,
110
- .m-loading-stardust {
111
- height: 3.75rem;
112
- position: relative;
113
- width: 3.75rem;
114
- }
115
-
116
- .m-loading-aurora__ring {
117
- animation: m-loading-spin var(--m-loading-spin) cubic-bezier(0.5, 0, 0.5, 1) infinite;
118
- border: 4px solid transparent;
119
- border-bottom-color: var(--m-loading-c2);
120
- border-left-color: var(--m-loading-c3);
121
- border-radius: 50%;
122
- border-right-color: var(--m-loading-c5);
123
- border-top-color: var(--m-loading-c1);
124
- box-sizing: border-box;
125
- height: 100%;
126
- position: relative;
127
- width: 100%;
128
- z-index: 2;
129
- }
130
-
131
- .m-loading-aurora__glow {
132
- animation: m-loading-spin var(--m-loading-aurora-glow) linear infinite reverse;
133
- /* Soft radial layers instead of animated blur (≤8px / no continuous filter). */
134
- background:
135
- radial-gradient(
136
- circle at 30% 30%,
137
- color-mix(in srgb, var(--m-loading-c1) 55%, transparent),
138
- transparent 62%
139
- ),
140
- radial-gradient(
141
- circle at 70% 65%,
142
- color-mix(in srgb, var(--m-loading-c5) 45%, transparent),
143
- transparent 58%
144
- ),
145
- radial-gradient(
146
- circle at 50% 50%,
147
- color-mix(in srgb, var(--m-loading-c2) 35%, transparent),
148
- transparent 70%
149
- );
150
- border-radius: 50%;
151
- inset: -10px;
152
- opacity: 0.55;
153
- position: absolute;
154
- z-index: 1;
155
- }
156
-
157
- .m-loading-bounce {
158
- align-items: flex-end;
159
- display: flex;
160
- gap: var(--m-space-3);
161
- height: 3.125rem;
162
- }
163
-
164
- .m-loading-bounce__ball {
165
- animation: m-loading-bounce var(--m-loading-bounce) cubic-bezier(0.34, 1.2, 0.64, 1) infinite alternate;
166
- background: var(--m-loading-c1);
167
- border-radius: 50%;
168
- display: block;
169
- height: 1rem;
170
- width: 1rem;
171
- }
172
-
173
- .m-loading-bounce__ball:nth-child(1) {
174
- animation-delay: 0s;
175
- background: var(--m-loading-c5);
176
- }
177
-
178
- .m-loading-bounce__ball:nth-child(2) {
179
- animation-delay: 0.15s;
180
- background: var(--m-loading-c2);
181
- }
182
-
183
- .m-loading-bounce__ball:nth-child(3) {
184
- animation-delay: 0.3s;
185
- background: var(--m-loading-c6);
186
- }
187
-
188
- .m-loading-wave {
189
- align-items: center;
190
- display: flex;
191
- gap: var(--m-space-1);
192
- height: 3.125rem;
193
- }
194
-
195
- .m-loading-wave__bar {
196
- animation: m-loading-wave var(--m-loading-wave) ease-in-out infinite alternate;
197
- background: var(--m-loading-c1);
198
- border-radius: 0.375rem;
199
- display: block;
200
- height: 2.875rem;
201
- transform-origin: center center;
202
- width: 0.5rem;
203
- }
204
-
205
- .m-loading-wave__bar:nth-child(1) {
206
- animation-delay: 0s;
207
- background: var(--m-loading-c1);
208
- }
209
-
210
- .m-loading-wave__bar:nth-child(2) {
211
- animation-delay: 0.09s;
212
- background: var(--m-loading-c5);
213
- }
214
-
215
- .m-loading-wave__bar:nth-child(3) {
216
- animation-delay: 0.18s;
217
- background: var(--m-loading-c2);
218
- }
219
-
220
- .m-loading-wave__bar:nth-child(4) {
221
- animation-delay: 0.27s;
222
- background: var(--m-loading-c3);
223
- }
224
-
225
- .m-loading-wave__bar:nth-child(5) {
226
- animation-delay: 0.36s;
227
- background: var(--m-loading-c6);
228
- }
229
-
230
- .m-loading-pulse__ring {
231
- animation: m-loading-pulse var(--m-loading-pulse) ease-out infinite;
232
- border: 3px solid var(--m-loading-c2);
233
- border-radius: 50%;
234
- box-sizing: border-box;
235
- inset: 0;
236
- position: absolute;
237
- }
238
-
239
- .m-loading-pulse__ring:nth-child(1) {
240
- animation-delay: 0s;
241
- border-color: var(--m-loading-c1);
242
- }
243
-
244
- .m-loading-pulse__ring:nth-child(2) {
245
- animation-delay: 0.45s;
246
- border-color: var(--m-loading-c5);
247
- }
248
-
249
- .m-loading-pulse__ring:nth-child(3) {
250
- animation-delay: 0.9s;
251
- border-color: var(--m-loading-c2);
252
- }
253
-
254
- .m-loading-pulse__ring:nth-child(4) {
255
- animation-delay: 1.35s;
256
- border-color: var(--m-loading-c3);
257
- }
258
-
259
- .m-loading-stardust__dot {
260
- --i: 0;
261
- animation: m-loading-stardust var(--m-loading-stardust) ease-in-out infinite;
262
- background: var(--m-loading-c1);
263
- border-radius: 50%;
264
- height: 0.5rem;
265
- left: 50%;
266
- position: absolute;
267
- top: 50%;
268
- transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateX(22px);
269
- width: 0.5rem;
270
- }
271
-
272
- .m-loading-stardust__dot:nth-child(1) { animation-delay: 0s; background: var(--m-loading-c1); }
273
- .m-loading-stardust__dot:nth-child(2) { animation-delay: 0.08s; background: var(--m-loading-c5); }
274
- .m-loading-stardust__dot:nth-child(3) { animation-delay: 0.16s; background: var(--m-loading-c4); }
275
- .m-loading-stardust__dot:nth-child(4) { animation-delay: 0.24s; background: var(--m-loading-c2); }
276
- .m-loading-stardust__dot:nth-child(5) { animation-delay: 0.32s; background: var(--m-loading-c3); }
277
- .m-loading-stardust__dot:nth-child(6) { animation-delay: 0.4s; background: var(--m-loading-c6); }
278
- .m-loading-stardust__dot:nth-child(7) { animation-delay: 0.48s; background: color-mix(in srgb, var(--m-loading-c1) 55%, white); }
279
- .m-loading-stardust__dot:nth-child(8) { animation-delay: 0.56s; background: var(--m-loading-c2); }
280
-
281
- .m-loading-circular {
282
- align-items: center;
283
- display: inline-flex;
284
- justify-content: center;
285
- }
286
-
287
- .m-loading-circular__svg {
288
- animation: m-loading-circular-rotate var(--m-loading-circular-rotate) linear infinite;
289
- display: inline-block;
290
- height: 2.625rem;
291
- width: 2.625rem;
292
- }
293
-
294
- .m-loading-circular__path {
295
- animation: m-loading-circular-dash var(--m-loading-circular-dash) ease-in-out infinite;
296
- fill: none;
297
- stroke: var(--m-loading-c1);
298
- stroke-linecap: round;
299
- stroke-width: 2;
300
- }
301
-
302
- @keyframes m-loading-spin {
303
- from { transform: rotate(0deg); }
304
- to { transform: rotate(360deg); }
305
- }
306
-
307
- @keyframes m-loading-bounce {
308
- from { transform: translateY(0) scale(1); }
309
- to { transform: translateY(-34px) scale(1.1); }
310
- }
311
-
312
- @keyframes m-loading-wave {
313
- from { transform: scaleY(0.26); }
314
- to { transform: scaleY(1); }
315
- }
316
-
317
- @keyframes m-loading-pulse {
318
- from { opacity: 1; transform: scale(0.15); }
319
- to { opacity: 0; transform: scale(1.6); }
320
- }
321
-
322
- @keyframes m-loading-stardust {
323
- 0%,
324
- 100% {
325
- opacity: 0.2;
326
- transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateX(22px) scale(0.3);
327
- }
328
-
329
- 50% {
330
- opacity: 1;
331
- transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg + 180deg)) translateX(28px) scale(1.2);
332
- }
333
- }
334
-
335
- @keyframes m-loading-circular-rotate {
336
- to { transform: rotate(360deg); }
337
- }
338
-
339
- @keyframes m-loading-circular-dash {
340
- 0% {
341
- stroke-dasharray: 1, 200;
342
- stroke-dashoffset: 0;
343
- }
344
-
345
- 50% {
346
- stroke-dasharray: 90, 150;
347
- stroke-dashoffset: -40px;
348
- }
349
-
350
- 100% {
351
- stroke-dasharray: 90, 150;
352
- stroke-dashoffset: -120px;
353
- }
354
- }
355
-
356
- [data-m-motion="reduced"] .m-loading-aurora__ring,
357
- [data-m-motion="reduced"] .m-loading-aurora__glow,
358
- [data-m-motion="reduced"] .m-loading-bounce__ball,
359
- [data-m-motion="reduced"] .m-loading-wave__bar,
360
- [data-m-motion="reduced"] .m-loading-pulse__ring,
361
- [data-m-motion="reduced"] .m-loading-stardust__dot,
362
- [data-m-motion="reduced"] .m-loading-circular__svg,
363
- [data-m-motion="reduced"] .m-loading-circular__path,
364
- [data-m-motion="reduced"] .m-loading-enter-active,
365
- [data-m-motion="reduced"] .m-loading-leave-active,
366
- [data-m-motion="none"] .m-loading-aurora__ring,
367
- [data-m-motion="none"] .m-loading-aurora__glow,
368
- [data-m-motion="none"] .m-loading-bounce__ball,
369
- [data-m-motion="none"] .m-loading-wave__bar,
370
- [data-m-motion="none"] .m-loading-pulse__ring,
371
- [data-m-motion="none"] .m-loading-stardust__dot,
372
- [data-m-motion="none"] .m-loading-circular__svg,
373
- [data-m-motion="none"] .m-loading-circular__path,
374
- [data-m-motion="none"] .m-loading-enter-active,
375
- [data-m-motion="none"] .m-loading-leave-active {
376
- animation: none;
377
- transition: none;
378
- }
1
+ /* —— Feedback: Loading —— */
2
+
3
+ .m-loading {
4
+ position: relative;
5
+ }
6
+
7
+ .m-loading--fullscreen {
8
+ inset: 0;
9
+ position: fixed;
10
+ z-index: var(--m-loading-z-index, calc(var(--m-z-base) + 200));
11
+ }
12
+
13
+ .m-loading__content {
14
+ position: relative;
15
+ }
16
+
17
+ .m-loading--active .m-loading__content {
18
+ pointer-events: none;
19
+ user-select: none;
20
+ }
21
+
22
+ .m-loading-parent--relative {
23
+ position: relative;
24
+ }
25
+
26
+ .m-loading-mask {
27
+ --m-loading-z-index: calc(var(--m-z-base) + 200);
28
+ --m-loading-mask-bg: color-mix(in srgb, var(--m-color-surface) 80%, transparent);
29
+ align-items: center;
30
+ background: var(--m-loading-mask-bg);
31
+ display: flex;
32
+ inset: 0;
33
+ justify-content: center;
34
+ position: absolute;
35
+ z-index: 10;
36
+ }
37
+
38
+ .m-loading-mask--fullscreen,
39
+ .m-loading-mask--body {
40
+ position: fixed;
41
+ z-index: var(--m-loading-z-index);
42
+ }
43
+
44
+ .m-loading-mask--body {
45
+ inset: auto;
46
+ }
47
+
48
+ .m-loading-enter-active {
49
+ transition: opacity var(--m-motion-enter) var(--m-motion-ease);
50
+ }
51
+
52
+ .m-loading-leave-active {
53
+ transition: opacity var(--m-motion-exit) var(--m-motion-ease);
54
+ }
55
+
56
+ .m-loading-enter-from,
57
+ .m-loading-leave-to {
58
+ opacity: 0;
59
+ }
60
+
61
+ .m-loading-indicator {
62
+ --m-loading-c1: var(--m-color-primary);
63
+ --m-loading-c2: color-mix(in srgb, var(--m-color-primary) 62%, white);
64
+ --m-loading-c3: var(--m-color-success);
65
+ --m-loading-c4: var(--m-color-warning);
66
+ --m-loading-c5: var(--m-color-danger);
67
+ --m-loading-c6: var(--m-color-text-muted);
68
+ --m-loading-spin: var(--m-motion-spin);
69
+ --m-loading-aurora-glow: var(--m-motion-loading-aurora);
70
+ --m-loading-bounce: var(--m-motion-loading-bounce);
71
+ --m-loading-wave: var(--m-motion-spin-medium);
72
+ --m-loading-pulse: var(--m-motion-loading-pulse);
73
+ --m-loading-stardust: var(--m-motion-loading-stardust);
74
+ --m-loading-circular-rotate: var(--m-motion-loading-circular-rotate);
75
+ --m-loading-circular-dash: var(--m-motion-spin-dash);
76
+ --m-loading-scale: 1;
77
+
78
+ align-items: center;
79
+ display: inline-flex;
80
+ flex-direction: column;
81
+ font-family: var(--m-font-sans);
82
+ gap: var(--m-space-3);
83
+ justify-content: center;
84
+ }
85
+
86
+ .m-loading-indicator__graphic {
87
+ align-items: center;
88
+ display: inline-flex;
89
+ justify-content: center;
90
+ transform: scale(var(--m-loading-scale));
91
+ }
92
+
93
+ .m-loading-indicator__tip {
94
+ color: var(--m-color-text-muted);
95
+ font-size: var(--m-font-size-sm);
96
+ line-height: 1;
97
+ margin: 0;
98
+ }
99
+
100
+ .m-loading-indicator--small {
101
+ --m-loading-scale: 0.85;
102
+ }
103
+
104
+ .m-loading-indicator--large {
105
+ --m-loading-scale: 1.15;
106
+ }
107
+
108
+ .m-loading-aurora,
109
+ .m-loading-pulse,
110
+ .m-loading-stardust {
111
+ height: 3.75rem;
112
+ position: relative;
113
+ width: 3.75rem;
114
+ }
115
+
116
+ .m-loading-aurora__ring {
117
+ animation: m-loading-spin var(--m-loading-spin) cubic-bezier(0.5, 0, 0.5, 1) infinite;
118
+ border: 4px solid transparent;
119
+ border-bottom-color: var(--m-loading-c2);
120
+ border-left-color: var(--m-loading-c3);
121
+ border-radius: 50%;
122
+ border-right-color: var(--m-loading-c5);
123
+ border-top-color: var(--m-loading-c1);
124
+ box-sizing: border-box;
125
+ height: 100%;
126
+ position: relative;
127
+ width: 100%;
128
+ z-index: 2;
129
+ }
130
+
131
+ .m-loading-aurora__glow {
132
+ animation: m-loading-spin var(--m-loading-aurora-glow) linear infinite reverse;
133
+ /* Soft radial layers instead of animated blur (≤8px / no continuous filter). */
134
+ background:
135
+ radial-gradient(
136
+ circle at 30% 30%,
137
+ color-mix(in srgb, var(--m-loading-c1) 55%, transparent),
138
+ transparent 62%
139
+ ),
140
+ radial-gradient(
141
+ circle at 70% 65%,
142
+ color-mix(in srgb, var(--m-loading-c5) 45%, transparent),
143
+ transparent 58%
144
+ ),
145
+ radial-gradient(
146
+ circle at 50% 50%,
147
+ color-mix(in srgb, var(--m-loading-c2) 35%, transparent),
148
+ transparent 70%
149
+ );
150
+ border-radius: 50%;
151
+ inset: -10px;
152
+ opacity: 0.55;
153
+ position: absolute;
154
+ z-index: 1;
155
+ }
156
+
157
+ .m-loading-bounce {
158
+ align-items: flex-end;
159
+ display: flex;
160
+ gap: var(--m-space-3);
161
+ height: 3.125rem;
162
+ }
163
+
164
+ .m-loading-bounce__ball {
165
+ animation: m-loading-bounce var(--m-loading-bounce) cubic-bezier(0.34, 1.2, 0.64, 1) infinite alternate;
166
+ background: var(--m-loading-c1);
167
+ border-radius: 50%;
168
+ display: block;
169
+ height: 1rem;
170
+ width: 1rem;
171
+ }
172
+
173
+ .m-loading-bounce__ball:nth-child(1) {
174
+ animation-delay: 0s;
175
+ background: var(--m-loading-c5);
176
+ }
177
+
178
+ .m-loading-bounce__ball:nth-child(2) {
179
+ animation-delay: 0.15s;
180
+ background: var(--m-loading-c2);
181
+ }
182
+
183
+ .m-loading-bounce__ball:nth-child(3) {
184
+ animation-delay: 0.3s;
185
+ background: var(--m-loading-c6);
186
+ }
187
+
188
+ .m-loading-wave {
189
+ align-items: center;
190
+ display: flex;
191
+ gap: var(--m-space-1);
192
+ height: 3.125rem;
193
+ }
194
+
195
+ .m-loading-wave__bar {
196
+ animation: m-loading-wave var(--m-loading-wave) ease-in-out infinite alternate;
197
+ background: var(--m-loading-c1);
198
+ border-radius: 0.375rem;
199
+ display: block;
200
+ height: 2.875rem;
201
+ transform-origin: center center;
202
+ width: 0.5rem;
203
+ }
204
+
205
+ .m-loading-wave__bar:nth-child(1) {
206
+ animation-delay: 0s;
207
+ background: var(--m-loading-c1);
208
+ }
209
+
210
+ .m-loading-wave__bar:nth-child(2) {
211
+ animation-delay: 0.09s;
212
+ background: var(--m-loading-c5);
213
+ }
214
+
215
+ .m-loading-wave__bar:nth-child(3) {
216
+ animation-delay: 0.18s;
217
+ background: var(--m-loading-c2);
218
+ }
219
+
220
+ .m-loading-wave__bar:nth-child(4) {
221
+ animation-delay: 0.27s;
222
+ background: var(--m-loading-c3);
223
+ }
224
+
225
+ .m-loading-wave__bar:nth-child(5) {
226
+ animation-delay: 0.36s;
227
+ background: var(--m-loading-c6);
228
+ }
229
+
230
+ .m-loading-pulse__ring {
231
+ animation: m-loading-pulse var(--m-loading-pulse) ease-out infinite;
232
+ border: 3px solid var(--m-loading-c2);
233
+ border-radius: 50%;
234
+ box-sizing: border-box;
235
+ inset: 0;
236
+ position: absolute;
237
+ }
238
+
239
+ .m-loading-pulse__ring:nth-child(1) {
240
+ animation-delay: 0s;
241
+ border-color: var(--m-loading-c1);
242
+ }
243
+
244
+ .m-loading-pulse__ring:nth-child(2) {
245
+ animation-delay: 0.45s;
246
+ border-color: var(--m-loading-c5);
247
+ }
248
+
249
+ .m-loading-pulse__ring:nth-child(3) {
250
+ animation-delay: 0.9s;
251
+ border-color: var(--m-loading-c2);
252
+ }
253
+
254
+ .m-loading-pulse__ring:nth-child(4) {
255
+ animation-delay: 1.35s;
256
+ border-color: var(--m-loading-c3);
257
+ }
258
+
259
+ .m-loading-stardust__dot {
260
+ --i: 0;
261
+ animation: m-loading-stardust var(--m-loading-stardust) ease-in-out infinite;
262
+ background: var(--m-loading-c1);
263
+ border-radius: 50%;
264
+ height: 0.5rem;
265
+ left: 50%;
266
+ position: absolute;
267
+ top: 50%;
268
+ transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateX(22px);
269
+ width: 0.5rem;
270
+ }
271
+
272
+ .m-loading-stardust__dot:nth-child(1) { animation-delay: 0s; background: var(--m-loading-c1); }
273
+ .m-loading-stardust__dot:nth-child(2) { animation-delay: 0.08s; background: var(--m-loading-c5); }
274
+ .m-loading-stardust__dot:nth-child(3) { animation-delay: 0.16s; background: var(--m-loading-c4); }
275
+ .m-loading-stardust__dot:nth-child(4) { animation-delay: 0.24s; background: var(--m-loading-c2); }
276
+ .m-loading-stardust__dot:nth-child(5) { animation-delay: 0.32s; background: var(--m-loading-c3); }
277
+ .m-loading-stardust__dot:nth-child(6) { animation-delay: 0.4s; background: var(--m-loading-c6); }
278
+ .m-loading-stardust__dot:nth-child(7) { animation-delay: 0.48s; background: color-mix(in srgb, var(--m-loading-c1) 55%, white); }
279
+ .m-loading-stardust__dot:nth-child(8) { animation-delay: 0.56s; background: var(--m-loading-c2); }
280
+
281
+ .m-loading-circular {
282
+ align-items: center;
283
+ display: inline-flex;
284
+ justify-content: center;
285
+ }
286
+
287
+ .m-loading-circular__svg {
288
+ animation: m-loading-circular-rotate var(--m-loading-circular-rotate) linear infinite;
289
+ display: inline-block;
290
+ height: 2.625rem;
291
+ width: 2.625rem;
292
+ }
293
+
294
+ .m-loading-circular__path {
295
+ animation: m-loading-circular-dash var(--m-loading-circular-dash) ease-in-out infinite;
296
+ fill: none;
297
+ stroke: var(--m-loading-c1);
298
+ stroke-linecap: round;
299
+ stroke-width: 2;
300
+ }
301
+
302
+ @keyframes m-loading-spin {
303
+ from { transform: rotate(0deg); }
304
+ to { transform: rotate(360deg); }
305
+ }
306
+
307
+ @keyframes m-loading-bounce {
308
+ from { transform: translateY(0) scale(1); }
309
+ to { transform: translateY(-34px) scale(1.1); }
310
+ }
311
+
312
+ @keyframes m-loading-wave {
313
+ from { transform: scaleY(0.26); }
314
+ to { transform: scaleY(1); }
315
+ }
316
+
317
+ @keyframes m-loading-pulse {
318
+ from { opacity: 1; transform: scale(0.15); }
319
+ to { opacity: 0; transform: scale(1.6); }
320
+ }
321
+
322
+ @keyframes m-loading-stardust {
323
+ 0%,
324
+ 100% {
325
+ opacity: 0.2;
326
+ transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateX(22px) scale(0.3);
327
+ }
328
+
329
+ 50% {
330
+ opacity: 1;
331
+ transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg + 180deg)) translateX(28px) scale(1.2);
332
+ }
333
+ }
334
+
335
+ @keyframes m-loading-circular-rotate {
336
+ to { transform: rotate(360deg); }
337
+ }
338
+
339
+ @keyframes m-loading-circular-dash {
340
+ 0% {
341
+ stroke-dasharray: 1, 200;
342
+ stroke-dashoffset: 0;
343
+ }
344
+
345
+ 50% {
346
+ stroke-dasharray: 90, 150;
347
+ stroke-dashoffset: -40px;
348
+ }
349
+
350
+ 100% {
351
+ stroke-dasharray: 90, 150;
352
+ stroke-dashoffset: -120px;
353
+ }
354
+ }
355
+
356
+ [data-m-motion="reduced"] .m-loading-aurora__ring,
357
+ [data-m-motion="reduced"] .m-loading-aurora__glow,
358
+ [data-m-motion="reduced"] .m-loading-bounce__ball,
359
+ [data-m-motion="reduced"] .m-loading-wave__bar,
360
+ [data-m-motion="reduced"] .m-loading-pulse__ring,
361
+ [data-m-motion="reduced"] .m-loading-stardust__dot,
362
+ [data-m-motion="reduced"] .m-loading-circular__svg,
363
+ [data-m-motion="reduced"] .m-loading-circular__path,
364
+ [data-m-motion="reduced"] .m-loading-enter-active,
365
+ [data-m-motion="reduced"] .m-loading-leave-active,
366
+ [data-m-motion="none"] .m-loading-aurora__ring,
367
+ [data-m-motion="none"] .m-loading-aurora__glow,
368
+ [data-m-motion="none"] .m-loading-bounce__ball,
369
+ [data-m-motion="none"] .m-loading-wave__bar,
370
+ [data-m-motion="none"] .m-loading-pulse__ring,
371
+ [data-m-motion="none"] .m-loading-stardust__dot,
372
+ [data-m-motion="none"] .m-loading-circular__svg,
373
+ [data-m-motion="none"] .m-loading-circular__path,
374
+ [data-m-motion="none"] .m-loading-enter-active,
375
+ [data-m-motion="none"] .m-loading-leave-active {
376
+ animation: none;
377
+ transition: none;
378
+ }