@donotdev/components 0.1.1 → 0.1.43

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 (85) 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 +113 -2
  22. package/dist/atomic/Card/index.d.ts.map +1 -1
  23. package/dist/atomic/Card/index.js +88 -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/Stepper/index.d.ts +1 -1
  60. package/dist/atomic/Table/index.d.ts +35 -1
  61. package/dist/atomic/Table/index.d.ts.map +1 -1
  62. package/dist/atomic/Table/index.js +27 -0
  63. package/dist/atomic/Tooltip/index.js +5 -5
  64. package/dist/atomic/TreeView/index.js +1 -1
  65. package/dist/atomic/index.d.ts +6 -0
  66. package/dist/atomic/index.d.ts.map +1 -1
  67. package/dist/atomic/index.js +3 -0
  68. package/dist/chunk-6UB4NXNR.js +3 -0
  69. package/dist/index.js +5 -5
  70. package/dist/styles/index.css +763 -104
  71. package/dist/symbol-index.json +1 -1
  72. package/dist/types.d.ts +1 -1
  73. package/dist/types.d.ts.map +1 -1
  74. package/dist/utils/date.d.ts +46 -0
  75. package/dist/utils/date.d.ts.map +1 -0
  76. package/dist/utils/date.js +130 -0
  77. package/dist/utils/imageRetry.d.ts.map +1 -1
  78. package/dist/utils/index.d.ts +1 -0
  79. package/dist/utils/index.d.ts.map +1 -1
  80. package/dist/utils/index.js +1 -0
  81. package/guidelines/API_REFERENCE.md +0 -0
  82. package/guidelines/COMPONENTS.md +0 -0
  83. package/package.json +1 -1
  84. package/dist/CodeContent-JP5FNGFV.js +0 -2
  85. 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);
2594
+ }
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;
2490
2604
  }
2491
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 */
@@ -3341,15 +3463,283 @@ em {
3341
3463
  color: var(--muted-foreground);
3342
3464
  }
3343
3465
 
3344
- .dndev-calendar-day-outside.dndev-calendar-day-today.dndev-calendar-day-selected
3345
- .dndev-calendar-day-button:hover:not([disabled]) {
3346
- color: var(--muted-foreground);
3466
+ .dndev-calendar-day-outside.dndev-calendar-day-today.dndev-calendar-day-selected
3467
+ .dndev-calendar-day-button:hover:not([disabled]) {
3468
+ color: var(--muted-foreground);
3469
+ }
3470
+
3471
+ /* Hidden Days */
3472
+
3473
+ .dndev-calendar-day-hidden {
3474
+ visibility: hidden;
3475
+ }
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%;
3347
3734
  }
3348
3735
 
3349
- /* Hidden Days */
3736
+ /* ===========================
3737
+ DATE / TIME SPACER
3738
+ =========================== */
3350
3739
 
3351
- .dndev-calendar-day-hidden {
3352
- visibility: hidden;
3740
+ .dndev-datetimepicker-spacer {
3741
+ width: var(--gap-md);
3742
+ flex-shrink: 0;
3353
3743
  }
3354
3744
 
3355
3745
  /* packages/components/src/atomic/CallToAction/CallToAction.css */
@@ -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;
3995
+ }
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);
3581
4003
  }
3582
4004
 
4005
+ /* Card body children spacing */
4006
+
3583
4007
  .dndev-card-header {
3584
4008
  display: flex;
3585
4009
  flex-direction: column;
@@ -3608,16 +4032,118 @@ 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
+ /* Full-card overlay — covers entire card surface, participates in card transform.
4089
+ Enabled via data-has-full-overlay; overflow:hidden clips to card border-radius. */
4090
+
4091
+ .dndev-card[data-has-full-overlay='true'] {
4092
+ overflow: hidden;
4093
+ }
4094
+
4095
+ .dndev-card-full-overlay {
4096
+ position: absolute;
4097
+ inset: 0;
4098
+ z-index: 3;
4099
+ pointer-events: none;
4100
+ }
4101
+
4102
+ /* Corner overlay — sits above both cover and body slot. */
4103
+
4104
+ .dndev-card-overlay {
4105
+ position: absolute;
4106
+ z-index: 2;
4107
+ pointer-events: none;
4108
+ }
4109
+
4110
+ /* When a full-overlay scrim is present, raise the corner overlay above it. */
4111
+
4112
+ .dndev-card[data-has-full-overlay='true'] > .dndev-card-overlay {
4113
+ z-index: 4;
4114
+ }
4115
+
4116
+ .dndev-card[data-overlay-position='top-left'] > .dndev-card-overlay {
4117
+ top: var(--gap-md);
4118
+ inset-inline-start: var(--gap-md);
4119
+ }
4120
+
4121
+ .dndev-card[data-overlay-position='top-right'] > .dndev-card-overlay {
4122
+ top: var(--gap-md);
4123
+ inset-inline-end: var(--gap-md);
4124
+ }
4125
+
4126
+ .dndev-card[data-overlay-position='bottom-left'] > .dndev-card-overlay {
4127
+ bottom: var(--gap-md);
4128
+ inset-inline-start: var(--gap-md);
4129
+ }
4130
+
4131
+ .dndev-card[data-overlay-position='bottom-right'] > .dndev-card-overlay {
4132
+ bottom: var(--gap-md);
4133
+ inset-inline-end: var(--gap-md);
4134
+ }
4135
+
3611
4136
  /* packages/components/src/atomic/Checkbox/Checkbox.css */
3612
4137
 
3613
4138
  .dndev-control[data-type='checkbox'] {
3614
4139
  display: inline-flex;
3615
4140
  align-items: center;
3616
4141
  justify-content: center;
3617
- width: var(--icon-md);
3618
- height: var(--icon-md);
4142
+ width: var(--font-size-input);
4143
+ height: var(--font-size-input);
3619
4144
  aspect-ratio: 1;
3620
4145
  border-radius: 4px;
4146
+ background-color: transparent;
3621
4147
  }
3622
4148
 
3623
4149
  .dndev-control[data-type='checkbox'][data-state='checked'] {
@@ -3678,8 +4204,8 @@ em {
3678
4204
  }
3679
4205
 
3680
4206
  .dndev-control[data-type='checkbox'] [data-radix-checkbox-indicator] svg {
3681
- width: var(--icon-md);
3682
- height: var(--icon-md);
4207
+ width: var(--font-size-input);
4208
+ height: var(--font-size-input);
3683
4209
  animation: checkbox-check-in var(--dur-fast) var(--ease-in-out);
3684
4210
  }
3685
4211
 
@@ -3928,47 +4454,15 @@ em {
3928
4454
 
3929
4455
  .dndev-combobox-wrapper .dndev-input {
3930
4456
  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));
4457
+ text-overflow: ellipsis;
3943
4458
  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
4459
  }
3964
4460
 
3965
- .dndev-combobox-action-btn:active {
3966
- opacity: 0.8;
3967
- }
4461
+ /* Action buttons — extends shared .dndev-inline-action-btn from patterns.css.
4462
+ Only Combobox-specific overrides here. */
3968
4463
 
3969
- .dndev-combobox-action-btn svg {
3970
- width: var(--size-icon-sm, 16px);
3971
- height: var(--size-icon-sm, 16px);
4464
+ .dndev-combobox-action-btn {
4465
+ pointer-events: auto; /* re-enable clicks (trailing container is pointer-events: none) */
3972
4466
  }
3973
4467
 
3974
4468
  /* Create button accent color */
@@ -3983,22 +4477,16 @@ em {
3983
4477
  color: var(--muted-foreground);
3984
4478
  }
3985
4479
 
3986
- /* Chevron indicator (non-interactive, just visual) */
4480
+ /* Chevron toggle — extends .dndev-inline-action-btn from patterns.css
4481
+ (same pattern as RangeInput/DatePicker/Combobox clear+create).
4482
+ Only chevron-specific behavior: re-enable clicks in the trailing
4483
+ container and rotate the icon on open. */
3987
4484
 
3988
4485
  .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;
4486
+ pointer-events: auto;
3997
4487
  }
3998
4488
 
3999
4489
  .dndev-combobox-chevron svg {
4000
- width: var(--icon-md);
4001
- height: var(--icon-md);
4002
4490
  transition: transform var(--dur-fast) var(--ease-in-out);
4003
4491
  }
4004
4492
 
@@ -4006,14 +4494,14 @@ em {
4006
4494
  transform: rotate(180deg);
4007
4495
  }
4008
4496
 
4009
- /* Spinner replaces chevron */
4497
+ /* Spinner replaces chevron — match its footprint so there's no layout shift */
4010
4498
 
4011
4499
  .dndev-combobox-spinner {
4012
4500
  display: flex;
4013
4501
  align-items: center;
4014
4502
  justify-content: center;
4015
- width: var(--icon-md);
4016
- height: var(--icon-md);
4503
+ width: var(--touch-target);
4504
+ height: 100%;
4017
4505
  pointer-events: none;
4018
4506
  }
4019
4507
 
@@ -4063,9 +4551,6 @@ em {
4063
4551
  ────────────────────────────────────────────────── */
4064
4552
 
4065
4553
  .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
4554
  display: flex;
4070
4555
  flex-direction: column;
4071
4556
  padding: 0;
@@ -4118,6 +4603,13 @@ em {
4118
4603
  color: var(--muted-foreground);
4119
4604
  }
4120
4605
 
4606
+ .dndev-combobox-option-count {
4607
+ font-size: var(--font-size-xs);
4608
+ color: var(--muted-foreground);
4609
+ margin-inline-start: var(--gap-tight);
4610
+ flex-shrink: 0;
4611
+ }
4612
+
4121
4613
  .dndev-combobox-option-check {
4122
4614
  width: var(--icon-md);
4123
4615
  height: var(--icon-md);
@@ -5127,11 +5619,13 @@ em {
5127
5619
  position: relative;
5128
5620
  }
5129
5621
 
5130
- .dndev-hero-section--bg-contain[data-justify='center'] > .dndev-hero-section__text {
5622
+ .dndev-hero-section--bg-contain[data-justify='center']
5623
+ > .dndev-hero-section__text {
5131
5624
  justify-content: center;
5132
5625
  }
5133
5626
 
5134
- .dndev-hero-section--bg-contain[data-justify='start'] > .dndev-hero-section__text {
5627
+ .dndev-hero-section--bg-contain[data-justify='start']
5628
+ > .dndev-hero-section__text {
5135
5629
  justify-content: flex-start;
5136
5630
  }
5137
5631
 
@@ -5284,6 +5778,10 @@ em {
5284
5778
  background-color: var(--muted);
5285
5779
  }
5286
5780
 
5781
+ .image-gallery__main--lightbox {
5782
+ cursor: zoom-in;
5783
+ }
5784
+
5287
5785
  .image-gallery__main-image {
5288
5786
  width: 100%;
5289
5787
  height: 100%;
@@ -5406,6 +5904,46 @@ em {
5406
5904
  }
5407
5905
  }
5408
5906
 
5907
+ /* Lightbox (full-size image dialog) */
5908
+
5909
+ .image-gallery__lightbox.dndev-modal-content {
5910
+ max-width: min(96vw, 1400px);
5911
+ max-height: 96dvh;
5912
+ padding: var(--gap-sm);
5913
+ }
5914
+
5915
+ .image-gallery__lightbox .dndev-modal-body {
5916
+ padding: 0;
5917
+ display: flex;
5918
+ align-items: center;
5919
+ justify-content: center;
5920
+ overflow: hidden;
5921
+ min-height: 40dvh;
5922
+ }
5923
+
5924
+ .image-gallery__lightbox-body {
5925
+ position: relative;
5926
+ display: flex;
5927
+ align-items: center;
5928
+ justify-content: center;
5929
+ width: 100%;
5930
+ outline: none;
5931
+ }
5932
+
5933
+ .image-gallery__lightbox-img {
5934
+ max-width: 100%;
5935
+ max-height: 85dvh;
5936
+ width: auto;
5937
+ height: auto;
5938
+ -o-object-fit: contain;
5939
+ object-fit: contain;
5940
+ }
5941
+
5942
+ .image-gallery__lightbox-nav {
5943
+ opacity: 0.92;
5944
+ z-index: 3;
5945
+ }
5946
+
5409
5947
  /* packages/components/src/atomic/Input/Input.css */
5410
5948
 
5411
5949
  /* Hide number input spinners - cleaner UI for price/range inputs */
@@ -5455,13 +5993,13 @@ input[type='number'] {
5455
5993
 
5456
5994
  /* Error / destructive state — red border for invalid fields */
5457
5995
 
5458
- [data-variant="destructive"],
5459
- [aria-invalid="true"] {
5996
+ [data-variant='destructive'],
5997
+ [aria-invalid='true'] {
5460
5998
  border-color: var(--destructive);
5461
5999
  }
5462
6000
 
5463
- [data-variant="destructive"]:focus,
5464
- [aria-invalid="true"]:focus {
6001
+ [data-variant='destructive']:focus,
6002
+ [aria-invalid='true']:focus {
5465
6003
  border-color: var(--destructive);
5466
6004
  outline-color: var(--destructive);
5467
6005
  }
@@ -6051,6 +6589,105 @@ input[type='number'] {
6051
6589
  height: var(--icon-sm);
6052
6590
  }
6053
6591
 
6592
+ /* packages/components/src/atomic/PinInput/PinInput.css */
6593
+
6594
+ .dndev-pin-input {
6595
+ display: flex;
6596
+ gap: var(--gap-sm);
6597
+ align-items: center;
6598
+ justify-content: center;
6599
+ direction: ltr; /* digits are always LTR even in RTL locales */
6600
+ }
6601
+
6602
+ .dndev-pin-input__box {
6603
+ inline-size: var(--input-height, 2.75rem) !important;
6604
+ block-size: var(--input-height, 2.75rem) !important;
6605
+ padding: 0 !important;
6606
+ text-align: center !important;
6607
+ font-size: var(--font-xl, 1.25rem) !important;
6608
+ font-variant-numeric: tabular-nums;
6609
+ font-feature-settings: 'tnum' 1;
6610
+ caret-color: var(--primary);
6611
+ }
6612
+
6613
+ /* Mask the typed digit via CSS, not by overwriting React's controlled value.
6614
+ Rewriting value={raw} → value='•' on every keystroke forces React to
6615
+ overwrite the native input value after the browser has already painted
6616
+ the user's keystroke, which is the classic "lags like shit" PinInput bug
6617
+ on mobile Chrome/Safari. `-webkit-text-security: disc` renders a bullet
6618
+ purely in the layout layer while the input's real value stays the digit,
6619
+ so React never has to race the browser's paint pipeline.
6620
+ Firefox does not support -webkit-text-security and will render the digit
6621
+ unmasked; the eye-toggle still works for revealing on WebKit/Blink. */
6622
+
6623
+ .dndev-pin-input__box--masked {
6624
+ -webkit-text-security: disc;
6625
+ }
6626
+
6627
+ .dndev-pin-input__reveal {
6628
+ background: none;
6629
+ border: none;
6630
+ cursor: pointer;
6631
+ padding: var(--gap-tight, 0.25rem);
6632
+ margin-inline-start: var(--gap-sm, 0.5rem);
6633
+ display: inline-flex;
6634
+ align-items: center;
6635
+ justify-content: center;
6636
+ color: var(--muted-foreground, currentColor);
6637
+ opacity: var(--opacity-muted, 0.65);
6638
+ transition: opacity var(--dur-fast, 150ms) var(--ease-in-out, ease-in-out);
6639
+ -webkit-user-select: none;
6640
+ -moz-user-select: none;
6641
+ user-select: none;
6642
+ -webkit-tap-highlight-color: transparent;
6643
+ }
6644
+
6645
+ .dndev-pin-input__reveal:hover,
6646
+ .dndev-pin-input__reveal:focus-visible {
6647
+ opacity: 1;
6648
+ outline: none;
6649
+ }
6650
+
6651
+ .dndev-pin-input__reveal:focus-visible {
6652
+ outline: 2px solid var(--primary, currentColor);
6653
+ outline-offset: 2px;
6654
+ border-radius: var(--radius-sm, 4px);
6655
+ }
6656
+
6657
+ /* Shake animation hook — the container flips data-shake='true' on error
6658
+ and the animation plays once via this keyframe. Consumers can override
6659
+ via `.dndev-pin-input[data-shake='true'] { animation: ... }`. */
6660
+
6661
+ @keyframes dndev-pin-input-shake {
6662
+ 0%,
6663
+ 100% {
6664
+ transform: translateX(0);
6665
+ }
6666
+ 20% {
6667
+ transform: translateX(-0.35rem);
6668
+ }
6669
+ 40% {
6670
+ transform: translateX(0.35rem);
6671
+ }
6672
+ 60% {
6673
+ transform: translateX(-0.25rem);
6674
+ }
6675
+ 80% {
6676
+ transform: translateX(0.15rem);
6677
+ }
6678
+ }
6679
+
6680
+ .dndev-pin-input[data-shake='true'] {
6681
+ animation: dndev-pin-input-shake var(--dur-normal, 320ms)
6682
+ var(--ease-in-out, ease-in-out) 1;
6683
+ }
6684
+
6685
+ @media (prefers-reduced-motion: reduce) {
6686
+ .dndev-pin-input[data-shake='true'] {
6687
+ animation: none;
6688
+ }
6689
+ }
6690
+
6054
6691
  /* packages/components/src/atomic/Pagination/Pagination.css */
6055
6692
 
6056
6693
  .dndev-pagination {
@@ -6219,8 +6856,8 @@ input[type='number'] {
6219
6856
  }
6220
6857
 
6221
6858
  .dndev-control[data-type='radio'] {
6222
- width: var(--icon-md);
6223
- height: var(--icon-md);
6859
+ width: var(--font-size-input);
6860
+ height: var(--font-size-input);
6224
6861
  border-radius: var(--radius-full);
6225
6862
  border-width: var(--border-hairline);
6226
6863
  background-color: transparent;
@@ -6307,15 +6944,22 @@ input[type='number'] {
6307
6944
 
6308
6945
  .dndev-range-input {
6309
6946
  display: grid;
6310
- grid-template-columns: 1fr auto 1fr auto;
6947
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
6311
6948
  align-items: center;
6312
- gap: var(--gap-tight);
6949
+ -moz-column-gap: 0;
6950
+ column-gap: 0;
6951
+ padding-inline-start: var(--gap-sm);
6313
6952
  width: 100%;
6314
6953
  }
6315
6954
 
6316
6955
  .dndev-range-input > .dndev-input,
6317
6956
  .dndev-range-input > .dndev-relative {
6318
6957
  min-width: 0;
6958
+ padding-inline: var(--gap-sm);
6959
+ }
6960
+
6961
+ .dndev-range-input-separator {
6962
+ padding-inline: var(--gap-tight);
6319
6963
  }
6320
6964
 
6321
6965
  /* packages/components/src/atomic/Rating/Rating.css */
@@ -6469,7 +7113,7 @@ input[type='number'] {
6469
7113
  /* Numeric value display */
6470
7114
 
6471
7115
  .dndev-rating-value {
6472
- font-size: var(--font-size-sm);
7116
+ font-size: var(--font-size-input);
6473
7117
  font-weight: var(--font-weight-medium);
6474
7118
  color: var(--muted-foreground);
6475
7119
  min-width: 2ch;
@@ -6501,7 +7145,7 @@ input[type='number'] {
6501
7145
  }
6502
7146
 
6503
7147
  .dndev-select-trigger [data-radix-select-value] {
6504
- font-size: var(--font-size-sm);
7148
+ font-size: var(--font-size-input);
6505
7149
  }
6506
7150
 
6507
7151
  .dndev-select-content {
@@ -6561,6 +7205,16 @@ input[type='number'] {
6561
7205
  border-radius: inherit;
6562
7206
  }
6563
7207
 
7208
+ /* Radix injects `display:table; min-width:100%` as inline style on the viewport's
7209
+ direct child. A display:table element sizes to its content's min-content width,
7210
+ ignoring max-width:100% (Chrome resolves the % against the table's own bloated
7211
+ width, not the viewport). contain:inline-size prevents content-based sizing:
7212
+ the table stays at min-width:100% = viewport width regardless of descendant content. */
7213
+
7214
+ .dndev-scroll-area-viewport > div {
7215
+ contain: inline-size;
7216
+ }
7217
+
6564
7218
  .dndev-scroll-bar {
6565
7219
  display: flex;
6566
7220
  touch-action: none;
@@ -7985,7 +8639,7 @@ input[type='number'] {
7985
8639
  }
7986
8640
 
7987
8641
  .dndev-switch-label {
7988
- font-size: var(--font-size-sm);
8642
+ font-size: var(--font-size-input);
7989
8643
  transition:
7990
8644
  color var(--dur-normal) var(--ease-in-out),
7991
8645
  font-weight var(--dur-normal) var(--ease-in-out);
@@ -9095,7 +9749,8 @@ input[type='number'] {
9095
9749
  outline: none;
9096
9750
  }
9097
9751
 
9098
- /* Expand/collapse chevron */
9752
+ /* Expand/collapse chevron — wrapper reserves the indent column (--icon-md),
9753
+ svg is the nested icon (--icon-sm). */
9099
9754
 
9100
9755
  .dndev-tree-node-expand {
9101
9756
  display: flex;
@@ -9108,6 +9763,11 @@ input[type='number'] {
9108
9763
  color: var(--muted-foreground);
9109
9764
  }
9110
9765
 
9766
+ .dndev-tree-node-expand svg {
9767
+ width: var(--icon-sm);
9768
+ height: var(--icon-sm);
9769
+ }
9770
+
9111
9771
  [role='treeitem'][aria-expanded='true']
9112
9772
  > .dndev-tree-node-content
9113
9773
  > .dndev-tree-node-expand {
@@ -9897,12 +10557,11 @@ input[type='number'] {
9897
10557
  box-shadow: var(--shadow-xl);
9898
10558
  }
9899
10559
 
9900
- /* Phase badge - absolute overlay top-end */
10560
+ /* Phase badge - used inside Card overlay container */
9901
10561
 
9902
10562
  .dndev-roadmap-phase {
9903
- position: absolute;
9904
- top: var(--gap-sm);
9905
- inset-inline-end: var(--gap-sm);
10563
+ display: inline-flex;
10564
+ align-items: center;
9906
10565
  font-size: var(--font-size-xs);
9907
10566
  font-weight: var(--font-weight-bold);
9908
10567
  text-transform: uppercase;