@donotdev/ui 0.0.23 → 0.0.25
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/crud/components/CrudCardLink.d.ts +1 -1
- package/dist/crud/components/CrudCardLink.d.ts.map +1 -1
- package/dist/crud/components/CrudCardLink.js +5 -1
- package/dist/crud/components/EntityCardList.d.ts +1 -1
- package/dist/crud/components/EntityCardList.d.ts.map +1 -1
- package/dist/crud/components/EntityCardList.js +5 -1
- package/dist/crud/components/EntityDisplayRenderer.d.ts +1 -1
- package/dist/crud/components/EntityDisplayRenderer.d.ts.map +1 -1
- package/dist/crud/components/EntityDisplayRenderer.js +5 -1
- package/dist/crud/components/EntityFormRenderer.d.ts +1 -1
- package/dist/crud/components/EntityFormRenderer.d.ts.map +1 -1
- package/dist/crud/components/EntityFormRenderer.js +6 -1
- package/dist/crud/components/EntityList.d.ts +1 -1
- package/dist/crud/components/EntityList.d.ts.map +1 -1
- package/dist/crud/components/EntityList.js +5 -1
- package/dist/crud/components/EntityRecommendations.d.ts.map +1 -1
- package/dist/crud/components/EntityRecommendations.js +5 -1
- package/dist/crud/components/EntityWorkflow.d.ts +2 -2
- package/dist/crud/components/EntityWorkflow.d.ts.map +1 -1
- package/dist/crud/components/EntityWorkflow.js +5 -1
- package/dist/crud/crudImports.d.ts +36 -0
- package/dist/crud/crudImports.d.ts.map +1 -0
- package/dist/crud/crudImports.js +39 -0
- package/dist/dndev-next.css +100 -169
- package/dist/dndev.css +108 -183
- package/dist/index.js +4 -4
- package/dist/styles/index.css +108 -183
- package/package.json +7 -11
package/dist/dndev.css
CHANGED
|
@@ -129,6 +129,7 @@
|
|
|
129
129
|
--border: color-mix(in oklab, var(--foreground) 15%, var(--background));
|
|
130
130
|
--input: var(--muted);
|
|
131
131
|
--ring: var(--primary);
|
|
132
|
+
--placeholder: rgb(from var(--muted-foreground) r g b / 0.6);
|
|
132
133
|
|
|
133
134
|
/* Containers (Flat design by default) */
|
|
134
135
|
--card: var(--background);
|
|
@@ -286,11 +287,6 @@
|
|
|
286
287
|
--opacity-muted: 0.6;
|
|
287
288
|
--opacity-strong: 0.9;
|
|
288
289
|
|
|
289
|
-
/* ===========================
|
|
290
|
-
SURFACE SYSTEM - SIMPLIFIED
|
|
291
|
-
=========================== */
|
|
292
|
-
/* --surface-1 deprecated: use --card */
|
|
293
|
-
|
|
294
290
|
/* ===========================
|
|
295
291
|
PANEL/POPOVER WIDTHS
|
|
296
292
|
Standard widths for contextual panels, popovers, and tooltips
|
|
@@ -809,11 +805,11 @@ em {
|
|
|
809
805
|
}
|
|
810
806
|
|
|
811
807
|
.dndev-input::-moz-placeholder {
|
|
812
|
-
color:
|
|
808
|
+
color: var(--placeholder);
|
|
813
809
|
}
|
|
814
810
|
|
|
815
811
|
.dndev-input::placeholder {
|
|
816
|
-
color:
|
|
812
|
+
color: var(--placeholder);
|
|
817
813
|
}
|
|
818
814
|
|
|
819
815
|
.dndev-input:hover {
|
|
@@ -823,14 +819,12 @@ em {
|
|
|
823
819
|
.dndev-input:focus {
|
|
824
820
|
border-color: var(--ring);
|
|
825
821
|
outline: none;
|
|
826
|
-
box-shadow:
|
|
822
|
+
box-shadow: var(--shadow-focus);
|
|
827
823
|
}
|
|
828
824
|
|
|
829
825
|
.dndev-input:focus-visible {
|
|
830
826
|
outline: none;
|
|
831
|
-
box-shadow:
|
|
832
|
-
0 0 0 2px var(--ring),
|
|
833
|
-
0 0 0 4px rgb(from var(--ring) r g b / 0.2);
|
|
827
|
+
box-shadow: var(--shadow-focus), var(--shadow-interactive);
|
|
834
828
|
}
|
|
835
829
|
|
|
836
830
|
.dndev-input:disabled {
|
|
@@ -846,13 +840,14 @@ em {
|
|
|
846
840
|
|
|
847
841
|
.dndev-input[data-variant='destructive']:focus {
|
|
848
842
|
border-color: var(--destructive);
|
|
849
|
-
box-shadow: 0 0 0
|
|
843
|
+
box-shadow: 0 0 0 3px
|
|
844
|
+
color-mix(in oklab, var(--destructive) 50%, transparent);
|
|
850
845
|
}
|
|
851
846
|
|
|
852
847
|
.dndev-input[data-variant='destructive']:focus-visible {
|
|
853
848
|
box-shadow:
|
|
854
|
-
0 0 0
|
|
855
|
-
0 0 0
|
|
849
|
+
0 0 0 3px color-mix(in oklab, var(--destructive) 50%, transparent),
|
|
850
|
+
0 0 0 3px color-mix(in oklab, var(--destructive) 20%, transparent);
|
|
856
851
|
}
|
|
857
852
|
|
|
858
853
|
/* File input specific styles */
|
|
@@ -864,6 +859,12 @@ em {
|
|
|
864
859
|
font-weight: var(--font-weight-medium);
|
|
865
860
|
}
|
|
866
861
|
|
|
862
|
+
/* Radix UI and other non-native placeholders (e.g. Select, DatePicker triggers) */
|
|
863
|
+
|
|
864
|
+
[data-placeholder] {
|
|
865
|
+
color: var(--placeholder);
|
|
866
|
+
}
|
|
867
|
+
|
|
867
868
|
/* Control base class - checkbox, radio, switch, slider */
|
|
868
869
|
|
|
869
870
|
.dndev-control {
|
|
@@ -879,9 +880,7 @@ em {
|
|
|
879
880
|
|
|
880
881
|
.dndev-control:focus-visible {
|
|
881
882
|
outline: none;
|
|
882
|
-
box-shadow:
|
|
883
|
-
0 0 0 2px var(--ring),
|
|
884
|
-
0 0 0 4px rgb(from var(--ring) r g b / 0.2);
|
|
883
|
+
box-shadow: var(--shadow-focus), var(--shadow-interactive);
|
|
885
884
|
}
|
|
886
885
|
|
|
887
886
|
.dndev-control:disabled {
|
|
@@ -1033,13 +1032,13 @@ em {
|
|
|
1033
1032
|
.dndev-surface[data-hover='glow']:hover {
|
|
1034
1033
|
box-shadow:
|
|
1035
1034
|
var(--shadow-xl),
|
|
1036
|
-
0 0 40px
|
|
1035
|
+
0 0 40px color-mix(in oklab, var(--foreground) 30%, transparent);
|
|
1037
1036
|
}
|
|
1038
1037
|
|
|
1039
1038
|
.dndev-surface[data-hover='glow']:dir(rtl):hover {
|
|
1040
1039
|
box-shadow:
|
|
1041
1040
|
var(--shadow-xl-rtl),
|
|
1042
|
-
0 0 40px
|
|
1041
|
+
0 0 40px color-mix(in oklab, var(--foreground) 30%, transparent);
|
|
1043
1042
|
}
|
|
1044
1043
|
|
|
1045
1044
|
/* Role-specific defaults */
|
|
@@ -1300,13 +1299,13 @@ em {
|
|
|
1300
1299
|
.dndev-floating[data-hover='glow']:hover {
|
|
1301
1300
|
box-shadow:
|
|
1302
1301
|
var(--shadow-xl),
|
|
1303
|
-
0 0 40px
|
|
1302
|
+
0 0 40px color-mix(in oklab, var(--foreground) 30%, transparent);
|
|
1304
1303
|
}
|
|
1305
1304
|
|
|
1306
1305
|
.dndev-floating[data-hover='glow']:dir(rtl):hover {
|
|
1307
1306
|
box-shadow:
|
|
1308
1307
|
var(--shadow-xl-rtl),
|
|
1309
|
-
0 0 40px
|
|
1308
|
+
0 0 40px color-mix(in oklab, var(--foreground) 30%, transparent);
|
|
1310
1309
|
}
|
|
1311
1310
|
|
|
1312
1311
|
/* Role-specific defaults */
|
|
@@ -1424,15 +1423,21 @@ em {
|
|
|
1424
1423
|
/* Base - filled primary (industry standard) */
|
|
1425
1424
|
background: var(--primary);
|
|
1426
1425
|
color: var(--primary-foreground);
|
|
1426
|
+
|
|
1427
|
+
/* ── Shared states ── */
|
|
1427
1428
|
}
|
|
1428
1429
|
|
|
1429
1430
|
.dndev-interactive:hover {
|
|
1430
|
-
|
|
1431
|
+
background: color-mix(in oklab, var(--primary) 85%, var(--foreground));
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
.dndev-interactive:active:not(:disabled) {
|
|
1435
|
+
scale: 0.97;
|
|
1431
1436
|
}
|
|
1432
1437
|
|
|
1433
1438
|
.dndev-interactive:focus-visible {
|
|
1434
|
-
outline:
|
|
1435
|
-
|
|
1439
|
+
outline: none;
|
|
1440
|
+
box-shadow: var(--shadow-focus), var(--shadow-interactive);
|
|
1436
1441
|
}
|
|
1437
1442
|
|
|
1438
1443
|
.dndev-interactive:disabled {
|
|
@@ -1447,129 +1452,110 @@ em {
|
|
|
1447
1452
|
flex-shrink: 0;
|
|
1448
1453
|
}
|
|
1449
1454
|
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1455
|
+
/* ═══════════════════════════
|
|
1456
|
+
FILLED VARIANTS — hover = darken/lighten the bg color
|
|
1457
|
+
═══════════════════════════ */
|
|
1453
1458
|
|
|
1454
|
-
|
|
1459
|
+
.dndev-interactive[data-variant='primary'] {
|
|
1460
|
+
background: var(--primary);
|
|
1461
|
+
color: var(--primary-foreground);
|
|
1462
|
+
}
|
|
1455
1463
|
|
|
1456
|
-
.dndev-interactive[data-variant='
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
color: var(--foreground);
|
|
1464
|
+
.dndev-interactive[data-variant='accent'] {
|
|
1465
|
+
background: var(--accent);
|
|
1466
|
+
color: var(--accent-foreground);
|
|
1460
1467
|
}
|
|
1461
1468
|
|
|
1462
|
-
.dndev-interactive[data-variant='
|
|
1463
|
-
background: var(--
|
|
1464
|
-
color: var(--primary-foreground);
|
|
1469
|
+
.dndev-interactive[data-variant='accent']:hover {
|
|
1470
|
+
background: color-mix(in oklab, var(--accent) 85%, var(--foreground));
|
|
1465
1471
|
}
|
|
1466
1472
|
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
background: transparent;
|
|
1471
|
-
color: var(--foreground);
|
|
1473
|
+
.dndev-interactive[data-variant='secondary'] {
|
|
1474
|
+
background: var(--secondary);
|
|
1475
|
+
color: var(--secondary-foreground);
|
|
1472
1476
|
}
|
|
1473
1477
|
|
|
1474
|
-
.dndev-interactive[data-variant='
|
|
1475
|
-
background: var(--
|
|
1476
|
-
color: var(--primary-foreground);
|
|
1478
|
+
.dndev-interactive[data-variant='secondary']:hover {
|
|
1479
|
+
background: color-mix(in oklab, var(--secondary) 85%, var(--foreground));
|
|
1477
1480
|
}
|
|
1478
1481
|
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
background: transparent;
|
|
1483
|
-
color: var(--destructive);
|
|
1484
|
-
border: var(--border-hairline) solid var(--destructive);
|
|
1482
|
+
.dndev-interactive[data-variant='success'] {
|
|
1483
|
+
background: var(--success);
|
|
1484
|
+
color: var(--success-foreground);
|
|
1485
1485
|
}
|
|
1486
1486
|
|
|
1487
|
-
.dndev-interactive[data-variant='
|
|
1488
|
-
background: var(--
|
|
1489
|
-
color: var(--destructive-foreground);
|
|
1487
|
+
.dndev-interactive[data-variant='success']:hover {
|
|
1488
|
+
background: color-mix(in oklab, var(--success) 85%, var(--foreground));
|
|
1490
1489
|
}
|
|
1491
1490
|
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
background: transparent;
|
|
1496
|
-
color: var(--muted-foreground);
|
|
1497
|
-
padding: 0;
|
|
1498
|
-
min-height: auto;
|
|
1499
|
-
font-size: var(--font-size-base);
|
|
1500
|
-
text-decoration: underline;
|
|
1501
|
-
text-underline-offset: 2px;
|
|
1502
|
-
transition: color var(--dur-fast) ease-out;
|
|
1491
|
+
.dndev-interactive[data-variant='warning'] {
|
|
1492
|
+
background: var(--warning);
|
|
1493
|
+
color: var(--warning-foreground);
|
|
1503
1494
|
}
|
|
1504
1495
|
|
|
1505
|
-
.dndev-interactive[data-variant='
|
|
1506
|
-
|
|
1496
|
+
.dndev-interactive[data-variant='warning']:hover {
|
|
1497
|
+
background: color-mix(in oklab, var(--warning) 85%, var(--foreground));
|
|
1507
1498
|
}
|
|
1508
1499
|
|
|
1509
|
-
/* Muted variant - subtle background */
|
|
1510
|
-
|
|
1511
1500
|
.dndev-interactive[data-variant='muted'] {
|
|
1512
1501
|
background: var(--muted);
|
|
1513
1502
|
color: var(--muted-foreground);
|
|
1514
1503
|
}
|
|
1515
1504
|
|
|
1516
1505
|
.dndev-interactive[data-variant='muted']:hover {
|
|
1517
|
-
background: color-mix(in oklab, var(--muted) 80%,
|
|
1506
|
+
background: color-mix(in oklab, var(--muted) 80%, var(--foreground) 20%);
|
|
1518
1507
|
}
|
|
1519
1508
|
|
|
1520
|
-
/*
|
|
1509
|
+
/* ═══════════════════════════
|
|
1510
|
+
GHOST VARIANTS — hover = subtle tint + text color shift
|
|
1511
|
+
═══════════════════════════ */
|
|
1521
1512
|
|
|
1522
|
-
|
|
1523
|
-
background: var(--accent);
|
|
1524
|
-
color: var(--accent-foreground);
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
.dndev-interactive[data-variant='accent']:hover {
|
|
1528
|
-
opacity: var(--opacity-strong);
|
|
1529
|
-
}
|
|
1513
|
+
/* Shared ghost hover — one rule for all transparent interactive elements */
|
|
1530
1514
|
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
background: var(--primary);
|
|
1535
|
-
color: var(--primary-foreground);
|
|
1515
|
+
.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'] {
|
|
1516
|
+
background: transparent;
|
|
1517
|
+
color: var(--foreground);
|
|
1536
1518
|
}
|
|
1537
1519
|
|
|
1538
|
-
.dndev-interactive[data-variant='
|
|
1539
|
-
|
|
1520
|
+
: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 {
|
|
1521
|
+
background: rgb(from var(--primary) r g b / 0.1);
|
|
1522
|
+
color: var(--primary);
|
|
1540
1523
|
}
|
|
1541
1524
|
|
|
1542
|
-
/*
|
|
1525
|
+
/* Outline adds border on top of ghost base */
|
|
1543
1526
|
|
|
1544
|
-
.dndev-interactive[data-variant='
|
|
1545
|
-
|
|
1546
|
-
color: var(--secondary-foreground);
|
|
1527
|
+
.dndev-interactive[data-variant='outline'] {
|
|
1528
|
+
border: var(--border-hairline) solid var(--border);
|
|
1547
1529
|
}
|
|
1548
1530
|
|
|
1549
|
-
|
|
1550
|
-
opacity: var(--opacity-strong);
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
/* Success variant - success state */
|
|
1531
|
+
/* Destructive ghost — same paradigm, different color */
|
|
1554
1532
|
|
|
1555
|
-
.dndev-interactive[data-variant='
|
|
1556
|
-
background:
|
|
1557
|
-
color: var(--
|
|
1533
|
+
.dndev-interactive[data-variant='destructive'] {
|
|
1534
|
+
background: transparent;
|
|
1535
|
+
color: var(--destructive);
|
|
1536
|
+
border: var(--border-hairline) solid var(--destructive);
|
|
1558
1537
|
}
|
|
1559
1538
|
|
|
1560
|
-
.dndev-interactive[data-variant='
|
|
1561
|
-
|
|
1539
|
+
.dndev-interactive[data-variant='destructive']:hover {
|
|
1540
|
+
background: rgb(from var(--destructive) r g b / 0.1);
|
|
1541
|
+
color: var(--destructive);
|
|
1562
1542
|
}
|
|
1563
1543
|
|
|
1564
|
-
/*
|
|
1544
|
+
/* Link variant — text-only, no background shift */
|
|
1565
1545
|
|
|
1566
|
-
.dndev-interactive[data-variant='
|
|
1567
|
-
background:
|
|
1568
|
-
color: var(--
|
|
1546
|
+
.dndev-interactive[data-variant='link'] {
|
|
1547
|
+
background: transparent;
|
|
1548
|
+
color: var(--muted-foreground);
|
|
1549
|
+
padding: 0;
|
|
1550
|
+
min-height: auto;
|
|
1551
|
+
font-size: var(--font-size-base);
|
|
1552
|
+
text-decoration: underline;
|
|
1553
|
+
text-underline-offset: 2px;
|
|
1554
|
+
transition: color var(--dur-fast) ease-out;
|
|
1569
1555
|
}
|
|
1570
1556
|
|
|
1571
|
-
.dndev-interactive[data-variant='
|
|
1572
|
-
|
|
1557
|
+
.dndev-interactive[data-variant='link']:hover {
|
|
1558
|
+
color: var(--primary);
|
|
1573
1559
|
}
|
|
1574
1560
|
|
|
1575
1561
|
/* Context-aware: ONLY inside accent surfaces */
|
|
@@ -1588,11 +1574,11 @@ em {
|
|
|
1588
1574
|
}
|
|
1589
1575
|
|
|
1590
1576
|
: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 {
|
|
1591
|
-
background: var(--surface-text);
|
|
1592
|
-
color: var(--surface-
|
|
1577
|
+
background: rgb(from var(--surface-text) r g b / 0.1);
|
|
1578
|
+
color: var(--surface-text);
|
|
1593
1579
|
}
|
|
1594
1580
|
|
|
1595
|
-
/* Unified menu/command/nav item base */
|
|
1581
|
+
/* Unified menu/command/nav item base — ghost hover inherited from shared rule above */
|
|
1596
1582
|
|
|
1597
1583
|
.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'],.dndev-interactive[data-role='nav-trigger'] {
|
|
1598
1584
|
min-height: auto;
|
|
@@ -1606,10 +1592,6 @@ em {
|
|
|
1606
1592
|
position: relative;
|
|
1607
1593
|
text-decoration: none;
|
|
1608
1594
|
|
|
1609
|
-
/* Override base .dndev-interactive filled primary - make ghost */
|
|
1610
|
-
background: transparent;
|
|
1611
|
-
color: inherit;
|
|
1612
|
-
|
|
1613
1595
|
/* Remove gap when compact (no label to space from) */
|
|
1614
1596
|
}
|
|
1615
1597
|
|
|
@@ -1617,11 +1599,9 @@ em {
|
|
|
1617
1599
|
gap: 0 !important;
|
|
1618
1600
|
}
|
|
1619
1601
|
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
background-color: var(--accent);
|
|
1624
|
-
color: var(--accent-foreground);
|
|
1602
|
+
.dndev-interactive[data-role='menu-item']:focus-visible,.dndev-interactive[data-role='menu-item'][data-highlighted] {
|
|
1603
|
+
background: rgb(from var(--primary) r g b / 0.1);
|
|
1604
|
+
color: var(--primary);
|
|
1625
1605
|
outline: 2px solid var(--ring);
|
|
1626
1606
|
outline-offset: 0;
|
|
1627
1607
|
}
|
|
@@ -1647,14 +1627,9 @@ em {
|
|
|
1647
1627
|
width: 100%;
|
|
1648
1628
|
}
|
|
1649
1629
|
|
|
1650
|
-
.dndev-interactive[data-role='command-item']:hover:not([data-selected='true']) {
|
|
1651
|
-
background-color: var(--accent);
|
|
1652
|
-
color: var(--accent-foreground);
|
|
1653
|
-
}
|
|
1654
|
-
|
|
1655
1630
|
.dndev-interactive[data-role='command-item'][data-selected='true'] {
|
|
1656
|
-
background
|
|
1657
|
-
color: var(--
|
|
1631
|
+
background: rgb(from var(--primary) r g b / 0.1);
|
|
1632
|
+
color: var(--primary);
|
|
1658
1633
|
}
|
|
1659
1634
|
|
|
1660
1635
|
.dndev-interactive[data-role='command-item'][data-disabled='true'] {
|
|
@@ -1663,8 +1638,8 @@ em {
|
|
|
1663
1638
|
}
|
|
1664
1639
|
|
|
1665
1640
|
.dndev-interactive[data-role='command-item']:focus-visible {
|
|
1666
|
-
outline:
|
|
1667
|
-
|
|
1641
|
+
outline: none;
|
|
1642
|
+
box-shadow: var(--shadow-focus), var(--shadow-interactive);
|
|
1668
1643
|
}
|
|
1669
1644
|
|
|
1670
1645
|
/* Specific containers that need start-align (not general stacks/grids) */
|
|
@@ -1759,8 +1734,8 @@ em {
|
|
|
1759
1734
|
/* Focus state */
|
|
1760
1735
|
|
|
1761
1736
|
.dndev-control:focus-visible {
|
|
1762
|
-
outline:
|
|
1763
|
-
|
|
1737
|
+
outline: none;
|
|
1738
|
+
box-shadow: var(--shadow-focus), var(--shadow-interactive);
|
|
1764
1739
|
}
|
|
1765
1740
|
|
|
1766
1741
|
/* Disabled state */
|
|
@@ -1774,8 +1749,8 @@ em {
|
|
|
1774
1749
|
|
|
1775
1750
|
.dndev-control[data-state='checked'],.dndev-control[data-state='on'],.dndev-control[data-pressed='true'] {
|
|
1776
1751
|
background-color: var(--control-border);
|
|
1777
|
-
/* --card
|
|
1778
|
-
color: var(--card);
|
|
1752
|
+
/* --card-base: root snapshot, not overridden by variant blocks (safe inside any surface) */
|
|
1753
|
+
color: var(--card-base);
|
|
1779
1754
|
}
|
|
1780
1755
|
|
|
1781
1756
|
/* CONTROL GROUP - Shared pattern for grouped controls (RadioGroup, Checkbox groups) */
|
|
@@ -1916,8 +1891,7 @@ em {
|
|
|
1916
1891
|
margin-top: var(--gap-sm);
|
|
1917
1892
|
margin-bottom: var(--gap-sm);
|
|
1918
1893
|
height: 1px;
|
|
1919
|
-
background-color: var(--
|
|
1920
|
-
opacity: var(--opacity-strong);
|
|
1894
|
+
background-color: var(--border);
|
|
1921
1895
|
}
|
|
1922
1896
|
|
|
1923
1897
|
/* Menu shortcut */
|
|
@@ -1953,26 +1927,13 @@ em {
|
|
|
1953
1927
|
--notification-shadow-base: var(--shadow-xl-rtl);
|
|
1954
1928
|
}
|
|
1955
1929
|
|
|
1956
|
-
/* Notification variants -
|
|
1930
|
+
/* Notification variants - only override border + glow, bg/color inherited from base */
|
|
1957
1931
|
|
|
1958
1932
|
.dndev-notification[data-variant='default'] {
|
|
1959
|
-
background: color-mix(
|
|
1960
|
-
in oklab,
|
|
1961
|
-
var(--popover-foreground) 95%,
|
|
1962
|
-
transparent
|
|
1963
|
-
) !important;
|
|
1964
|
-
color: var(--popover) !important;
|
|
1965
1933
|
border: var(--border-hairline) solid var(--border);
|
|
1966
|
-
/* Uses base shadow from .dndev-notification */
|
|
1967
1934
|
}
|
|
1968
1935
|
|
|
1969
1936
|
.dndev-notification[data-variant='info'] {
|
|
1970
|
-
background: color-mix(
|
|
1971
|
-
in oklab,
|
|
1972
|
-
var(--popover-foreground) 95%,
|
|
1973
|
-
transparent
|
|
1974
|
-
) !important;
|
|
1975
|
-
color: var(--popover) !important;
|
|
1976
1937
|
border: var(--border-width) solid var(--accent);
|
|
1977
1938
|
box-shadow:
|
|
1978
1939
|
var(--notification-shadow-base),
|
|
@@ -1980,12 +1941,6 @@ em {
|
|
|
1980
1941
|
}
|
|
1981
1942
|
|
|
1982
1943
|
.dndev-notification[data-variant='success'] {
|
|
1983
|
-
background: color-mix(
|
|
1984
|
-
in oklab,
|
|
1985
|
-
var(--popover-foreground) 95%,
|
|
1986
|
-
transparent
|
|
1987
|
-
) !important;
|
|
1988
|
-
color: var(--popover) !important;
|
|
1989
1944
|
border: var(--border-width) solid var(--success);
|
|
1990
1945
|
box-shadow:
|
|
1991
1946
|
var(--notification-shadow-base),
|
|
@@ -1993,12 +1948,6 @@ em {
|
|
|
1993
1948
|
}
|
|
1994
1949
|
|
|
1995
1950
|
.dndev-notification[data-variant='warning'] {
|
|
1996
|
-
background: color-mix(
|
|
1997
|
-
in oklab,
|
|
1998
|
-
var(--popover-foreground) 95%,
|
|
1999
|
-
transparent
|
|
2000
|
-
) !important;
|
|
2001
|
-
color: var(--popover) !important;
|
|
2002
1951
|
border: var(--border-width) solid var(--warning);
|
|
2003
1952
|
box-shadow:
|
|
2004
1953
|
var(--notification-shadow-base),
|
|
@@ -2006,12 +1955,6 @@ em {
|
|
|
2006
1955
|
}
|
|
2007
1956
|
|
|
2008
1957
|
.dndev-notification[data-variant='error'],.dndev-notification[data-variant='destructive'] {
|
|
2009
|
-
background: color-mix(
|
|
2010
|
-
in oklab,
|
|
2011
|
-
var(--popover-foreground) 95%,
|
|
2012
|
-
transparent
|
|
2013
|
-
) !important;
|
|
2014
|
-
color: var(--popover) !important;
|
|
2015
1958
|
border: var(--border-width) solid var(--destructive);
|
|
2016
1959
|
box-shadow:
|
|
2017
1960
|
var(--notification-shadow-base),
|
|
@@ -2019,12 +1962,6 @@ em {
|
|
|
2019
1962
|
}
|
|
2020
1963
|
|
|
2021
1964
|
.dndev-notification[data-variant='primary'] {
|
|
2022
|
-
background: color-mix(
|
|
2023
|
-
in oklab,
|
|
2024
|
-
var(--popover-foreground) 95%,
|
|
2025
|
-
transparent
|
|
2026
|
-
) !important;
|
|
2027
|
-
color: var(--popover) !important;
|
|
2028
1965
|
border: var(--border-width) solid var(--primary);
|
|
2029
1966
|
box-shadow:
|
|
2030
1967
|
var(--notification-shadow-base),
|
|
@@ -2032,12 +1969,6 @@ em {
|
|
|
2032
1969
|
}
|
|
2033
1970
|
|
|
2034
1971
|
.dndev-notification[data-variant='secondary'] {
|
|
2035
|
-
background: color-mix(
|
|
2036
|
-
in oklab,
|
|
2037
|
-
var(--popover-foreground) 95%,
|
|
2038
|
-
transparent
|
|
2039
|
-
) !important;
|
|
2040
|
-
color: var(--popover) !important;
|
|
2041
1972
|
border: var(--border-width) solid var(--secondary);
|
|
2042
1973
|
box-shadow:
|
|
2043
1974
|
var(--notification-shadow-base),
|
|
@@ -2045,12 +1976,6 @@ em {
|
|
|
2045
1976
|
}
|
|
2046
1977
|
|
|
2047
1978
|
.dndev-notification[data-variant='accent'] {
|
|
2048
|
-
background: color-mix(
|
|
2049
|
-
in oklab,
|
|
2050
|
-
var(--popover-foreground) 95%,
|
|
2051
|
-
transparent
|
|
2052
|
-
) !important;
|
|
2053
|
-
color: var(--popover) !important;
|
|
2054
1979
|
border: var(--border-width) solid var(--accent);
|
|
2055
1980
|
box-shadow:
|
|
2056
1981
|
var(--notification-shadow-base),
|
|
@@ -2064,7 +1989,7 @@ em {
|
|
|
2064
1989
|
.dndev-overlay {
|
|
2065
1990
|
position: fixed;
|
|
2066
1991
|
inset: 0;
|
|
2067
|
-
background:
|
|
1992
|
+
background: color-mix(in oklab, var(--foreground) 40%, transparent);
|
|
2068
1993
|
backdrop-filter: blur(8px);
|
|
2069
1994
|
will-change: opacity;
|
|
2070
1995
|
z-index: var(--z-overlay);
|
|
@@ -2135,7 +2060,7 @@ em {
|
|
|
2135
2060
|
|
|
2136
2061
|
.dndev-modal-content {
|
|
2137
2062
|
position: fixed;
|
|
2138
|
-
|
|
2063
|
+
inset-inline-start: 50%;
|
|
2139
2064
|
top: 50%;
|
|
2140
2065
|
z-index: calc(var(--z-modal) + 1);
|
|
2141
2066
|
transform: translate(-50%, -50%);
|