@donotdev/ui 0.0.23 → 0.0.24
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/dist/dndev-next.css +99 -169
- package/dist/dndev.css +107 -183
- package/dist/styles/index.css +107 -183
- package/package.json +6 -10
package/dist/styles/index.css
CHANGED
|
@@ -125,6 +125,7 @@
|
|
|
125
125
|
--border: color-mix(in oklab, var(--foreground) 15%, var(--background));
|
|
126
126
|
--input: var(--muted);
|
|
127
127
|
--ring: var(--primary);
|
|
128
|
+
--placeholder: rgb(from var(--muted-foreground) r g b / 0.6);
|
|
128
129
|
|
|
129
130
|
/* Containers (Flat design by default) */
|
|
130
131
|
--card: var(--background);
|
|
@@ -282,11 +283,6 @@
|
|
|
282
283
|
--opacity-muted: 0.6;
|
|
283
284
|
--opacity-strong: 0.9;
|
|
284
285
|
|
|
285
|
-
/* ===========================
|
|
286
|
-
SURFACE SYSTEM - SIMPLIFIED
|
|
287
|
-
=========================== */
|
|
288
|
-
/* --surface-1 deprecated: use --card */
|
|
289
|
-
|
|
290
286
|
/* ===========================
|
|
291
287
|
PANEL/POPOVER WIDTHS
|
|
292
288
|
Standard widths for contextual panels, popovers, and tooltips
|
|
@@ -805,11 +801,11 @@ em {
|
|
|
805
801
|
}
|
|
806
802
|
|
|
807
803
|
.dndev-input::-moz-placeholder {
|
|
808
|
-
color:
|
|
804
|
+
color: var(--placeholder);
|
|
809
805
|
}
|
|
810
806
|
|
|
811
807
|
.dndev-input::placeholder {
|
|
812
|
-
color:
|
|
808
|
+
color: var(--placeholder);
|
|
813
809
|
}
|
|
814
810
|
|
|
815
811
|
.dndev-input:hover {
|
|
@@ -819,14 +815,12 @@ em {
|
|
|
819
815
|
.dndev-input:focus {
|
|
820
816
|
border-color: var(--ring);
|
|
821
817
|
outline: none;
|
|
822
|
-
box-shadow:
|
|
818
|
+
box-shadow: var(--shadow-focus);
|
|
823
819
|
}
|
|
824
820
|
|
|
825
821
|
.dndev-input:focus-visible {
|
|
826
822
|
outline: none;
|
|
827
|
-
box-shadow:
|
|
828
|
-
0 0 0 2px var(--ring),
|
|
829
|
-
0 0 0 4px rgb(from var(--ring) r g b / 0.2);
|
|
823
|
+
box-shadow: var(--shadow-focus), var(--shadow-interactive);
|
|
830
824
|
}
|
|
831
825
|
|
|
832
826
|
.dndev-input:disabled {
|
|
@@ -842,13 +836,13 @@ em {
|
|
|
842
836
|
|
|
843
837
|
.dndev-input[data-variant='destructive']:focus {
|
|
844
838
|
border-color: var(--destructive);
|
|
845
|
-
box-shadow: 0 0 0
|
|
839
|
+
box-shadow: 0 0 0 3px color-mix(in oklab, var(--destructive) 50%, transparent);
|
|
846
840
|
}
|
|
847
841
|
|
|
848
842
|
.dndev-input[data-variant='destructive']:focus-visible {
|
|
849
843
|
box-shadow:
|
|
850
|
-
0 0 0
|
|
851
|
-
0 0 0
|
|
844
|
+
0 0 0 3px color-mix(in oklab, var(--destructive) 50%, transparent),
|
|
845
|
+
0 0 0 3px color-mix(in oklab, var(--destructive) 20%, transparent);
|
|
852
846
|
}
|
|
853
847
|
|
|
854
848
|
/* File input specific styles */
|
|
@@ -860,6 +854,12 @@ em {
|
|
|
860
854
|
font-weight: var(--font-weight-medium);
|
|
861
855
|
}
|
|
862
856
|
|
|
857
|
+
/* Radix UI and other non-native placeholders (e.g. Select, DatePicker triggers) */
|
|
858
|
+
|
|
859
|
+
[data-placeholder] {
|
|
860
|
+
color: var(--placeholder);
|
|
861
|
+
}
|
|
862
|
+
|
|
863
863
|
/* Control base class - checkbox, radio, switch, slider */
|
|
864
864
|
|
|
865
865
|
.dndev-control {
|
|
@@ -875,9 +875,7 @@ em {
|
|
|
875
875
|
|
|
876
876
|
.dndev-control:focus-visible {
|
|
877
877
|
outline: none;
|
|
878
|
-
box-shadow:
|
|
879
|
-
0 0 0 2px var(--ring),
|
|
880
|
-
0 0 0 4px rgb(from var(--ring) r g b / 0.2);
|
|
878
|
+
box-shadow: var(--shadow-focus), var(--shadow-interactive);
|
|
881
879
|
}
|
|
882
880
|
|
|
883
881
|
.dndev-control:disabled {
|
|
@@ -1029,13 +1027,13 @@ em {
|
|
|
1029
1027
|
.dndev-surface[data-hover='glow']:hover {
|
|
1030
1028
|
box-shadow:
|
|
1031
1029
|
var(--shadow-xl),
|
|
1032
|
-
0 0 40px
|
|
1030
|
+
0 0 40px color-mix(in oklab, var(--foreground) 30%, transparent);
|
|
1033
1031
|
}
|
|
1034
1032
|
|
|
1035
1033
|
.dndev-surface[data-hover='glow']:dir(rtl):hover {
|
|
1036
1034
|
box-shadow:
|
|
1037
1035
|
var(--shadow-xl-rtl),
|
|
1038
|
-
0 0 40px
|
|
1036
|
+
0 0 40px color-mix(in oklab, var(--foreground) 30%, transparent);
|
|
1039
1037
|
}
|
|
1040
1038
|
|
|
1041
1039
|
/* Role-specific defaults */
|
|
@@ -1296,13 +1294,13 @@ em {
|
|
|
1296
1294
|
.dndev-floating[data-hover='glow']:hover {
|
|
1297
1295
|
box-shadow:
|
|
1298
1296
|
var(--shadow-xl),
|
|
1299
|
-
0 0 40px
|
|
1297
|
+
0 0 40px color-mix(in oklab, var(--foreground) 30%, transparent);
|
|
1300
1298
|
}
|
|
1301
1299
|
|
|
1302
1300
|
.dndev-floating[data-hover='glow']:dir(rtl):hover {
|
|
1303
1301
|
box-shadow:
|
|
1304
1302
|
var(--shadow-xl-rtl),
|
|
1305
|
-
0 0 40px
|
|
1303
|
+
0 0 40px color-mix(in oklab, var(--foreground) 30%, transparent);
|
|
1306
1304
|
}
|
|
1307
1305
|
|
|
1308
1306
|
/* Role-specific defaults */
|
|
@@ -1420,15 +1418,21 @@ em {
|
|
|
1420
1418
|
/* Base - filled primary (industry standard) */
|
|
1421
1419
|
background: var(--primary);
|
|
1422
1420
|
color: var(--primary-foreground);
|
|
1421
|
+
|
|
1422
|
+
/* ── Shared states ── */
|
|
1423
1423
|
}
|
|
1424
1424
|
|
|
1425
1425
|
.dndev-interactive:hover {
|
|
1426
|
-
|
|
1426
|
+
background: color-mix(in oklab, var(--primary) 85%, var(--foreground));
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
.dndev-interactive:active:not(:disabled) {
|
|
1430
|
+
scale: 0.97;
|
|
1427
1431
|
}
|
|
1428
1432
|
|
|
1429
1433
|
.dndev-interactive:focus-visible {
|
|
1430
|
-
outline:
|
|
1431
|
-
|
|
1434
|
+
outline: none;
|
|
1435
|
+
box-shadow: var(--shadow-focus), var(--shadow-interactive);
|
|
1432
1436
|
}
|
|
1433
1437
|
|
|
1434
1438
|
.dndev-interactive:disabled {
|
|
@@ -1443,129 +1447,110 @@ em {
|
|
|
1443
1447
|
flex-shrink: 0;
|
|
1444
1448
|
}
|
|
1445
1449
|
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1450
|
+
/* ═══════════════════════════
|
|
1451
|
+
FILLED VARIANTS — hover = darken/lighten the bg color
|
|
1452
|
+
═══════════════════════════ */
|
|
1449
1453
|
|
|
1450
|
-
|
|
1454
|
+
.dndev-interactive[data-variant='primary'] {
|
|
1455
|
+
background: var(--primary);
|
|
1456
|
+
color: var(--primary-foreground);
|
|
1457
|
+
}
|
|
1451
1458
|
|
|
1452
|
-
.dndev-interactive[data-variant='
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
color: var(--foreground);
|
|
1459
|
+
.dndev-interactive[data-variant='accent'] {
|
|
1460
|
+
background: var(--accent);
|
|
1461
|
+
color: var(--accent-foreground);
|
|
1456
1462
|
}
|
|
1457
1463
|
|
|
1458
|
-
.dndev-interactive[data-variant='
|
|
1459
|
-
background: var(--
|
|
1460
|
-
color: var(--primary-foreground);
|
|
1464
|
+
.dndev-interactive[data-variant='accent']:hover {
|
|
1465
|
+
background: color-mix(in oklab, var(--accent) 85%, var(--foreground));
|
|
1461
1466
|
}
|
|
1462
1467
|
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
background: transparent;
|
|
1467
|
-
color: var(--foreground);
|
|
1468
|
+
.dndev-interactive[data-variant='secondary'] {
|
|
1469
|
+
background: var(--secondary);
|
|
1470
|
+
color: var(--secondary-foreground);
|
|
1468
1471
|
}
|
|
1469
1472
|
|
|
1470
|
-
.dndev-interactive[data-variant='
|
|
1471
|
-
background: var(--
|
|
1472
|
-
color: var(--primary-foreground);
|
|
1473
|
+
.dndev-interactive[data-variant='secondary']:hover {
|
|
1474
|
+
background: color-mix(in oklab, var(--secondary) 85%, var(--foreground));
|
|
1473
1475
|
}
|
|
1474
1476
|
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
background: transparent;
|
|
1479
|
-
color: var(--destructive);
|
|
1480
|
-
border: var(--border-hairline) solid var(--destructive);
|
|
1477
|
+
.dndev-interactive[data-variant='success'] {
|
|
1478
|
+
background: var(--success);
|
|
1479
|
+
color: var(--success-foreground);
|
|
1481
1480
|
}
|
|
1482
1481
|
|
|
1483
|
-
.dndev-interactive[data-variant='
|
|
1484
|
-
background: var(--
|
|
1485
|
-
color: var(--destructive-foreground);
|
|
1482
|
+
.dndev-interactive[data-variant='success']:hover {
|
|
1483
|
+
background: color-mix(in oklab, var(--success) 85%, var(--foreground));
|
|
1486
1484
|
}
|
|
1487
1485
|
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
background: transparent;
|
|
1492
|
-
color: var(--muted-foreground);
|
|
1493
|
-
padding: 0;
|
|
1494
|
-
min-height: auto;
|
|
1495
|
-
font-size: var(--font-size-base);
|
|
1496
|
-
text-decoration: underline;
|
|
1497
|
-
text-underline-offset: 2px;
|
|
1498
|
-
transition: color var(--dur-fast) ease-out;
|
|
1486
|
+
.dndev-interactive[data-variant='warning'] {
|
|
1487
|
+
background: var(--warning);
|
|
1488
|
+
color: var(--warning-foreground);
|
|
1499
1489
|
}
|
|
1500
1490
|
|
|
1501
|
-
.dndev-interactive[data-variant='
|
|
1502
|
-
|
|
1491
|
+
.dndev-interactive[data-variant='warning']:hover {
|
|
1492
|
+
background: color-mix(in oklab, var(--warning) 85%, var(--foreground));
|
|
1503
1493
|
}
|
|
1504
1494
|
|
|
1505
|
-
/* Muted variant - subtle background */
|
|
1506
|
-
|
|
1507
1495
|
.dndev-interactive[data-variant='muted'] {
|
|
1508
1496
|
background: var(--muted);
|
|
1509
1497
|
color: var(--muted-foreground);
|
|
1510
1498
|
}
|
|
1511
1499
|
|
|
1512
1500
|
.dndev-interactive[data-variant='muted']:hover {
|
|
1513
|
-
background: color-mix(in oklab, var(--muted) 80%,
|
|
1501
|
+
background: color-mix(in oklab, var(--muted) 80%, var(--foreground) 20%);
|
|
1514
1502
|
}
|
|
1515
1503
|
|
|
1516
|
-
/*
|
|
1504
|
+
/* ═══════════════════════════
|
|
1505
|
+
GHOST VARIANTS — hover = subtle tint + text color shift
|
|
1506
|
+
═══════════════════════════ */
|
|
1517
1507
|
|
|
1518
|
-
|
|
1519
|
-
background: var(--accent);
|
|
1520
|
-
color: var(--accent-foreground);
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
|
-
.dndev-interactive[data-variant='accent']:hover {
|
|
1524
|
-
opacity: var(--opacity-strong);
|
|
1525
|
-
}
|
|
1508
|
+
/* Shared ghost hover — one rule for all transparent interactive elements */
|
|
1526
1509
|
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
background: var(--primary);
|
|
1531
|
-
color: var(--primary-foreground);
|
|
1510
|
+
.dndev-interactive[data-variant='outline'],.dndev-interactive[data-variant='ghost'],.dndev-interactive[data-role='nav-trigger'],.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'] {
|
|
1511
|
+
background: transparent;
|
|
1512
|
+
color: var(--foreground);
|
|
1532
1513
|
}
|
|
1533
1514
|
|
|
1534
|
-
.dndev-interactive[data-variant='
|
|
1535
|
-
|
|
1515
|
+
:is(.dndev-interactive[data-variant='outline'],.dndev-interactive[data-variant='ghost'],.dndev-interactive[data-role='nav-trigger'],.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item']):hover {
|
|
1516
|
+
background: rgb(from var(--primary) r g b / 0.1);
|
|
1517
|
+
color: var(--primary);
|
|
1536
1518
|
}
|
|
1537
1519
|
|
|
1538
|
-
/*
|
|
1520
|
+
/* Outline adds border on top of ghost base */
|
|
1539
1521
|
|
|
1540
|
-
.dndev-interactive[data-variant='
|
|
1541
|
-
|
|
1542
|
-
color: var(--secondary-foreground);
|
|
1522
|
+
.dndev-interactive[data-variant='outline'] {
|
|
1523
|
+
border: var(--border-hairline) solid var(--border);
|
|
1543
1524
|
}
|
|
1544
1525
|
|
|
1545
|
-
|
|
1546
|
-
opacity: var(--opacity-strong);
|
|
1547
|
-
}
|
|
1548
|
-
|
|
1549
|
-
/* Success variant - success state */
|
|
1526
|
+
/* Destructive ghost — same paradigm, different color */
|
|
1550
1527
|
|
|
1551
|
-
.dndev-interactive[data-variant='
|
|
1552
|
-
background:
|
|
1553
|
-
color: var(--
|
|
1528
|
+
.dndev-interactive[data-variant='destructive'] {
|
|
1529
|
+
background: transparent;
|
|
1530
|
+
color: var(--destructive);
|
|
1531
|
+
border: var(--border-hairline) solid var(--destructive);
|
|
1554
1532
|
}
|
|
1555
1533
|
|
|
1556
|
-
.dndev-interactive[data-variant='
|
|
1557
|
-
|
|
1534
|
+
.dndev-interactive[data-variant='destructive']:hover {
|
|
1535
|
+
background: rgb(from var(--destructive) r g b / 0.1);
|
|
1536
|
+
color: var(--destructive);
|
|
1558
1537
|
}
|
|
1559
1538
|
|
|
1560
|
-
/*
|
|
1539
|
+
/* Link variant — text-only, no background shift */
|
|
1561
1540
|
|
|
1562
|
-
.dndev-interactive[data-variant='
|
|
1563
|
-
background:
|
|
1564
|
-
color: var(--
|
|
1541
|
+
.dndev-interactive[data-variant='link'] {
|
|
1542
|
+
background: transparent;
|
|
1543
|
+
color: var(--muted-foreground);
|
|
1544
|
+
padding: 0;
|
|
1545
|
+
min-height: auto;
|
|
1546
|
+
font-size: var(--font-size-base);
|
|
1547
|
+
text-decoration: underline;
|
|
1548
|
+
text-underline-offset: 2px;
|
|
1549
|
+
transition: color var(--dur-fast) ease-out;
|
|
1565
1550
|
}
|
|
1566
1551
|
|
|
1567
|
-
.dndev-interactive[data-variant='
|
|
1568
|
-
|
|
1552
|
+
.dndev-interactive[data-variant='link']:hover {
|
|
1553
|
+
color: var(--primary);
|
|
1569
1554
|
}
|
|
1570
1555
|
|
|
1571
1556
|
/* Context-aware: ONLY inside accent surfaces */
|
|
@@ -1584,11 +1569,11 @@ em {
|
|
|
1584
1569
|
}
|
|
1585
1570
|
|
|
1586
1571
|
:is([data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive),[data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive)):hover {
|
|
1587
|
-
background: var(--surface-text);
|
|
1588
|
-
color: var(--surface-
|
|
1572
|
+
background: rgb(from var(--surface-text) r g b / 0.1);
|
|
1573
|
+
color: var(--surface-text);
|
|
1589
1574
|
}
|
|
1590
1575
|
|
|
1591
|
-
/* Unified menu/command/nav item base */
|
|
1576
|
+
/* Unified menu/command/nav item base — ghost hover inherited from shared rule above */
|
|
1592
1577
|
|
|
1593
1578
|
.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'],.dndev-interactive[data-role='nav-trigger'] {
|
|
1594
1579
|
min-height: auto;
|
|
@@ -1602,10 +1587,6 @@ em {
|
|
|
1602
1587
|
position: relative;
|
|
1603
1588
|
text-decoration: none;
|
|
1604
1589
|
|
|
1605
|
-
/* Override base .dndev-interactive filled primary - make ghost */
|
|
1606
|
-
background: transparent;
|
|
1607
|
-
color: inherit;
|
|
1608
|
-
|
|
1609
1590
|
/* Remove gap when compact (no label to space from) */
|
|
1610
1591
|
}
|
|
1611
1592
|
|
|
@@ -1613,11 +1594,9 @@ em {
|
|
|
1613
1594
|
gap: 0 !important;
|
|
1614
1595
|
}
|
|
1615
1596
|
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
background-color: var(--accent);
|
|
1620
|
-
color: var(--accent-foreground);
|
|
1597
|
+
.dndev-interactive[data-role='menu-item']:focus-visible,.dndev-interactive[data-role='menu-item'][data-highlighted] {
|
|
1598
|
+
background: rgb(from var(--primary) r g b / 0.1);
|
|
1599
|
+
color: var(--primary);
|
|
1621
1600
|
outline: 2px solid var(--ring);
|
|
1622
1601
|
outline-offset: 0;
|
|
1623
1602
|
}
|
|
@@ -1643,14 +1622,9 @@ em {
|
|
|
1643
1622
|
width: 100%;
|
|
1644
1623
|
}
|
|
1645
1624
|
|
|
1646
|
-
.dndev-interactive[data-role='command-item']:hover:not([data-selected='true']) {
|
|
1647
|
-
background-color: var(--accent);
|
|
1648
|
-
color: var(--accent-foreground);
|
|
1649
|
-
}
|
|
1650
|
-
|
|
1651
1625
|
.dndev-interactive[data-role='command-item'][data-selected='true'] {
|
|
1652
|
-
background
|
|
1653
|
-
color: var(--
|
|
1626
|
+
background: rgb(from var(--primary) r g b / 0.1);
|
|
1627
|
+
color: var(--primary);
|
|
1654
1628
|
}
|
|
1655
1629
|
|
|
1656
1630
|
.dndev-interactive[data-role='command-item'][data-disabled='true'] {
|
|
@@ -1659,8 +1633,8 @@ em {
|
|
|
1659
1633
|
}
|
|
1660
1634
|
|
|
1661
1635
|
.dndev-interactive[data-role='command-item']:focus-visible {
|
|
1662
|
-
outline:
|
|
1663
|
-
|
|
1636
|
+
outline: none;
|
|
1637
|
+
box-shadow: var(--shadow-focus), var(--shadow-interactive);
|
|
1664
1638
|
}
|
|
1665
1639
|
|
|
1666
1640
|
/* Specific containers that need start-align (not general stacks/grids) */
|
|
@@ -1755,8 +1729,8 @@ em {
|
|
|
1755
1729
|
/* Focus state */
|
|
1756
1730
|
|
|
1757
1731
|
.dndev-control:focus-visible {
|
|
1758
|
-
outline:
|
|
1759
|
-
|
|
1732
|
+
outline: none;
|
|
1733
|
+
box-shadow: var(--shadow-focus), var(--shadow-interactive);
|
|
1760
1734
|
}
|
|
1761
1735
|
|
|
1762
1736
|
/* Disabled state */
|
|
@@ -1770,8 +1744,8 @@ em {
|
|
|
1770
1744
|
|
|
1771
1745
|
.dndev-control[data-state='checked'],.dndev-control[data-state='on'],.dndev-control[data-pressed='true'] {
|
|
1772
1746
|
background-color: var(--control-border);
|
|
1773
|
-
/* --card
|
|
1774
|
-
color: var(--card);
|
|
1747
|
+
/* --card-base: root snapshot, not overridden by variant blocks (safe inside any surface) */
|
|
1748
|
+
color: var(--card-base);
|
|
1775
1749
|
}
|
|
1776
1750
|
|
|
1777
1751
|
/* CONTROL GROUP - Shared pattern for grouped controls (RadioGroup, Checkbox groups) */
|
|
@@ -1912,8 +1886,7 @@ em {
|
|
|
1912
1886
|
margin-top: var(--gap-sm);
|
|
1913
1887
|
margin-bottom: var(--gap-sm);
|
|
1914
1888
|
height: 1px;
|
|
1915
|
-
background-color: var(--
|
|
1916
|
-
opacity: var(--opacity-strong);
|
|
1889
|
+
background-color: var(--border);
|
|
1917
1890
|
}
|
|
1918
1891
|
|
|
1919
1892
|
/* Menu shortcut */
|
|
@@ -1949,26 +1922,13 @@ em {
|
|
|
1949
1922
|
--notification-shadow-base: var(--shadow-xl-rtl);
|
|
1950
1923
|
}
|
|
1951
1924
|
|
|
1952
|
-
/* Notification variants -
|
|
1925
|
+
/* Notification variants - only override border + glow, bg/color inherited from base */
|
|
1953
1926
|
|
|
1954
1927
|
.dndev-notification[data-variant='default'] {
|
|
1955
|
-
background: color-mix(
|
|
1956
|
-
in oklab,
|
|
1957
|
-
var(--popover-foreground) 95%,
|
|
1958
|
-
transparent
|
|
1959
|
-
) !important;
|
|
1960
|
-
color: var(--popover) !important;
|
|
1961
1928
|
border: var(--border-hairline) solid var(--border);
|
|
1962
|
-
/* Uses base shadow from .dndev-notification */
|
|
1963
1929
|
}
|
|
1964
1930
|
|
|
1965
1931
|
.dndev-notification[data-variant='info'] {
|
|
1966
|
-
background: color-mix(
|
|
1967
|
-
in oklab,
|
|
1968
|
-
var(--popover-foreground) 95%,
|
|
1969
|
-
transparent
|
|
1970
|
-
) !important;
|
|
1971
|
-
color: var(--popover) !important;
|
|
1972
1932
|
border: var(--border-width) solid var(--accent);
|
|
1973
1933
|
box-shadow:
|
|
1974
1934
|
var(--notification-shadow-base),
|
|
@@ -1976,12 +1936,6 @@ em {
|
|
|
1976
1936
|
}
|
|
1977
1937
|
|
|
1978
1938
|
.dndev-notification[data-variant='success'] {
|
|
1979
|
-
background: color-mix(
|
|
1980
|
-
in oklab,
|
|
1981
|
-
var(--popover-foreground) 95%,
|
|
1982
|
-
transparent
|
|
1983
|
-
) !important;
|
|
1984
|
-
color: var(--popover) !important;
|
|
1985
1939
|
border: var(--border-width) solid var(--success);
|
|
1986
1940
|
box-shadow:
|
|
1987
1941
|
var(--notification-shadow-base),
|
|
@@ -1989,12 +1943,6 @@ em {
|
|
|
1989
1943
|
}
|
|
1990
1944
|
|
|
1991
1945
|
.dndev-notification[data-variant='warning'] {
|
|
1992
|
-
background: color-mix(
|
|
1993
|
-
in oklab,
|
|
1994
|
-
var(--popover-foreground) 95%,
|
|
1995
|
-
transparent
|
|
1996
|
-
) !important;
|
|
1997
|
-
color: var(--popover) !important;
|
|
1998
1946
|
border: var(--border-width) solid var(--warning);
|
|
1999
1947
|
box-shadow:
|
|
2000
1948
|
var(--notification-shadow-base),
|
|
@@ -2002,12 +1950,6 @@ em {
|
|
|
2002
1950
|
}
|
|
2003
1951
|
|
|
2004
1952
|
.dndev-notification[data-variant='error'],.dndev-notification[data-variant='destructive'] {
|
|
2005
|
-
background: color-mix(
|
|
2006
|
-
in oklab,
|
|
2007
|
-
var(--popover-foreground) 95%,
|
|
2008
|
-
transparent
|
|
2009
|
-
) !important;
|
|
2010
|
-
color: var(--popover) !important;
|
|
2011
1953
|
border: var(--border-width) solid var(--destructive);
|
|
2012
1954
|
box-shadow:
|
|
2013
1955
|
var(--notification-shadow-base),
|
|
@@ -2015,12 +1957,6 @@ em {
|
|
|
2015
1957
|
}
|
|
2016
1958
|
|
|
2017
1959
|
.dndev-notification[data-variant='primary'] {
|
|
2018
|
-
background: color-mix(
|
|
2019
|
-
in oklab,
|
|
2020
|
-
var(--popover-foreground) 95%,
|
|
2021
|
-
transparent
|
|
2022
|
-
) !important;
|
|
2023
|
-
color: var(--popover) !important;
|
|
2024
1960
|
border: var(--border-width) solid var(--primary);
|
|
2025
1961
|
box-shadow:
|
|
2026
1962
|
var(--notification-shadow-base),
|
|
@@ -2028,12 +1964,6 @@ em {
|
|
|
2028
1964
|
}
|
|
2029
1965
|
|
|
2030
1966
|
.dndev-notification[data-variant='secondary'] {
|
|
2031
|
-
background: color-mix(
|
|
2032
|
-
in oklab,
|
|
2033
|
-
var(--popover-foreground) 95%,
|
|
2034
|
-
transparent
|
|
2035
|
-
) !important;
|
|
2036
|
-
color: var(--popover) !important;
|
|
2037
1967
|
border: var(--border-width) solid var(--secondary);
|
|
2038
1968
|
box-shadow:
|
|
2039
1969
|
var(--notification-shadow-base),
|
|
@@ -2041,12 +1971,6 @@ em {
|
|
|
2041
1971
|
}
|
|
2042
1972
|
|
|
2043
1973
|
.dndev-notification[data-variant='accent'] {
|
|
2044
|
-
background: color-mix(
|
|
2045
|
-
in oklab,
|
|
2046
|
-
var(--popover-foreground) 95%,
|
|
2047
|
-
transparent
|
|
2048
|
-
) !important;
|
|
2049
|
-
color: var(--popover) !important;
|
|
2050
1974
|
border: var(--border-width) solid var(--accent);
|
|
2051
1975
|
box-shadow:
|
|
2052
1976
|
var(--notification-shadow-base),
|
|
@@ -2060,7 +1984,7 @@ em {
|
|
|
2060
1984
|
.dndev-overlay {
|
|
2061
1985
|
position: fixed;
|
|
2062
1986
|
inset: 0;
|
|
2063
|
-
background:
|
|
1987
|
+
background: color-mix(in oklab, var(--foreground) 40%, transparent);
|
|
2064
1988
|
backdrop-filter: blur(8px);
|
|
2065
1989
|
will-change: opacity;
|
|
2066
1990
|
z-index: var(--z-overlay);
|
|
@@ -2131,7 +2055,7 @@ em {
|
|
|
2131
2055
|
|
|
2132
2056
|
.dndev-modal-content {
|
|
2133
2057
|
position: fixed;
|
|
2134
|
-
|
|
2058
|
+
inset-inline-start: 50%;
|
|
2135
2059
|
top: 50%;
|
|
2136
2060
|
z-index: calc(var(--z-modal) + 1);
|
|
2137
2061
|
transform: translate(-50%, -50%);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@donotdev/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -58,13 +58,12 @@
|
|
|
58
58
|
"react-hook-form": "^7.71.2"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@donotdev/auth": "^0.0.
|
|
62
|
-
"@donotdev/billing": "^0.0.
|
|
63
|
-
"@donotdev/components": "^0.0.
|
|
61
|
+
"@donotdev/auth": "^0.0.18",
|
|
62
|
+
"@donotdev/billing": "^0.0.16",
|
|
63
|
+
"@donotdev/components": "^0.0.27",
|
|
64
64
|
"@donotdev/core": "^0.0.36",
|
|
65
|
-
"@donotdev/crud": "^0.0.
|
|
66
|
-
"@donotdev/
|
|
67
|
-
"@donotdev/oauth": "^0.0.15",
|
|
65
|
+
"@donotdev/crud": "^0.0.24",
|
|
66
|
+
"@donotdev/oauth": "^0.0.16",
|
|
68
67
|
"lucide-react": "^0.575.0",
|
|
69
68
|
"react": "^19.2.4",
|
|
70
69
|
"react-dom": "^19.2.4",
|
|
@@ -81,9 +80,6 @@
|
|
|
81
80
|
"@donotdev/crud": {
|
|
82
81
|
"optional": true
|
|
83
82
|
},
|
|
84
|
-
"@donotdev/firebase": {
|
|
85
|
-
"optional": true
|
|
86
|
-
},
|
|
87
83
|
"@donotdev/oauth": {
|
|
88
84
|
"optional": true
|
|
89
85
|
},
|