morya-ui 0.3.0 → 0.3.1

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 (205) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/{Button-B5X_R4Md.js → Button-smoDleh0.js} +1 -1
  3. package/dist/Icon-od9Ob-Ay.js +393 -0
  4. package/dist/Loading-BSsRs6v9.js +420 -0
  5. package/dist/{Pagination-CVrH8Ypi.js → Pagination-DrXmzcEy.js} +1 -1
  6. package/dist/accordion/style.css +4 -0
  7. package/dist/auto-complete/index.js +1 -1
  8. package/dist/auto-complete/style.css +18 -6
  9. package/dist/avatar/index.js +1 -1
  10. package/dist/avatar/style.css +4 -0
  11. package/dist/badge/style.css +4 -0
  12. package/dist/block-ui/style.css +4 -0
  13. package/dist/breadcrumb/style.css +4 -0
  14. package/dist/button/index.js +1 -1
  15. package/dist/button/style.css +4 -0
  16. package/dist/card/style.css +4 -0
  17. package/dist/carousel/index.js +72 -64
  18. package/dist/carousel/style.css +31 -10
  19. package/dist/cascade-select/index.js +1 -1
  20. package/dist/cascade-select/style.css +18 -6
  21. package/dist/checkbox/style.css +4 -0
  22. package/dist/chip/index.js +1 -1
  23. package/dist/chip/style.css +4 -0
  24. package/dist/command-menu/index.js +2 -2
  25. package/dist/command-menu/style.css +4 -0
  26. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  27. package/dist/components/Carousel/styles.css +27 -10
  28. package/dist/components/DataView/DataView.vue.d.ts +7 -7
  29. package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
  30. package/dist/components/DataView/styles.css +0 -20
  31. package/dist/components/Dropdown/Dropdown.vue.d.ts +2 -2
  32. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  33. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +8 -9
  34. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  35. package/dist/components/Dropdown/styles.css +24 -5
  36. package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
  37. package/dist/components/Icon/icon-categories.d.ts.map +1 -1
  38. package/dist/components/Icon/icons-types.d.ts +4 -2
  39. package/dist/components/Icon/icons-types.d.ts.map +1 -1
  40. package/dist/components/Icon/icons.d.ts +250 -561
  41. package/dist/components/Icon/icons.d.ts.map +1 -1
  42. package/dist/components/Icon/index.d.ts +2 -2
  43. package/dist/components/Icon/index.d.ts.map +1 -1
  44. package/dist/components/Layout/styles.css +5 -2
  45. package/dist/components/Menu/styles.css +6 -0
  46. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  47. package/dist/components/Menubar/styles.css +4 -0
  48. package/dist/components/Scrollbar/Scrollbar.vue.d.ts +1 -1
  49. package/dist/components/Select/Select.vue.d.ts +9 -5
  50. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  51. package/dist/components/Select/styles.css +30 -1
  52. package/dist/components/Select/types.d.ts +11 -1
  53. package/dist/components/Select/types.d.ts.map +1 -1
  54. package/dist/components/Slider/styles.css +9 -0
  55. package/dist/components/SplitButton/styles.css +5 -0
  56. package/dist/components/Table/Table.vue.d.ts +26 -26
  57. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  58. package/dist/components/Table/TableLoadingLine.vue.d.ts.map +1 -1
  59. package/dist/components/Table/styles.css +58 -38
  60. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  61. package/dist/components/TreeSelect/styles.css +1 -1
  62. package/dist/config-provider/style.css +4 -0
  63. package/dist/confirm-dialog/index.js +2 -2
  64. package/dist/confirm-dialog/style.css +4 -0
  65. package/dist/confirm-popup/index.js +2 -2
  66. package/dist/confirm-popup/style.css +4 -0
  67. package/dist/context-menu/index.js +2 -2
  68. package/dist/context-menu/style.css +4 -0
  69. package/dist/data-view/index.js +47 -47
  70. package/dist/data-view/style.css +399 -106
  71. package/dist/data-view/style.js +1 -1
  72. package/dist/date-picker/index.js +1 -1
  73. package/dist/date-picker/style.css +4 -0
  74. package/dist/dialog/index.js +2 -2
  75. package/dist/dialog/style.css +4 -0
  76. package/dist/divider/style.css +4 -0
  77. package/dist/dock/index.js +2 -2
  78. package/dist/dock/style.css +4 -0
  79. package/dist/drawer/index.js +1 -1
  80. package/dist/drawer/style.css +4 -0
  81. package/dist/dropdown/index.js +110 -91
  82. package/dist/dropdown/style.css +28 -5
  83. package/dist/empty/index.js +1 -1
  84. package/dist/empty/style.css +4 -0
  85. package/dist/fieldset/index.js +1 -1
  86. package/dist/fieldset/style.css +4 -0
  87. package/dist/file-upload/index.js +1 -1
  88. package/dist/file-upload/style.css +4 -0
  89. package/dist/flex/style.css +4 -0
  90. package/dist/float-label/style.css +4 -0
  91. package/dist/fluid/style.css +4 -0
  92. package/dist/form/style.css +4 -0
  93. package/dist/gallery/index.js +1 -1
  94. package/dist/gallery/style.css +4 -0
  95. package/dist/grid/style.css +4 -0
  96. package/dist/icon/index.js +93 -39
  97. package/dist/icon/style.css +4 -0
  98. package/dist/icon-COrt_N8A.js +18 -0
  99. package/dist/icon-field/style.css +4 -0
  100. package/dist/index.js +2733 -2801
  101. package/dist/inplace/style.css +4 -0
  102. package/dist/input/index.js +1 -1
  103. package/dist/input/style.css +4 -0
  104. package/dist/input-color/style.css +4 -0
  105. package/dist/input-group/style.css +4 -0
  106. package/dist/input-number/index.js +1 -1
  107. package/dist/input-number/style.css +4 -0
  108. package/dist/input-otp/style.css +4 -0
  109. package/dist/input-password/index.js +1 -1
  110. package/dist/input-password/style.css +4 -0
  111. package/dist/input-tags/index.js +1 -1
  112. package/dist/input-tags/style.css +4 -0
  113. package/dist/knob/style.css +4 -0
  114. package/dist/label/style.css +4 -0
  115. package/dist/layout/index.js +1 -1
  116. package/dist/layout/style.css +9 -2
  117. package/dist/listbox/style.css +4 -0
  118. package/dist/loading/index.js +32 -446
  119. package/dist/loading/style.css +4 -0
  120. package/dist/mega-menu/index.js +2 -2
  121. package/dist/mega-menu/style.css +4 -0
  122. package/dist/menu/index.js +2 -2
  123. package/dist/menu/style.css +10 -0
  124. package/dist/menubar/index.js +6 -3
  125. package/dist/menubar/style.css +8 -0
  126. package/dist/message/index.js +1 -1
  127. package/dist/message/style.css +4 -0
  128. package/dist/meter-group/style.css +4 -0
  129. package/dist/order-list/index.js +1 -1
  130. package/dist/order-list/style.css +4 -0
  131. package/dist/page/index.js +1 -1
  132. package/dist/page/style.css +4 -0
  133. package/dist/pagination/index.js +1 -1
  134. package/dist/pagination/style.css +4 -0
  135. package/dist/panel/index.js +1 -1
  136. package/dist/panel/style.css +4 -0
  137. package/dist/pick-list/index.js +1 -1
  138. package/dist/pick-list/style.css +4 -0
  139. package/dist/popover/style.css +4 -0
  140. package/dist/progress-bar/style.css +4 -0
  141. package/dist/progress-spinner/index.js +105 -2
  142. package/dist/progress-spinner/style.css +4 -0
  143. package/dist/radio/style.css +4 -0
  144. package/dist/rating/index.js +1 -1
  145. package/dist/rating/style.css +4 -0
  146. package/dist/result/index.js +1 -1
  147. package/dist/result/style.css +4 -0
  148. package/dist/scroll-top/index.js +1 -1
  149. package/dist/scroll-top/style.css +4 -0
  150. package/dist/scrollbar/style.css +4 -0
  151. package/dist/select/index.js +284 -217
  152. package/dist/select/style.css +48 -7
  153. package/dist/select-button/style.css +4 -0
  154. package/dist/shared/menu/icon.d.ts.map +1 -1
  155. package/dist/shared/styles/select-overlay.css +14 -6
  156. package/dist/sidebar/index.js +2 -2
  157. package/dist/sidebar/style.css +4 -0
  158. package/dist/skeleton/style.css +4 -0
  159. package/dist/slider/style.css +13 -0
  160. package/dist/space/style.css +4 -0
  161. package/dist/speed-dial/index.js +2 -2
  162. package/dist/speed-dial/style.css +4 -0
  163. package/dist/split-button/index.js +1 -1
  164. package/dist/split-button/style.css +9 -0
  165. package/dist/splitter/style.css +4 -0
  166. package/dist/status/index.js +1 -1
  167. package/dist/status/style.css +4 -0
  168. package/dist/stepper/index.js +1 -1
  169. package/dist/stepper/style.css +4 -0
  170. package/dist/styles/base.css +4 -0
  171. package/dist/styles.css +1 -1
  172. package/dist/switch/style.css +4 -0
  173. package/dist/table/index.js +344 -338
  174. package/dist/table/style.css +457 -124
  175. package/dist/table/style.js +1 -1
  176. package/dist/tabs/index.js +1 -1
  177. package/dist/tabs/style.css +4 -0
  178. package/dist/tag/index.js +1 -1
  179. package/dist/tag/style.css +4 -0
  180. package/dist/terminal/style.css +4 -0
  181. package/dist/textarea/index.js +1 -1
  182. package/dist/textarea/style.css +4 -0
  183. package/dist/tiered-menu/index.js +1 -1
  184. package/dist/tiered-menu/style.css +4 -0
  185. package/dist/timeline/index.js +1 -1
  186. package/dist/timeline/style.css +4 -0
  187. package/dist/toast/index.js +1 -1
  188. package/dist/toast/style.css +4 -0
  189. package/dist/toggle-button/index.js +2 -2
  190. package/dist/toggle-button/style.css +4 -0
  191. package/dist/toolbar/style.css +4 -0
  192. package/dist/tooltip/style.css +4 -0
  193. package/dist/tree/index.js +1 -1
  194. package/dist/tree/style.css +4 -0
  195. package/dist/tree-select/index.js +2 -1
  196. package/dist/tree-select/style.css +19 -7
  197. package/dist/tree-table/index.js +1 -1
  198. package/dist/tree-table/style.css +4 -0
  199. package/dist/virtual-scroller/style.css +4 -0
  200. package/package.json +1 -1
  201. package/dist/Icon-lcN1rS87.js +0 -610
  202. package/dist/ProgressSpinner-BeWVF6Jv.js +0 -105
  203. package/dist/components/Icon/icons-tabler.d.ts +0 -77
  204. package/dist/components/Icon/icons-tabler.d.ts.map +0 -1
  205. package/dist/icon-DWXkh-RM.js +0 -27
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
@@ -1282,6 +1286,401 @@
1282
1286
  animation: none;
1283
1287
  }
1284
1288
 
1289
+ /* —— Feedback: Loading —— */
1290
+
1291
+ .m-loading {
1292
+ position: relative;
1293
+ }
1294
+
1295
+ .m-loading--fullscreen {
1296
+ inset: 0;
1297
+ position: fixed;
1298
+ z-index: var(--m-loading-z-index, calc(var(--m-z-base) + 200));
1299
+ }
1300
+
1301
+ .m-loading__content {
1302
+ position: relative;
1303
+ }
1304
+
1305
+ .m-loading--active .m-loading__content {
1306
+ pointer-events: none;
1307
+ user-select: none;
1308
+ }
1309
+
1310
+ .m-loading-parent--relative {
1311
+ position: relative;
1312
+ }
1313
+
1314
+ .m-loading-mask {
1315
+ --m-loading-z-index: calc(var(--m-z-base) + 200);
1316
+ --m-loading-mask-bg: color-mix(in srgb, var(--m-color-surface) 80%, transparent);
1317
+ align-items: center;
1318
+ background: var(--m-loading-mask-bg);
1319
+ display: flex;
1320
+ inset: 0;
1321
+ justify-content: center;
1322
+ position: absolute;
1323
+ z-index: 10;
1324
+ }
1325
+
1326
+ .m-loading-mask--fullscreen,
1327
+ .m-loading-mask--body {
1328
+ position: fixed;
1329
+ z-index: var(--m-loading-z-index);
1330
+ }
1331
+
1332
+ .m-loading-mask--body {
1333
+ inset: auto;
1334
+ }
1335
+
1336
+ .m-loading-enter-active {
1337
+ transition: opacity var(--m-motion-enter) var(--m-motion-ease);
1338
+ }
1339
+
1340
+ .m-loading-leave-active {
1341
+ transition: opacity var(--m-motion-exit) var(--m-motion-ease);
1342
+ }
1343
+
1344
+ .m-loading-enter-from,
1345
+ .m-loading-leave-to {
1346
+ opacity: 0;
1347
+ }
1348
+
1349
+ .m-loading-indicator {
1350
+ --m-loading-c1: var(--m-color-primary);
1351
+ --m-loading-c2: color-mix(in srgb, var(--m-color-primary) 62%, white);
1352
+ --m-loading-c3: var(--m-color-success);
1353
+ --m-loading-c4: var(--m-color-warning);
1354
+ --m-loading-c5: var(--m-color-danger);
1355
+ --m-loading-c6: var(--m-color-text-muted);
1356
+ --m-loading-spin: var(--m-motion-spin);
1357
+ --m-loading-aurora-glow: var(--m-motion-loading-aurora);
1358
+ --m-loading-bounce: var(--m-motion-loading-bounce);
1359
+ --m-loading-wave: var(--m-motion-spin-medium);
1360
+ --m-loading-pulse: var(--m-motion-loading-pulse);
1361
+ --m-loading-stardust: var(--m-motion-loading-stardust);
1362
+ --m-loading-circular-rotate: var(--m-motion-loading-circular-rotate);
1363
+ --m-loading-circular-dash: var(--m-motion-spin-dash);
1364
+ --m-loading-scale: 1;
1365
+
1366
+ align-items: center;
1367
+ display: inline-flex;
1368
+ flex-direction: column;
1369
+ font-family: var(--m-font-sans);
1370
+ gap: var(--m-space-3);
1371
+ justify-content: center;
1372
+ }
1373
+
1374
+ .m-loading-indicator__graphic {
1375
+ align-items: center;
1376
+ display: inline-flex;
1377
+ justify-content: center;
1378
+ transform: scale(var(--m-loading-scale));
1379
+ }
1380
+
1381
+ .m-loading-indicator__tip {
1382
+ color: var(--m-color-text-muted);
1383
+ font-size: var(--m-font-size-sm);
1384
+ line-height: 1;
1385
+ margin: 0;
1386
+ }
1387
+
1388
+ .m-loading-indicator--small {
1389
+ --m-loading-scale: 0.85;
1390
+ }
1391
+
1392
+ .m-loading-indicator--large {
1393
+ --m-loading-scale: 1.15;
1394
+ }
1395
+
1396
+ .m-loading-aurora,
1397
+ .m-loading-pulse,
1398
+ .m-loading-stardust {
1399
+ height: 3.75rem;
1400
+ position: relative;
1401
+ width: 3.75rem;
1402
+ }
1403
+
1404
+ .m-loading-aurora__ring {
1405
+ animation: m-loading-spin var(--m-loading-spin) cubic-bezier(0.5, 0, 0.5, 1) infinite;
1406
+ border: 4px solid transparent;
1407
+ border-bottom-color: var(--m-loading-c2);
1408
+ border-left-color: var(--m-loading-c3);
1409
+ border-radius: 50%;
1410
+ border-right-color: var(--m-loading-c5);
1411
+ border-top-color: var(--m-loading-c1);
1412
+ box-sizing: border-box;
1413
+ height: 100%;
1414
+ position: relative;
1415
+ width: 100%;
1416
+ z-index: 2;
1417
+ }
1418
+
1419
+ .m-loading-aurora__glow {
1420
+ animation: m-loading-spin var(--m-loading-aurora-glow) linear infinite reverse;
1421
+ /* Soft radial layers instead of animated blur (≤8px / no continuous filter). */
1422
+ background:
1423
+ radial-gradient(
1424
+ circle at 30% 30%,
1425
+ color-mix(in srgb, var(--m-loading-c1) 55%, transparent),
1426
+ transparent 62%
1427
+ ),
1428
+ radial-gradient(
1429
+ circle at 70% 65%,
1430
+ color-mix(in srgb, var(--m-loading-c5) 45%, transparent),
1431
+ transparent 58%
1432
+ ),
1433
+ radial-gradient(
1434
+ circle at 50% 50%,
1435
+ color-mix(in srgb, var(--m-loading-c2) 35%, transparent),
1436
+ transparent 70%
1437
+ );
1438
+ border-radius: 50%;
1439
+ inset: -10px;
1440
+ opacity: 0.55;
1441
+ position: absolute;
1442
+ z-index: 1;
1443
+ }
1444
+
1445
+ .m-loading-bounce {
1446
+ align-items: flex-end;
1447
+ display: flex;
1448
+ gap: var(--m-space-3);
1449
+ height: 3.125rem;
1450
+ }
1451
+
1452
+ .m-loading-bounce__ball {
1453
+ animation: m-loading-bounce var(--m-loading-bounce) cubic-bezier(0.34, 1.2, 0.64, 1) infinite alternate;
1454
+ background: var(--m-loading-c1);
1455
+ border-radius: 50%;
1456
+ display: block;
1457
+ height: 1rem;
1458
+ width: 1rem;
1459
+ }
1460
+
1461
+ .m-loading-bounce__ball:nth-child(1) {
1462
+ animation-delay: 0s;
1463
+ background: var(--m-loading-c5);
1464
+ }
1465
+
1466
+ .m-loading-bounce__ball:nth-child(2) {
1467
+ animation-delay: 0.15s;
1468
+ background: var(--m-loading-c2);
1469
+ }
1470
+
1471
+ .m-loading-bounce__ball:nth-child(3) {
1472
+ animation-delay: 0.3s;
1473
+ background: var(--m-loading-c6);
1474
+ }
1475
+
1476
+ .m-loading-wave {
1477
+ align-items: center;
1478
+ display: flex;
1479
+ gap: var(--m-space-1);
1480
+ height: 3.125rem;
1481
+ }
1482
+
1483
+ .m-loading-wave__bar {
1484
+ animation: m-loading-wave var(--m-loading-wave) ease-in-out infinite alternate;
1485
+ background: var(--m-loading-c1);
1486
+ border-radius: 0.375rem;
1487
+ display: block;
1488
+ height: 2.875rem;
1489
+ transform-origin: center center;
1490
+ width: 0.5rem;
1491
+ }
1492
+
1493
+ .m-loading-wave__bar:nth-child(1) {
1494
+ animation-delay: 0s;
1495
+ background: var(--m-loading-c1);
1496
+ }
1497
+
1498
+ .m-loading-wave__bar:nth-child(2) {
1499
+ animation-delay: 0.09s;
1500
+ background: var(--m-loading-c5);
1501
+ }
1502
+
1503
+ .m-loading-wave__bar:nth-child(3) {
1504
+ animation-delay: 0.18s;
1505
+ background: var(--m-loading-c2);
1506
+ }
1507
+
1508
+ .m-loading-wave__bar:nth-child(4) {
1509
+ animation-delay: 0.27s;
1510
+ background: var(--m-loading-c3);
1511
+ }
1512
+
1513
+ .m-loading-wave__bar:nth-child(5) {
1514
+ animation-delay: 0.36s;
1515
+ background: var(--m-loading-c6);
1516
+ }
1517
+
1518
+ .m-loading-pulse__ring {
1519
+ animation: m-loading-pulse var(--m-loading-pulse) ease-out infinite;
1520
+ border: 3px solid var(--m-loading-c2);
1521
+ border-radius: 50%;
1522
+ box-sizing: border-box;
1523
+ inset: 0;
1524
+ position: absolute;
1525
+ }
1526
+
1527
+ .m-loading-pulse__ring:nth-child(1) {
1528
+ animation-delay: 0s;
1529
+ border-color: var(--m-loading-c1);
1530
+ }
1531
+
1532
+ .m-loading-pulse__ring:nth-child(2) {
1533
+ animation-delay: 0.45s;
1534
+ border-color: var(--m-loading-c5);
1535
+ }
1536
+
1537
+ .m-loading-pulse__ring:nth-child(3) {
1538
+ animation-delay: 0.9s;
1539
+ border-color: var(--m-loading-c2);
1540
+ }
1541
+
1542
+ .m-loading-pulse__ring:nth-child(4) {
1543
+ animation-delay: 1.35s;
1544
+ border-color: var(--m-loading-c3);
1545
+ }
1546
+
1547
+ .m-loading-stardust__dot {
1548
+ --i: 0;
1549
+ animation: m-loading-stardust var(--m-loading-stardust) ease-in-out infinite;
1550
+ background: var(--m-loading-c1);
1551
+ border-radius: 50%;
1552
+ height: 0.5rem;
1553
+ left: 50%;
1554
+ position: absolute;
1555
+ top: 50%;
1556
+ transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateX(22px);
1557
+ width: 0.5rem;
1558
+ }
1559
+
1560
+ .m-loading-stardust__dot:nth-child(1) { animation-delay: 0s; background: var(--m-loading-c1); }
1561
+ .m-loading-stardust__dot:nth-child(2) { animation-delay: 0.08s; background: var(--m-loading-c5); }
1562
+ .m-loading-stardust__dot:nth-child(3) { animation-delay: 0.16s; background: var(--m-loading-c4); }
1563
+ .m-loading-stardust__dot:nth-child(4) { animation-delay: 0.24s; background: var(--m-loading-c2); }
1564
+ .m-loading-stardust__dot:nth-child(5) { animation-delay: 0.32s; background: var(--m-loading-c3); }
1565
+ .m-loading-stardust__dot:nth-child(6) { animation-delay: 0.4s; background: var(--m-loading-c6); }
1566
+ .m-loading-stardust__dot:nth-child(7) { animation-delay: 0.48s; background: color-mix(in srgb, var(--m-loading-c1) 55%, white); }
1567
+ .m-loading-stardust__dot:nth-child(8) { animation-delay: 0.56s; background: var(--m-loading-c2); }
1568
+
1569
+ .m-loading-circular {
1570
+ align-items: center;
1571
+ display: inline-flex;
1572
+ justify-content: center;
1573
+ }
1574
+
1575
+ .m-loading-circular__svg {
1576
+ animation: m-loading-circular-rotate var(--m-loading-circular-rotate) linear infinite;
1577
+ display: inline-block;
1578
+ height: 2.625rem;
1579
+ width: 2.625rem;
1580
+ }
1581
+
1582
+ .m-loading-circular__path {
1583
+ animation: m-loading-circular-dash var(--m-loading-circular-dash) ease-in-out infinite;
1584
+ fill: none;
1585
+ stroke: var(--m-loading-c1);
1586
+ stroke-linecap: round;
1587
+ stroke-width: 2;
1588
+ }
1589
+
1590
+ @keyframes m-loading-spin {
1591
+ from { transform: rotate(0deg); }
1592
+ to { transform: rotate(360deg); }
1593
+ }
1594
+
1595
+ @keyframes m-loading-bounce {
1596
+ from { transform: translateY(0) scale(1); }
1597
+ to { transform: translateY(-34px) scale(1.1); }
1598
+ }
1599
+
1600
+ @keyframes m-loading-wave {
1601
+ from { transform: scaleY(0.26); }
1602
+ to { transform: scaleY(1); }
1603
+ }
1604
+
1605
+ @keyframes m-loading-pulse {
1606
+ from { opacity: 1; transform: scale(0.15); }
1607
+ to { opacity: 0; transform: scale(1.6); }
1608
+ }
1609
+
1610
+ @keyframes m-loading-stardust {
1611
+ 0%,
1612
+ 100% {
1613
+ opacity: 0.2;
1614
+ transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg)) translateX(22px) scale(0.3);
1615
+ }
1616
+
1617
+ 50% {
1618
+ opacity: 1;
1619
+ transform: translate(-50%, -50%) rotate(calc(var(--i) * 45deg + 180deg)) translateX(28px) scale(1.2);
1620
+ }
1621
+ }
1622
+
1623
+ @keyframes m-loading-circular-rotate {
1624
+ to { transform: rotate(360deg); }
1625
+ }
1626
+
1627
+ @keyframes m-loading-circular-dash {
1628
+ 0% {
1629
+ stroke-dasharray: 1, 200;
1630
+ stroke-dashoffset: 0;
1631
+ }
1632
+
1633
+ 50% {
1634
+ stroke-dasharray: 90, 150;
1635
+ stroke-dashoffset: -40px;
1636
+ }
1637
+
1638
+ 100% {
1639
+ stroke-dasharray: 90, 150;
1640
+ stroke-dashoffset: -120px;
1641
+ }
1642
+ }
1643
+
1644
+ @media (prefers-reduced-motion: reduce) {
1645
+ html:not([data-m-ignore-reduced-motion]) .m-loading-aurora__ring,
1646
+ html:not([data-m-ignore-reduced-motion]) .m-loading-aurora__glow,
1647
+ html:not([data-m-ignore-reduced-motion]) .m-loading-bounce__ball,
1648
+ html:not([data-m-ignore-reduced-motion]) .m-loading-wave__bar,
1649
+ html:not([data-m-ignore-reduced-motion]) .m-loading-pulse__ring,
1650
+ html:not([data-m-ignore-reduced-motion]) .m-loading-stardust__dot,
1651
+ html:not([data-m-ignore-reduced-motion]) .m-loading-circular__svg,
1652
+ html:not([data-m-ignore-reduced-motion]) .m-loading-circular__path,
1653
+ html:not([data-m-ignore-reduced-motion]) .m-loading-enter-active,
1654
+ html:not([data-m-ignore-reduced-motion]) .m-loading-leave-active {
1655
+ animation: none;
1656
+ transition: none;
1657
+ }
1658
+ }
1659
+
1660
+ [data-m-motion="reduced"] .m-loading-aurora__ring,
1661
+ [data-m-motion="reduced"] .m-loading-aurora__glow,
1662
+ [data-m-motion="reduced"] .m-loading-bounce__ball,
1663
+ [data-m-motion="reduced"] .m-loading-wave__bar,
1664
+ [data-m-motion="reduced"] .m-loading-pulse__ring,
1665
+ [data-m-motion="reduced"] .m-loading-stardust__dot,
1666
+ [data-m-motion="reduced"] .m-loading-circular__svg,
1667
+ [data-m-motion="reduced"] .m-loading-circular__path,
1668
+ [data-m-motion="reduced"] .m-loading-enter-active,
1669
+ [data-m-motion="reduced"] .m-loading-leave-active,
1670
+ [data-m-motion="none"] .m-loading-aurora__ring,
1671
+ [data-m-motion="none"] .m-loading-aurora__glow,
1672
+ [data-m-motion="none"] .m-loading-bounce__ball,
1673
+ [data-m-motion="none"] .m-loading-wave__bar,
1674
+ [data-m-motion="none"] .m-loading-pulse__ring,
1675
+ [data-m-motion="none"] .m-loading-stardust__dot,
1676
+ [data-m-motion="none"] .m-loading-circular__svg,
1677
+ [data-m-motion="none"] .m-loading-circular__path,
1678
+ [data-m-motion="none"] .m-loading-enter-active,
1679
+ [data-m-motion="none"] .m-loading-leave-active {
1680
+ animation: none;
1681
+ transition: none;
1682
+ }
1683
+
1285
1684
  .m-pagination {
1286
1685
  --m-pagination-simple-width: 3.5rem;
1287
1686
  --m-pagination-jumper-width: 3.5rem;
@@ -1391,92 +1790,6 @@
1391
1790
  width: var(--m-pagination-jumper-width);
1392
1791
  }
1393
1792
 
1394
- /* —— Feedback: ProgressSpinner —— */
1395
- .m-progress-spinner {
1396
- --m-progress-spinner-size: calc(var(--m-space-8) + var(--m-space-2));
1397
- --m-progress-spinner-color: var(--m-color-primary);
1398
- animation: m-progress-spinner-rotate var(--m-motion-spin) linear infinite;
1399
- color: var(--m-progress-spinner-color);
1400
- display: inline-block;
1401
- font-family: var(--m-font-sans);
1402
- height: var(--m-progress-spinner-size);
1403
- vertical-align: middle;
1404
- width: var(--m-progress-spinner-size);
1405
- }
1406
-
1407
- .m-progress-spinner__circle {
1408
- animation: m-progress-spinner-dash var(--m-motion-spin-dash) ease-in-out infinite;
1409
- stroke: currentColor;
1410
- stroke-dasharray: 90, 150;
1411
- stroke-dashoffset: 0;
1412
- stroke-linecap: round;
1413
- }
1414
-
1415
- @keyframes m-progress-spinner-dash {
1416
- 0% {
1417
- stroke-dasharray: 1, 150;
1418
- stroke-dashoffset: 0;
1419
- }
1420
- 50% {
1421
- stroke-dasharray: 90, 150;
1422
- stroke-dashoffset: -35;
1423
- }
1424
- 100% {
1425
- stroke-dasharray: 90, 150;
1426
- stroke-dashoffset: -124;
1427
- }
1428
- }
1429
-
1430
- .m-progress-spinner--small {
1431
- --m-progress-spinner-size: var(--m-control-height-medium);
1432
- }
1433
-
1434
- .m-progress-spinner--large {
1435
- --m-progress-spinner-size: calc(var(--m-space-8) + var(--m-space-6));
1436
- }
1437
-
1438
- .m-progress-spinner-wrap {
1439
- position: relative;
1440
- }
1441
-
1442
- .m-progress-spinner-wrap--active .m-progress-spinner-wrap__content {
1443
- opacity: var(--m-opacity-disabled);
1444
- pointer-events: none;
1445
- }
1446
-
1447
- .m-progress-spinner-wrap__overlay {
1448
- align-items: center;
1449
- background: color-mix(in srgb, var(--m-color-surface) 72%, transparent);
1450
- display: flex;
1451
- flex-direction: column;
1452
- gap: var(--m-space-2);
1453
- inset: 0;
1454
- justify-content: center;
1455
- position: absolute;
1456
- z-index: var(--m-blockui-z-index, 10);
1457
- }
1458
-
1459
- .m-progress-spinner__description {
1460
- color: var(--m-color-text-muted);
1461
- font-family: var(--m-font-sans);
1462
- font-size: var(--m-font-size-sm);
1463
- margin: 0;
1464
- }
1465
-
1466
- @media (prefers-reduced-motion: reduce) {
1467
- html:not([data-m-ignore-reduced-motion]) .m-progress-spinner,
1468
- html:not([data-m-ignore-reduced-motion]) .m-progress-spinner__circle {
1469
- animation: none;
1470
- }
1471
- }
1472
-
1473
- [data-m-motion="reduced"] .m-progress-spinner,
1474
- [data-m-motion="reduced"] .m-progress-spinner__circle,
1475
- [data-m-motion="none"] .m-progress-spinner,
1476
- [data-m-motion="none"] .m-progress-spinner__circle {
1477
- animation: none;
1478
- }
1479
-
1480
1793
  .m-radio__control {
1481
1794
  border-radius: var(--m-radius-full);
1482
1795
  }
@@ -1854,15 +2167,15 @@
1854
2167
  }
1855
2168
 
1856
2169
  .m-table__header-inner {
1857
- display: inline-flex;
2170
+ display: flex;
2171
+ flex-direction: row;
1858
2172
  align-items: center;
1859
2173
  gap: var(--m-space-1);
1860
2174
  box-sizing: border-box;
2175
+ width: 100%;
1861
2176
  max-width: 100%;
1862
2177
  padding: 0 var(--m-table-cell-padding-inline);
1863
2178
  overflow: hidden;
1864
- line-height: var(--m-table-cell-line-height);
1865
- vertical-align: middle;
1866
2179
  }
1867
2180
 
1868
2181
  .m-table__header-inner--left {
@@ -1878,47 +2191,47 @@
1878
2191
  }
1879
2192
 
1880
2193
  .m-table__header-text {
2194
+ min-width: 0;
1881
2195
  overflow: hidden;
1882
2196
  text-overflow: ellipsis;
1883
2197
  white-space: nowrap;
2198
+ line-height: var(--m-table-cell-line-height);
1884
2199
  }
1885
2200
 
1886
- .m-table__caret-wrapper {
1887
- position: relative;
1888
- display: inline-flex;
2201
+ .m-table__sort {
2202
+ display: flex;
1889
2203
  flex-direction: column;
1890
2204
  flex-shrink: 0;
1891
2205
  align-items: center;
1892
- width: var(--m-space-6);
1893
- height: calc(var(--m-space-2) + var(--m-space-1));
1894
- overflow: initial;
1895
- vertical-align: middle;
2206
+ justify-content: center;
2207
+ gap: 2px;
2208
+ line-height: 0;
1896
2209
  }
1897
2210
 
1898
- .m-table__sort-caret {
1899
- position: absolute;
1900
- left: calc(var(--m-space-2) - 1px);
1901
- width: 0;
1902
- height: 0;
1903
- border: calc(var(--m-space-1) + 1px) solid transparent;
2211
+ .m-table__sort-icon.m-icon {
2212
+ display: block;
2213
+ width: 0.75rem;
2214
+ height: 0.375rem;
2215
+ color: color-mix(in srgb, var(--m-color-text-muted) 55%, transparent);
1904
2216
  }
1905
2217
 
1906
- .m-table__sort-caret--ascending {
1907
- top: calc(var(--m-space-1) * -1);
1908
- border-bottom-color: color-mix(in srgb, var(--m-color-text-muted) 55%, transparent);
2218
+ .m-table__sort-icon--ascending,
2219
+ .m-table__sort-icon--descending {
2220
+ margin: 0;
1909
2221
  }
1910
2222
 
1911
- .m-table__sort-caret--descending {
1912
- bottom: calc(var(--m-space-1) * -0.5);
1913
- border-top-color: color-mix(in srgb, var(--m-color-text-muted) 55%, transparent);
2223
+ .m-table__header-cell--sortable:hover .m-table__sort-icon {
2224
+ color: color-mix(in srgb, var(--m-color-text-muted) 80%, transparent);
1914
2225
  }
1915
2226
 
1916
- .m-table__header-cell--ascending .m-table__sort-caret--ascending {
1917
- border-bottom-color: var(--m-color-primary);
2227
+ .m-table__header-cell--ascending .m-table__sort-icon--ascending,
2228
+ .m-table__header-cell--descending .m-table__sort-icon--descending {
2229
+ color: var(--m-color-primary);
1918
2230
  }
1919
2231
 
1920
- .m-table__header-cell--descending .m-table__sort-caret--descending {
1921
- border-top-color: var(--m-color-primary);
2232
+ .m-table__header-cell--sortable:hover.m-table__header-cell--ascending .m-table__sort-icon--ascending,
2233
+ .m-table__header-cell--sortable:hover.m-table__header-cell--descending .m-table__sort-icon--descending {
2234
+ color: var(--m-color-primary);
1922
2235
  }
1923
2236
 
1924
2237
  .m-table__multi-sort-number {
@@ -2080,30 +2393,41 @@
2080
2393
  .m-table__cell--expanded {
2081
2394
  padding: var(--m-space-4) calc(var(--m-table-cell-padding-inline) * 2);
2082
2395
  background: var(--m-table-expanded-bg);
2396
+ position: relative;
2083
2397
  }
2084
2398
 
2085
2399
  .m-table__cell--expanded:hover {
2086
2400
  background: var(--m-table-expanded-bg) !important;
2087
2401
  }
2088
2402
 
2089
- .m-table__loading {
2403
+ .m-table__loading-line {
2404
+ background: color-mix(in srgb, var(--m-color-primary) 16%, transparent);
2405
+ border-radius: var(--m-radius-full);
2406
+ height: calc(var(--m-space-1) / 2);
2407
+ left: 0;
2408
+ overflow: hidden;
2090
2409
  position: absolute;
2091
- inset: 0;
2092
- z-index: 4;
2093
- display: flex;
2094
- align-items: center;
2095
- justify-content: center;
2410
+ top: 0;
2411
+ width: 100%;
2096
2412
  }
2097
2413
 
2098
- .m-table__loading-mask {
2414
+ .m-table__loading-line::before {
2415
+ animation: m-table-loading-line var(--m-motion-pulse) var(--m-motion-ease) infinite;
2416
+ background: var(--m-color-primary);
2417
+ border-radius: inherit;
2418
+ content: '';
2419
+ inset: 0 auto 0 0;
2099
2420
  position: absolute;
2100
- inset: 0;
2101
- background: color-mix(in srgb, var(--m-color-surface) 72%, transparent);
2421
+ width: 40%;
2102
2422
  }
2103
2423
 
2104
- .m-table__loading-body {
2105
- position: relative;
2106
- z-index: 1;
2424
+ @keyframes m-table-loading-line {
2425
+ 0% {
2426
+ transform: translateX(-120%);
2427
+ }
2428
+ 100% {
2429
+ transform: translateX(320%);
2430
+ }
2107
2431
  }
2108
2432
 
2109
2433
  .m-table__message {
@@ -2169,4 +2493,13 @@
2169
2493
  html:not([data-m-ignore-reduced-motion]) .m-table__expand-btn {
2170
2494
  transition: none;
2171
2495
  }
2496
+
2497
+ html:not([data-m-ignore-reduced-motion]) .m-table__loading-line::before {
2498
+ animation: none;
2499
+ }
2500
+ }
2501
+
2502
+ [data-m-motion="reduced"] .m-table__loading-line::before,
2503
+ [data-m-motion="none"] .m-table__loading-line::before {
2504
+ animation: none;
2172
2505
  }
@@ -2,8 +2,8 @@ import '../theme/styles.css'
2
2
  import '../styles/base.css'
3
3
  import '../components/Checkbox/styles.css'
4
4
  import '../components/Icon/styles.css'
5
+ import '../components/Loading/styles.css'
5
6
  import '../components/Pagination/styles.css'
6
- import '../components/ProgressSpinner/styles.css'
7
7
  import '../components/Radio/styles.css'
8
8
  import '../components/Scrollbar/styles.css'
9
9
  import '../components/Tooltip/styles.css'
@@ -1,5 +1,5 @@
1
1
  import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
2
- import { t } from "../Icon-lcN1rS87.js";
2
+ import { t } from "../Icon-od9Ob-Ay.js";
3
3
  import { t as n } from "../useMId-BXFYayPP.js";
4
4
  import { t as r } from "../Scrollbar-DTeJ8P5b.js";
5
5
  import { n as i } from "../locale-Bzm2nbEp.js";
@@ -529,9 +529,13 @@
529
529
  border-radius: var(--m-radius-md);
530
530
  box-shadow: var(--m-shadow-md);
531
531
  max-height: var(--m-dropdown-submenu-max-height);
532
+ max-width: calc(100vw - 2 * var(--m-space-4));
532
533
  min-width: 10rem;
533
534
  overflow: hidden;
534
535
  padding: var(--m-space-1);
536
+ /* Same as .m-dropdown__menu: size to content instead of being clamped
537
+ by the space left of the anchor in the viewport. */
538
+ width: max-content;
535
539
  }
536
540
 
537
541
  .m-dropdown__submenu--teleported {
package/dist/tag/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as e, t } from "../types-DGuu4Eg4.js";
2
- import { t as n } from "../Icon-lcN1rS87.js";
2
+ import { t as n } from "../Icon-od9Ob-Ay.js";
3
3
  import { o as r } from "../config-CapALqt3.js";
4
4
  import { n as i } from "../locale-Bzm2nbEp.js";
5
5
  import "./style.js";