@donotdev/ui 0.1.0 → 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 (370) 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-CR4VOVXT.js → GoToDialog-CICRYHHG.js} +1 -1
  30. package/dist/chunk-MIPTBUWY.js +1 -0
  31. package/dist/components/auth/AuthHeader.d.ts +6 -1
  32. package/dist/components/auth/AuthHeader.d.ts.map +1 -1
  33. package/dist/components/auth/AuthHeader.js +4 -4
  34. package/dist/components/common/FeatureCard.d.ts +11 -6
  35. package/dist/components/common/FeatureCard.d.ts.map +1 -1
  36. package/dist/components/common/FeatureCard.js +43 -32
  37. package/dist/components/common/FeatureDisabled.d.ts +1 -0
  38. package/dist/components/common/FeatureDisabled.d.ts.map +1 -1
  39. package/dist/components/common/TechBento.d.ts +1 -0
  40. package/dist/components/common/TechBento.d.ts.map +1 -1
  41. package/dist/components/common/icon.d.ts +1 -0
  42. package/dist/components/common/icon.d.ts.map +1 -1
  43. package/dist/components/cookie-consent/CookieConsent.d.ts +4 -3
  44. package/dist/components/cookie-consent/CookieConsent.d.ts.map +1 -1
  45. package/dist/components/cookie-consent/CookieConsent.js +36 -35
  46. package/dist/components/index.d.ts +0 -1
  47. package/dist/components/index.d.ts.map +1 -1
  48. package/dist/components/index.js +0 -1
  49. package/dist/components/layout/PageConfig.d.ts +25 -0
  50. package/dist/components/layout/PageConfig.d.ts.map +1 -0
  51. package/dist/components/layout/PageConfig.js +47 -0
  52. package/dist/components/layout/components/Breadcrumbs.d.ts +2 -0
  53. package/dist/components/layout/components/Breadcrumbs.d.ts.map +1 -1
  54. package/dist/components/layout/components/FloatingLanguageSwitcher.d.ts +1 -0
  55. package/dist/components/layout/components/FloatingLanguageSwitcher.d.ts.map +1 -1
  56. package/dist/components/layout/components/header/AppBranding.d.ts +1 -0
  57. package/dist/components/layout/components/header/AppBranding.d.ts.map +1 -1
  58. package/dist/components/layout/components/header/AppIcon.d.ts +1 -0
  59. package/dist/components/layout/components/header/AppIcon.d.ts.map +1 -1
  60. package/dist/components/layout/components/header/AppTitle.d.ts +1 -0
  61. package/dist/components/layout/components/header/AppTitle.d.ts.map +1 -1
  62. package/dist/components/layout/components/header/CacheSettings.d.ts.map +1 -1
  63. package/dist/components/layout/components/header/CacheSettings.js +6 -2
  64. package/dist/components/layout/components/header/GameTitle.d.ts +1 -0
  65. package/dist/components/layout/components/header/GameTitle.d.ts.map +1 -1
  66. package/dist/components/layout/components/header/HeaderMenu.d.ts +1 -0
  67. package/dist/components/layout/components/header/HeaderMenu.d.ts.map +1 -1
  68. package/dist/components/layout/components/header/HeaderNavigation.d.ts +1 -0
  69. package/dist/components/layout/components/header/HeaderNavigation.d.ts.map +1 -1
  70. package/dist/components/layout/components/header/SettingsMenu.d.ts +1 -0
  71. package/dist/components/layout/components/header/SettingsMenu.d.ts.map +1 -1
  72. package/dist/components/layout/index.d.ts +1 -0
  73. package/dist/components/layout/index.d.ts.map +1 -1
  74. package/dist/components/layout/index.js +1 -0
  75. package/dist/crud/components/EntityCardList.d.ts +1 -1
  76. package/dist/crud/components/EntityCardList.d.ts.map +1 -1
  77. package/dist/crud/components/EntityCardList.js +47 -23
  78. package/dist/crud/components/EntityDisplayRenderer.d.ts +1 -1
  79. package/dist/crud/components/EntityDisplayRenderer.d.ts.map +1 -1
  80. package/dist/crud/components/EntityDisplayRenderer.js +14 -13
  81. package/dist/crud/components/EntityFormRenderer.d.ts +6 -1
  82. package/dist/crud/components/EntityFormRenderer.d.ts.map +1 -1
  83. package/dist/crud/components/EntityFormRenderer.js +46 -38
  84. package/dist/crud/components/EntityList.d.ts +1 -1
  85. package/dist/crud/components/EntityList.d.ts.map +1 -1
  86. package/dist/crud/components/EntityList.js +80 -80
  87. package/dist/crud/components/EntityRecommendations.d.ts +1 -1
  88. package/dist/crud/components/EntityRecommendations.d.ts.map +1 -1
  89. package/dist/crud/components/EntityRecommendations.js +4 -4
  90. package/dist/crud/components/EntityWorkflow.d.ts.map +1 -1
  91. package/dist/crud/components/EntityWorkflow.js +1 -1
  92. package/dist/crud/crudImports.d.ts +1 -1
  93. package/dist/crud/crudImports.d.ts.map +1 -1
  94. package/dist/crud/crudImports.js +1 -1
  95. package/dist/dndev-next.css +831 -171
  96. package/dist/dndev.css +1000 -185
  97. package/dist/files/inter-cyrillic-300-normal.woff +0 -0
  98. package/dist/files/inter-cyrillic-300-normal.woff2 +0 -0
  99. package/dist/files/inter-cyrillic-400-normal.woff +0 -0
  100. package/dist/files/inter-cyrillic-400-normal.woff2 +0 -0
  101. package/dist/files/inter-cyrillic-600-normal.woff +0 -0
  102. package/dist/files/inter-cyrillic-600-normal.woff2 +0 -0
  103. package/dist/files/inter-cyrillic-700-normal.woff +0 -0
  104. package/dist/files/inter-cyrillic-700-normal.woff2 +0 -0
  105. package/dist/files/inter-cyrillic-ext-300-normal.woff +0 -0
  106. package/dist/files/inter-cyrillic-ext-300-normal.woff2 +0 -0
  107. package/dist/files/inter-cyrillic-ext-400-normal.woff +0 -0
  108. package/dist/files/inter-cyrillic-ext-400-normal.woff2 +0 -0
  109. package/dist/files/inter-cyrillic-ext-600-normal.woff +0 -0
  110. package/dist/files/inter-cyrillic-ext-600-normal.woff2 +0 -0
  111. package/dist/files/inter-cyrillic-ext-700-normal.woff +0 -0
  112. package/dist/files/inter-cyrillic-ext-700-normal.woff2 +0 -0
  113. package/dist/files/inter-greek-300-normal.woff +0 -0
  114. package/dist/files/inter-greek-300-normal.woff2 +0 -0
  115. package/dist/files/inter-greek-400-normal.woff +0 -0
  116. package/dist/files/inter-greek-400-normal.woff2 +0 -0
  117. package/dist/files/inter-greek-600-normal.woff +0 -0
  118. package/dist/files/inter-greek-600-normal.woff2 +0 -0
  119. package/dist/files/inter-greek-700-normal.woff +0 -0
  120. package/dist/files/inter-greek-700-normal.woff2 +0 -0
  121. package/dist/files/inter-greek-ext-300-normal.woff +0 -0
  122. package/dist/files/inter-greek-ext-300-normal.woff2 +0 -0
  123. package/dist/files/inter-greek-ext-400-normal.woff +0 -0
  124. package/dist/files/inter-greek-ext-400-normal.woff2 +0 -0
  125. package/dist/files/inter-greek-ext-600-normal.woff +0 -0
  126. package/dist/files/inter-greek-ext-600-normal.woff2 +0 -0
  127. package/dist/files/inter-greek-ext-700-normal.woff +0 -0
  128. package/dist/files/inter-greek-ext-700-normal.woff2 +0 -0
  129. package/dist/files/inter-latin-300-normal.woff +0 -0
  130. package/dist/files/inter-latin-300-normal.woff2 +0 -0
  131. package/dist/files/inter-latin-400-normal.woff +0 -0
  132. package/dist/files/inter-latin-400-normal.woff2 +0 -0
  133. package/dist/files/inter-latin-600-normal.woff +0 -0
  134. package/dist/files/inter-latin-600-normal.woff2 +0 -0
  135. package/dist/files/inter-latin-700-normal.woff +0 -0
  136. package/dist/files/inter-latin-700-normal.woff2 +0 -0
  137. package/dist/files/inter-latin-ext-300-normal.woff +0 -0
  138. package/dist/files/inter-latin-ext-300-normal.woff2 +0 -0
  139. package/dist/files/inter-latin-ext-400-normal.woff +0 -0
  140. package/dist/files/inter-latin-ext-400-normal.woff2 +0 -0
  141. package/dist/files/inter-latin-ext-600-normal.woff +0 -0
  142. package/dist/files/inter-latin-ext-600-normal.woff2 +0 -0
  143. package/dist/files/inter-latin-ext-700-normal.woff +0 -0
  144. package/dist/files/inter-latin-ext-700-normal.woff2 +0 -0
  145. package/dist/files/inter-vietnamese-300-normal.woff +0 -0
  146. package/dist/files/inter-vietnamese-300-normal.woff2 +0 -0
  147. package/dist/files/inter-vietnamese-400-normal.woff +0 -0
  148. package/dist/files/inter-vietnamese-400-normal.woff2 +0 -0
  149. package/dist/files/inter-vietnamese-600-normal.woff +0 -0
  150. package/dist/files/inter-vietnamese-600-normal.woff2 +0 -0
  151. package/dist/files/inter-vietnamese-700-normal.woff +0 -0
  152. package/dist/files/inter-vietnamese-700-normal.woff2 +0 -0
  153. package/dist/files/playfair-display-cyrillic-400-normal.woff +0 -0
  154. package/dist/files/playfair-display-cyrillic-400-normal.woff2 +0 -0
  155. package/dist/files/playfair-display-cyrillic-500-normal.woff +0 -0
  156. package/dist/files/playfair-display-cyrillic-500-normal.woff2 +0 -0
  157. package/dist/files/playfair-display-cyrillic-600-normal.woff +0 -0
  158. package/dist/files/playfair-display-cyrillic-600-normal.woff2 +0 -0
  159. package/dist/files/playfair-display-cyrillic-700-normal.woff +0 -0
  160. package/dist/files/playfair-display-cyrillic-700-normal.woff2 +0 -0
  161. package/dist/files/playfair-display-latin-400-normal.woff +0 -0
  162. package/dist/files/playfair-display-latin-400-normal.woff2 +0 -0
  163. package/dist/files/playfair-display-latin-500-normal.woff +0 -0
  164. package/dist/files/playfair-display-latin-500-normal.woff2 +0 -0
  165. package/dist/files/playfair-display-latin-600-normal.woff +0 -0
  166. package/dist/files/playfair-display-latin-600-normal.woff2 +0 -0
  167. package/dist/files/playfair-display-latin-700-normal.woff +0 -0
  168. package/dist/files/playfair-display-latin-700-normal.woff2 +0 -0
  169. package/dist/files/playfair-display-latin-ext-400-normal.woff +0 -0
  170. package/dist/files/playfair-display-latin-ext-400-normal.woff2 +0 -0
  171. package/dist/files/playfair-display-latin-ext-500-normal.woff +0 -0
  172. package/dist/files/playfair-display-latin-ext-500-normal.woff2 +0 -0
  173. package/dist/files/playfair-display-latin-ext-600-normal.woff +0 -0
  174. package/dist/files/playfair-display-latin-ext-600-normal.woff2 +0 -0
  175. package/dist/files/playfair-display-latin-ext-700-normal.woff +0 -0
  176. package/dist/files/playfair-display-latin-ext-700-normal.woff2 +0 -0
  177. package/dist/files/playfair-display-vietnamese-400-normal.woff +0 -0
  178. package/dist/files/playfair-display-vietnamese-400-normal.woff2 +0 -0
  179. package/dist/files/playfair-display-vietnamese-500-normal.woff +0 -0
  180. package/dist/files/playfair-display-vietnamese-500-normal.woff2 +0 -0
  181. package/dist/files/playfair-display-vietnamese-600-normal.woff +0 -0
  182. package/dist/files/playfair-display-vietnamese-600-normal.woff2 +0 -0
  183. package/dist/files/playfair-display-vietnamese-700-normal.woff +0 -0
  184. package/dist/files/playfair-display-vietnamese-700-normal.woff2 +0 -0
  185. package/dist/files/press-start-2p-cyrillic-400-normal.woff +0 -0
  186. package/dist/files/press-start-2p-cyrillic-400-normal.woff2 +0 -0
  187. package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff +0 -0
  188. package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff2 +0 -0
  189. package/dist/files/press-start-2p-greek-400-normal.woff +0 -0
  190. package/dist/files/press-start-2p-greek-400-normal.woff2 +0 -0
  191. package/dist/files/press-start-2p-latin-400-normal.woff +0 -0
  192. package/dist/files/press-start-2p-latin-400-normal.woff2 +0 -0
  193. package/dist/files/press-start-2p-latin-ext-400-normal.woff +0 -0
  194. package/dist/files/press-start-2p-latin-ext-400-normal.woff2 +0 -0
  195. package/dist/files/roboto-cyrillic-400-normal.woff +0 -0
  196. package/dist/files/roboto-cyrillic-400-normal.woff2 +0 -0
  197. package/dist/files/roboto-cyrillic-700-normal.woff +0 -0
  198. package/dist/files/roboto-cyrillic-700-normal.woff2 +0 -0
  199. package/dist/files/roboto-cyrillic-ext-400-normal.woff +0 -0
  200. package/dist/files/roboto-cyrillic-ext-400-normal.woff2 +0 -0
  201. package/dist/files/roboto-cyrillic-ext-700-normal.woff +0 -0
  202. package/dist/files/roboto-cyrillic-ext-700-normal.woff2 +0 -0
  203. package/dist/files/roboto-greek-400-normal.woff +0 -0
  204. package/dist/files/roboto-greek-400-normal.woff2 +0 -0
  205. package/dist/files/roboto-greek-700-normal.woff +0 -0
  206. package/dist/files/roboto-greek-700-normal.woff2 +0 -0
  207. package/dist/files/roboto-greek-ext-400-normal.woff +0 -0
  208. package/dist/files/roboto-greek-ext-400-normal.woff2 +0 -0
  209. package/dist/files/roboto-greek-ext-700-normal.woff +0 -0
  210. package/dist/files/roboto-greek-ext-700-normal.woff2 +0 -0
  211. package/dist/files/roboto-latin-400-normal.woff +0 -0
  212. package/dist/files/roboto-latin-400-normal.woff2 +0 -0
  213. package/dist/files/roboto-latin-700-normal.woff +0 -0
  214. package/dist/files/roboto-latin-700-normal.woff2 +0 -0
  215. package/dist/files/roboto-latin-ext-400-normal.woff +0 -0
  216. package/dist/files/roboto-latin-ext-400-normal.woff2 +0 -0
  217. package/dist/files/roboto-latin-ext-700-normal.woff +0 -0
  218. package/dist/files/roboto-latin-ext-700-normal.woff2 +0 -0
  219. package/dist/files/roboto-math-400-normal.woff +0 -0
  220. package/dist/files/roboto-math-400-normal.woff2 +0 -0
  221. package/dist/files/roboto-math-700-normal.woff +0 -0
  222. package/dist/files/roboto-math-700-normal.woff2 +0 -0
  223. package/dist/files/roboto-symbols-400-normal.woff +0 -0
  224. package/dist/files/roboto-symbols-400-normal.woff2 +0 -0
  225. package/dist/files/roboto-symbols-700-normal.woff +0 -0
  226. package/dist/files/roboto-symbols-700-normal.woff2 +0 -0
  227. package/dist/files/roboto-vietnamese-400-normal.woff +0 -0
  228. package/dist/files/roboto-vietnamese-400-normal.woff2 +0 -0
  229. package/dist/files/roboto-vietnamese-700-normal.woff +0 -0
  230. package/dist/files/roboto-vietnamese-700-normal.woff2 +0 -0
  231. package/dist/files/space-grotesk-latin-300-normal.woff +0 -0
  232. package/dist/files/space-grotesk-latin-300-normal.woff2 +0 -0
  233. package/dist/files/space-grotesk-latin-400-normal.woff +0 -0
  234. package/dist/files/space-grotesk-latin-400-normal.woff2 +0 -0
  235. package/dist/files/space-grotesk-latin-500-normal.woff +0 -0
  236. package/dist/files/space-grotesk-latin-500-normal.woff2 +0 -0
  237. package/dist/files/space-grotesk-latin-600-normal.woff +0 -0
  238. package/dist/files/space-grotesk-latin-600-normal.woff2 +0 -0
  239. package/dist/files/space-grotesk-latin-700-normal.woff +0 -0
  240. package/dist/files/space-grotesk-latin-700-normal.woff2 +0 -0
  241. package/dist/files/space-grotesk-latin-ext-300-normal.woff +0 -0
  242. package/dist/files/space-grotesk-latin-ext-300-normal.woff2 +0 -0
  243. package/dist/files/space-grotesk-latin-ext-400-normal.woff +0 -0
  244. package/dist/files/space-grotesk-latin-ext-400-normal.woff2 +0 -0
  245. package/dist/files/space-grotesk-latin-ext-500-normal.woff +0 -0
  246. package/dist/files/space-grotesk-latin-ext-500-normal.woff2 +0 -0
  247. package/dist/files/space-grotesk-latin-ext-600-normal.woff +0 -0
  248. package/dist/files/space-grotesk-latin-ext-600-normal.woff2 +0 -0
  249. package/dist/files/space-grotesk-latin-ext-700-normal.woff +0 -0
  250. package/dist/files/space-grotesk-latin-ext-700-normal.woff2 +0 -0
  251. package/dist/files/space-grotesk-vietnamese-300-normal.woff +0 -0
  252. package/dist/files/space-grotesk-vietnamese-300-normal.woff2 +0 -0
  253. package/dist/files/space-grotesk-vietnamese-400-normal.woff +0 -0
  254. package/dist/files/space-grotesk-vietnamese-400-normal.woff2 +0 -0
  255. package/dist/files/space-grotesk-vietnamese-500-normal.woff +0 -0
  256. package/dist/files/space-grotesk-vietnamese-500-normal.woff2 +0 -0
  257. package/dist/files/space-grotesk-vietnamese-600-normal.woff +0 -0
  258. package/dist/files/space-grotesk-vietnamese-600-normal.woff2 +0 -0
  259. package/dist/files/space-grotesk-vietnamese-700-normal.woff +0 -0
  260. package/dist/files/space-grotesk-vietnamese-700-normal.woff2 +0 -0
  261. package/dist/index.js +4 -4
  262. package/dist/internal/common/ErrorFallback.js +1 -1
  263. package/dist/internal/devtools/DebugTools.js +1 -1
  264. package/dist/internal/devtools/components/DesignTab.d.ts.map +1 -1
  265. package/dist/internal/devtools/components/DesignTab.js +6 -2
  266. package/dist/internal/devtools/utils/envVarDiscovery.d.ts.map +1 -1
  267. package/dist/internal/devtools/utils/envVarDiscovery.js +4 -5
  268. package/dist/internal/devtools/utils/virtualModuleInspector.d.ts.map +1 -1
  269. package/dist/internal/devtools/utils/virtualModuleInspector.js +13 -0
  270. package/dist/internal/initializers/BaseStoresInitializer.d.ts +3 -1
  271. package/dist/internal/initializers/BaseStoresInitializer.d.ts.map +1 -1
  272. package/dist/internal/initializers/BaseStoresInitializer.js +17 -4
  273. package/dist/internal/initializers/NextJsStoresInitializer.d.ts +1 -1
  274. package/dist/internal/initializers/NextJsStoresInitializer.d.ts.map +1 -1
  275. package/dist/internal/initializers/NextJsStoresInitializer.js +2 -13
  276. package/dist/internal/layout/DnDevLayout.d.ts.map +1 -1
  277. package/dist/internal/layout/DnDevLayout.js +65 -23
  278. package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
  279. package/dist/internal/layout/components/AutoMetaTags.js +57 -29
  280. package/dist/internal/layout/components/NextJsAutoMetaTags.d.ts +2 -0
  281. package/dist/internal/layout/components/NextJsAutoMetaTags.d.ts.map +1 -1
  282. package/dist/internal/layout/components/NextJsAutoMetaTags.js +45 -15
  283. package/dist/internal/layout/components/PWAUpdateNotification.d.ts.map +1 -1
  284. package/dist/internal/layout/components/PWAUpdateNotification.js +15 -2
  285. package/dist/internal/layout/config/presets/moolti.d.ts.map +1 -1
  286. package/dist/internal/layout/config/presets/moolti.js +11 -13
  287. package/dist/internal/layout/zones/DnDevFooter.d.ts +3 -1
  288. package/dist/internal/layout/zones/DnDevFooter.d.ts.map +1 -1
  289. package/dist/internal/layout/zones/DnDevFooter.js +5 -1
  290. package/dist/internal/layout/zones/DnDevHeader.d.ts +3 -1
  291. package/dist/internal/layout/zones/DnDevHeader.d.ts.map +1 -1
  292. package/dist/internal/layout/zones/DnDevHeader.js +7 -2
  293. package/dist/internal/layout/zones/DnDevSidebar.d.ts +3 -1
  294. package/dist/internal/layout/zones/DnDevSidebar.d.ts.map +1 -1
  295. package/dist/internal/layout/zones/DnDevSidebar.js +9 -3
  296. package/dist/providers/NextJsAppProviders.d.ts.map +1 -1
  297. package/dist/providers/NextJsAppProviders.js +14 -8
  298. package/dist/routing/AuthGuard.d.ts +7 -22
  299. package/dist/routing/AuthGuard.d.ts.map +1 -1
  300. package/dist/routing/AuthGuard.js +19 -64
  301. package/dist/routing/AuthReturnTo.d.ts +13 -0
  302. package/dist/routing/AuthReturnTo.d.ts.map +1 -0
  303. package/dist/routing/AuthReturnTo.js +61 -0
  304. package/dist/routing/DnDevNavigationMenu.d.ts +1 -0
  305. package/dist/routing/DnDevNavigationMenu.d.ts.map +1 -1
  306. package/dist/routing/GoTo.d.ts +1 -0
  307. package/dist/routing/GoTo.d.ts.map +1 -1
  308. package/dist/routing/GoToInput.d.ts.map +1 -1
  309. package/dist/routing/GoToInput.js +5 -5
  310. package/dist/routing/Link.d.ts.map +1 -1
  311. package/dist/routing/Link.js +14 -0
  312. package/dist/routing/hooks/hooks.next.js +1 -1
  313. package/dist/routing/hooks/hooks.vite.js +1 -1
  314. package/dist/routing/hooks/useNavigate.next.d.ts +4 -0
  315. package/dist/routing/hooks/useNavigate.next.d.ts.map +1 -1
  316. package/dist/routing/hooks/useNavigate.next.js +10 -7
  317. package/dist/routing/hooks/useNavigate.vite.d.ts +4 -0
  318. package/dist/routing/hooks/useNavigate.vite.d.ts.map +1 -1
  319. package/dist/routing/hooks/useNavigate.vite.js +16 -13
  320. package/dist/routing/hooks/useRedirectGuard.next.d.ts +2 -0
  321. package/dist/routing/hooks/useRedirectGuard.next.d.ts.map +1 -1
  322. package/dist/routing/hooks/useRedirectGuard.next.js +15 -27
  323. package/dist/routing/hooks/useRedirectGuard.vite.d.ts +2 -0
  324. package/dist/routing/hooks/useRedirectGuard.vite.d.ts.map +1 -1
  325. package/dist/routing/hooks/useRedirectGuard.vite.js +15 -27
  326. package/dist/routing/index.d.ts +1 -0
  327. package/dist/routing/index.d.ts.map +1 -1
  328. package/dist/routing/index.js +1 -0
  329. package/dist/routing/useGoTo.d.ts.map +1 -1
  330. package/dist/routing/useGoTo.js +12 -17
  331. package/dist/styles/index.css +1000 -185
  332. package/dist/symbol-index.json +1 -0
  333. package/dist/utils/index.d.ts +1 -0
  334. package/dist/utils/index.d.ts.map +1 -1
  335. package/dist/utils/index.js +1 -0
  336. package/dist/utils/sanitizeSvg.d.ts +4 -0
  337. package/dist/utils/sanitizeSvg.d.ts.map +1 -1
  338. package/dist/utils/sanitizeSvg.js +4 -0
  339. package/dist/utils/useAISafe.d.ts +28 -0
  340. package/dist/utils/useAISafe.d.ts.map +1 -0
  341. package/dist/utils/useAISafe.js +53 -0
  342. package/dist/utils/useAuthSafe.d.ts +39 -0
  343. package/dist/utils/useAuthSafe.d.ts.map +1 -1
  344. package/dist/utils/useAuthSafe.js +5 -0
  345. package/dist/utils/useAuthVisibility.d.ts +1 -0
  346. package/dist/utils/useAuthVisibility.d.ts.map +1 -1
  347. package/dist/utils/useBillingVisibility.d.ts +1 -0
  348. package/dist/utils/useBillingVisibility.d.ts.map +1 -1
  349. package/dist/utils/useSeo.d.ts +121 -0
  350. package/dist/utils/useSeo.d.ts.map +1 -0
  351. package/dist/utils/useSeo.js +116 -0
  352. package/dist/vite-routing/AppRoutes.d.ts.map +1 -1
  353. package/dist/vite-routing/AppRoutes.js +20 -5
  354. package/dist/vite-routing/RootLayout.d.ts.map +1 -1
  355. package/dist/vite-routing/RootLayout.js +6 -7
  356. package/guidelines/COMPONENTS.md +136 -0
  357. package/guidelines/GOTCHAS.md +66 -0
  358. package/guidelines/LAYOUTS.md +310 -0
  359. package/guidelines/PAGES.md +205 -0
  360. package/guidelines/ROUTING.md +499 -0
  361. package/guidelines/SEO.md +275 -0
  362. package/package.json +17 -12
  363. package/dist/CookieConsent-UVTR7CWW.js +0 -1
  364. package/dist/chunk-XHGRMKOY.js +0 -1
  365. package/dist/components/license/LicenseWatermark.d.ts +0 -25
  366. package/dist/components/license/LicenseWatermark.d.ts.map +0 -1
  367. package/dist/components/license/LicenseWatermark.js +0 -109
  368. package/dist/components/license/watermarkData.d.ts +0 -7
  369. package/dist/components/license/watermarkData.d.ts.map +0 -1
  370. package/dist/components/license/watermarkData.js +0 -18
package/dist/dndev.css CHANGED
@@ -32,7 +32,8 @@
32
32
  Standard touch-friendly sizing for all interactive components
33
33
  =========================== */
34
34
  --touch-target: 48px;
35
- --icon-md: 24px; /* Standard icon size */
35
+ --icon-sm: 16px; /* Nested icon size (inside inputs, action buttons, badges) */
36
+ --icon-md: 24px; /* Standard standalone icon size */
36
37
  --icon-touch: 32px; /* Large icon size (reserved) */
37
38
 
38
39
  /* ===========================
@@ -137,6 +138,13 @@
137
138
  --popover: var(--card);
138
139
  --popover-foreground: var(--card-foreground);
139
140
 
141
+ /*
142
+ * Interactive surface — background for inputs (.dndev-input) and outline
143
+ * buttons (.dndev-interactive[data-variant='outline']). Parallel to --card
144
+ * for containers. Defaults to transparent so apps opt in via themes.css.
145
+ */
146
+ --interactive: transparent;
147
+
140
148
  /*
141
149
  * Root card snapshot — computed once on :root from --card/--card-foreground,
142
150
  * then inherited unchanged. Variant blocks (e.g. primary) override --card but
@@ -185,6 +193,7 @@
185
193
  --font-size-xs: 0.75rem; /* 12px - captions, shortcuts, meta */
186
194
  --font-size-sm: 0.875rem; /* 14px - small text, captions */
187
195
  --font-size-base: 1rem; /* 16px - body text, DEFAULT */
196
+ --font-size-input: 16px; /* Form field text - hardcoded for iOS zoom + density-proof */
188
197
  --font-size-lg: 1.25rem; /* 20px - base × 1.25¹ - emphasized text */
189
198
  --font-size-xl: 1.563rem; /* 25px - base × 1.25² - headings */
190
199
  --font-size-2xl: 1.953rem; /* 31px - base × 1.25³ - large headings */
@@ -278,6 +287,15 @@
278
287
  --will-change-transform: transform;
279
288
  --will-change-none: auto;
280
289
 
290
+ /* ===========================
291
+ INTERACTION EFFECTS
292
+ Micro-interactions for buttons and interactive elements.
293
+ Set to 0/1 to disable individual effects.
294
+ =========================== */
295
+ --hover-lift: 0; /* translateY on hover (0 = disabled) */
296
+ --click-scale: 0.97; /* scale on click (1 = disabled) */
297
+ --ripple-opacity: 0.2; /* ripple effect opacity (0 = disabled) */
298
+
281
299
  /* ===========================
282
300
  OPACITY SYSTEM
283
301
  Standard scale: 0, 0.3, 0.6, 0.9, 1
@@ -586,6 +604,7 @@ body {
586
604
 
587
605
  body {
588
606
  font-family: var(--font-family, var(--font-sans));
607
+ min-height: 100vh;
589
608
  min-height: 100dvh;
590
609
  line-height: var(--line-height);
591
610
  text-rendering: optimizeSpeed;
@@ -785,13 +804,13 @@ em {
785
804
  width: 100%;
786
805
  border-radius: var(--radius-interactive);
787
806
  border: var(--border-hairline) solid var(--line-2);
788
- background-color: transparent;
807
+ background-color: var(--interactive, transparent);
789
808
  color: var(--foreground);
790
809
  padding-inline-start: var(--gap-md);
791
810
  padding-inline-end: var(--gap-md);
792
811
  padding-top: var(--gap-sm);
793
812
  padding-bottom: var(--gap-sm);
794
- font-size: max(16px, var(--font-size-base));
813
+ font-size: var(--font-size-input);
795
814
  box-shadow: var(--shadow-sm);
796
815
  transition: all var(--dur-normal) var(--ease-in-out);
797
816
  /* Touch target for mobile */
@@ -811,10 +830,12 @@ em {
811
830
 
812
831
  .dndev-input::-moz-placeholder {
813
832
  color: var(--placeholder);
833
+ font-size: var(--font-size-input);
814
834
  }
815
835
 
816
836
  .dndev-input::placeholder {
817
837
  color: var(--placeholder);
838
+ font-size: var(--font-size-input);
818
839
  }
819
840
 
820
841
  .dndev-input:hover {
@@ -870,6 +891,56 @@ em {
870
891
  color: var(--placeholder);
871
892
  }
872
893
 
894
+ /* ===========================
895
+ INLINE ACTION BUTTONS
896
+ =========================== */
897
+
898
+ /** Shared pattern for inline clear/action buttons inside input-like components.
899
+ * Used by: Combobox trailing buttons, RangeInput clear, DateFilter clear. */
900
+
901
+ .dndev-inline-action-btn {
902
+ all: unset;
903
+ display: flex;
904
+ align-items: center;
905
+ justify-content: center;
906
+ width: var(--touch-target);
907
+ height: 100%;
908
+ cursor: pointer;
909
+ color: var(--muted-foreground);
910
+ opacity: var(--opacity-muted, 0.5);
911
+ transition:
912
+ color var(--dur-fast) var(--ease-in-out),
913
+ opacity var(--dur-fast) var(--ease-in-out);
914
+ }
915
+
916
+ .dndev-inline-action-btn:hover:not(:disabled) {
917
+ opacity: 1;
918
+ color: var(--foreground);
919
+ }
920
+
921
+ .dndev-inline-action-btn:focus-visible {
922
+ opacity: 1;
923
+ color: var(--foreground);
924
+ outline: none;
925
+ box-shadow:
926
+ 0 0 0 2px var(--ring),
927
+ 0 0 0 4px rgb(from var(--ring) r g b / 0.2);
928
+ }
929
+
930
+ .dndev-inline-action-btn:active:not(:disabled) {
931
+ opacity: 0.8;
932
+ }
933
+
934
+ .dndev-inline-action-btn:disabled {
935
+ cursor: not-allowed;
936
+ opacity: calc(var(--opacity-muted, 0.5) * 0.5);
937
+ }
938
+
939
+ .dndev-inline-action-btn svg {
940
+ width: var(--icon-sm);
941
+ height: var(--icon-sm);
942
+ }
943
+
873
944
  /* Control base class - checkbox, radio, switch, slider */
874
945
 
875
946
  .dndev-control {
@@ -1412,6 +1483,8 @@ em {
1412
1483
  */
1413
1484
 
1414
1485
  .dndev-interactive {
1486
+ position: relative;
1487
+ overflow: hidden;
1415
1488
  display: flex;
1416
1489
  align-items: center;
1417
1490
  justify-content: center;
@@ -1422,7 +1495,11 @@ em {
1422
1495
  font-size: var(--font-size-base);
1423
1496
  font-weight: var(--font-weight-medium);
1424
1497
  text-transform: var(--text-transform-button, none);
1425
- transition: var(--transition-fast);
1498
+ transition:
1499
+ background var(--dur-fast) var(--ease-in-out),
1500
+ color var(--dur-fast) var(--ease-in-out),
1501
+ box-shadow var(--dur-fast) var(--ease-in-out),
1502
+ border-color var(--dur-fast) var(--ease-in-out);
1426
1503
  cursor: pointer;
1427
1504
  border: var(--border-hairline) solid transparent;
1428
1505
  /* Base - filled primary (industry standard) */
@@ -1437,7 +1514,7 @@ em {
1437
1514
  }
1438
1515
 
1439
1516
  .dndev-interactive:active:not(:disabled) {
1440
- scale: 0.97;
1517
+ transform: scale(var(--click-scale));
1441
1518
  }
1442
1519
 
1443
1520
  .dndev-interactive:focus-visible {
@@ -1450,6 +1527,16 @@ em {
1450
1527
  opacity: var(--opacity-muted);
1451
1528
  }
1452
1529
 
1530
+ /* Ripple effect element (injected by JS) */
1531
+
1532
+ .dndev-interactive .dndev-ripple {
1533
+ position: absolute;
1534
+ border-radius: 50%;
1535
+ background: currentColor;
1536
+ pointer-events: none;
1537
+ animation: dndev-ripple var(--dur-slow) var(--ease-in-out) forwards;
1538
+ }
1539
+
1453
1540
  .dndev-interactive[data-display='compact'] {
1454
1541
  width: var(--touch-target);
1455
1542
  height: var(--touch-target);
@@ -1512,17 +1599,34 @@ em {
1512
1599
  }
1513
1600
 
1514
1601
  /* ═══════════════════════════
1515
- GHOST VARIANTS — hover = subtle tint + text color shift
1602
+ TRANSPARENT VARIANTS
1516
1603
  ═══════════════════════════ */
1517
1604
 
1518
- /* Shared ghost hover — one rule for all transparent interactive elements */
1605
+ /* Outline — themeable interactive surface (parallel to --card) */
1606
+
1607
+ .dndev-interactive[data-variant='outline'] {
1608
+ background: var(--interactive, transparent);
1609
+ color: var(--foreground);
1610
+ }
1611
+
1612
+ /* Ghost / nav / menu / command — transparent by design */
1519
1613
 
1520
- .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'] {
1614
+ .dndev-interactive[data-variant='ghost'],.dndev-interactive[data-role='nav-trigger'],.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'] {
1521
1615
  background: transparent;
1522
1616
  color: var(--foreground);
1523
1617
  }
1524
1618
 
1525
- :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 {
1619
+ /* Ghost — hover = font color only, no bg, no lift */
1620
+
1621
+ .dndev-interactive[data-variant='ghost']:hover {
1622
+ background: transparent;
1623
+ color: var(--primary);
1624
+ transform: none;
1625
+ }
1626
+
1627
+ /* Outline / menu / nav — hover = subtle tint + text color shift */
1628
+
1629
+ :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 {
1526
1630
  background: rgb(from var(--primary) r g b / 0.1);
1527
1631
  color: var(--primary);
1528
1632
  }
@@ -1560,7 +1664,9 @@ em {
1560
1664
  }
1561
1665
 
1562
1666
  .dndev-interactive[data-variant='link']:hover {
1667
+ background: transparent;
1563
1668
  color: var(--primary);
1669
+ transform: none;
1564
1670
  }
1565
1671
 
1566
1672
  /* Context-aware: ONLY inside accent surfaces */
@@ -1572,18 +1678,28 @@ em {
1572
1678
  color: var(--surface-bg);
1573
1679
  }
1574
1680
 
1575
- /* Outline/Ghost adapt */
1681
+ /* Outline adapts with tint */
1576
1682
 
1577
- [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) {
1683
+ [data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
1578
1684
  color: var(--surface-text);
1579
1685
  }
1580
1686
 
1581
- :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 {
1687
+ [data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
1582
1688
  background: rgb(from var(--surface-text) r g b / 0.1);
1583
1689
  color: var(--surface-text);
1584
1690
  }
1585
1691
 
1586
- /* Unified menu/command/nav item base — ghost hover inherited from shared rule above */
1692
+ /* Ghost adapts — font color only */
1693
+
1694
+ [data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
1695
+ color: var(--surface-text);
1696
+ }
1697
+
1698
+ [data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
1699
+ color: var(--surface-text);
1700
+ }
1701
+
1702
+ /* Unified menu/command/nav item base */
1587
1703
 
1588
1704
  .dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'],.dndev-interactive[data-role='nav-trigger'] {
1589
1705
  min-height: auto;
@@ -1762,7 +1878,7 @@ em {
1762
1878
 
1763
1879
  .dndev-control-group {
1764
1880
  display: grid;
1765
- gap: var(--gap-md); /* 16px - standard spacing between grouped items */
1881
+ gap: var(--gap-sm); /* 8px - tighter spacing for control groups */
1766
1882
 
1767
1883
  /* Control + label pattern - used by RadioGroup, CheckboxFieldComponent, etc. */
1768
1884
  }
@@ -1771,7 +1887,7 @@ em {
1771
1887
  display: flex;
1772
1888
  align-items: center;
1773
1889
  gap: var(--gap-sm); /* 8px - spacing between control and label */
1774
- font-size: var(--font-size-base);
1890
+ font-size: var(--font-size-input);
1775
1891
  color: var(--foreground);
1776
1892
  cursor: pointer;
1777
1893
  transition: color var(--transition-fast);
@@ -2469,19 +2585,52 @@ em {
2469
2585
 
2470
2586
  /* packages/components/src/atomic/Alert/Alert.css */
2471
2587
 
2588
+ /**
2589
+ * Modern inline alert - subtle tint treatment.
2590
+ * Overrides .dndev-surface heaviness (shadow, gradient, asymmetric padding).
2591
+ * Pattern: GitHub Primer / Linear - tinted bg, semantic border, no elevation.
2592
+ */
2593
+
2472
2594
  .dndev-surface[role='alert'] {
2473
- display: flex;
2474
- /* Variants handled by .dndev-surface variants in patterns.css via CSS variables */
2595
+ /* Subtle tint: variant color at 8% over transparent */
2596
+ background: color-mix(in oklab, var(--card) 8%, transparent);
2597
+ /* Foreground: page default for readability on subtle bg */
2598
+ color: var(--foreground);
2599
+ /* Semantic border: variant color at 25% */
2600
+ border: var(--border-hairline) solid
2601
+ color-mix(in oklab, var(--card) 25%, transparent);
2602
+ /* No elevation on inline alerts */
2603
+ box-shadow: none;
2604
+ /* Tight symmetric padding */
2605
+ padding: var(--gap-sm) var(--gap-md);
2475
2606
  }
2476
2607
 
2608
+ /* Icon: variant-colored, optically aligned to first text line */
2609
+
2610
+ .dndev-alert-icon {
2611
+ color: var(--card);
2612
+ width: 1rem;
2613
+ height: 1rem;
2614
+ flex-shrink: 0;
2615
+ margin-block-start: 0.125rem;
2616
+ }
2617
+
2618
+ /* Title: variant-colored, semibold, compact */
2619
+
2477
2620
  .dndev-alert-title {
2478
- font-weight: var(--font-weight-medium);
2479
- line-height: 1;
2621
+ color: var(--card);
2622
+ font-weight: var(--font-weight-semibold);
2623
+ font-size: var(--font-size-sm);
2624
+ line-height: 1.25;
2480
2625
  letter-spacing: -0.025em;
2481
2626
  }
2482
2627
 
2628
+ /* Description: default foreground, slightly dimmed */
2629
+
2483
2630
  .dndev-alert-description {
2484
2631
  font-size: var(--font-size-sm);
2632
+ line-height: 1.4;
2633
+ opacity: 0.85;
2485
2634
  }
2486
2635
 
2487
2636
  /* packages/components/src/atomic/Avatar/Avatar.css */
@@ -3337,6 +3486,274 @@ em {
3337
3486
  visibility: hidden;
3338
3487
  }
3339
3488
 
3489
+ /* packages/components/src/atomic/DatePicker/DatePicker.css */
3490
+
3491
+ /**
3492
+ * DatePicker Component Styles
3493
+ * Segmented date input with calendar popover.
3494
+ * Mobile: falls back to native <input type="date"> via @media (pointer: coarse).
3495
+ */
3496
+
3497
+ /* ===========================
3498
+ ROOT CONTAINER
3499
+ =========================== */
3500
+
3501
+ .dndev-datepicker {
3502
+ position: relative;
3503
+ display: inline-flex;
3504
+ align-items: center;
3505
+ width: 100%;
3506
+ }
3507
+
3508
+ /* ===========================
3509
+ DESKTOP: SEGMENTED INPUT
3510
+ =========================== */
3511
+
3512
+ .dndev-datepicker-custom {
3513
+ display: flex;
3514
+ align-items: center;
3515
+ width: 100%;
3516
+ }
3517
+
3518
+ /* Input-like container (mirrors .dndev-input from patterns.css) */
3519
+
3520
+ .dndev-datepicker-field {
3521
+ display: flex;
3522
+ align-items: center;
3523
+ width: 100%;
3524
+ min-height: var(--touch-target);
3525
+ border-radius: var(--radius-interactive);
3526
+ border: var(--border-hairline) solid var(--line-2);
3527
+ background-color: transparent;
3528
+ color: var(--foreground);
3529
+ padding-inline-start: var(--gap-md);
3530
+ padding-inline-end: 0;
3531
+ font-size: var(--font-size-input);
3532
+ box-shadow: var(--shadow-sm);
3533
+ transition: all var(--dur-normal) var(--ease-in-out);
3534
+ touch-action: manipulation;
3535
+ cursor: text;
3536
+ }
3537
+
3538
+ /* Bare mode inside FloatingLabel (fieldset provides border) */
3539
+
3540
+ .dndev-datepicker-field[data-bare] {
3541
+ border: none;
3542
+ box-shadow: none;
3543
+ background: transparent;
3544
+ }
3545
+
3546
+ /* Hover */
3547
+
3548
+ .dndev-datepicker-field:hover {
3549
+ border-color: var(--ring);
3550
+ }
3551
+
3552
+ /* Focus-within */
3553
+
3554
+ .dndev-datepicker-field:focus-within {
3555
+ border-color: var(--ring);
3556
+ outline: none;
3557
+ box-shadow: var(--shadow-focus);
3558
+ }
3559
+
3560
+ /* Focus-within bare (FloatingLabel handles outer border) */
3561
+
3562
+ .dndev-datepicker-field[data-bare]:focus-within {
3563
+ box-shadow: none;
3564
+ }
3565
+
3566
+ /* Error state */
3567
+
3568
+ .dndev-datepicker-field[aria-invalid='true'],
3569
+ .dndev-datepicker-field[data-variant='destructive'] {
3570
+ border-color: var(--destructive);
3571
+ }
3572
+
3573
+ /* Disabled */
3574
+
3575
+ .dndev-datepicker-field[data-disabled] {
3576
+ cursor: not-allowed;
3577
+ opacity: var(--opacity-muted);
3578
+ }
3579
+
3580
+ /* ===========================
3581
+ SEGMENTS AREA
3582
+ =========================== */
3583
+
3584
+ .dndev-datepicker-segments {
3585
+ display: flex;
3586
+ align-items: center;
3587
+ flex: 1;
3588
+ min-width: 0;
3589
+ }
3590
+
3591
+ /* ===========================
3592
+ SEGMENTS
3593
+ =========================== */
3594
+
3595
+ .dndev-datepicker-segment {
3596
+ display: inline-flex;
3597
+ align-items: center;
3598
+ justify-content: center;
3599
+ padding: var(--gap-tight) 1px;
3600
+ border-radius: 2px;
3601
+ font-variant-numeric: tabular-nums;
3602
+ caret-color: transparent;
3603
+ outline: none;
3604
+ min-width: 2ch;
3605
+ text-align: center;
3606
+ -webkit-user-select: none;
3607
+ -moz-user-select: none;
3608
+ user-select: none;
3609
+ }
3610
+
3611
+ /* Year segment needs more room */
3612
+
3613
+ .dndev-datepicker-segment[data-type='year'] {
3614
+ min-width: 4ch;
3615
+ }
3616
+
3617
+ /* Placeholder text */
3618
+
3619
+ .dndev-datepicker-segment[data-placeholder] {
3620
+ color: var(--placeholder);
3621
+ }
3622
+
3623
+ /* Focused segment highlight */
3624
+
3625
+ .dndev-datepicker-segment:focus {
3626
+ background-color: var(--accent);
3627
+ color: var(--accent-foreground);
3628
+ outline: none;
3629
+ }
3630
+
3631
+ /* Separator between segments */
3632
+
3633
+ .dndev-datepicker-separator {
3634
+ color: var(--muted-foreground);
3635
+ padding: 0 1px;
3636
+ -webkit-user-select: none;
3637
+ -moz-user-select: none;
3638
+ user-select: none;
3639
+ }
3640
+
3641
+ /* ===========================
3642
+ CALENDAR TRIGGER BUTTON (inside field)
3643
+ =========================== */
3644
+
3645
+ /* Extends .dndev-inline-action-btn from patterns.css */
3646
+
3647
+ .dndev-datepicker-calendar-btn {
3648
+ flex-shrink: 0;
3649
+ margin-inline-start: auto;
3650
+ }
3651
+
3652
+ /* ===========================
3653
+ POPOVER
3654
+ =========================== */
3655
+
3656
+ .dndev-datepicker-popover {
3657
+ padding: 0;
3658
+ }
3659
+
3660
+ /* Fix: .dndev-floating .dndev-interactive overrides width/justify on ALL
3661
+ interactive children. Calendar needs its own sizing - undo the override. */
3662
+
3663
+ .dndev-datepicker-popover .dndev-interactive {
3664
+ width: auto;
3665
+ justify-content: center;
3666
+ }
3667
+
3668
+ /* Calendar nav buttons: restore absolute-positioned fixed size */
3669
+
3670
+ .dndev-datepicker-popover .dndev-calendar-nav-button {
3671
+ width: var(--touch-target);
3672
+ }
3673
+
3674
+ /* Calendar day buttons: restore fixed cell size */
3675
+
3676
+ .dndev-datepicker-popover .dndev-calendar-day-button {
3677
+ width: var(--touch-target);
3678
+ }
3679
+
3680
+ /* Calendar dropdown triggers: restore full-width inside their cell */
3681
+
3682
+ .dndev-datepicker-popover .dndev-calendar-dropdown-trigger {
3683
+ width: 100%;
3684
+ }
3685
+
3686
+ /* ===========================
3687
+ MOBILE: NATIVE INPUT FALLBACK
3688
+ =========================== */
3689
+
3690
+ .dndev-datepicker-native {
3691
+ display: none;
3692
+ }
3693
+
3694
+ @media (pointer: coarse) {
3695
+ .dndev-datepicker-custom {
3696
+ display: none;
3697
+ }
3698
+
3699
+ .dndev-datepicker-native {
3700
+ display: flex;
3701
+ width: 100%;
3702
+ }
3703
+ }
3704
+
3705
+ /* ===========================
3706
+ SCREEN READER LIVE REGION
3707
+ =========================== */
3708
+
3709
+ .dndev-datepicker-live {
3710
+ position: absolute;
3711
+ width: 1px;
3712
+ height: 1px;
3713
+ padding: 0;
3714
+ margin: -1px;
3715
+ overflow: hidden;
3716
+ clip: rect(0, 0, 0, 0);
3717
+ white-space: nowrap;
3718
+ border: 0;
3719
+ }
3720
+
3721
+ /* ===========================
3722
+ DISABLED STATE (root)
3723
+ =========================== */
3724
+
3725
+ .dndev-datepicker[data-disabled] {
3726
+ pointer-events: none;
3727
+ }
3728
+
3729
+ /* packages/components/src/atomic/DateTimePicker/DateTimePicker.css */
3730
+
3731
+ /**
3732
+ * DateTimePicker Component Styles
3733
+ * Extends DatePicker styles with time-segment-specific layout.
3734
+ * Reuses .dndev-datepicker-* classes from DatePicker.css for shared elements
3735
+ * (field, segment, separator, calendar-btn, popover, native, live).
3736
+ */
3737
+
3738
+ /* ===========================
3739
+ CUSTOM INPUT CONTAINER
3740
+ =========================== */
3741
+
3742
+ .dndev-datetimepicker-custom {
3743
+ display: flex;
3744
+ align-items: center;
3745
+ width: 100%;
3746
+ }
3747
+
3748
+ /* ===========================
3749
+ DATE / TIME SPACER
3750
+ =========================== */
3751
+
3752
+ .dndev-datetimepicker-spacer {
3753
+ width: var(--gap-md);
3754
+ flex-shrink: 0;
3755
+ }
3756
+
3340
3757
  /* packages/components/src/atomic/CallToAction/CallToAction.css */
3341
3758
 
3342
3759
  .dndev-cta {
@@ -3368,6 +3785,11 @@ em {
3368
3785
  color: var(--card);
3369
3786
  }
3370
3787
 
3788
+ .dndev-cta[data-tone='primary'] {
3789
+ background: var(--primary);
3790
+ color: var(--primary-foreground);
3791
+ }
3792
+
3371
3793
  .dndev-cta[data-tone='accent'] {
3372
3794
  background: color-mix(in oklab, var(--accent) 5%, transparent);
3373
3795
  }
@@ -3489,6 +3911,7 @@ em {
3489
3911
  .dndev-cta-actions {
3490
3912
  display: flex;
3491
3913
  flex-direction: row;
3914
+ flex-wrap: wrap;
3492
3915
  gap: var(--gap-md);
3493
3916
  justify-content: center;
3494
3917
  }
@@ -3497,45 +3920,102 @@ em {
3497
3920
  min-width: 150px;
3498
3921
  }
3499
3922
 
3500
- /* Button contrast overrides */
3923
+ /* Button overrides scoped to primary tone */
3501
3924
 
3502
- .dndev-cta-actions .dndev-interactive[data-variant='primary'] {
3503
- background: var(--foreground);
3504
- /* --card not --background: inverted text must be opaque */
3505
- color: var(--card);
3506
- border-color: var(--foreground);
3925
+ :is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='primary'] {
3926
+ background: var(--primary-foreground);
3927
+ color: var(--primary);
3928
+ border-color: var(--primary-foreground);
3929
+ }
3930
+
3931
+ :is(:is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='primary']):hover {
3932
+ background: var(--accent);
3933
+ color: var(--accent-foreground);
3934
+ border-color: var(--accent);
3935
+ }
3936
+
3937
+ :is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='outline'] {
3938
+ background: transparent;
3939
+ color: var(--primary-foreground);
3940
+ border-color: var(--primary-foreground);
3507
3941
  }
3508
3942
 
3509
- :is(.dndev-cta-actions .dndev-interactive[data-variant='primary']):hover {
3943
+ :is(:is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='outline']):hover {
3944
+ background: var(--primary-foreground);
3945
+ color: var(--primary);
3946
+ border-color: var(--primary-foreground);
3947
+ }
3948
+
3949
+ /* Button overrides scoped to contrast tone */
3950
+
3951
+ :is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='primary'] {
3952
+ background: var(--card);
3953
+ color: var(--foreground);
3954
+ border-color: var(--card);
3955
+ }
3956
+
3957
+ :is(:is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='primary']):hover {
3510
3958
  background: var(--primary);
3511
3959
  color: var(--primary-foreground);
3512
3960
  border-color: var(--primary);
3513
3961
  }
3514
3962
 
3515
- .dndev-cta-actions .dndev-interactive[data-variant='outline'] {
3963
+ :is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='outline'] {
3516
3964
  background: transparent;
3517
- color: var(--foreground);
3518
- border-color: var(--foreground);
3965
+ color: var(--card);
3966
+ border-color: var(--card);
3519
3967
  }
3520
3968
 
3521
- :is(.dndev-cta-actions .dndev-interactive[data-variant='outline']):hover {
3522
- background: var(--foreground);
3523
- /* --card not --background: inverted text must be opaque */
3524
- color: var(--card);
3525
- border-color: var(--foreground);
3969
+ :is(:is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='outline']):hover {
3970
+ background: var(--card);
3971
+ color: var(--foreground);
3972
+ border-color: var(--card);
3526
3973
  }
3527
3974
 
3528
3975
  /* packages/components/src/atomic/Card/Card.css */
3529
3976
 
3530
- /* Card layout - grid with gap */
3977
+ /* Card root — when a cover is present, move padding off the root so the cover
3978
+ sits flush to the rounded corners. Padding is re-applied inside the body
3979
+ slot (which is the only thing that needs it). Non-cover cards keep the
3980
+ legacy layout so existing consumers render identically. */
3531
3981
 
3532
3982
  .dndev-card {
3533
3983
  display: grid;
3534
3984
  gap: var(--gap-md);
3535
3985
  text-align: start;
3536
3986
  align-content: start;
3987
+ position: relative;
3988
+ }
3989
+
3990
+ .dndev-surface.dndev-card[data-has-cover='true'] {
3991
+ padding: 0;
3992
+ overflow: hidden;
3993
+ position: relative;
3994
+ /* Remove the grid gap — cover and body are stacked vertically via flow and
3995
+ must sit flush (cover edges meet body edge with no gutter). */
3996
+ gap: 0;
3997
+ }
3998
+
3999
+ /* Body slot — the padded region that holds header/content/footer.
4000
+ Only rendered when at least one body field is set (see renderCard logic). */
4001
+
4002
+ .dndev-card-body {
4003
+ display: grid;
4004
+ gap: var(--gap-md);
4005
+ position: relative;
4006
+ z-index: 1;
3537
4007
  }
3538
4008
 
4009
+ .dndev-card[data-has-cover='true'] > .dndev-card-body {
4010
+ padding: var(--gap-md);
4011
+ }
4012
+
4013
+ .dndev-card-body[data-body-background='solid'] {
4014
+ background: var(--card);
4015
+ }
4016
+
4017
+ /* Card body children spacing */
4018
+
3539
4019
  .dndev-card-header {
3540
4020
  display: flex;
3541
4021
  flex-direction: column;
@@ -3564,16 +4044,98 @@ em {
3564
4044
  color: color-mix(in oklab, var(--card-foreground) 70%, transparent);
3565
4045
  }
3566
4046
 
4047
+ /* Cover region — sits flush to the card's rounded corners.
4048
+ - When body is present (data-has-body='true'): cover is a sized header
4049
+ region in flow. Height comes from its own aspect-ratio (inline style).
4050
+ - When cover-only (no body): cover fills the card (inset:0 absolute) while
4051
+ the card itself sets the aspect-ratio on its root. */
4052
+
4053
+ .dndev-card-cover {
4054
+ position: relative;
4055
+ overflow: hidden;
4056
+ z-index: 0;
4057
+ width: 100%;
4058
+ background: var(--muted);
4059
+ }
4060
+
4061
+ /* Cover-only: fill the card completely. Card root owns the aspect-ratio. */
4062
+
4063
+ .dndev-card-cover:not([data-has-body='true']) {
4064
+ position: absolute;
4065
+ inset: 0;
4066
+ height: 100%;
4067
+ }
4068
+
4069
+ /* Direct media (string cover → <img>, or ReactNode passthrough) fills. */
4070
+
4071
+ .dndev-card-cover > img,
4072
+ .dndev-card-cover > video,
4073
+ .dndev-card-cover > picture,
4074
+ .dndev-card-cover > picture > img,
4075
+ .dndev-card-cover > .dndev-card-cover-media {
4076
+ display: block;
4077
+ width: 100%;
4078
+ height: 100%;
4079
+ -o-object-fit: cover;
4080
+ object-fit: cover;
4081
+ }
4082
+
4083
+ /* Consumer-supplied ReactNode: wrapper fills, inner media fills. */
4084
+
4085
+ .dndev-card-cover-media {
4086
+ position: relative;
4087
+ }
4088
+
4089
+ .dndev-card-cover-media > img,
4090
+ .dndev-card-cover-media > video,
4091
+ .dndev-card-cover-media > picture,
4092
+ .dndev-card-cover-media > picture > img {
4093
+ display: block;
4094
+ width: 100%;
4095
+ height: 100%;
4096
+ -o-object-fit: cover;
4097
+ object-fit: cover;
4098
+ }
4099
+
4100
+ /* Overlay — sits above both cover and body slot. */
4101
+
4102
+ .dndev-card-overlay {
4103
+ position: absolute;
4104
+ z-index: 2;
4105
+ pointer-events: none;
4106
+ }
4107
+
4108
+ .dndev-card[data-overlay-position='top-left'] > .dndev-card-overlay {
4109
+ top: var(--gap-md);
4110
+ inset-inline-start: var(--gap-md);
4111
+ }
4112
+
4113
+ .dndev-card[data-overlay-position='top-right'] > .dndev-card-overlay {
4114
+ top: var(--gap-md);
4115
+ inset-inline-end: var(--gap-md);
4116
+ }
4117
+
4118
+ .dndev-card[data-overlay-position='bottom-left'] > .dndev-card-overlay {
4119
+ bottom: var(--gap-md);
4120
+ inset-inline-start: var(--gap-md);
4121
+ }
4122
+
4123
+ .dndev-card[data-overlay-position='bottom-right'] > .dndev-card-overlay {
4124
+ bottom: var(--gap-md);
4125
+ inset-inline-end: var(--gap-md);
4126
+ }
4127
+
3567
4128
  /* packages/components/src/atomic/Checkbox/Checkbox.css */
3568
4129
 
3569
4130
  .dndev-control[data-type='checkbox'] {
3570
4131
  display: inline-flex;
3571
4132
  align-items: center;
3572
4133
  justify-content: center;
3573
- width: var(--icon-md);
3574
- height: var(--icon-md);
4134
+ width: var(--font-size-input);
4135
+ height: var(--font-size-input);
3575
4136
  aspect-ratio: 1;
3576
4137
  border-radius: 4px;
4138
+ background-color: transparent;
3577
4139
  }
3578
4140
 
3579
4141
  .dndev-control[data-type='checkbox'][data-state='checked'] {
@@ -3634,8 +4196,8 @@ em {
3634
4196
  }
3635
4197
 
3636
4198
  .dndev-control[data-type='checkbox'] [data-radix-checkbox-indicator] svg {
3637
- width: var(--icon-md);
3638
- height: var(--icon-md);
4199
+ width: var(--font-size-input);
4200
+ height: var(--font-size-input);
3639
4201
  animation: checkbox-check-in var(--dur-fast) var(--ease-in-out);
3640
4202
  }
3641
4203
 
@@ -3871,60 +4433,28 @@ em {
3871
4433
  position: absolute;
3872
4434
  inset-inline-end: var(--gap-sm);
3873
4435
  top: 0;
3874
- height: 100%;
3875
- display: flex;
3876
- align-items: center;
3877
- gap: var(--gap-tight, 4px);
3878
- z-index: 1;
3879
- pointer-events: none; /* pass clicks through to input by default */
3880
- }
3881
-
3882
- /* Input padding: reserve space for trailing content.
3883
- --combobox-pad-end is set as an inline CSS variable on .dndev-combobox-wrapper. */
3884
-
3885
- .dndev-combobox-wrapper .dndev-input {
3886
- padding-inline-end: var(--combobox-pad-end);
3887
- }
3888
-
3889
- /* Action buttons (create "+", clear "X") */
3890
-
3891
- .dndev-combobox-action-btn {
3892
- all: unset;
3893
- display: flex;
3894
- align-items: center;
3895
- justify-content: center;
3896
- width: var(--icon-md);
3897
- height: var(--icon-md);
3898
- border-radius: var(--radius-interactive, var(--radius-sm, 4px));
3899
- cursor: pointer;
3900
- pointer-events: auto; /* re-enable clicks on buttons */
3901
- color: var(--muted-foreground);
3902
- opacity: var(--opacity-muted, 0.5);
3903
- transition:
3904
- opacity var(--dur-fast) var(--ease-in-out),
3905
- background-color var(--dur-fast) var(--ease-in-out);
4436
+ height: 100%;
4437
+ display: flex;
4438
+ align-items: center;
4439
+ gap: var(--gap-tight, 4px);
4440
+ z-index: 1;
4441
+ pointer-events: none; /* pass clicks through to input by default */
3906
4442
  }
3907
4443
 
3908
- .dndev-combobox-action-btn:hover {
3909
- opacity: 1;
3910
- background-color: var(--accent, rgba(0, 0, 0, 0.06));
3911
- }
4444
+ /* Input padding: reserve space for trailing content.
4445
+ --combobox-pad-end is set as an inline CSS variable on .dndev-combobox-wrapper. */
3912
4446
 
3913
- .dndev-combobox-action-btn:focus-visible {
3914
- opacity: 1;
3915
- outline: none;
3916
- box-shadow:
3917
- 0 0 0 2px var(--ring),
3918
- 0 0 0 4px rgb(from var(--ring) r g b / 0.2);
4447
+ .dndev-combobox-wrapper .dndev-input {
4448
+ padding-inline-end: var(--combobox-pad-end);
4449
+ text-overflow: ellipsis;
4450
+ cursor: pointer;
3919
4451
  }
3920
4452
 
3921
- .dndev-combobox-action-btn:active {
3922
- opacity: 0.8;
3923
- }
4453
+ /* Action buttons — extends shared .dndev-inline-action-btn from patterns.css.
4454
+ Only Combobox-specific overrides here. */
3924
4455
 
3925
- .dndev-combobox-action-btn svg {
3926
- width: var(--size-icon-sm, 16px);
3927
- height: var(--size-icon-sm, 16px);
4456
+ .dndev-combobox-action-btn {
4457
+ pointer-events: auto; /* re-enable clicks (trailing container is pointer-events: none) */
3928
4458
  }
3929
4459
 
3930
4460
  /* Create button accent color */
@@ -3939,22 +4469,16 @@ em {
3939
4469
  color: var(--muted-foreground);
3940
4470
  }
3941
4471
 
3942
- /* Chevron indicator (non-interactive, just visual) */
4472
+ /* Chevron toggle — extends .dndev-inline-action-btn from patterns.css
4473
+ (same pattern as RangeInput/DatePicker/Combobox clear+create).
4474
+ Only chevron-specific behavior: re-enable clicks in the trailing
4475
+ container and rotate the icon on open. */
3943
4476
 
3944
4477
  .dndev-combobox-chevron {
3945
- width: var(--icon-md);
3946
- height: var(--icon-md);
3947
- display: flex;
3948
- align-items: center;
3949
- justify-content: center;
3950
- color: var(--muted-foreground);
3951
- opacity: var(--opacity-muted);
3952
- pointer-events: none;
4478
+ pointer-events: auto;
3953
4479
  }
3954
4480
 
3955
4481
  .dndev-combobox-chevron svg {
3956
- width: var(--icon-md);
3957
- height: var(--icon-md);
3958
4482
  transition: transform var(--dur-fast) var(--ease-in-out);
3959
4483
  }
3960
4484
 
@@ -3962,14 +4486,14 @@ em {
3962
4486
  transform: rotate(180deg);
3963
4487
  }
3964
4488
 
3965
- /* Spinner replaces chevron */
4489
+ /* Spinner replaces chevron — match its footprint so there's no layout shift */
3966
4490
 
3967
4491
  .dndev-combobox-spinner {
3968
4492
  display: flex;
3969
4493
  align-items: center;
3970
4494
  justify-content: center;
3971
- width: var(--icon-md);
3972
- height: var(--icon-md);
4495
+ width: var(--touch-target);
4496
+ height: 100%;
3973
4497
  pointer-events: none;
3974
4498
  }
3975
4499
 
@@ -3999,6 +4523,12 @@ em {
3999
4523
  border-color: var(--ring);
4000
4524
  }
4001
4525
 
4526
+ /* Inside FloatingLabel fieldset: fieldset owns the border, suppress wrapper border */
4527
+
4528
+ .dndev-floating-fieldset > .dndev-combobox-wrapper--chips {
4529
+ border-color: transparent;
4530
+ }
4531
+
4002
4532
  /* Input inside chips wrapper: grow to fill, no min height */
4003
4533
 
4004
4534
  .dndev-combobox-wrapper--chips .dndev-input {
@@ -4013,9 +4543,6 @@ em {
4013
4543
  ────────────────────────────────────────────────── */
4014
4544
 
4015
4545
  .dndev-combobox-content {
4016
- width: var(--radix-popover-trigger-width);
4017
- min-width: var(--radix-popover-trigger-width);
4018
- max-width: var(--radix-popover-trigger-width);
4019
4546
  display: flex;
4020
4547
  flex-direction: column;
4021
4548
  padding: 0;
@@ -4068,6 +4595,13 @@ em {
4068
4595
  color: var(--muted-foreground);
4069
4596
  }
4070
4597
 
4598
+ .dndev-combobox-option-count {
4599
+ font-size: var(--font-size-xs);
4600
+ color: var(--muted-foreground);
4601
+ margin-inline-start: var(--gap-tight);
4602
+ flex-shrink: 0;
4603
+ }
4604
+
4071
4605
  .dndev-combobox-option-check {
4072
4606
  width: var(--icon-md);
4073
4607
  height: var(--icon-md);
@@ -5037,6 +5571,56 @@ em {
5037
5571
  color: white;
5038
5572
  }
5039
5573
 
5574
+ /* ---- Contain mode: full image, natural aspect ratio ---- */
5575
+
5576
+ .dndev-hero-section--bg-contain {
5577
+ padding: 0;
5578
+ max-width: none;
5579
+ position: relative;
5580
+ overflow: hidden;
5581
+ }
5582
+
5583
+ .dndev-hero-section--bg-contain > .dndev-hero-section__img {
5584
+ display: block;
5585
+ width: 100%;
5586
+ height: auto;
5587
+ }
5588
+
5589
+ .dndev-hero-section--bg-contain > .dndev-hero-section__text {
5590
+ position: absolute;
5591
+ inset: 0;
5592
+ display: flex;
5593
+ flex-direction: column;
5594
+ justify-content: flex-end;
5595
+ padding: 0 var(--gap-md) var(--gap-lg);
5596
+ }
5597
+
5598
+ .dndev-hero-section--bg-contain > .dndev-hero-section__text::before {
5599
+ content: '';
5600
+ position: absolute;
5601
+ inset: 0;
5602
+ background: linear-gradient(
5603
+ to top,
5604
+ rgba(0, 0, 0, 0.65),
5605
+ rgba(0, 0, 0, 0.15) 60%,
5606
+ transparent
5607
+ );
5608
+ }
5609
+
5610
+ .dndev-hero-section--bg-contain > .dndev-hero-section__text > * {
5611
+ position: relative;
5612
+ }
5613
+
5614
+ .dndev-hero-section--bg-contain[data-justify='center']
5615
+ > .dndev-hero-section__text {
5616
+ justify-content: center;
5617
+ }
5618
+
5619
+ .dndev-hero-section--bg-contain[data-justify='start']
5620
+ > .dndev-hero-section__text {
5621
+ justify-content: flex-start;
5622
+ }
5623
+
5040
5624
  .dndev-hero-subtitle {
5041
5625
  font-size: var(--font-size-lg); /* 20px - muted via component */
5042
5626
  }
@@ -5186,6 +5770,10 @@ em {
5186
5770
  background-color: var(--muted);
5187
5771
  }
5188
5772
 
5773
+ .image-gallery__main--lightbox {
5774
+ cursor: zoom-in;
5775
+ }
5776
+
5189
5777
  .image-gallery__main-image {
5190
5778
  width: 100%;
5191
5779
  height: 100%;
@@ -5308,6 +5896,46 @@ em {
5308
5896
  }
5309
5897
  }
5310
5898
 
5899
+ /* Lightbox (full-size image dialog) */
5900
+
5901
+ .image-gallery__lightbox.dndev-modal-content {
5902
+ max-width: min(96vw, 1400px);
5903
+ max-height: 96dvh;
5904
+ padding: var(--gap-sm);
5905
+ }
5906
+
5907
+ .image-gallery__lightbox .dndev-modal-body {
5908
+ padding: 0;
5909
+ display: flex;
5910
+ align-items: center;
5911
+ justify-content: center;
5912
+ overflow: hidden;
5913
+ min-height: 40dvh;
5914
+ }
5915
+
5916
+ .image-gallery__lightbox-body {
5917
+ position: relative;
5918
+ display: flex;
5919
+ align-items: center;
5920
+ justify-content: center;
5921
+ width: 100%;
5922
+ outline: none;
5923
+ }
5924
+
5925
+ .image-gallery__lightbox-img {
5926
+ max-width: 100%;
5927
+ max-height: 85dvh;
5928
+ width: auto;
5929
+ height: auto;
5930
+ -o-object-fit: contain;
5931
+ object-fit: contain;
5932
+ }
5933
+
5934
+ .image-gallery__lightbox-nav {
5935
+ opacity: 0.92;
5936
+ z-index: 3;
5937
+ }
5938
+
5311
5939
  /* packages/components/src/atomic/Input/Input.css */
5312
5940
 
5313
5941
  /* Hide number input spinners - cleaner UI for price/range inputs */
@@ -5355,6 +5983,19 @@ input[type='number'] {
5355
5983
  inset-inline-end: var(--gap-md);
5356
5984
  }
5357
5985
 
5986
+ /* Error / destructive state — red border for invalid fields */
5987
+
5988
+ [data-variant='destructive'],
5989
+ [aria-invalid='true'] {
5990
+ border-color: var(--destructive);
5991
+ }
5992
+
5993
+ [data-variant='destructive']:focus,
5994
+ [aria-invalid='true']:focus {
5995
+ border-color: var(--destructive);
5996
+ outline-color: var(--destructive);
5997
+ }
5998
+
5358
5999
  /* packages/components/src/advanced/JsonViewer/JsonViewer.css */
5359
6000
 
5360
6001
  .dndev-json-viewer {
@@ -5940,6 +6581,105 @@ input[type='number'] {
5940
6581
  height: var(--icon-sm);
5941
6582
  }
5942
6583
 
6584
+ /* packages/components/src/atomic/PinInput/PinInput.css */
6585
+
6586
+ .dndev-pin-input {
6587
+ display: flex;
6588
+ gap: var(--gap-sm);
6589
+ align-items: center;
6590
+ justify-content: center;
6591
+ direction: ltr; /* digits are always LTR even in RTL locales */
6592
+ }
6593
+
6594
+ .dndev-pin-input__box {
6595
+ inline-size: var(--input-height, 2.75rem) !important;
6596
+ block-size: var(--input-height, 2.75rem) !important;
6597
+ padding: 0 !important;
6598
+ text-align: center !important;
6599
+ font-size: var(--font-xl, 1.25rem) !important;
6600
+ font-variant-numeric: tabular-nums;
6601
+ font-feature-settings: 'tnum' 1;
6602
+ caret-color: var(--primary);
6603
+ }
6604
+
6605
+ /* Mask the typed digit via CSS, not by overwriting React's controlled value.
6606
+ Rewriting value={raw} → value='•' on every keystroke forces React to
6607
+ overwrite the native input value after the browser has already painted
6608
+ the user's keystroke, which is the classic "lags like shit" PinInput bug
6609
+ on mobile Chrome/Safari. `-webkit-text-security: disc` renders a bullet
6610
+ purely in the layout layer while the input's real value stays the digit,
6611
+ so React never has to race the browser's paint pipeline.
6612
+ Firefox does not support -webkit-text-security and will render the digit
6613
+ unmasked; the eye-toggle still works for revealing on WebKit/Blink. */
6614
+
6615
+ .dndev-pin-input__box--masked {
6616
+ -webkit-text-security: disc;
6617
+ }
6618
+
6619
+ .dndev-pin-input__reveal {
6620
+ background: none;
6621
+ border: none;
6622
+ cursor: pointer;
6623
+ padding: var(--gap-tight, 0.25rem);
6624
+ margin-inline-start: var(--gap-sm, 0.5rem);
6625
+ display: inline-flex;
6626
+ align-items: center;
6627
+ justify-content: center;
6628
+ color: var(--muted-foreground, currentColor);
6629
+ opacity: var(--opacity-muted, 0.65);
6630
+ transition: opacity var(--dur-fast, 150ms) var(--ease-in-out, ease-in-out);
6631
+ -webkit-user-select: none;
6632
+ -moz-user-select: none;
6633
+ user-select: none;
6634
+ -webkit-tap-highlight-color: transparent;
6635
+ }
6636
+
6637
+ .dndev-pin-input__reveal:hover,
6638
+ .dndev-pin-input__reveal:focus-visible {
6639
+ opacity: 1;
6640
+ outline: none;
6641
+ }
6642
+
6643
+ .dndev-pin-input__reveal:focus-visible {
6644
+ outline: 2px solid var(--primary, currentColor);
6645
+ outline-offset: 2px;
6646
+ border-radius: var(--radius-sm, 4px);
6647
+ }
6648
+
6649
+ /* Shake animation hook — the container flips data-shake='true' on error
6650
+ and the animation plays once via this keyframe. Consumers can override
6651
+ via `.dndev-pin-input[data-shake='true'] { animation: ... }`. */
6652
+
6653
+ @keyframes dndev-pin-input-shake {
6654
+ 0%,
6655
+ 100% {
6656
+ transform: translateX(0);
6657
+ }
6658
+ 20% {
6659
+ transform: translateX(-0.35rem);
6660
+ }
6661
+ 40% {
6662
+ transform: translateX(0.35rem);
6663
+ }
6664
+ 60% {
6665
+ transform: translateX(-0.25rem);
6666
+ }
6667
+ 80% {
6668
+ transform: translateX(0.15rem);
6669
+ }
6670
+ }
6671
+
6672
+ .dndev-pin-input[data-shake='true'] {
6673
+ animation: dndev-pin-input-shake var(--dur-normal, 320ms)
6674
+ var(--ease-in-out, ease-in-out) 1;
6675
+ }
6676
+
6677
+ @media (prefers-reduced-motion: reduce) {
6678
+ .dndev-pin-input[data-shake='true'] {
6679
+ animation: none;
6680
+ }
6681
+ }
6682
+
5943
6683
  /* packages/components/src/atomic/Pagination/Pagination.css */
5944
6684
 
5945
6685
  .dndev-pagination {
@@ -6108,8 +6848,8 @@ input[type='number'] {
6108
6848
  }
6109
6849
 
6110
6850
  .dndev-control[data-type='radio'] {
6111
- width: var(--icon-md);
6112
- height: var(--icon-md);
6851
+ width: var(--font-size-input);
6852
+ height: var(--font-size-input);
6113
6853
  border-radius: var(--radius-full);
6114
6854
  border-width: var(--border-hairline);
6115
6855
  background-color: transparent;
@@ -6196,15 +6936,22 @@ input[type='number'] {
6196
6936
 
6197
6937
  .dndev-range-input {
6198
6938
  display: grid;
6199
- grid-template-columns: 1fr auto 1fr auto;
6939
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
6200
6940
  align-items: center;
6201
- gap: var(--gap-tight);
6941
+ -moz-column-gap: 0;
6942
+ column-gap: 0;
6943
+ padding-inline-start: var(--gap-sm);
6202
6944
  width: 100%;
6203
6945
  }
6204
6946
 
6205
6947
  .dndev-range-input > .dndev-input,
6206
6948
  .dndev-range-input > .dndev-relative {
6207
6949
  min-width: 0;
6950
+ padding-inline: var(--gap-sm);
6951
+ }
6952
+
6953
+ .dndev-range-input-separator {
6954
+ padding-inline: var(--gap-tight);
6208
6955
  }
6209
6956
 
6210
6957
  /* packages/components/src/atomic/Rating/Rating.css */
@@ -6358,7 +7105,7 @@ input[type='number'] {
6358
7105
  /* Numeric value display */
6359
7106
 
6360
7107
  .dndev-rating-value {
6361
- font-size: var(--font-size-sm);
7108
+ font-size: var(--font-size-input);
6362
7109
  font-weight: var(--font-weight-medium);
6363
7110
  color: var(--muted-foreground);
6364
7111
  min-width: 2ch;
@@ -6390,7 +7137,7 @@ input[type='number'] {
6390
7137
  }
6391
7138
 
6392
7139
  .dndev-select-trigger [data-radix-select-value] {
6393
- font-size: var(--font-size-sm);
7140
+ font-size: var(--font-size-input);
6394
7141
  }
6395
7142
 
6396
7143
  .dndev-select-content {
@@ -6450,6 +7197,16 @@ input[type='number'] {
6450
7197
  border-radius: inherit;
6451
7198
  }
6452
7199
 
7200
+ /* Radix injects `display:table; min-width:100%` as inline style on the viewport's
7201
+ direct child. A display:table element sizes to its content's min-content width,
7202
+ ignoring max-width:100% (Chrome resolves the % against the table's own bloated
7203
+ width, not the viewport). contain:inline-size prevents content-based sizing:
7204
+ the table stays at min-width:100% = viewport width regardless of descendant content. */
7205
+
7206
+ .dndev-scroll-area-viewport > div {
7207
+ contain: inline-size;
7208
+ }
7209
+
6453
7210
  .dndev-scroll-bar {
6454
7211
  display: flex;
6455
7212
  touch-action: none;
@@ -7874,7 +8631,7 @@ input[type='number'] {
7874
8631
  }
7875
8632
 
7876
8633
  .dndev-switch-label {
7877
- font-size: var(--font-size-sm);
8634
+ font-size: var(--font-size-input);
7878
8635
  transition:
7879
8636
  color var(--dur-normal) var(--ease-in-out),
7880
8637
  font-weight var(--dur-normal) var(--ease-in-out);
@@ -8984,7 +9741,8 @@ input[type='number'] {
8984
9741
  outline: none;
8985
9742
  }
8986
9743
 
8987
- /* Expand/collapse chevron */
9744
+ /* Expand/collapse chevron — wrapper reserves the indent column (--icon-md),
9745
+ svg is the nested icon (--icon-sm). */
8988
9746
 
8989
9747
  .dndev-tree-node-expand {
8990
9748
  display: flex;
@@ -8997,6 +9755,11 @@ input[type='number'] {
8997
9755
  color: var(--muted-foreground);
8998
9756
  }
8999
9757
 
9758
+ .dndev-tree-node-expand svg {
9759
+ width: var(--icon-sm);
9760
+ height: var(--icon-sm);
9761
+ }
9762
+
9000
9763
  [role='treeitem'][aria-expanded='true']
9001
9764
  > .dndev-tree-node-content
9002
9765
  > .dndev-tree-node-expand {
@@ -9786,12 +10549,11 @@ input[type='number'] {
9786
10549
  box-shadow: var(--shadow-xl);
9787
10550
  }
9788
10551
 
9789
- /* Phase badge - absolute overlay top-end */
10552
+ /* Phase badge - used inside Card overlay container */
9790
10553
 
9791
10554
  .dndev-roadmap-phase {
9792
- position: absolute;
9793
- top: var(--gap-sm);
9794
- inset-inline-end: var(--gap-sm);
10555
+ display: inline-flex;
10556
+ align-items: center;
9795
10557
  font-size: var(--font-size-xs);
9796
10558
  font-weight: var(--font-weight-bold);
9797
10559
  text-transform: uppercase;
@@ -10174,6 +10936,19 @@ input[type='number'] {
10174
10936
  }
10175
10937
  }
10176
10938
 
10939
+ /* ========== RIPPLE EFFECT ========== */
10940
+
10941
+ @keyframes dndev-ripple {
10942
+ 0% {
10943
+ transform: translate(-50%, -50%) scale(0);
10944
+ opacity: var(--ripple-opacity);
10945
+ }
10946
+ 100% {
10947
+ transform: translate(-50%, -50%) scale(4);
10948
+ opacity: 0;
10949
+ }
10950
+ }
10951
+
10177
10952
  /* ========== ROUTING ANIMATIONS ========== */
10178
10953
 
10179
10954
  /* Fade transition (default) */
@@ -11369,56 +12144,68 @@ h4[data-variant='code'] {
11369
12144
  /* Full height */
11370
12145
 
11371
12146
  .dndev-h-screen {
12147
+ height: 100vh;
11372
12148
  height: 100dvh;
11373
12149
  }
11374
12150
 
11375
12151
  .dndev-min-h-screen {
12152
+ min-height: 100vh;
11376
12153
  min-height: 100dvh;
11377
12154
  }
11378
12155
 
11379
12156
  .dndev-max-h-screen {
12157
+ max-height: 100vh;
11380
12158
  max-height: 100dvh;
11381
12159
  }
11382
12160
 
11383
12161
  /* 90dvh - Large modals/dialogs */
11384
12162
 
11385
12163
  .dndev-h-90 {
12164
+ height: 90vh;
11386
12165
  height: 90dvh;
11387
12166
  }
11388
12167
 
11389
12168
  .dndev-min-h-90 {
12169
+ min-height: 90vh;
11390
12170
  min-height: 90dvh;
11391
12171
  }
11392
12172
 
11393
12173
  .dndev-max-h-90 {
12174
+ max-height: 90vh;
11394
12175
  max-height: 90dvh;
11395
12176
  }
11396
12177
 
11397
12178
  /* 80dvh - Standard modals/dialogs */
11398
12179
 
11399
12180
  .dndev-h-80 {
12181
+ height: 80vh;
11400
12182
  height: 80dvh;
11401
12183
  }
11402
12184
 
11403
12185
  .dndev-min-h-80 {
12186
+ min-height: 80vh;
11404
12187
  min-height: 80dvh;
11405
12188
  }
11406
12189
 
11407
12190
  .dndev-max-h-80 {
12191
+ max-height: 80vh;
11408
12192
  max-height: 80dvh;
11409
12193
  }
11410
12194
 
11411
12195
  /* 60dvh - Compact sections */
11412
12196
 
11413
12197
  .dndev-h-60 {
12198
+ height: 60vh;
11414
12199
  height: 60dvh;
11415
12200
  }
11416
12201
 
11417
12202
  .dndev-min-h-60 {
12203
+ min-height: 60vh;
11418
12204
  min-height: 60dvh;
11419
12205
  }
11420
12206
 
11421
12207
  .dndev-max-h-60 {
12208
+ max-height: 60vh;
11422
12209
  max-height: 60dvh;
11423
12210
  }
11424
12211
 
@@ -11672,7 +12459,9 @@ main[role='main'][data-routing-animation='none'] {
11672
12459
  .dndev-layout {
11673
12460
  position: relative;
11674
12461
  width: 100%;
12462
+ height: 100vh;
11675
12463
  height: 100dvh;
12464
+ max-height: 100vh;
11676
12465
  max-height: 100dvh;
11677
12466
  overflow: hidden;
11678
12467
  display: grid;
@@ -11697,15 +12486,21 @@ main[role='main'][data-routing-animation='none'] {
11697
12486
  grid-template-rows: var(--header-height) 1fr;
11698
12487
  }
11699
12488
 
11700
- /* Footer inside main: spacing + sizing */
12489
+ /* Custom footer: content-driven grid row height (no 50px minimum from --footer-height) */
12490
+
12491
+ .dndev-layout:has(> footer[data-custom]) {
12492
+ grid-template-rows: var(--header-height) 1fr auto;
12493
+ }
12494
+
12495
+ /* Footer inside main: spacing + sizing (slotted mode only) */
11701
12496
 
11702
- main[role='main'] > footer[role='contentinfo'] {
12497
+ main[role='main'] > footer[role='contentinfo']:not([data-custom]) {
11703
12498
  margin-top: var(--gap-lg);
11704
12499
  flex-shrink: 0;
11705
12500
  height: auto;
11706
12501
  }
11707
12502
 
11708
- main[role='main'] > footer[role='contentinfo'] > * {
12503
+ main[role='main'] > footer[role='contentinfo']:not([data-custom]) > * {
11709
12504
  height: auto;
11710
12505
  min-height: var(--footer-height);
11711
12506
  }
@@ -11727,6 +12522,7 @@ main[role='main'] > footer[role='contentinfo'] > * {
11727
12522
  /* box-sizing: border-box ensures borders are included in height (already set globally, explicit here for clarity) */
11728
12523
 
11729
12524
  header[role='banner'] {
12525
+ /* Structural - always applies */
11730
12526
  grid-area: header;
11731
12527
  box-sizing: border-box;
11732
12528
  height: var(--header-height);
@@ -11745,12 +12541,6 @@ header[role='banner'] {
11745
12541
  display: flex;
11746
12542
  align-items: center;
11747
12543
  justify-content: space-between;
11748
- gap: var(--gap-sm);
11749
- padding-inline-start: var(--content-padding);
11750
- padding-inline-end: var(--content-padding);
11751
-
11752
- background: var(--background);
11753
- border-bottom: var(--border-hairline) solid var(--border);
11754
12544
 
11755
12545
  /* Mobile: Sticky header (for presets that keep header visible) */
11756
12546
  }
@@ -11763,6 +12553,16 @@ header[role='banner'] {
11763
12553
  }
11764
12554
  }
11765
12555
 
12556
+ /* Header visual polish - slotted mode only (custom mode owns its own visuals) */
12557
+
12558
+ header[role='banner']:not([data-custom]) {
12559
+ gap: var(--gap-sm);
12560
+ padding-inline-start: var(--content-padding);
12561
+ padding-inline-end: var(--content-padding);
12562
+ background: var(--background);
12563
+ border-bottom: var(--border-hairline) solid var(--border);
12564
+ }
12565
+
11766
12566
  .header-start {
11767
12567
  display: flex;
11768
12568
  align-items: center;
@@ -11826,6 +12626,7 @@ header[role='banner'] .header-center {
11826
12626
  /* box-sizing: border-box ensures borders are included in width (already set globally, explicit here for clarity) */
11827
12627
 
11828
12628
  aside[role='navigation'].sidebar {
12629
+ /* Structural - always applies */
11829
12630
  grid-area: sidebar;
11830
12631
  box-sizing: border-box;
11831
12632
  min-width: calc(var(--sidebar-resize-handle-width) + 48px);
@@ -11833,21 +12634,19 @@ aside[role='navigation'].sidebar {
11833
12634
  max-width: calc(var(--sidebar-resize-handle-width) + 400px);
11834
12635
  /* Max: 400px content + 6px handle = 406px */
11835
12636
  z-index: var(--z-sidebar);
11836
- overflow: none;
11837
- /* No clipping needed - handle is in grid */
12637
+ overflow-x: hidden;
12638
+ /* Horizontal must be clipped — handle is in grid so vertical needs no clipping */
11838
12639
  contain: layout style;
11839
12640
  padding: 0;
11840
12641
  display: grid;
11841
12642
  grid-template-columns: auto var(--sidebar-resize-handle-width);
11842
12643
  /* Content | Handle - column 1 width set inline */
11843
- grid-template-rows: auto 1fr auto;
11844
- /* Top | Content | Bottom */
12644
+ grid-template-rows: auto minmax(0, 1fr) auto;
12645
+ /* Top | Content | Bottom. `minmax(0, 1fr)` overrides the default `auto`
12646
+ min track size so the content row can shrink below its content height,
12647
+ which is what lets `.sidebar-content`'s overflow-y: auto actually fire. */
11845
12648
  height: 100%;
11846
12649
 
11847
- /* Theme-aware styling - 100% controlled by theme system */
11848
- background: var(--background);
11849
- /* No border - resize handle is the visual separator */
11850
-
11851
12650
  /* Desktop presets with no sidebar: Hide sidebar element for performance/accessibility */
11852
12651
  /* Landing, Plain, Game have --sidebar-width: 0px, also need display: none */
11853
12652
  }
@@ -11862,6 +12661,13 @@ aside[role='navigation'].sidebar {
11862
12661
  grid-row: 1 / -1;
11863
12662
  }
11864
12663
 
12664
+ /* Sidebar visual polish - slotted mode only (custom mode owns its own visuals) */
12665
+
12666
+ aside[role='navigation'].sidebar:not([data-custom]) {
12667
+ background: var(--background);
12668
+ /* No border - resize handle is the visual separator */
12669
+ }
12670
+
11865
12671
  /* ===========================
11866
12672
  RESIZABLE SIDEBAR STYLES
11867
12673
  =========================== */
@@ -11942,7 +12748,9 @@ aside[role='navigation'].sidebar[data-dragging='true']
11942
12748
  grid-row: 2;
11943
12749
  overflow-y: auto;
11944
12750
  min-height: 0;
11945
- justify-content: center;
12751
+ /* `safe` falls back to flex-start on overflow. Without it, centered overflow
12752
+ pushes the top half above scrollTop=0 where it's unreachable. */
12753
+ justify-content: safe center;
11946
12754
  /* Zero gap between items - they touch vertically */
11947
12755
  gap: var(--gap-none);
11948
12756
 
@@ -11984,6 +12792,13 @@ aside[role='navigation'].sidebar[data-dragging='true']
11984
12792
  padding-block-start: var(--gap-md);
11985
12793
  }
11986
12794
 
12795
+ /* Reduce Section padding when inside sidebar - sidebar space is precious */
12796
+
12797
+ .sidebar-content .dndev-section-content {
12798
+ padding-inline: var(--gap-sm);
12799
+ padding-block: var(--gap-sm);
12800
+ }
12801
+
11987
12802
  /* Interactive elements in all zones: full width */
11988
12803
 
11989
12804
  .sidebar-top .dndev-interactive,
@@ -12068,6 +12883,12 @@ aside.sidebar[role='navigation'][data-collapsed='true'] .app-branding {
12068
12883
  display: none;
12069
12884
  }
12070
12885
 
12886
+ /* Custom sidebar content: hide labeled text, keep icons */
12887
+
12888
+ aside.sidebar[role='navigation'][data-collapsed='true'] .sidebar-collapsible {
12889
+ display: none;
12890
+ }
12891
+
12071
12892
  /* Main content: Starts at header-height and sidebar-width */
12072
12893
 
12073
12894
  main[role='main'] {
@@ -12091,26 +12912,25 @@ main[role='main'] > *:not(.breadcrumbs-container):first-of-type,main[role='main'
12091
12912
  /* box-sizing: border-box ensures borders are included in height */
12092
12913
 
12093
12914
  footer[role='contentinfo'] {
12915
+ /* Structural - always applies */
12094
12916
  grid-area: footer;
12095
12917
  box-sizing: border-box;
12096
12918
  grid-column: 1 / -1;
12097
- min-height: var(--footer-height);
12098
12919
  z-index: var(--z-footer);
12099
-
12100
- background: var(--background);
12101
- border-top: var(--border-hairline) solid var(--border);
12102
-
12103
- /* Flex container for vertical centering only - components handle horizontal layout */
12104
12920
  display: flex;
12105
12921
  align-items: center;
12106
-
12107
- /* No padding - preset components handle their own spacing */
12108
12922
  padding: 0;
12923
+ }
12109
12924
 
12110
- /* Children take full width and height - components handle their own layout */
12925
+ /* Footer sizing + visual polish - slotted mode only (custom mode owns its own visuals) */
12926
+
12927
+ footer[role='contentinfo']:not([data-custom]) {
12928
+ min-height: var(--footer-height);
12929
+ background: var(--background);
12930
+ border-top: var(--border-hairline) solid var(--border);
12111
12931
  }
12112
12932
 
12113
- footer[role='contentinfo'] > * {
12933
+ footer[role='contentinfo']:not([data-custom]) > * {
12114
12934
  width: 100%;
12115
12935
  height: 100%;
12116
12936
  padding-inline-start: var(--content-padding);
@@ -12121,24 +12941,24 @@ footer[role='contentinfo'] > * {
12121
12941
 
12122
12942
  @media (width <=1023px) {
12123
12943
 
12124
- footer[role='contentinfo'] {
12944
+ footer[role='contentinfo']:not([data-custom]) {
12125
12945
  height: auto;
12126
12946
  }
12127
12947
 
12128
- footer[role='contentinfo'] > * {
12948
+ footer[role='contentinfo']:not([data-custom]) > * {
12129
12949
  height: auto;
12130
12950
  min-height: var(--footer-height);
12131
12951
  }
12132
12952
  }
12133
12953
 
12134
- /* Footer text styles */
12954
+ /* Footer text styles - slotted mode only */
12135
12955
 
12136
- footer[role='contentinfo'] .footer-copyright {
12956
+ footer[role='contentinfo']:not([data-custom]) .footer-copyright {
12137
12957
  color: var(--muted-foreground);
12138
12958
  font-size: var(--font-size-xs);
12139
12959
  }
12140
12960
 
12141
- footer[role='contentinfo'] a:not(.dndev-interactive) {
12961
+ footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive) {
12142
12962
  transition: color var(--dur-fast) ease-out;
12143
12963
  text-decoration: underline;
12144
12964
  text-underline-offset: 2px;
@@ -12147,7 +12967,7 @@ footer[role='contentinfo'] a:not(.dndev-interactive) {
12147
12967
  background: transparent;
12148
12968
  }
12149
12969
 
12150
- footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12970
+ footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive):hover {
12151
12971
  color: var(--primary);
12152
12972
  }
12153
12973
 
@@ -12205,41 +13025,25 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12205
13025
  /* Mobile (<1024px): Show merged-bar, hide zones */
12206
13026
 
12207
13027
  @media (width <=1023px) {
12208
- /* Presets with mergedBar: top (admin, moolti, game, docs) */
12209
- [data-layout='admin'] .merged-bar[data-position='top'],
12210
- [data-layout='moolti'] .merged-bar[data-position='top'],
12211
- [data-layout='game'] .merged-bar[data-position='top'],
12212
- [data-layout='docs'] .merged-bar[data-position='top'] {
13028
+ /* Generic: show mergedBar on mobile when rendered (DnDevLayout only renders it when config has mobile.mergedBar) */
13029
+ .merged-bar[data-position='top'],
13030
+ .merged-bar[data-position='bottom'] {
12213
13031
  display: flex;
12214
13032
  }
12215
13033
 
12216
- [data-layout='admin'] .dndev-layout,
12217
- [data-layout='moolti'] .dndev-layout,
12218
- [data-layout='game'] .dndev-layout,
12219
- [data-layout='docs'] .dndev-layout {
12220
- /* Remove padding-top - grid already accounts for header-height, mergedBar is fixed and doesn't affect grid flow */
12221
- /* Content won't go under mergedBar because grid positions main after header row */
12222
- }
12223
-
12224
- [data-layout='admin'] header[role='banner'],
12225
- [data-layout='moolti'] header[role='banner'],
12226
- [data-layout='game'] header[role='banner'],
12227
- [data-layout='docs'] header[role='banner'] {
13034
+ /* Generic: hide header on mobile when mergedBar replaces it */
13035
+ .dndev-layout[data-has-mergedbar] header[role='banner'] {
12228
13036
  display: none;
12229
13037
  }
12230
13038
 
12231
- /* Presets with mergedBar: bottom (blog) */
12232
- [data-layout='blog'] .merged-bar[data-position='bottom'] {
12233
- display: flex;
13039
+ /* Bottom mergedBar: hide footer + add safe-area padding */
13040
+ .dndev-layout:has(.merged-bar[data-position='bottom'])
13041
+ > footer[role='contentinfo'] {
13042
+ display: none;
12234
13043
  }
12235
-
12236
- [data-layout='blog'] .dndev-layout {
13044
+ .dndev-layout:has(.merged-bar[data-position='bottom']) {
12237
13045
  padding-bottom: calc(48px + env(safe-area-inset-bottom));
12238
13046
  }
12239
-
12240
- [data-layout='blog'] footer[role='contentinfo'] {
12241
- display: none;
12242
- }
12243
13047
  }
12244
13048
 
12245
13049
  /* Desktop (>=1024px): Always hide merged-bar */
@@ -12515,7 +13319,7 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12515
13319
 
12516
13320
  .dndev-container {
12517
13321
  width: 100%;
12518
- max-width: var(--content-width);
13322
+ max-width: var(--max-content-width);
12519
13323
  min-width: 0; /* Allow shrinking in flex so max-width wins */
12520
13324
  flex: 1 1 auto;
12521
13325
 
@@ -12562,25 +13366,29 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12562
13366
  max-width: none;
12563
13367
  }
12564
13368
 
12565
- /* Standard width - responsive */
13369
+ /* Standard width - responsive.
13370
+ Base rule `max-width: var(--max-content-width)` picks up the local override.
13371
+ Do NOT add an explicit `max-width: var(--content-width)` here — `--content-width`
13372
+ is resolved eagerly at :root (where --max-content-width is 100%) and inherits as
13373
+ 100%, overriding the local variant. The base rule reads --max-content-width
13374
+ directly at the element and gets the correct value. */
12566
13375
 
12567
13376
  .dndev-container[data-variant='standard'] {
12568
13377
  --max-content-width: var(--content-width-standard);
12569
- max-width: var(--content-width);
12570
13378
  }
12571
13379
 
12572
- /* Docs width - responsive */
13380
+ /* Docs width - responsive. See [data-variant='standard'] for why there's no
13381
+ explicit max-width here. */
12573
13382
 
12574
13383
  .dndev-container[data-variant='docs'] {
12575
13384
  --max-content-width: var(--content-width-docs);
12576
- max-width: var(--content-width);
12577
13385
  }
12578
13386
 
12579
- /* Narrow width - mobile-first single column (PWA, app-like on every device) */
13387
+ /* Narrow width - mobile-first single column (PWA, app-like on every device).
13388
+ See [data-variant='standard'] for why there's no explicit max-width here. */
12580
13389
 
12581
13390
  .dndev-container[data-variant='narrow'] {
12582
13391
  --max-content-width: var(--content-width-narrow);
12583
- max-width: var(--content-width);
12584
13392
  }
12585
13393
 
12586
13394
  /* Fixed frame - fills parent exactly, prevents parent scroll */
@@ -12632,8 +13440,11 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12632
13440
  .dndev-container > .dndev-tech-bento {
12633
13441
  /* Break out of PageContainer padding and max-width constraint */
12634
13442
  /* Account for sidebar: --sidebar-width is 0px for presets without sidebar */
13443
+ width: calc(100vw - var(--sidebar-width));
12635
13444
  width: calc(100dvw - var(--sidebar-width));
13445
+ max-width: calc(100vw - var(--sidebar-width));
12636
13446
  max-width: calc(100dvw - var(--sidebar-width));
13447
+ margin-inline: calc((-50vw + var(--sidebar-width) / 2) + 50%);
12637
13448
  margin-inline: calc((-50dvw + var(--sidebar-width) / 2) + 50%);
12638
13449
  /* Eat gap BEFORE section only */
12639
13450
  margin-top: calc(-1 * var(--gap-lg));
@@ -12642,11 +13453,15 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12642
13453
  --content-width: var(--max-content-width, 100%);
12643
13454
  }
12644
13455
 
12645
- /* HeroSection: only breakthrough when it has fullHeight (needs full viewport background) */
13456
+ /* HeroSection: breakthrough when fullHeight or contain mode */
12646
13457
 
12647
- .dndev-container > .dndev-hero-section[style*='height'] {
13458
+ .dndev-container > .dndev-hero-section[style*='height'],
13459
+ .dndev-container > .dndev-hero-section--bg-contain {
13460
+ width: calc(100vw - var(--sidebar-width));
12648
13461
  width: calc(100dvw - var(--sidebar-width));
13462
+ max-width: calc(100vw - var(--sidebar-width));
12649
13463
  max-width: calc(100dvw - var(--sidebar-width));
13464
+ margin-inline: calc((-50vw + var(--sidebar-width) / 2) + 50%);
12650
13465
  margin-inline: calc((-50dvw + var(--sidebar-width) / 2) + 50%);
12651
13466
  margin-top: calc(-1 * var(--gap-lg));
12652
13467
  margin-bottom: 0;