@donotdev/ui 0.1.44 → 0.1.46

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 (343) hide show
  1. package/dist/CookieConsent-W7UE647Y.js +1 -0
  2. package/dist/components/auth/AuthHeader.d.ts +1 -1
  3. package/dist/components/auth/AuthHeader.d.ts.map +1 -1
  4. package/dist/components/auth/AuthMenu.d.ts +2 -2
  5. package/dist/components/auth/AuthMenu.d.ts.map +1 -1
  6. package/dist/components/common/FeatureCard.d.ts +13 -2
  7. package/dist/components/common/FeatureCard.d.ts.map +1 -1
  8. package/dist/components/common/FeatureCard.js +0 -12
  9. package/dist/components/common/FeatureDisabled.d.ts +1 -1
  10. package/dist/components/common/FeatureDisabled.d.ts.map +1 -1
  11. package/dist/components/common/ProgressBar.d.ts.map +1 -1
  12. package/dist/components/common/RedirectOverlay.d.ts +1 -1
  13. package/dist/components/common/RedirectOverlay.d.ts.map +1 -1
  14. package/dist/components/common/Skeleton.d.ts +11 -0
  15. package/dist/components/common/Skeleton.d.ts.map +1 -1
  16. package/dist/components/common/Skeleton.js +0 -12
  17. package/dist/components/common/TechBento.d.ts +1 -1
  18. package/dist/components/common/TechBento.d.ts.map +1 -1
  19. package/dist/components/common/icon.d.ts.map +1 -1
  20. package/dist/components/cookie-consent/ConsentBanner.d.ts +1 -1
  21. package/dist/components/cookie-consent/ConsentBanner.d.ts.map +1 -1
  22. package/dist/components/cookie-consent/CookieConsent.d.ts +1 -1
  23. package/dist/components/cookie-consent/CookieConsent.d.ts.map +1 -1
  24. package/dist/components/cookie-consent/CookieConsent.js +13 -0
  25. package/dist/components/layout/GameContainer.d.ts +9 -1
  26. package/dist/components/layout/GameContainer.d.ts.map +1 -1
  27. package/dist/components/layout/GameContainer.js +0 -9
  28. package/dist/components/layout/GameFlow.d.ts +1 -1
  29. package/dist/components/layout/GameFlow.d.ts.map +1 -1
  30. package/dist/components/layout/PageContainer.d.ts +1 -1
  31. package/dist/components/layout/PageContainer.d.ts.map +1 -1
  32. package/dist/components/layout/components/Breadcrumbs.d.ts.map +1 -1
  33. package/dist/components/layout/components/DropdownNavigation.d.ts +16 -1
  34. package/dist/components/layout/components/DropdownNavigation.d.ts.map +1 -1
  35. package/dist/components/layout/components/DropdownNavigation.js +0 -16
  36. package/dist/components/layout/components/FloatingLanguageSwitcher.d.ts +8 -0
  37. package/dist/components/layout/components/FloatingLanguageSwitcher.d.ts.map +1 -1
  38. package/dist/components/layout/components/FloatingLanguageSwitcher.js +0 -9
  39. package/dist/components/layout/components/Notifications.d.ts +1 -1
  40. package/dist/components/layout/components/Notifications.d.ts.map +1 -1
  41. package/dist/components/layout/components/header/AppBranding.d.ts +1 -1
  42. package/dist/components/layout/components/header/AppBranding.d.ts.map +1 -1
  43. package/dist/components/layout/components/header/AppIcon.d.ts +1 -1
  44. package/dist/components/layout/components/header/AppIcon.d.ts.map +1 -1
  45. package/dist/components/layout/components/header/AppTitle.d.ts +1 -1
  46. package/dist/components/layout/components/header/AppTitle.d.ts.map +1 -1
  47. package/dist/components/layout/components/header/CacheSettings.d.ts +1 -1
  48. package/dist/components/layout/components/header/CacheSettings.d.ts.map +1 -1
  49. package/dist/components/layout/components/header/GameTitle.d.ts +1 -1
  50. package/dist/components/layout/components/header/GameTitle.d.ts.map +1 -1
  51. package/dist/components/layout/components/header/HeaderMenu.d.ts +1 -1
  52. package/dist/components/layout/components/header/HeaderMenu.d.ts.map +1 -1
  53. package/dist/components/layout/components/header/HeaderNavigation.d.ts +1 -1
  54. package/dist/components/layout/components/header/HeaderNavigation.d.ts.map +1 -1
  55. package/dist/components/layout/components/header/SettingsMenu.d.ts +1 -1
  56. package/dist/components/layout/components/header/SettingsMenu.d.ts.map +1 -1
  57. package/dist/components/layout/components/header/ThemeToggle.d.ts +1 -1
  58. package/dist/components/layout/components/header/ThemeToggle.d.ts.map +1 -1
  59. package/dist/crud/components/CrudCardLink.d.ts +1 -1
  60. package/dist/crud/components/CrudCardLink.d.ts.map +1 -1
  61. package/dist/crud/components/CrudCardLink.js +1 -2
  62. package/dist/crud/components/EntityCardList.d.ts +1 -1
  63. package/dist/crud/components/EntityCardList.d.ts.map +1 -1
  64. package/dist/crud/components/EntityCardList.js +0 -1
  65. package/dist/crud/components/EntityDisplayRenderer.d.ts +1 -1
  66. package/dist/crud/components/EntityDisplayRenderer.d.ts.map +1 -1
  67. package/dist/crud/components/EntityDisplayRenderer.js +1 -2
  68. package/dist/crud/components/EntityFormRenderer.d.ts +1 -1
  69. package/dist/crud/components/EntityFormRenderer.d.ts.map +1 -1
  70. package/dist/crud/components/EntityFormRenderer.js +20 -5
  71. package/dist/crud/components/EntityList.d.ts +1 -1
  72. package/dist/crud/components/EntityList.d.ts.map +1 -1
  73. package/dist/crud/components/EntityList.js +1 -2
  74. package/dist/crud/components/EntityRecommendations.d.ts +1 -1
  75. package/dist/crud/components/EntityRecommendations.d.ts.map +1 -1
  76. package/dist/crud/components/EntityRecommendations.js +0 -1
  77. package/dist/crud/components/EntityWorkflow.d.ts +22 -2
  78. package/dist/crud/components/EntityWorkflow.d.ts.map +1 -1
  79. package/dist/crud/components/EntityWorkflow.js +0 -22
  80. package/dist/crud/components/Form.d.ts +8 -8
  81. package/dist/crud/components/Form.d.ts.map +1 -1
  82. package/dist/dndev-next.css +1714 -0
  83. package/dist/dndev.css +14 -932
  84. package/dist/files/inter-cyrillic-300-normal.woff +0 -0
  85. package/dist/files/inter-cyrillic-300-normal.woff2 +0 -0
  86. package/dist/files/inter-cyrillic-400-normal.woff +0 -0
  87. package/dist/files/inter-cyrillic-400-normal.woff2 +0 -0
  88. package/dist/files/inter-cyrillic-600-normal.woff +0 -0
  89. package/dist/files/inter-cyrillic-600-normal.woff2 +0 -0
  90. package/dist/files/inter-cyrillic-700-normal.woff +0 -0
  91. package/dist/files/inter-cyrillic-700-normal.woff2 +0 -0
  92. package/dist/files/inter-cyrillic-ext-300-normal.woff +0 -0
  93. package/dist/files/inter-cyrillic-ext-300-normal.woff2 +0 -0
  94. package/dist/files/inter-cyrillic-ext-400-normal.woff +0 -0
  95. package/dist/files/inter-cyrillic-ext-400-normal.woff2 +0 -0
  96. package/dist/files/inter-cyrillic-ext-600-normal.woff +0 -0
  97. package/dist/files/inter-cyrillic-ext-600-normal.woff2 +0 -0
  98. package/dist/files/inter-cyrillic-ext-700-normal.woff +0 -0
  99. package/dist/files/inter-cyrillic-ext-700-normal.woff2 +0 -0
  100. package/dist/files/inter-greek-300-normal.woff +0 -0
  101. package/dist/files/inter-greek-300-normal.woff2 +0 -0
  102. package/dist/files/inter-greek-400-normal.woff +0 -0
  103. package/dist/files/inter-greek-400-normal.woff2 +0 -0
  104. package/dist/files/inter-greek-600-normal.woff +0 -0
  105. package/dist/files/inter-greek-600-normal.woff2 +0 -0
  106. package/dist/files/inter-greek-700-normal.woff +0 -0
  107. package/dist/files/inter-greek-700-normal.woff2 +0 -0
  108. package/dist/files/inter-greek-ext-300-normal.woff +0 -0
  109. package/dist/files/inter-greek-ext-300-normal.woff2 +0 -0
  110. package/dist/files/inter-greek-ext-400-normal.woff +0 -0
  111. package/dist/files/inter-greek-ext-400-normal.woff2 +0 -0
  112. package/dist/files/inter-greek-ext-600-normal.woff +0 -0
  113. package/dist/files/inter-greek-ext-600-normal.woff2 +0 -0
  114. package/dist/files/inter-greek-ext-700-normal.woff +0 -0
  115. package/dist/files/inter-greek-ext-700-normal.woff2 +0 -0
  116. package/dist/files/inter-latin-300-normal.woff +0 -0
  117. package/dist/files/inter-latin-300-normal.woff2 +0 -0
  118. package/dist/files/inter-latin-400-normal.woff +0 -0
  119. package/dist/files/inter-latin-400-normal.woff2 +0 -0
  120. package/dist/files/inter-latin-600-normal.woff +0 -0
  121. package/dist/files/inter-latin-600-normal.woff2 +0 -0
  122. package/dist/files/inter-latin-700-normal.woff +0 -0
  123. package/dist/files/inter-latin-700-normal.woff2 +0 -0
  124. package/dist/files/inter-latin-ext-300-normal.woff +0 -0
  125. package/dist/files/inter-latin-ext-300-normal.woff2 +0 -0
  126. package/dist/files/inter-latin-ext-400-normal.woff +0 -0
  127. package/dist/files/inter-latin-ext-400-normal.woff2 +0 -0
  128. package/dist/files/inter-latin-ext-600-normal.woff +0 -0
  129. package/dist/files/inter-latin-ext-600-normal.woff2 +0 -0
  130. package/dist/files/inter-latin-ext-700-normal.woff +0 -0
  131. package/dist/files/inter-latin-ext-700-normal.woff2 +0 -0
  132. package/dist/files/inter-vietnamese-300-normal.woff +0 -0
  133. package/dist/files/inter-vietnamese-300-normal.woff2 +0 -0
  134. package/dist/files/inter-vietnamese-400-normal.woff +0 -0
  135. package/dist/files/inter-vietnamese-400-normal.woff2 +0 -0
  136. package/dist/files/inter-vietnamese-600-normal.woff +0 -0
  137. package/dist/files/inter-vietnamese-600-normal.woff2 +0 -0
  138. package/dist/files/inter-vietnamese-700-normal.woff +0 -0
  139. package/dist/files/inter-vietnamese-700-normal.woff2 +0 -0
  140. package/dist/files/playfair-display-cyrillic-400-normal.woff +0 -0
  141. package/dist/files/playfair-display-cyrillic-400-normal.woff2 +0 -0
  142. package/dist/files/playfair-display-cyrillic-500-normal.woff +0 -0
  143. package/dist/files/playfair-display-cyrillic-500-normal.woff2 +0 -0
  144. package/dist/files/playfair-display-cyrillic-600-normal.woff +0 -0
  145. package/dist/files/playfair-display-cyrillic-600-normal.woff2 +0 -0
  146. package/dist/files/playfair-display-cyrillic-700-normal.woff +0 -0
  147. package/dist/files/playfair-display-cyrillic-700-normal.woff2 +0 -0
  148. package/dist/files/playfair-display-latin-400-normal.woff +0 -0
  149. package/dist/files/playfair-display-latin-400-normal.woff2 +0 -0
  150. package/dist/files/playfair-display-latin-500-normal.woff +0 -0
  151. package/dist/files/playfair-display-latin-500-normal.woff2 +0 -0
  152. package/dist/files/playfair-display-latin-600-normal.woff +0 -0
  153. package/dist/files/playfair-display-latin-600-normal.woff2 +0 -0
  154. package/dist/files/playfair-display-latin-700-normal.woff +0 -0
  155. package/dist/files/playfair-display-latin-700-normal.woff2 +0 -0
  156. package/dist/files/playfair-display-latin-ext-400-normal.woff +0 -0
  157. package/dist/files/playfair-display-latin-ext-400-normal.woff2 +0 -0
  158. package/dist/files/playfair-display-latin-ext-500-normal.woff +0 -0
  159. package/dist/files/playfair-display-latin-ext-500-normal.woff2 +0 -0
  160. package/dist/files/playfair-display-latin-ext-600-normal.woff +0 -0
  161. package/dist/files/playfair-display-latin-ext-600-normal.woff2 +0 -0
  162. package/dist/files/playfair-display-latin-ext-700-normal.woff +0 -0
  163. package/dist/files/playfair-display-latin-ext-700-normal.woff2 +0 -0
  164. package/dist/files/playfair-display-vietnamese-400-normal.woff +0 -0
  165. package/dist/files/playfair-display-vietnamese-400-normal.woff2 +0 -0
  166. package/dist/files/playfair-display-vietnamese-500-normal.woff +0 -0
  167. package/dist/files/playfair-display-vietnamese-500-normal.woff2 +0 -0
  168. package/dist/files/playfair-display-vietnamese-600-normal.woff +0 -0
  169. package/dist/files/playfair-display-vietnamese-600-normal.woff2 +0 -0
  170. package/dist/files/playfair-display-vietnamese-700-normal.woff +0 -0
  171. package/dist/files/playfair-display-vietnamese-700-normal.woff2 +0 -0
  172. package/dist/files/press-start-2p-cyrillic-400-normal.woff +0 -0
  173. package/dist/files/press-start-2p-cyrillic-400-normal.woff2 +0 -0
  174. package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff +0 -0
  175. package/dist/files/press-start-2p-cyrillic-ext-400-normal.woff2 +0 -0
  176. package/dist/files/press-start-2p-greek-400-normal.woff +0 -0
  177. package/dist/files/press-start-2p-greek-400-normal.woff2 +0 -0
  178. package/dist/files/press-start-2p-latin-400-normal.woff +0 -0
  179. package/dist/files/press-start-2p-latin-400-normal.woff2 +0 -0
  180. package/dist/files/press-start-2p-latin-ext-400-normal.woff +0 -0
  181. package/dist/files/press-start-2p-latin-ext-400-normal.woff2 +0 -0
  182. package/dist/files/roboto-cyrillic-400-normal.woff +0 -0
  183. package/dist/files/roboto-cyrillic-400-normal.woff2 +0 -0
  184. package/dist/files/roboto-cyrillic-700-normal.woff +0 -0
  185. package/dist/files/roboto-cyrillic-700-normal.woff2 +0 -0
  186. package/dist/files/roboto-cyrillic-ext-400-normal.woff +0 -0
  187. package/dist/files/roboto-cyrillic-ext-400-normal.woff2 +0 -0
  188. package/dist/files/roboto-cyrillic-ext-700-normal.woff +0 -0
  189. package/dist/files/roboto-cyrillic-ext-700-normal.woff2 +0 -0
  190. package/dist/files/roboto-greek-400-normal.woff +0 -0
  191. package/dist/files/roboto-greek-400-normal.woff2 +0 -0
  192. package/dist/files/roboto-greek-700-normal.woff +0 -0
  193. package/dist/files/roboto-greek-700-normal.woff2 +0 -0
  194. package/dist/files/roboto-greek-ext-400-normal.woff +0 -0
  195. package/dist/files/roboto-greek-ext-400-normal.woff2 +0 -0
  196. package/dist/files/roboto-greek-ext-700-normal.woff +0 -0
  197. package/dist/files/roboto-greek-ext-700-normal.woff2 +0 -0
  198. package/dist/files/roboto-latin-400-normal.woff +0 -0
  199. package/dist/files/roboto-latin-400-normal.woff2 +0 -0
  200. package/dist/files/roboto-latin-700-normal.woff +0 -0
  201. package/dist/files/roboto-latin-700-normal.woff2 +0 -0
  202. package/dist/files/roboto-latin-ext-400-normal.woff +0 -0
  203. package/dist/files/roboto-latin-ext-400-normal.woff2 +0 -0
  204. package/dist/files/roboto-latin-ext-700-normal.woff +0 -0
  205. package/dist/files/roboto-latin-ext-700-normal.woff2 +0 -0
  206. package/dist/files/roboto-math-400-normal.woff +0 -0
  207. package/dist/files/roboto-math-400-normal.woff2 +0 -0
  208. package/dist/files/roboto-math-700-normal.woff +0 -0
  209. package/dist/files/roboto-math-700-normal.woff2 +0 -0
  210. package/dist/files/roboto-symbols-400-normal.woff +0 -0
  211. package/dist/files/roboto-symbols-400-normal.woff2 +0 -0
  212. package/dist/files/roboto-symbols-700-normal.woff +0 -0
  213. package/dist/files/roboto-symbols-700-normal.woff2 +0 -0
  214. package/dist/files/roboto-vietnamese-400-normal.woff +0 -0
  215. package/dist/files/roboto-vietnamese-400-normal.woff2 +0 -0
  216. package/dist/files/roboto-vietnamese-700-normal.woff +0 -0
  217. package/dist/files/roboto-vietnamese-700-normal.woff2 +0 -0
  218. package/dist/files/space-grotesk-latin-300-normal.woff +0 -0
  219. package/dist/files/space-grotesk-latin-300-normal.woff2 +0 -0
  220. package/dist/files/space-grotesk-latin-400-normal.woff +0 -0
  221. package/dist/files/space-grotesk-latin-400-normal.woff2 +0 -0
  222. package/dist/files/space-grotesk-latin-500-normal.woff +0 -0
  223. package/dist/files/space-grotesk-latin-500-normal.woff2 +0 -0
  224. package/dist/files/space-grotesk-latin-600-normal.woff +0 -0
  225. package/dist/files/space-grotesk-latin-600-normal.woff2 +0 -0
  226. package/dist/files/space-grotesk-latin-700-normal.woff +0 -0
  227. package/dist/files/space-grotesk-latin-700-normal.woff2 +0 -0
  228. package/dist/files/space-grotesk-latin-ext-300-normal.woff +0 -0
  229. package/dist/files/space-grotesk-latin-ext-300-normal.woff2 +0 -0
  230. package/dist/files/space-grotesk-latin-ext-400-normal.woff +0 -0
  231. package/dist/files/space-grotesk-latin-ext-400-normal.woff2 +0 -0
  232. package/dist/files/space-grotesk-latin-ext-500-normal.woff +0 -0
  233. package/dist/files/space-grotesk-latin-ext-500-normal.woff2 +0 -0
  234. package/dist/files/space-grotesk-latin-ext-600-normal.woff +0 -0
  235. package/dist/files/space-grotesk-latin-ext-600-normal.woff2 +0 -0
  236. package/dist/files/space-grotesk-latin-ext-700-normal.woff +0 -0
  237. package/dist/files/space-grotesk-latin-ext-700-normal.woff2 +0 -0
  238. package/dist/files/space-grotesk-vietnamese-300-normal.woff +0 -0
  239. package/dist/files/space-grotesk-vietnamese-300-normal.woff2 +0 -0
  240. package/dist/files/space-grotesk-vietnamese-400-normal.woff +0 -0
  241. package/dist/files/space-grotesk-vietnamese-400-normal.woff2 +0 -0
  242. package/dist/files/space-grotesk-vietnamese-500-normal.woff +0 -0
  243. package/dist/files/space-grotesk-vietnamese-500-normal.woff2 +0 -0
  244. package/dist/files/space-grotesk-vietnamese-600-normal.woff +0 -0
  245. package/dist/files/space-grotesk-vietnamese-600-normal.woff2 +0 -0
  246. package/dist/files/space-grotesk-vietnamese-700-normal.woff +0 -0
  247. package/dist/files/space-grotesk-vietnamese-700-normal.woff2 +0 -0
  248. package/dist/index.js +4 -4
  249. package/dist/internal/common/ErrorFallback.d.ts.map +1 -1
  250. package/dist/internal/common/GlobalErrorFallback.d.ts.map +1 -1
  251. package/dist/internal/common/RouteErrorFallback.d.ts.map +1 -1
  252. package/dist/internal/devtools/DebugTools.d.ts +1 -1
  253. package/dist/internal/devtools/DebugTools.d.ts.map +1 -1
  254. package/dist/internal/devtools/components/AuthDebugButton.d.ts.map +1 -1
  255. package/dist/internal/devtools/components/ConfigTab.d.ts +1 -1
  256. package/dist/internal/devtools/components/ConfigTab.d.ts.map +1 -1
  257. package/dist/internal/devtools/components/CookieTab.d.ts +1 -1
  258. package/dist/internal/devtools/components/CookieTab.d.ts.map +1 -1
  259. package/dist/internal/devtools/components/DebugDialog.d.ts +1 -1
  260. package/dist/internal/devtools/components/DebugDialog.d.ts.map +1 -1
  261. package/dist/internal/devtools/components/DesignTab.d.ts +1 -1
  262. package/dist/internal/devtools/components/DesignTab.d.ts.map +1 -1
  263. package/dist/internal/devtools/components/LayoutReset.d.ts.map +1 -1
  264. package/dist/internal/devtools/components/MaskedValue.d.ts +1 -1
  265. package/dist/internal/devtools/components/MaskedValue.d.ts.map +1 -1
  266. package/dist/internal/devtools/components/StoresTab.d.ts +1 -1
  267. package/dist/internal/devtools/components/StoresTab.d.ts.map +1 -1
  268. package/dist/internal/initializers/BaseStoresInitializer.d.ts +2 -2
  269. package/dist/internal/initializers/BaseStoresInitializer.d.ts.map +1 -1
  270. package/dist/internal/initializers/BaseStoresInitializer.js +30 -5
  271. package/dist/internal/initializers/NextJsStoresInitializer.d.ts +2 -2
  272. package/dist/internal/initializers/NextJsStoresInitializer.d.ts.map +1 -1
  273. package/dist/internal/initializers/ViteStoresInitializer.d.ts +10 -2
  274. package/dist/internal/initializers/ViteStoresInitializer.d.ts.map +1 -1
  275. package/dist/internal/initializers/ViteStoresInitializer.js +0 -9
  276. package/dist/internal/layout/DnDevLayout.d.ts +1 -1
  277. package/dist/internal/layout/DnDevLayout.d.ts.map +1 -1
  278. package/dist/internal/layout/DnDevLayout.js +19 -5
  279. package/dist/internal/layout/components/AutoMetaTags.d.ts.map +1 -1
  280. package/dist/internal/layout/components/AutoMetaTags.js +2 -2
  281. package/dist/internal/layout/components/FaviconHead.d.ts.map +1 -1
  282. package/dist/internal/layout/components/HeadTags.d.ts +21 -0
  283. package/dist/internal/layout/components/HeadTags.d.ts.map +1 -0
  284. package/dist/internal/layout/components/HeadTags.js +20 -0
  285. package/dist/internal/layout/components/NextJsAutoMetaTags.d.ts.map +1 -1
  286. package/dist/internal/layout/components/PerformanceHints.d.ts +12 -0
  287. package/dist/internal/layout/components/PerformanceHints.d.ts.map +1 -1
  288. package/dist/internal/layout/components/PerformanceHints.js +2 -15
  289. package/dist/internal/layout/config/defaults.d.ts +10 -0
  290. package/dist/internal/layout/config/defaults.d.ts.map +1 -1
  291. package/dist/internal/layout/config/defaults.js +0 -11
  292. package/dist/internal/layout/zones/DnDevFooter.d.ts +1 -1
  293. package/dist/internal/layout/zones/DnDevFooter.d.ts.map +1 -1
  294. package/dist/internal/layout/zones/DnDevHeader.d.ts.map +1 -1
  295. package/dist/internal/layout/zones/DnDevMergedBar.d.ts.map +1 -1
  296. package/dist/internal/layout/zones/DnDevSidebar.d.ts.map +1 -1
  297. package/dist/internal/providers/NavigationProvider.d.ts +30 -1
  298. package/dist/internal/providers/NavigationProvider.d.ts.map +1 -1
  299. package/dist/internal/providers/UIProviders.d.ts +8 -0
  300. package/dist/internal/providers/UIProviders.d.ts.map +1 -1
  301. package/dist/internal/providers/UIProviders.js +0 -9
  302. package/dist/providers/NextJsAppProviders.d.ts +1 -1
  303. package/dist/providers/NextJsAppProviders.d.ts.map +1 -1
  304. package/dist/providers/NextJsAppProviders.js +9 -4
  305. package/dist/providers/ViteAppProviders.d.ts +1 -1
  306. package/dist/providers/ViteAppProviders.d.ts.map +1 -1
  307. package/dist/routing/404.d.ts +1 -1
  308. package/dist/routing/404.d.ts.map +1 -1
  309. package/dist/routing/AuthGuard.d.ts +2 -2
  310. package/dist/routing/AuthGuard.d.ts.map +1 -1
  311. package/dist/routing/AuthGuardFallback.d.ts +1 -1
  312. package/dist/routing/AuthGuardFallback.d.ts.map +1 -1
  313. package/dist/routing/AuthReturnTo.js +1 -1
  314. package/dist/routing/DnDevNavigationMenu.d.ts.map +1 -1
  315. package/dist/routing/GoTo.d.ts +1 -1
  316. package/dist/routing/GoTo.d.ts.map +1 -1
  317. package/dist/routing/GoToDialog.d.ts.map +1 -1
  318. package/dist/routing/GoToInput.d.ts +1 -1
  319. package/dist/routing/GoToInput.d.ts.map +1 -1
  320. package/dist/routing/GoToWrapper.d.ts +1 -1
  321. package/dist/routing/GoToWrapper.d.ts.map +1 -1
  322. package/dist/routing/GoToWrapper.js +4 -1
  323. package/dist/routing/Link.d.ts +1 -1
  324. package/dist/routing/Link.d.ts.map +1 -1
  325. package/dist/routing/Link.js +0 -1
  326. package/dist/routing/NavigationItem.d.ts +1 -1
  327. package/dist/routing/NavigationItem.d.ts.map +1 -1
  328. package/dist/routing/useRouteDiscovery.d.ts +1 -1
  329. package/dist/routing/useRouteDiscovery.d.ts.map +1 -1
  330. package/dist/styles/index.css +14 -831
  331. package/dist/symbol-index.json +1 -1
  332. package/dist/utils/tList.d.ts +8 -0
  333. package/dist/utils/tList.d.ts.map +1 -1
  334. package/dist/utils/tList.js +0 -9
  335. package/dist/utils/useSeo.d.ts.map +1 -1
  336. package/dist/utils/useSeo.js +2 -2
  337. package/dist/vite-routing/AppRoutes.d.ts +1 -1
  338. package/dist/vite-routing/AppRoutes.d.ts.map +1 -1
  339. package/dist/vite-routing/AppRoutes.js +1 -1
  340. package/dist/vite-routing/RootLayout.d.ts +1 -1
  341. package/dist/vite-routing/RootLayout.d.ts.map +1 -1
  342. package/dist/vite-routing/RootLayout.js +1 -1
  343. package/package.json +8 -8
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/internal/common/ErrorFallback.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,UAAU,kBAAkB;IAC1B,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED;;;;;;;;;;GAUG;AACH,QAAA,MAAM,aAAa,EAAE,aAAa,CAAC,kBAAkB,CA0TpD,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"ErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/internal/common/ErrorFallback.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,UAAU,kBAAkB;IAC1B,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED;;;;;;;;;;GAUG;AACH,QAAA,MAAM,aAAa,EAAE,aAAa,CAAC,kBAAkB,CA0TpD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/internal/common/GlobalErrorFallback.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,UAAU,mBAAmB;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;;;;;GAMG;AACH,QAAA,MAAM,mBAAmB,EAAE,aAAa,CAAC,mBAAmB,CAuC3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"GlobalErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/internal/common/GlobalErrorFallback.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAO3C,UAAU,mBAAmB;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;;;;;GAMG;AACH,QAAA,MAAM,mBAAmB,EAAE,aAAa,CAAC,mBAAmB,CAuC3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RouteErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/internal/common/RouteErrorFallback.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,UAAU,uBAAuB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,EAAE,aAAa,CAAC,uBAAuB,CAoPrE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"RouteErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/internal/common/RouteErrorFallback.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAiB3C,UAAU,uBAAuB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,EAAE,aAAa,CAAC,uBAAuB,CAoPrE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  interface DebugToolsProps {
2
2
  className?: string;
3
3
  }
4
- declare const DebugTools: ({ className }: DebugToolsProps) => import("react/jsx-runtime").JSX.Element;
4
+ declare const DebugTools: ({ className }: DebugToolsProps) => import("react").JSX.Element;
5
5
  export default DebugTools;
6
6
  //# sourceMappingURL=DebugTools.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebugTools.d.ts","sourceRoot":"","sources":["../../../src/internal/devtools/DebugTools.tsx"],"names":[],"mappings":"AAgCA,UAAU,eAAe;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,GAAI,eAAe,eAAe,4CAmOjD,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"DebugTools.d.ts","sourceRoot":"","sources":["../../../src/internal/devtools/DebugTools.tsx"],"names":[],"mappings":"AA+BA,UAAU,eAAe;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,UAAU,GAAI,eAAe,eAAe,gCAmOjD,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AuthDebugButton.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/AuthDebugButton.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,aA+E7B,CAAC"}
1
+ {"version":3,"file":"AuthDebugButton.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/AuthDebugButton.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3C;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,aA+E7B,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const ConfigTab: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const ConfigTab: () => import("react").JSX.Element;
2
2
  //# sourceMappingURL=ConfigTab.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigTab.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/ConfigTab.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS,+CAqGrB,CAAC"}
1
+ {"version":3,"file":"ConfigTab.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/ConfigTab.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,SAAS,mCAqGrB,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const CookieTab: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const CookieTab: () => import("react").JSX.Element;
2
2
  //# sourceMappingURL=CookieTab.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CookieTab.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/CookieTab.tsx"],"names":[],"mappings":"AAyCA,eAAO,MAAM,SAAS,+CAmhBrB,CAAC"}
1
+ {"version":3,"file":"CookieTab.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/CookieTab.tsx"],"names":[],"mappings":"AAyCA,eAAO,MAAM,SAAS,mCAmhBrB,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const DebugDialog: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const DebugDialog: () => import("react").JSX.Element;
2
2
  //# sourceMappingURL=DebugDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebugDialog.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/DebugDialog.tsx"],"names":[],"mappings":"AA8BA,eAAO,MAAM,WAAW,+CAiFvB,CAAC"}
1
+ {"version":3,"file":"DebugDialog.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/DebugDialog.tsx"],"names":[],"mappings":"AA8BA,eAAO,MAAM,WAAW,mCAiFvB,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const DesignTab: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const DesignTab: () => import("react").JSX.Element;
2
2
  //# sourceMappingURL=DesignTab.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DesignTab.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/DesignTab.tsx"],"names":[],"mappings":"AA+CA,eAAO,MAAM,SAAS,+CAozBrB,CAAC"}
1
+ {"version":3,"file":"DesignTab.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/DesignTab.tsx"],"names":[],"mappings":"AA+CA,eAAO,MAAM,SAAS,mCAozBrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutReset.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/LayoutReset.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,eAAO,MAAM,WAAW,EAAE,aAqOxB,CAAC"}
1
+ {"version":3,"file":"LayoutReset.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/LayoutReset.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAK3C,eAAO,MAAM,WAAW,EAAE,aAqOxB,CAAC"}
@@ -17,5 +17,5 @@ export interface MaskedValueProps {
17
17
  * Always copies the real value, but can mask the display
18
18
 
19
19
  */
20
- export declare const MaskedValue: ({ keyName, value, className, textClassName, compact, }: MaskedValueProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const MaskedValue: ({ keyName, value, className, textClassName, compact, }: MaskedValueProps) => import("react").JSX.Element;
21
21
  //# sourceMappingURL=MaskedValue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MaskedValue.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/MaskedValue.tsx"],"names":[],"mappings":"AAgCA,MAAM,WAAW,gBAAgB;IAC/B,iEAAiE;IAEjE,OAAO,EAAE,MAAM,CAAC;IAEhB,4EAA4E;IAE5E,KAAK,EAAE,MAAM,CAAC;IAEd,2CAA2C;IAE3C,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,sCAAsC;IAEtC,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,oDAAoD;IAEpD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;GAMG;AAEH,eAAO,MAAM,WAAW,GAAI,wDAUzB,gBAAgB,4CA2ElB,CAAC"}
1
+ {"version":3,"file":"MaskedValue.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/MaskedValue.tsx"],"names":[],"mappings":"AAgCA,MAAM,WAAW,gBAAgB;IAC/B,iEAAiE;IAEjE,OAAO,EAAE,MAAM,CAAC;IAEhB,4EAA4E;IAE5E,KAAK,EAAE,MAAM,CAAC;IAEd,2CAA2C;IAE3C,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,sCAAsC;IAEtC,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,oDAAoD;IAEpD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;GAMG;AAEH,eAAO,MAAM,WAAW,GAAI,wDAUzB,gBAAgB,gCA2ElB,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const StoresTab: () => import("react/jsx-runtime").JSX.Element;
1
+ export declare const StoresTab: () => import("react").JSX.Element;
2
2
  //# sourceMappingURL=StoresTab.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StoresTab.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/StoresTab.tsx"],"names":[],"mappings":"AAwCA,eAAO,MAAM,SAAS,+CAsHrB,CAAC"}
1
+ {"version":3,"file":"StoresTab.d.ts","sourceRoot":"","sources":["../../../../src/internal/devtools/components/StoresTab.tsx"],"names":[],"mappings":"AAwCA,eAAO,MAAM,SAAS,mCAsHrB,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { CustomStoreConfig } from '@donotdev/core';
2
1
  import type { ReactNode } from 'react';
2
+ import type { CustomStoreConfig } from '@donotdev/core';
3
3
  /**
4
4
  * Store handlers interface
5
5
  *
@@ -36,5 +36,5 @@ export interface BaseStoresInitializerProps {
36
36
  * @since 0.0.1
37
37
  * @author AMBROISE PARK Consulting
38
38
  */
39
- export declare function BaseStoresInitializer({ children, handlers, customStores, skipStoreInit, serverCookies, renderBeforeReady, }: BaseStoresInitializerProps): import("react/jsx-runtime").JSX.Element | null;
39
+ export declare function BaseStoresInitializer({ children, handlers, customStores, skipStoreInit, serverCookies, renderBeforeReady, }: BaseStoresInitializerProps): import("react").JSX.Element | null;
40
40
  //# sourceMappingURL=BaseStoresInitializer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseStoresInitializer.d.ts","sourceRoot":"","sources":["../../../src/internal/initializers/BaseStoresInitializer.tsx"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAa,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AA6DvC;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,aAAa,CAAC;IACxB,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gGAAgG;IAChG,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAiID;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,QAAQ,EACR,YAAiB,EACjB,aAAqB,EACrB,aAAa,EACb,iBAAyB,GAC1B,EAAE,0BAA0B,kDAiL5B"}
1
+ {"version":3,"file":"BaseStoresInitializer.d.ts","sourceRoot":"","sources":["../../../src/internal/initializers/BaseStoresInitializer.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAyBvC,OAAO,KAAK,EAAa,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AA6DnE;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;GAMG;AACH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,aAAa,CAAC;IACxB,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gGAAgG;IAChG,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAiID;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,QAAQ,EACR,YAAiB,EACjB,aAAqB,EACrB,aAAa,EACb,iBAAyB,GAC1B,EAAE,0BAA0B,sCA+M5B"}
@@ -10,8 +10,8 @@ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
10
10
  * @author AMBROISE PARK Consulting
11
11
  */
12
12
  import { useEffect, useLayoutEffect, useRef, useState } from 'react';
13
- import { useThemeStore, useNavigationStore, useOverlayStore, useNetworkStore, useAbortControllerStore, useConsentStore, useLanguageStore, useConsentReady, useThemeReady, getPlatformEnvVar, } from '@donotdev/core';
14
13
  import { initRipple } from '@donotdev/components';
14
+ import { useThemeStore, useNavigationStore, useOverlayStore, useNetworkStore, useAbortControllerStore, useConsentStore, useLanguageStore, getPlatformEnvVar, } from '@donotdev/core';
15
15
  import { useI18nReady, getI18nInstance, getSupportedLanguages, } from '@donotdev/core';
16
16
  import { handleError, isClient, getDndevConfig, globalEmitter, } from '@donotdev/core';
17
17
  import { useAppConfig } from '@donotdev/core';
@@ -250,9 +250,34 @@ export function BaseStoresInitializer({ children, handlers, customStores = [], s
250
250
  };
251
251
  initializeStores();
252
252
  }, [skipStoreInit, handlers, appConfig, customStores]);
253
- const consentReady = useConsentReady();
254
- const themeReady = useThemeReady();
255
- const i18nReady = useI18nReady();
253
+ // Built-in store readiness (consent, theme, i18n). Read non-reactively via
254
+ // getState()/instance flags and track changes with subscriptions, instead of
255
+ // zustand's reactive hooks (useConsentReady/useThemeReady). Under React 19
256
+ // static prerendering those useSyncExternalStore-based hooks hit a null
257
+ // dispatcher and crash `next build`. This pattern is SSR-, static-generation-,
258
+ // and client-safe, and keeps readiness reactive on the client.
259
+ const [builtinReady, setBuiltinReady] = useState(() => useConsentStore.getState().isReady === true &&
260
+ useThemeStore.getState().isReady === true &&
261
+ useI18nReady());
262
+ useEffect(() => {
263
+ if (!isClient())
264
+ return;
265
+ const check = () => setBuiltinReady(useConsentStore.getState().isReady === true &&
266
+ useThemeStore.getState().isReady === true &&
267
+ useI18nReady());
268
+ const unsubConsent = useConsentStore.subscribe(check);
269
+ const unsubTheme = useThemeStore.subscribe(check);
270
+ const i18n = getI18nInstance();
271
+ i18n.on?.('initialized', check);
272
+ i18n.on?.('loaded', check);
273
+ check();
274
+ return () => {
275
+ unsubConsent();
276
+ unsubTheme();
277
+ i18n.off?.('initialized', check);
278
+ i18n.off?.('loaded', check);
279
+ };
280
+ }, []);
256
281
  const criticalCustomStores = customStores.filter((config) => config.type === 'critical');
257
282
  // Track custom store readiness via subscriptions — never call hooks inside .map()
258
283
  const [allCustomReady, setAllCustomReady] = useState(() => {
@@ -283,7 +308,7 @@ export function BaseStoresInitializer({ children, handlers, customStores = [], s
283
308
  };
284
309
  // criticalCustomStores reference changes only when customStores prop changes
285
310
  }, [customStores]);
286
- const criticalReady = consentReady && themeReady && i18nReady && allCustomReady;
311
+ const criticalReady = builtinReady && allCustomReady;
287
312
  // Two-phase loader: wait for BOTH framework AND route to be ready
288
313
  useLayoutEffect(() => {
289
314
  if (!isClient() || !criticalReady)
@@ -1,5 +1,5 @@
1
- import type { CustomStoreConfig } from '@donotdev/core';
2
1
  import type { ReactNode } from 'react';
2
+ import type { CustomStoreConfig } from '@donotdev/core';
3
3
  interface NextJsStoresInitializerProps {
4
4
  children: ReactNode;
5
5
  serverCookies?: string;
@@ -17,6 +17,6 @@ interface NextJsStoresInitializerProps {
17
17
  * @since 0.0.1
18
18
  * @author AMBROISE PARK Consulting
19
19
  */
20
- export declare function NextJsStoresInitializer({ children, serverCookies, customStores, skipStoreInit, }: NextJsStoresInitializerProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function NextJsStoresInitializer({ children, serverCookies, customStores, skipStoreInit, }: NextJsStoresInitializerProps): import("react").JSX.Element;
21
21
  export {};
22
22
  //# sourceMappingURL=NextJsStoresInitializer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NextJsStoresInitializer.d.ts","sourceRoot":"","sources":["../../../src/internal/initializers/NextJsStoresInitializer.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAOxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,4BAA4B;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAQD;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,aAAa,GACd,EAAE,4BAA4B,2CAqD9B"}
1
+ {"version":3,"file":"NextJsStoresInitializer.d.ts","sourceRoot":"","sources":["../../../src/internal/initializers/NextJsStoresInitializer.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAOxD,UAAU,4BAA4B;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAQD;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,aAAa,GACd,EAAE,4BAA4B,+BAqD9B"}
@@ -1,5 +1,13 @@
1
- import type { CustomStoreConfig } from '@donotdev/core';
1
+ /**
2
+ * @fileoverview Vite stores initializer
3
+ * @description Vite-specific store initialization wrapper
4
+ *
5
+ * @version 0.1.0
6
+ * @since 0.0.1
7
+ * @author AMBROISE PARK Consulting
8
+ */
2
9
  import type { ReactNode } from 'react';
10
+ import type { CustomStoreConfig } from '@donotdev/core';
3
11
  interface ViteStoresInitializerProps {
4
12
  children: ReactNode;
5
13
  customStores?: CustomStoreConfig[];
@@ -15,6 +23,6 @@ interface ViteStoresInitializerProps {
15
23
  * @since 0.0.1
16
24
  * @author AMBROISE PARK Consulting
17
25
  */
18
- export declare function ViteStoresInitializer({ children, customStores, skipStoreInit, }: ViteStoresInitializerProps): import("react/jsx-runtime").JSX.Element;
26
+ export declare function ViteStoresInitializer({ children, customStores, skipStoreInit, }: ViteStoresInitializerProps): import("react").JSX.Element;
19
27
  export {};
20
28
  //# sourceMappingURL=ViteStoresInitializer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ViteStoresInitializer.d.ts","sourceRoot":"","sources":["../../../src/internal/initializers/ViteStoresInitializer.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAOxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,0BAA0B;IAClC,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAMD;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,YAAY,EACZ,aAAa,GACd,EAAE,0BAA0B,2CAY5B"}
1
+ {"version":3,"file":"ViteStoresInitializer.d.ts","sourceRoot":"","sources":["../../../src/internal/initializers/ViteStoresInitializer.tsx"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAOxD,UAAU,0BAA0B;IAClC,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAMD;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,YAAY,EACZ,aAAa,GACd,EAAE,0BAA0B,+BAY5B"}
@@ -1,13 +1,4 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- // packages/ui/src/internal/initializers/ViteStoresInitializer.tsx
3
- /**
4
- * @fileoverview Vite stores initializer
5
- * @description Vite-specific store initialization wrapper
6
- *
7
- * @version 0.1.0
8
- * @since 0.0.1
9
- * @author AMBROISE PARK Consulting
10
- */
11
2
  import { isTest } from '@donotdev/core';
12
3
  import { BaseStoresInitializer, } from './BaseStoresInitializer';
13
4
  const VITE_HANDLERS = {
@@ -29,6 +29,6 @@ interface DnDevLayoutComponentProps {
29
29
  * @since 0.0.1
30
30
  * @author AMBROISE PARK Consulting
31
31
  */
32
- export declare const DnDevLayout: ({ children, layout, className, }: DnDevLayoutComponentProps) => import("react/jsx-runtime").JSX.Element;
32
+ export declare const DnDevLayout: ({ children, layout, className, }: DnDevLayoutComponentProps) => import("react").JSX.Element;
33
33
  export {};
34
34
  //# sourceMappingURL=DnDevLayout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DnDevLayout.d.ts","sourceRoot":"","sources":["../../../src/internal/layout/DnDevLayout.tsx"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AAEH,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAIV,YAAY,EACb,MAAM,gBAAgB,CAAC;AA0CxB,UAAU,yBAAyB;IACjC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW,GAAI,kCAIzB,yBAAyB,4CAqY3B,CAAC"}
1
+ {"version":3,"file":"DnDevLayout.d.ts","sourceRoot":"","sources":["../../../src/internal/layout/DnDevLayout.tsx"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AAEH,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAIV,YAAY,EACb,MAAM,gBAAgB,CAAC;AA0CxB,UAAU,yBAAyB;IACjC,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW,GAAI,kCAIzB,yBAAyB,gCAkZ3B,CAAC"}
@@ -284,17 +284,31 @@ export const DnDevLayout = ({ children, layout, className, }) => {
284
284
  .trim() || 'none';
285
285
  mainRef.current.setAttribute('data-routing-animation', routingAnimation);
286
286
  }, [pathname]);
287
- // Apply data attributes
287
+ const effectiveDensity = effectivePreset
288
+ ? LAYOUT_DENSITY_DEFAULTS[effectivePreset] || DENSITY.STANDARD
289
+ : undefined;
290
+ // Mirror the preset onto <html>. Client-only by nature (documentElement is not
291
+ // ours to render), so it lands after hydration — which is why the same
292
+ // attributes are rendered on the wrapper below. Kept because a handful of rules
293
+ // are scoped to :root[data-layout=...] rather than to a descendant.
288
294
  useLayoutEffect(() => {
289
295
  if (!isClient() || !effectivePreset)
290
296
  return;
291
297
  const updateDOM = () => {
292
298
  const root = document.documentElement;
293
299
  root.setAttribute('data-layout', effectivePreset);
294
- const density = LAYOUT_DENSITY_DEFAULTS[effectivePreset] || DENSITY.STANDARD;
295
- root.setAttribute('data-density', density);
300
+ if (effectiveDensity)
301
+ root.setAttribute('data-density', effectiveDensity);
296
302
  };
297
303
  startTransition(updateDOM);
298
- }, [effectivePreset]);
299
- return (_jsxs("div", { className: cn('dndev-layout', className), "data-footer-inline": footerInline || undefined, "data-has-mergedbar": resolvedMergedBar ? '' : undefined, children: [resolvedHeader, resolvedSidebar, _jsxs("main", { ref: mainRef, role: "main", className: "main", children: [breadcrumbs !== 'never' && !routeHideBreadcrumbs && (_jsx("div", { className: "breadcrumbs-container", children: _jsx(Breadcrumbs, { variant: breadcrumbs === 'always' ? 'default' : 'smart' }) })), debugEnabled && (_jsx(Suspense, { fallback: null, children: _jsx(DebugTools, {}) })), layout?.wrapper ? layout.wrapper({ children: content }) : content, footerInline && resolvedFooter] }), !footerInline && resolvedFooter, resolvedMergedBar, _jsx(GoToWrapper, {})] }));
304
+ }, [effectivePreset, effectiveDensity]);
305
+ return (
306
+ // data-layout / data-density are rendered here, not only pushed onto <html>
307
+ // by the effect above: a preset hides its chrome through CSS
308
+ // (`[data-layout='plain'] header[role='banner'] { display: none }`), and
309
+ // header, sidebar and footer are all descendants of this wrapper. Setting the
310
+ // attribute only from a client effect — deferred further by startTransition —
311
+ // meant the server shipped the full chrome with nothing to hide it, so every
312
+ // first paint flashed a header and a sidebar the preset had removed.
313
+ _jsxs("div", { className: cn('dndev-layout', className), "data-layout": effectivePreset || undefined, "data-density": effectiveDensity, "data-footer-inline": footerInline || undefined, "data-has-mergedbar": resolvedMergedBar ? '' : undefined, children: [resolvedHeader, resolvedSidebar, _jsxs("main", { ref: mainRef, role: "main", className: "main", children: [breadcrumbs !== 'never' && !routeHideBreadcrumbs && (_jsx("div", { className: "breadcrumbs-container", children: _jsx(Breadcrumbs, { variant: breadcrumbs === 'always' ? 'default' : 'smart' }) })), debugEnabled && (_jsx(Suspense, { fallback: null, children: _jsx(DebugTools, {}) })), layout?.wrapper ? layout.wrapper({ children: content }) : content, footerInline && resolvedFooter] }), !footerInline && resolvedFooter, resolvedMergedBar, _jsx(GoToWrapper, {})] }));
300
314
  };
@@ -1 +1 @@
1
- {"version":3,"file":"AutoMetaTags.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/AutoMetaTags.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAqN3C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY,EAAE,aAqT1B,CAAC;AAEF;;;GAGG;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"AutoMetaTags.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/AutoMetaTags.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AA8N3C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY,EAAE,aAqT1B,CAAC;AAEF;;;GAGG;AAEH,eAAe,YAAY,CAAC"}
@@ -20,13 +20,13 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
20
20
  * @author AMBROISE PARK Consulting
21
21
  */
22
22
  import { useMemo } from 'react';
23
- import { Helmet } from 'react-helmet-async';
24
23
  import { useTranslation, useIsClient } from '@donotdev/core';
25
24
  import { getDndevConfig } from '@donotdev/core';
26
25
  import { useSeoConfig, useAppConfig, getPlatformEnvVar } from '@donotdev/core';
27
26
  import { AssetResolver } from '@donotdev/ui';
28
27
  // Platform-specific hooks via conditional exports
29
28
  import { useLocation } from '@donotdev/ui/routing/hooks';
29
+ import { HeadTags } from './HeadTags';
30
30
  /**
31
31
  * Match pathname against route path pattern (e.g. /cars/:id or /blog/:slug/comments/:id).
32
32
  * Supports arbitrary nesting: any depth, any mix of static and :param segments.
@@ -301,7 +301,7 @@ export const AutoMetaTags = () => {
301
301
  const languages = i18nConfig?.languages || [];
302
302
  const defaultLanguage = i18nConfig?.defaultLanguage || 'en';
303
303
  const shouldEmitHreflang = hreflangEnabled && languages.length >= 2;
304
- return (_jsxs(Helmet, { children: [_jsx("title", { children: metaData.title }), metaData.description && (_jsx("meta", { name: "description", content: metaData.description })), baseUrl && _jsx("link", { rel: "canonical", href: metaData.url }), metaData.keywords && (_jsx("meta", { name: "keywords", content: Array.isArray(metaData.keywords)
304
+ return (_jsxs(HeadTags, { children: [_jsx("title", { children: metaData.title }), metaData.description && (_jsx("meta", { name: "description", content: metaData.description })), baseUrl && _jsx("link", { rel: "canonical", href: metaData.url }), metaData.keywords && (_jsx("meta", { name: "keywords", content: Array.isArray(metaData.keywords)
305
305
  ? metaData.keywords.join(', ')
306
306
  : metaData.keywords })), metaData.author && _jsx("meta", { name: "author", content: metaData.author }), metaData.noindex && _jsx("meta", { name: "robots", content: "noindex, nofollow" }), _jsx("meta", { property: "og:title", content: metaData.title }), metaData.description && (_jsx("meta", { property: "og:description", content: metaData.description })), baseUrl && _jsx("meta", { property: "og:url", content: metaData.url }), _jsx("meta", { property: "og:type", content: metaData.type }), metaData.image && _jsx("meta", { property: "og:image", content: metaData.image }), metaData.image && _jsx("meta", { property: "og:image:width", content: "1200" }), metaData.image && _jsx("meta", { property: "og:image:height", content: "630" }), _jsx("meta", { property: "og:site_name", content: siteName }), metaData.type === 'article' && (_jsxs(_Fragment, { children: [metaData.author && (_jsx("meta", { property: "article:author", content: metaData.author })), metaData.publishDate && (_jsx("meta", { property: "article:published_time", content: metaData.publishDate })), metaData.modifiedDate && (_jsx("meta", { property: "article:modified_time", content: metaData.modifiedDate }))] })), _jsx("meta", { name: "twitter:card", content: "summary_large_image" }), _jsx("meta", { name: "twitter:title", content: metaData.title }), metaData.description && (_jsx("meta", { name: "twitter:description", content: metaData.description })), metaData.image && _jsx("meta", { name: "twitter:image", content: metaData.image }), twitterHandle && (_jsx("meta", { name: "twitter:site", content: `@${twitterHandle}` })), metaData.author && (_jsx("meta", { name: "twitter:creator", content: metaData.author })), _jsx("meta", { name: "format-detection", content: "telephone=no" }), _jsx("meta", { name: "mobile-web-app-capable", content: "yes" }), _jsx("meta", { name: "apple-mobile-web-app-status-bar-style", content: "default" }), Object.entries(staticTags).map(([name, content]) => (_jsx("meta", { name: name, content: content }, name))), shouldEmitHreflang &&
307
307
  languages.map((lang) => (_jsx("link", { rel: "alternate", hrefLang: lang, href: `${baseUrl}${lang === defaultLanguage ? '' : `/${lang}`}${location.pathname}` }, `hreflang-${lang}`))), shouldEmitHreflang && (_jsx("link", { rel: "alternate", hrefLang: "x-default", href: `${baseUrl}${location.pathname}` })), baseUrl && (_jsx("link", { rel: "alternate", type: "application/rss+xml", title: `${siteName} Blog`, href: `${baseUrl}/rss.xml` })), metaData.image && metaData.image.startsWith('http') && (_jsx("link", { rel: "dns-prefetch", href: new URL(metaData.image).origin })), _jsx("script", { type: "application/ld+json", children: JSON.stringify({
@@ -1 +1 @@
1
- {"version":3,"file":"FaviconHead.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/FaviconHead.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,WAAW,EAAE,aA+GlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"FaviconHead.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/FaviconHead.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAO3C;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,WAAW,EAAE,aA+GlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @fileoverview Platform-aware <head> tag wrapper
3
+ * @description Renders document-head tags (<title>/<meta>/<link>) the right way
4
+ * per platform, so the same component code works under Next SSR and Vite CSR.
5
+ *
6
+ * - Next.js: renders a plain fragment. React 19 natively hoists <title>, <meta>
7
+ * and <link> to <head> from anywhere in the tree, so no head-management library
8
+ * is needed. Crucially, rendering react-helmet-async on the server throws
9
+ * (it reads `document`), which is what blocked SSR — this path avoids it.
10
+ * - Vite (CSR SPA): renders react-helmet-async's <Helmet>, which hoists tags to
11
+ * <head> at runtime. Behavior is unchanged from before.
12
+ *
13
+ * @version 0.1.0
14
+ * @since 0.1.0
15
+ * @author AMBROISE PARK Consulting
16
+ */
17
+ import type { ReactNode } from 'react';
18
+ export declare function HeadTags({ children }: {
19
+ children: ReactNode;
20
+ }): import("react").JSX.Element;
21
+ //# sourceMappingURL=HeadTags.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeadTags.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/HeadTags.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAe7D"}
@@ -0,0 +1,20 @@
1
+ 'use client';
2
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
3
+ import { Helmet } from 'react-helmet-async';
4
+ import { isNextJs } from '@donotdev/core';
5
+ export function HeadTags({ children }) {
6
+ // On any server render, never touch react-helmet-async — it reads `document`
7
+ // and throws. React 19 hoists <title>/<meta>/<link> to <head> natively during
8
+ // SSR, so a fragment is all that's needed. (Vite is a CSR SPA and never renders
9
+ // on a server, so this branch is Next-SSR only.)
10
+ if (typeof document === 'undefined') {
11
+ return _jsx(_Fragment, { children: children });
12
+ }
13
+ // Client render: on Next, React 19 already hoisted these tags server-side and
14
+ // there is no <HelmetProvider> — so keep using the native fragment. Only the
15
+ // Vite SPA (no Next markers) uses react-helmet-async, exactly as before.
16
+ if (isNextJs()) {
17
+ return _jsx(_Fragment, { children: children });
18
+ }
19
+ return _jsx(Helmet, { children: children });
20
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"NextJsAutoMetaTags.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/NextJsAutoMetaTags.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C,UAAU,cAAc;IACtB,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iCAAiC;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mCAAmC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kCAAkC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AAED,UAAU,aAAa;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,UAAU,uBAAuB;IAC/B,kCAAkC;IAClC,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2BAA2B;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2BAA2B;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACzC;AAkFD;;;;;;;;GAQG;AACH,QAAA,MAAM,kBAAkB,EAAE,aAAa,CAAC,uBAAuB,CA6M9D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"NextJsAutoMetaTags.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/NextJsAutoMetaTags.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAK3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C,UAAU,cAAc;IACtB,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iCAAiC;IACjC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mCAAmC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kCAAkC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AAED,UAAU,aAAa;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,UAAU,uBAAuB;IAC/B,kCAAkC;IAClC,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,8BAA8B;IAC9B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2BAA2B;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2BAA2B;IAC3B,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACzC;AAkFD;;;;;;;;GAQG;AACH,QAAA,MAAM,kBAAkB,EAAE,aAAa,CAAC,uBAAuB,CA6M9D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,3 +1,15 @@
1
+ /**
2
+ * @fileoverview Performance hints for faster page loads
3
+ * @description Adds preconnect, dns-prefetch, and font preload hints
4
+ *
5
+ * - Preconnect establishes early connections (DNS + TCP + TLS) to origins
6
+ * the page will need, saving 100-300ms per origin on slow networks.
7
+ * - Font preload initiates font downloads early, reducing LCP by ~500-1000ms
8
+ *
9
+ * @version 0.1.0
10
+ * @since 0.0.1
11
+ * @author AMBROISE PARK Consulting
12
+ */
1
13
  import type { ComponentType } from 'react';
2
14
  interface FontPreload {
3
15
  /** Path to font file (e.g., '/fonts/Inter-latin.woff2') */
@@ -1 +1 @@
1
- {"version":3,"file":"PerformanceHints.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/PerformanceHints.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAoC3C,UAAU,WAAW;IACnB,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,WAAW,CAAC,EAAE,WAAW,GAAG,iBAAiB,CAAC;CAC/C;AAED,UAAU,qBAAqB;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,GAAG,WAAW,CAAC,EAAE,CAAC;IACxC;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,gBAAgB,EAAE,aAAa,CAAC,qBAAqB,CA6D1D,CAAC;AAEF,eAAe,gBAAgB,CAAC;AAChC,YAAY,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC"}
1
+ {"version":3,"file":"PerformanceHints.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/components/PerformanceHints.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAsC3C,UAAU,WAAW;IACnB,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,WAAW,CAAC,EAAE,WAAW,GAAG,iBAAiB,CAAC;CAC/C;AAED,UAAU,qBAAqB;IAC7B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,GAAG,WAAW,CAAC,EAAE,CAAC;IACxC;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,gBAAgB,EAAE,aAAa,CAAC,qBAAqB,CA6D1D,CAAC;AAEF,eAAe,gBAAgB,CAAC;AAChC,YAAY,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC"}
@@ -1,19 +1,6 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- // packages/ui/src/internal/layout/components/PerformanceHints.tsx
4
- /**
5
- * @fileoverview Performance hints for faster page loads
6
- * @description Adds preconnect, dns-prefetch, and font preload hints
7
- *
8
- * - Preconnect establishes early connections (DNS + TCP + TLS) to origins
9
- * the page will need, saving 100-300ms per origin on slow networks.
10
- * - Font preload initiates font downloads early, reducing LCP by ~500-1000ms
11
- *
12
- * @version 0.1.0
13
- * @since 0.0.1
14
- * @author AMBROISE PARK Consulting
15
- */
16
- import { Helmet } from 'react-helmet-async';
3
+ import { HeadTags } from './HeadTags';
17
4
  /**
18
5
  * Common third-party origins that benefit from preconnect
19
6
  * Only includes origins that are commonly used and safe to preconnect
@@ -79,6 +66,6 @@ const PerformanceHints = ({ preconnects = [], dnsPrefetch = [], fontPreloads = [
79
66
  : fontPreloads.length > 0
80
67
  ? fontPreloads.map(normalizeFontPreload)
81
68
  : DEFAULT_FONT_PRELOADS.filter((f) => !customFontPaths.includes(f)).map(normalizeFontPreload);
82
- return (_jsxs(Helmet, { children: [allFontPreloads.map((font) => (_jsx("link", { rel: "preload", as: "font", href: font.href, type: font.type || 'font/woff2', crossOrigin: font.crossOrigin || 'anonymous' }, `font-${font.href}`))), allPreconnects.map((origin) => (_jsx("link", { rel: "preconnect", href: origin, crossOrigin: "anonymous" }, `preconnect-${origin}`))), allDnsPrefetch.map((origin) => (_jsx("link", { rel: "dns-prefetch", href: origin }, `dns-${origin}`)))] }));
69
+ return (_jsxs(HeadTags, { children: [allFontPreloads.map((font) => (_jsx("link", { rel: "preload", as: "font", href: font.href, type: font.type || 'font/woff2', crossOrigin: font.crossOrigin || 'anonymous' }, `font-${font.href}`))), allPreconnects.map((origin) => (_jsx("link", { rel: "preconnect", href: origin, crossOrigin: "anonymous" }, `preconnect-${origin}`))), allDnsPrefetch.map((origin) => (_jsx("link", { rel: "dns-prefetch", href: origin }, `dns-${origin}`)))] }));
83
70
  };
84
71
  export default PerformanceHints;
@@ -1,3 +1,13 @@
1
+ /**
2
+ * @fileoverview Slot Defaults
3
+ * @description Default slot functions for zone components.
4
+ * All slots are functions that return ReactNode (never null in defaults).
5
+ * Zones use these unless preset overrides.
6
+ *
7
+ * @version 0.1.0
8
+ * @since 0.0.1
9
+ * @author AMBROISE PARK Consulting
10
+ */
1
11
  import type { ReactNode } from 'react';
2
12
  /**
3
13
  * Default slot functions - zones use these unless preset overrides
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/config/defaults.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;QAEtB,2DAA2D;qBAChD,SAAS;QAEpB,+DAA+D;sBACnD,SAAS;QAErB,+CAA+C;mBACtC,SAAS;;;QAWlB,4DAA4D;mBACnD,SAAS;QAElB,uCAAuC;uBAC1B,SAAS;QAItB,4CAA4C;sBAChC,SAAS;QAQrB,yBAAyB;;;;;;;YAQvB,mCAAmC;2BACtB,SAAS;YAEtB,4DAA4D;uBACnD,SAAS;YAElB,gEAAgE;2BACnD,SAAS;YAEtB,8DAA8D;0BAClD,SAAS;;;CAG1B,CAAC"}
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/config/defaults.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;QAEtB,2DAA2D;qBAChD,SAAS;QAEpB,+DAA+D;sBACnD,SAAS;QAErB,+CAA+C;mBACtC,SAAS;;;QAWlB,4DAA4D;mBACnD,SAAS;QAElB,uCAAuC;uBAC1B,SAAS;QAItB,4CAA4C;sBAChC,SAAS;QAQrB,yBAAyB;;;;;;;YAQvB,mCAAmC;2BACtB,SAAS;YAEtB,4DAA4D;uBACnD,SAAS;YAElB,gEAAgE;2BACnD,SAAS;YAEtB,8DAA8D;0BAClD,SAAS;;;CAG1B,CAAC"}
@@ -1,15 +1,4 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- // packages/ui/src/internal/layout/config/defaults.tsx
3
- /**
4
- * @fileoverview Slot Defaults
5
- * @description Default slot functions for zone components.
6
- * All slots are functions that return ReactNode (never null in defaults).
7
- * Zones use these unless preset overrides.
8
- *
9
- * @version 0.1.0
10
- * @since 0.0.1
11
- * @author AMBROISE PARK Consulting
12
- */
13
2
  import { DISPLAY } from '@donotdev/components';
14
3
  import { LanguageSelector } from '@donotdev/core';
15
4
  import { AuthHeader } from '../../../components/auth';
@@ -1,5 +1,5 @@
1
- import type { AppMetadata } from '@donotdev/core';
2
1
  import type { ReactNode } from 'react';
2
+ import type { AppMetadata } from '@donotdev/core';
3
3
  export interface DnDevFooterProps {
4
4
  /** Custom mode: full zone replacement. When provided, app prop is ignored and no polish CSS applies. */
5
5
  children?: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"DnDevFooter.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/zones/DnDevFooter.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAUlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,gBAAgB;IAC/B,wGAAwG;IACxG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,uCAAuC;IACvC,GAAG,CAAC,EAAE,WAAW,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,QAAQ,EACR,GAAQ,GACT,EAAE,gBAAgB,GAAG,SAAS,CAuF9B;AAED,eAAO,MAAM,WAAW,kEAA6B,CAAC"}
1
+ {"version":3,"file":"DnDevFooter.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/zones/DnDevFooter.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAYlD,MAAM,WAAW,gBAAgB;IAC/B,wGAAwG;IACxG,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,uCAAuC;IACvC,GAAG,CAAC,EAAE,WAAW,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,QAAQ,EACR,GAAQ,GACT,EAAE,gBAAgB,GAAG,SAAS,CAuF9B;AAED,eAAO,MAAM,WAAW,kEAA6B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DnDevHeader.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/zones/DnDevHeader.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,gBAAgB;IAC/B,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACzB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC1B,4DAA4D;IAC5D,GAAG,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CACxB;AAED;;;;;;;;;;;;GAYG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,QAAQ,EACR,KAAK,EACL,MAAM,EACN,GAAG,GACJ,EAAE,gBAAgB,GAAG,SAAS,CAsB9B;AAED,eAAO,MAAM,WAAW,kEAA6B,CAAC"}
1
+ {"version":3,"file":"DnDevHeader.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/zones/DnDevHeader.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,gBAAgB;IAC/B,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACzB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC1B,4DAA4D;IAC5D,GAAG,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CACxB;AAED;;;;;;;;;;;;GAYG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,QAAQ,EACR,KAAK,EACL,MAAM,EACN,GAAG,GACJ,EAAE,gBAAgB,GAAG,SAAS,CAsB9B;AAED,eAAO,MAAM,WAAW,kEAA6B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DnDevMergedBar.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/zones/DnDevMergedBar.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,mBAAmB;IAClC,mBAAmB;IACnB,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC3B,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,4DAA4D;IAC5D,GAAG,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACvB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,+DAA+D;IAC/D,MAAM,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CAC3B;AAED;;;;;;;;;;;;;;GAcG;AACH,iBAAS,uBAAuB,CAAC,EAC/B,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,EACH,OAAO,EACP,MAAM,GACP,EAAE,mBAAmB,GAAG,SAAS,CAgEjC;AAED,eAAO,MAAM,cAAc,qEAAgC,CAAC"}
1
+ {"version":3,"file":"DnDevMergedBar.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/zones/DnDevMergedBar.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAavC,MAAM,WAAW,mBAAmB;IAClC,mBAAmB;IACnB,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC3B,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,4DAA4D;IAC5D,GAAG,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACvB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,+DAA+D;IAC/D,MAAM,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;CAC3B;AAED;;;;;;;;;;;;;;GAcG;AACH,iBAAS,uBAAuB,CAAC,EAC/B,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,EACH,OAAO,EACP,MAAM,GACP,EAAE,mBAAmB,GAAG,SAAS,CAgEjC;AAED,eAAO,MAAM,cAAc,qEAAgC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DnDevSidebar.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/zones/DnDevSidebar.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,iBAAiB;IAChC,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4DAA4D;IAC5D,GAAG,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACvB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,+DAA+D;IAC/D,MAAM,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC1B,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;GASG;AACH,iBAAS,qBAAqB,CAAC,EAC7B,QAAQ,EACR,GAAG,EACH,OAAO,EACP,MAAM,EACN,YAAiD,EACjD,QAAyC,EACzC,QAAyC,GAC1C,EAAE,iBAAiB,GAAG,SAAS,CA+M/B;AAED,eAAO,MAAM,YAAY,mEAA8B,CAAC"}
1
+ {"version":3,"file":"DnDevSidebar.d.ts","sourceRoot":"","sources":["../../../../src/internal/layout/zones/DnDevSidebar.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,MAAM,WAAW,iBAAiB;IAChC,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4DAA4D;IAC5D,GAAG,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACvB,gEAAgE;IAChE,OAAO,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,+DAA+D;IAC/D,MAAM,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC1B,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;GASG;AACH,iBAAS,qBAAqB,CAAC,EAC7B,QAAQ,EACR,GAAG,EACH,OAAO,EACP,MAAM,EACN,YAAiD,EACjD,QAAyC,EACzC,QAAyC,GAC1C,EAAE,iBAAiB,GAAG,SAAS,CA+M/B;AAED,eAAO,MAAM,YAAY,mEAA8B,CAAC"}
@@ -1,3 +1,32 @@
1
+ /**
2
+ * @fileoverview NavigationProvider - RouterProvider with Auto-Abort
3
+ * @description Wraps RouterProvider with automatic request cancellation and overlay closing on navigation
4
+ *
5
+ * This provider uses React Router v7's data router pattern (RouterProvider + createBrowserRouter).
6
+ * It automatically aborts pending requests and closes overlays when the user navigates to a new route,
7
+ * preventing memory leaks and race conditions.
8
+ *
9
+ * 🚨 CRITICAL: This component must NOT be lazy loaded
10
+ * - Uses React hooks (useEffect) and must load in the same chunk as React
11
+ * - Lazy loading causes "Invalid hook call" errors because React's dispatcher is null when chunk loads
12
+ * - Must be eagerly imported in ViteAppProviders to ensure React is available
13
+ *
14
+ * For current path/location, use `useLocation()` from '@donotdev/ui' directly.
15
+ * For route discovery/menus, use NavigationStore hooks directly.
16
+ *
17
+ * @version 0.1.0
18
+ * @since 0.0.1
19
+ * @author AMBROISE PARK Consulting
20
+ *
21
+ * @example
22
+ * ```tsx
23
+ * const router = createAppRouter(HomePage);
24
+ * <NavigationProvider router={router}>
25
+ * <DnDevLayout />
26
+ * </NavigationProvider>
27
+ * ```
28
+ */
29
+ import React from 'react';
1
30
  import type { ReactNode } from 'react';
2
31
  import type { createBrowserRouter } from 'react-router-dom';
3
32
  /**
@@ -34,6 +63,6 @@ interface NavigationProviderProps {
34
63
  * @since 0.0.1
35
64
  * @author AMBROISE PARK Consulting
36
65
  */
37
- export declare function NavigationProvider({ router }: NavigationProviderProps): import("react/jsx-runtime").JSX.Element;
66
+ export declare function NavigationProvider({ router }: NavigationProviderProps): React.JSX.Element;
38
67
  export {};
39
68
  //# sourceMappingURL=NavigationProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationProvider.d.ts","sourceRoot":"","sources":["../../../src/internal/providers/NavigationProvider.tsx"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAI5D;;GAEG;AACH,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAExD;;GAEG;AACH,UAAU,uBAAuB;IAC/B,6CAA6C;IAC7C,MAAM,EAAE,SAAS,CAAC;IAClB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,uBAAuB,2CAkBrE"}
1
+ {"version":3,"file":"NavigationProvider.d.ts","sourceRoot":"","sources":["../../../src/internal/providers/NavigationProvider.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAO5D;;GAEG;AACH,KAAK,SAAS,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAExD;;GAEG;AACH,UAAU,uBAAuB;IAC/B,6CAA6C;IAC7C,MAAM,EAAE,SAAS,CAAC;IAClB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,uBAAuB,qBAkBrE"}