@donotdev/components 0.1.1 → 0.1.42

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 (84) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +2 -2
  3. package/dist/CodeContent-JLL6BLG2.js +2 -0
  4. package/dist/advanced/Code/CodeContent.d.ts.map +1 -1
  5. package/dist/advanced/Code/CodeContent.js +2 -3
  6. package/dist/advanced/ImageGallery/ImageGallery.d.ts +7 -1
  7. package/dist/advanced/ImageGallery/ImageGallery.d.ts.map +1 -1
  8. package/dist/advanced/ImageGallery/ImageGallery.js +52 -3
  9. package/dist/advanced/JsonViewer/JsonViewer.js +11 -11
  10. package/dist/advanced/Reveal/Reveal.d.ts.map +1 -1
  11. package/dist/advanced/Reveal/Reveal.js +4 -4
  12. package/dist/advanced/Roadmap/RoadmapContent.d.ts.map +1 -1
  13. package/dist/advanced/Roadmap/RoadmapContent.js +2 -2
  14. package/dist/atomic/Alert/index.d.ts.map +1 -1
  15. package/dist/atomic/Alert/index.js +1 -1
  16. package/dist/atomic/Button/index.d.ts +2 -2
  17. package/dist/atomic/Button/index.js +1 -1
  18. package/dist/atomic/CallToAction/index.d.ts +2 -0
  19. package/dist/atomic/CallToAction/index.d.ts.map +1 -1
  20. package/dist/atomic/CallToAction/index.js +2 -2
  21. package/dist/atomic/Card/index.d.ts +101 -2
  22. package/dist/atomic/Card/index.d.ts.map +1 -1
  23. package/dist/atomic/Card/index.js +87 -9
  24. package/dist/atomic/Checkbox/index.d.ts +2 -2
  25. package/dist/atomic/Checkbox/index.d.ts.map +1 -1
  26. package/dist/atomic/Checkbox/index.js +6 -4
  27. package/dist/atomic/ColorPicker/index.d.ts.map +1 -1
  28. package/dist/atomic/ColorPicker/index.js +7 -7
  29. package/dist/atomic/Combobox/index.d.ts +2 -0
  30. package/dist/atomic/Combobox/index.d.ts.map +1 -1
  31. package/dist/atomic/Combobox/index.js +36 -21
  32. package/dist/atomic/CopyToClipboard/index.d.ts.map +1 -1
  33. package/dist/atomic/CopyToClipboard/index.js +3 -3
  34. package/dist/atomic/DatePicker/index.d.ts +54 -0
  35. package/dist/atomic/DatePicker/index.d.ts.map +1 -0
  36. package/dist/atomic/DatePicker/index.js +377 -0
  37. package/dist/atomic/DateTimePicker/index.d.ts +54 -0
  38. package/dist/atomic/DateTimePicker/index.d.ts.map +1 -0
  39. package/dist/atomic/DateTimePicker/index.js +460 -0
  40. package/dist/atomic/FileButton/index.d.ts.map +1 -1
  41. package/dist/atomic/FileButton/index.js +3 -3
  42. package/dist/atomic/HeroSection/index.d.ts.map +1 -1
  43. package/dist/atomic/HeroSection/index.js +5 -1
  44. package/dist/atomic/Icons/Icon.d.ts.map +1 -1
  45. package/dist/atomic/Icons/Icon.js +3 -11
  46. package/dist/atomic/Icons/Partner/SupabaseIcon.d.ts.map +1 -1
  47. package/dist/atomic/Label/FloatingLabel.d.ts.map +1 -1
  48. package/dist/atomic/Label/FloatingLabel.js +2 -5
  49. package/dist/atomic/Label/index.d.ts.map +1 -1
  50. package/dist/atomic/Label/index.js +1 -5
  51. package/dist/atomic/Pagination/index.js +3 -3
  52. package/dist/atomic/PinInput/index.d.ts +92 -0
  53. package/dist/atomic/PinInput/index.d.ts.map +1 -0
  54. package/dist/atomic/PinInput/index.js +156 -0
  55. package/dist/atomic/RangeInput/index.d.ts.map +1 -1
  56. package/dist/atomic/RangeInput/index.js +1 -2
  57. package/dist/atomic/Rating/index.d.ts.map +1 -1
  58. package/dist/atomic/Rating/index.js +5 -5
  59. package/dist/atomic/Table/index.d.ts +35 -1
  60. package/dist/atomic/Table/index.d.ts.map +1 -1
  61. package/dist/atomic/Table/index.js +27 -0
  62. package/dist/atomic/Tooltip/index.js +5 -5
  63. package/dist/atomic/TreeView/index.js +1 -1
  64. package/dist/atomic/index.d.ts +6 -0
  65. package/dist/atomic/index.d.ts.map +1 -1
  66. package/dist/atomic/index.js +3 -0
  67. package/dist/chunk-6UB4NXNR.js +3 -0
  68. package/dist/index.js +5 -5
  69. package/dist/styles/index.css +737 -98
  70. package/dist/symbol-index.json +1 -1
  71. package/dist/types.d.ts +1 -1
  72. package/dist/types.d.ts.map +1 -1
  73. package/dist/utils/date.d.ts +46 -0
  74. package/dist/utils/date.d.ts.map +1 -0
  75. package/dist/utils/date.js +130 -0
  76. package/dist/utils/imageRetry.d.ts.map +1 -1
  77. package/dist/utils/index.d.ts +1 -0
  78. package/dist/utils/index.d.ts.map +1 -1
  79. package/dist/utils/index.js +1 -0
  80. package/guidelines/API_REFERENCE.md +0 -0
  81. package/guidelines/COMPONENTS.md +0 -0
  82. package/package.json +1 -1
  83. package/dist/CodeContent-JP5FNGFV.js +0 -2
  84. package/dist/chunk-ZCLMEZ46.js +0 -3
@@ -20,7 +20,8 @@
20
20
  Standard touch-friendly sizing for all interactive components
21
21
  =========================== */
22
22
  --touch-target: 48px;
23
- --icon-md: 24px; /* Standard icon size */
23
+ --icon-sm: 16px; /* Nested icon size (inside inputs, action buttons, badges) */
24
+ --icon-md: 24px; /* Standard standalone icon size */
24
25
  --icon-touch: 32px; /* Large icon size (reserved) */
25
26
 
26
27
  /* ===========================
@@ -125,6 +126,13 @@
125
126
  --popover: var(--card);
126
127
  --popover-foreground: var(--card-foreground);
127
128
 
129
+ /*
130
+ * Interactive surface — background for inputs (.dndev-input) and outline
131
+ * buttons (.dndev-interactive[data-variant='outline']). Parallel to --card
132
+ * for containers. Defaults to transparent so apps opt in via themes.css.
133
+ */
134
+ --interactive: transparent;
135
+
128
136
  /*
129
137
  * Root card snapshot — computed once on :root from --card/--card-foreground,
130
138
  * then inherited unchanged. Variant blocks (e.g. primary) override --card but
@@ -173,6 +181,7 @@
173
181
  --font-size-xs: 0.75rem; /* 12px - captions, shortcuts, meta */
174
182
  --font-size-sm: 0.875rem; /* 14px - small text, captions */
175
183
  --font-size-base: 1rem; /* 16px - body text, DEFAULT */
184
+ --font-size-input: 16px; /* Form field text - hardcoded for iOS zoom + density-proof */
176
185
  --font-size-lg: 1.25rem; /* 20px - base × 1.25¹ - emphasized text */
177
186
  --font-size-xl: 1.563rem; /* 25px - base × 1.25² - headings */
178
187
  --font-size-2xl: 1.953rem; /* 31px - base × 1.25³ - large headings */
@@ -271,7 +280,7 @@
271
280
  Micro-interactions for buttons and interactive elements.
272
281
  Set to 0/1 to disable individual effects.
273
282
  =========================== */
274
- --hover-lift: -2px; /* translateY on hover (0 = disabled) */
283
+ --hover-lift: 0; /* translateY on hover (0 = disabled) */
275
284
  --click-scale: 0.97; /* scale on click (1 = disabled) */
276
285
  --ripple-opacity: 0.2; /* ripple effect opacity (0 = disabled) */
277
286
 
@@ -783,13 +792,13 @@ em {
783
792
  width: 100%;
784
793
  border-radius: var(--radius-interactive);
785
794
  border: var(--border-hairline) solid var(--line-2);
786
- background-color: transparent;
795
+ background-color: var(--interactive, transparent);
787
796
  color: var(--foreground);
788
797
  padding-inline-start: var(--gap-md);
789
798
  padding-inline-end: var(--gap-md);
790
799
  padding-top: var(--gap-sm);
791
800
  padding-bottom: var(--gap-sm);
792
- font-size: max(16px, var(--font-size-base));
801
+ font-size: var(--font-size-input);
793
802
  box-shadow: var(--shadow-sm);
794
803
  transition: all var(--dur-normal) var(--ease-in-out);
795
804
  /* Touch target for mobile */
@@ -809,10 +818,12 @@ em {
809
818
 
810
819
  .dndev-input::-moz-placeholder {
811
820
  color: var(--placeholder);
821
+ font-size: var(--font-size-input);
812
822
  }
813
823
 
814
824
  .dndev-input::placeholder {
815
825
  color: var(--placeholder);
826
+ font-size: var(--font-size-input);
816
827
  }
817
828
 
818
829
  .dndev-input:hover {
@@ -868,6 +879,56 @@ em {
868
879
  color: var(--placeholder);
869
880
  }
870
881
 
882
+ /* ===========================
883
+ INLINE ACTION BUTTONS
884
+ =========================== */
885
+
886
+ /** Shared pattern for inline clear/action buttons inside input-like components.
887
+ * Used by: Combobox trailing buttons, RangeInput clear, DateFilter clear. */
888
+
889
+ .dndev-inline-action-btn {
890
+ all: unset;
891
+ display: flex;
892
+ align-items: center;
893
+ justify-content: center;
894
+ width: var(--touch-target);
895
+ height: 100%;
896
+ cursor: pointer;
897
+ color: var(--muted-foreground);
898
+ opacity: var(--opacity-muted, 0.5);
899
+ transition:
900
+ color var(--dur-fast) var(--ease-in-out),
901
+ opacity var(--dur-fast) var(--ease-in-out);
902
+ }
903
+
904
+ .dndev-inline-action-btn:hover:not(:disabled) {
905
+ opacity: 1;
906
+ color: var(--foreground);
907
+ }
908
+
909
+ .dndev-inline-action-btn:focus-visible {
910
+ opacity: 1;
911
+ color: var(--foreground);
912
+ outline: none;
913
+ box-shadow:
914
+ 0 0 0 2px var(--ring),
915
+ 0 0 0 4px rgb(from var(--ring) r g b / 0.2);
916
+ }
917
+
918
+ .dndev-inline-action-btn:active:not(:disabled) {
919
+ opacity: 0.8;
920
+ }
921
+
922
+ .dndev-inline-action-btn:disabled {
923
+ cursor: not-allowed;
924
+ opacity: calc(var(--opacity-muted, 0.5) * 0.5);
925
+ }
926
+
927
+ .dndev-inline-action-btn svg {
928
+ width: var(--icon-sm);
929
+ height: var(--icon-sm);
930
+ }
931
+
871
932
  /* Control base class - checkbox, radio, switch, slider */
872
933
 
873
934
  .dndev-control {
@@ -1424,7 +1485,7 @@ em {
1424
1485
  text-transform: var(--text-transform-button, none);
1425
1486
  transition:
1426
1487
  background var(--dur-fast) var(--ease-in-out),
1427
- transform var(--dur-fast) var(--ease-in-out),
1488
+ color var(--dur-fast) var(--ease-in-out),
1428
1489
  box-shadow var(--dur-fast) var(--ease-in-out),
1429
1490
  border-color var(--dur-fast) var(--ease-in-out);
1430
1491
  cursor: pointer;
@@ -1438,11 +1499,10 @@ em {
1438
1499
 
1439
1500
  .dndev-interactive:hover {
1440
1501
  background: color-mix(in oklab, var(--primary) 85%, var(--foreground));
1441
- transform: translateY(var(--hover-lift));
1442
1502
  }
1443
1503
 
1444
1504
  .dndev-interactive:active:not(:disabled) {
1445
- transform: translateY(0) scale(var(--click-scale));
1505
+ transform: scale(var(--click-scale));
1446
1506
  }
1447
1507
 
1448
1508
  .dndev-interactive:focus-visible {
@@ -1527,17 +1587,34 @@ em {
1527
1587
  }
1528
1588
 
1529
1589
  /* ═══════════════════════════
1530
- GHOST VARIANTS — hover = subtle tint + text color shift
1590
+ TRANSPARENT VARIANTS
1531
1591
  ═══════════════════════════ */
1532
1592
 
1533
- /* Shared ghost hover — one rule for all transparent interactive elements */
1593
+ /* Outline — themeable interactive surface (parallel to --card) */
1594
+
1595
+ .dndev-interactive[data-variant='outline'] {
1596
+ background: var(--interactive, transparent);
1597
+ color: var(--foreground);
1598
+ }
1599
+
1600
+ /* Ghost / nav / menu / command — transparent by design */
1534
1601
 
1535
- .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'] {
1602
+ .dndev-interactive[data-variant='ghost'],.dndev-interactive[data-role='nav-trigger'],.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'] {
1536
1603
  background: transparent;
1537
1604
  color: var(--foreground);
1538
1605
  }
1539
1606
 
1540
- :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 {
1607
+ /* Ghost — hover = font color only, no bg, no lift */
1608
+
1609
+ .dndev-interactive[data-variant='ghost']:hover {
1610
+ background: transparent;
1611
+ color: var(--primary);
1612
+ transform: none;
1613
+ }
1614
+
1615
+ /* Outline / menu / nav — hover = subtle tint + text color shift */
1616
+
1617
+ :is(.dndev-interactive[data-variant='outline'],.dndev-interactive[data-role='nav-trigger'],.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item']):hover {
1541
1618
  background: rgb(from var(--primary) r g b / 0.1);
1542
1619
  color: var(--primary);
1543
1620
  }
@@ -1575,7 +1652,9 @@ em {
1575
1652
  }
1576
1653
 
1577
1654
  .dndev-interactive[data-variant='link']:hover {
1655
+ background: transparent;
1578
1656
  color: var(--primary);
1657
+ transform: none;
1579
1658
  }
1580
1659
 
1581
1660
  /* Context-aware: ONLY inside accent surfaces */
@@ -1587,18 +1666,28 @@ em {
1587
1666
  color: var(--surface-bg);
1588
1667
  }
1589
1668
 
1590
- /* Outline/Ghost adapt */
1669
+ /* Outline adapts with tint */
1591
1670
 
1592
- [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) {
1671
+ [data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
1593
1672
  color: var(--surface-text);
1594
1673
  }
1595
1674
 
1596
- :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 {
1675
+ [data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
1597
1676
  background: rgb(from var(--surface-text) r g b / 0.1);
1598
1677
  color: var(--surface-text);
1599
1678
  }
1600
1679
 
1601
- /* Unified menu/command/nav item base — ghost hover inherited from shared rule above */
1680
+ /* Ghost adapts — font color only */
1681
+
1682
+ [data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
1683
+ color: var(--surface-text);
1684
+ }
1685
+
1686
+ [data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
1687
+ color: var(--surface-text);
1688
+ }
1689
+
1690
+ /* Unified menu/command/nav item base */
1602
1691
 
1603
1692
  .dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'],.dndev-interactive[data-role='nav-trigger'] {
1604
1693
  min-height: auto;
@@ -1777,7 +1866,7 @@ em {
1777
1866
 
1778
1867
  .dndev-control-group {
1779
1868
  display: grid;
1780
- gap: var(--gap-md); /* 16px - standard spacing between grouped items */
1869
+ gap: var(--gap-sm); /* 8px - tighter spacing for control groups */
1781
1870
 
1782
1871
  /* Control + label pattern - used by RadioGroup, CheckboxFieldComponent, etc. */
1783
1872
  }
@@ -1786,7 +1875,7 @@ em {
1786
1875
  display: flex;
1787
1876
  align-items: center;
1788
1877
  gap: var(--gap-sm); /* 8px - spacing between control and label */
1789
- font-size: var(--font-size-base);
1878
+ font-size: var(--font-size-input);
1790
1879
  color: var(--foreground);
1791
1880
  cursor: pointer;
1792
1881
  transition: color var(--transition-fast);
@@ -2484,19 +2573,52 @@ em {
2484
2573
 
2485
2574
  /* packages/components/src/atomic/Alert/Alert.css */
2486
2575
 
2576
+ /**
2577
+ * Modern inline alert - subtle tint treatment.
2578
+ * Overrides .dndev-surface heaviness (shadow, gradient, asymmetric padding).
2579
+ * Pattern: GitHub Primer / Linear - tinted bg, semantic border, no elevation.
2580
+ */
2581
+
2487
2582
  .dndev-surface[role='alert'] {
2488
- display: flex;
2489
- /* Variants handled by .dndev-surface variants in patterns.css via CSS variables */
2583
+ /* Subtle tint: variant color at 8% over transparent */
2584
+ background: color-mix(in oklab, var(--card) 8%, transparent);
2585
+ /* Foreground: page default for readability on subtle bg */
2586
+ color: var(--foreground);
2587
+ /* Semantic border: variant color at 25% */
2588
+ border: var(--border-hairline) solid
2589
+ color-mix(in oklab, var(--card) 25%, transparent);
2590
+ /* No elevation on inline alerts */
2591
+ box-shadow: none;
2592
+ /* Tight symmetric padding */
2593
+ padding: var(--gap-sm) var(--gap-md);
2490
2594
  }
2491
2595
 
2596
+ /* Icon: variant-colored, optically aligned to first text line */
2597
+
2598
+ .dndev-alert-icon {
2599
+ color: var(--card);
2600
+ width: 1rem;
2601
+ height: 1rem;
2602
+ flex-shrink: 0;
2603
+ margin-block-start: 0.125rem;
2604
+ }
2605
+
2606
+ /* Title: variant-colored, semibold, compact */
2607
+
2492
2608
  .dndev-alert-title {
2493
- font-weight: var(--font-weight-medium);
2494
- line-height: 1;
2609
+ color: var(--card);
2610
+ font-weight: var(--font-weight-semibold);
2611
+ font-size: var(--font-size-sm);
2612
+ line-height: 1.25;
2495
2613
  letter-spacing: -0.025em;
2496
2614
  }
2497
2615
 
2616
+ /* Description: default foreground, slightly dimmed */
2617
+
2498
2618
  .dndev-alert-description {
2499
2619
  font-size: var(--font-size-sm);
2620
+ line-height: 1.4;
2621
+ opacity: 0.85;
2500
2622
  }
2501
2623
 
2502
2624
  /* packages/components/src/atomic/Avatar/Avatar.css */
@@ -3352,6 +3474,274 @@ em {
3352
3474
  visibility: hidden;
3353
3475
  }
3354
3476
 
3477
+ /* packages/components/src/atomic/DatePicker/DatePicker.css */
3478
+
3479
+ /**
3480
+ * DatePicker Component Styles
3481
+ * Segmented date input with calendar popover.
3482
+ * Mobile: falls back to native <input type="date"> via @media (pointer: coarse).
3483
+ */
3484
+
3485
+ /* ===========================
3486
+ ROOT CONTAINER
3487
+ =========================== */
3488
+
3489
+ .dndev-datepicker {
3490
+ position: relative;
3491
+ display: inline-flex;
3492
+ align-items: center;
3493
+ width: 100%;
3494
+ }
3495
+
3496
+ /* ===========================
3497
+ DESKTOP: SEGMENTED INPUT
3498
+ =========================== */
3499
+
3500
+ .dndev-datepicker-custom {
3501
+ display: flex;
3502
+ align-items: center;
3503
+ width: 100%;
3504
+ }
3505
+
3506
+ /* Input-like container (mirrors .dndev-input from patterns.css) */
3507
+
3508
+ .dndev-datepicker-field {
3509
+ display: flex;
3510
+ align-items: center;
3511
+ width: 100%;
3512
+ min-height: var(--touch-target);
3513
+ border-radius: var(--radius-interactive);
3514
+ border: var(--border-hairline) solid var(--line-2);
3515
+ background-color: transparent;
3516
+ color: var(--foreground);
3517
+ padding-inline-start: var(--gap-md);
3518
+ padding-inline-end: 0;
3519
+ font-size: var(--font-size-input);
3520
+ box-shadow: var(--shadow-sm);
3521
+ transition: all var(--dur-normal) var(--ease-in-out);
3522
+ touch-action: manipulation;
3523
+ cursor: text;
3524
+ }
3525
+
3526
+ /* Bare mode inside FloatingLabel (fieldset provides border) */
3527
+
3528
+ .dndev-datepicker-field[data-bare] {
3529
+ border: none;
3530
+ box-shadow: none;
3531
+ background: transparent;
3532
+ }
3533
+
3534
+ /* Hover */
3535
+
3536
+ .dndev-datepicker-field:hover {
3537
+ border-color: var(--ring);
3538
+ }
3539
+
3540
+ /* Focus-within */
3541
+
3542
+ .dndev-datepicker-field:focus-within {
3543
+ border-color: var(--ring);
3544
+ outline: none;
3545
+ box-shadow: var(--shadow-focus);
3546
+ }
3547
+
3548
+ /* Focus-within bare (FloatingLabel handles outer border) */
3549
+
3550
+ .dndev-datepicker-field[data-bare]:focus-within {
3551
+ box-shadow: none;
3552
+ }
3553
+
3554
+ /* Error state */
3555
+
3556
+ .dndev-datepicker-field[aria-invalid='true'],
3557
+ .dndev-datepicker-field[data-variant='destructive'] {
3558
+ border-color: var(--destructive);
3559
+ }
3560
+
3561
+ /* Disabled */
3562
+
3563
+ .dndev-datepicker-field[data-disabled] {
3564
+ cursor: not-allowed;
3565
+ opacity: var(--opacity-muted);
3566
+ }
3567
+
3568
+ /* ===========================
3569
+ SEGMENTS AREA
3570
+ =========================== */
3571
+
3572
+ .dndev-datepicker-segments {
3573
+ display: flex;
3574
+ align-items: center;
3575
+ flex: 1;
3576
+ min-width: 0;
3577
+ }
3578
+
3579
+ /* ===========================
3580
+ SEGMENTS
3581
+ =========================== */
3582
+
3583
+ .dndev-datepicker-segment {
3584
+ display: inline-flex;
3585
+ align-items: center;
3586
+ justify-content: center;
3587
+ padding: var(--gap-tight) 1px;
3588
+ border-radius: 2px;
3589
+ font-variant-numeric: tabular-nums;
3590
+ caret-color: transparent;
3591
+ outline: none;
3592
+ min-width: 2ch;
3593
+ text-align: center;
3594
+ -webkit-user-select: none;
3595
+ -moz-user-select: none;
3596
+ user-select: none;
3597
+ }
3598
+
3599
+ /* Year segment needs more room */
3600
+
3601
+ .dndev-datepicker-segment[data-type='year'] {
3602
+ min-width: 4ch;
3603
+ }
3604
+
3605
+ /* Placeholder text */
3606
+
3607
+ .dndev-datepicker-segment[data-placeholder] {
3608
+ color: var(--placeholder);
3609
+ }
3610
+
3611
+ /* Focused segment highlight */
3612
+
3613
+ .dndev-datepicker-segment:focus {
3614
+ background-color: var(--accent);
3615
+ color: var(--accent-foreground);
3616
+ outline: none;
3617
+ }
3618
+
3619
+ /* Separator between segments */
3620
+
3621
+ .dndev-datepicker-separator {
3622
+ color: var(--muted-foreground);
3623
+ padding: 0 1px;
3624
+ -webkit-user-select: none;
3625
+ -moz-user-select: none;
3626
+ user-select: none;
3627
+ }
3628
+
3629
+ /* ===========================
3630
+ CALENDAR TRIGGER BUTTON (inside field)
3631
+ =========================== */
3632
+
3633
+ /* Extends .dndev-inline-action-btn from patterns.css */
3634
+
3635
+ .dndev-datepicker-calendar-btn {
3636
+ flex-shrink: 0;
3637
+ margin-inline-start: auto;
3638
+ }
3639
+
3640
+ /* ===========================
3641
+ POPOVER
3642
+ =========================== */
3643
+
3644
+ .dndev-datepicker-popover {
3645
+ padding: 0;
3646
+ }
3647
+
3648
+ /* Fix: .dndev-floating .dndev-interactive overrides width/justify on ALL
3649
+ interactive children. Calendar needs its own sizing - undo the override. */
3650
+
3651
+ .dndev-datepicker-popover .dndev-interactive {
3652
+ width: auto;
3653
+ justify-content: center;
3654
+ }
3655
+
3656
+ /* Calendar nav buttons: restore absolute-positioned fixed size */
3657
+
3658
+ .dndev-datepicker-popover .dndev-calendar-nav-button {
3659
+ width: var(--touch-target);
3660
+ }
3661
+
3662
+ /* Calendar day buttons: restore fixed cell size */
3663
+
3664
+ .dndev-datepicker-popover .dndev-calendar-day-button {
3665
+ width: var(--touch-target);
3666
+ }
3667
+
3668
+ /* Calendar dropdown triggers: restore full-width inside their cell */
3669
+
3670
+ .dndev-datepicker-popover .dndev-calendar-dropdown-trigger {
3671
+ width: 100%;
3672
+ }
3673
+
3674
+ /* ===========================
3675
+ MOBILE: NATIVE INPUT FALLBACK
3676
+ =========================== */
3677
+
3678
+ .dndev-datepicker-native {
3679
+ display: none;
3680
+ }
3681
+
3682
+ @media (pointer: coarse) {
3683
+ .dndev-datepicker-custom {
3684
+ display: none;
3685
+ }
3686
+
3687
+ .dndev-datepicker-native {
3688
+ display: flex;
3689
+ width: 100%;
3690
+ }
3691
+ }
3692
+
3693
+ /* ===========================
3694
+ SCREEN READER LIVE REGION
3695
+ =========================== */
3696
+
3697
+ .dndev-datepicker-live {
3698
+ position: absolute;
3699
+ width: 1px;
3700
+ height: 1px;
3701
+ padding: 0;
3702
+ margin: -1px;
3703
+ overflow: hidden;
3704
+ clip: rect(0, 0, 0, 0);
3705
+ white-space: nowrap;
3706
+ border: 0;
3707
+ }
3708
+
3709
+ /* ===========================
3710
+ DISABLED STATE (root)
3711
+ =========================== */
3712
+
3713
+ .dndev-datepicker[data-disabled] {
3714
+ pointer-events: none;
3715
+ }
3716
+
3717
+ /* packages/components/src/atomic/DateTimePicker/DateTimePicker.css */
3718
+
3719
+ /**
3720
+ * DateTimePicker Component Styles
3721
+ * Extends DatePicker styles with time-segment-specific layout.
3722
+ * Reuses .dndev-datepicker-* classes from DatePicker.css for shared elements
3723
+ * (field, segment, separator, calendar-btn, popover, native, live).
3724
+ */
3725
+
3726
+ /* ===========================
3727
+ CUSTOM INPUT CONTAINER
3728
+ =========================== */
3729
+
3730
+ .dndev-datetimepicker-custom {
3731
+ display: flex;
3732
+ align-items: center;
3733
+ width: 100%;
3734
+ }
3735
+
3736
+ /* ===========================
3737
+ DATE / TIME SPACER
3738
+ =========================== */
3739
+
3740
+ .dndev-datetimepicker-spacer {
3741
+ width: var(--gap-md);
3742
+ flex-shrink: 0;
3743
+ }
3744
+
3355
3745
  /* packages/components/src/atomic/CallToAction/CallToAction.css */
3356
3746
 
3357
3747
  .dndev-cta {
@@ -3509,6 +3899,7 @@ em {
3509
3899
  .dndev-cta-actions {
3510
3900
  display: flex;
3511
3901
  flex-direction: row;
3902
+ flex-wrap: wrap;
3512
3903
  gap: var(--gap-md);
3513
3904
  justify-content: center;
3514
3905
  }
@@ -3571,15 +3962,48 @@ em {
3571
3962
 
3572
3963
  /* packages/components/src/atomic/Card/Card.css */
3573
3964
 
3574
- /* Card layout - grid with gap */
3965
+ /* Card root — when a cover is present, move padding off the root so the cover
3966
+ sits flush to the rounded corners. Padding is re-applied inside the body
3967
+ slot (which is the only thing that needs it). Non-cover cards keep the
3968
+ legacy layout so existing consumers render identically. */
3575
3969
 
3576
3970
  .dndev-card {
3577
3971
  display: grid;
3578
3972
  gap: var(--gap-md);
3579
3973
  text-align: start;
3580
3974
  align-content: start;
3975
+ position: relative;
3976
+ }
3977
+
3978
+ .dndev-surface.dndev-card[data-has-cover='true'] {
3979
+ padding: 0;
3980
+ overflow: hidden;
3981
+ position: relative;
3982
+ /* Remove the grid gap — cover and body are stacked vertically via flow and
3983
+ must sit flush (cover edges meet body edge with no gutter). */
3984
+ gap: 0;
3985
+ }
3986
+
3987
+ /* Body slot — the padded region that holds header/content/footer.
3988
+ Only rendered when at least one body field is set (see renderCard logic). */
3989
+
3990
+ .dndev-card-body {
3991
+ display: grid;
3992
+ gap: var(--gap-md);
3993
+ position: relative;
3994
+ z-index: 1;
3581
3995
  }
3582
3996
 
3997
+ .dndev-card[data-has-cover='true'] > .dndev-card-body {
3998
+ padding: var(--gap-md);
3999
+ }
4000
+
4001
+ .dndev-card-body[data-body-background='solid'] {
4002
+ background: var(--card);
4003
+ }
4004
+
4005
+ /* Card body children spacing */
4006
+
3583
4007
  .dndev-card-header {
3584
4008
  display: flex;
3585
4009
  flex-direction: column;
@@ -3608,16 +4032,98 @@ em {
3608
4032
  color: color-mix(in oklab, var(--card-foreground) 70%, transparent);
3609
4033
  }
3610
4034
 
4035
+ /* Cover region — sits flush to the card's rounded corners.
4036
+ - When body is present (data-has-body='true'): cover is a sized header
4037
+ region in flow. Height comes from its own aspect-ratio (inline style).
4038
+ - When cover-only (no body): cover fills the card (inset:0 absolute) while
4039
+ the card itself sets the aspect-ratio on its root. */
4040
+
4041
+ .dndev-card-cover {
4042
+ position: relative;
4043
+ overflow: hidden;
4044
+ z-index: 0;
4045
+ width: 100%;
4046
+ background: var(--muted);
4047
+ }
4048
+
4049
+ /* Cover-only: fill the card completely. Card root owns the aspect-ratio. */
4050
+
4051
+ .dndev-card-cover:not([data-has-body='true']) {
4052
+ position: absolute;
4053
+ inset: 0;
4054
+ height: 100%;
4055
+ }
4056
+
4057
+ /* Direct media (string cover → <img>, or ReactNode passthrough) fills. */
4058
+
4059
+ .dndev-card-cover > img,
4060
+ .dndev-card-cover > video,
4061
+ .dndev-card-cover > picture,
4062
+ .dndev-card-cover > picture > img,
4063
+ .dndev-card-cover > .dndev-card-cover-media {
4064
+ display: block;
4065
+ width: 100%;
4066
+ height: 100%;
4067
+ -o-object-fit: cover;
4068
+ object-fit: cover;
4069
+ }
4070
+
4071
+ /* Consumer-supplied ReactNode: wrapper fills, inner media fills. */
4072
+
4073
+ .dndev-card-cover-media {
4074
+ position: relative;
4075
+ }
4076
+
4077
+ .dndev-card-cover-media > img,
4078
+ .dndev-card-cover-media > video,
4079
+ .dndev-card-cover-media > picture,
4080
+ .dndev-card-cover-media > picture > img {
4081
+ display: block;
4082
+ width: 100%;
4083
+ height: 100%;
4084
+ -o-object-fit: cover;
4085
+ object-fit: cover;
4086
+ }
4087
+
4088
+ /* Overlay — sits above both cover and body slot. */
4089
+
4090
+ .dndev-card-overlay {
4091
+ position: absolute;
4092
+ z-index: 2;
4093
+ pointer-events: none;
4094
+ }
4095
+
4096
+ .dndev-card[data-overlay-position='top-left'] > .dndev-card-overlay {
4097
+ top: var(--gap-md);
4098
+ inset-inline-start: var(--gap-md);
4099
+ }
4100
+
4101
+ .dndev-card[data-overlay-position='top-right'] > .dndev-card-overlay {
4102
+ top: var(--gap-md);
4103
+ inset-inline-end: var(--gap-md);
4104
+ }
4105
+
4106
+ .dndev-card[data-overlay-position='bottom-left'] > .dndev-card-overlay {
4107
+ bottom: var(--gap-md);
4108
+ inset-inline-start: var(--gap-md);
4109
+ }
4110
+
4111
+ .dndev-card[data-overlay-position='bottom-right'] > .dndev-card-overlay {
4112
+ bottom: var(--gap-md);
4113
+ inset-inline-end: var(--gap-md);
4114
+ }
4115
+
3611
4116
  /* packages/components/src/atomic/Checkbox/Checkbox.css */
3612
4117
 
3613
4118
  .dndev-control[data-type='checkbox'] {
3614
4119
  display: inline-flex;
3615
4120
  align-items: center;
3616
4121
  justify-content: center;
3617
- width: var(--icon-md);
3618
- height: var(--icon-md);
4122
+ width: var(--font-size-input);
4123
+ height: var(--font-size-input);
3619
4124
  aspect-ratio: 1;
3620
4125
  border-radius: 4px;
4126
+ background-color: transparent;
3621
4127
  }
3622
4128
 
3623
4129
  .dndev-control[data-type='checkbox'][data-state='checked'] {
@@ -3678,8 +4184,8 @@ em {
3678
4184
  }
3679
4185
 
3680
4186
  .dndev-control[data-type='checkbox'] [data-radix-checkbox-indicator] svg {
3681
- width: var(--icon-md);
3682
- height: var(--icon-md);
4187
+ width: var(--font-size-input);
4188
+ height: var(--font-size-input);
3683
4189
  animation: checkbox-check-in var(--dur-fast) var(--ease-in-out);
3684
4190
  }
3685
4191
 
@@ -3928,47 +4434,15 @@ em {
3928
4434
 
3929
4435
  .dndev-combobox-wrapper .dndev-input {
3930
4436
  padding-inline-end: var(--combobox-pad-end);
3931
- }
3932
-
3933
- /* Action buttons (create "+", clear "X") */
3934
-
3935
- .dndev-combobox-action-btn {
3936
- all: unset;
3937
- display: flex;
3938
- align-items: center;
3939
- justify-content: center;
3940
- width: var(--icon-md);
3941
- height: var(--icon-md);
3942
- border-radius: var(--radius-interactive, var(--radius-sm, 4px));
4437
+ text-overflow: ellipsis;
3943
4438
  cursor: pointer;
3944
- pointer-events: auto; /* re-enable clicks on buttons */
3945
- color: var(--muted-foreground);
3946
- opacity: var(--opacity-muted, 0.5);
3947
- transition:
3948
- opacity var(--dur-fast) var(--ease-in-out),
3949
- background-color var(--dur-fast) var(--ease-in-out);
3950
- }
3951
-
3952
- .dndev-combobox-action-btn:hover {
3953
- opacity: 1;
3954
- background-color: var(--accent, rgba(0, 0, 0, 0.06));
3955
- }
3956
-
3957
- .dndev-combobox-action-btn:focus-visible {
3958
- opacity: 1;
3959
- outline: none;
3960
- box-shadow:
3961
- 0 0 0 2px var(--ring),
3962
- 0 0 0 4px rgb(from var(--ring) r g b / 0.2);
3963
4439
  }
3964
4440
 
3965
- .dndev-combobox-action-btn:active {
3966
- opacity: 0.8;
3967
- }
4441
+ /* Action buttons — extends shared .dndev-inline-action-btn from patterns.css.
4442
+ Only Combobox-specific overrides here. */
3968
4443
 
3969
- .dndev-combobox-action-btn svg {
3970
- width: var(--size-icon-sm, 16px);
3971
- height: var(--size-icon-sm, 16px);
4444
+ .dndev-combobox-action-btn {
4445
+ pointer-events: auto; /* re-enable clicks (trailing container is pointer-events: none) */
3972
4446
  }
3973
4447
 
3974
4448
  /* Create button accent color */
@@ -3983,22 +4457,16 @@ em {
3983
4457
  color: var(--muted-foreground);
3984
4458
  }
3985
4459
 
3986
- /* Chevron indicator (non-interactive, just visual) */
4460
+ /* Chevron toggle — extends .dndev-inline-action-btn from patterns.css
4461
+ (same pattern as RangeInput/DatePicker/Combobox clear+create).
4462
+ Only chevron-specific behavior: re-enable clicks in the trailing
4463
+ container and rotate the icon on open. */
3987
4464
 
3988
4465
  .dndev-combobox-chevron {
3989
- width: var(--icon-md);
3990
- height: var(--icon-md);
3991
- display: flex;
3992
- align-items: center;
3993
- justify-content: center;
3994
- color: var(--muted-foreground);
3995
- opacity: var(--opacity-muted);
3996
- pointer-events: none;
4466
+ pointer-events: auto;
3997
4467
  }
3998
4468
 
3999
4469
  .dndev-combobox-chevron svg {
4000
- width: var(--icon-md);
4001
- height: var(--icon-md);
4002
4470
  transition: transform var(--dur-fast) var(--ease-in-out);
4003
4471
  }
4004
4472
 
@@ -4006,14 +4474,14 @@ em {
4006
4474
  transform: rotate(180deg);
4007
4475
  }
4008
4476
 
4009
- /* Spinner replaces chevron */
4477
+ /* Spinner replaces chevron — match its footprint so there's no layout shift */
4010
4478
 
4011
4479
  .dndev-combobox-spinner {
4012
4480
  display: flex;
4013
4481
  align-items: center;
4014
4482
  justify-content: center;
4015
- width: var(--icon-md);
4016
- height: var(--icon-md);
4483
+ width: var(--touch-target);
4484
+ height: 100%;
4017
4485
  pointer-events: none;
4018
4486
  }
4019
4487
 
@@ -4063,9 +4531,6 @@ em {
4063
4531
  ────────────────────────────────────────────────── */
4064
4532
 
4065
4533
  .dndev-combobox-content {
4066
- width: var(--radix-popover-trigger-width);
4067
- min-width: var(--radix-popover-trigger-width);
4068
- max-width: var(--radix-popover-trigger-width);
4069
4534
  display: flex;
4070
4535
  flex-direction: column;
4071
4536
  padding: 0;
@@ -4118,6 +4583,13 @@ em {
4118
4583
  color: var(--muted-foreground);
4119
4584
  }
4120
4585
 
4586
+ .dndev-combobox-option-count {
4587
+ font-size: var(--font-size-xs);
4588
+ color: var(--muted-foreground);
4589
+ margin-inline-start: var(--gap-tight);
4590
+ flex-shrink: 0;
4591
+ }
4592
+
4121
4593
  .dndev-combobox-option-check {
4122
4594
  width: var(--icon-md);
4123
4595
  height: var(--icon-md);
@@ -5127,11 +5599,13 @@ em {
5127
5599
  position: relative;
5128
5600
  }
5129
5601
 
5130
- .dndev-hero-section--bg-contain[data-justify='center'] > .dndev-hero-section__text {
5602
+ .dndev-hero-section--bg-contain[data-justify='center']
5603
+ > .dndev-hero-section__text {
5131
5604
  justify-content: center;
5132
5605
  }
5133
5606
 
5134
- .dndev-hero-section--bg-contain[data-justify='start'] > .dndev-hero-section__text {
5607
+ .dndev-hero-section--bg-contain[data-justify='start']
5608
+ > .dndev-hero-section__text {
5135
5609
  justify-content: flex-start;
5136
5610
  }
5137
5611
 
@@ -5284,6 +5758,10 @@ em {
5284
5758
  background-color: var(--muted);
5285
5759
  }
5286
5760
 
5761
+ .image-gallery__main--lightbox {
5762
+ cursor: zoom-in;
5763
+ }
5764
+
5287
5765
  .image-gallery__main-image {
5288
5766
  width: 100%;
5289
5767
  height: 100%;
@@ -5406,6 +5884,46 @@ em {
5406
5884
  }
5407
5885
  }
5408
5886
 
5887
+ /* Lightbox (full-size image dialog) */
5888
+
5889
+ .image-gallery__lightbox.dndev-modal-content {
5890
+ max-width: min(96vw, 1400px);
5891
+ max-height: 96dvh;
5892
+ padding: var(--gap-sm);
5893
+ }
5894
+
5895
+ .image-gallery__lightbox .dndev-modal-body {
5896
+ padding: 0;
5897
+ display: flex;
5898
+ align-items: center;
5899
+ justify-content: center;
5900
+ overflow: hidden;
5901
+ min-height: 40dvh;
5902
+ }
5903
+
5904
+ .image-gallery__lightbox-body {
5905
+ position: relative;
5906
+ display: flex;
5907
+ align-items: center;
5908
+ justify-content: center;
5909
+ width: 100%;
5910
+ outline: none;
5911
+ }
5912
+
5913
+ .image-gallery__lightbox-img {
5914
+ max-width: 100%;
5915
+ max-height: 85dvh;
5916
+ width: auto;
5917
+ height: auto;
5918
+ -o-object-fit: contain;
5919
+ object-fit: contain;
5920
+ }
5921
+
5922
+ .image-gallery__lightbox-nav {
5923
+ opacity: 0.92;
5924
+ z-index: 3;
5925
+ }
5926
+
5409
5927
  /* packages/components/src/atomic/Input/Input.css */
5410
5928
 
5411
5929
  /* Hide number input spinners - cleaner UI for price/range inputs */
@@ -5455,13 +5973,13 @@ input[type='number'] {
5455
5973
 
5456
5974
  /* Error / destructive state — red border for invalid fields */
5457
5975
 
5458
- [data-variant="destructive"],
5459
- [aria-invalid="true"] {
5976
+ [data-variant='destructive'],
5977
+ [aria-invalid='true'] {
5460
5978
  border-color: var(--destructive);
5461
5979
  }
5462
5980
 
5463
- [data-variant="destructive"]:focus,
5464
- [aria-invalid="true"]:focus {
5981
+ [data-variant='destructive']:focus,
5982
+ [aria-invalid='true']:focus {
5465
5983
  border-color: var(--destructive);
5466
5984
  outline-color: var(--destructive);
5467
5985
  }
@@ -6051,6 +6569,105 @@ input[type='number'] {
6051
6569
  height: var(--icon-sm);
6052
6570
  }
6053
6571
 
6572
+ /* packages/components/src/atomic/PinInput/PinInput.css */
6573
+
6574
+ .dndev-pin-input {
6575
+ display: flex;
6576
+ gap: var(--gap-sm);
6577
+ align-items: center;
6578
+ justify-content: center;
6579
+ direction: ltr; /* digits are always LTR even in RTL locales */
6580
+ }
6581
+
6582
+ .dndev-pin-input__box {
6583
+ inline-size: var(--input-height, 2.75rem) !important;
6584
+ block-size: var(--input-height, 2.75rem) !important;
6585
+ padding: 0 !important;
6586
+ text-align: center !important;
6587
+ font-size: var(--font-xl, 1.25rem) !important;
6588
+ font-variant-numeric: tabular-nums;
6589
+ font-feature-settings: 'tnum' 1;
6590
+ caret-color: var(--primary);
6591
+ }
6592
+
6593
+ /* Mask the typed digit via CSS, not by overwriting React's controlled value.
6594
+ Rewriting value={raw} → value='•' on every keystroke forces React to
6595
+ overwrite the native input value after the browser has already painted
6596
+ the user's keystroke, which is the classic "lags like shit" PinInput bug
6597
+ on mobile Chrome/Safari. `-webkit-text-security: disc` renders a bullet
6598
+ purely in the layout layer while the input's real value stays the digit,
6599
+ so React never has to race the browser's paint pipeline.
6600
+ Firefox does not support -webkit-text-security and will render the digit
6601
+ unmasked; the eye-toggle still works for revealing on WebKit/Blink. */
6602
+
6603
+ .dndev-pin-input__box--masked {
6604
+ -webkit-text-security: disc;
6605
+ }
6606
+
6607
+ .dndev-pin-input__reveal {
6608
+ background: none;
6609
+ border: none;
6610
+ cursor: pointer;
6611
+ padding: var(--gap-tight, 0.25rem);
6612
+ margin-inline-start: var(--gap-sm, 0.5rem);
6613
+ display: inline-flex;
6614
+ align-items: center;
6615
+ justify-content: center;
6616
+ color: var(--muted-foreground, currentColor);
6617
+ opacity: var(--opacity-muted, 0.65);
6618
+ transition: opacity var(--dur-fast, 150ms) var(--ease-in-out, ease-in-out);
6619
+ -webkit-user-select: none;
6620
+ -moz-user-select: none;
6621
+ user-select: none;
6622
+ -webkit-tap-highlight-color: transparent;
6623
+ }
6624
+
6625
+ .dndev-pin-input__reveal:hover,
6626
+ .dndev-pin-input__reveal:focus-visible {
6627
+ opacity: 1;
6628
+ outline: none;
6629
+ }
6630
+
6631
+ .dndev-pin-input__reveal:focus-visible {
6632
+ outline: 2px solid var(--primary, currentColor);
6633
+ outline-offset: 2px;
6634
+ border-radius: var(--radius-sm, 4px);
6635
+ }
6636
+
6637
+ /* Shake animation hook — the container flips data-shake='true' on error
6638
+ and the animation plays once via this keyframe. Consumers can override
6639
+ via `.dndev-pin-input[data-shake='true'] { animation: ... }`. */
6640
+
6641
+ @keyframes dndev-pin-input-shake {
6642
+ 0%,
6643
+ 100% {
6644
+ transform: translateX(0);
6645
+ }
6646
+ 20% {
6647
+ transform: translateX(-0.35rem);
6648
+ }
6649
+ 40% {
6650
+ transform: translateX(0.35rem);
6651
+ }
6652
+ 60% {
6653
+ transform: translateX(-0.25rem);
6654
+ }
6655
+ 80% {
6656
+ transform: translateX(0.15rem);
6657
+ }
6658
+ }
6659
+
6660
+ .dndev-pin-input[data-shake='true'] {
6661
+ animation: dndev-pin-input-shake var(--dur-normal, 320ms)
6662
+ var(--ease-in-out, ease-in-out) 1;
6663
+ }
6664
+
6665
+ @media (prefers-reduced-motion: reduce) {
6666
+ .dndev-pin-input[data-shake='true'] {
6667
+ animation: none;
6668
+ }
6669
+ }
6670
+
6054
6671
  /* packages/components/src/atomic/Pagination/Pagination.css */
6055
6672
 
6056
6673
  .dndev-pagination {
@@ -6219,8 +6836,8 @@ input[type='number'] {
6219
6836
  }
6220
6837
 
6221
6838
  .dndev-control[data-type='radio'] {
6222
- width: var(--icon-md);
6223
- height: var(--icon-md);
6839
+ width: var(--font-size-input);
6840
+ height: var(--font-size-input);
6224
6841
  border-radius: var(--radius-full);
6225
6842
  border-width: var(--border-hairline);
6226
6843
  background-color: transparent;
@@ -6307,15 +6924,22 @@ input[type='number'] {
6307
6924
 
6308
6925
  .dndev-range-input {
6309
6926
  display: grid;
6310
- grid-template-columns: 1fr auto 1fr auto;
6927
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
6311
6928
  align-items: center;
6312
- gap: var(--gap-tight);
6929
+ -moz-column-gap: 0;
6930
+ column-gap: 0;
6931
+ padding-inline-start: var(--gap-sm);
6313
6932
  width: 100%;
6314
6933
  }
6315
6934
 
6316
6935
  .dndev-range-input > .dndev-input,
6317
6936
  .dndev-range-input > .dndev-relative {
6318
6937
  min-width: 0;
6938
+ padding-inline: var(--gap-sm);
6939
+ }
6940
+
6941
+ .dndev-range-input-separator {
6942
+ padding-inline: var(--gap-tight);
6319
6943
  }
6320
6944
 
6321
6945
  /* packages/components/src/atomic/Rating/Rating.css */
@@ -6469,7 +7093,7 @@ input[type='number'] {
6469
7093
  /* Numeric value display */
6470
7094
 
6471
7095
  .dndev-rating-value {
6472
- font-size: var(--font-size-sm);
7096
+ font-size: var(--font-size-input);
6473
7097
  font-weight: var(--font-weight-medium);
6474
7098
  color: var(--muted-foreground);
6475
7099
  min-width: 2ch;
@@ -6501,7 +7125,7 @@ input[type='number'] {
6501
7125
  }
6502
7126
 
6503
7127
  .dndev-select-trigger [data-radix-select-value] {
6504
- font-size: var(--font-size-sm);
7128
+ font-size: var(--font-size-input);
6505
7129
  }
6506
7130
 
6507
7131
  .dndev-select-content {
@@ -6561,6 +7185,16 @@ input[type='number'] {
6561
7185
  border-radius: inherit;
6562
7186
  }
6563
7187
 
7188
+ /* Radix injects `display:table; min-width:100%` as inline style on the viewport's
7189
+ direct child. A display:table element sizes to its content's min-content width,
7190
+ ignoring max-width:100% (Chrome resolves the % against the table's own bloated
7191
+ width, not the viewport). contain:inline-size prevents content-based sizing:
7192
+ the table stays at min-width:100% = viewport width regardless of descendant content. */
7193
+
7194
+ .dndev-scroll-area-viewport > div {
7195
+ contain: inline-size;
7196
+ }
7197
+
6564
7198
  .dndev-scroll-bar {
6565
7199
  display: flex;
6566
7200
  touch-action: none;
@@ -7985,7 +8619,7 @@ input[type='number'] {
7985
8619
  }
7986
8620
 
7987
8621
  .dndev-switch-label {
7988
- font-size: var(--font-size-sm);
8622
+ font-size: var(--font-size-input);
7989
8623
  transition:
7990
8624
  color var(--dur-normal) var(--ease-in-out),
7991
8625
  font-weight var(--dur-normal) var(--ease-in-out);
@@ -9095,7 +9729,8 @@ input[type='number'] {
9095
9729
  outline: none;
9096
9730
  }
9097
9731
 
9098
- /* Expand/collapse chevron */
9732
+ /* Expand/collapse chevron — wrapper reserves the indent column (--icon-md),
9733
+ svg is the nested icon (--icon-sm). */
9099
9734
 
9100
9735
  .dndev-tree-node-expand {
9101
9736
  display: flex;
@@ -9108,6 +9743,11 @@ input[type='number'] {
9108
9743
  color: var(--muted-foreground);
9109
9744
  }
9110
9745
 
9746
+ .dndev-tree-node-expand svg {
9747
+ width: var(--icon-sm);
9748
+ height: var(--icon-sm);
9749
+ }
9750
+
9111
9751
  [role='treeitem'][aria-expanded='true']
9112
9752
  > .dndev-tree-node-content
9113
9753
  > .dndev-tree-node-expand {
@@ -9897,12 +10537,11 @@ input[type='number'] {
9897
10537
  box-shadow: var(--shadow-xl);
9898
10538
  }
9899
10539
 
9900
- /* Phase badge - absolute overlay top-end */
10540
+ /* Phase badge - used inside Card overlay container */
9901
10541
 
9902
10542
  .dndev-roadmap-phase {
9903
- position: absolute;
9904
- top: var(--gap-sm);
9905
- inset-inline-end: var(--gap-sm);
10543
+ display: inline-flex;
10544
+ align-items: center;
9906
10545
  font-size: var(--font-size-xs);
9907
10546
  font-weight: var(--font-weight-bold);
9908
10547
  text-transform: uppercase;