morya-ui 0.3.2 → 0.3.4

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 (220) hide show
  1. package/CHANGELOG.md +527 -490
  2. package/LICENSE +21 -21
  3. package/README.md +150 -150
  4. package/README.zh-CN.md +150 -150
  5. package/dist/{Button-dMqRmoYa.js → Button-gBiRj7wz.js} +11 -6
  6. package/dist/{FlyoutSubmenu-BrUPmJa1.js → FlyoutSubmenu-H_741alW.js} +2 -2
  7. package/dist/{Loading-BSsRs6v9.js → Loading-qS2Yv_gm.js} +1 -1
  8. package/dist/{Pagination-CqpC5EAs.js → Pagination-Bvv2qvEK.js} +1 -1
  9. package/dist/{Popover-BQ07q4VV.js → Popover-rnZG_ap0.js} +3 -3
  10. package/dist/{Select-CKGrSoaC.js → Select-CiXd074W.js} +3 -3
  11. package/dist/{Tooltip-D5DO0B3z.js → Tooltip-B02o9BOW.js} +3 -3
  12. package/dist/accordion/style.css +1148 -1148
  13. package/dist/auto-complete/index.js +3 -3
  14. package/dist/auto-complete/style.css +1690 -1690
  15. package/dist/avatar/style.css +1261 -1261
  16. package/dist/badge/style.css +1315 -1315
  17. package/dist/block-ui/index.js +1 -1
  18. package/dist/block-ui/style.css +1148 -1148
  19. package/dist/breadcrumb/style.css +1148 -1148
  20. package/dist/button/index.js +1 -1
  21. package/dist/button/style.css +2134 -1897
  22. package/dist/card/style.css +1148 -1148
  23. package/dist/carousel/style.css +1249 -1249
  24. package/dist/cascade-select/index.js +3 -3
  25. package/dist/cascade-select/style.css +1839 -1839
  26. package/dist/checkbox/style.css +1148 -1148
  27. package/dist/chip/style.css +1292 -1292
  28. package/dist/command-menu/index.js +1 -1
  29. package/dist/command-menu/style.css +1381 -1381
  30. package/dist/components/AutoComplete/styles.css +209 -209
  31. package/dist/components/Avatar/styles.css +113 -113
  32. package/dist/components/Badge/styles.css +165 -165
  33. package/dist/components/Button/Button.vue.d.ts +1 -0
  34. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  35. package/dist/components/Button/styles.css +962 -725
  36. package/dist/components/Button/types.d.ts +9 -4
  37. package/dist/components/Button/types.d.ts.map +1 -1
  38. package/dist/components/Carousel/styles.css +101 -101
  39. package/dist/components/CascadeSelect/styles.css +157 -157
  40. package/dist/components/Chip/styles.css +144 -144
  41. package/dist/components/CommandMenu/styles.css +102 -102
  42. package/dist/components/ConfigProvider/styles.css +6 -6
  43. package/dist/components/ConfirmDialog/styles.css +24 -24
  44. package/dist/components/ConfirmPopup/styles.css +35 -35
  45. package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
  46. package/dist/components/ContextMenu/styles.css +138 -133
  47. package/dist/components/DatePicker/styles.css +335 -335
  48. package/dist/components/Dialog/styles.css +421 -421
  49. package/dist/components/Dock/styles.css +84 -84
  50. package/dist/components/Drawer/styles.css +334 -334
  51. package/dist/components/Dropdown/styles.css +130 -130
  52. package/dist/components/Empty/styles.css +146 -146
  53. package/dist/components/FileUpload/styles.css +359 -359
  54. package/dist/components/Form/styles.css +114 -114
  55. package/dist/components/Gallery/styles.css +100 -100
  56. package/dist/components/Input/styles.css +356 -356
  57. package/dist/components/InputColor/styles.css +129 -129
  58. package/dist/components/InputNumber/styles.css +261 -261
  59. package/dist/components/InputPassword/styles.css +178 -178
  60. package/dist/components/InputTags/styles.css +112 -112
  61. package/dist/components/Layout/styles.css +433 -433
  62. package/dist/components/Loading/styles.css +378 -378
  63. package/dist/components/MegaMenu/styles.css +97 -97
  64. package/dist/components/Menu/styles.css +564 -564
  65. package/dist/components/Menubar/styles.css +144 -144
  66. package/dist/components/Message/styles.css +250 -250
  67. package/dist/components/MeterGroup/styles.css +49 -49
  68. package/dist/components/Page/PageContent.vue.d.ts +1 -0
  69. package/dist/components/Page/PageContent.vue.d.ts.map +1 -1
  70. package/dist/components/Page/styles.css +412 -394
  71. package/dist/components/Page/types.d.ts +5 -0
  72. package/dist/components/Page/types.d.ts.map +1 -1
  73. package/dist/components/Pagination/styles.css +105 -105
  74. package/dist/components/Popover/styles.css +92 -153
  75. package/dist/components/Result/styles.css +146 -146
  76. package/dist/components/Scrollbar/styles.css +131 -131
  77. package/dist/components/Select/styles.css +192 -192
  78. package/dist/components/SelectButton/styles.css +105 -105
  79. package/dist/components/Sidebar/styles.css +74 -74
  80. package/dist/components/Slider/styles.css +211 -211
  81. package/dist/components/SplitButton/styles.css +216 -216
  82. package/dist/components/Status/styles.css +191 -191
  83. package/dist/components/Stepper/styles.css +135 -135
  84. package/dist/components/Switch/styles.css +129 -129
  85. package/dist/components/Table/Table.vue.d.ts +1 -0
  86. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  87. package/dist/components/Table/styles.css +28 -0
  88. package/dist/components/Table/types.d.ts +6 -0
  89. package/dist/components/Table/types.d.ts.map +1 -1
  90. package/dist/components/Tabs/styles.css +131 -131
  91. package/dist/components/Terminal/styles.css +74 -74
  92. package/dist/components/Textarea/styles.css +126 -126
  93. package/dist/components/TieredMenu/styles.css +125 -125
  94. package/dist/components/Timeline/styles.css +159 -159
  95. package/dist/components/TreeSelect/styles.css +161 -161
  96. package/dist/components/TreeTable/styles.css +97 -97
  97. package/dist/components/VirtualScroller/styles.css +27 -27
  98. package/dist/config-provider/style.css +2472 -2235
  99. package/dist/confirm-dialog/index.js +2 -2
  100. package/dist/confirm-dialog/style.css +2555 -2318
  101. package/dist/confirm-popup/index.js +5 -5
  102. package/dist/confirm-popup/style.css +2145 -1908
  103. package/dist/context-menu/index.js +105 -96
  104. package/dist/context-menu/style.css +1417 -1412
  105. package/dist/data-view/index.js +2 -2
  106. package/dist/data-view/style.css +1631 -1631
  107. package/dist/date-picker/index.js +3 -3
  108. package/dist/date-picker/style.css +1483 -1483
  109. package/dist/dialog/index.js +2 -2
  110. package/dist/dialog/style.css +2531 -2294
  111. package/dist/divider/style.css +1148 -1148
  112. package/dist/dock/style.css +1232 -1232
  113. package/dist/drawer/index.js +1 -1
  114. package/dist/drawer/style.css +1482 -1482
  115. package/dist/dropdown/index.js +4 -4
  116. package/dist/dropdown/style.css +1409 -1409
  117. package/dist/empty/style.css +1294 -1294
  118. package/dist/fieldset/style.css +1148 -1148
  119. package/dist/file-upload/style.css +1507 -1507
  120. package/dist/flex/index.js +1 -1
  121. package/dist/flex/style.css +1148 -1148
  122. package/dist/float-label/style.css +1148 -1148
  123. package/dist/fluid/style.css +1148 -1148
  124. package/dist/form/style.css +1264 -1264
  125. package/dist/gallery/style.css +1379 -1379
  126. package/dist/grid/index.js +1 -1
  127. package/dist/grid/style.css +1148 -1148
  128. package/dist/icon/style.css +1148 -1148
  129. package/dist/icon-field/style.css +1504 -1504
  130. package/dist/index.js +1246 -1225
  131. package/dist/inplace/style.css +1148 -1148
  132. package/dist/input/style.css +1504 -1504
  133. package/dist/input-color/style.css +1279 -1279
  134. package/dist/input-group/style.css +1148 -1148
  135. package/dist/input-number/style.css +1409 -1409
  136. package/dist/input-otp/style.css +1148 -1148
  137. package/dist/input-password/style.css +1326 -1326
  138. package/dist/input-tags/style.css +1260 -1260
  139. package/dist/knob/style.css +1148 -1148
  140. package/dist/label/style.css +1148 -1148
  141. package/dist/layout/style.css +1712 -1712
  142. package/dist/listbox/style.css +1306 -1306
  143. package/dist/loading/index.js +1 -1
  144. package/dist/loading/style.css +1528 -1528
  145. package/dist/mega-menu/index.js +3 -3
  146. package/dist/mega-menu/style.css +1245 -1245
  147. package/dist/menu/index.js +5 -5
  148. package/dist/menu/style.css +2001 -2062
  149. package/dist/menubar/index.js +3 -3
  150. package/dist/menubar/style.css +1423 -1423
  151. package/dist/message/index.js +1 -1
  152. package/dist/message/style.css +1398 -1398
  153. package/dist/meter-group/style.css +1199 -1199
  154. package/dist/order-list/style.css +1148 -1148
  155. package/dist/{overlayPlacement-Cd20JTD_.js → overlayPlacement-qwEJPVS4.js} +8 -8
  156. package/dist/page/index.js +8 -3
  157. package/dist/page/style.css +2668 -2413
  158. package/dist/pagination/index.js +1 -1
  159. package/dist/pagination/style.css +1445 -1445
  160. package/dist/panel/style.css +1148 -1148
  161. package/dist/pick-list/style.css +1148 -1148
  162. package/dist/popover/index.js +1 -1
  163. package/dist/popover/style.css +1242 -1303
  164. package/dist/progress-bar/style.css +1148 -1148
  165. package/dist/progress-spinner/style.css +1148 -1148
  166. package/dist/radio/style.css +1148 -1148
  167. package/dist/rating/style.css +1148 -1148
  168. package/dist/result/style.css +1294 -1294
  169. package/dist/scroll-top/style.css +1279 -1279
  170. package/dist/scrollbar/style.css +1281 -1281
  171. package/dist/select/index.js +1 -1
  172. package/dist/select/style.css +1901 -1901
  173. package/dist/select-button/style.css +1255 -1255
  174. package/dist/shared/gap.d.ts +4 -1
  175. package/dist/shared/gap.d.ts.map +1 -1
  176. package/dist/shared/overlayPlacement.d.ts.map +1 -1
  177. package/dist/shared/styles/control-affix-icon.css +110 -110
  178. package/dist/shared/styles/control-suffix.css +118 -118
  179. package/dist/shared/styles/select-overlay.css +175 -175
  180. package/dist/sidebar/style.css +1222 -1222
  181. package/dist/skeleton/style.css +1148 -1148
  182. package/dist/slider/style.css +1361 -1361
  183. package/dist/space/index.js +1 -1
  184. package/dist/space/style.css +1148 -1148
  185. package/dist/speed-dial/index.js +3 -3
  186. package/dist/speed-dial/style.css +1148 -1148
  187. package/dist/split-button/index.js +3 -3
  188. package/dist/split-button/style.css +2326 -2089
  189. package/dist/splitter/style.css +1148 -1148
  190. package/dist/status/style.css +1339 -1339
  191. package/dist/stepper/style.css +1283 -1283
  192. package/dist/styles/base.css +790 -790
  193. package/dist/styles.css +1 -1
  194. package/dist/switch/style.css +1279 -1279
  195. package/dist/table/index.js +245 -240
  196. package/dist/table/style.css +1840 -1812
  197. package/dist/tabs/style.css +1410 -1410
  198. package/dist/tag/style.css +1148 -1148
  199. package/dist/terminal/style.css +1224 -1224
  200. package/dist/textarea/style.css +1274 -1274
  201. package/dist/theme/motionPresets.d.ts.map +1 -1
  202. package/dist/theme/styles.css +358 -358
  203. package/dist/tiered-menu/index.js +4 -4
  204. package/dist/tiered-menu/style.css +1404 -1404
  205. package/dist/timeline/style.css +1438 -1438
  206. package/dist/toast/index.js +1 -1
  207. package/dist/toast/style.css +1148 -1148
  208. package/dist/toggle-button/style.css +1148 -1148
  209. package/dist/toolbar/style.css +1148 -1148
  210. package/dist/tooltip/index.js +1 -1
  211. package/dist/tooltip/style.css +1148 -1148
  212. package/dist/tree/style.css +1148 -1148
  213. package/dist/tree-select/index.js +3 -3
  214. package/dist/tree-select/style.css +1843 -1843
  215. package/dist/tree-table/style.css +1245 -1245
  216. package/dist/{useFloatingViewportSync-DZdJ7W8n.js → useFloatingViewportSync-wLLKIGUA.js} +4 -1
  217. package/dist/{useMotionTransition-Bxnnb_9u.js → useMotionTransition-95Y79FoL.js} +1 -1
  218. package/dist/virtual-scroller/style.css +1309 -1309
  219. package/dist/{vnode-C7Y1SjKB.js → vnode-CmdNQlN7.js} +18 -23
  220. package/package.json +32 -29
@@ -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
+ }