morya-ui 0.3.2 → 0.3.3
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.
- package/CHANGELOG.md +30 -0
- package/dist/{Button-dMqRmoYa.js → Button-gBiRj7wz.js} +11 -6
- package/dist/{FlyoutSubmenu-BrUPmJa1.js → FlyoutSubmenu-H_741alW.js} +2 -2
- package/dist/{Loading-BSsRs6v9.js → Loading-qS2Yv_gm.js} +1 -1
- package/dist/{Pagination-CqpC5EAs.js → Pagination-Bvv2qvEK.js} +1 -1
- package/dist/{Popover-BQ07q4VV.js → Popover-rnZG_ap0.js} +3 -3
- package/dist/{Select-CKGrSoaC.js → Select-CiXd074W.js} +3 -3
- package/dist/{Tooltip-D5DO0B3z.js → Tooltip-B02o9BOW.js} +3 -3
- package/dist/auto-complete/index.js +3 -3
- package/dist/block-ui/index.js +1 -1
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +277 -40
- package/dist/cascade-select/index.js +3 -3
- package/dist/command-menu/index.js +1 -1
- package/dist/components/Button/Button.vue.d.ts +1 -0
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/styles.css +277 -40
- package/dist/components/Button/types.d.ts +9 -4
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +19 -14
- package/dist/components/Menu/styles.css +4 -4
- package/dist/components/Popover/styles.css +11 -72
- package/dist/config-provider/style.css +277 -40
- package/dist/confirm-dialog/index.js +2 -2
- package/dist/confirm-dialog/style.css +277 -40
- package/dist/confirm-popup/index.js +5 -5
- package/dist/confirm-popup/style.css +277 -40
- package/dist/context-menu/index.js +105 -96
- package/dist/context-menu/style.css +19 -14
- package/dist/data-view/index.js +2 -2
- package/dist/date-picker/index.js +3 -3
- package/dist/dialog/index.js +2 -2
- package/dist/dialog/style.css +277 -40
- package/dist/drawer/index.js +1 -1
- package/dist/dropdown/index.js +4 -4
- package/dist/index.js +37 -21
- package/dist/loading/index.js +1 -1
- package/dist/mega-menu/index.js +3 -3
- package/dist/menu/index.js +5 -5
- package/dist/menu/style.css +15 -76
- package/dist/menubar/index.js +3 -3
- package/dist/message/index.js +1 -1
- package/dist/{overlayPlacement-Cd20JTD_.js → overlayPlacement-qwEJPVS4.js} +8 -8
- package/dist/page/index.js +1 -1
- package/dist/page/style.css +277 -40
- package/dist/pagination/index.js +1 -1
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +11 -72
- package/dist/select/index.js +1 -1
- package/dist/shared/overlayPlacement.d.ts.map +1 -1
- package/dist/speed-dial/index.js +3 -3
- package/dist/split-button/index.js +3 -3
- package/dist/split-button/style.css +277 -40
- package/dist/styles.css +1 -1
- package/dist/table/index.js +3 -3
- package/dist/theme/motionPresets.d.ts.map +1 -1
- package/dist/tiered-menu/index.js +4 -4
- package/dist/toast/index.js +1 -1
- package/dist/tooltip/index.js +1 -1
- package/dist/tree-select/index.js +3 -3
- package/dist/{useFloatingViewportSync-DZdJ7W8n.js → useFloatingViewportSync-wLLKIGUA.js} +4 -1
- package/dist/{useMotionTransition-Bxnnb_9u.js → useMotionTransition-95Y79FoL.js} +1 -1
- package/package.json +2 -1
package/dist/dialog/style.css
CHANGED
|
@@ -1375,7 +1375,30 @@
|
|
|
1375
1375
|
);
|
|
1376
1376
|
}
|
|
1377
1377
|
|
|
1378
|
-
|
|
1378
|
+
/* Idle matches outlined hover; hover/active deepen the tint. */
|
|
1379
|
+
.m-button--plain {
|
|
1380
|
+
--m-button-bg: color-mix(
|
|
1381
|
+
in srgb,
|
|
1382
|
+
var(--m-button-border) 10%,
|
|
1383
|
+
transparent
|
|
1384
|
+
);
|
|
1385
|
+
--m-button-fg: var(--m-button-border);
|
|
1386
|
+
--m-button-hover-bg: color-mix(
|
|
1387
|
+
in srgb,
|
|
1388
|
+
var(--m-button-border) 16%,
|
|
1389
|
+
transparent
|
|
1390
|
+
);
|
|
1391
|
+
--m-button-hover-fg: var(--m-button-border);
|
|
1392
|
+
--m-button-hover-border: var(--m-button-border);
|
|
1393
|
+
--m-button-active-bg: color-mix(
|
|
1394
|
+
in srgb,
|
|
1395
|
+
var(--m-button-border) 22%,
|
|
1396
|
+
transparent
|
|
1397
|
+
);
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
.m-button--secondary.m-button--outlined,
|
|
1401
|
+
.m-button--secondary.m-button--plain {
|
|
1379
1402
|
--m-button-border: var(--m-color-border);
|
|
1380
1403
|
--m-button-fg: var(--m-color-text);
|
|
1381
1404
|
--m-button-hover-fg: var(--m-color-text);
|
|
@@ -1386,13 +1409,16 @@
|
|
|
1386
1409
|
--m-button-bg: transparent;
|
|
1387
1410
|
--m-button-border: transparent;
|
|
1388
1411
|
--m-button-fg: var(--m-color-primary);
|
|
1412
|
+
--m-button-hover-fg: var(--m-color-primary);
|
|
1413
|
+
--m-button-hover-border: transparent;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
.m-button--text {
|
|
1389
1417
|
--m-button-hover-bg: color-mix(
|
|
1390
1418
|
in srgb,
|
|
1391
1419
|
var(--m-color-primary) 10%,
|
|
1392
1420
|
transparent
|
|
1393
1421
|
);
|
|
1394
|
-
--m-button-hover-fg: var(--m-color-primary);
|
|
1395
|
-
--m-button-hover-border: transparent;
|
|
1396
1422
|
--m-button-active-bg: color-mix(
|
|
1397
1423
|
in srgb,
|
|
1398
1424
|
var(--m-color-primary) 16%,
|
|
@@ -1400,8 +1426,24 @@
|
|
|
1400
1426
|
);
|
|
1401
1427
|
}
|
|
1402
1428
|
|
|
1403
|
-
.m-button--
|
|
1404
|
-
|
|
1429
|
+
.m-button--link {
|
|
1430
|
+
--m-button-bg: transparent;
|
|
1431
|
+
--m-button-hover-bg: transparent;
|
|
1432
|
+
--m-button-active-bg: transparent;
|
|
1433
|
+
height: auto;
|
|
1434
|
+
min-height: 0;
|
|
1435
|
+
padding: 0;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
.m-button--link.m-button--link-underline:hover:not(:disabled) {
|
|
1439
|
+
text-decoration: underline;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
.m-button--link:not(.m-button--link-underline):hover:not(:disabled) {
|
|
1443
|
+
opacity: 0.8;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
.m-button--secondary.m-button--text {
|
|
1405
1447
|
--m-button-fg: var(--m-color-text-muted);
|
|
1406
1448
|
--m-button-hover-bg: color-mix(
|
|
1407
1449
|
in srgb,
|
|
@@ -1411,8 +1453,12 @@
|
|
|
1411
1453
|
--m-button-hover-fg: var(--m-color-text);
|
|
1412
1454
|
}
|
|
1413
1455
|
|
|
1456
|
+
.m-button--secondary.m-button--link {
|
|
1457
|
+
--m-button-fg: var(--m-color-text-muted);
|
|
1458
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1414
1461
|
.m-button--success.m-button--text,
|
|
1415
|
-
.m-button--success.m-button--link,
|
|
1416
1462
|
.m-button--success.m-button--outlined {
|
|
1417
1463
|
--m-button-fg: var(--m-color-success);
|
|
1418
1464
|
--m-button-border: var(--m-color-success);
|
|
@@ -1425,8 +1471,12 @@
|
|
|
1425
1471
|
--m-button-hover-border: var(--m-color-success);
|
|
1426
1472
|
}
|
|
1427
1473
|
|
|
1474
|
+
.m-button--success.m-button--link {
|
|
1475
|
+
--m-button-fg: var(--m-color-success);
|
|
1476
|
+
--m-button-hover-fg: var(--m-color-success);
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1428
1479
|
.m-button--info.m-button--text,
|
|
1429
|
-
.m-button--info.m-button--link,
|
|
1430
1480
|
.m-button--info.m-button--outlined {
|
|
1431
1481
|
--m-button-fg: var(--m-color-info);
|
|
1432
1482
|
--m-button-border: var(--m-color-info);
|
|
@@ -1439,8 +1489,12 @@
|
|
|
1439
1489
|
--m-button-hover-border: var(--m-color-info);
|
|
1440
1490
|
}
|
|
1441
1491
|
|
|
1492
|
+
.m-button--info.m-button--link {
|
|
1493
|
+
--m-button-fg: var(--m-color-info);
|
|
1494
|
+
--m-button-hover-fg: var(--m-color-info);
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1442
1497
|
.m-button--warn.m-button--text,
|
|
1443
|
-
.m-button--warn.m-button--link,
|
|
1444
1498
|
.m-button--warn.m-button--outlined {
|
|
1445
1499
|
--m-button-fg: var(--m-color-warn);
|
|
1446
1500
|
--m-button-border: var(--m-color-warn);
|
|
@@ -1453,8 +1507,12 @@
|
|
|
1453
1507
|
--m-button-hover-border: var(--m-color-warn);
|
|
1454
1508
|
}
|
|
1455
1509
|
|
|
1510
|
+
.m-button--warn.m-button--link {
|
|
1511
|
+
--m-button-fg: var(--m-color-warn);
|
|
1512
|
+
--m-button-hover-fg: var(--m-color-warn);
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1456
1515
|
.m-button--help.m-button--text,
|
|
1457
|
-
.m-button--help.m-button--link,
|
|
1458
1516
|
.m-button--help.m-button--outlined {
|
|
1459
1517
|
--m-button-fg: var(--m-color-help);
|
|
1460
1518
|
--m-button-border: var(--m-color-help);
|
|
@@ -1467,8 +1525,12 @@
|
|
|
1467
1525
|
--m-button-hover-border: var(--m-color-help);
|
|
1468
1526
|
}
|
|
1469
1527
|
|
|
1528
|
+
.m-button--help.m-button--link {
|
|
1529
|
+
--m-button-fg: var(--m-color-help);
|
|
1530
|
+
--m-button-hover-fg: var(--m-color-help);
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1470
1533
|
.m-button--danger.m-button--text,
|
|
1471
|
-
.m-button--danger.m-button--link,
|
|
1472
1534
|
.m-button--danger.m-button--outlined {
|
|
1473
1535
|
--m-button-fg: var(--m-color-danger);
|
|
1474
1536
|
--m-button-border: var(--m-color-danger);
|
|
@@ -1481,8 +1543,12 @@
|
|
|
1481
1543
|
--m-button-hover-border: var(--m-color-danger);
|
|
1482
1544
|
}
|
|
1483
1545
|
|
|
1546
|
+
.m-button--danger.m-button--link {
|
|
1547
|
+
--m-button-fg: var(--m-color-danger);
|
|
1548
|
+
--m-button-hover-fg: var(--m-color-danger);
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1484
1551
|
.m-button--contrast.m-button--text,
|
|
1485
|
-
.m-button--contrast.m-button--link,
|
|
1486
1552
|
.m-button--contrast.m-button--outlined {
|
|
1487
1553
|
--m-button-fg: var(--m-color-contrast);
|
|
1488
1554
|
--m-button-border: var(--m-color-contrast);
|
|
@@ -1495,9 +1561,14 @@
|
|
|
1495
1561
|
--m-button-hover-border: var(--m-color-contrast);
|
|
1496
1562
|
}
|
|
1497
1563
|
|
|
1564
|
+
.m-button--contrast.m-button--link {
|
|
1565
|
+
--m-button-fg: var(--m-color-contrast);
|
|
1566
|
+
--m-button-hover-fg: var(--m-color-contrast);
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1498
1569
|
.m-button--plain.m-button--text,
|
|
1499
|
-
.m-button--plain.m-button--outlined
|
|
1500
|
-
|
|
1570
|
+
.m-button--plain.m-button--outlined {
|
|
1571
|
+
--m-button-bg: transparent;
|
|
1501
1572
|
--m-button-fg: var(--m-color-text-muted);
|
|
1502
1573
|
--m-button-border: var(--m-color-border);
|
|
1503
1574
|
--m-button-hover-bg: color-mix(
|
|
@@ -1507,69 +1578,178 @@
|
|
|
1507
1578
|
);
|
|
1508
1579
|
--m-button-hover-fg: var(--m-color-text);
|
|
1509
1580
|
--m-button-hover-border: var(--m-color-border);
|
|
1581
|
+
--m-button-active-bg: color-mix(
|
|
1582
|
+
in srgb,
|
|
1583
|
+
var(--m-color-text-muted) 18%,
|
|
1584
|
+
transparent
|
|
1585
|
+
);
|
|
1510
1586
|
}
|
|
1511
1587
|
|
|
1512
|
-
.m-button--link {
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
padding: 0;
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
.m-button--link:hover:not(:disabled) {
|
|
1519
|
-
text-decoration: underline;
|
|
1588
|
+
.m-button--plain.m-button--link {
|
|
1589
|
+
--m-button-fg: var(--m-color-text-muted);
|
|
1590
|
+
--m-button-hover-fg: var(--m-color-text);
|
|
1520
1591
|
}
|
|
1521
1592
|
|
|
1522
1593
|
.m-button--ghost {
|
|
1523
|
-
--m-button-bg:
|
|
1524
|
-
|
|
1594
|
+
--m-button-bg: color-mix(
|
|
1595
|
+
in srgb,
|
|
1596
|
+
var(--m-color-primary) 10%,
|
|
1597
|
+
transparent
|
|
1598
|
+
);
|
|
1599
|
+
--m-button-border: transparent;
|
|
1600
|
+
--m-button-fg: var(--m-color-primary);
|
|
1525
1601
|
--m-button-hover-bg: color-mix(
|
|
1526
1602
|
in srgb,
|
|
1527
|
-
var(--m-
|
|
1603
|
+
var(--m-color-primary) 16%,
|
|
1528
1604
|
transparent
|
|
1529
1605
|
);
|
|
1530
|
-
--m-button-hover-fg: var(--m-
|
|
1531
|
-
--m-button-hover-border:
|
|
1606
|
+
--m-button-hover-fg: var(--m-color-primary);
|
|
1607
|
+
--m-button-hover-border: transparent;
|
|
1532
1608
|
--m-button-active-bg: color-mix(
|
|
1533
1609
|
in srgb,
|
|
1534
|
-
var(--m-
|
|
1610
|
+
var(--m-color-primary) 22%,
|
|
1535
1611
|
transparent
|
|
1536
1612
|
);
|
|
1537
1613
|
}
|
|
1538
1614
|
|
|
1539
1615
|
.m-button--secondary.m-button--ghost {
|
|
1540
|
-
--m-button-
|
|
1616
|
+
--m-button-bg: color-mix(
|
|
1617
|
+
in srgb,
|
|
1618
|
+
var(--m-color-text-muted) 12%,
|
|
1619
|
+
transparent
|
|
1620
|
+
);
|
|
1541
1621
|
--m-button-fg: var(--m-color-text);
|
|
1622
|
+
--m-button-hover-bg: color-mix(
|
|
1623
|
+
in srgb,
|
|
1624
|
+
var(--m-color-text-muted) 18%,
|
|
1625
|
+
transparent
|
|
1626
|
+
);
|
|
1542
1627
|
--m-button-hover-fg: var(--m-color-text);
|
|
1628
|
+
--m-button-active-bg: color-mix(
|
|
1629
|
+
in srgb,
|
|
1630
|
+
var(--m-color-text-muted) 24%,
|
|
1631
|
+
transparent
|
|
1632
|
+
);
|
|
1543
1633
|
}
|
|
1544
1634
|
|
|
1545
1635
|
.m-button--success.m-button--ghost {
|
|
1636
|
+
--m-button-bg: color-mix(
|
|
1637
|
+
in srgb,
|
|
1638
|
+
var(--m-color-success) 10%,
|
|
1639
|
+
transparent
|
|
1640
|
+
);
|
|
1546
1641
|
--m-button-fg: var(--m-color-success);
|
|
1547
|
-
--m-button-
|
|
1642
|
+
--m-button-hover-bg: color-mix(
|
|
1643
|
+
in srgb,
|
|
1644
|
+
var(--m-color-success) 16%,
|
|
1645
|
+
transparent
|
|
1646
|
+
);
|
|
1647
|
+
--m-button-hover-fg: var(--m-color-success);
|
|
1648
|
+
--m-button-active-bg: color-mix(
|
|
1649
|
+
in srgb,
|
|
1650
|
+
var(--m-color-success) 22%,
|
|
1651
|
+
transparent
|
|
1652
|
+
);
|
|
1548
1653
|
}
|
|
1549
1654
|
|
|
1550
1655
|
.m-button--info.m-button--ghost {
|
|
1656
|
+
--m-button-bg: color-mix(
|
|
1657
|
+
in srgb,
|
|
1658
|
+
var(--m-color-info) 10%,
|
|
1659
|
+
transparent
|
|
1660
|
+
);
|
|
1551
1661
|
--m-button-fg: var(--m-color-info);
|
|
1552
|
-
--m-button-
|
|
1662
|
+
--m-button-hover-bg: color-mix(
|
|
1663
|
+
in srgb,
|
|
1664
|
+
var(--m-color-info) 16%,
|
|
1665
|
+
transparent
|
|
1666
|
+
);
|
|
1667
|
+
--m-button-hover-fg: var(--m-color-info);
|
|
1668
|
+
--m-button-active-bg: color-mix(
|
|
1669
|
+
in srgb,
|
|
1670
|
+
var(--m-color-info) 22%,
|
|
1671
|
+
transparent
|
|
1672
|
+
);
|
|
1553
1673
|
}
|
|
1554
1674
|
|
|
1555
1675
|
.m-button--warn.m-button--ghost {
|
|
1676
|
+
--m-button-bg: color-mix(
|
|
1677
|
+
in srgb,
|
|
1678
|
+
var(--m-color-warn) 10%,
|
|
1679
|
+
transparent
|
|
1680
|
+
);
|
|
1556
1681
|
--m-button-fg: var(--m-color-warn);
|
|
1557
|
-
--m-button-
|
|
1682
|
+
--m-button-hover-bg: color-mix(
|
|
1683
|
+
in srgb,
|
|
1684
|
+
var(--m-color-warn) 16%,
|
|
1685
|
+
transparent
|
|
1686
|
+
);
|
|
1687
|
+
--m-button-hover-fg: var(--m-color-warn);
|
|
1688
|
+
--m-button-active-bg: color-mix(
|
|
1689
|
+
in srgb,
|
|
1690
|
+
var(--m-color-warn) 22%,
|
|
1691
|
+
transparent
|
|
1692
|
+
);
|
|
1558
1693
|
}
|
|
1559
1694
|
|
|
1560
1695
|
.m-button--help.m-button--ghost {
|
|
1696
|
+
--m-button-bg: color-mix(
|
|
1697
|
+
in srgb,
|
|
1698
|
+
var(--m-color-help) 10%,
|
|
1699
|
+
transparent
|
|
1700
|
+
);
|
|
1561
1701
|
--m-button-fg: var(--m-color-help);
|
|
1562
|
-
--m-button-
|
|
1702
|
+
--m-button-hover-bg: color-mix(
|
|
1703
|
+
in srgb,
|
|
1704
|
+
var(--m-color-help) 16%,
|
|
1705
|
+
transparent
|
|
1706
|
+
);
|
|
1707
|
+
--m-button-hover-fg: var(--m-color-help);
|
|
1708
|
+
--m-button-active-bg: color-mix(
|
|
1709
|
+
in srgb,
|
|
1710
|
+
var(--m-color-help) 22%,
|
|
1711
|
+
transparent
|
|
1712
|
+
);
|
|
1563
1713
|
}
|
|
1564
1714
|
|
|
1565
1715
|
.m-button--danger.m-button--ghost {
|
|
1716
|
+
--m-button-bg: color-mix(
|
|
1717
|
+
in srgb,
|
|
1718
|
+
var(--m-color-danger) 10%,
|
|
1719
|
+
transparent
|
|
1720
|
+
);
|
|
1566
1721
|
--m-button-fg: var(--m-color-danger);
|
|
1567
|
-
--m-button-
|
|
1722
|
+
--m-button-hover-bg: color-mix(
|
|
1723
|
+
in srgb,
|
|
1724
|
+
var(--m-color-danger) 16%,
|
|
1725
|
+
transparent
|
|
1726
|
+
);
|
|
1727
|
+
--m-button-hover-fg: var(--m-color-danger);
|
|
1728
|
+
--m-button-active-bg: color-mix(
|
|
1729
|
+
in srgb,
|
|
1730
|
+
var(--m-color-danger) 22%,
|
|
1731
|
+
transparent
|
|
1732
|
+
);
|
|
1568
1733
|
}
|
|
1569
1734
|
|
|
1570
1735
|
.m-button--contrast.m-button--ghost {
|
|
1736
|
+
--m-button-bg: color-mix(
|
|
1737
|
+
in srgb,
|
|
1738
|
+
var(--m-color-contrast) 10%,
|
|
1739
|
+
transparent
|
|
1740
|
+
);
|
|
1571
1741
|
--m-button-fg: var(--m-color-contrast);
|
|
1572
|
-
--m-button-
|
|
1742
|
+
--m-button-hover-bg: color-mix(
|
|
1743
|
+
in srgb,
|
|
1744
|
+
var(--m-color-contrast) 16%,
|
|
1745
|
+
transparent
|
|
1746
|
+
);
|
|
1747
|
+
--m-button-hover-fg: var(--m-color-contrast);
|
|
1748
|
+
--m-button-active-bg: color-mix(
|
|
1749
|
+
in srgb,
|
|
1750
|
+
var(--m-color-contrast) 22%,
|
|
1751
|
+
transparent
|
|
1752
|
+
);
|
|
1573
1753
|
}
|
|
1574
1754
|
|
|
1575
1755
|
.m-button--quaternary {
|
|
@@ -1608,11 +1788,7 @@
|
|
|
1608
1788
|
);
|
|
1609
1789
|
}
|
|
1610
1790
|
|
|
1611
|
-
.m-button--custom.m-button--outlined
|
|
1612
|
-
.m-button--custom.m-button--ghost,
|
|
1613
|
-
.m-button--custom.m-button--text,
|
|
1614
|
-
.m-button--custom.m-button--quaternary,
|
|
1615
|
-
.m-button--custom.m-button--link {
|
|
1791
|
+
.m-button--custom.m-button--outlined {
|
|
1616
1792
|
--m-button-bg: transparent;
|
|
1617
1793
|
--m-button-fg: var(--m-button-color);
|
|
1618
1794
|
--m-button-border: var(--m-button-color);
|
|
@@ -1625,11 +1801,72 @@
|
|
|
1625
1801
|
--m-button-hover-border: var(--m-button-color);
|
|
1626
1802
|
}
|
|
1627
1803
|
|
|
1804
|
+
.m-button--custom.m-button--ghost {
|
|
1805
|
+
--m-button-bg: color-mix(
|
|
1806
|
+
in srgb,
|
|
1807
|
+
var(--m-button-color) 10%,
|
|
1808
|
+
transparent
|
|
1809
|
+
);
|
|
1810
|
+
--m-button-fg: var(--m-button-color);
|
|
1811
|
+
--m-button-border: transparent;
|
|
1812
|
+
--m-button-hover-bg: color-mix(
|
|
1813
|
+
in srgb,
|
|
1814
|
+
var(--m-button-color) 16%,
|
|
1815
|
+
transparent
|
|
1816
|
+
);
|
|
1817
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1818
|
+
--m-button-hover-border: transparent;
|
|
1819
|
+
--m-button-active-bg: color-mix(
|
|
1820
|
+
in srgb,
|
|
1821
|
+
var(--m-button-color) 22%,
|
|
1822
|
+
transparent
|
|
1823
|
+
);
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1628
1826
|
.m-button--custom.m-button--text,
|
|
1629
|
-
.m-button--custom.m-button--quaternary
|
|
1827
|
+
.m-button--custom.m-button--quaternary {
|
|
1828
|
+
--m-button-bg: transparent;
|
|
1829
|
+
--m-button-fg: var(--m-button-color);
|
|
1830
|
+
--m-button-border: transparent;
|
|
1831
|
+
--m-button-hover-bg: color-mix(
|
|
1832
|
+
in srgb,
|
|
1833
|
+
var(--m-button-color) 12%,
|
|
1834
|
+
transparent
|
|
1835
|
+
);
|
|
1836
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1837
|
+
--m-button-hover-border: transparent;
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
.m-button--custom.m-button--plain {
|
|
1841
|
+
--m-button-bg: color-mix(
|
|
1842
|
+
in srgb,
|
|
1843
|
+
var(--m-button-color) 10%,
|
|
1844
|
+
transparent
|
|
1845
|
+
);
|
|
1846
|
+
--m-button-fg: var(--m-button-color);
|
|
1847
|
+
--m-button-border: var(--m-button-color);
|
|
1848
|
+
--m-button-hover-bg: color-mix(
|
|
1849
|
+
in srgb,
|
|
1850
|
+
var(--m-button-color) 16%,
|
|
1851
|
+
transparent
|
|
1852
|
+
);
|
|
1853
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1854
|
+
--m-button-hover-border: var(--m-button-color);
|
|
1855
|
+
--m-button-active-bg: color-mix(
|
|
1856
|
+
in srgb,
|
|
1857
|
+
var(--m-button-color) 22%,
|
|
1858
|
+
transparent
|
|
1859
|
+
);
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1630
1862
|
.m-button--custom.m-button--link {
|
|
1863
|
+
--m-button-bg: transparent;
|
|
1864
|
+
--m-button-fg: var(--m-button-color);
|
|
1631
1865
|
--m-button-border: transparent;
|
|
1866
|
+
--m-button-hover-bg: transparent;
|
|
1867
|
+
--m-button-hover-fg: var(--m-button-color);
|
|
1632
1868
|
--m-button-hover-border: transparent;
|
|
1869
|
+
--m-button-active-bg: transparent;
|
|
1633
1870
|
}
|
|
1634
1871
|
|
|
1635
1872
|
.m-button-group {
|
package/dist/drawer/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "../useMotionTransition-
|
|
3
|
+
import { t as n } from "../useMotionTransition-95Y79FoL.js";
|
|
4
4
|
import { n as r } from "../overlay-oR-5MDuE.js";
|
|
5
5
|
import { t as i } from "../useModalOverlay-Beo3CEAt.js";
|
|
6
6
|
import { t as a } from "../asyncGuard-CPGT_TKu.js";
|
package/dist/dropdown/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "../useMotionTransition-
|
|
3
|
+
import { t as n } from "../useMotionTransition-95Y79FoL.js";
|
|
4
4
|
import { n as r, t as i } from "../overlay-oR-5MDuE.js";
|
|
5
|
-
import { t as a } from "../overlayPlacement-
|
|
6
|
-
import { t as o } from "../useFloatingViewportSync-
|
|
5
|
+
import { t as a } from "../overlayPlacement-qwEJPVS4.js";
|
|
6
|
+
import { t as o } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
7
7
|
import { t as s } from "../Scrollbar-DTeJ8P5b.js";
|
|
8
8
|
import { t as c } from "../icon-COrt_N8A.js";
|
|
9
9
|
import { t as l } from "../key-CaQYVkjh.js";
|
|
10
|
-
import { t as u } from "../FlyoutSubmenu-
|
|
10
|
+
import { t as u } from "../FlyoutSubmenu-H_741alW.js";
|
|
11
11
|
import { c as d } from "../config-CapALqt3.js";
|
|
12
12
|
import { n as f } from "../locale-Bzm2nbEp.js";
|
|
13
13
|
import "./style.js";
|
package/dist/index.js
CHANGED
|
@@ -220,7 +220,7 @@ var ke = {
|
|
|
220
220
|
"slide-left": { name: "m-slide-left" },
|
|
221
221
|
"slide-right": { name: "m-slide-right" },
|
|
222
222
|
drawer: { name: "m-drawer" },
|
|
223
|
-
popover: { name: "m-
|
|
223
|
+
popover: { name: "m-scale-fade" },
|
|
224
224
|
loading: { name: "m-loading" },
|
|
225
225
|
blockui: { name: "m-blockui" },
|
|
226
226
|
message: { name: "m-message-slide" },
|
|
@@ -1233,25 +1233,25 @@ function kn(e, t, n = {}) {
|
|
|
1233
1233
|
case "top": return {
|
|
1234
1234
|
left: p,
|
|
1235
1235
|
top: `${e.top - r}px`,
|
|
1236
|
-
|
|
1236
|
+
translate: "-50% -100%",
|
|
1237
1237
|
...f
|
|
1238
1238
|
};
|
|
1239
1239
|
case "bottom": return {
|
|
1240
1240
|
left: p,
|
|
1241
1241
|
top: `${e.bottom + r}px`,
|
|
1242
|
-
|
|
1242
|
+
translate: "-50% 0",
|
|
1243
1243
|
...f
|
|
1244
1244
|
};
|
|
1245
1245
|
case "left": return {
|
|
1246
1246
|
left: p,
|
|
1247
1247
|
top: `${u}px`,
|
|
1248
|
-
|
|
1248
|
+
translate: "-100% -50%",
|
|
1249
1249
|
...f
|
|
1250
1250
|
};
|
|
1251
1251
|
case "right": return {
|
|
1252
1252
|
left: p,
|
|
1253
1253
|
top: `${u}px`,
|
|
1254
|
-
|
|
1254
|
+
translate: "0 -50%",
|
|
1255
1255
|
...f
|
|
1256
1256
|
};
|
|
1257
1257
|
case "right-start": return {
|
|
@@ -1262,13 +1262,13 @@ function kn(e, t, n = {}) {
|
|
|
1262
1262
|
case "left-start": return {
|
|
1263
1263
|
left: p,
|
|
1264
1264
|
top: `${e.top}px`,
|
|
1265
|
-
|
|
1265
|
+
translate: "-100% 0",
|
|
1266
1266
|
...f
|
|
1267
1267
|
};
|
|
1268
1268
|
case "bottom-end": return {
|
|
1269
1269
|
left: p,
|
|
1270
1270
|
top: `${e.bottom + r}px`,
|
|
1271
|
-
|
|
1271
|
+
translate: "-100% 0",
|
|
1272
1272
|
...f
|
|
1273
1273
|
};
|
|
1274
1274
|
case "bottom-start": return {
|
|
@@ -1279,13 +1279,13 @@ function kn(e, t, n = {}) {
|
|
|
1279
1279
|
case "top-start": return {
|
|
1280
1280
|
left: p,
|
|
1281
1281
|
top: `${e.top - r}px`,
|
|
1282
|
-
|
|
1282
|
+
translate: "0 -100%",
|
|
1283
1283
|
...f
|
|
1284
1284
|
};
|
|
1285
1285
|
case "top-end": return {
|
|
1286
1286
|
left: p,
|
|
1287
1287
|
top: `${e.top - r}px`,
|
|
1288
|
-
|
|
1288
|
+
translate: "-100% -100%",
|
|
1289
1289
|
...f
|
|
1290
1290
|
};
|
|
1291
1291
|
default: return {
|
|
@@ -1317,7 +1317,10 @@ function jn(e, t) {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
return J(e, (e) => {
|
|
1319
1319
|
e ? r() : i();
|
|
1320
|
-
}, {
|
|
1320
|
+
}, {
|
|
1321
|
+
flush: "sync",
|
|
1322
|
+
immediate: !0
|
|
1323
|
+
}), k(i), {
|
|
1321
1324
|
attach: r,
|
|
1322
1325
|
detach: i
|
|
1323
1326
|
};
|
|
@@ -2824,6 +2827,10 @@ var er = ["aria-orientation", "aria-controls"], tr = /* @__PURE__ */ g({
|
|
|
2824
2827
|
type: Boolean,
|
|
2825
2828
|
default: !1
|
|
2826
2829
|
},
|
|
2830
|
+
underline: {
|
|
2831
|
+
type: Boolean,
|
|
2832
|
+
default: !0
|
|
2833
|
+
},
|
|
2827
2834
|
ghost: {
|
|
2828
2835
|
type: Boolean,
|
|
2829
2836
|
default: !1
|
|
@@ -2860,11 +2867,11 @@ var er = ["aria-orientation", "aria-controls"], tr = /* @__PURE__ */ g({
|
|
|
2860
2867
|
ariaLabel: {},
|
|
2861
2868
|
ripple: {
|
|
2862
2869
|
type: Boolean,
|
|
2863
|
-
default: !
|
|
2870
|
+
default: !1
|
|
2864
2871
|
},
|
|
2865
2872
|
press: {
|
|
2866
2873
|
type: Boolean,
|
|
2867
|
-
default: !
|
|
2874
|
+
default: !1
|
|
2868
2875
|
}
|
|
2869
2876
|
},
|
|
2870
2877
|
emits: ["click"],
|
|
@@ -2880,6 +2887,7 @@ var er = ["aria-orientation", "aria-controls"], tr = /* @__PURE__ */ g({
|
|
|
2880
2887
|
"m-button--text": x.value,
|
|
2881
2888
|
"m-button--outlined": b.value,
|
|
2882
2889
|
"m-button--link": S.value,
|
|
2890
|
+
"m-button--link-underline": S.value && o.underline,
|
|
2883
2891
|
"m-button--ghost": C.value,
|
|
2884
2892
|
"m-button--quaternary": w.value,
|
|
2885
2893
|
"m-button--plain": o.plain,
|
|
@@ -4580,7 +4588,7 @@ var va = ["aria-label"], ya = { class: "m-dialog__header" }, ba = { class: "m-di
|
|
|
4580
4588
|
y.value = {
|
|
4581
4589
|
left: "50%",
|
|
4582
4590
|
top: "30%",
|
|
4583
|
-
|
|
4591
|
+
translate: "-50% 0"
|
|
4584
4592
|
};
|
|
4585
4593
|
}
|
|
4586
4594
|
function A(e) {
|
|
@@ -4851,19 +4859,27 @@ var va = ["aria-label"], ya = { class: "m-dialog__header" }, ba = { class: "m-di
|
|
|
4851
4859
|
function P(e) {
|
|
4852
4860
|
e.key === "Escape" && O();
|
|
4853
4861
|
}
|
|
4854
|
-
|
|
4855
|
-
|
|
4862
|
+
function F(e) {
|
|
4863
|
+
if (!e || e.type !== "scroll") return !1;
|
|
4864
|
+
let t = e.target;
|
|
4865
|
+
return t instanceof Node ? v.value?.contains(t) ? !0 : t instanceof Element && !!t.closest(".m-contextmenu, .m-contextmenu__submenu") : !1;
|
|
4866
|
+
}
|
|
4867
|
+
function L(e) {
|
|
4868
|
+
!o.value || F(e) || O();
|
|
4869
|
+
}
|
|
4870
|
+
let R = 0;
|
|
4871
|
+
function B() {
|
|
4856
4872
|
document.removeEventListener("click", M), document.removeEventListener("keydown", P), document.removeEventListener("contextmenu", M);
|
|
4857
4873
|
}
|
|
4858
4874
|
return J(o, (e) => {
|
|
4859
|
-
if (
|
|
4875
|
+
if (B(), !e) return;
|
|
4860
4876
|
document.addEventListener("click", M), document.addEventListener("keydown", P);
|
|
4861
|
-
let t = ++
|
|
4877
|
+
let t = ++R;
|
|
4862
4878
|
w(() => {
|
|
4863
|
-
t ===
|
|
4879
|
+
t === R && o.value && document.addEventListener("contextmenu", M);
|
|
4864
4880
|
});
|
|
4865
|
-
}, { immediate: !0 }), k(() => {
|
|
4866
|
-
|
|
4881
|
+
}, { immediate: !0 }), jn(o, L), k(() => {
|
|
4882
|
+
B();
|
|
4867
4883
|
}), r({
|
|
4868
4884
|
show: A,
|
|
4869
4885
|
hide: O
|
|
@@ -10730,7 +10746,7 @@ var Od = ["aria-expanded", "aria-controls"], kd = ["id"], Ad = /* @__PURE__ */ g
|
|
|
10730
10746
|
role: "popup",
|
|
10731
10747
|
local: () => a.transition,
|
|
10732
10748
|
componentName: "Popover",
|
|
10733
|
-
fallback: "
|
|
10749
|
+
fallback: "scale-fade"
|
|
10734
10750
|
}), _ = Nn(), v = I(null), y = I(null), b = I(null), x = I({}), S = s(() => yn(a, p.value.appendTo)), E = s(() => bn(a, p.value.appendTo)), O, A;
|
|
10735
10751
|
function j(e) {
|
|
10736
10752
|
e && a.disabled || o("update:modelValue", e);
|
package/dist/loading/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../Loading-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../Loading-qS2Yv_gm.js";
|
|
2
2
|
import "./style.js";
|
|
3
3
|
import { onBeforeUnmount as o } from "vue";
|
|
4
4
|
//#region src/components/Loading/directive.ts
|
package/dist/mega-menu/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "../useMotionTransition-
|
|
3
|
+
import { t as n } from "../useMotionTransition-95Y79FoL.js";
|
|
4
4
|
import { n as r, t as ee } from "../overlay-oR-5MDuE.js";
|
|
5
|
-
import { t as te } from "../overlayPlacement-
|
|
6
|
-
import { t as i } from "../useFloatingViewportSync-
|
|
5
|
+
import { t as te } from "../overlayPlacement-qwEJPVS4.js";
|
|
6
|
+
import { t as i } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
7
7
|
import { t as a } from "../useMenuKeyboard-BedmYE4W.js";
|
|
8
8
|
import { t as ne } from "../icon-COrt_N8A.js";
|
|
9
9
|
import { c as re } from "../config-CapALqt3.js";
|
package/dist/menu/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "../useMotionTransition-
|
|
3
|
+
import { t as n } from "../useMotionTransition-95Y79FoL.js";
|
|
4
4
|
import { n as r, t as i } from "../overlay-oR-5MDuE.js";
|
|
5
|
-
import { t as a } from "../overlayPlacement-
|
|
6
|
-
import { t as o } from "../useFloatingViewportSync-
|
|
5
|
+
import { t as a } from "../overlayPlacement-qwEJPVS4.js";
|
|
6
|
+
import { t as o } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
7
7
|
import { t as s } from "../useMenuKeyboard-BedmYE4W.js";
|
|
8
8
|
import { t as c } from "../Scrollbar-DTeJ8P5b.js";
|
|
9
9
|
import { t as ee } from "../icon-COrt_N8A.js";
|
|
10
10
|
import { t as l } from "../key-CaQYVkjh.js";
|
|
11
11
|
import { t as u } from "../lastPointer-CRxcUqdd.js";
|
|
12
|
-
import { t as d } from "../Popover-
|
|
13
|
-
import { t as f } from "../Tooltip-
|
|
12
|
+
import { t as d } from "../Popover-rnZG_ap0.js";
|
|
13
|
+
import { t as f } from "../Tooltip-B02o9BOW.js";
|
|
14
14
|
import { c as te } from "../config-CapALqt3.js";
|
|
15
15
|
import "./style.js";
|
|
16
16
|
import { Fragment as p, Teleport as ne, Transition as re, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createVNode as y, defineComponent as b, getCurrentInstance as x, inject as ie, mergeProps as S, nextTick as C, normalizeClass as w, normalizeStyle as T, onBeforeUnmount as ae, openBlock as E, provide as D, reactive as oe, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as j, toDisplayString as M, unref as N, useAttrs as se, useSlots as ce, watch as P, withCtx as F } from "vue";
|