@donotdev/ui 0.0.19 → 0.0.21

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 (177) hide show
  1. package/dist/crud/components/EntityList.d.ts.map +1 -1
  2. package/dist/crud/components/EntityList.js +5 -4
  3. package/dist/dndev.css +479 -84
  4. package/dist/files/inter-cyrillic-300-normal.woff +0 -0
  5. package/dist/files/inter-cyrillic-300-normal.woff2 +0 -0
  6. package/dist/files/inter-cyrillic-400-normal.woff +0 -0
  7. package/dist/files/inter-cyrillic-400-normal.woff2 +0 -0
  8. package/dist/files/inter-cyrillic-600-normal.woff +0 -0
  9. package/dist/files/inter-cyrillic-600-normal.woff2 +0 -0
  10. package/dist/files/inter-cyrillic-700-normal.woff +0 -0
  11. package/dist/files/inter-cyrillic-700-normal.woff2 +0 -0
  12. package/dist/files/inter-cyrillic-ext-300-normal.woff +0 -0
  13. package/dist/files/inter-cyrillic-ext-300-normal.woff2 +0 -0
  14. package/dist/files/inter-cyrillic-ext-400-normal.woff +0 -0
  15. package/dist/files/inter-cyrillic-ext-400-normal.woff2 +0 -0
  16. package/dist/files/inter-cyrillic-ext-600-normal.woff +0 -0
  17. package/dist/files/inter-cyrillic-ext-600-normal.woff2 +0 -0
  18. package/dist/files/inter-cyrillic-ext-700-normal.woff +0 -0
  19. package/dist/files/inter-cyrillic-ext-700-normal.woff2 +0 -0
  20. package/dist/files/inter-greek-300-normal.woff +0 -0
  21. package/dist/files/inter-greek-300-normal.woff2 +0 -0
  22. package/dist/files/inter-greek-400-normal.woff +0 -0
  23. package/dist/files/inter-greek-400-normal.woff2 +0 -0
  24. package/dist/files/inter-greek-600-normal.woff +0 -0
  25. package/dist/files/inter-greek-600-normal.woff2 +0 -0
  26. package/dist/files/inter-greek-700-normal.woff +0 -0
  27. package/dist/files/inter-greek-700-normal.woff2 +0 -0
  28. package/dist/files/inter-greek-ext-300-normal.woff +0 -0
  29. package/dist/files/inter-greek-ext-300-normal.woff2 +0 -0
  30. package/dist/files/inter-greek-ext-400-normal.woff +0 -0
  31. package/dist/files/inter-greek-ext-400-normal.woff2 +0 -0
  32. package/dist/files/inter-greek-ext-600-normal.woff +0 -0
  33. package/dist/files/inter-greek-ext-600-normal.woff2 +0 -0
  34. package/dist/files/inter-greek-ext-700-normal.woff +0 -0
  35. package/dist/files/inter-greek-ext-700-normal.woff2 +0 -0
  36. package/dist/files/inter-latin-300-normal.woff +0 -0
  37. package/dist/files/inter-latin-300-normal.woff2 +0 -0
  38. package/dist/files/inter-latin-400-normal.woff +0 -0
  39. package/dist/files/inter-latin-400-normal.woff2 +0 -0
  40. package/dist/files/inter-latin-600-normal.woff +0 -0
  41. package/dist/files/inter-latin-600-normal.woff2 +0 -0
  42. package/dist/files/inter-latin-700-normal.woff +0 -0
  43. package/dist/files/inter-latin-700-normal.woff2 +0 -0
  44. package/dist/files/inter-latin-ext-300-normal.woff +0 -0
  45. package/dist/files/inter-latin-ext-300-normal.woff2 +0 -0
  46. package/dist/files/inter-latin-ext-400-normal.woff +0 -0
  47. package/dist/files/inter-latin-ext-400-normal.woff2 +0 -0
  48. package/dist/files/inter-latin-ext-600-normal.woff +0 -0
  49. package/dist/files/inter-latin-ext-600-normal.woff2 +0 -0
  50. package/dist/files/inter-latin-ext-700-normal.woff +0 -0
  51. package/dist/files/inter-latin-ext-700-normal.woff2 +0 -0
  52. package/dist/files/inter-vietnamese-300-normal.woff +0 -0
  53. package/dist/files/inter-vietnamese-300-normal.woff2 +0 -0
  54. package/dist/files/inter-vietnamese-400-normal.woff +0 -0
  55. package/dist/files/inter-vietnamese-400-normal.woff2 +0 -0
  56. package/dist/files/inter-vietnamese-600-normal.woff +0 -0
  57. package/dist/files/inter-vietnamese-600-normal.woff2 +0 -0
  58. package/dist/files/inter-vietnamese-700-normal.woff +0 -0
  59. package/dist/files/inter-vietnamese-700-normal.woff2 +0 -0
  60. package/dist/files/playfair-display-cyrillic-400-normal.woff +0 -0
  61. package/dist/files/playfair-display-cyrillic-400-normal.woff2 +0 -0
  62. package/dist/files/playfair-display-cyrillic-500-normal.woff +0 -0
  63. package/dist/files/playfair-display-cyrillic-500-normal.woff2 +0 -0
  64. package/dist/files/playfair-display-cyrillic-600-normal.woff +0 -0
  65. package/dist/files/playfair-display-cyrillic-600-normal.woff2 +0 -0
  66. package/dist/files/playfair-display-cyrillic-700-normal.woff +0 -0
  67. package/dist/files/playfair-display-cyrillic-700-normal.woff2 +0 -0
  68. package/dist/files/playfair-display-latin-400-normal.woff +0 -0
  69. package/dist/files/playfair-display-latin-400-normal.woff2 +0 -0
  70. package/dist/files/playfair-display-latin-500-normal.woff +0 -0
  71. package/dist/files/playfair-display-latin-500-normal.woff2 +0 -0
  72. package/dist/files/playfair-display-latin-600-normal.woff +0 -0
  73. package/dist/files/playfair-display-latin-600-normal.woff2 +0 -0
  74. package/dist/files/playfair-display-latin-700-normal.woff +0 -0
  75. package/dist/files/playfair-display-latin-700-normal.woff2 +0 -0
  76. package/dist/files/playfair-display-latin-ext-400-normal.woff +0 -0
  77. package/dist/files/playfair-display-latin-ext-400-normal.woff2 +0 -0
  78. package/dist/files/playfair-display-latin-ext-500-normal.woff +0 -0
  79. package/dist/files/playfair-display-latin-ext-500-normal.woff2 +0 -0
  80. package/dist/files/playfair-display-latin-ext-600-normal.woff +0 -0
  81. package/dist/files/playfair-display-latin-ext-600-normal.woff2 +0 -0
  82. package/dist/files/playfair-display-latin-ext-700-normal.woff +0 -0
  83. package/dist/files/playfair-display-latin-ext-700-normal.woff2 +0 -0
  84. package/dist/files/playfair-display-vietnamese-400-normal.woff +0 -0
  85. package/dist/files/playfair-display-vietnamese-400-normal.woff2 +0 -0
  86. package/dist/files/playfair-display-vietnamese-500-normal.woff +0 -0
  87. package/dist/files/playfair-display-vietnamese-500-normal.woff2 +0 -0
  88. package/dist/files/playfair-display-vietnamese-600-normal.woff +0 -0
  89. package/dist/files/playfair-display-vietnamese-600-normal.woff2 +0 -0
  90. package/dist/files/playfair-display-vietnamese-700-normal.woff +0 -0
  91. package/dist/files/playfair-display-vietnamese-700-normal.woff2 +0 -0
  92. package/dist/files/press-start-2p-cyrillic-400-normal.woff +0 -0
  93. package/dist/files/press-start-2p-cyrillic-400-normal.woff2 +0 -0
  94. package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff +0 -0
  95. package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff2 +0 -0
  96. package/dist/files/press-start-2p-greek-400-normal.woff +0 -0
  97. package/dist/files/press-start-2p-greek-400-normal.woff2 +0 -0
  98. package/dist/files/press-start-2p-latin-400-normal.woff +0 -0
  99. package/dist/files/press-start-2p-latin-400-normal.woff2 +0 -0
  100. package/dist/files/press-start-2p-latin-ext-400-normal.woff +0 -0
  101. package/dist/files/press-start-2p-latin-ext-400-normal.woff2 +0 -0
  102. package/dist/files/roboto-cyrillic-400-normal.woff +0 -0
  103. package/dist/files/roboto-cyrillic-400-normal.woff2 +0 -0
  104. package/dist/files/roboto-cyrillic-700-normal.woff +0 -0
  105. package/dist/files/roboto-cyrillic-700-normal.woff2 +0 -0
  106. package/dist/files/roboto-cyrillic-ext-400-normal.woff +0 -0
  107. package/dist/files/roboto-cyrillic-ext-400-normal.woff2 +0 -0
  108. package/dist/files/roboto-cyrillic-ext-700-normal.woff +0 -0
  109. package/dist/files/roboto-cyrillic-ext-700-normal.woff2 +0 -0
  110. package/dist/files/roboto-greek-400-normal.woff +0 -0
  111. package/dist/files/roboto-greek-400-normal.woff2 +0 -0
  112. package/dist/files/roboto-greek-700-normal.woff +0 -0
  113. package/dist/files/roboto-greek-700-normal.woff2 +0 -0
  114. package/dist/files/roboto-greek-ext-400-normal.woff +0 -0
  115. package/dist/files/roboto-greek-ext-400-normal.woff2 +0 -0
  116. package/dist/files/roboto-greek-ext-700-normal.woff +0 -0
  117. package/dist/files/roboto-greek-ext-700-normal.woff2 +0 -0
  118. package/dist/files/roboto-latin-400-normal.woff +0 -0
  119. package/dist/files/roboto-latin-400-normal.woff2 +0 -0
  120. package/dist/files/roboto-latin-700-normal.woff +0 -0
  121. package/dist/files/roboto-latin-700-normal.woff2 +0 -0
  122. package/dist/files/roboto-latin-ext-400-normal.woff +0 -0
  123. package/dist/files/roboto-latin-ext-400-normal.woff2 +0 -0
  124. package/dist/files/roboto-latin-ext-700-normal.woff +0 -0
  125. package/dist/files/roboto-latin-ext-700-normal.woff2 +0 -0
  126. package/dist/files/roboto-math-400-normal.woff +0 -0
  127. package/dist/files/roboto-math-400-normal.woff2 +0 -0
  128. package/dist/files/roboto-math-700-normal.woff +0 -0
  129. package/dist/files/roboto-math-700-normal.woff2 +0 -0
  130. package/dist/files/roboto-symbols-400-normal.woff +0 -0
  131. package/dist/files/roboto-symbols-400-normal.woff2 +0 -0
  132. package/dist/files/roboto-symbols-700-normal.woff +0 -0
  133. package/dist/files/roboto-symbols-700-normal.woff2 +0 -0
  134. package/dist/files/roboto-vietnamese-400-normal.woff +0 -0
  135. package/dist/files/roboto-vietnamese-400-normal.woff2 +0 -0
  136. package/dist/files/roboto-vietnamese-700-normal.woff +0 -0
  137. package/dist/files/roboto-vietnamese-700-normal.woff2 +0 -0
  138. package/dist/files/space-grotesk-latin-300-normal.woff +0 -0
  139. package/dist/files/space-grotesk-latin-300-normal.woff2 +0 -0
  140. package/dist/files/space-grotesk-latin-400-normal.woff +0 -0
  141. package/dist/files/space-grotesk-latin-400-normal.woff2 +0 -0
  142. package/dist/files/space-grotesk-latin-500-normal.woff +0 -0
  143. package/dist/files/space-grotesk-latin-500-normal.woff2 +0 -0
  144. package/dist/files/space-grotesk-latin-600-normal.woff +0 -0
  145. package/dist/files/space-grotesk-latin-600-normal.woff2 +0 -0
  146. package/dist/files/space-grotesk-latin-700-normal.woff +0 -0
  147. package/dist/files/space-grotesk-latin-700-normal.woff2 +0 -0
  148. package/dist/files/space-grotesk-latin-ext-300-normal.woff +0 -0
  149. package/dist/files/space-grotesk-latin-ext-300-normal.woff2 +0 -0
  150. package/dist/files/space-grotesk-latin-ext-400-normal.woff +0 -0
  151. package/dist/files/space-grotesk-latin-ext-400-normal.woff2 +0 -0
  152. package/dist/files/space-grotesk-latin-ext-500-normal.woff +0 -0
  153. package/dist/files/space-grotesk-latin-ext-500-normal.woff2 +0 -0
  154. package/dist/files/space-grotesk-latin-ext-600-normal.woff +0 -0
  155. package/dist/files/space-grotesk-latin-ext-600-normal.woff2 +0 -0
  156. package/dist/files/space-grotesk-latin-ext-700-normal.woff +0 -0
  157. package/dist/files/space-grotesk-latin-ext-700-normal.woff2 +0 -0
  158. package/dist/files/space-grotesk-vietnamese-300-normal.woff +0 -0
  159. package/dist/files/space-grotesk-vietnamese-300-normal.woff2 +0 -0
  160. package/dist/files/space-grotesk-vietnamese-400-normal.woff +0 -0
  161. package/dist/files/space-grotesk-vietnamese-400-normal.woff2 +0 -0
  162. package/dist/files/space-grotesk-vietnamese-500-normal.woff +0 -0
  163. package/dist/files/space-grotesk-vietnamese-500-normal.woff2 +0 -0
  164. package/dist/files/space-grotesk-vietnamese-600-normal.woff +0 -0
  165. package/dist/files/space-grotesk-vietnamese-600-normal.woff2 +0 -0
  166. package/dist/files/space-grotesk-vietnamese-700-normal.woff +0 -0
  167. package/dist/files/space-grotesk-vietnamese-700-normal.woff2 +0 -0
  168. package/dist/index.js +4 -4
  169. package/dist/internal/layout/DnDevLayout.d.ts.map +1 -1
  170. package/dist/internal/layout/DnDevLayout.js +4 -2
  171. package/dist/styles/index.css +479 -84
  172. package/dist/utils/sanitizeSvg.js +1 -1
  173. package/dist/vite-routing/AppRoutes.d.ts.map +1 -1
  174. package/dist/vite-routing/AppRoutes.js +11 -2
  175. package/dist/vite-routing/RootLayout.d.ts.map +1 -1
  176. package/dist/vite-routing/RootLayout.js +5 -4
  177. package/package.json +10 -10
@@ -1 +1 @@
1
- {"version":3,"file":"DnDevLayout.d.ts","sourceRoot":"","sources":["../../../src/internal/layout/DnDevLayout.tsx"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AAEH,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAIV,YAAY,EACb,MAAM,gBAAgB,CAAC;AA0CxB,UAAU,yBAAyB;IACjC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW,GAAI,kCAIzB,yBAAyB,4CAyT3B,CAAC"}
1
+ {"version":3,"file":"DnDevLayout.d.ts","sourceRoot":"","sources":["../../../src/internal/layout/DnDevLayout.tsx"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AAEH,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAIV,YAAY,EACb,MAAM,gBAAgB,CAAC;AA0CxB,UAAU,yBAAyB;IACjC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW,GAAI,kCAIzB,yBAAyB,4CA4T3B,CAAC"}
@@ -64,12 +64,14 @@ export const DnDevLayout = ({ children, layout, className, }) => {
64
64
  const preset = useLayout('layoutPreset');
65
65
  const routePresetOverride = useLayout('routePresetOverride');
66
66
  const isMobile = useBreakpoint('isMobileOrTablet');
67
- const app = useAppConfig('app');
67
+ const { app, features } = useAppConfig();
68
+ const debugEnabled = isDev() && features?.debug === true;
68
69
  // Subscribe to language changes for zone re-renders
69
70
  useTranslation('dndev');
70
71
  // Layout config props
71
72
  const breadcrumbs = layout?.breadcrumbs ?? 'smart';
72
73
  const footerMode = layout?.footerMode;
74
+ const footerInline = footerMode === 'scroll' || isMobile;
73
75
  // Route detection for animations
74
76
  const location = useLocation();
75
77
  const pathname = location.pathname;
@@ -248,5 +250,5 @@ export const DnDevLayout = ({ children, layout, className, }) => {
248
250
  };
249
251
  startTransition(updateDOM);
250
252
  }, [effectivePreset]);
251
- return (_jsxs("div", { className: cn('dndev-layout', className), "data-footer-mode": footerMode, children: [resolvedHeader, resolvedSidebar, _jsxs("main", { ref: mainRef, role: "main", className: "main", children: [breadcrumbs !== 'never' && (_jsx("div", { className: "breadcrumbs-container", children: _jsx(Breadcrumbs, { variant: breadcrumbs === 'always' ? 'default' : 'smart' }) })), isDev() && (_jsx(Suspense, { fallback: null, children: _jsx(DebugTools, {}) })), content] }), resolvedFooter, resolvedMergedBar, _jsx(GoToWrapper, {})] }));
253
+ return (_jsxs("div", { className: cn('dndev-layout', className), "data-footer-inline": footerInline || undefined, children: [resolvedHeader, resolvedSidebar, _jsxs("main", { ref: mainRef, role: "main", className: "main", children: [breadcrumbs !== 'never' && (_jsx("div", { className: "breadcrumbs-container", children: _jsx(Breadcrumbs, { variant: breadcrumbs === 'always' ? 'default' : 'smart' }) })), debugEnabled && (_jsx(Suspense, { fallback: null, children: _jsx(DebugTools, {}) })), layout?.wrapper ? layout.wrapper({ children: content }) : content, footerInline && resolvedFooter] }), !footerInline && resolvedFooter, resolvedMergedBar, _jsx(GoToWrapper, {})] }));
252
254
  };
@@ -521,7 +521,7 @@ body {
521
521
 
522
522
  #root {
523
523
  height: 100%;
524
- overflow-y: auto;
524
+ overflow: hidden;
525
525
  position: relative;
526
526
  }
527
527
 
@@ -968,7 +968,6 @@ em {
968
968
  ); /* Extra top padding for FloatingLabels */
969
969
  position: relative;
970
970
  overflow: hidden;
971
- contain: layout style;
972
971
  transform: translateZ(0);
973
972
  backface-visibility: hidden;
974
973
  transition:
@@ -2974,6 +2973,88 @@ em {
2974
2973
  transform: rotate(-90deg);
2975
2974
  }
2976
2975
 
2976
+ /* packages/components/src/atomic/ButtonGroup/ButtonGroup.css */
2977
+
2978
+ .dndev-button-group {
2979
+ display: inline-flex;
2980
+ align-items: stretch;
2981
+ }
2982
+
2983
+ /* Orientation */
2984
+
2985
+ .dndev-button-group[data-orientation='horizontal'] {
2986
+ flex-direction: row;
2987
+ }
2988
+
2989
+ .dndev-button-group[data-orientation='vertical'] {
2990
+ flex-direction: column;
2991
+ }
2992
+
2993
+ /* --- Horizontal border collapse --- */
2994
+
2995
+ .dndev-button-group[data-orientation='horizontal']
2996
+ > .dndev-interactive
2997
+ + .dndev-interactive {
2998
+ margin-inline-start: -1px;
2999
+ }
3000
+
3001
+ .dndev-button-group[data-orientation='horizontal']
3002
+ > .dndev-interactive:first-child {
3003
+ border-start-end-radius: 0;
3004
+ border-end-end-radius: 0;
3005
+ }
3006
+
3007
+ .dndev-button-group[data-orientation='horizontal']
3008
+ > .dndev-interactive:last-child {
3009
+ border-start-start-radius: 0;
3010
+ border-end-start-radius: 0;
3011
+ }
3012
+
3013
+ .dndev-button-group[data-orientation='horizontal']
3014
+ > .dndev-interactive:not(:first-child):not(:last-child) {
3015
+ border-radius: 0;
3016
+ }
3017
+
3018
+ /* --- Vertical border collapse --- */
3019
+
3020
+ .dndev-button-group[data-orientation='vertical']
3021
+ > .dndev-interactive
3022
+ + .dndev-interactive {
3023
+ margin-block-start: -1px;
3024
+ }
3025
+
3026
+ .dndev-button-group[data-orientation='vertical']
3027
+ > .dndev-interactive:first-child {
3028
+ border-end-start-radius: 0;
3029
+ border-end-end-radius: 0;
3030
+ }
3031
+
3032
+ .dndev-button-group[data-orientation='vertical']
3033
+ > .dndev-interactive:last-child {
3034
+ border-start-start-radius: 0;
3035
+ border-start-end-radius: 0;
3036
+ }
3037
+
3038
+ .dndev-button-group[data-orientation='vertical']
3039
+ > .dndev-interactive:not(:first-child):not(:last-child) {
3040
+ border-radius: 0;
3041
+ }
3042
+
3043
+ /* Hover/focus z-index lift to show full border */
3044
+
3045
+ .dndev-button-group > .dndev-interactive:hover,
3046
+ .dndev-button-group > .dndev-interactive:focus-visible {
3047
+ z-index: 1;
3048
+ position: relative;
3049
+ }
3050
+
3051
+ /* Disabled group */
3052
+
3053
+ .dndev-button-group[aria-disabled='true'] {
3054
+ opacity: var(--opacity-muted);
3055
+ pointer-events: none;
3056
+ }
3057
+
2977
3058
  /* packages/components/src/atomic/Calendar/Calendar.css */
2978
3059
 
2979
3060
  /**
@@ -3585,6 +3666,138 @@ em {
3585
3666
  transform: rotate(180deg);
3586
3667
  }
3587
3668
 
3669
+ /* packages/components/src/atomic/ColorPicker/ColorPicker.css */
3670
+
3671
+ .dndev-color-picker {
3672
+ display: flex;
3673
+ flex-direction: column;
3674
+ gap: var(--gap-md);
3675
+ }
3676
+
3677
+ /* Swatch grid */
3678
+
3679
+ .dndev-color-swatches {
3680
+ display: grid;
3681
+ grid-template-columns: repeat(var(--color-picker-columns, 8), 1fr);
3682
+ gap: var(--gap-sm);
3683
+ }
3684
+
3685
+ /* Individual swatch */
3686
+
3687
+ .dndev-color-swatch {
3688
+ width: 100%;
3689
+ aspect-ratio: 1;
3690
+ min-width: 28px;
3691
+ min-height: 28px;
3692
+ border-radius: var(--radius-interactive);
3693
+ border: 2px solid transparent;
3694
+ background-color: var(--swatch-color);
3695
+ cursor: pointer;
3696
+ transition:
3697
+ transform var(--dur-fast) var(--ease-in-out),
3698
+ box-shadow var(--dur-fast) var(--ease-in-out),
3699
+ border-color var(--dur-fast) var(--ease-in-out);
3700
+ padding: 0;
3701
+ position: relative;
3702
+ }
3703
+
3704
+ .dndev-color-swatch:hover {
3705
+ transform: scale(1.15);
3706
+ box-shadow: var(--shadow-md);
3707
+ z-index: 1;
3708
+ }
3709
+
3710
+ .dndev-color-swatch:focus-visible {
3711
+ outline: 2px solid var(--ring);
3712
+ outline-offset: 2px;
3713
+ }
3714
+
3715
+ .dndev-color-swatch:focus:not(:focus-visible) {
3716
+ outline: none;
3717
+ }
3718
+
3719
+ /* Selected swatch — ring */
3720
+
3721
+ .dndev-color-swatch[aria-checked='true'] {
3722
+ border-color: var(--foreground);
3723
+ box-shadow:
3724
+ 0 0 0 2px var(--background),
3725
+ 0 0 0 4px var(--foreground);
3726
+ }
3727
+
3728
+ /* Checkmark on selected */
3729
+
3730
+ .dndev-color-swatch[aria-checked='true']::after {
3731
+ content: '';
3732
+ display: block;
3733
+ position: absolute;
3734
+ inset: 0;
3735
+ margin: auto;
3736
+ width: 40%;
3737
+ height: 22%;
3738
+ border-bottom: 2px solid;
3739
+ border-inline-start: 2px solid;
3740
+ transform: rotate(-45deg) translateY(-15%);
3741
+ }
3742
+
3743
+ /* Contrast-aware checkmark color */
3744
+
3745
+ .dndev-color-swatch[aria-checked='true'][data-light='true']::after {
3746
+ color: #000000;
3747
+ }
3748
+
3749
+ .dndev-color-swatch[aria-checked='true'][data-light='false']::after {
3750
+ color: #ffffff;
3751
+ }
3752
+
3753
+ /* Custom color section */
3754
+
3755
+ .dndev-color-custom {
3756
+ display: flex;
3757
+ align-items: center;
3758
+ gap: var(--gap-sm);
3759
+ }
3760
+
3761
+ .dndev-color-custom-label {
3762
+ display: flex;
3763
+ align-items: center;
3764
+ gap: var(--gap-sm);
3765
+ font-size: var(--font-size-sm);
3766
+ color: var(--muted-foreground);
3767
+ cursor: pointer;
3768
+ }
3769
+
3770
+ .dndev-color-custom input[type='color'] {
3771
+ width: var(--touch-target);
3772
+ height: var(--touch-target);
3773
+ border: var(--border-hairline) solid var(--border);
3774
+ border-radius: var(--radius-interactive);
3775
+ padding: 2px;
3776
+ cursor: pointer;
3777
+ background: none;
3778
+ }
3779
+
3780
+ .dndev-color-custom input[type='color']:focus-visible {
3781
+ outline: 2px solid var(--ring);
3782
+ outline-offset: 2px;
3783
+ }
3784
+
3785
+ /* Hex display */
3786
+
3787
+ .dndev-color-hex {
3788
+ font-family: var(--font-mono);
3789
+ font-size: var(--font-size-sm);
3790
+ color: var(--muted-foreground);
3791
+ text-transform: uppercase;
3792
+ }
3793
+
3794
+ /* Disabled */
3795
+
3796
+ .dndev-color-picker[aria-disabled='true'] {
3797
+ opacity: var(--opacity-muted);
3798
+ pointer-events: none;
3799
+ }
3800
+
3588
3801
  /* packages/components/src/atomic/Combobox/Combobox.css */
3589
3802
 
3590
3803
  /* ──────────────────────────────────────────────────
@@ -6579,6 +6792,57 @@ input[type='number'] {
6579
6792
  }
6580
6793
  }
6581
6794
 
6795
+ /* packages/components/src/atomic/SkipLink/SkipLink.css */
6796
+
6797
+ .dndev-skip-links {
6798
+ position: fixed;
6799
+ top: 0;
6800
+ inset-inline-start: 0;
6801
+ z-index: 99999;
6802
+ display: flex;
6803
+ flex-direction: column;
6804
+ gap: var(--gap-sm);
6805
+ padding: var(--gap-sm);
6806
+ pointer-events: none;
6807
+ }
6808
+
6809
+ .dndev-skip-link {
6810
+ /* Off-screen by default — still in focus order */
6811
+ position: absolute;
6812
+ transform: translateY(-200%);
6813
+ opacity: 0;
6814
+ pointer-events: none;
6815
+
6816
+ /* Visual style when visible */
6817
+ display: inline-flex;
6818
+ align-items: center;
6819
+ padding: var(--gap-sm) var(--gap-md);
6820
+ background: var(--foreground);
6821
+ color: var(--background);
6822
+ font-size: var(--font-size-base);
6823
+ font-weight: var(--font-weight-semibold);
6824
+ border-radius: var(--radius-interactive);
6825
+ text-decoration: none;
6826
+ white-space: nowrap;
6827
+ box-shadow: var(--shadow-xl);
6828
+
6829
+ /* Smooth appearance transition */
6830
+ transition:
6831
+ transform var(--dur-normal) var(--ease-in-out),
6832
+ opacity var(--dur-normal) var(--ease-in-out);
6833
+ }
6834
+
6835
+ /* Visible on focus */
6836
+
6837
+ .dndev-skip-link:focus {
6838
+ position: relative;
6839
+ transform: translateY(0);
6840
+ opacity: 1;
6841
+ pointer-events: auto;
6842
+ outline: 2px solid var(--ring);
6843
+ outline-offset: 2px;
6844
+ }
6845
+
6582
6846
  /* packages/components/src/atomic/Slider/Slider.css */
6583
6847
 
6584
6848
  .dndev-slider {
@@ -8208,6 +8472,194 @@ input[type='number'] {
8208
8472
  max-width: 12.5rem; /* 200px */
8209
8473
  }
8210
8474
 
8475
+ /* packages/components/src/atomic/TreeView/TreeView.css */
8476
+
8477
+ /* Root tree list */
8478
+
8479
+ .dndev-tree {
8480
+ list-style: none;
8481
+ padding: 0;
8482
+ margin: 0;
8483
+ font-size: var(--font-size-base);
8484
+ }
8485
+
8486
+ /* Child groups */
8487
+
8488
+ .dndev-tree [role='group'] {
8489
+ list-style: none;
8490
+ padding: 0;
8491
+ margin: 0;
8492
+ padding-inline-start: var(--gap-lg);
8493
+ }
8494
+
8495
+ /* Collapse animation for child groups */
8496
+
8497
+ .dndev-tree [role='group'][data-state='open'] {
8498
+ animation: dndev-tree-expand var(--dur-normal) var(--ease-in-out);
8499
+ overflow: visible;
8500
+ }
8501
+
8502
+ .dndev-tree [role='group'][data-state='closed'] {
8503
+ animation: dndev-tree-collapse var(--dur-normal) var(--ease-in-out);
8504
+ overflow: hidden;
8505
+ display: none;
8506
+ }
8507
+
8508
+ @keyframes dndev-tree-expand {
8509
+ from {
8510
+ opacity: 0;
8511
+ transform: translateY(-4px);
8512
+ }
8513
+ to {
8514
+ opacity: 1;
8515
+ transform: translateY(0);
8516
+ }
8517
+ }
8518
+
8519
+ @keyframes dndev-tree-collapse {
8520
+ from {
8521
+ opacity: 1;
8522
+ transform: translateY(0);
8523
+ }
8524
+ to {
8525
+ opacity: 0;
8526
+ transform: translateY(-4px);
8527
+ }
8528
+ }
8529
+
8530
+ /* Node content row */
8531
+
8532
+ .dndev-tree-node-content {
8533
+ display: flex;
8534
+ align-items: center;
8535
+ gap: var(--gap-sm);
8536
+ padding: var(--gap-xs) var(--gap-sm);
8537
+ border-radius: var(--radius-interactive);
8538
+ cursor: pointer;
8539
+ transition:
8540
+ background var(--dur-fast) var(--ease-in-out),
8541
+ color var(--dur-fast) var(--ease-in-out);
8542
+ min-height: var(--touch-target);
8543
+ -webkit-user-select: none;
8544
+ -moz-user-select: none;
8545
+ user-select: none;
8546
+ }
8547
+
8548
+ .dndev-tree-node-content:hover {
8549
+ background: var(--muted);
8550
+ }
8551
+
8552
+ /* Selected state */
8553
+
8554
+ [role='treeitem'][aria-selected='true'] > .dndev-tree-node-content {
8555
+ background: var(--primary);
8556
+ color: var(--primary-foreground);
8557
+ }
8558
+
8559
+ [role='treeitem'][aria-selected='true'] > .dndev-tree-node-content:hover {
8560
+ background: var(--primary);
8561
+ opacity: 0.9;
8562
+ }
8563
+
8564
+ /* Focus ring — keyboard only */
8565
+
8566
+ [role='treeitem']:focus-visible > .dndev-tree-node-content {
8567
+ outline: 2px solid var(--ring);
8568
+ outline-offset: 2px;
8569
+ }
8570
+
8571
+ [role='treeitem']:focus:not(:focus-visible) > .dndev-tree-node-content {
8572
+ outline: none;
8573
+ }
8574
+
8575
+ /* Expand/collapse chevron */
8576
+
8577
+ .dndev-tree-node-expand {
8578
+ display: flex;
8579
+ align-items: center;
8580
+ justify-content: center;
8581
+ width: var(--icon-md);
8582
+ height: var(--icon-md);
8583
+ flex-shrink: 0;
8584
+ transition: transform var(--dur-normal) var(--ease-in-out);
8585
+ color: var(--muted-foreground);
8586
+ }
8587
+
8588
+ [role='treeitem'][aria-expanded='true']
8589
+ > .dndev-tree-node-content
8590
+ > .dndev-tree-node-expand {
8591
+ transform: rotate(90deg);
8592
+ }
8593
+
8594
+ /* Leaf spacer — invisible, maintains alignment */
8595
+
8596
+ .dndev-tree-node-expand[data-leaf='true'] {
8597
+ visibility: hidden;
8598
+ }
8599
+
8600
+ /* Node icon */
8601
+
8602
+ .dndev-tree-node-icon {
8603
+ display: flex;
8604
+ align-items: center;
8605
+ flex-shrink: 0;
8606
+ width: var(--icon-md);
8607
+ height: var(--icon-md);
8608
+ }
8609
+
8610
+ /* Node label */
8611
+
8612
+ .dndev-tree-node-label {
8613
+ flex: 1;
8614
+ min-width: 0;
8615
+ overflow: hidden;
8616
+ text-overflow: ellipsis;
8617
+ white-space: nowrap;
8618
+ }
8619
+
8620
+ /* Disabled */
8621
+
8622
+ [role='treeitem'][aria-disabled='true'] > .dndev-tree-node-content {
8623
+ opacity: var(--opacity-muted);
8624
+ pointer-events: none;
8625
+ cursor: default;
8626
+ }
8627
+
8628
+ /* --- Connector lines (optional) --- */
8629
+
8630
+ .dndev-tree[data-show-lines='true'] [role='group'] {
8631
+ position: relative;
8632
+ }
8633
+
8634
+ .dndev-tree[data-show-lines='true'] [role='group']::before {
8635
+ content: '';
8636
+ position: absolute;
8637
+ inset-inline-start: calc(var(--icon-md) / 2);
8638
+ top: 0;
8639
+ bottom: var(--gap-sm);
8640
+ border-inline-start: 1px solid var(--border);
8641
+ pointer-events: none;
8642
+ }
8643
+
8644
+ .dndev-tree[data-show-lines='true']
8645
+ [role='group']
8646
+ > [role='treeitem']
8647
+ > .dndev-tree-node-content::before {
8648
+ content: '';
8649
+ position: absolute;
8650
+ inset-inline-start: calc(var(--icon-md) / 2 - var(--gap-lg));
8651
+ width: var(--gap-sm);
8652
+ border-bottom: 1px solid var(--border);
8653
+ pointer-events: none;
8654
+ }
8655
+
8656
+ .dndev-tree[data-show-lines='true']
8657
+ [role='group']
8658
+ > [role='treeitem']
8659
+ > .dndev-tree-node-content {
8660
+ position: relative;
8661
+ }
8662
+
8211
8663
  /* packages/components/src/atomic/VideoPlayer/VideoPlayer.css */
8212
8664
 
8213
8665
  /**
@@ -8922,12 +9374,12 @@ input[type='number'] {
8922
9374
  box-shadow: var(--shadow-xl);
8923
9375
  }
8924
9376
 
8925
- /* Phase badge - absolute overlay top-start */
9377
+ /* Phase badge - absolute overlay top-end */
8926
9378
 
8927
9379
  .dndev-roadmap-phase {
8928
9380
  position: absolute;
8929
9381
  top: var(--gap-sm);
8930
- inset-inline-start: var(--gap-sm);
9382
+ inset-inline-end: var(--gap-sm);
8931
9383
  font-size: var(--font-size-xs);
8932
9384
  font-weight: var(--font-weight-bold);
8933
9385
  text-transform: uppercase;
@@ -10123,7 +10575,6 @@ h4[data-variant='code'] {
10123
10575
  .prose {
10124
10576
  color: var(--color-fg);
10125
10577
  text-align: start;
10126
- max-width: 65ch;
10127
10578
  line-height: 1.75;
10128
10579
 
10129
10580
  /* ── Headings (typography standards) ──
@@ -10844,84 +11295,26 @@ main[role='main'][data-routing-animation='none'] {
10844
11295
  grid-template-columns: var(--sidebar-width) 1fr;
10845
11296
  }
10846
11297
 
10847
- /* Footer scroll mode: grid scrolls, footer scrolls with content */
11298
+ /* Footer inline: renders inside main, grid drops to 2 rows */
10848
11299
 
10849
- /* Desktop: opt-in via data-footer-mode="scroll" */
10850
-
10851
- .dndev-layout[data-footer-mode='scroll'] {
10852
- height: auto;
10853
- min-height: 100dvh;
10854
- max-height: none;
10855
- overflow-y: visible;
10856
- overflow-x: hidden;
10857
- grid-template-rows:
10858
- var(--header-height) minmax(calc(100dvh - var(--header-height)), auto)
10859
- auto;
11300
+ .dndev-layout[data-footer-inline] {
11301
+ grid-template-areas:
11302
+ 'header header'
11303
+ 'sidebar main';
11304
+ grid-template-rows: var(--header-height) 1fr;
10860
11305
  }
10861
11306
 
10862
- .dndev-layout[data-footer-mode='scroll'] header[role='banner'] {
10863
- position: sticky;
10864
- top: 0;
10865
- }
10866
-
10867
- .dndev-layout[data-footer-mode='scroll'] aside.sidebar[role='navigation'] {
10868
- position: sticky;
10869
- top: var(--header-height);
10870
- height: calc(100dvh - var(--header-height));
10871
- align-self: start;
10872
- }
10873
-
10874
- .dndev-layout[data-footer-mode='scroll'] main[role='main'] {
10875
- overflow-y: visible;
10876
- overflow-x: hidden;
10877
- contain: style;
10878
- }
10879
-
10880
- .dndev-layout[data-footer-mode='scroll'] footer[role='contentinfo'] {
10881
- grid-column: 2 / -1;
10882
- height: auto;
10883
- margin-top: var(--gap-lg);
10884
- }
10885
-
10886
- :is(.dndev-layout[data-footer-mode='scroll'] footer[role='contentinfo']) > * {
10887
- height: auto;
10888
- min-height: var(--footer-height);
10889
- }
10890
-
10891
- /* Mobile: footer scroll mode ON by default (same rules) */
11307
+ /* Footer inside main: spacing + sizing */
10892
11308
 
10893
- @media (width <=1023px) {
10894
- .dndev-layout {
10895
- height: auto;
10896
- min-height: 100dvh;
10897
- max-height: none;
10898
- overflow-y: visible;
10899
- overflow-x: hidden;
10900
- grid-template-rows:
10901
- var(--header-height) minmax(calc(100dvh - var(--header-height)), auto)
10902
- auto;
10903
- }
10904
-
10905
- .dndev-layout header[role='banner'] {
10906
- position: sticky;
10907
- top: 0;
10908
- }
10909
-
10910
- .dndev-layout main[role='main'] {
10911
- overflow-y: visible;
10912
- overflow-x: hidden;
10913
- contain: style;
10914
- }
10915
-
10916
- .dndev-layout footer[role='contentinfo'] {
10917
- height: auto;
10918
- margin-top: var(--gap-lg);
10919
- }
11309
+ main[role='main'] > footer[role='contentinfo'] {
11310
+ margin-top: var(--gap-lg);
11311
+ flex-shrink: 0;
11312
+ height: auto;
11313
+ }
10920
11314
 
10921
- :is(.dndev-layout footer[role='contentinfo']) > * {
10922
- height: auto;
10923
- min-height: var(--footer-height);
10924
- }
11315
+ main[role='main'] > footer[role='contentinfo'] > * {
11316
+ height: auto;
11317
+ min-height: var(--footer-height);
10925
11318
  }
10926
11319
 
10927
11320
  /* Presets with no footer at all */
@@ -11293,11 +11686,11 @@ main[role='main'] {
11293
11686
  padding: 0;
11294
11687
  contain: layout style;
11295
11688
 
11296
- /* First child after breadcrumbs grows to fill space */
11689
+ /* First child after breadcrumbs grows to fill space, never shrinks (scroll container owns overflow) */
11297
11690
  }
11298
11691
 
11299
11692
  main[role='main'] > *:not(.breadcrumbs-container):first-of-type,main[role='main'] > .breadcrumbs-container + * {
11300
- flex: 1 1 auto;
11693
+ flex: 1 0 auto;
11301
11694
  }
11302
11695
 
11303
11696
  /* Footer: Full width by default, app presets start after sidebar */
@@ -11633,13 +12026,15 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
11633
12026
  =========================== */
11634
12027
 
11635
12028
  .breadcrumbs-container {
11636
- /* Ensure breadcrumbs don't interfere with layout positioning */
11637
- position: relative;
12029
+ /* Sticky: stays pinned at top of scrollable main area */
12030
+ position: sticky;
12031
+ top: 0;
11638
12032
  z-index: var(--z-breadcrumbs);
12033
+
11639
12034
  /* Prevent flex grow - should stay at natural height */
11640
12035
  flex: 0 0 auto;
11641
- /* Subtle background to separate from content */
11642
- background: rgb(from var(--muted) r g b / 0.3);
12036
+ /* Opaque background so scrolling content doesn't show through */
12037
+ background: var(--background);
11643
12038
  border-bottom: 1px solid rgb(from var(--border) r g b / 0.5);
11644
12039
 
11645
12040
  /* Hide breadcrumbs container when breadcrumbs return null (smart variant on simple routes) */
@@ -23,7 +23,7 @@
23
23
  /** Regex patterns for known XSS vectors in SVG */
24
24
  const SCRIPT_TAG_RE = /<script[\s\S]*?<\/script>/gi;
25
25
  const FOREIGN_OBJECT_RE = /<foreignObject[\s\S]*?<\/foreignObject>/gi;
26
- const EVENT_HANDLER_RE = /\s+on\w+\s*=\s*["'][^"']*["']/gi;
26
+ const EVENT_HANDLER_RE = /\s+on\w+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi;
27
27
  const JAVASCRIPT_HREF_RE = /\s+(?:xlink:)?href\s*=\s*["']\s*javascript:[^"']*["']/gi;
28
28
  const DATA_URI_HREF_RE = /\s+(?:xlink:)?href\s*=\s*["']\s*data:(?!image\/(?:png|jpe?g|gif|webp|svg\+xml))[^"']*["']/gi;
29
29
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"AppRoutes.d.ts","sourceRoot":"","sources":["../../src/vite-routing/AppRoutes.tsx"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAgB,MAAM,gBAAgB,CAAC;AAO3E,OAAO,KAAK,EAAE,aAAa,EAAkC,MAAM,OAAO,CAAC;AAG3E,yEAAyE;AACzE,KAAK,oBAAoB,GACrB,CAAC,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,aAAa,CAAA;CAAE,CAAC,CAAC,GAC3C,MAAM,CAAC;AAiIX;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAChC;AAED,4DAA4D;AAC5D,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,oBAAoB,CAAC;IAChC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,UAAU,sBAAsB;IAC9B,4CAA4C;IAC5C,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,yCAoE9D"}
1
+ {"version":3,"file":"AppRoutes.d.ts","sourceRoot":"","sources":["../../src/vite-routing/AppRoutes.tsx"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAgB,MAAM,gBAAgB,CAAC;AAO3E,OAAO,KAAK,EAAE,aAAa,EAAkC,MAAM,OAAO,CAAC;AAG3E,yEAAyE;AACzE,KAAK,oBAAoB,GACrB,CAAC,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,aAAa,CAAA;CAAE,CAAC,CAAC,GAC3C,MAAM,CAAC;AAiIX;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAChC;AAED,4DAA4D;AAC5D,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,oBAAoB,CAAC;IAChC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,UAAU,sBAAsB;IAC9B,4CAA4C;IAC5C,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,yCAiF9D"}