@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
@@ -0,0 +1,275 @@
1
+ # SEO & Meta Tags
2
+
3
+ **Same `PageMeta` works on Vite and Next.js. i18n-first by default.**
4
+
5
+ ---
6
+
7
+ ## How It Works
8
+
9
+ **Vite:** AutoMetaTags reads route manifest + i18n - Helmet renders meta tags
10
+ **Next.js:** Build generates `metadata-manifest.json` - `generateMetadata()` per page
11
+
12
+ **Same code, both platforms. No conditional logic needed.**
13
+
14
+ ---
15
+
16
+ ## Why This Matters: Crawlers & Initial HTML
17
+
18
+ **Problem:** Google/social crawlers don't execute JavaScript. They read the initial HTML.
19
+
20
+ **SPA without SSR:** Meta tags injected client-side - crawlers see empty `<head>` - bad SEO.
21
+
22
+ **With framework:**
23
+
24
+ | Platform | Static Pages | Dynamic Pages |
25
+ |----------|--------------|---------------|
26
+ | **Vite** | Prerender at build - meta in HTML | `<Seo>` + react-helmet-async - meta in prerendered HTML |
27
+ | **Next.js** | `generateMetadata()` - server renders meta | `<Seo>` client-side OR `generateMetadata()` with fetch |
28
+
29
+ **Verify:** View Page Source (not DevTools). Meta tags should be visible without JS.
30
+
31
+ ---
32
+
33
+ ## Vite: Prerendering
34
+
35
+ **Enabled by default** in `vite.config.ts`:
36
+
37
+ ```ts
38
+ export default defineViteConfig({
39
+ prerender: true, // Default: true
40
+ });
41
+ ```
42
+
43
+ **What happens:**
44
+ 1. Build discovers all routes from `src/pages/`
45
+ 2. Renders each page to static HTML
46
+ 3. `<Seo>` and AutoMetaTags populate `<head>` via react-helmet-async
47
+ 4. Output: `dist/about/index.html` with full meta tags
48
+
49
+ **Dynamic routes** (e.g., `/products/:id`): Prerender with known IDs or use client-side `<Seo>`.
50
+
51
+ ---
52
+
53
+ ## Next.js: Server Rendering
54
+
55
+ **Automatic.** Each page's `generateMetadata()` runs server-side.
56
+
57
+ **Static pages:** Meta resolved at build time from `metadata-manifest.json`.
58
+ **Dynamic pages:** Use `generateMetadata()` with `fetch()` or client-side `<Seo>`.
59
+
60
+ ```tsx
61
+ // Server-rendered metadata for dynamic route
62
+ export async function generateMetadata({ params }): Promise<Metadata> {
63
+ const product = await fetch(`/api/products/${params.id}`).then(r => r.json());
64
+ return { title: product.name, description: product.description };
65
+ }
66
+ ```
67
+
68
+ ---
69
+
70
+ ## Standard Use: i18n-First
71
+
72
+ **Pattern:** Define `namespace` in PageMeta, translations provide SEO.
73
+
74
+ ```tsx
75
+ // src/pages/AboutPage.tsx
76
+ export const meta: PageMeta = {
77
+ namespace: 'about',
78
+ };
79
+ ```
80
+
81
+ ```json
82
+ // src/locales/about_en.json
83
+ {
84
+ "title": "About Us",
85
+ "description": "Learn more about our company and mission.",
86
+ "meta": {
87
+ "keywords": ["about", "company", "mission"],
88
+ "image": "/og-about.png"
89
+ }
90
+ }
91
+ ```
92
+
93
+ **Result:** `<title>About Us | SiteName</title>`, meta description, OG tags - all from i18n.
94
+
95
+ ---
96
+
97
+ ## Override: Static SEO
98
+
99
+ **Pattern:** Use `seo` field for static overrides or non-i18n apps.
100
+
101
+ ```tsx
102
+ export const meta: PageMeta = {
103
+ namespace: 'home',
104
+ seo: {
105
+ fullTitle: 'DoNotDev - Build Apps Fast', // Exact title, no "| SiteName"
106
+ description: 'Ship production apps in minutes.',
107
+ image: '/og-home.png',
108
+ type: 'website',
109
+ },
110
+ };
111
+ ```
112
+
113
+ ---
114
+
115
+ ## All SEO Options
116
+
117
+ ```tsx
118
+ export const meta: PageMeta = {
119
+ namespace: 'blog',
120
+ seo: {
121
+ // Title options (pick one)
122
+ title: 'Blog', // "Blog | SiteName"
123
+ fullTitle: 'My Blog', // "My Blog" (exact, no suffix)
124
+ title: null, // "SiteName" only
125
+
126
+ // Description
127
+ description: 'Latest posts',
128
+ description: null, // Omit description entirely
129
+
130
+ // Social sharing
131
+ image: '/og-blog.png', // OG/Twitter image
132
+ type: 'website', // 'website' | 'article' | 'product'
133
+
134
+ // Other
135
+ keywords: ['blog', 'news'],
136
+ noindex: true, // Hide from search engines
137
+ },
138
+ };
139
+ ```
140
+
141
+ ---
142
+
143
+ ## Priority Chain
144
+
145
+ Resolution order (highest to lowest):
146
+
147
+ 1. **`<Seo>` component** - Runtime dynamic data (always wins)
148
+ 2. **i18n `meta.fullTitle`** - Translated, language-aware
149
+ 3. **`seo.fullTitle`** - Static fallback
150
+ 4. **i18n `title`** - "Translated | SiteName"
151
+ 5. **`seo.title`** - "Static | SiteName"
152
+ 6. **SiteName only** - Default fallback
153
+
154
+ ---
155
+
156
+ ## Dynamic Data: `<Seo>` Component
157
+
158
+ **Pattern:** For pages with runtime data (fetched content), use `<Seo>`.
159
+
160
+ ```tsx
161
+ import { Seo } from '@donotdev/ui';
162
+
163
+ export const meta: PageMeta = {
164
+ namespace: 'apartments',
165
+ route: { params: ['id'] },
166
+ };
167
+
168
+ export default function ApartmentPage() {
169
+ const { id } = useParams<{ id: string }>();
170
+ const { data: apartment } = useApartment(id);
171
+
172
+ if (!apartment) return <Loading />;
173
+
174
+ return (
175
+ <>
176
+ <Seo
177
+ fullTitle={`${apartment.reference} - ${apartment.rent} | SiteName`}
178
+ description={apartment.description}
179
+ image={apartment.photos[0]}
180
+ type="product"
181
+ />
182
+ <ApartmentDetails data={apartment} />
183
+ </>
184
+ );
185
+ }
186
+ ```
187
+
188
+ **Works in SSR/prerender** - meta tags are in initial HTML.
189
+
190
+ ---
191
+
192
+ ## `<Seo>` Props
193
+
194
+ ```tsx
195
+ <Seo
196
+ // Title (pick one)
197
+ title="Page Title" // "Page Title | SiteName"
198
+ fullTitle="Exact Title" // "Exact Title"
199
+
200
+ // Content
201
+ description="Page description"
202
+ image="/og-image.png"
203
+ type="website" // 'website' | 'article' | 'product'
204
+ keywords={['key1', 'key2']}
205
+ noindex={false}
206
+
207
+ // Article-specific
208
+ publishDate="2024-01-15T00:00:00Z"
209
+ modifiedDate="2024-01-20T00:00:00Z"
210
+
211
+ // URL
212
+ canonicalUrl="https://example.com/page"
213
+ />
214
+ ```
215
+
216
+ ---
217
+
218
+ ## Hook Alternative
219
+
220
+ ```tsx
221
+ import { useSeo } from '@donotdev/ui';
222
+
223
+ export default function ProductPage() {
224
+ const { data: product } = useProduct(id);
225
+
226
+ const SeoTags = useSeo(product ? {
227
+ title: product.name,
228
+ description: product.description,
229
+ image: product.image,
230
+ } : null);
231
+
232
+ return (
233
+ <>
234
+ <SeoTags />
235
+ <ProductDetails data={product} />
236
+ </>
237
+ );
238
+ }
239
+ ```
240
+
241
+ ---
242
+
243
+ ## Next.js: Manual `generateMetadata`
244
+
245
+ For advanced cases, override in the page file:
246
+
247
+ ```tsx
248
+ // src/app/products/[id]/page.tsx (manual, not generated)
249
+ import type { Metadata } from 'next';
250
+
251
+ export async function generateMetadata({ params }): Promise<Metadata> {
252
+ const product = await fetchProduct(params.id);
253
+ return {
254
+ title: `${product.name} | Store`,
255
+ description: product.description,
256
+ openGraph: { images: [product.image] },
257
+ };
258
+ }
259
+ ```
260
+
261
+ **For static pages, framework handles this automatically.**
262
+
263
+ ---
264
+
265
+ ## Checklist
266
+
267
+ - [ ] Set `namespace` in PageMeta for i18n-driven SEO
268
+ - [ ] Add `title`, `description`, `meta` to translation files
269
+ - [ ] Use `seo.fullTitle` to escape "Page | App" format
270
+ - [ ] Use `<Seo>` for pages with dynamic/fetched data
271
+ - [ ] Verify meta tags: View Source or browser DevTools
272
+
273
+ ---
274
+
275
+ **Drop PageMeta, get SEO. Framework handles the rest.**
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@donotdev/ui",
3
- "version": "0.1.0",
3
+ "version": "0.1.42",
4
4
  "type": "module",
5
5
  "private": false,
6
- "license": "SEE LICENSE IN LICENSE.md",
6
+ "license": "MIT",
7
7
  "description": "UI components for DoNotDev.",
8
8
  "main": "./dist/index.js",
9
9
  "types": "./dist/index.d.ts",
@@ -35,6 +35,7 @@
35
35
  "files": [
36
36
  "dist",
37
37
  "assets",
38
+ "guidelines",
38
39
  "package.json",
39
40
  "README.md",
40
41
  "LICENSE.md"
@@ -52,25 +53,29 @@
52
53
  "@fontsource/playfair-display": "^5.2.8",
53
54
  "@fontsource/press-start-2p": "^5.2.5",
54
55
  "@fontsource/roboto": "^5.2.10",
55
- "@fontsource/space-grotesk": "^5.2.10",
56
- "@hookform/resolvers": "^5.2.2",
57
- "react-helmet-async": "^2.0.5",
58
- "react-hook-form": "^7.71.2"
56
+ "@fontsource/space-grotesk": "^5.2.10"
59
57
  },
60
58
  "peerDependencies": {
61
- "@donotdev/auth": "^0.1.0",
62
- "@donotdev/billing": "^0.1.0",
63
- "@donotdev/components": "^0.1.0",
64
- "@donotdev/core": "^0.1.0",
65
- "@donotdev/crud": "^0.1.0",
66
- "@donotdev/oauth": "^0.1.0",
59
+ "@donotdev/ai": "^0.1.42",
60
+ "@donotdev/auth": "^0.1.42",
61
+ "@donotdev/billing": "^0.1.42",
62
+ "@donotdev/components": "^0.1.42",
63
+ "@donotdev/core": "^0.1.42",
64
+ "@donotdev/crud": "^0.1.42",
65
+ "@donotdev/oauth": "^0.1.42",
66
+ "@hookform/resolvers": "^5.2.2",
67
67
  "lucide-react": "^0.575.0",
68
68
  "react": "^19.2.4",
69
69
  "react-dom": "^19.2.4",
70
+ "react-helmet-async": "^2.0.5",
71
+ "react-hook-form": "^7.71.2",
70
72
  "react-router-dom": "^7.13.1",
71
73
  "valibot": "^1.2.0"
72
74
  },
73
75
  "peerDependenciesMeta": {
76
+ "@donotdev/ai": {
77
+ "optional": true
78
+ },
74
79
  "@donotdev/auth": {
75
80
  "optional": true
76
81
  },
@@ -1 +0,0 @@
1
- import"./chunk-O2XFH626.js";import{Cookie as T,Settings as _,Shield as G,BarChart3 as H,Target as K}from"lucide-react";import{useState as w,useEffect as v,useRef as V}from"react";import{Accordion as W,Button as p,BUTTON_VARIANT as h,Card as b,Switch as q,Text as f,cn as J,Stack as i}from"@donotdev/components";import{handleError as Q,useConsent as d,getCookieExamples as y,hasOptionalCookies as X}from"@donotdev/core";import{CONSENT_CATEGORY as l}from"@donotdev/core";import{useTranslation as Z}from"@donotdev/core";import{isClient as $}from"@donotdev/core";import{Fragment as te,jsx as n,jsxs as a}from"react/jsx-runtime";function ee({position:D="bottom",showBranding:ne=!0,brandingText:oe="Powered by DoNotDev Framework",className:O=""}){let r=d("hasConsented"),m=d("categories"),S=d("acceptAll"),B=d("declineAll"),I=d("updateCategory"),g=d("showBanner"),{t}=Z("cookies"),[u,x]=w(!1),[C,c]=w(!r||g),[N,A]=w(m),E=V(null);v(()=>{g&&c(!0)},[g]);let L=Object.keys(m),P=[{id:l.NECESSARY,icon:G,title:t("essentialCookies"),description:t("essentialDescription"),examples:y("necessary")||t("essentialExamples"),locked:!0},{id:l.FUNCTIONAL,icon:T,title:t("functionalCookies"),description:t("functionalDescription"),examples:y("functional")||t("functionalExamples"),legalNotice:t("functionalLegalNotice"),locked:!1},{id:l.ANALYTICS,icon:H,title:t("analyticsCookies"),description:t("analyticsDescription"),examples:y("analytics")||t("analyticsExamples"),locked:!1},{id:l.MARKETING,icon:K,title:t("marketingCookies"),description:t("marketingDescription"),examples:y("marketing")||t("marketingExamples"),locked:!1}].filter(e=>L.includes(e.id)),k=X();if(v(()=>{!r&&!k&&S()},[r,k,S]),v(()=>{let e={...m};if(u){let o=e;Object.keys(o).forEach(s=>{s!==l.NECESSARY&&o[s]===!1&&(o[s]=!0)})}A(e)},[m,u]),v(()=>{if(!$()||r||!C)return;let e=s=>{E.current&&!E.current.contains(s.target)&&c(!1)},o=setTimeout(()=>{document.addEventListener("mousedown",e)},100);return()=>{clearTimeout(o),document.removeEventListener("mousedown",e)}},[r,C]),r&&!g)return null;let R=()=>{try{Object.entries(N).forEach(([e,o])=>{if(e!==l.NECESSARY&&o!==void 0){let s=e;Object.values(l).includes(s)&&I(s,!!o)}}),x(!1),c(!1)}catch(e){Q(e,{userMessage:"Error saving preferences",context:{operation:"save_preferences"},severity:"warning",log:!0,reportToSentry:!1,showNotification:!1})}},U=()=>{S(),c(!1)},z=()=>{B(),c(!1)},F=a(i,{children:[n(f,{as:"p",variant:"muted",level:"small",children:t("cookieBannerDescription")}),k&&n(W,{type:"single",collapsible:!0,value:u?"preferences":"",onValueChange:e=>x(e==="preferences"),items:[{value:"preferences",trigger:a(i,{direction:"row",align:"center",gap:"tight",children:[n(_,{className:"dndev-size-md"}),t("customize")]}),content:n(i,{children:P.map(e=>{let o=e.icon,s=N[e.id]??!1;return n(b,{content:a(i,{direction:"row",align:"center",justify:"between",children:[a(i,{direction:"row",align:"start",gap:"tight",style:{flex:1},children:[n(o,{className:"dndev-size-md",style:{color:"var(--primary)",marginTop:"0.125rem"}}),a(i,{gap:"tight",children:[n(f,{as:"span",level:"body",style:{fontWeight:600},children:e.title}),n(f,{as:"span",variant:"muted",level:"small",children:e.description}),e.examples&&n(f,{as:"span",variant:"muted",level:"small",style:{fontStyle:"italic"},children:e.examples})]})]}),e.locked?n(f,{as:"span",variant:"muted",level:"small",children:t("alwaysOn")}):n(q,{checked:s,onCheckedChange:j=>A(M=>({...M,[e.id]:j}))})]})},e.id)})})}]})]}),Y=u?a(i,{direction:"row",gap:"tight",style:{width:"100%"},children:[n(p,{onClick:R,variant:h.DEFAULT,style:{flex:1},children:t("savePreferences","Save Preferences")}),n(p,{onClick:()=>x(!1),variant:h.OUTLINE,style:{flex:1},children:t("form.cancel","Cancel")})]}):a(i,{direction:"row",gap:"tight",style:{width:"100%"},children:[n(p,{onClick:U,variant:h.DEFAULT,style:{flex:1},children:t("acceptAll")}),k&&n(p,{onClick:z,variant:h.OUTLINE,style:{flex:1},children:t("declineOptional")})]});return a(te,{children:[C&&n(b,{ref:E,className:J("dndev-fixed dndev-z-modal",O),icon:T,title:t("cookiePreferences"),content:F,footer:Y,style:{[D==="top"?"top":"bottom"]:"var(--gap-md)",insetInlineStart:"var(--gap-md)",insetInlineEnd:"var(--gap-md)",maxWidth:"100%",width:"calc(100% - var(--gap-md) * 2)"}}),!C&&!r&&n(p,{onClick:()=>c(!0),className:"dndev-fixed dndev-z-toast",style:{bottom:"var(--gap-md)",insetInlineStart:"var(--gap-md)"},icon:T,title:t("cookiePreferences")})]})}var pe=ee;export{pe as default};
@@ -1 +0,0 @@
1
- import*as l from"lucide-react";import{isValidElement as P}from"react";import{cn as m}from"@donotdev/components";import{jsx as c}from"react/jsx-runtime";function S(e){if(!e)return l.Palette;let t=e.replace(/['"]/g,"");return l[t]||l.Palette}var b=({icon:e,fallback:t,className:r,ariaHidden:s=!1})=>{let o=e||t;if(!o)return null;let i="dndev-size-md";if(typeof o=="function"||typeof o=="object"&&o!==null&&"render"in o)return c(o,{className:m(i,r),style:{flexShrink:0},"aria-hidden":s});if(typeof o=="string"){if(!/^[a-zA-Z0-9_-]+$/.test(o))return c("span",{className:m(i,r),style:{display:"inline-flex",alignItems:"center",justifyContent:"center"},"aria-hidden":s,children:o});let p=S(o);return c(p,{className:m(i,r),style:{flexShrink:0},"aria-hidden":s})}return P(o)?c("span",{className:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center"},"aria-hidden":s,children:o}):c("span",{className:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center"},"aria-hidden":s,children:o})},z=b;import*as E from"@donotdev/auth";import{DEGRADED_AUTH_API as L}from"@donotdev/core";var d=E?.useAuth;function T(e){return L[e]}function y(e){return d?d(e):T(e)}var O=typeof d=="function";import{useMemo as h}from"react";import{useNavigationStore as K}from"@donotdev/core";import{USER_ROLES as F}from"@donotdev/core";import{useLocation as k}from"@donotdev/ui/routing/hooks";function g(){let e=k(),t=y("user"),r=!!t,s=t?.role||F.GUEST,o=K(i=>!i||typeof i.getFilteredRoutes!="function"?[]:i.getFilteredRoutes({authenticated:r,role:s}));return h(()=>Array.isArray(o)?o.map(i=>({...i,isActive:_(i.path,e.pathname),hasChildren:!1,children:void 0})).sort((i,a)=>i.label.localeCompare(a.label,void 0,{sensitivity:"base"})):[],[o,e.pathname])}function J(e){let t=g();return h(()=>t.find(r=>r.path===e),[t,e])}function _(e,t){return e==="/"?t==="/":t===e?!0:t.startsWith(e+"/")}import{useCallback as f,useMemo as A}from"react";import{useNavigationStore as u}from"@donotdev/core";import{useNavigate as j}from"@donotdev/ui/routing/hooks";var te=()=>{let e=j(),t=g()??[],r=u(n=>n.favorites),s=u(n=>n.recent),o=u(n=>n.toggleFavorite),i=u(n=>n.isFavorite),a=u(n=>n.addRecent),v=A(()=>t.length?t.filter(n=>r.includes(n.path)):[],[r,t]),p=A(()=>t.length?t.filter(C=>s.includes(C.path)).slice(0,5):[],[s,t]),N=f(n=>{o(n)},[o]),R=f(n=>i(n),[i]),I=f(n=>{a(n)},[a]),x=f(n=>{I(n),e(n)},[e,I]);return{navigationItems:t,favoriteItems:v,recentItems:p,toggleFavorite:N,isFavorite:R,navigateToItem:x}};export{b as a,z as b,y as c,O as d,g as e,J as f,te as g};
@@ -1,25 +0,0 @@
1
- /**
2
- * LicenseWatermark - Clickable button overlay for unlicensed applications
3
- *
4
- * Renders fixed button + console warnings when no valid license
5
- * Position: middle-right of viewport
6
- * Visibility: Always visible in unlicensed apps
7
- *
8
- * License configuration:
9
- * - Environment variable: VITE_DONOTDEV_LICENSE_KEY or NEXT_PUBLIC_DONOTDEV_LICENSE_KEY
10
- * - Runtime injection: globalThis.__DONOTDEV_LICENSE_KEY__ = 'your-key-here'
11
- *
12
- * @returns Watermark overlay or null if licensed
13
- *
14
- * @example
15
- * ```tsx
16
- * // Automatically injected by framework
17
- * <LicenseWatermark />
18
- * ```
19
- *
20
- * @version 0.1.0
21
- * @since 0.0.1
22
- * @author AMBROISE PARK Consulting
23
- */
24
- export declare function LicenseWatermark(): import("react/jsx-runtime").JSX.Element | null;
25
- //# sourceMappingURL=LicenseWatermark.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LicenseWatermark.d.ts","sourceRoot":"","sources":["../../../src/components/license/LicenseWatermark.tsx"],"names":[],"mappings":"AAsBA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,gBAAgB,mDAwG/B"}
@@ -1,109 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // packages/ui/src/components/license/LicenseWatermark.tsx
3
- /**
4
- * @fileoverview License Watermark Component
5
- * @description Displays watermark overlay when no valid license key is detected
6
- *
7
- * Watermark appears as:
8
- * - Fixed position button (middle-right of viewport)
9
- * - Console warnings in browser dev tools
10
- * - Automatically hidden when valid license key present
11
- *
12
- * @version 0.1.0
13
- * @since 0.0.1
14
- * @author AMBROISE PARK Consulting
15
- */
16
- import { useEffect } from 'react';
17
- import { checkLicense } from '@donotdev/core';
18
- import { watermarkSvg } from './watermarkData';
19
- /**
20
- * LicenseWatermark - Clickable button overlay for unlicensed applications
21
- *
22
- * Renders fixed button + console warnings when no valid license
23
- * Position: middle-right of viewport
24
- * Visibility: Always visible in unlicensed apps
25
- *
26
- * License configuration:
27
- * - Environment variable: VITE_DONOTDEV_LICENSE_KEY or NEXT_PUBLIC_DONOTDEV_LICENSE_KEY
28
- * - Runtime injection: globalThis.__DONOTDEV_LICENSE_KEY__ = 'your-key-here'
29
- *
30
- * @returns Watermark overlay or null if licensed
31
- *
32
- * @example
33
- * ```tsx
34
- * // Automatically injected by framework
35
- * <LicenseWatermark />
36
- * ```
37
- *
38
- * @version 0.1.0
39
- * @since 0.0.1
40
- * @author AMBROISE PARK Consulting
41
- */
42
- export function LicenseWatermark() {
43
- const license = checkLicense();
44
- /** Production console.warn is intentional — alerts unlicensed deployments.
45
- * This is a license enforcement mechanism, not a debug log. */
46
- useEffect(() => {
47
- if (!license.isValid) {
48
- // Console warnings
49
- console.warn('%c⚠️ DoNotDev Framework - Unlicensed', 'color: #ff6b6b; font-size: 16px; font-weight: bold;');
50
- console.warn('This application is using the DoNotDev Framework without a valid license key.\n' +
51
- 'View pricing: https://donotdev.com/pricing\n' +
52
- 'Purchase: https://donotdev.com/purchase\n\n' +
53
- 'Configure your license:\n' +
54
- ' Vite: VITE_DONOTDEV_LICENSE_KEY=your-key-here\n' +
55
- ' Next.js: NEXT_PUBLIC_DONOTDEV_LICENSE_KEY=your-key-here\n' +
56
- 'Or in code:\n' +
57
- ' globalThis.__DONOTDEV_LICENSE_KEY__ = "your-key-here";');
58
- }
59
- }, [license.isValid]);
60
- // Hide watermark if licensed
61
- if (license.isValid) {
62
- return null;
63
- }
64
- return (_jsxs("a", { href: "https://donotdev.com/pricing", target: "_blank", rel: "noopener noreferrer", style: {
65
- position: 'fixed',
66
- insetInlineEnd: '20px',
67
- top: '50%',
68
- transform: 'translateY(-50%)',
69
- zIndex: 9999,
70
- display: 'flex',
71
- alignItems: 'center',
72
- gap: '12px',
73
- padding: '12px 16px',
74
- backgroundColor: 'rgba(255, 255, 255, 0.95)',
75
- border: '2px solid rgba(242, 61, 41, 0.3)',
76
- borderRadius: '8px',
77
- boxShadow: '0 4px 12px rgba(0, 0, 0, 0.15)',
78
- textDecoration: 'none',
79
- transition: 'all 0.2s ease',
80
- cursor: 'pointer',
81
- opacity: 0.9,
82
- }, onMouseEnter: (e) => {
83
- e.currentTarget.style.opacity = '1';
84
- e.currentTarget.style.transform = 'translateY(-50%) scale(1.05)';
85
- }, onMouseLeave: (e) => {
86
- e.currentTarget.style.opacity = '0.9';
87
- e.currentTarget.style.transform = 'translateY(-50%) scale(1)';
88
- }, children: [_jsx("img", { src: watermarkSvg, alt: "DoNotDev Logo", style: {
89
- width: '48px',
90
- height: '48px',
91
- flexShrink: 0,
92
- } }), _jsxs("div", { style: {
93
- display: 'flex',
94
- flexDirection: 'column',
95
- gap: '2px',
96
- }, children: [_jsx("div", { style: {
97
- fontFamily: 'system-ui, sans-serif',
98
- fontSize: '13px',
99
- fontWeight: '600',
100
- color: '#27494a',
101
- lineHeight: '1.2',
102
- }, children: "DoNotDev" }), _jsx("div", { style: {
103
- fontFamily: 'system-ui, sans-serif',
104
- fontSize: '11px',
105
- fontWeight: '500',
106
- color: '#f23d29',
107
- lineHeight: '1.2',
108
- }, children: "Get License" })] })] }));
109
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * DoNotDev watermark logo as data URI
3
- * Works with: Vite, Next.js webpack, Next.js Turbopack
4
- */
5
- export declare const watermarkSvg: string;
6
- export default watermarkSvg;
7
- //# sourceMappingURL=watermarkData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"watermarkData.d.ts","sourceRoot":"","sources":["../../../src/components/license/watermarkData.ts"],"names":[],"mappings":"AAeA;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAyD,CAAC;AAEnF,eAAe,YAAY,CAAC"}
@@ -1,18 +0,0 @@
1
- // packages/ui/src/components/license/watermarkData.ts
2
- /**
3
- * @fileoverview Watermark SVG as data URI
4
- * @description Cross-platform SVG export that works with Vite, Next.js webpack, and Turbopack
5
- *
6
- * @version 0.1.0
7
- * @since 0.0.1
8
- * @author AMBROISE PARK Consulting
9
- */
10
- // SVG content minified and encoded as data URI
11
- // This approach works universally: Vite, Next.js webpack, and Turbopack
12
- const svgContent = `<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512"><title>logo</title><style>.s0{opacity:.98;fill:#f23d29}.s1{opacity:.99;fill:#03bec4}.s2{opacity:.97;fill:#27494a}</style><g id="Background"><path id="Path 0" fill-rule="evenodd" class="s0" d="m254 41.1c5.8-0.1 15.2 0.4 21 0.9 5.8 0.6 16 2.2 22.8 3.5 6.7 1.4 17.5 4.2 23.9 6.4 6.5 2.1 16.7 6.1 22.8 8.8 6.1 2.7 15.5 7.6 21 10.8 5.5 3.3 14.3 9.2 19.5 13 5.2 3.9 13.8 11.2 19 16.2 5.2 5 12.2 12.3 15.5 16.2 3.3 4 8.8 11.1 12.2 15.9 3.4 4.8 8.7 13.2 11.7 18.7 3 5.5 6.9 13.4 8.7 17.5 1.7 4.1 4.7 12 6.6 17.5 1.9 5.5 4.5 14.5 5.8 20 1.3 5.5 3.1 15.3 3.9 21.8 0.9 6.6 1.6 19 1.6 28.7 0 9.4-0.7 22.1-1.5 28.3-0.8 6.1-3 17.3-4.8 24.7-1.9 7.4-5.5 18.9-8.2 25.5-2.6 6.6-7 16.3-9.8 21.5-2.8 5.2-8 13.8-11.5 19-3.6 5.2-9.3 12.9-12.7 17-3.5 4.1-10.7 11.8-16.2 17-5.4 5.3-12.7 11.9-16.3 14.7-3.6 2.8-11.4 8.3-17.5 12.2-6.1 4-16.4 9.8-23 13.1-6.6 3.2-17.4 7.6-24 9.8-6.6 2.3-17.2 5.2-23.5 6.6-6.3 1.4-16.2 3-22 3.7-6.4 0.7-17.5 1-28.5 0.6-11.9-0.3-21.7-1.2-29-2.6-6.1-1.1-15.9-3.4-22-5.1-6.1-1.7-15.9-5.2-22-7.6-6.1-2.5-15.5-6.9-21-9.8-5.5-2.9-14.1-8-19-11.3-4.9-3.3-12.4-8.7-16.5-12-4.1-3.4-12.5-11.2-18.6-17.4-6.1-6.3-13.9-15.2-17.3-19.9-3.5-4.7-8.8-12.6-11.9-17.5-3-4.9-7.9-13.9-10.8-20-2.9-6.1-7.1-16.4-9.3-23-2.2-6.6-5.1-17.6-6.5-24.5-1.4-6.9-3-17.4-3.7-23.5-0.7-6.7-0.9-17.2-0.6-27 0.4-8.8 1.3-20.5 2.2-26 0.8-5.5 2.7-14.5 4.1-20 1.4-5.5 3.9-14.1 5.5-19 1.7-4.9 6.3-15.8 10.4-24 4-8.3 10-19.1 13.3-24 3.3-4.9 9-12.6 12.5-17 3.6-4.4 11.4-12.8 17.3-18.6 6-5.8 15.4-13.9 20.9-18 5.5-4.1 14.5-10 20-13.2 5.5-3.1 14.5-7.6 20-10.1 5.5-2.4 15.1-6 21.3-8 6.1-2 16.7-4.7 23.5-6.1 6.7-1.3 16.3-2.8 21.2-3.3 4.9-0.5 13.7-1 19.5-1.1zm-21 38c-4.7 0.5-12.1 1.9-16.5 3-4.4 1.1-11.6 3.1-16 4.5-4.4 1.5-13.8 5.4-21 8.9-7.2 3.5-16.1 8.5-20 11.1-3.8 2.6-10 7.2-13.8 10.3-3.7 3.1-6.7 5.9-6.7 6.3 0 0.5 9.3 10.3 20.8 21.9l20.7 21c5.5-10.5 9-16.5 11.5-20.1 2.4-3.6 7.2-9.6 10.5-13.5 3.3-3.8 9.4-9.6 13.5-12.9 4.1-3.2 10.7-7.4 14.5-9.2 3.9-1.8 9.7-4 13-4.9 3.3-0.8 9.6-1.5 14-1.5 4.4 0 10.7 0.7 14 1.6 3.3 0.9 9.1 3.2 13 5.1 3.9 2 9.3 5.2 12 7.3 2.8 2 8.5 7.5 12.9 12.1 4.3 4.6 10.2 11.8 13.1 15.9 2.9 4.1 7.8 12.2 10.8 18 3 5.8 7.1 14.8 9 20 2 5.2 4.2 13 5.1 17.3 0.9 4.2 1.6 11.4 1.6 15.9 0 5.6-0.6 10.6-2.1 15.3-1.1 3.8-3.8 9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.3 6.6 1.7 1.7 3.9 2.5 8.3 3.1 3.3 0.4 8.2 0.4 11 0 2.7-0.3 5.8-1.1 6.7-1.6 1-0.5 2.5-2.5 3.3-4.4 0.8-1.9 1.5-5.2 1.5-7.2 0-2.1-0.7-4.8-1.5-6-1.4-2.2-2.1-2.3-15.3-2.2-7.5 0-14.2 0.3-14.9 0.5-0.6 0.3-1.7 2-2.3 3.7zm-40 126.7c0.3-0.1 2.2 2 8 9l-23.5 22.7 22.4 23.8-7.8 8-16.1-15.5c-8.8-8.5-16.2-15.8-16.3-16.2-0.1-0.3 7.3-7.6 16.3-16.2 9.1-8.6 16.7-15.6 17-15.6zm33.5 0l4 0.1c2.2 0.1 5 0.4 6.1 0.7 2.1 0.7 1.8 1.7-19.4 62.7l-5.3-0.3c-3-0.2-5.6-0.5-5.9-0.7-0.3-0.2 4.2-14.4 10-31.4zm20.7 3.9l2.7 1.9c1.4 1.1 8.2 7.3 27.6 26l-15.5 15.6c-8.5 8.6-16 15.6-16.7 15.6-0.7 0-2.9-2-8.3-8.5l23.2-22-6.8-6.7c-3.8-3.7-8.1-7.6-9.6-8.8-1.5-1.1-2.8-2.5-2.9-3.1 0-0.6 1.4-3.1 3.1-5.5z"/></g></svg>`;
13
- /**
14
- * DoNotDev watermark logo as data URI
15
- * Works with: Vite, Next.js webpack, Next.js Turbopack
16
- */
17
- export const watermarkSvg = `data:image/svg+xml,${encodeURIComponent(svgContent)}`;
18
- export default watermarkSvg;