@donotdev/ui 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 (288) hide show
  1. package/LICENSE.md +21 -242
  2. package/README.md +1 -19
  3. package/assets/apple-touch-icon.png +0 -0
  4. package/assets/favicon.ico +0 -0
  5. package/assets/fonts/Inter-latin-ext.woff2 +0 -0
  6. package/assets/fonts/Inter-latin.woff2 +0 -0
  7. package/assets/fonts/PlayfairDisplay-latin-ext.woff2 +0 -0
  8. package/assets/fonts/PlayfairDisplay-latin.woff2 +0 -0
  9. package/assets/fonts/Roboto-400-cyrillic-ext.woff2 +0 -0
  10. package/assets/fonts/Roboto-400-cyrillic.woff2 +0 -0
  11. package/assets/fonts/Roboto-400-greek-ext.woff2 +0 -0
  12. package/assets/fonts/Roboto-400-greek.woff2 +0 -0
  13. package/assets/fonts/Roboto-400-latin-ext.woff2 +0 -0
  14. package/assets/fonts/Roboto-400-latin.woff2 +0 -0
  15. package/assets/fonts/Roboto-400-vietnamese.woff2 +0 -0
  16. package/assets/fonts/Roboto-700-cyrillic-ext.woff2 +0 -0
  17. package/assets/fonts/Roboto-700-cyrillic.woff2 +0 -0
  18. package/assets/fonts/Roboto-700-greek-ext.woff2 +0 -0
  19. package/assets/fonts/Roboto-700-greek.woff2 +0 -0
  20. package/assets/fonts/Roboto-700-latin-ext.woff2 +0 -0
  21. package/assets/fonts/Roboto-700-latin.woff2 +0 -0
  22. package/assets/fonts/Roboto-700-vietnamese.woff2 +0 -0
  23. package/assets/icon-192x192.png +0 -0
  24. package/assets/icon-512x512.png +0 -0
  25. package/assets/logo.png +0 -0
  26. package/assets/logo.svg +1 -1
  27. package/assets/manifest.json +0 -0
  28. package/dist/CookieConsent-5NH5DNTP.js +1 -0
  29. package/dist/{GoToDialog-RU5RP7S2.js → GoToDialog-CICRYHHG.js} +1 -1
  30. package/dist/chunk-MIPTBUWY.js +1 -0
  31. package/dist/components/common/FeatureCard.d.ts +9 -6
  32. package/dist/components/common/FeatureCard.d.ts.map +1 -1
  33. package/dist/components/common/FeatureCard.js +43 -32
  34. package/dist/components/cookie-consent/CookieConsent.d.ts +3 -3
  35. package/dist/components/cookie-consent/CookieConsent.d.ts.map +1 -1
  36. package/dist/components/cookie-consent/CookieConsent.js +36 -35
  37. package/dist/components/index.d.ts +0 -1
  38. package/dist/components/index.d.ts.map +1 -1
  39. package/dist/components/index.js +0 -1
  40. package/dist/components/layout/components/header/CacheSettings.d.ts.map +1 -1
  41. package/dist/components/layout/components/header/CacheSettings.js +6 -2
  42. package/dist/crud/components/EntityCardList.d.ts.map +1 -1
  43. package/dist/crud/components/EntityCardList.js +17 -4
  44. package/dist/crud/components/EntityDisplayRenderer.js +4 -4
  45. package/dist/crud/components/EntityFormRenderer.d.ts +6 -1
  46. package/dist/crud/components/EntityFormRenderer.d.ts.map +1 -1
  47. package/dist/crud/components/EntityFormRenderer.js +31 -21
  48. package/dist/crud/components/EntityList.d.ts.map +1 -1
  49. package/dist/crud/components/EntityList.js +56 -72
  50. package/dist/crud/components/EntityRecommendations.d.ts.map +1 -1
  51. package/dist/crud/components/EntityWorkflow.d.ts.map +1 -1
  52. package/dist/crud/components/EntityWorkflow.js +1 -1
  53. package/dist/crud/crudImports.d.ts +0 -1
  54. package/dist/crud/crudImports.d.ts.map +1 -1
  55. package/dist/crud/crudImports.js +0 -1
  56. package/dist/dndev-next.css +644 -107
  57. package/dist/dndev.css +778 -117
  58. package/dist/files/inter-cyrillic-300-normal.woff +0 -0
  59. package/dist/files/inter-cyrillic-300-normal.woff2 +0 -0
  60. package/dist/files/inter-cyrillic-400-normal.woff +0 -0
  61. package/dist/files/inter-cyrillic-400-normal.woff2 +0 -0
  62. package/dist/files/inter-cyrillic-600-normal.woff +0 -0
  63. package/dist/files/inter-cyrillic-600-normal.woff2 +0 -0
  64. package/dist/files/inter-cyrillic-700-normal.woff +0 -0
  65. package/dist/files/inter-cyrillic-700-normal.woff2 +0 -0
  66. package/dist/files/inter-cyrillic-ext-300-normal.woff +0 -0
  67. package/dist/files/inter-cyrillic-ext-300-normal.woff2 +0 -0
  68. package/dist/files/inter-cyrillic-ext-400-normal.woff +0 -0
  69. package/dist/files/inter-cyrillic-ext-400-normal.woff2 +0 -0
  70. package/dist/files/inter-cyrillic-ext-600-normal.woff +0 -0
  71. package/dist/files/inter-cyrillic-ext-600-normal.woff2 +0 -0
  72. package/dist/files/inter-cyrillic-ext-700-normal.woff +0 -0
  73. package/dist/files/inter-cyrillic-ext-700-normal.woff2 +0 -0
  74. package/dist/files/inter-greek-300-normal.woff +0 -0
  75. package/dist/files/inter-greek-300-normal.woff2 +0 -0
  76. package/dist/files/inter-greek-400-normal.woff +0 -0
  77. package/dist/files/inter-greek-400-normal.woff2 +0 -0
  78. package/dist/files/inter-greek-600-normal.woff +0 -0
  79. package/dist/files/inter-greek-600-normal.woff2 +0 -0
  80. package/dist/files/inter-greek-700-normal.woff +0 -0
  81. package/dist/files/inter-greek-700-normal.woff2 +0 -0
  82. package/dist/files/inter-greek-ext-300-normal.woff +0 -0
  83. package/dist/files/inter-greek-ext-300-normal.woff2 +0 -0
  84. package/dist/files/inter-greek-ext-400-normal.woff +0 -0
  85. package/dist/files/inter-greek-ext-400-normal.woff2 +0 -0
  86. package/dist/files/inter-greek-ext-600-normal.woff +0 -0
  87. package/dist/files/inter-greek-ext-600-normal.woff2 +0 -0
  88. package/dist/files/inter-greek-ext-700-normal.woff +0 -0
  89. package/dist/files/inter-greek-ext-700-normal.woff2 +0 -0
  90. package/dist/files/inter-latin-300-normal.woff +0 -0
  91. package/dist/files/inter-latin-300-normal.woff2 +0 -0
  92. package/dist/files/inter-latin-400-normal.woff +0 -0
  93. package/dist/files/inter-latin-400-normal.woff2 +0 -0
  94. package/dist/files/inter-latin-600-normal.woff +0 -0
  95. package/dist/files/inter-latin-600-normal.woff2 +0 -0
  96. package/dist/files/inter-latin-700-normal.woff +0 -0
  97. package/dist/files/inter-latin-700-normal.woff2 +0 -0
  98. package/dist/files/inter-latin-ext-300-normal.woff +0 -0
  99. package/dist/files/inter-latin-ext-300-normal.woff2 +0 -0
  100. package/dist/files/inter-latin-ext-400-normal.woff +0 -0
  101. package/dist/files/inter-latin-ext-400-normal.woff2 +0 -0
  102. package/dist/files/inter-latin-ext-600-normal.woff +0 -0
  103. package/dist/files/inter-latin-ext-600-normal.woff2 +0 -0
  104. package/dist/files/inter-latin-ext-700-normal.woff +0 -0
  105. package/dist/files/inter-latin-ext-700-normal.woff2 +0 -0
  106. package/dist/files/inter-vietnamese-300-normal.woff +0 -0
  107. package/dist/files/inter-vietnamese-300-normal.woff2 +0 -0
  108. package/dist/files/inter-vietnamese-400-normal.woff +0 -0
  109. package/dist/files/inter-vietnamese-400-normal.woff2 +0 -0
  110. package/dist/files/inter-vietnamese-600-normal.woff +0 -0
  111. package/dist/files/inter-vietnamese-600-normal.woff2 +0 -0
  112. package/dist/files/inter-vietnamese-700-normal.woff +0 -0
  113. package/dist/files/inter-vietnamese-700-normal.woff2 +0 -0
  114. package/dist/files/playfair-display-cyrillic-400-normal.woff +0 -0
  115. package/dist/files/playfair-display-cyrillic-400-normal.woff2 +0 -0
  116. package/dist/files/playfair-display-cyrillic-500-normal.woff +0 -0
  117. package/dist/files/playfair-display-cyrillic-500-normal.woff2 +0 -0
  118. package/dist/files/playfair-display-cyrillic-600-normal.woff +0 -0
  119. package/dist/files/playfair-display-cyrillic-600-normal.woff2 +0 -0
  120. package/dist/files/playfair-display-cyrillic-700-normal.woff +0 -0
  121. package/dist/files/playfair-display-cyrillic-700-normal.woff2 +0 -0
  122. package/dist/files/playfair-display-latin-400-normal.woff +0 -0
  123. package/dist/files/playfair-display-latin-400-normal.woff2 +0 -0
  124. package/dist/files/playfair-display-latin-500-normal.woff +0 -0
  125. package/dist/files/playfair-display-latin-500-normal.woff2 +0 -0
  126. package/dist/files/playfair-display-latin-600-normal.woff +0 -0
  127. package/dist/files/playfair-display-latin-600-normal.woff2 +0 -0
  128. package/dist/files/playfair-display-latin-700-normal.woff +0 -0
  129. package/dist/files/playfair-display-latin-700-normal.woff2 +0 -0
  130. package/dist/files/playfair-display-latin-ext-400-normal.woff +0 -0
  131. package/dist/files/playfair-display-latin-ext-400-normal.woff2 +0 -0
  132. package/dist/files/playfair-display-latin-ext-500-normal.woff +0 -0
  133. package/dist/files/playfair-display-latin-ext-500-normal.woff2 +0 -0
  134. package/dist/files/playfair-display-latin-ext-600-normal.woff +0 -0
  135. package/dist/files/playfair-display-latin-ext-600-normal.woff2 +0 -0
  136. package/dist/files/playfair-display-latin-ext-700-normal.woff +0 -0
  137. package/dist/files/playfair-display-latin-ext-700-normal.woff2 +0 -0
  138. package/dist/files/playfair-display-vietnamese-400-normal.woff +0 -0
  139. package/dist/files/playfair-display-vietnamese-400-normal.woff2 +0 -0
  140. package/dist/files/playfair-display-vietnamese-500-normal.woff +0 -0
  141. package/dist/files/playfair-display-vietnamese-500-normal.woff2 +0 -0
  142. package/dist/files/playfair-display-vietnamese-600-normal.woff +0 -0
  143. package/dist/files/playfair-display-vietnamese-600-normal.woff2 +0 -0
  144. package/dist/files/playfair-display-vietnamese-700-normal.woff +0 -0
  145. package/dist/files/playfair-display-vietnamese-700-normal.woff2 +0 -0
  146. package/dist/files/press-start-2p-cyrillic-400-normal.woff +0 -0
  147. package/dist/files/press-start-2p-cyrillic-400-normal.woff2 +0 -0
  148. package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff +0 -0
  149. package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff2 +0 -0
  150. package/dist/files/press-start-2p-greek-400-normal.woff +0 -0
  151. package/dist/files/press-start-2p-greek-400-normal.woff2 +0 -0
  152. package/dist/files/press-start-2p-latin-400-normal.woff +0 -0
  153. package/dist/files/press-start-2p-latin-400-normal.woff2 +0 -0
  154. package/dist/files/press-start-2p-latin-ext-400-normal.woff +0 -0
  155. package/dist/files/press-start-2p-latin-ext-400-normal.woff2 +0 -0
  156. package/dist/files/roboto-cyrillic-400-normal.woff +0 -0
  157. package/dist/files/roboto-cyrillic-400-normal.woff2 +0 -0
  158. package/dist/files/roboto-cyrillic-700-normal.woff +0 -0
  159. package/dist/files/roboto-cyrillic-700-normal.woff2 +0 -0
  160. package/dist/files/roboto-cyrillic-ext-400-normal.woff +0 -0
  161. package/dist/files/roboto-cyrillic-ext-400-normal.woff2 +0 -0
  162. package/dist/files/roboto-cyrillic-ext-700-normal.woff +0 -0
  163. package/dist/files/roboto-cyrillic-ext-700-normal.woff2 +0 -0
  164. package/dist/files/roboto-greek-400-normal.woff +0 -0
  165. package/dist/files/roboto-greek-400-normal.woff2 +0 -0
  166. package/dist/files/roboto-greek-700-normal.woff +0 -0
  167. package/dist/files/roboto-greek-700-normal.woff2 +0 -0
  168. package/dist/files/roboto-greek-ext-400-normal.woff +0 -0
  169. package/dist/files/roboto-greek-ext-400-normal.woff2 +0 -0
  170. package/dist/files/roboto-greek-ext-700-normal.woff +0 -0
  171. package/dist/files/roboto-greek-ext-700-normal.woff2 +0 -0
  172. package/dist/files/roboto-latin-400-normal.woff +0 -0
  173. package/dist/files/roboto-latin-400-normal.woff2 +0 -0
  174. package/dist/files/roboto-latin-700-normal.woff +0 -0
  175. package/dist/files/roboto-latin-700-normal.woff2 +0 -0
  176. package/dist/files/roboto-latin-ext-400-normal.woff +0 -0
  177. package/dist/files/roboto-latin-ext-400-normal.woff2 +0 -0
  178. package/dist/files/roboto-latin-ext-700-normal.woff +0 -0
  179. package/dist/files/roboto-latin-ext-700-normal.woff2 +0 -0
  180. package/dist/files/roboto-math-400-normal.woff +0 -0
  181. package/dist/files/roboto-math-400-normal.woff2 +0 -0
  182. package/dist/files/roboto-math-700-normal.woff +0 -0
  183. package/dist/files/roboto-math-700-normal.woff2 +0 -0
  184. package/dist/files/roboto-symbols-400-normal.woff +0 -0
  185. package/dist/files/roboto-symbols-400-normal.woff2 +0 -0
  186. package/dist/files/roboto-symbols-700-normal.woff +0 -0
  187. package/dist/files/roboto-symbols-700-normal.woff2 +0 -0
  188. package/dist/files/roboto-vietnamese-400-normal.woff +0 -0
  189. package/dist/files/roboto-vietnamese-400-normal.woff2 +0 -0
  190. package/dist/files/roboto-vietnamese-700-normal.woff +0 -0
  191. package/dist/files/roboto-vietnamese-700-normal.woff2 +0 -0
  192. package/dist/files/space-grotesk-latin-300-normal.woff +0 -0
  193. package/dist/files/space-grotesk-latin-300-normal.woff2 +0 -0
  194. package/dist/files/space-grotesk-latin-400-normal.woff +0 -0
  195. package/dist/files/space-grotesk-latin-400-normal.woff2 +0 -0
  196. package/dist/files/space-grotesk-latin-500-normal.woff +0 -0
  197. package/dist/files/space-grotesk-latin-500-normal.woff2 +0 -0
  198. package/dist/files/space-grotesk-latin-600-normal.woff +0 -0
  199. package/dist/files/space-grotesk-latin-600-normal.woff2 +0 -0
  200. package/dist/files/space-grotesk-latin-700-normal.woff +0 -0
  201. package/dist/files/space-grotesk-latin-700-normal.woff2 +0 -0
  202. package/dist/files/space-grotesk-latin-ext-300-normal.woff +0 -0
  203. package/dist/files/space-grotesk-latin-ext-300-normal.woff2 +0 -0
  204. package/dist/files/space-grotesk-latin-ext-400-normal.woff +0 -0
  205. package/dist/files/space-grotesk-latin-ext-400-normal.woff2 +0 -0
  206. package/dist/files/space-grotesk-latin-ext-500-normal.woff +0 -0
  207. package/dist/files/space-grotesk-latin-ext-500-normal.woff2 +0 -0
  208. package/dist/files/space-grotesk-latin-ext-600-normal.woff +0 -0
  209. package/dist/files/space-grotesk-latin-ext-600-normal.woff2 +0 -0
  210. package/dist/files/space-grotesk-latin-ext-700-normal.woff +0 -0
  211. package/dist/files/space-grotesk-latin-ext-700-normal.woff2 +0 -0
  212. package/dist/files/space-grotesk-vietnamese-300-normal.woff +0 -0
  213. package/dist/files/space-grotesk-vietnamese-300-normal.woff2 +0 -0
  214. package/dist/files/space-grotesk-vietnamese-400-normal.woff +0 -0
  215. package/dist/files/space-grotesk-vietnamese-400-normal.woff2 +0 -0
  216. package/dist/files/space-grotesk-vietnamese-500-normal.woff +0 -0
  217. package/dist/files/space-grotesk-vietnamese-500-normal.woff2 +0 -0
  218. package/dist/files/space-grotesk-vietnamese-600-normal.woff +0 -0
  219. package/dist/files/space-grotesk-vietnamese-600-normal.woff2 +0 -0
  220. package/dist/files/space-grotesk-vietnamese-700-normal.woff +0 -0
  221. package/dist/files/space-grotesk-vietnamese-700-normal.woff2 +0 -0
  222. package/dist/index.js +4 -4
  223. package/dist/internal/devtools/components/DesignTab.d.ts.map +1 -1
  224. package/dist/internal/devtools/utils/virtualModuleInspector.d.ts.map +1 -1
  225. package/dist/internal/devtools/utils/virtualModuleInspector.js +12 -1
  226. package/dist/internal/initializers/BaseStoresInitializer.d.ts +3 -1
  227. package/dist/internal/initializers/BaseStoresInitializer.d.ts.map +1 -1
  228. package/dist/internal/initializers/BaseStoresInitializer.js +8 -4
  229. package/dist/internal/initializers/NextJsStoresInitializer.d.ts +1 -1
  230. package/dist/internal/initializers/NextJsStoresInitializer.d.ts.map +1 -1
  231. package/dist/internal/initializers/NextJsStoresInitializer.js +2 -13
  232. package/dist/internal/layout/DnDevLayout.d.ts.map +1 -1
  233. package/dist/internal/layout/DnDevLayout.js +32 -13
  234. package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
  235. package/dist/internal/layout/components/AutoMetaTags.js +3 -7
  236. package/dist/internal/layout/config/presets/moolti.d.ts.map +1 -1
  237. package/dist/internal/layout/config/presets/moolti.js +11 -13
  238. package/dist/internal/layout/zones/DnDevFooter.d.ts +1 -1
  239. package/dist/internal/layout/zones/DnDevFooter.d.ts.map +1 -1
  240. package/dist/internal/layout/zones/DnDevFooter.js +1 -1
  241. package/dist/providers/NextJsAppProviders.d.ts.map +1 -1
  242. package/dist/providers/NextJsAppProviders.js +12 -8
  243. package/dist/routing/AuthGuard.d.ts.map +1 -1
  244. package/dist/routing/AuthGuard.js +1 -1
  245. package/dist/routing/AuthReturnTo.d.ts.map +1 -1
  246. package/dist/routing/GoToInput.d.ts.map +1 -1
  247. package/dist/routing/GoToInput.js +5 -5
  248. package/dist/routing/Link.d.ts.map +1 -1
  249. package/dist/routing/Link.js +14 -0
  250. package/dist/routing/hooks/hooks.next.js +1 -1
  251. package/dist/routing/hooks/hooks.vite.js +1 -1
  252. package/dist/routing/hooks/useNavigate.next.d.ts +2 -6
  253. package/dist/routing/hooks/useNavigate.next.d.ts.map +1 -1
  254. package/dist/routing/hooks/useNavigate.next.js +5 -52
  255. package/dist/routing/hooks/useNavigate.vite.d.ts +2 -6
  256. package/dist/routing/hooks/useNavigate.vite.d.ts.map +1 -1
  257. package/dist/routing/hooks/useNavigate.vite.js +5 -52
  258. package/dist/routing/hooks/useRedirectGuard.next.d.ts.map +1 -1
  259. package/dist/routing/hooks/useRedirectGuard.next.js +5 -1
  260. package/dist/routing/hooks/useRedirectGuard.vite.d.ts.map +1 -1
  261. package/dist/routing/hooks/useRedirectGuard.vite.js +5 -1
  262. package/dist/routing/useGoTo.d.ts.map +1 -1
  263. package/dist/routing/useGoTo.js +12 -17
  264. package/dist/styles/index.css +778 -117
  265. package/dist/symbol-index.json +1 -1
  266. package/dist/utils/useAuthSafe.d.ts.map +1 -1
  267. package/dist/utils/useSeo.d.ts +1 -1
  268. package/dist/utils/useSeo.d.ts.map +1 -1
  269. package/dist/utils/useSeo.js +3 -1
  270. package/dist/vite-routing/AppRoutes.d.ts.map +1 -1
  271. package/dist/vite-routing/AppRoutes.js +7 -2
  272. package/dist/vite-routing/RootLayout.d.ts.map +1 -1
  273. package/dist/vite-routing/RootLayout.js +1 -4
  274. package/guidelines/COMPONENTS.md +0 -0
  275. package/guidelines/GOTCHAS.md +0 -0
  276. package/guidelines/LAYOUTS.md +0 -0
  277. package/guidelines/PAGES.md +0 -0
  278. package/guidelines/ROUTING.md +0 -0
  279. package/guidelines/SEO.md +0 -0
  280. package/package.json +13 -13
  281. package/dist/CookieConsent-UVTR7CWW.js +0 -1
  282. package/dist/chunk-ETE4RC7M.js +0 -1
  283. package/dist/components/license/LicenseWatermark.d.ts +0 -25
  284. package/dist/components/license/LicenseWatermark.d.ts.map +0 -1
  285. package/dist/components/license/LicenseWatermark.js +0 -109
  286. package/dist/components/license/watermarkData.d.ts +0 -7
  287. package/dist/components/license/watermarkData.d.ts.map +0 -1
  288. package/dist/components/license/watermarkData.js +0 -18
@@ -25,7 +25,8 @@
25
25
  Standard touch-friendly sizing for all interactive components
26
26
  =========================== */
27
27
  --touch-target: 48px;
28
- --icon-md: 24px; /* Standard icon size */
28
+ --icon-sm: 16px; /* Nested icon size (inside inputs, action buttons, badges) */
29
+ --icon-md: 24px; /* Standard standalone icon size */
29
30
  --icon-touch: 32px; /* Large icon size (reserved) */
30
31
 
31
32
  /* ===========================
@@ -130,6 +131,13 @@
130
131
  --popover: var(--card);
131
132
  --popover-foreground: var(--card-foreground);
132
133
 
134
+ /*
135
+ * Interactive surface — background for inputs (.dndev-input) and outline
136
+ * buttons (.dndev-interactive[data-variant='outline']). Parallel to --card
137
+ * for containers. Defaults to transparent so apps opt in via themes.css.
138
+ */
139
+ --interactive: transparent;
140
+
133
141
  /*
134
142
  * Root card snapshot — computed once on :root from --card/--card-foreground,
135
143
  * then inherited unchanged. Variant blocks (e.g. primary) override --card but
@@ -178,6 +186,7 @@
178
186
  --font-size-xs: 0.75rem; /* 12px - captions, shortcuts, meta */
179
187
  --font-size-sm: 0.875rem; /* 14px - small text, captions */
180
188
  --font-size-base: 1rem; /* 16px - body text, DEFAULT */
189
+ --font-size-input: 16px; /* Form field text - hardcoded for iOS zoom + density-proof */
181
190
  --font-size-lg: 1.25rem; /* 20px - base × 1.25¹ - emphasized text */
182
191
  --font-size-xl: 1.563rem; /* 25px - base × 1.25² - headings */
183
192
  --font-size-2xl: 1.953rem; /* 31px - base × 1.25³ - large headings */
@@ -276,7 +285,7 @@
276
285
  Micro-interactions for buttons and interactive elements.
277
286
  Set to 0/1 to disable individual effects.
278
287
  =========================== */
279
- --hover-lift: -2px; /* translateY on hover (0 = disabled) */
288
+ --hover-lift: 0; /* translateY on hover (0 = disabled) */
280
289
  --click-scale: 0.97; /* scale on click (1 = disabled) */
281
290
  --ripple-opacity: 0.2; /* ripple effect opacity (0 = disabled) */
282
291
 
@@ -711,13 +720,13 @@ em {
711
720
  width: 100%;
712
721
  border-radius: var(--radius-interactive);
713
722
  border: var(--border-hairline) solid var(--line-2);
714
- background-color: transparent;
723
+ background-color: var(--interactive, transparent);
715
724
  color: var(--foreground);
716
725
  padding-inline-start: var(--gap-md);
717
726
  padding-inline-end: var(--gap-md);
718
727
  padding-top: var(--gap-sm);
719
728
  padding-bottom: var(--gap-sm);
720
- font-size: max(16px, var(--font-size-base));
729
+ font-size: var(--font-size-input);
721
730
  box-shadow: var(--shadow-sm);
722
731
  transition: all var(--dur-normal) var(--ease-in-out);
723
732
  /* Touch target for mobile */
@@ -735,9 +744,11 @@ em {
735
744
  }
736
745
  .dndev-input::-moz-placeholder {
737
746
  color: var(--placeholder);
747
+ font-size: var(--font-size-input);
738
748
  }
739
749
  .dndev-input::placeholder {
740
750
  color: var(--placeholder);
751
+ font-size: var(--font-size-input);
741
752
  }
742
753
  .dndev-input:hover {
743
754
  border-color: var(--ring);
@@ -780,6 +791,48 @@ em {
780
791
  [data-placeholder] {
781
792
  color: var(--placeholder);
782
793
  }
794
+ /* ===========================
795
+ INLINE ACTION BUTTONS
796
+ =========================== */
797
+ /** Shared pattern for inline clear/action buttons inside input-like components.
798
+ * Used by: Combobox trailing buttons, RangeInput clear, DateFilter clear. */
799
+ .dndev-inline-action-btn {
800
+ all: unset;
801
+ display: flex;
802
+ align-items: center;
803
+ justify-content: center;
804
+ width: var(--touch-target);
805
+ height: 100%;
806
+ cursor: pointer;
807
+ color: var(--muted-foreground);
808
+ opacity: var(--opacity-muted, 0.5);
809
+ transition:
810
+ color var(--dur-fast) var(--ease-in-out),
811
+ opacity var(--dur-fast) var(--ease-in-out);
812
+ }
813
+ .dndev-inline-action-btn:hover:not(:disabled) {
814
+ opacity: 1;
815
+ color: var(--foreground);
816
+ }
817
+ .dndev-inline-action-btn:focus-visible {
818
+ opacity: 1;
819
+ color: var(--foreground);
820
+ outline: none;
821
+ box-shadow:
822
+ 0 0 0 2px var(--ring),
823
+ 0 0 0 4px rgb(from var(--ring) r g b / 0.2);
824
+ }
825
+ .dndev-inline-action-btn:active:not(:disabled) {
826
+ opacity: 0.8;
827
+ }
828
+ .dndev-inline-action-btn:disabled {
829
+ cursor: not-allowed;
830
+ opacity: calc(var(--opacity-muted, 0.5) * 0.5);
831
+ }
832
+ .dndev-inline-action-btn svg {
833
+ width: var(--icon-sm);
834
+ height: var(--icon-sm);
835
+ }
783
836
  /* Control base class - checkbox, radio, switch, slider */
784
837
  .dndev-control {
785
838
  flex-shrink: 0;
@@ -1249,7 +1302,7 @@ em {
1249
1302
  text-transform: var(--text-transform-button, none);
1250
1303
  transition:
1251
1304
  background var(--dur-fast) var(--ease-in-out),
1252
- transform var(--dur-fast) var(--ease-in-out),
1305
+ color var(--dur-fast) var(--ease-in-out),
1253
1306
  box-shadow var(--dur-fast) var(--ease-in-out),
1254
1307
  border-color var(--dur-fast) var(--ease-in-out);
1255
1308
  cursor: pointer;
@@ -1262,10 +1315,9 @@ em {
1262
1315
  }
1263
1316
  .dndev-interactive:hover {
1264
1317
  background: color-mix(in oklab, var(--primary) 85%, var(--foreground));
1265
- transform: translateY(var(--hover-lift));
1266
1318
  }
1267
1319
  .dndev-interactive:active:not(:disabled) {
1268
- transform: translateY(0) scale(var(--click-scale));
1320
+ transform: scale(var(--click-scale));
1269
1321
  }
1270
1322
  .dndev-interactive:focus-visible {
1271
1323
  outline: none;
@@ -1332,14 +1384,26 @@ em {
1332
1384
  background: color-mix(in oklab, var(--muted) 80%, var(--foreground) 20%);
1333
1385
  }
1334
1386
  /* ═══════════════════════════
1335
- GHOST VARIANTS — hover = subtle tint + text color shift
1387
+ TRANSPARENT VARIANTS
1336
1388
  ═══════════════════════════ */
1337
- /* Shared ghost hover — one rule for all transparent interactive elements */
1338
- .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'] {
1389
+ /* Outline — themeable interactive surface (parallel to --card) */
1390
+ .dndev-interactive[data-variant='outline'] {
1391
+ background: var(--interactive, transparent);
1392
+ color: var(--foreground);
1393
+ }
1394
+ /* Ghost / nav / menu / command — transparent by design */
1395
+ .dndev-interactive[data-variant='ghost'],.dndev-interactive[data-role='nav-trigger'],.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'] {
1339
1396
  background: transparent;
1340
1397
  color: var(--foreground);
1341
1398
  }
1342
- :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 {
1399
+ /* Ghost — hover = font color only, no bg, no lift */
1400
+ .dndev-interactive[data-variant='ghost']:hover {
1401
+ background: transparent;
1402
+ color: var(--primary);
1403
+ transform: none;
1404
+ }
1405
+ /* Outline / menu / nav — hover = subtle tint + text color shift */
1406
+ :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 {
1343
1407
  background: rgb(from var(--primary) r g b / 0.1);
1344
1408
  color: var(--primary);
1345
1409
  }
@@ -1369,7 +1433,9 @@ em {
1369
1433
  transition: color var(--dur-fast) ease-out;
1370
1434
  }
1371
1435
  .dndev-interactive[data-variant='link']:hover {
1436
+ background: transparent;
1372
1437
  color: var(--primary);
1438
+ transform: none;
1373
1439
  }
1374
1440
  /* Context-aware: ONLY inside accent surfaces */
1375
1441
  /* Default buttons flip colors */
@@ -1377,15 +1443,22 @@ em {
1377
1443
  background: var(--surface-text);
1378
1444
  color: var(--surface-bg);
1379
1445
  }
1380
- /* Outline/Ghost adapt */
1381
- [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) {
1446
+ /* Outline adapts with tint */
1447
+ [data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
1382
1448
  color: var(--surface-text);
1383
1449
  }
1384
- :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 {
1450
+ [data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
1385
1451
  background: rgb(from var(--surface-text) r g b / 0.1);
1386
1452
  color: var(--surface-text);
1387
1453
  }
1388
- /* Unified menu/command/nav item base — ghost hover inherited from shared rule above */
1454
+ /* Ghost adapts — font color only */
1455
+ [data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
1456
+ color: var(--surface-text);
1457
+ }
1458
+ [data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
1459
+ color: var(--surface-text);
1460
+ }
1461
+ /* Unified menu/command/nav item base */
1389
1462
  .dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'],.dndev-interactive[data-role='nav-trigger'] {
1390
1463
  min-height: auto;
1391
1464
  padding-block: var(--gap-sm);
@@ -1528,7 +1601,7 @@ em {
1528
1601
  /* CONTROL GROUP - Shared pattern for grouped controls (RadioGroup, Checkbox groups) */
1529
1602
  .dndev-control-group {
1530
1603
  display: grid;
1531
- gap: var(--gap-md); /* 16px - standard spacing between grouped items */
1604
+ gap: var(--gap-sm); /* 8px - tighter spacing for control groups */
1532
1605
 
1533
1606
  /* Control + label pattern - used by RadioGroup, CheckboxFieldComponent, etc. */
1534
1607
  }
@@ -1536,7 +1609,7 @@ em {
1536
1609
  display: flex;
1537
1610
  align-items: center;
1538
1611
  gap: var(--gap-sm); /* 8px - spacing between control and label */
1539
- font-size: var(--font-size-base);
1612
+ font-size: var(--font-size-input);
1540
1613
  color: var(--foreground);
1541
1614
  cursor: pointer;
1542
1615
  transition: color var(--transition-fast);
@@ -2108,17 +2181,45 @@ em {
2108
2181
  word-wrap: break-word;
2109
2182
  }
2110
2183
  /* packages/components/src/atomic/Alert/Alert.css */
2184
+ /**
2185
+ * Modern inline alert - subtle tint treatment.
2186
+ * Overrides .dndev-surface heaviness (shadow, gradient, asymmetric padding).
2187
+ * Pattern: GitHub Primer / Linear - tinted bg, semantic border, no elevation.
2188
+ */
2111
2189
  .dndev-surface[role='alert'] {
2112
- display: flex;
2113
- /* Variants handled by .dndev-surface variants in patterns.css via CSS variables */
2190
+ /* Subtle tint: variant color at 8% over transparent */
2191
+ background: color-mix(in oklab, var(--card) 8%, transparent);
2192
+ /* Foreground: page default for readability on subtle bg */
2193
+ color: var(--foreground);
2194
+ /* Semantic border: variant color at 25% */
2195
+ border: var(--border-hairline) solid
2196
+ color-mix(in oklab, var(--card) 25%, transparent);
2197
+ /* No elevation on inline alerts */
2198
+ box-shadow: none;
2199
+ /* Tight symmetric padding */
2200
+ padding: var(--gap-sm) var(--gap-md);
2114
2201
  }
2202
+ /* Icon: variant-colored, optically aligned to first text line */
2203
+ .dndev-alert-icon {
2204
+ color: var(--card);
2205
+ width: 1rem;
2206
+ height: 1rem;
2207
+ flex-shrink: 0;
2208
+ margin-block-start: 0.125rem;
2209
+ }
2210
+ /* Title: variant-colored, semibold, compact */
2115
2211
  .dndev-alert-title {
2116
- font-weight: var(--font-weight-medium);
2117
- line-height: 1;
2212
+ color: var(--card);
2213
+ font-weight: var(--font-weight-semibold);
2214
+ font-size: var(--font-size-sm);
2215
+ line-height: 1.25;
2118
2216
  letter-spacing: -0.025em;
2119
2217
  }
2218
+ /* Description: default foreground, slightly dimmed */
2120
2219
  .dndev-alert-description {
2121
2220
  font-size: var(--font-size-sm);
2221
+ line-height: 1.4;
2222
+ opacity: 0.85;
2122
2223
  }
2123
2224
  /* packages/components/src/atomic/Avatar/Avatar.css */
2124
2225
  .dndev-avatar {
@@ -2809,6 +2910,216 @@ em {
2809
2910
  .dndev-calendar-day-hidden {
2810
2911
  visibility: hidden;
2811
2912
  }
2913
+ /* packages/components/src/atomic/DatePicker/DatePicker.css */
2914
+ /**
2915
+ * DatePicker Component Styles
2916
+ * Segmented date input with calendar popover.
2917
+ * Mobile: falls back to native <input type="date"> via @media (pointer: coarse).
2918
+ */
2919
+ /* ===========================
2920
+ ROOT CONTAINER
2921
+ =========================== */
2922
+ .dndev-datepicker {
2923
+ position: relative;
2924
+ display: inline-flex;
2925
+ align-items: center;
2926
+ width: 100%;
2927
+ }
2928
+ /* ===========================
2929
+ DESKTOP: SEGMENTED INPUT
2930
+ =========================== */
2931
+ .dndev-datepicker-custom {
2932
+ display: flex;
2933
+ align-items: center;
2934
+ width: 100%;
2935
+ }
2936
+ /* Input-like container (mirrors .dndev-input from patterns.css) */
2937
+ .dndev-datepicker-field {
2938
+ display: flex;
2939
+ align-items: center;
2940
+ width: 100%;
2941
+ min-height: var(--touch-target);
2942
+ border-radius: var(--radius-interactive);
2943
+ border: var(--border-hairline) solid var(--line-2);
2944
+ background-color: transparent;
2945
+ color: var(--foreground);
2946
+ padding-inline-start: var(--gap-md);
2947
+ padding-inline-end: 0;
2948
+ font-size: var(--font-size-input);
2949
+ box-shadow: var(--shadow-sm);
2950
+ transition: all var(--dur-normal) var(--ease-in-out);
2951
+ touch-action: manipulation;
2952
+ cursor: text;
2953
+ }
2954
+ /* Bare mode inside FloatingLabel (fieldset provides border) */
2955
+ .dndev-datepicker-field[data-bare] {
2956
+ border: none;
2957
+ box-shadow: none;
2958
+ background: transparent;
2959
+ }
2960
+ /* Hover */
2961
+ .dndev-datepicker-field:hover {
2962
+ border-color: var(--ring);
2963
+ }
2964
+ /* Focus-within */
2965
+ .dndev-datepicker-field:focus-within {
2966
+ border-color: var(--ring);
2967
+ outline: none;
2968
+ box-shadow: var(--shadow-focus);
2969
+ }
2970
+ /* Focus-within bare (FloatingLabel handles outer border) */
2971
+ .dndev-datepicker-field[data-bare]:focus-within {
2972
+ box-shadow: none;
2973
+ }
2974
+ /* Error state */
2975
+ .dndev-datepicker-field[aria-invalid='true'],
2976
+ .dndev-datepicker-field[data-variant='destructive'] {
2977
+ border-color: var(--destructive);
2978
+ }
2979
+ /* Disabled */
2980
+ .dndev-datepicker-field[data-disabled] {
2981
+ cursor: not-allowed;
2982
+ opacity: var(--opacity-muted);
2983
+ }
2984
+ /* ===========================
2985
+ SEGMENTS AREA
2986
+ =========================== */
2987
+ .dndev-datepicker-segments {
2988
+ display: flex;
2989
+ align-items: center;
2990
+ flex: 1;
2991
+ min-width: 0;
2992
+ }
2993
+ /* ===========================
2994
+ SEGMENTS
2995
+ =========================== */
2996
+ .dndev-datepicker-segment {
2997
+ display: inline-flex;
2998
+ align-items: center;
2999
+ justify-content: center;
3000
+ padding: var(--gap-tight) 1px;
3001
+ border-radius: 2px;
3002
+ font-variant-numeric: tabular-nums;
3003
+ caret-color: transparent;
3004
+ outline: none;
3005
+ min-width: 2ch;
3006
+ text-align: center;
3007
+ -webkit-user-select: none;
3008
+ -moz-user-select: none;
3009
+ user-select: none;
3010
+ }
3011
+ /* Year segment needs more room */
3012
+ .dndev-datepicker-segment[data-type='year'] {
3013
+ min-width: 4ch;
3014
+ }
3015
+ /* Placeholder text */
3016
+ .dndev-datepicker-segment[data-placeholder] {
3017
+ color: var(--placeholder);
3018
+ }
3019
+ /* Focused segment highlight */
3020
+ .dndev-datepicker-segment:focus {
3021
+ background-color: var(--accent);
3022
+ color: var(--accent-foreground);
3023
+ outline: none;
3024
+ }
3025
+ /* Separator between segments */
3026
+ .dndev-datepicker-separator {
3027
+ color: var(--muted-foreground);
3028
+ padding: 0 1px;
3029
+ -webkit-user-select: none;
3030
+ -moz-user-select: none;
3031
+ user-select: none;
3032
+ }
3033
+ /* ===========================
3034
+ CALENDAR TRIGGER BUTTON (inside field)
3035
+ =========================== */
3036
+ /* Extends .dndev-inline-action-btn from patterns.css */
3037
+ .dndev-datepicker-calendar-btn {
3038
+ flex-shrink: 0;
3039
+ margin-inline-start: auto;
3040
+ }
3041
+ /* ===========================
3042
+ POPOVER
3043
+ =========================== */
3044
+ .dndev-datepicker-popover {
3045
+ padding: 0;
3046
+ }
3047
+ /* Fix: .dndev-floating .dndev-interactive overrides width/justify on ALL
3048
+ interactive children. Calendar needs its own sizing - undo the override. */
3049
+ .dndev-datepicker-popover .dndev-interactive {
3050
+ width: auto;
3051
+ justify-content: center;
3052
+ }
3053
+ /* Calendar nav buttons: restore absolute-positioned fixed size */
3054
+ .dndev-datepicker-popover .dndev-calendar-nav-button {
3055
+ width: var(--touch-target);
3056
+ }
3057
+ /* Calendar day buttons: restore fixed cell size */
3058
+ .dndev-datepicker-popover .dndev-calendar-day-button {
3059
+ width: var(--touch-target);
3060
+ }
3061
+ /* Calendar dropdown triggers: restore full-width inside their cell */
3062
+ .dndev-datepicker-popover .dndev-calendar-dropdown-trigger {
3063
+ width: 100%;
3064
+ }
3065
+ /* ===========================
3066
+ MOBILE: NATIVE INPUT FALLBACK
3067
+ =========================== */
3068
+ .dndev-datepicker-native {
3069
+ display: none;
3070
+ }
3071
+ @media (pointer: coarse) {
3072
+ .dndev-datepicker-custom {
3073
+ display: none;
3074
+ }
3075
+
3076
+ .dndev-datepicker-native {
3077
+ display: flex;
3078
+ width: 100%;
3079
+ }
3080
+ }
3081
+ /* ===========================
3082
+ SCREEN READER LIVE REGION
3083
+ =========================== */
3084
+ .dndev-datepicker-live {
3085
+ position: absolute;
3086
+ width: 1px;
3087
+ height: 1px;
3088
+ padding: 0;
3089
+ margin: -1px;
3090
+ overflow: hidden;
3091
+ clip: rect(0, 0, 0, 0);
3092
+ white-space: nowrap;
3093
+ border: 0;
3094
+ }
3095
+ /* ===========================
3096
+ DISABLED STATE (root)
3097
+ =========================== */
3098
+ .dndev-datepicker[data-disabled] {
3099
+ pointer-events: none;
3100
+ }
3101
+ /* packages/components/src/atomic/DateTimePicker/DateTimePicker.css */
3102
+ /**
3103
+ * DateTimePicker Component Styles
3104
+ * Extends DatePicker styles with time-segment-specific layout.
3105
+ * Reuses .dndev-datepicker-* classes from DatePicker.css for shared elements
3106
+ * (field, segment, separator, calendar-btn, popover, native, live).
3107
+ */
3108
+ /* ===========================
3109
+ CUSTOM INPUT CONTAINER
3110
+ =========================== */
3111
+ .dndev-datetimepicker-custom {
3112
+ display: flex;
3113
+ align-items: center;
3114
+ width: 100%;
3115
+ }
3116
+ /* ===========================
3117
+ DATE / TIME SPACER
3118
+ =========================== */
3119
+ .dndev-datetimepicker-spacer {
3120
+ width: var(--gap-md);
3121
+ flex-shrink: 0;
3122
+ }
2812
3123
  /* packages/components/src/atomic/CallToAction/CallToAction.css */
2813
3124
  .dndev-cta {
2814
3125
  color: var(--foreground);
@@ -2930,6 +3241,7 @@ em {
2930
3241
  .dndev-cta-actions {
2931
3242
  display: flex;
2932
3243
  flex-direction: row;
3244
+ flex-wrap: wrap;
2933
3245
  gap: var(--gap-md);
2934
3246
  justify-content: center;
2935
3247
  }
@@ -2979,13 +3291,40 @@ em {
2979
3291
  border-color: var(--card);
2980
3292
  }
2981
3293
  /* packages/components/src/atomic/Card/Card.css */
2982
- /* Card layout - grid with gap */
3294
+ /* Card root — when a cover is present, move padding off the root so the cover
3295
+ sits flush to the rounded corners. Padding is re-applied inside the body
3296
+ slot (which is the only thing that needs it). Non-cover cards keep the
3297
+ legacy layout so existing consumers render identically. */
2983
3298
  .dndev-card {
2984
3299
  display: grid;
2985
3300
  gap: var(--gap-md);
2986
3301
  text-align: start;
2987
3302
  align-content: start;
3303
+ position: relative;
2988
3304
  }
3305
+ .dndev-surface.dndev-card[data-has-cover='true'] {
3306
+ padding: 0;
3307
+ overflow: hidden;
3308
+ position: relative;
3309
+ /* Remove the grid gap — cover and body are stacked vertically via flow and
3310
+ must sit flush (cover edges meet body edge with no gutter). */
3311
+ gap: 0;
3312
+ }
3313
+ /* Body slot — the padded region that holds header/content/footer.
3314
+ Only rendered when at least one body field is set (see renderCard logic). */
3315
+ .dndev-card-body {
3316
+ display: grid;
3317
+ gap: var(--gap-md);
3318
+ position: relative;
3319
+ z-index: 1;
3320
+ }
3321
+ .dndev-card[data-has-cover='true'] > .dndev-card-body {
3322
+ padding: var(--gap-md);
3323
+ }
3324
+ .dndev-card-body[data-body-background='solid'] {
3325
+ background: var(--card);
3326
+ }
3327
+ /* Card body children spacing */
2989
3328
  .dndev-card-header {
2990
3329
  display: flex;
2991
3330
  flex-direction: column;
@@ -3009,15 +3348,82 @@ em {
3009
3348
  word-wrap: break-word;
3010
3349
  color: color-mix(in oklab, var(--card-foreground) 70%, transparent);
3011
3350
  }
3351
+ /* Cover region — sits flush to the card's rounded corners.
3352
+ - When body is present (data-has-body='true'): cover is a sized header
3353
+ region in flow. Height comes from its own aspect-ratio (inline style).
3354
+ - When cover-only (no body): cover fills the card (inset:0 absolute) while
3355
+ the card itself sets the aspect-ratio on its root. */
3356
+ .dndev-card-cover {
3357
+ position: relative;
3358
+ overflow: hidden;
3359
+ z-index: 0;
3360
+ width: 100%;
3361
+ background: var(--muted);
3362
+ }
3363
+ /* Cover-only: fill the card completely. Card root owns the aspect-ratio. */
3364
+ .dndev-card-cover:not([data-has-body='true']) {
3365
+ position: absolute;
3366
+ inset: 0;
3367
+ height: 100%;
3368
+ }
3369
+ /* Direct media (string cover → <img>, or ReactNode passthrough) fills. */
3370
+ .dndev-card-cover > img,
3371
+ .dndev-card-cover > video,
3372
+ .dndev-card-cover > picture,
3373
+ .dndev-card-cover > picture > img,
3374
+ .dndev-card-cover > .dndev-card-cover-media {
3375
+ display: block;
3376
+ width: 100%;
3377
+ height: 100%;
3378
+ -o-object-fit: cover;
3379
+ object-fit: cover;
3380
+ }
3381
+ /* Consumer-supplied ReactNode: wrapper fills, inner media fills. */
3382
+ .dndev-card-cover-media {
3383
+ position: relative;
3384
+ }
3385
+ .dndev-card-cover-media > img,
3386
+ .dndev-card-cover-media > video,
3387
+ .dndev-card-cover-media > picture,
3388
+ .dndev-card-cover-media > picture > img {
3389
+ display: block;
3390
+ width: 100%;
3391
+ height: 100%;
3392
+ -o-object-fit: cover;
3393
+ object-fit: cover;
3394
+ }
3395
+ /* Overlay — sits above both cover and body slot. */
3396
+ .dndev-card-overlay {
3397
+ position: absolute;
3398
+ z-index: 2;
3399
+ pointer-events: none;
3400
+ }
3401
+ .dndev-card[data-overlay-position='top-left'] > .dndev-card-overlay {
3402
+ top: var(--gap-md);
3403
+ inset-inline-start: var(--gap-md);
3404
+ }
3405
+ .dndev-card[data-overlay-position='top-right'] > .dndev-card-overlay {
3406
+ top: var(--gap-md);
3407
+ inset-inline-end: var(--gap-md);
3408
+ }
3409
+ .dndev-card[data-overlay-position='bottom-left'] > .dndev-card-overlay {
3410
+ bottom: var(--gap-md);
3411
+ inset-inline-start: var(--gap-md);
3412
+ }
3413
+ .dndev-card[data-overlay-position='bottom-right'] > .dndev-card-overlay {
3414
+ bottom: var(--gap-md);
3415
+ inset-inline-end: var(--gap-md);
3416
+ }
3012
3417
  /* packages/components/src/atomic/Checkbox/Checkbox.css */
3013
3418
  .dndev-control[data-type='checkbox'] {
3014
3419
  display: inline-flex;
3015
3420
  align-items: center;
3016
3421
  justify-content: center;
3017
- width: var(--icon-md);
3018
- height: var(--icon-md);
3422
+ width: var(--font-size-input);
3423
+ height: var(--font-size-input);
3019
3424
  aspect-ratio: 1;
3020
3425
  border-radius: 4px;
3426
+ background-color: transparent;
3021
3427
  }
3022
3428
  .dndev-control[data-type='checkbox'][data-state='checked'] {
3023
3429
  background-color: var(--primary);
@@ -3067,8 +3473,8 @@ em {
3067
3473
  color: currentColor;
3068
3474
  }
3069
3475
  .dndev-control[data-type='checkbox'] [data-radix-checkbox-indicator] svg {
3070
- width: var(--icon-md);
3071
- height: var(--icon-md);
3476
+ width: var(--font-size-input);
3477
+ height: var(--font-size-input);
3072
3478
  animation: checkbox-check-in var(--dur-fast) var(--ease-in-out);
3073
3479
  }
3074
3480
  /* Smooth check mark animation */
@@ -3272,41 +3678,13 @@ em {
3272
3678
  --combobox-pad-end is set as an inline CSS variable on .dndev-combobox-wrapper. */
3273
3679
  .dndev-combobox-wrapper .dndev-input {
3274
3680
  padding-inline-end: var(--combobox-pad-end);
3275
- }
3276
- /* Action buttons (create "+", clear "X") */
3277
- .dndev-combobox-action-btn {
3278
- all: unset;
3279
- display: flex;
3280
- align-items: center;
3281
- justify-content: center;
3282
- width: var(--icon-md);
3283
- height: var(--icon-md);
3284
- border-radius: var(--radius-interactive, var(--radius-sm, 4px));
3681
+ text-overflow: ellipsis;
3285
3682
  cursor: pointer;
3286
- pointer-events: auto; /* re-enable clicks on buttons */
3287
- color: var(--muted-foreground);
3288
- opacity: var(--opacity-muted, 0.5);
3289
- transition:
3290
- opacity var(--dur-fast) var(--ease-in-out),
3291
- background-color var(--dur-fast) var(--ease-in-out);
3292
- }
3293
- .dndev-combobox-action-btn:hover {
3294
- opacity: 1;
3295
- background-color: var(--accent, rgba(0, 0, 0, 0.06));
3296
- }
3297
- .dndev-combobox-action-btn:focus-visible {
3298
- opacity: 1;
3299
- outline: none;
3300
- box-shadow:
3301
- 0 0 0 2px var(--ring),
3302
- 0 0 0 4px rgb(from var(--ring) r g b / 0.2);
3303
- }
3304
- .dndev-combobox-action-btn:active {
3305
- opacity: 0.8;
3306
3683
  }
3307
- .dndev-combobox-action-btn svg {
3308
- width: var(--size-icon-sm, 16px);
3309
- height: var(--size-icon-sm, 16px);
3684
+ /* Action buttons — extends shared .dndev-inline-action-btn from patterns.css.
3685
+ Only Combobox-specific overrides here. */
3686
+ .dndev-combobox-action-btn {
3687
+ pointer-events: auto; /* re-enable clicks (trailing container is pointer-events: none) */
3310
3688
  }
3311
3689
  /* Create button accent color */
3312
3690
  .dndev-combobox-action-btn--create {
@@ -3316,32 +3694,26 @@ em {
3316
3694
  .dndev-combobox-action-btn--clear {
3317
3695
  color: var(--muted-foreground);
3318
3696
  }
3319
- /* Chevron indicator (non-interactive, just visual) */
3697
+ /* Chevron toggle — extends .dndev-inline-action-btn from patterns.css
3698
+ (same pattern as RangeInput/DatePicker/Combobox clear+create).
3699
+ Only chevron-specific behavior: re-enable clicks in the trailing
3700
+ container and rotate the icon on open. */
3320
3701
  .dndev-combobox-chevron {
3321
- width: var(--icon-md);
3322
- height: var(--icon-md);
3323
- display: flex;
3324
- align-items: center;
3325
- justify-content: center;
3326
- color: var(--muted-foreground);
3327
- opacity: var(--opacity-muted);
3328
- pointer-events: none;
3702
+ pointer-events: auto;
3329
3703
  }
3330
3704
  .dndev-combobox-chevron svg {
3331
- width: var(--icon-md);
3332
- height: var(--icon-md);
3333
3705
  transition: transform var(--dur-fast) var(--ease-in-out);
3334
3706
  }
3335
3707
  .dndev-combobox-open .dndev-combobox-chevron svg {
3336
3708
  transform: rotate(180deg);
3337
3709
  }
3338
- /* Spinner replaces chevron */
3710
+ /* Spinner replaces chevron — match its footprint so there's no layout shift */
3339
3711
  .dndev-combobox-spinner {
3340
3712
  display: flex;
3341
3713
  align-items: center;
3342
3714
  justify-content: center;
3343
- width: var(--icon-md);
3344
- height: var(--icon-md);
3715
+ width: var(--touch-target);
3716
+ height: 100%;
3345
3717
  pointer-events: none;
3346
3718
  }
3347
3719
  /* ──────────────────────────────────────────────────
@@ -3381,9 +3753,6 @@ em {
3381
3753
  Dropdown content
3382
3754
  ────────────────────────────────────────────────── */
3383
3755
  .dndev-combobox-content {
3384
- width: var(--radix-popover-trigger-width);
3385
- min-width: var(--radix-popover-trigger-width);
3386
- max-width: var(--radix-popover-trigger-width);
3387
3756
  display: flex;
3388
3757
  flex-direction: column;
3389
3758
  padding: 0;
@@ -3427,6 +3796,12 @@ em {
3427
3796
  font-size: var(--font-size-xs);
3428
3797
  color: var(--muted-foreground);
3429
3798
  }
3799
+ .dndev-combobox-option-count {
3800
+ font-size: var(--font-size-xs);
3801
+ color: var(--muted-foreground);
3802
+ margin-inline-start: var(--gap-tight);
3803
+ flex-shrink: 0;
3804
+ }
3430
3805
  .dndev-combobox-option-check {
3431
3806
  width: var(--icon-md);
3432
3807
  height: var(--icon-md);
@@ -4239,10 +4614,12 @@ em {
4239
4614
  .dndev-hero-section--bg-contain > .dndev-hero-section__text > * {
4240
4615
  position: relative;
4241
4616
  }
4242
- .dndev-hero-section--bg-contain[data-justify='center'] > .dndev-hero-section__text {
4617
+ .dndev-hero-section--bg-contain[data-justify='center']
4618
+ > .dndev-hero-section__text {
4243
4619
  justify-content: center;
4244
4620
  }
4245
- .dndev-hero-section--bg-contain[data-justify='start'] > .dndev-hero-section__text {
4621
+ .dndev-hero-section--bg-contain[data-justify='start']
4622
+ > .dndev-hero-section__text {
4246
4623
  justify-content: flex-start;
4247
4624
  }
4248
4625
  .dndev-hero-subtitle {
@@ -4363,6 +4740,9 @@ em {
4363
4740
  border-radius: var(--radius-surface);
4364
4741
  background-color: var(--muted);
4365
4742
  }
4743
+ .image-gallery__main--lightbox {
4744
+ cursor: zoom-in;
4745
+ }
4366
4746
  .image-gallery__main-image {
4367
4747
  width: 100%;
4368
4748
  height: 100%;
@@ -4468,6 +4848,40 @@ em {
4468
4848
  height: 20px;
4469
4849
  }
4470
4850
  }
4851
+ /* Lightbox (full-size image dialog) */
4852
+ .image-gallery__lightbox.dndev-modal-content {
4853
+ max-width: min(96vw, 1400px);
4854
+ max-height: 96dvh;
4855
+ padding: var(--gap-sm);
4856
+ }
4857
+ .image-gallery__lightbox .dndev-modal-body {
4858
+ padding: 0;
4859
+ display: flex;
4860
+ align-items: center;
4861
+ justify-content: center;
4862
+ overflow: hidden;
4863
+ min-height: 40dvh;
4864
+ }
4865
+ .image-gallery__lightbox-body {
4866
+ position: relative;
4867
+ display: flex;
4868
+ align-items: center;
4869
+ justify-content: center;
4870
+ width: 100%;
4871
+ outline: none;
4872
+ }
4873
+ .image-gallery__lightbox-img {
4874
+ max-width: 100%;
4875
+ max-height: 85dvh;
4876
+ width: auto;
4877
+ height: auto;
4878
+ -o-object-fit: contain;
4879
+ object-fit: contain;
4880
+ }
4881
+ .image-gallery__lightbox-nav {
4882
+ opacity: 0.92;
4883
+ z-index: 3;
4884
+ }
4471
4885
  /* packages/components/src/atomic/Input/Input.css */
4472
4886
  /* Hide number input spinners - cleaner UI for price/range inputs */
4473
4887
  input[type='number']::-webkit-inner-spin-button,
@@ -4504,12 +4918,12 @@ input[type='number'] {
4504
4918
  inset-inline-end: var(--gap-md);
4505
4919
  }
4506
4920
  /* Error / destructive state — red border for invalid fields */
4507
- [data-variant="destructive"],
4508
- [aria-invalid="true"] {
4921
+ [data-variant='destructive'],
4922
+ [aria-invalid='true'] {
4509
4923
  border-color: var(--destructive);
4510
4924
  }
4511
- [data-variant="destructive"]:focus,
4512
- [aria-invalid="true"]:focus {
4925
+ [data-variant='destructive']:focus,
4926
+ [aria-invalid='true']:focus {
4513
4927
  border-color: var(--destructive);
4514
4928
  outline-color: var(--destructive);
4515
4929
  }
@@ -4990,6 +5404,93 @@ input[type='number'] {
4990
5404
  width: var(--icon-sm);
4991
5405
  height: var(--icon-sm);
4992
5406
  }
5407
+ /* packages/components/src/atomic/PinInput/PinInput.css */
5408
+ .dndev-pin-input {
5409
+ display: flex;
5410
+ gap: var(--gap-sm);
5411
+ align-items: center;
5412
+ justify-content: center;
5413
+ direction: ltr; /* digits are always LTR even in RTL locales */
5414
+ }
5415
+ .dndev-pin-input__box {
5416
+ inline-size: var(--input-height, 2.75rem) !important;
5417
+ block-size: var(--input-height, 2.75rem) !important;
5418
+ padding: 0 !important;
5419
+ text-align: center !important;
5420
+ font-size: var(--font-xl, 1.25rem) !important;
5421
+ font-variant-numeric: tabular-nums;
5422
+ font-feature-settings: 'tnum' 1;
5423
+ caret-color: var(--primary);
5424
+ }
5425
+ /* Mask the typed digit via CSS, not by overwriting React's controlled value.
5426
+ Rewriting value={raw} → value='•' on every keystroke forces React to
5427
+ overwrite the native input value after the browser has already painted
5428
+ the user's keystroke, which is the classic "lags like shit" PinInput bug
5429
+ on mobile Chrome/Safari. `-webkit-text-security: disc` renders a bullet
5430
+ purely in the layout layer while the input's real value stays the digit,
5431
+ so React never has to race the browser's paint pipeline.
5432
+ Firefox does not support -webkit-text-security and will render the digit
5433
+ unmasked; the eye-toggle still works for revealing on WebKit/Blink. */
5434
+ .dndev-pin-input__box--masked {
5435
+ -webkit-text-security: disc;
5436
+ }
5437
+ .dndev-pin-input__reveal {
5438
+ background: none;
5439
+ border: none;
5440
+ cursor: pointer;
5441
+ padding: var(--gap-tight, 0.25rem);
5442
+ margin-inline-start: var(--gap-sm, 0.5rem);
5443
+ display: inline-flex;
5444
+ align-items: center;
5445
+ justify-content: center;
5446
+ color: var(--muted-foreground, currentColor);
5447
+ opacity: var(--opacity-muted, 0.65);
5448
+ transition: opacity var(--dur-fast, 150ms) var(--ease-in-out, ease-in-out);
5449
+ -webkit-user-select: none;
5450
+ -moz-user-select: none;
5451
+ user-select: none;
5452
+ -webkit-tap-highlight-color: transparent;
5453
+ }
5454
+ .dndev-pin-input__reveal:hover,
5455
+ .dndev-pin-input__reveal:focus-visible {
5456
+ opacity: 1;
5457
+ outline: none;
5458
+ }
5459
+ .dndev-pin-input__reveal:focus-visible {
5460
+ outline: 2px solid var(--primary, currentColor);
5461
+ outline-offset: 2px;
5462
+ border-radius: var(--radius-sm, 4px);
5463
+ }
5464
+ /* Shake animation hook — the container flips data-shake='true' on error
5465
+ and the animation plays once via this keyframe. Consumers can override
5466
+ via `.dndev-pin-input[data-shake='true'] { animation: ... }`. */
5467
+ @keyframes dndev-pin-input-shake {
5468
+ 0%,
5469
+ 100% {
5470
+ transform: translateX(0);
5471
+ }
5472
+ 20% {
5473
+ transform: translateX(-0.35rem);
5474
+ }
5475
+ 40% {
5476
+ transform: translateX(0.35rem);
5477
+ }
5478
+ 60% {
5479
+ transform: translateX(-0.25rem);
5480
+ }
5481
+ 80% {
5482
+ transform: translateX(0.15rem);
5483
+ }
5484
+ }
5485
+ .dndev-pin-input[data-shake='true'] {
5486
+ animation: dndev-pin-input-shake var(--dur-normal, 320ms)
5487
+ var(--ease-in-out, ease-in-out) 1;
5488
+ }
5489
+ @media (prefers-reduced-motion: reduce) {
5490
+ .dndev-pin-input[data-shake='true'] {
5491
+ animation: none;
5492
+ }
5493
+ }
4993
5494
  /* packages/components/src/atomic/Pagination/Pagination.css */
4994
5495
  .dndev-pagination {
4995
5496
  display: flex;
@@ -5125,8 +5626,8 @@ input[type='number'] {
5125
5626
  color: var(--destructive);
5126
5627
  }
5127
5628
  .dndev-control[data-type='radio'] {
5128
- width: var(--icon-md);
5129
- height: var(--icon-md);
5629
+ width: var(--font-size-input);
5630
+ height: var(--font-size-input);
5130
5631
  border-radius: var(--radius-full);
5131
5632
  border-width: var(--border-hairline);
5132
5633
  background-color: transparent;
@@ -5194,14 +5695,20 @@ input[type='number'] {
5194
5695
  /* packages/components/src/atomic/RangeInput/RangeInput.css */
5195
5696
  .dndev-range-input {
5196
5697
  display: grid;
5197
- grid-template-columns: 1fr auto 1fr auto;
5698
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
5198
5699
  align-items: center;
5199
- gap: var(--gap-tight);
5700
+ -moz-column-gap: 0;
5701
+ column-gap: 0;
5702
+ padding-inline-start: var(--gap-sm);
5200
5703
  width: 100%;
5201
5704
  }
5202
5705
  .dndev-range-input > .dndev-input,
5203
5706
  .dndev-range-input > .dndev-relative {
5204
5707
  min-width: 0;
5708
+ padding-inline: var(--gap-sm);
5709
+ }
5710
+ .dndev-range-input-separator {
5711
+ padding-inline: var(--gap-tight);
5205
5712
  }
5206
5713
  /* packages/components/src/atomic/Rating/Rating.css */
5207
5714
  /**
@@ -5321,7 +5828,7 @@ input[type='number'] {
5321
5828
  }
5322
5829
  /* Numeric value display */
5323
5830
  .dndev-rating-value {
5324
- font-size: var(--font-size-sm);
5831
+ font-size: var(--font-size-input);
5325
5832
  font-weight: var(--font-weight-medium);
5326
5833
  color: var(--muted-foreground);
5327
5834
  min-width: 2ch;
@@ -5347,7 +5854,7 @@ input[type='number'] {
5347
5854
  height: var(--icon-md);
5348
5855
  }
5349
5856
  .dndev-select-trigger [data-radix-select-value] {
5350
- font-size: var(--font-size-sm);
5857
+ font-size: var(--font-size-input);
5351
5858
  }
5352
5859
  .dndev-select-content {
5353
5860
  width: var(--radix-select-trigger-width);
@@ -5396,6 +5903,14 @@ input[type='number'] {
5396
5903
  width: 100%;
5397
5904
  border-radius: inherit;
5398
5905
  }
5906
+ /* Radix injects `display:table; min-width:100%` as inline style on the viewport's
5907
+ direct child. A display:table element sizes to its content's min-content width,
5908
+ ignoring max-width:100% (Chrome resolves the % against the table's own bloated
5909
+ width, not the viewport). contain:inline-size prevents content-based sizing:
5910
+ the table stays at min-width:100% = viewport width regardless of descendant content. */
5911
+ .dndev-scroll-area-viewport > div {
5912
+ contain: inline-size;
5913
+ }
5399
5914
  .dndev-scroll-bar {
5400
5915
  display: flex;
5401
5916
  touch-action: none;
@@ -6534,7 +7049,7 @@ input[type='number'] {
6534
7049
  flex-shrink: 0;
6535
7050
  }
6536
7051
  .dndev-switch-label {
6537
- font-size: var(--font-size-sm);
7052
+ font-size: var(--font-size-input);
6538
7053
  transition:
6539
7054
  color var(--dur-normal) var(--ease-in-out),
6540
7055
  font-weight var(--dur-normal) var(--ease-in-out);
@@ -7425,7 +7940,8 @@ input[type='number'] {
7425
7940
  [role='treeitem']:focus:not(:focus-visible) > .dndev-tree-node-content {
7426
7941
  outline: none;
7427
7942
  }
7428
- /* Expand/collapse chevron */
7943
+ /* Expand/collapse chevron — wrapper reserves the indent column (--icon-md),
7944
+ svg is the nested icon (--icon-sm). */
7429
7945
  .dndev-tree-node-expand {
7430
7946
  display: flex;
7431
7947
  align-items: center;
@@ -7436,6 +7952,10 @@ input[type='number'] {
7436
7952
  transition: transform var(--dur-normal) var(--ease-in-out);
7437
7953
  color: var(--muted-foreground);
7438
7954
  }
7955
+ .dndev-tree-node-expand svg {
7956
+ width: var(--icon-sm);
7957
+ height: var(--icon-sm);
7958
+ }
7439
7959
  [role='treeitem'][aria-expanded='true']
7440
7960
  > .dndev-tree-node-content
7441
7961
  > .dndev-tree-node-expand {
@@ -8094,11 +8614,10 @@ input[type='number'] {
8094
8614
  transform: translateY(calc(-1 * var(--gap-sm)));
8095
8615
  box-shadow: var(--shadow-xl);
8096
8616
  }
8097
- /* Phase badge - absolute overlay top-end */
8617
+ /* Phase badge - used inside Card overlay container */
8098
8618
  .dndev-roadmap-phase {
8099
- position: absolute;
8100
- top: var(--gap-sm);
8101
- inset-inline-end: var(--gap-sm);
8619
+ display: inline-flex;
8620
+ align-items: center;
8102
8621
  font-size: var(--font-size-xs);
8103
8622
  font-weight: var(--font-weight-bold);
8104
8623
  text-transform: uppercase;
@@ -9786,15 +10305,17 @@ aside[role='navigation'].sidebar {
9786
10305
  max-width: calc(var(--sidebar-resize-handle-width) + 400px);
9787
10306
  /* Max: 400px content + 6px handle = 406px */
9788
10307
  z-index: var(--z-sidebar);
9789
- overflow: none;
9790
- /* No clipping needed - handle is in grid */
10308
+ overflow-x: hidden;
10309
+ /* Horizontal must be clipped — handle is in grid so vertical needs no clipping */
9791
10310
  contain: layout style;
9792
10311
  padding: 0;
9793
10312
  display: grid;
9794
10313
  grid-template-columns: auto var(--sidebar-resize-handle-width);
9795
10314
  /* Content | Handle - column 1 width set inline */
9796
- grid-template-rows: auto 1fr auto;
9797
- /* Top | Content | Bottom */
10315
+ grid-template-rows: auto minmax(0, 1fr) auto;
10316
+ /* Top | Content | Bottom. `minmax(0, 1fr)` overrides the default `auto`
10317
+ min track size so the content row can shrink below its content height,
10318
+ which is what lets `.sidebar-content`'s overflow-y: auto actually fire. */
9798
10319
  height: 100%;
9799
10320
 
9800
10321
  /* Desktop presets with no sidebar: Hide sidebar element for performance/accessibility */
@@ -9876,7 +10397,9 @@ aside[role='navigation'].sidebar[data-dragging='true']
9876
10397
  grid-row: 2;
9877
10398
  overflow-y: auto;
9878
10399
  min-height: 0;
9879
- justify-content: center;
10400
+ /* `safe` falls back to flex-start on overflow. Without it, centered overflow
10401
+ pushes the top half above scrollTop=0 where it's unreachable. */
10402
+ justify-content: safe center;
9880
10403
  /* Zero gap between items - they touch vertically */
9881
10404
  gap: var(--gap-none);
9882
10405
 
@@ -9910,6 +10433,11 @@ aside[role='navigation'].sidebar[data-dragging='true']
9910
10433
  gap: var(--gap-sm);
9911
10434
  padding-block-start: var(--gap-md);
9912
10435
  }
10436
+ /* Reduce Section padding when inside sidebar - sidebar space is precious */
10437
+ .sidebar-content .dndev-section-content {
10438
+ padding-inline: var(--gap-sm);
10439
+ padding-block: var(--gap-sm);
10440
+ }
9913
10441
  /* Interactive elements in all zones: full width */
9914
10442
  .sidebar-top .dndev-interactive,
9915
10443
  .sidebar-content .dndev-interactive,
@@ -9973,6 +10501,10 @@ aside.sidebar[role='navigation'][data-collapsed='true'] .app-branding {
9973
10501
  :is(aside.sidebar[role='navigation'][data-collapsed='true'] .app-branding) .app-branding-title {
9974
10502
  display: none;
9975
10503
  }
10504
+ /* Custom sidebar content: hide labeled text, keep icons */
10505
+ aside.sidebar[role='navigation'][data-collapsed='true'] .sidebar-collapsible {
10506
+ display: none;
10507
+ }
9976
10508
  /* Main content: Starts at header-height and sidebar-width */
9977
10509
  main[role='main'] {
9978
10510
  grid-area: main;
@@ -10097,7 +10629,8 @@ footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive):hover {
10097
10629
  }
10098
10630
 
10099
10631
  /* Bottom mergedBar: hide footer + add safe-area padding */
10100
- .dndev-layout:has(.merged-bar[data-position='bottom']) > footer[role='contentinfo'] {
10632
+ .dndev-layout:has(.merged-bar[data-position='bottom'])
10633
+ > footer[role='contentinfo'] {
10101
10634
  display: none;
10102
10635
  }
10103
10636
  .dndev-layout:has(.merged-bar[data-position='bottom']) {
@@ -10328,7 +10861,7 @@ footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive):hover {
10328
10861
  =========================== */
10329
10862
  .dndev-container {
10330
10863
  width: 100%;
10331
- max-width: var(--content-width);
10864
+ max-width: var(--max-content-width);
10332
10865
  min-width: 0; /* Allow shrinking in flex so max-width wins */
10333
10866
  flex: 1 1 auto;
10334
10867
 
@@ -10367,20 +10900,24 @@ footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive):hover {
10367
10900
  --max-content-width: 100%;
10368
10901
  max-width: none;
10369
10902
  }
10370
- /* Standard width - responsive */
10903
+ /* Standard width - responsive.
10904
+ Base rule `max-width: var(--max-content-width)` picks up the local override.
10905
+ Do NOT add an explicit `max-width: var(--content-width)` here — `--content-width`
10906
+ is resolved eagerly at :root (where --max-content-width is 100%) and inherits as
10907
+ 100%, overriding the local variant. The base rule reads --max-content-width
10908
+ directly at the element and gets the correct value. */
10371
10909
  .dndev-container[data-variant='standard'] {
10372
10910
  --max-content-width: var(--content-width-standard);
10373
- max-width: var(--content-width);
10374
10911
  }
10375
- /* Docs width - responsive */
10912
+ /* Docs width - responsive. See [data-variant='standard'] for why there's no
10913
+ explicit max-width here. */
10376
10914
  .dndev-container[data-variant='docs'] {
10377
10915
  --max-content-width: var(--content-width-docs);
10378
- max-width: var(--content-width);
10379
10916
  }
10380
- /* Narrow width - mobile-first single column (PWA, app-like on every device) */
10917
+ /* Narrow width - mobile-first single column (PWA, app-like on every device).
10918
+ See [data-variant='standard'] for why there's no explicit max-width here. */
10381
10919
  .dndev-container[data-variant='narrow'] {
10382
10920
  --max-content-width: var(--content-width-narrow);
10383
- max-width: var(--content-width);
10384
10921
  }
10385
10922
  /* Fixed frame - fills parent exactly, prevents parent scroll */
10386
10923
  .dndev-container[data-variant='fixed'] {