@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
@@ -28,7 +28,8 @@
28
28
  Standard touch-friendly sizing for all interactive components
29
29
  =========================== */
30
30
  --touch-target: 48px;
31
- --icon-md: 24px; /* Standard icon size */
31
+ --icon-sm: 16px; /* Nested icon size (inside inputs, action buttons, badges) */
32
+ --icon-md: 24px; /* Standard standalone icon size */
32
33
  --icon-touch: 32px; /* Large icon size (reserved) */
33
34
 
34
35
  /* ===========================
@@ -133,6 +134,13 @@
133
134
  --popover: var(--card);
134
135
  --popover-foreground: var(--card-foreground);
135
136
 
137
+ /*
138
+ * Interactive surface — background for inputs (.dndev-input) and outline
139
+ * buttons (.dndev-interactive[data-variant='outline']). Parallel to --card
140
+ * for containers. Defaults to transparent so apps opt in via themes.css.
141
+ */
142
+ --interactive: transparent;
143
+
136
144
  /*
137
145
  * Root card snapshot — computed once on :root from --card/--card-foreground,
138
146
  * then inherited unchanged. Variant blocks (e.g. primary) override --card but
@@ -181,6 +189,7 @@
181
189
  --font-size-xs: 0.75rem; /* 12px - captions, shortcuts, meta */
182
190
  --font-size-sm: 0.875rem; /* 14px - small text, captions */
183
191
  --font-size-base: 1rem; /* 16px - body text, DEFAULT */
192
+ --font-size-input: 16px; /* Form field text - hardcoded for iOS zoom + density-proof */
184
193
  --font-size-lg: 1.25rem; /* 20px - base × 1.25¹ - emphasized text */
185
194
  --font-size-xl: 1.563rem; /* 25px - base × 1.25² - headings */
186
195
  --font-size-2xl: 1.953rem; /* 31px - base × 1.25³ - large headings */
@@ -274,6 +283,15 @@
274
283
  --will-change-transform: transform;
275
284
  --will-change-none: auto;
276
285
 
286
+ /* ===========================
287
+ INTERACTION EFFECTS
288
+ Micro-interactions for buttons and interactive elements.
289
+ Set to 0/1 to disable individual effects.
290
+ =========================== */
291
+ --hover-lift: 0; /* translateY on hover (0 = disabled) */
292
+ --click-scale: 0.97; /* scale on click (1 = disabled) */
293
+ --ripple-opacity: 0.2; /* ripple effect opacity (0 = disabled) */
294
+
277
295
  /* ===========================
278
296
  OPACITY SYSTEM
279
297
  Standard scale: 0, 0.3, 0.6, 0.9, 1
@@ -582,6 +600,7 @@ body {
582
600
 
583
601
  body {
584
602
  font-family: var(--font-family, var(--font-sans));
603
+ min-height: 100vh;
585
604
  min-height: 100dvh;
586
605
  line-height: var(--line-height);
587
606
  text-rendering: optimizeSpeed;
@@ -781,13 +800,13 @@ em {
781
800
  width: 100%;
782
801
  border-radius: var(--radius-interactive);
783
802
  border: var(--border-hairline) solid var(--line-2);
784
- background-color: transparent;
803
+ background-color: var(--interactive, transparent);
785
804
  color: var(--foreground);
786
805
  padding-inline-start: var(--gap-md);
787
806
  padding-inline-end: var(--gap-md);
788
807
  padding-top: var(--gap-sm);
789
808
  padding-bottom: var(--gap-sm);
790
- font-size: max(16px, var(--font-size-base));
809
+ font-size: var(--font-size-input);
791
810
  box-shadow: var(--shadow-sm);
792
811
  transition: all var(--dur-normal) var(--ease-in-out);
793
812
  /* Touch target for mobile */
@@ -807,10 +826,12 @@ em {
807
826
 
808
827
  .dndev-input::-moz-placeholder {
809
828
  color: var(--placeholder);
829
+ font-size: var(--font-size-input);
810
830
  }
811
831
 
812
832
  .dndev-input::placeholder {
813
833
  color: var(--placeholder);
834
+ font-size: var(--font-size-input);
814
835
  }
815
836
 
816
837
  .dndev-input:hover {
@@ -866,6 +887,56 @@ em {
866
887
  color: var(--placeholder);
867
888
  }
868
889
 
890
+ /* ===========================
891
+ INLINE ACTION BUTTONS
892
+ =========================== */
893
+
894
+ /** Shared pattern for inline clear/action buttons inside input-like components.
895
+ * Used by: Combobox trailing buttons, RangeInput clear, DateFilter clear. */
896
+
897
+ .dndev-inline-action-btn {
898
+ all: unset;
899
+ display: flex;
900
+ align-items: center;
901
+ justify-content: center;
902
+ width: var(--touch-target);
903
+ height: 100%;
904
+ cursor: pointer;
905
+ color: var(--muted-foreground);
906
+ opacity: var(--opacity-muted, 0.5);
907
+ transition:
908
+ color var(--dur-fast) var(--ease-in-out),
909
+ opacity var(--dur-fast) var(--ease-in-out);
910
+ }
911
+
912
+ .dndev-inline-action-btn:hover:not(:disabled) {
913
+ opacity: 1;
914
+ color: var(--foreground);
915
+ }
916
+
917
+ .dndev-inline-action-btn:focus-visible {
918
+ opacity: 1;
919
+ color: var(--foreground);
920
+ outline: none;
921
+ box-shadow:
922
+ 0 0 0 2px var(--ring),
923
+ 0 0 0 4px rgb(from var(--ring) r g b / 0.2);
924
+ }
925
+
926
+ .dndev-inline-action-btn:active:not(:disabled) {
927
+ opacity: 0.8;
928
+ }
929
+
930
+ .dndev-inline-action-btn:disabled {
931
+ cursor: not-allowed;
932
+ opacity: calc(var(--opacity-muted, 0.5) * 0.5);
933
+ }
934
+
935
+ .dndev-inline-action-btn svg {
936
+ width: var(--icon-sm);
937
+ height: var(--icon-sm);
938
+ }
939
+
869
940
  /* Control base class - checkbox, radio, switch, slider */
870
941
 
871
942
  .dndev-control {
@@ -1408,6 +1479,8 @@ em {
1408
1479
  */
1409
1480
 
1410
1481
  .dndev-interactive {
1482
+ position: relative;
1483
+ overflow: hidden;
1411
1484
  display: flex;
1412
1485
  align-items: center;
1413
1486
  justify-content: center;
@@ -1418,7 +1491,11 @@ em {
1418
1491
  font-size: var(--font-size-base);
1419
1492
  font-weight: var(--font-weight-medium);
1420
1493
  text-transform: var(--text-transform-button, none);
1421
- transition: var(--transition-fast);
1494
+ transition:
1495
+ background var(--dur-fast) var(--ease-in-out),
1496
+ color var(--dur-fast) var(--ease-in-out),
1497
+ box-shadow var(--dur-fast) var(--ease-in-out),
1498
+ border-color var(--dur-fast) var(--ease-in-out);
1422
1499
  cursor: pointer;
1423
1500
  border: var(--border-hairline) solid transparent;
1424
1501
  /* Base - filled primary (industry standard) */
@@ -1433,7 +1510,7 @@ em {
1433
1510
  }
1434
1511
 
1435
1512
  .dndev-interactive:active:not(:disabled) {
1436
- scale: 0.97;
1513
+ transform: scale(var(--click-scale));
1437
1514
  }
1438
1515
 
1439
1516
  .dndev-interactive:focus-visible {
@@ -1446,6 +1523,16 @@ em {
1446
1523
  opacity: var(--opacity-muted);
1447
1524
  }
1448
1525
 
1526
+ /* Ripple effect element (injected by JS) */
1527
+
1528
+ .dndev-interactive .dndev-ripple {
1529
+ position: absolute;
1530
+ border-radius: 50%;
1531
+ background: currentColor;
1532
+ pointer-events: none;
1533
+ animation: dndev-ripple var(--dur-slow) var(--ease-in-out) forwards;
1534
+ }
1535
+
1449
1536
  .dndev-interactive[data-display='compact'] {
1450
1537
  width: var(--touch-target);
1451
1538
  height: var(--touch-target);
@@ -1508,17 +1595,34 @@ em {
1508
1595
  }
1509
1596
 
1510
1597
  /* ═══════════════════════════
1511
- GHOST VARIANTS — hover = subtle tint + text color shift
1598
+ TRANSPARENT VARIANTS
1512
1599
  ═══════════════════════════ */
1513
1600
 
1514
- /* Shared ghost hover — one rule for all transparent interactive elements */
1601
+ /* Outline — themeable interactive surface (parallel to --card) */
1602
+
1603
+ .dndev-interactive[data-variant='outline'] {
1604
+ background: var(--interactive, transparent);
1605
+ color: var(--foreground);
1606
+ }
1607
+
1608
+ /* Ghost / nav / menu / command — transparent by design */
1515
1609
 
1516
- .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'] {
1610
+ .dndev-interactive[data-variant='ghost'],.dndev-interactive[data-role='nav-trigger'],.dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'] {
1517
1611
  background: transparent;
1518
1612
  color: var(--foreground);
1519
1613
  }
1520
1614
 
1521
- :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 {
1615
+ /* Ghost — hover = font color only, no bg, no lift */
1616
+
1617
+ .dndev-interactive[data-variant='ghost']:hover {
1618
+ background: transparent;
1619
+ color: var(--primary);
1620
+ transform: none;
1621
+ }
1622
+
1623
+ /* Outline / menu / nav — hover = subtle tint + text color shift */
1624
+
1625
+ :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 {
1522
1626
  background: rgb(from var(--primary) r g b / 0.1);
1523
1627
  color: var(--primary);
1524
1628
  }
@@ -1556,7 +1660,9 @@ em {
1556
1660
  }
1557
1661
 
1558
1662
  .dndev-interactive[data-variant='link']:hover {
1663
+ background: transparent;
1559
1664
  color: var(--primary);
1665
+ transform: none;
1560
1666
  }
1561
1667
 
1562
1668
  /* Context-aware: ONLY inside accent surfaces */
@@ -1568,18 +1674,28 @@ em {
1568
1674
  color: var(--surface-bg);
1569
1675
  }
1570
1676
 
1571
- /* Outline/Ghost adapt */
1677
+ /* Outline adapts with tint */
1572
1678
 
1573
- [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) {
1679
+ [data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
1574
1680
  color: var(--surface-text);
1575
1681
  }
1576
1682
 
1577
- :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 {
1683
+ [data-variant='outline']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
1578
1684
  background: rgb(from var(--surface-text) r g b / 0.1);
1579
1685
  color: var(--surface-text);
1580
1686
  }
1581
1687
 
1582
- /* Unified menu/command/nav item base — ghost hover inherited from shared rule above */
1688
+ /* Ghost adapts — font color only */
1689
+
1690
+ [data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive) {
1691
+ color: var(--surface-text);
1692
+ }
1693
+
1694
+ [data-variant='ghost']:is(.dndev-surface[data-variant='accent'] .dndev-interactive,.dndev-floating[data-variant='accent'] .dndev-interactive):hover {
1695
+ color: var(--surface-text);
1696
+ }
1697
+
1698
+ /* Unified menu/command/nav item base */
1583
1699
 
1584
1700
  .dndev-interactive[data-role='menu-item'],.dndev-interactive[data-role='command-item'],.dndev-interactive[data-role='nav-trigger'] {
1585
1701
  min-height: auto;
@@ -1758,7 +1874,7 @@ em {
1758
1874
 
1759
1875
  .dndev-control-group {
1760
1876
  display: grid;
1761
- gap: var(--gap-md); /* 16px - standard spacing between grouped items */
1877
+ gap: var(--gap-sm); /* 8px - tighter spacing for control groups */
1762
1878
 
1763
1879
  /* Control + label pattern - used by RadioGroup, CheckboxFieldComponent, etc. */
1764
1880
  }
@@ -1767,7 +1883,7 @@ em {
1767
1883
  display: flex;
1768
1884
  align-items: center;
1769
1885
  gap: var(--gap-sm); /* 8px - spacing between control and label */
1770
- font-size: var(--font-size-base);
1886
+ font-size: var(--font-size-input);
1771
1887
  color: var(--foreground);
1772
1888
  cursor: pointer;
1773
1889
  transition: color var(--transition-fast);
@@ -2465,19 +2581,52 @@ em {
2465
2581
 
2466
2582
  /* packages/components/src/atomic/Alert/Alert.css */
2467
2583
 
2584
+ /**
2585
+ * Modern inline alert - subtle tint treatment.
2586
+ * Overrides .dndev-surface heaviness (shadow, gradient, asymmetric padding).
2587
+ * Pattern: GitHub Primer / Linear - tinted bg, semantic border, no elevation.
2588
+ */
2589
+
2468
2590
  .dndev-surface[role='alert'] {
2469
- display: flex;
2470
- /* Variants handled by .dndev-surface variants in patterns.css via CSS variables */
2591
+ /* Subtle tint: variant color at 8% over transparent */
2592
+ background: color-mix(in oklab, var(--card) 8%, transparent);
2593
+ /* Foreground: page default for readability on subtle bg */
2594
+ color: var(--foreground);
2595
+ /* Semantic border: variant color at 25% */
2596
+ border: var(--border-hairline) solid
2597
+ color-mix(in oklab, var(--card) 25%, transparent);
2598
+ /* No elevation on inline alerts */
2599
+ box-shadow: none;
2600
+ /* Tight symmetric padding */
2601
+ padding: var(--gap-sm) var(--gap-md);
2471
2602
  }
2472
2603
 
2604
+ /* Icon: variant-colored, optically aligned to first text line */
2605
+
2606
+ .dndev-alert-icon {
2607
+ color: var(--card);
2608
+ width: 1rem;
2609
+ height: 1rem;
2610
+ flex-shrink: 0;
2611
+ margin-block-start: 0.125rem;
2612
+ }
2613
+
2614
+ /* Title: variant-colored, semibold, compact */
2615
+
2473
2616
  .dndev-alert-title {
2474
- font-weight: var(--font-weight-medium);
2475
- line-height: 1;
2617
+ color: var(--card);
2618
+ font-weight: var(--font-weight-semibold);
2619
+ font-size: var(--font-size-sm);
2620
+ line-height: 1.25;
2476
2621
  letter-spacing: -0.025em;
2477
2622
  }
2478
2623
 
2624
+ /* Description: default foreground, slightly dimmed */
2625
+
2479
2626
  .dndev-alert-description {
2480
2627
  font-size: var(--font-size-sm);
2628
+ line-height: 1.4;
2629
+ opacity: 0.85;
2481
2630
  }
2482
2631
 
2483
2632
  /* packages/components/src/atomic/Avatar/Avatar.css */
@@ -3333,6 +3482,274 @@ em {
3333
3482
  visibility: hidden;
3334
3483
  }
3335
3484
 
3485
+ /* packages/components/src/atomic/DatePicker/DatePicker.css */
3486
+
3487
+ /**
3488
+ * DatePicker Component Styles
3489
+ * Segmented date input with calendar popover.
3490
+ * Mobile: falls back to native <input type="date"> via @media (pointer: coarse).
3491
+ */
3492
+
3493
+ /* ===========================
3494
+ ROOT CONTAINER
3495
+ =========================== */
3496
+
3497
+ .dndev-datepicker {
3498
+ position: relative;
3499
+ display: inline-flex;
3500
+ align-items: center;
3501
+ width: 100%;
3502
+ }
3503
+
3504
+ /* ===========================
3505
+ DESKTOP: SEGMENTED INPUT
3506
+ =========================== */
3507
+
3508
+ .dndev-datepicker-custom {
3509
+ display: flex;
3510
+ align-items: center;
3511
+ width: 100%;
3512
+ }
3513
+
3514
+ /* Input-like container (mirrors .dndev-input from patterns.css) */
3515
+
3516
+ .dndev-datepicker-field {
3517
+ display: flex;
3518
+ align-items: center;
3519
+ width: 100%;
3520
+ min-height: var(--touch-target);
3521
+ border-radius: var(--radius-interactive);
3522
+ border: var(--border-hairline) solid var(--line-2);
3523
+ background-color: transparent;
3524
+ color: var(--foreground);
3525
+ padding-inline-start: var(--gap-md);
3526
+ padding-inline-end: 0;
3527
+ font-size: var(--font-size-input);
3528
+ box-shadow: var(--shadow-sm);
3529
+ transition: all var(--dur-normal) var(--ease-in-out);
3530
+ touch-action: manipulation;
3531
+ cursor: text;
3532
+ }
3533
+
3534
+ /* Bare mode inside FloatingLabel (fieldset provides border) */
3535
+
3536
+ .dndev-datepicker-field[data-bare] {
3537
+ border: none;
3538
+ box-shadow: none;
3539
+ background: transparent;
3540
+ }
3541
+
3542
+ /* Hover */
3543
+
3544
+ .dndev-datepicker-field:hover {
3545
+ border-color: var(--ring);
3546
+ }
3547
+
3548
+ /* Focus-within */
3549
+
3550
+ .dndev-datepicker-field:focus-within {
3551
+ border-color: var(--ring);
3552
+ outline: none;
3553
+ box-shadow: var(--shadow-focus);
3554
+ }
3555
+
3556
+ /* Focus-within bare (FloatingLabel handles outer border) */
3557
+
3558
+ .dndev-datepicker-field[data-bare]:focus-within {
3559
+ box-shadow: none;
3560
+ }
3561
+
3562
+ /* Error state */
3563
+
3564
+ .dndev-datepicker-field[aria-invalid='true'],
3565
+ .dndev-datepicker-field[data-variant='destructive'] {
3566
+ border-color: var(--destructive);
3567
+ }
3568
+
3569
+ /* Disabled */
3570
+
3571
+ .dndev-datepicker-field[data-disabled] {
3572
+ cursor: not-allowed;
3573
+ opacity: var(--opacity-muted);
3574
+ }
3575
+
3576
+ /* ===========================
3577
+ SEGMENTS AREA
3578
+ =========================== */
3579
+
3580
+ .dndev-datepicker-segments {
3581
+ display: flex;
3582
+ align-items: center;
3583
+ flex: 1;
3584
+ min-width: 0;
3585
+ }
3586
+
3587
+ /* ===========================
3588
+ SEGMENTS
3589
+ =========================== */
3590
+
3591
+ .dndev-datepicker-segment {
3592
+ display: inline-flex;
3593
+ align-items: center;
3594
+ justify-content: center;
3595
+ padding: var(--gap-tight) 1px;
3596
+ border-radius: 2px;
3597
+ font-variant-numeric: tabular-nums;
3598
+ caret-color: transparent;
3599
+ outline: none;
3600
+ min-width: 2ch;
3601
+ text-align: center;
3602
+ -webkit-user-select: none;
3603
+ -moz-user-select: none;
3604
+ user-select: none;
3605
+ }
3606
+
3607
+ /* Year segment needs more room */
3608
+
3609
+ .dndev-datepicker-segment[data-type='year'] {
3610
+ min-width: 4ch;
3611
+ }
3612
+
3613
+ /* Placeholder text */
3614
+
3615
+ .dndev-datepicker-segment[data-placeholder] {
3616
+ color: var(--placeholder);
3617
+ }
3618
+
3619
+ /* Focused segment highlight */
3620
+
3621
+ .dndev-datepicker-segment:focus {
3622
+ background-color: var(--accent);
3623
+ color: var(--accent-foreground);
3624
+ outline: none;
3625
+ }
3626
+
3627
+ /* Separator between segments */
3628
+
3629
+ .dndev-datepicker-separator {
3630
+ color: var(--muted-foreground);
3631
+ padding: 0 1px;
3632
+ -webkit-user-select: none;
3633
+ -moz-user-select: none;
3634
+ user-select: none;
3635
+ }
3636
+
3637
+ /* ===========================
3638
+ CALENDAR TRIGGER BUTTON (inside field)
3639
+ =========================== */
3640
+
3641
+ /* Extends .dndev-inline-action-btn from patterns.css */
3642
+
3643
+ .dndev-datepicker-calendar-btn {
3644
+ flex-shrink: 0;
3645
+ margin-inline-start: auto;
3646
+ }
3647
+
3648
+ /* ===========================
3649
+ POPOVER
3650
+ =========================== */
3651
+
3652
+ .dndev-datepicker-popover {
3653
+ padding: 0;
3654
+ }
3655
+
3656
+ /* Fix: .dndev-floating .dndev-interactive overrides width/justify on ALL
3657
+ interactive children. Calendar needs its own sizing - undo the override. */
3658
+
3659
+ .dndev-datepicker-popover .dndev-interactive {
3660
+ width: auto;
3661
+ justify-content: center;
3662
+ }
3663
+
3664
+ /* Calendar nav buttons: restore absolute-positioned fixed size */
3665
+
3666
+ .dndev-datepicker-popover .dndev-calendar-nav-button {
3667
+ width: var(--touch-target);
3668
+ }
3669
+
3670
+ /* Calendar day buttons: restore fixed cell size */
3671
+
3672
+ .dndev-datepicker-popover .dndev-calendar-day-button {
3673
+ width: var(--touch-target);
3674
+ }
3675
+
3676
+ /* Calendar dropdown triggers: restore full-width inside their cell */
3677
+
3678
+ .dndev-datepicker-popover .dndev-calendar-dropdown-trigger {
3679
+ width: 100%;
3680
+ }
3681
+
3682
+ /* ===========================
3683
+ MOBILE: NATIVE INPUT FALLBACK
3684
+ =========================== */
3685
+
3686
+ .dndev-datepicker-native {
3687
+ display: none;
3688
+ }
3689
+
3690
+ @media (pointer: coarse) {
3691
+ .dndev-datepicker-custom {
3692
+ display: none;
3693
+ }
3694
+
3695
+ .dndev-datepicker-native {
3696
+ display: flex;
3697
+ width: 100%;
3698
+ }
3699
+ }
3700
+
3701
+ /* ===========================
3702
+ SCREEN READER LIVE REGION
3703
+ =========================== */
3704
+
3705
+ .dndev-datepicker-live {
3706
+ position: absolute;
3707
+ width: 1px;
3708
+ height: 1px;
3709
+ padding: 0;
3710
+ margin: -1px;
3711
+ overflow: hidden;
3712
+ clip: rect(0, 0, 0, 0);
3713
+ white-space: nowrap;
3714
+ border: 0;
3715
+ }
3716
+
3717
+ /* ===========================
3718
+ DISABLED STATE (root)
3719
+ =========================== */
3720
+
3721
+ .dndev-datepicker[data-disabled] {
3722
+ pointer-events: none;
3723
+ }
3724
+
3725
+ /* packages/components/src/atomic/DateTimePicker/DateTimePicker.css */
3726
+
3727
+ /**
3728
+ * DateTimePicker Component Styles
3729
+ * Extends DatePicker styles with time-segment-specific layout.
3730
+ * Reuses .dndev-datepicker-* classes from DatePicker.css for shared elements
3731
+ * (field, segment, separator, calendar-btn, popover, native, live).
3732
+ */
3733
+
3734
+ /* ===========================
3735
+ CUSTOM INPUT CONTAINER
3736
+ =========================== */
3737
+
3738
+ .dndev-datetimepicker-custom {
3739
+ display: flex;
3740
+ align-items: center;
3741
+ width: 100%;
3742
+ }
3743
+
3744
+ /* ===========================
3745
+ DATE / TIME SPACER
3746
+ =========================== */
3747
+
3748
+ .dndev-datetimepicker-spacer {
3749
+ width: var(--gap-md);
3750
+ flex-shrink: 0;
3751
+ }
3752
+
3336
3753
  /* packages/components/src/atomic/CallToAction/CallToAction.css */
3337
3754
 
3338
3755
  .dndev-cta {
@@ -3364,6 +3781,11 @@ em {
3364
3781
  color: var(--card);
3365
3782
  }
3366
3783
 
3784
+ .dndev-cta[data-tone='primary'] {
3785
+ background: var(--primary);
3786
+ color: var(--primary-foreground);
3787
+ }
3788
+
3367
3789
  .dndev-cta[data-tone='accent'] {
3368
3790
  background: color-mix(in oklab, var(--accent) 5%, transparent);
3369
3791
  }
@@ -3485,6 +3907,7 @@ em {
3485
3907
  .dndev-cta-actions {
3486
3908
  display: flex;
3487
3909
  flex-direction: row;
3910
+ flex-wrap: wrap;
3488
3911
  gap: var(--gap-md);
3489
3912
  justify-content: center;
3490
3913
  }
@@ -3493,45 +3916,102 @@ em {
3493
3916
  min-width: 150px;
3494
3917
  }
3495
3918
 
3496
- /* Button contrast overrides */
3919
+ /* Button overrides scoped to primary tone */
3497
3920
 
3498
- .dndev-cta-actions .dndev-interactive[data-variant='primary'] {
3499
- background: var(--foreground);
3500
- /* --card not --background: inverted text must be opaque */
3501
- color: var(--card);
3502
- border-color: var(--foreground);
3921
+ :is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='primary'] {
3922
+ background: var(--primary-foreground);
3923
+ color: var(--primary);
3924
+ border-color: var(--primary-foreground);
3925
+ }
3926
+
3927
+ :is(:is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='primary']):hover {
3928
+ background: var(--accent);
3929
+ color: var(--accent-foreground);
3930
+ border-color: var(--accent);
3931
+ }
3932
+
3933
+ :is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='outline'] {
3934
+ background: transparent;
3935
+ color: var(--primary-foreground);
3936
+ border-color: var(--primary-foreground);
3503
3937
  }
3504
3938
 
3505
- :is(.dndev-cta-actions .dndev-interactive[data-variant='primary']):hover {
3939
+ :is(:is(.dndev-cta[data-tone='primary'] .dndev-cta-actions) .dndev-interactive[data-variant='outline']):hover {
3940
+ background: var(--primary-foreground);
3941
+ color: var(--primary);
3942
+ border-color: var(--primary-foreground);
3943
+ }
3944
+
3945
+ /* Button overrides scoped to contrast tone */
3946
+
3947
+ :is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='primary'] {
3948
+ background: var(--card);
3949
+ color: var(--foreground);
3950
+ border-color: var(--card);
3951
+ }
3952
+
3953
+ :is(:is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='primary']):hover {
3506
3954
  background: var(--primary);
3507
3955
  color: var(--primary-foreground);
3508
3956
  border-color: var(--primary);
3509
3957
  }
3510
3958
 
3511
- .dndev-cta-actions .dndev-interactive[data-variant='outline'] {
3959
+ :is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='outline'] {
3512
3960
  background: transparent;
3513
- color: var(--foreground);
3514
- border-color: var(--foreground);
3961
+ color: var(--card);
3962
+ border-color: var(--card);
3515
3963
  }
3516
3964
 
3517
- :is(.dndev-cta-actions .dndev-interactive[data-variant='outline']):hover {
3518
- background: var(--foreground);
3519
- /* --card not --background: inverted text must be opaque */
3520
- color: var(--card);
3521
- border-color: var(--foreground);
3965
+ :is(:is(.dndev-cta[data-tone='contrast'] .dndev-cta-actions) .dndev-interactive[data-variant='outline']):hover {
3966
+ background: var(--card);
3967
+ color: var(--foreground);
3968
+ border-color: var(--card);
3522
3969
  }
3523
3970
 
3524
3971
  /* packages/components/src/atomic/Card/Card.css */
3525
3972
 
3526
- /* Card layout - grid with gap */
3973
+ /* Card root — when a cover is present, move padding off the root so the cover
3974
+ sits flush to the rounded corners. Padding is re-applied inside the body
3975
+ slot (which is the only thing that needs it). Non-cover cards keep the
3976
+ legacy layout so existing consumers render identically. */
3527
3977
 
3528
3978
  .dndev-card {
3529
3979
  display: grid;
3530
3980
  gap: var(--gap-md);
3531
3981
  text-align: start;
3532
3982
  align-content: start;
3983
+ position: relative;
3984
+ }
3985
+
3986
+ .dndev-surface.dndev-card[data-has-cover='true'] {
3987
+ padding: 0;
3988
+ overflow: hidden;
3989
+ position: relative;
3990
+ /* Remove the grid gap — cover and body are stacked vertically via flow and
3991
+ must sit flush (cover edges meet body edge with no gutter). */
3992
+ gap: 0;
3993
+ }
3994
+
3995
+ /* Body slot — the padded region that holds header/content/footer.
3996
+ Only rendered when at least one body field is set (see renderCard logic). */
3997
+
3998
+ .dndev-card-body {
3999
+ display: grid;
4000
+ gap: var(--gap-md);
4001
+ position: relative;
4002
+ z-index: 1;
3533
4003
  }
3534
4004
 
4005
+ .dndev-card[data-has-cover='true'] > .dndev-card-body {
4006
+ padding: var(--gap-md);
4007
+ }
4008
+
4009
+ .dndev-card-body[data-body-background='solid'] {
4010
+ background: var(--card);
4011
+ }
4012
+
4013
+ /* Card body children spacing */
4014
+
3535
4015
  .dndev-card-header {
3536
4016
  display: flex;
3537
4017
  flex-direction: column;
@@ -3560,16 +4040,98 @@ em {
3560
4040
  color: color-mix(in oklab, var(--card-foreground) 70%, transparent);
3561
4041
  }
3562
4042
 
4043
+ /* Cover region — sits flush to the card's rounded corners.
4044
+ - When body is present (data-has-body='true'): cover is a sized header
4045
+ region in flow. Height comes from its own aspect-ratio (inline style).
4046
+ - When cover-only (no body): cover fills the card (inset:0 absolute) while
4047
+ the card itself sets the aspect-ratio on its root. */
4048
+
4049
+ .dndev-card-cover {
4050
+ position: relative;
4051
+ overflow: hidden;
4052
+ z-index: 0;
4053
+ width: 100%;
4054
+ background: var(--muted);
4055
+ }
4056
+
4057
+ /* Cover-only: fill the card completely. Card root owns the aspect-ratio. */
4058
+
4059
+ .dndev-card-cover:not([data-has-body='true']) {
4060
+ position: absolute;
4061
+ inset: 0;
4062
+ height: 100%;
4063
+ }
4064
+
4065
+ /* Direct media (string cover → <img>, or ReactNode passthrough) fills. */
4066
+
4067
+ .dndev-card-cover > img,
4068
+ .dndev-card-cover > video,
4069
+ .dndev-card-cover > picture,
4070
+ .dndev-card-cover > picture > img,
4071
+ .dndev-card-cover > .dndev-card-cover-media {
4072
+ display: block;
4073
+ width: 100%;
4074
+ height: 100%;
4075
+ -o-object-fit: cover;
4076
+ object-fit: cover;
4077
+ }
4078
+
4079
+ /* Consumer-supplied ReactNode: wrapper fills, inner media fills. */
4080
+
4081
+ .dndev-card-cover-media {
4082
+ position: relative;
4083
+ }
4084
+
4085
+ .dndev-card-cover-media > img,
4086
+ .dndev-card-cover-media > video,
4087
+ .dndev-card-cover-media > picture,
4088
+ .dndev-card-cover-media > picture > img {
4089
+ display: block;
4090
+ width: 100%;
4091
+ height: 100%;
4092
+ -o-object-fit: cover;
4093
+ object-fit: cover;
4094
+ }
4095
+
4096
+ /* Overlay — sits above both cover and body slot. */
4097
+
4098
+ .dndev-card-overlay {
4099
+ position: absolute;
4100
+ z-index: 2;
4101
+ pointer-events: none;
4102
+ }
4103
+
4104
+ .dndev-card[data-overlay-position='top-left'] > .dndev-card-overlay {
4105
+ top: var(--gap-md);
4106
+ inset-inline-start: var(--gap-md);
4107
+ }
4108
+
4109
+ .dndev-card[data-overlay-position='top-right'] > .dndev-card-overlay {
4110
+ top: var(--gap-md);
4111
+ inset-inline-end: var(--gap-md);
4112
+ }
4113
+
4114
+ .dndev-card[data-overlay-position='bottom-left'] > .dndev-card-overlay {
4115
+ bottom: var(--gap-md);
4116
+ inset-inline-start: var(--gap-md);
4117
+ }
4118
+
4119
+ .dndev-card[data-overlay-position='bottom-right'] > .dndev-card-overlay {
4120
+ bottom: var(--gap-md);
4121
+ inset-inline-end: var(--gap-md);
4122
+ }
4123
+
3563
4124
  /* packages/components/src/atomic/Checkbox/Checkbox.css */
3564
4125
 
3565
4126
  .dndev-control[data-type='checkbox'] {
3566
4127
  display: inline-flex;
3567
4128
  align-items: center;
3568
4129
  justify-content: center;
3569
- width: var(--icon-md);
3570
- height: var(--icon-md);
4130
+ width: var(--font-size-input);
4131
+ height: var(--font-size-input);
3571
4132
  aspect-ratio: 1;
3572
4133
  border-radius: 4px;
4134
+ background-color: transparent;
3573
4135
  }
3574
4136
 
3575
4137
  .dndev-control[data-type='checkbox'][data-state='checked'] {
@@ -3630,8 +4192,8 @@ em {
3630
4192
  }
3631
4193
 
3632
4194
  .dndev-control[data-type='checkbox'] [data-radix-checkbox-indicator] svg {
3633
- width: var(--icon-md);
3634
- height: var(--icon-md);
4195
+ width: var(--font-size-input);
4196
+ height: var(--font-size-input);
3635
4197
  animation: checkbox-check-in var(--dur-fast) var(--ease-in-out);
3636
4198
  }
3637
4199
 
@@ -3867,60 +4429,28 @@ em {
3867
4429
  position: absolute;
3868
4430
  inset-inline-end: var(--gap-sm);
3869
4431
  top: 0;
3870
- height: 100%;
3871
- display: flex;
3872
- align-items: center;
3873
- gap: var(--gap-tight, 4px);
3874
- z-index: 1;
3875
- pointer-events: none; /* pass clicks through to input by default */
3876
- }
3877
-
3878
- /* Input padding: reserve space for trailing content.
3879
- --combobox-pad-end is set as an inline CSS variable on .dndev-combobox-wrapper. */
3880
-
3881
- .dndev-combobox-wrapper .dndev-input {
3882
- padding-inline-end: var(--combobox-pad-end);
3883
- }
3884
-
3885
- /* Action buttons (create "+", clear "X") */
3886
-
3887
- .dndev-combobox-action-btn {
3888
- all: unset;
3889
- display: flex;
3890
- align-items: center;
3891
- justify-content: center;
3892
- width: var(--icon-md);
3893
- height: var(--icon-md);
3894
- border-radius: var(--radius-interactive, var(--radius-sm, 4px));
3895
- cursor: pointer;
3896
- pointer-events: auto; /* re-enable clicks on buttons */
3897
- color: var(--muted-foreground);
3898
- opacity: var(--opacity-muted, 0.5);
3899
- transition:
3900
- opacity var(--dur-fast) var(--ease-in-out),
3901
- background-color var(--dur-fast) var(--ease-in-out);
4432
+ height: 100%;
4433
+ display: flex;
4434
+ align-items: center;
4435
+ gap: var(--gap-tight, 4px);
4436
+ z-index: 1;
4437
+ pointer-events: none; /* pass clicks through to input by default */
3902
4438
  }
3903
4439
 
3904
- .dndev-combobox-action-btn:hover {
3905
- opacity: 1;
3906
- background-color: var(--accent, rgba(0, 0, 0, 0.06));
3907
- }
4440
+ /* Input padding: reserve space for trailing content.
4441
+ --combobox-pad-end is set as an inline CSS variable on .dndev-combobox-wrapper. */
3908
4442
 
3909
- .dndev-combobox-action-btn:focus-visible {
3910
- opacity: 1;
3911
- outline: none;
3912
- box-shadow:
3913
- 0 0 0 2px var(--ring),
3914
- 0 0 0 4px rgb(from var(--ring) r g b / 0.2);
4443
+ .dndev-combobox-wrapper .dndev-input {
4444
+ padding-inline-end: var(--combobox-pad-end);
4445
+ text-overflow: ellipsis;
4446
+ cursor: pointer;
3915
4447
  }
3916
4448
 
3917
- .dndev-combobox-action-btn:active {
3918
- opacity: 0.8;
3919
- }
4449
+ /* Action buttons — extends shared .dndev-inline-action-btn from patterns.css.
4450
+ Only Combobox-specific overrides here. */
3920
4451
 
3921
- .dndev-combobox-action-btn svg {
3922
- width: var(--size-icon-sm, 16px);
3923
- height: var(--size-icon-sm, 16px);
4452
+ .dndev-combobox-action-btn {
4453
+ pointer-events: auto; /* re-enable clicks (trailing container is pointer-events: none) */
3924
4454
  }
3925
4455
 
3926
4456
  /* Create button accent color */
@@ -3935,22 +4465,16 @@ em {
3935
4465
  color: var(--muted-foreground);
3936
4466
  }
3937
4467
 
3938
- /* Chevron indicator (non-interactive, just visual) */
4468
+ /* Chevron toggle — extends .dndev-inline-action-btn from patterns.css
4469
+ (same pattern as RangeInput/DatePicker/Combobox clear+create).
4470
+ Only chevron-specific behavior: re-enable clicks in the trailing
4471
+ container and rotate the icon on open. */
3939
4472
 
3940
4473
  .dndev-combobox-chevron {
3941
- width: var(--icon-md);
3942
- height: var(--icon-md);
3943
- display: flex;
3944
- align-items: center;
3945
- justify-content: center;
3946
- color: var(--muted-foreground);
3947
- opacity: var(--opacity-muted);
3948
- pointer-events: none;
4474
+ pointer-events: auto;
3949
4475
  }
3950
4476
 
3951
4477
  .dndev-combobox-chevron svg {
3952
- width: var(--icon-md);
3953
- height: var(--icon-md);
3954
4478
  transition: transform var(--dur-fast) var(--ease-in-out);
3955
4479
  }
3956
4480
 
@@ -3958,14 +4482,14 @@ em {
3958
4482
  transform: rotate(180deg);
3959
4483
  }
3960
4484
 
3961
- /* Spinner replaces chevron */
4485
+ /* Spinner replaces chevron — match its footprint so there's no layout shift */
3962
4486
 
3963
4487
  .dndev-combobox-spinner {
3964
4488
  display: flex;
3965
4489
  align-items: center;
3966
4490
  justify-content: center;
3967
- width: var(--icon-md);
3968
- height: var(--icon-md);
4491
+ width: var(--touch-target);
4492
+ height: 100%;
3969
4493
  pointer-events: none;
3970
4494
  }
3971
4495
 
@@ -3995,6 +4519,12 @@ em {
3995
4519
  border-color: var(--ring);
3996
4520
  }
3997
4521
 
4522
+ /* Inside FloatingLabel fieldset: fieldset owns the border, suppress wrapper border */
4523
+
4524
+ .dndev-floating-fieldset > .dndev-combobox-wrapper--chips {
4525
+ border-color: transparent;
4526
+ }
4527
+
3998
4528
  /* Input inside chips wrapper: grow to fill, no min height */
3999
4529
 
4000
4530
  .dndev-combobox-wrapper--chips .dndev-input {
@@ -4009,9 +4539,6 @@ em {
4009
4539
  ────────────────────────────────────────────────── */
4010
4540
 
4011
4541
  .dndev-combobox-content {
4012
- width: var(--radix-popover-trigger-width);
4013
- min-width: var(--radix-popover-trigger-width);
4014
- max-width: var(--radix-popover-trigger-width);
4015
4542
  display: flex;
4016
4543
  flex-direction: column;
4017
4544
  padding: 0;
@@ -4064,6 +4591,13 @@ em {
4064
4591
  color: var(--muted-foreground);
4065
4592
  }
4066
4593
 
4594
+ .dndev-combobox-option-count {
4595
+ font-size: var(--font-size-xs);
4596
+ color: var(--muted-foreground);
4597
+ margin-inline-start: var(--gap-tight);
4598
+ flex-shrink: 0;
4599
+ }
4600
+
4067
4601
  .dndev-combobox-option-check {
4068
4602
  width: var(--icon-md);
4069
4603
  height: var(--icon-md);
@@ -5033,6 +5567,56 @@ em {
5033
5567
  color: white;
5034
5568
  }
5035
5569
 
5570
+ /* ---- Contain mode: full image, natural aspect ratio ---- */
5571
+
5572
+ .dndev-hero-section--bg-contain {
5573
+ padding: 0;
5574
+ max-width: none;
5575
+ position: relative;
5576
+ overflow: hidden;
5577
+ }
5578
+
5579
+ .dndev-hero-section--bg-contain > .dndev-hero-section__img {
5580
+ display: block;
5581
+ width: 100%;
5582
+ height: auto;
5583
+ }
5584
+
5585
+ .dndev-hero-section--bg-contain > .dndev-hero-section__text {
5586
+ position: absolute;
5587
+ inset: 0;
5588
+ display: flex;
5589
+ flex-direction: column;
5590
+ justify-content: flex-end;
5591
+ padding: 0 var(--gap-md) var(--gap-lg);
5592
+ }
5593
+
5594
+ .dndev-hero-section--bg-contain > .dndev-hero-section__text::before {
5595
+ content: '';
5596
+ position: absolute;
5597
+ inset: 0;
5598
+ background: linear-gradient(
5599
+ to top,
5600
+ rgba(0, 0, 0, 0.65),
5601
+ rgba(0, 0, 0, 0.15) 60%,
5602
+ transparent
5603
+ );
5604
+ }
5605
+
5606
+ .dndev-hero-section--bg-contain > .dndev-hero-section__text > * {
5607
+ position: relative;
5608
+ }
5609
+
5610
+ .dndev-hero-section--bg-contain[data-justify='center']
5611
+ > .dndev-hero-section__text {
5612
+ justify-content: center;
5613
+ }
5614
+
5615
+ .dndev-hero-section--bg-contain[data-justify='start']
5616
+ > .dndev-hero-section__text {
5617
+ justify-content: flex-start;
5618
+ }
5619
+
5036
5620
  .dndev-hero-subtitle {
5037
5621
  font-size: var(--font-size-lg); /* 20px - muted via component */
5038
5622
  }
@@ -5182,6 +5766,10 @@ em {
5182
5766
  background-color: var(--muted);
5183
5767
  }
5184
5768
 
5769
+ .image-gallery__main--lightbox {
5770
+ cursor: zoom-in;
5771
+ }
5772
+
5185
5773
  .image-gallery__main-image {
5186
5774
  width: 100%;
5187
5775
  height: 100%;
@@ -5304,6 +5892,46 @@ em {
5304
5892
  }
5305
5893
  }
5306
5894
 
5895
+ /* Lightbox (full-size image dialog) */
5896
+
5897
+ .image-gallery__lightbox.dndev-modal-content {
5898
+ max-width: min(96vw, 1400px);
5899
+ max-height: 96dvh;
5900
+ padding: var(--gap-sm);
5901
+ }
5902
+
5903
+ .image-gallery__lightbox .dndev-modal-body {
5904
+ padding: 0;
5905
+ display: flex;
5906
+ align-items: center;
5907
+ justify-content: center;
5908
+ overflow: hidden;
5909
+ min-height: 40dvh;
5910
+ }
5911
+
5912
+ .image-gallery__lightbox-body {
5913
+ position: relative;
5914
+ display: flex;
5915
+ align-items: center;
5916
+ justify-content: center;
5917
+ width: 100%;
5918
+ outline: none;
5919
+ }
5920
+
5921
+ .image-gallery__lightbox-img {
5922
+ max-width: 100%;
5923
+ max-height: 85dvh;
5924
+ width: auto;
5925
+ height: auto;
5926
+ -o-object-fit: contain;
5927
+ object-fit: contain;
5928
+ }
5929
+
5930
+ .image-gallery__lightbox-nav {
5931
+ opacity: 0.92;
5932
+ z-index: 3;
5933
+ }
5934
+
5307
5935
  /* packages/components/src/atomic/Input/Input.css */
5308
5936
 
5309
5937
  /* Hide number input spinners - cleaner UI for price/range inputs */
@@ -5351,6 +5979,19 @@ input[type='number'] {
5351
5979
  inset-inline-end: var(--gap-md);
5352
5980
  }
5353
5981
 
5982
+ /* Error / destructive state — red border for invalid fields */
5983
+
5984
+ [data-variant='destructive'],
5985
+ [aria-invalid='true'] {
5986
+ border-color: var(--destructive);
5987
+ }
5988
+
5989
+ [data-variant='destructive']:focus,
5990
+ [aria-invalid='true']:focus {
5991
+ border-color: var(--destructive);
5992
+ outline-color: var(--destructive);
5993
+ }
5994
+
5354
5995
  /* packages/components/src/advanced/JsonViewer/JsonViewer.css */
5355
5996
 
5356
5997
  .dndev-json-viewer {
@@ -5936,6 +6577,105 @@ input[type='number'] {
5936
6577
  height: var(--icon-sm);
5937
6578
  }
5938
6579
 
6580
+ /* packages/components/src/atomic/PinInput/PinInput.css */
6581
+
6582
+ .dndev-pin-input {
6583
+ display: flex;
6584
+ gap: var(--gap-sm);
6585
+ align-items: center;
6586
+ justify-content: center;
6587
+ direction: ltr; /* digits are always LTR even in RTL locales */
6588
+ }
6589
+
6590
+ .dndev-pin-input__box {
6591
+ inline-size: var(--input-height, 2.75rem) !important;
6592
+ block-size: var(--input-height, 2.75rem) !important;
6593
+ padding: 0 !important;
6594
+ text-align: center !important;
6595
+ font-size: var(--font-xl, 1.25rem) !important;
6596
+ font-variant-numeric: tabular-nums;
6597
+ font-feature-settings: 'tnum' 1;
6598
+ caret-color: var(--primary);
6599
+ }
6600
+
6601
+ /* Mask the typed digit via CSS, not by overwriting React's controlled value.
6602
+ Rewriting value={raw} → value='•' on every keystroke forces React to
6603
+ overwrite the native input value after the browser has already painted
6604
+ the user's keystroke, which is the classic "lags like shit" PinInput bug
6605
+ on mobile Chrome/Safari. `-webkit-text-security: disc` renders a bullet
6606
+ purely in the layout layer while the input's real value stays the digit,
6607
+ so React never has to race the browser's paint pipeline.
6608
+ Firefox does not support -webkit-text-security and will render the digit
6609
+ unmasked; the eye-toggle still works for revealing on WebKit/Blink. */
6610
+
6611
+ .dndev-pin-input__box--masked {
6612
+ -webkit-text-security: disc;
6613
+ }
6614
+
6615
+ .dndev-pin-input__reveal {
6616
+ background: none;
6617
+ border: none;
6618
+ cursor: pointer;
6619
+ padding: var(--gap-tight, 0.25rem);
6620
+ margin-inline-start: var(--gap-sm, 0.5rem);
6621
+ display: inline-flex;
6622
+ align-items: center;
6623
+ justify-content: center;
6624
+ color: var(--muted-foreground, currentColor);
6625
+ opacity: var(--opacity-muted, 0.65);
6626
+ transition: opacity var(--dur-fast, 150ms) var(--ease-in-out, ease-in-out);
6627
+ -webkit-user-select: none;
6628
+ -moz-user-select: none;
6629
+ user-select: none;
6630
+ -webkit-tap-highlight-color: transparent;
6631
+ }
6632
+
6633
+ .dndev-pin-input__reveal:hover,
6634
+ .dndev-pin-input__reveal:focus-visible {
6635
+ opacity: 1;
6636
+ outline: none;
6637
+ }
6638
+
6639
+ .dndev-pin-input__reveal:focus-visible {
6640
+ outline: 2px solid var(--primary, currentColor);
6641
+ outline-offset: 2px;
6642
+ border-radius: var(--radius-sm, 4px);
6643
+ }
6644
+
6645
+ /* Shake animation hook — the container flips data-shake='true' on error
6646
+ and the animation plays once via this keyframe. Consumers can override
6647
+ via `.dndev-pin-input[data-shake='true'] { animation: ... }`. */
6648
+
6649
+ @keyframes dndev-pin-input-shake {
6650
+ 0%,
6651
+ 100% {
6652
+ transform: translateX(0);
6653
+ }
6654
+ 20% {
6655
+ transform: translateX(-0.35rem);
6656
+ }
6657
+ 40% {
6658
+ transform: translateX(0.35rem);
6659
+ }
6660
+ 60% {
6661
+ transform: translateX(-0.25rem);
6662
+ }
6663
+ 80% {
6664
+ transform: translateX(0.15rem);
6665
+ }
6666
+ }
6667
+
6668
+ .dndev-pin-input[data-shake='true'] {
6669
+ animation: dndev-pin-input-shake var(--dur-normal, 320ms)
6670
+ var(--ease-in-out, ease-in-out) 1;
6671
+ }
6672
+
6673
+ @media (prefers-reduced-motion: reduce) {
6674
+ .dndev-pin-input[data-shake='true'] {
6675
+ animation: none;
6676
+ }
6677
+ }
6678
+
5939
6679
  /* packages/components/src/atomic/Pagination/Pagination.css */
5940
6680
 
5941
6681
  .dndev-pagination {
@@ -6104,8 +6844,8 @@ input[type='number'] {
6104
6844
  }
6105
6845
 
6106
6846
  .dndev-control[data-type='radio'] {
6107
- width: var(--icon-md);
6108
- height: var(--icon-md);
6847
+ width: var(--font-size-input);
6848
+ height: var(--font-size-input);
6109
6849
  border-radius: var(--radius-full);
6110
6850
  border-width: var(--border-hairline);
6111
6851
  background-color: transparent;
@@ -6192,15 +6932,22 @@ input[type='number'] {
6192
6932
 
6193
6933
  .dndev-range-input {
6194
6934
  display: grid;
6195
- grid-template-columns: 1fr auto 1fr auto;
6935
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
6196
6936
  align-items: center;
6197
- gap: var(--gap-tight);
6937
+ -moz-column-gap: 0;
6938
+ column-gap: 0;
6939
+ padding-inline-start: var(--gap-sm);
6198
6940
  width: 100%;
6199
6941
  }
6200
6942
 
6201
6943
  .dndev-range-input > .dndev-input,
6202
6944
  .dndev-range-input > .dndev-relative {
6203
6945
  min-width: 0;
6946
+ padding-inline: var(--gap-sm);
6947
+ }
6948
+
6949
+ .dndev-range-input-separator {
6950
+ padding-inline: var(--gap-tight);
6204
6951
  }
6205
6952
 
6206
6953
  /* packages/components/src/atomic/Rating/Rating.css */
@@ -6354,7 +7101,7 @@ input[type='number'] {
6354
7101
  /* Numeric value display */
6355
7102
 
6356
7103
  .dndev-rating-value {
6357
- font-size: var(--font-size-sm);
7104
+ font-size: var(--font-size-input);
6358
7105
  font-weight: var(--font-weight-medium);
6359
7106
  color: var(--muted-foreground);
6360
7107
  min-width: 2ch;
@@ -6386,7 +7133,7 @@ input[type='number'] {
6386
7133
  }
6387
7134
 
6388
7135
  .dndev-select-trigger [data-radix-select-value] {
6389
- font-size: var(--font-size-sm);
7136
+ font-size: var(--font-size-input);
6390
7137
  }
6391
7138
 
6392
7139
  .dndev-select-content {
@@ -6446,6 +7193,16 @@ input[type='number'] {
6446
7193
  border-radius: inherit;
6447
7194
  }
6448
7195
 
7196
+ /* Radix injects `display:table; min-width:100%` as inline style on the viewport's
7197
+ direct child. A display:table element sizes to its content's min-content width,
7198
+ ignoring max-width:100% (Chrome resolves the % against the table's own bloated
7199
+ width, not the viewport). contain:inline-size prevents content-based sizing:
7200
+ the table stays at min-width:100% = viewport width regardless of descendant content. */
7201
+
7202
+ .dndev-scroll-area-viewport > div {
7203
+ contain: inline-size;
7204
+ }
7205
+
6449
7206
  .dndev-scroll-bar {
6450
7207
  display: flex;
6451
7208
  touch-action: none;
@@ -7870,7 +8627,7 @@ input[type='number'] {
7870
8627
  }
7871
8628
 
7872
8629
  .dndev-switch-label {
7873
- font-size: var(--font-size-sm);
8630
+ font-size: var(--font-size-input);
7874
8631
  transition:
7875
8632
  color var(--dur-normal) var(--ease-in-out),
7876
8633
  font-weight var(--dur-normal) var(--ease-in-out);
@@ -8980,7 +9737,8 @@ input[type='number'] {
8980
9737
  outline: none;
8981
9738
  }
8982
9739
 
8983
- /* Expand/collapse chevron */
9740
+ /* Expand/collapse chevron — wrapper reserves the indent column (--icon-md),
9741
+ svg is the nested icon (--icon-sm). */
8984
9742
 
8985
9743
  .dndev-tree-node-expand {
8986
9744
  display: flex;
@@ -8993,6 +9751,11 @@ input[type='number'] {
8993
9751
  color: var(--muted-foreground);
8994
9752
  }
8995
9753
 
9754
+ .dndev-tree-node-expand svg {
9755
+ width: var(--icon-sm);
9756
+ height: var(--icon-sm);
9757
+ }
9758
+
8996
9759
  [role='treeitem'][aria-expanded='true']
8997
9760
  > .dndev-tree-node-content
8998
9761
  > .dndev-tree-node-expand {
@@ -9782,12 +10545,11 @@ input[type='number'] {
9782
10545
  box-shadow: var(--shadow-xl);
9783
10546
  }
9784
10547
 
9785
- /* Phase badge - absolute overlay top-end */
10548
+ /* Phase badge - used inside Card overlay container */
9786
10549
 
9787
10550
  .dndev-roadmap-phase {
9788
- position: absolute;
9789
- top: var(--gap-sm);
9790
- inset-inline-end: var(--gap-sm);
10551
+ display: inline-flex;
10552
+ align-items: center;
9791
10553
  font-size: var(--font-size-xs);
9792
10554
  font-weight: var(--font-weight-bold);
9793
10555
  text-transform: uppercase;
@@ -10170,6 +10932,19 @@ input[type='number'] {
10170
10932
  }
10171
10933
  }
10172
10934
 
10935
+ /* ========== RIPPLE EFFECT ========== */
10936
+
10937
+ @keyframes dndev-ripple {
10938
+ 0% {
10939
+ transform: translate(-50%, -50%) scale(0);
10940
+ opacity: var(--ripple-opacity);
10941
+ }
10942
+ 100% {
10943
+ transform: translate(-50%, -50%) scale(4);
10944
+ opacity: 0;
10945
+ }
10946
+ }
10947
+
10173
10948
  /* ========== ROUTING ANIMATIONS ========== */
10174
10949
 
10175
10950
  /* Fade transition (default) */
@@ -11365,56 +12140,68 @@ h4[data-variant='code'] {
11365
12140
  /* Full height */
11366
12141
 
11367
12142
  .dndev-h-screen {
12143
+ height: 100vh;
11368
12144
  height: 100dvh;
11369
12145
  }
11370
12146
 
11371
12147
  .dndev-min-h-screen {
12148
+ min-height: 100vh;
11372
12149
  min-height: 100dvh;
11373
12150
  }
11374
12151
 
11375
12152
  .dndev-max-h-screen {
12153
+ max-height: 100vh;
11376
12154
  max-height: 100dvh;
11377
12155
  }
11378
12156
 
11379
12157
  /* 90dvh - Large modals/dialogs */
11380
12158
 
11381
12159
  .dndev-h-90 {
12160
+ height: 90vh;
11382
12161
  height: 90dvh;
11383
12162
  }
11384
12163
 
11385
12164
  .dndev-min-h-90 {
12165
+ min-height: 90vh;
11386
12166
  min-height: 90dvh;
11387
12167
  }
11388
12168
 
11389
12169
  .dndev-max-h-90 {
12170
+ max-height: 90vh;
11390
12171
  max-height: 90dvh;
11391
12172
  }
11392
12173
 
11393
12174
  /* 80dvh - Standard modals/dialogs */
11394
12175
 
11395
12176
  .dndev-h-80 {
12177
+ height: 80vh;
11396
12178
  height: 80dvh;
11397
12179
  }
11398
12180
 
11399
12181
  .dndev-min-h-80 {
12182
+ min-height: 80vh;
11400
12183
  min-height: 80dvh;
11401
12184
  }
11402
12185
 
11403
12186
  .dndev-max-h-80 {
12187
+ max-height: 80vh;
11404
12188
  max-height: 80dvh;
11405
12189
  }
11406
12190
 
11407
12191
  /* 60dvh - Compact sections */
11408
12192
 
11409
12193
  .dndev-h-60 {
12194
+ height: 60vh;
11410
12195
  height: 60dvh;
11411
12196
  }
11412
12197
 
11413
12198
  .dndev-min-h-60 {
12199
+ min-height: 60vh;
11414
12200
  min-height: 60dvh;
11415
12201
  }
11416
12202
 
11417
12203
  .dndev-max-h-60 {
12204
+ max-height: 60vh;
11418
12205
  max-height: 60dvh;
11419
12206
  }
11420
12207
 
@@ -11668,7 +12455,9 @@ main[role='main'][data-routing-animation='none'] {
11668
12455
  .dndev-layout {
11669
12456
  position: relative;
11670
12457
  width: 100%;
12458
+ height: 100vh;
11671
12459
  height: 100dvh;
12460
+ max-height: 100vh;
11672
12461
  max-height: 100dvh;
11673
12462
  overflow: hidden;
11674
12463
  display: grid;
@@ -11693,15 +12482,21 @@ main[role='main'][data-routing-animation='none'] {
11693
12482
  grid-template-rows: var(--header-height) 1fr;
11694
12483
  }
11695
12484
 
11696
- /* Footer inside main: spacing + sizing */
12485
+ /* Custom footer: content-driven grid row height (no 50px minimum from --footer-height) */
12486
+
12487
+ .dndev-layout:has(> footer[data-custom]) {
12488
+ grid-template-rows: var(--header-height) 1fr auto;
12489
+ }
12490
+
12491
+ /* Footer inside main: spacing + sizing (slotted mode only) */
11697
12492
 
11698
- main[role='main'] > footer[role='contentinfo'] {
12493
+ main[role='main'] > footer[role='contentinfo']:not([data-custom]) {
11699
12494
  margin-top: var(--gap-lg);
11700
12495
  flex-shrink: 0;
11701
12496
  height: auto;
11702
12497
  }
11703
12498
 
11704
- main[role='main'] > footer[role='contentinfo'] > * {
12499
+ main[role='main'] > footer[role='contentinfo']:not([data-custom]) > * {
11705
12500
  height: auto;
11706
12501
  min-height: var(--footer-height);
11707
12502
  }
@@ -11723,6 +12518,7 @@ main[role='main'] > footer[role='contentinfo'] > * {
11723
12518
  /* box-sizing: border-box ensures borders are included in height (already set globally, explicit here for clarity) */
11724
12519
 
11725
12520
  header[role='banner'] {
12521
+ /* Structural - always applies */
11726
12522
  grid-area: header;
11727
12523
  box-sizing: border-box;
11728
12524
  height: var(--header-height);
@@ -11741,12 +12537,6 @@ header[role='banner'] {
11741
12537
  display: flex;
11742
12538
  align-items: center;
11743
12539
  justify-content: space-between;
11744
- gap: var(--gap-sm);
11745
- padding-inline-start: var(--content-padding);
11746
- padding-inline-end: var(--content-padding);
11747
-
11748
- background: var(--background);
11749
- border-bottom: var(--border-hairline) solid var(--border);
11750
12540
 
11751
12541
  /* Mobile: Sticky header (for presets that keep header visible) */
11752
12542
  }
@@ -11759,6 +12549,16 @@ header[role='banner'] {
11759
12549
  }
11760
12550
  }
11761
12551
 
12552
+ /* Header visual polish - slotted mode only (custom mode owns its own visuals) */
12553
+
12554
+ header[role='banner']:not([data-custom]) {
12555
+ gap: var(--gap-sm);
12556
+ padding-inline-start: var(--content-padding);
12557
+ padding-inline-end: var(--content-padding);
12558
+ background: var(--background);
12559
+ border-bottom: var(--border-hairline) solid var(--border);
12560
+ }
12561
+
11762
12562
  .header-start {
11763
12563
  display: flex;
11764
12564
  align-items: center;
@@ -11822,6 +12622,7 @@ header[role='banner'] .header-center {
11822
12622
  /* box-sizing: border-box ensures borders are included in width (already set globally, explicit here for clarity) */
11823
12623
 
11824
12624
  aside[role='navigation'].sidebar {
12625
+ /* Structural - always applies */
11825
12626
  grid-area: sidebar;
11826
12627
  box-sizing: border-box;
11827
12628
  min-width: calc(var(--sidebar-resize-handle-width) + 48px);
@@ -11829,21 +12630,19 @@ aside[role='navigation'].sidebar {
11829
12630
  max-width: calc(var(--sidebar-resize-handle-width) + 400px);
11830
12631
  /* Max: 400px content + 6px handle = 406px */
11831
12632
  z-index: var(--z-sidebar);
11832
- overflow: none;
11833
- /* No clipping needed - handle is in grid */
12633
+ overflow-x: hidden;
12634
+ /* Horizontal must be clipped — handle is in grid so vertical needs no clipping */
11834
12635
  contain: layout style;
11835
12636
  padding: 0;
11836
12637
  display: grid;
11837
12638
  grid-template-columns: auto var(--sidebar-resize-handle-width);
11838
12639
  /* Content | Handle - column 1 width set inline */
11839
- grid-template-rows: auto 1fr auto;
11840
- /* Top | Content | Bottom */
12640
+ grid-template-rows: auto minmax(0, 1fr) auto;
12641
+ /* Top | Content | Bottom. `minmax(0, 1fr)` overrides the default `auto`
12642
+ min track size so the content row can shrink below its content height,
12643
+ which is what lets `.sidebar-content`'s overflow-y: auto actually fire. */
11841
12644
  height: 100%;
11842
12645
 
11843
- /* Theme-aware styling - 100% controlled by theme system */
11844
- background: var(--background);
11845
- /* No border - resize handle is the visual separator */
11846
-
11847
12646
  /* Desktop presets with no sidebar: Hide sidebar element for performance/accessibility */
11848
12647
  /* Landing, Plain, Game have --sidebar-width: 0px, also need display: none */
11849
12648
  }
@@ -11858,6 +12657,13 @@ aside[role='navigation'].sidebar {
11858
12657
  grid-row: 1 / -1;
11859
12658
  }
11860
12659
 
12660
+ /* Sidebar visual polish - slotted mode only (custom mode owns its own visuals) */
12661
+
12662
+ aside[role='navigation'].sidebar:not([data-custom]) {
12663
+ background: var(--background);
12664
+ /* No border - resize handle is the visual separator */
12665
+ }
12666
+
11861
12667
  /* ===========================
11862
12668
  RESIZABLE SIDEBAR STYLES
11863
12669
  =========================== */
@@ -11938,7 +12744,9 @@ aside[role='navigation'].sidebar[data-dragging='true']
11938
12744
  grid-row: 2;
11939
12745
  overflow-y: auto;
11940
12746
  min-height: 0;
11941
- justify-content: center;
12747
+ /* `safe` falls back to flex-start on overflow. Without it, centered overflow
12748
+ pushes the top half above scrollTop=0 where it's unreachable. */
12749
+ justify-content: safe center;
11942
12750
  /* Zero gap between items - they touch vertically */
11943
12751
  gap: var(--gap-none);
11944
12752
 
@@ -11980,6 +12788,13 @@ aside[role='navigation'].sidebar[data-dragging='true']
11980
12788
  padding-block-start: var(--gap-md);
11981
12789
  }
11982
12790
 
12791
+ /* Reduce Section padding when inside sidebar - sidebar space is precious */
12792
+
12793
+ .sidebar-content .dndev-section-content {
12794
+ padding-inline: var(--gap-sm);
12795
+ padding-block: var(--gap-sm);
12796
+ }
12797
+
11983
12798
  /* Interactive elements in all zones: full width */
11984
12799
 
11985
12800
  .sidebar-top .dndev-interactive,
@@ -12064,6 +12879,12 @@ aside.sidebar[role='navigation'][data-collapsed='true'] .app-branding {
12064
12879
  display: none;
12065
12880
  }
12066
12881
 
12882
+ /* Custom sidebar content: hide labeled text, keep icons */
12883
+
12884
+ aside.sidebar[role='navigation'][data-collapsed='true'] .sidebar-collapsible {
12885
+ display: none;
12886
+ }
12887
+
12067
12888
  /* Main content: Starts at header-height and sidebar-width */
12068
12889
 
12069
12890
  main[role='main'] {
@@ -12087,26 +12908,25 @@ main[role='main'] > *:not(.breadcrumbs-container):first-of-type,main[role='main'
12087
12908
  /* box-sizing: border-box ensures borders are included in height */
12088
12909
 
12089
12910
  footer[role='contentinfo'] {
12911
+ /* Structural - always applies */
12090
12912
  grid-area: footer;
12091
12913
  box-sizing: border-box;
12092
12914
  grid-column: 1 / -1;
12093
- min-height: var(--footer-height);
12094
12915
  z-index: var(--z-footer);
12095
-
12096
- background: var(--background);
12097
- border-top: var(--border-hairline) solid var(--border);
12098
-
12099
- /* Flex container for vertical centering only - components handle horizontal layout */
12100
12916
  display: flex;
12101
12917
  align-items: center;
12102
-
12103
- /* No padding - preset components handle their own spacing */
12104
12918
  padding: 0;
12919
+ }
12105
12920
 
12106
- /* Children take full width and height - components handle their own layout */
12921
+ /* Footer sizing + visual polish - slotted mode only (custom mode owns its own visuals) */
12922
+
12923
+ footer[role='contentinfo']:not([data-custom]) {
12924
+ min-height: var(--footer-height);
12925
+ background: var(--background);
12926
+ border-top: var(--border-hairline) solid var(--border);
12107
12927
  }
12108
12928
 
12109
- footer[role='contentinfo'] > * {
12929
+ footer[role='contentinfo']:not([data-custom]) > * {
12110
12930
  width: 100%;
12111
12931
  height: 100%;
12112
12932
  padding-inline-start: var(--content-padding);
@@ -12117,24 +12937,24 @@ footer[role='contentinfo'] > * {
12117
12937
 
12118
12938
  @media (width <=1023px) {
12119
12939
 
12120
- footer[role='contentinfo'] {
12940
+ footer[role='contentinfo']:not([data-custom]) {
12121
12941
  height: auto;
12122
12942
  }
12123
12943
 
12124
- footer[role='contentinfo'] > * {
12944
+ footer[role='contentinfo']:not([data-custom]) > * {
12125
12945
  height: auto;
12126
12946
  min-height: var(--footer-height);
12127
12947
  }
12128
12948
  }
12129
12949
 
12130
- /* Footer text styles */
12950
+ /* Footer text styles - slotted mode only */
12131
12951
 
12132
- footer[role='contentinfo'] .footer-copyright {
12952
+ footer[role='contentinfo']:not([data-custom]) .footer-copyright {
12133
12953
  color: var(--muted-foreground);
12134
12954
  font-size: var(--font-size-xs);
12135
12955
  }
12136
12956
 
12137
- footer[role='contentinfo'] a:not(.dndev-interactive) {
12957
+ footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive) {
12138
12958
  transition: color var(--dur-fast) ease-out;
12139
12959
  text-decoration: underline;
12140
12960
  text-underline-offset: 2px;
@@ -12143,7 +12963,7 @@ footer[role='contentinfo'] a:not(.dndev-interactive) {
12143
12963
  background: transparent;
12144
12964
  }
12145
12965
 
12146
- footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12966
+ footer[role='contentinfo']:not([data-custom]) a:not(.dndev-interactive):hover {
12147
12967
  color: var(--primary);
12148
12968
  }
12149
12969
 
@@ -12201,41 +13021,25 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12201
13021
  /* Mobile (<1024px): Show merged-bar, hide zones */
12202
13022
 
12203
13023
  @media (width <=1023px) {
12204
- /* Presets with mergedBar: top (admin, moolti, game, docs) */
12205
- [data-layout='admin'] .merged-bar[data-position='top'],
12206
- [data-layout='moolti'] .merged-bar[data-position='top'],
12207
- [data-layout='game'] .merged-bar[data-position='top'],
12208
- [data-layout='docs'] .merged-bar[data-position='top'] {
13024
+ /* Generic: show mergedBar on mobile when rendered (DnDevLayout only renders it when config has mobile.mergedBar) */
13025
+ .merged-bar[data-position='top'],
13026
+ .merged-bar[data-position='bottom'] {
12209
13027
  display: flex;
12210
13028
  }
12211
13029
 
12212
- [data-layout='admin'] .dndev-layout,
12213
- [data-layout='moolti'] .dndev-layout,
12214
- [data-layout='game'] .dndev-layout,
12215
- [data-layout='docs'] .dndev-layout {
12216
- /* Remove padding-top - grid already accounts for header-height, mergedBar is fixed and doesn't affect grid flow */
12217
- /* Content won't go under mergedBar because grid positions main after header row */
12218
- }
12219
-
12220
- [data-layout='admin'] header[role='banner'],
12221
- [data-layout='moolti'] header[role='banner'],
12222
- [data-layout='game'] header[role='banner'],
12223
- [data-layout='docs'] header[role='banner'] {
13030
+ /* Generic: hide header on mobile when mergedBar replaces it */
13031
+ .dndev-layout[data-has-mergedbar] header[role='banner'] {
12224
13032
  display: none;
12225
13033
  }
12226
13034
 
12227
- /* Presets with mergedBar: bottom (blog) */
12228
- [data-layout='blog'] .merged-bar[data-position='bottom'] {
12229
- display: flex;
13035
+ /* Bottom mergedBar: hide footer + add safe-area padding */
13036
+ .dndev-layout:has(.merged-bar[data-position='bottom'])
13037
+ > footer[role='contentinfo'] {
13038
+ display: none;
12230
13039
  }
12231
-
12232
- [data-layout='blog'] .dndev-layout {
13040
+ .dndev-layout:has(.merged-bar[data-position='bottom']) {
12233
13041
  padding-bottom: calc(48px + env(safe-area-inset-bottom));
12234
13042
  }
12235
-
12236
- [data-layout='blog'] footer[role='contentinfo'] {
12237
- display: none;
12238
- }
12239
13043
  }
12240
13044
 
12241
13045
  /* Desktop (>=1024px): Always hide merged-bar */
@@ -12511,7 +13315,7 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12511
13315
 
12512
13316
  .dndev-container {
12513
13317
  width: 100%;
12514
- max-width: var(--content-width);
13318
+ max-width: var(--max-content-width);
12515
13319
  min-width: 0; /* Allow shrinking in flex so max-width wins */
12516
13320
  flex: 1 1 auto;
12517
13321
 
@@ -12558,25 +13362,29 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12558
13362
  max-width: none;
12559
13363
  }
12560
13364
 
12561
- /* Standard width - responsive */
13365
+ /* Standard width - responsive.
13366
+ Base rule `max-width: var(--max-content-width)` picks up the local override.
13367
+ Do NOT add an explicit `max-width: var(--content-width)` here — `--content-width`
13368
+ is resolved eagerly at :root (where --max-content-width is 100%) and inherits as
13369
+ 100%, overriding the local variant. The base rule reads --max-content-width
13370
+ directly at the element and gets the correct value. */
12562
13371
 
12563
13372
  .dndev-container[data-variant='standard'] {
12564
13373
  --max-content-width: var(--content-width-standard);
12565
- max-width: var(--content-width);
12566
13374
  }
12567
13375
 
12568
- /* Docs width - responsive */
13376
+ /* Docs width - responsive. See [data-variant='standard'] for why there's no
13377
+ explicit max-width here. */
12569
13378
 
12570
13379
  .dndev-container[data-variant='docs'] {
12571
13380
  --max-content-width: var(--content-width-docs);
12572
- max-width: var(--content-width);
12573
13381
  }
12574
13382
 
12575
- /* Narrow width - mobile-first single column (PWA, app-like on every device) */
13383
+ /* Narrow width - mobile-first single column (PWA, app-like on every device).
13384
+ See [data-variant='standard'] for why there's no explicit max-width here. */
12576
13385
 
12577
13386
  .dndev-container[data-variant='narrow'] {
12578
13387
  --max-content-width: var(--content-width-narrow);
12579
- max-width: var(--content-width);
12580
13388
  }
12581
13389
 
12582
13390
  /* Fixed frame - fills parent exactly, prevents parent scroll */
@@ -12628,8 +13436,11 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12628
13436
  .dndev-container > .dndev-tech-bento {
12629
13437
  /* Break out of PageContainer padding and max-width constraint */
12630
13438
  /* Account for sidebar: --sidebar-width is 0px for presets without sidebar */
13439
+ width: calc(100vw - var(--sidebar-width));
12631
13440
  width: calc(100dvw - var(--sidebar-width));
13441
+ max-width: calc(100vw - var(--sidebar-width));
12632
13442
  max-width: calc(100dvw - var(--sidebar-width));
13443
+ margin-inline: calc((-50vw + var(--sidebar-width) / 2) + 50%);
12633
13444
  margin-inline: calc((-50dvw + var(--sidebar-width) / 2) + 50%);
12634
13445
  /* Eat gap BEFORE section only */
12635
13446
  margin-top: calc(-1 * var(--gap-lg));
@@ -12638,11 +13449,15 @@ footer[role='contentinfo'] a:not(.dndev-interactive):hover {
12638
13449
  --content-width: var(--max-content-width, 100%);
12639
13450
  }
12640
13451
 
12641
- /* HeroSection: only breakthrough when it has fullHeight (needs full viewport background) */
13452
+ /* HeroSection: breakthrough when fullHeight or contain mode */
12642
13453
 
12643
- .dndev-container > .dndev-hero-section[style*='height'] {
13454
+ .dndev-container > .dndev-hero-section[style*='height'],
13455
+ .dndev-container > .dndev-hero-section--bg-contain {
13456
+ width: calc(100vw - var(--sidebar-width));
12644
13457
  width: calc(100dvw - var(--sidebar-width));
13458
+ max-width: calc(100vw - var(--sidebar-width));
12645
13459
  max-width: calc(100dvw - var(--sidebar-width));
13460
+ margin-inline: calc((-50vw + var(--sidebar-width) / 2) + 50%);
12646
13461
  margin-inline: calc((-50dvw + var(--sidebar-width) / 2) + 50%);
12647
13462
  margin-top: calc(-1 * var(--gap-lg));
12648
13463
  margin-bottom: 0;