@pro-laico/create-atomic-payload 0.1.4

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 (423) hide show
  1. package/bin/cli.js +159 -0
  2. package/package.json +29 -0
  3. package/template/.env.example +35 -0
  4. package/template/.gitattributes +2 -0
  5. package/template/.prettierrc.json +6 -0
  6. package/template/.vscode/extensions.json +3 -0
  7. package/template/.vscode/launch.json +24 -0
  8. package/template/.vscode/settings.json +86 -0
  9. package/template/.yarnrc +1 -0
  10. package/template/LICENSE.md +22 -0
  11. package/template/README.md +128 -0
  12. package/template/eslint.config.mjs +32 -0
  13. package/template/next-env.d.ts +6 -0
  14. package/template/next.config.ts +36 -0
  15. package/template/package.json +75 -0
  16. package/template/public/adminFavicon.svg +1 -0
  17. package/template/public/ogImage.webp +0 -0
  18. package/template/src/access/anyone.ts +3 -0
  19. package/template/src/access/authenticated.ts +7 -0
  20. package/template/src/access/authenticatedOrPublished.ts +6 -0
  21. package/template/src/app/(frontend)/[...slug]/page.tsx +48 -0
  22. package/template/src/app/(frontend)/layout.tsx +49 -0
  23. package/template/src/app/(frontend)/next/exit-preview/route.ts +7 -0
  24. package/template/src/app/(frontend)/next/preview/route.ts +45 -0
  25. package/template/src/app/(frontend)/next/seed/route.ts +31 -0
  26. package/template/src/app/(frontend)/not-found.tsx +93 -0
  27. package/template/src/app/(frontend)/page.tsx +5 -0
  28. package/template/src/app/(frontend)/sitemap.ts +14 -0
  29. package/template/src/app/(payload)/admin/[[...segments]]/not-found.tsx +24 -0
  30. package/template/src/app/(payload)/admin/[[...segments]]/page.tsx +24 -0
  31. package/template/src/app/(payload)/admin/importMap.js +85 -0
  32. package/template/src/app/(payload)/api/[...slug]/route.ts +19 -0
  33. package/template/src/app/(payload)/custom.scss +29 -0
  34. package/template/src/app/(payload)/layout.tsx +31 -0
  35. package/template/src/blocks/actions/blocks.ts +27 -0
  36. package/template/src/blocks/actions/cookieConsent/set/block.ts +17 -0
  37. package/template/src/blocks/actions/cookieConsent/set/filter.ts +3 -0
  38. package/template/src/blocks/actions/cookieConsent/set/options.ts +35 -0
  39. package/template/src/blocks/actions/cookieConsent/toDA/block.ts +14 -0
  40. package/template/src/blocks/actions/cookieConsent/toDA/filter.ts +3 -0
  41. package/template/src/blocks/actions/cookieConsent/toDA/options.ts +19 -0
  42. package/template/src/blocks/actions/dynamicStore/boolean/set/block.ts +15 -0
  43. package/template/src/blocks/actions/dynamicStore/boolean/set/filter.ts +4 -0
  44. package/template/src/blocks/actions/dynamicStore/boolean/set/options.ts +18 -0
  45. package/template/src/blocks/actions/dynamicStore/boolean/toDA/block.ts +10 -0
  46. package/template/src/blocks/actions/dynamicStore/boolean/toDA/filter.ts +3 -0
  47. package/template/src/blocks/actions/dynamicStore/boolean/toDA/options.ts +12 -0
  48. package/template/src/blocks/actions/dynamicStore/text/cycle/block.ts +41 -0
  49. package/template/src/blocks/actions/dynamicStore/text/cycle/filter.ts +4 -0
  50. package/template/src/blocks/actions/dynamicStore/text/cycle/options.ts +23 -0
  51. package/template/src/blocks/actions/dynamicStore/text/toDA/block.ts +10 -0
  52. package/template/src/blocks/actions/dynamicStore/text/toDA/filter.ts +3 -0
  53. package/template/src/blocks/actions/dynamicStore/text/toDA/options.ts +12 -0
  54. package/template/src/blocks/actions/filters.ts +27 -0
  55. package/template/src/blocks/actions/form/errorToDA/block.ts +18 -0
  56. package/template/src/blocks/actions/form/errorToDA/filter.ts +3 -0
  57. package/template/src/blocks/actions/form/errorToDA/options.ts +15 -0
  58. package/template/src/blocks/actions/form/reset/block.ts +18 -0
  59. package/template/src/blocks/actions/form/reset/filter.ts +3 -0
  60. package/template/src/blocks/actions/form/reset/options.ts +30 -0
  61. package/template/src/blocks/actions/form/statusToDA/block.ts +12 -0
  62. package/template/src/blocks/actions/form/statusToDA/filter.ts +3 -0
  63. package/template/src/blocks/actions/form/statusToDA/options.ts +15 -0
  64. package/template/src/blocks/actions/form/submit/block.ts +18 -0
  65. package/template/src/blocks/actions/form/submit/filter.ts +3 -0
  66. package/template/src/blocks/actions/form/submit/options.ts +35 -0
  67. package/template/src/blocks/actions/portal/set/block.ts +25 -0
  68. package/template/src/blocks/actions/portal/set/filter.ts +3 -0
  69. package/template/src/blocks/actions/portal/set/options.ts +43 -0
  70. package/template/src/blocks/actions/processor.ts +263 -0
  71. package/template/src/blocks/actions/theme/set/block.ts +10 -0
  72. package/template/src/blocks/actions/theme/set/filter.ts +3 -0
  73. package/template/src/blocks/actions/theme/set/options.ts +9 -0
  74. package/template/src/blocks/actions/zap.ts +4 -0
  75. package/template/src/blocks/children/atomic/block.ts +123 -0
  76. package/template/src/blocks/children/atomic/controlBar.ts +43 -0
  77. package/template/src/blocks/children/atomic/variants/button/typeField.ts +16 -0
  78. package/template/src/blocks/children/atomic/variants/button/variants/link/component.client.tsx +21 -0
  79. package/template/src/blocks/children/atomic/variants/button/variants/link/component.tsx +13 -0
  80. package/template/src/blocks/children/atomic/variants/button/variants/link/controlBar.ts +73 -0
  81. package/template/src/blocks/children/atomic/variants/button/variants/link/settings.ts +26 -0
  82. package/template/src/blocks/children/atomic/variants/button/variants/portal/controlBar.ts +35 -0
  83. package/template/src/blocks/children/atomic/variants/button/variants/portal/dialog/component.tsx +36 -0
  84. package/template/src/blocks/children/atomic/variants/button/variants/portal/dialog/settings.ts +24 -0
  85. package/template/src/blocks/children/atomic/variants/button/variants/portal/popover/component.tsx +41 -0
  86. package/template/src/blocks/children/atomic/variants/button/variants/portal/popover/settings.ts +111 -0
  87. package/template/src/blocks/children/atomic/variants/button/variants/regular/component.client.tsx +19 -0
  88. package/template/src/blocks/children/atomic/variants/button/variants/regular/component.tsx +11 -0
  89. package/template/src/blocks/children/atomic/variants/form/component.tsx +18 -0
  90. package/template/src/blocks/children/atomic/variants/form/controlBar.ts +22 -0
  91. package/template/src/blocks/children/atomic/variants/form/settings.ts +20 -0
  92. package/template/src/blocks/children/atomic/variants/input/autoCompleteOptions.ts +51 -0
  93. package/template/src/blocks/children/atomic/variants/input/controlBar.ts +13 -0
  94. package/template/src/blocks/children/atomic/variants/input/settings.ts +35 -0
  95. package/template/src/blocks/children/atomic/variants/input/typeField.ts +23 -0
  96. package/template/src/blocks/children/atomic/variants/input/variants/checkBox/component.client.tsx +12 -0
  97. package/template/src/blocks/children/atomic/variants/input/variants/checkBox/component.tsx +6 -0
  98. package/template/src/blocks/children/atomic/variants/input/variants/checkBox/settings.ts +9 -0
  99. package/template/src/blocks/children/atomic/variants/input/variants/number/component.client.tsx +12 -0
  100. package/template/src/blocks/children/atomic/variants/input/variants/number/component.tsx +6 -0
  101. package/template/src/blocks/children/atomic/variants/input/variants/number/settings.ts +9 -0
  102. package/template/src/blocks/children/atomic/variants/input/variants/radio/component.client.tsx +12 -0
  103. package/template/src/blocks/children/atomic/variants/input/variants/radio/component.tsx +6 -0
  104. package/template/src/blocks/children/atomic/variants/input/variants/radio/settings.ts +9 -0
  105. package/template/src/blocks/children/atomic/variants/input/variants/text/component.client.tsx +12 -0
  106. package/template/src/blocks/children/atomic/variants/input/variants/text/component.tsx +7 -0
  107. package/template/src/blocks/children/atomic/variants/input/variants/text/settings.ts +12 -0
  108. package/template/src/blocks/children/atomic/variants/tag/component.client.tsx +17 -0
  109. package/template/src/blocks/children/atomic/variants/tag/component.tsx +13 -0
  110. package/template/src/blocks/children/atomic/variants/tag/controlBar.ts +6 -0
  111. package/template/src/blocks/children/atomic/variants/tag/settings.ts +9 -0
  112. package/template/src/blocks/children/blocks.ts +13 -0
  113. package/template/src/blocks/children/icon/block.ts +41 -0
  114. package/template/src/blocks/children/icon/component.tsx +17 -0
  115. package/template/src/blocks/children/image/block.ts +80 -0
  116. package/template/src/blocks/children/image/component.tsx +21 -0
  117. package/template/src/blocks/children/richText/block.ts +50 -0
  118. package/template/src/blocks/children/richText/component/converters/index.tsx +10 -0
  119. package/template/src/blocks/children/richText/component/converters/internalLink.tsx +8 -0
  120. package/template/src/blocks/children/richText/component/index.tsx +10 -0
  121. package/template/src/blocks/children/richText/component.tsx +7 -0
  122. package/template/src/blocks/children/richText/defaultLexical.ts +65 -0
  123. package/template/src/blocks/children/simpleText/block.ts +41 -0
  124. package/template/src/blocks/children/simpleText/component.client.tsx +18 -0
  125. package/template/src/blocks/children/simpleText/component.tsx +11 -0
  126. package/template/src/blocks/children/svg/block.ts +39 -0
  127. package/template/src/blocks/children/svg/component.tsx +6 -0
  128. package/template/src/blocks/children/video/block.ts +70 -0
  129. package/template/src/blocks/children/video/component.tsx +11 -0
  130. package/template/src/blocks/children/zap.ts +54 -0
  131. package/template/src/blocks/submitForm/form/rateLimiting/blocks.ts +5 -0
  132. package/template/src/blocks/submitForm/form/rateLimiting/functions.ts +1 -0
  133. package/template/src/blocks/submitForm/form/rateLimiting/simpleSlidingWindow/block.ts +23 -0
  134. package/template/src/blocks/submitForm/form/rateLimiting/simpleSlidingWindow/serverFunction.ts +46 -0
  135. package/template/src/blocks/submitForm/form/sanitation/blocks.ts +6 -0
  136. package/template/src/blocks/submitForm/form/sanitation/combineTwoFields/block.ts +19 -0
  137. package/template/src/blocks/submitForm/form/sanitation/combineTwoFields/serverFunction.ts +22 -0
  138. package/template/src/blocks/submitForm/form/sanitation/functions.ts +1 -0
  139. package/template/src/blocks/submitForm/form/validation/blocks.ts +6 -0
  140. package/template/src/blocks/submitForm/form/validation/functions.ts +1 -0
  141. package/template/src/blocks/submitForm/form/validation/isUnique/block.ts +19 -0
  142. package/template/src/blocks/submitForm/form/validation/isUnique/serverFunction.ts +40 -0
  143. package/template/src/blocks/submitForm/form/zap.ts +8 -0
  144. package/template/src/blocks/submitForm/formProcessor.ts +222 -0
  145. package/template/src/blocks/submitForm/input/sanitation/blocks.ts +5 -0
  146. package/template/src/blocks/submitForm/input/sanitation/functions.ts +1 -0
  147. package/template/src/blocks/submitForm/input/sanitation/trimText/block.ts +24 -0
  148. package/template/src/blocks/submitForm/input/sanitation/trimText/serverFunction.ts +63 -0
  149. package/template/src/blocks/submitForm/input/useOn.ts +8 -0
  150. package/template/src/blocks/submitForm/input/validation/blocks.ts +6 -0
  151. package/template/src/blocks/submitForm/input/validation/contains/block.ts +12 -0
  152. package/template/src/blocks/submitForm/input/validation/contains/serverFunction.ts +23 -0
  153. package/template/src/blocks/submitForm/input/validation/doesNotContain/block.ts +12 -0
  154. package/template/src/blocks/submitForm/input/validation/doesNotContain/serverFunction.ts +23 -0
  155. package/template/src/blocks/submitForm/input/validation/functions.ts +2 -0
  156. package/template/src/blocks/submitForm/input/zap.ts +6 -0
  157. package/template/src/blocks/submitForm/serverFunction.ts +42 -0
  158. package/template/src/collections/designSets/collection.ts +44 -0
  159. package/template/src/collections/designSets/defaults.ts +20 -0
  160. package/template/src/collections/designSets/tabs/animation.ts +71 -0
  161. package/template/src/collections/designSets/tabs/colors.ts +31 -0
  162. package/template/src/collections/designSets/tabs/fonts.ts +53 -0
  163. package/template/src/collections/designSets/tabs/miscellaneous.ts +22 -0
  164. package/template/src/collections/designSets/tabs/prose.ts +151 -0
  165. package/template/src/collections/designSets/tabs/settings.ts +52 -0
  166. package/template/src/collections/designSets/tabs/sizes.ts +30 -0
  167. package/template/src/collections/designSets/tabs/storage.ts +51 -0
  168. package/template/src/collections/designSets/tabs/variables.ts +28 -0
  169. package/template/src/collections/favicons.ts +11 -0
  170. package/template/src/collections/fonts/collection.ts +20 -0
  171. package/template/src/collections/fonts/script.ts +199 -0
  172. package/template/src/collections/footers/collection.ts +48 -0
  173. package/template/src/collections/footers/component.tsx +13 -0
  174. package/template/src/collections/headers/collection.ts +47 -0
  175. package/template/src/collections/headers/component.tsx +13 -0
  176. package/template/src/collections/iconSets/collection.ts +80 -0
  177. package/template/src/collections/iconSets/defaults.ts +81 -0
  178. package/template/src/collections/icons.ts +20 -0
  179. package/template/src/collections/images.ts +29 -0
  180. package/template/src/collections/index.ts +17 -0
  181. package/template/src/collections/muxVideos.ts +13 -0
  182. package/template/src/collections/pages/collection.ts +88 -0
  183. package/template/src/collections/pages/tabs/SEO.ts +70 -0
  184. package/template/src/collections/pages/tabs/settings.ts +17 -0
  185. package/template/src/collections/posthogProperty.ts +48 -0
  186. package/template/src/collections/shortcutSets/collection.ts +30 -0
  187. package/template/src/collections/shortcutSets/defaults.ts +1 -0
  188. package/template/src/collections/shortcutSets/protectedNames.ts +135 -0
  189. package/template/src/collections/shortcutSets/tabs/settings.ts +13 -0
  190. package/template/src/collections/shortcutSets/tabs/shortcuts.ts +70 -0
  191. package/template/src/collections/users.ts +11 -0
  192. package/template/src/collections/zap.ts +59 -0
  193. package/template/src/components/child/SSRProps.ts +381 -0
  194. package/template/src/components/child/renderChildren.tsx +148 -0
  195. package/template/src/components/livePreviewListener.tsx +10 -0
  196. package/template/src/components/providers/formProvider.tsx +11 -0
  197. package/template/src/components/providers/tracking/gtm.tsx +11 -0
  198. package/template/src/components/providers/tracking/index.tsx +46 -0
  199. package/template/src/components/providers/tracking/postHog.tsx +41 -0
  200. package/template/src/components/providers/tracking/vercel.tsx +10 -0
  201. package/template/src/components/toast/index.module.css +142 -0
  202. package/template/src/components/toast/index.tsx +55 -0
  203. package/template/src/endpoints/seed/backendForm.ts +48 -0
  204. package/template/src/endpoints/seed/designSet.ts +476 -0
  205. package/template/src/endpoints/seed/footer.ts +389 -0
  206. package/template/src/endpoints/seed/header.ts +3511 -0
  207. package/template/src/endpoints/seed/iconSet.ts +19 -0
  208. package/template/src/endpoints/seed/icons/assets/check.svg +4 -0
  209. package/template/src/endpoints/seed/icons/assets/close.svg +4 -0
  210. package/template/src/endpoints/seed/icons/assets/cookie.svg +7 -0
  211. package/template/src/endpoints/seed/icons/assets/github.svg +1 -0
  212. package/template/src/endpoints/seed/icons/assets/logo.svg +11 -0
  213. package/template/src/endpoints/seed/icons/assets/menu.svg +4 -0
  214. package/template/src/endpoints/seed/icons/assets/theme.svg +4 -0
  215. package/template/src/endpoints/seed/icons/check.ts +14 -0
  216. package/template/src/endpoints/seed/icons/close.ts +14 -0
  217. package/template/src/endpoints/seed/icons/cookie.ts +14 -0
  218. package/template/src/endpoints/seed/icons/github.ts +14 -0
  219. package/template/src/endpoints/seed/icons/index.ts +7 -0
  220. package/template/src/endpoints/seed/icons/logo.ts +14 -0
  221. package/template/src/endpoints/seed/icons/menu.ts +14 -0
  222. package/template/src/endpoints/seed/icons/theme.ts +14 -0
  223. package/template/src/endpoints/seed/index.ts +100 -0
  224. package/template/src/endpoints/seed/pages/home.ts +858 -0
  225. package/template/src/endpoints/seed/pages/index.ts +4 -0
  226. package/template/src/endpoints/seed/pages/notFoundPage.ts +287 -0
  227. package/template/src/endpoints/seed/pages/prose.ts +1436 -0
  228. package/template/src/endpoints/seed/pages/testing.ts +2181 -0
  229. package/template/src/endpoints/seed/shortcutSet.ts +187 -0
  230. package/template/src/endpoints/seed/siteMetaData.ts +10 -0
  231. package/template/src/fields/actions/changeKey.ts +12 -0
  232. package/template/src/fields/actions/index.ts +6 -0
  233. package/template/src/fields/actions/initialValueCheckbox.ts +14 -0
  234. package/template/src/fields/actions/keyText.ts +10 -0
  235. package/template/src/fields/actions/persisted.ts +14 -0
  236. package/template/src/fields/actions/setData.ts +20 -0
  237. package/template/src/fields/actions/strict/index.ts +3 -0
  238. package/template/src/fields/actions/strict/keySelect.ts +28 -0
  239. package/template/src/fields/actions/strict/listenSelect.ts +28 -0
  240. package/template/src/fields/actions/strict/performSelect.ts +30 -0
  241. package/template/src/fields/actions/strict/registry/cookieConsent.ts +14 -0
  242. package/template/src/fields/actions/strict/registry/index.ts +6 -0
  243. package/template/src/fields/actions/strict/registry/theme.ts +9 -0
  244. package/template/src/fields/active.ts +16 -0
  245. package/template/src/fields/apf/index.ts +69 -0
  246. package/template/src/fields/apf/storage.ts +38 -0
  247. package/template/src/fields/blocks/actions.ts +30 -0
  248. package/template/src/fields/blocks/backdropChildren.ts +11 -0
  249. package/template/src/fields/blocks/children.ts +15 -0
  250. package/template/src/fields/blocks/submitForm/form.ts +24 -0
  251. package/template/src/fields/blocks/submitForm/input.ts +25 -0
  252. package/template/src/fields/className.ts +26 -0
  253. package/template/src/fields/coloredEnd.ts +5 -0
  254. package/template/src/fields/defaultOpen.ts +14 -0
  255. package/template/src/fields/designSets/value.ts +80 -0
  256. package/template/src/fields/devMode.ts +11 -0
  257. package/template/src/fields/favicon.ts +18 -0
  258. package/template/src/fields/for.ts +11 -0
  259. package/template/src/fields/keepMounted.ts +11 -0
  260. package/template/src/fields/modal.ts +16 -0
  261. package/template/src/fields/slug.ts +35 -0
  262. package/template/src/fields/staticDataAttributes.ts +29 -0
  263. package/template/src/fields/tabs/block/children/actions.ts +49 -0
  264. package/template/src/fields/tabs/block/children/backdrop.ts +17 -0
  265. package/template/src/fields/tabs/block/children/settings.ts +45 -0
  266. package/template/src/fields/tabs/block/children/submitForm/form.ts +23 -0
  267. package/template/src/fields/tabs/block/children/submitForm/input.ts +14 -0
  268. package/template/src/fields/tabs/block/children/tracking.ts +25 -0
  269. package/template/src/fields/tabs/collection/storage.ts +55 -0
  270. package/template/src/fields/tagType.ts +32 -0
  271. package/template/src/fields/testPath.ts +3 -0
  272. package/template/src/fields/uniqueTitle.ts +8 -0
  273. package/template/src/fields/validationMessage.ts +13 -0
  274. package/template/src/globals/index.ts +8 -0
  275. package/template/src/globals/settings.ts +36 -0
  276. package/template/src/globals/siteMetaData.ts +29 -0
  277. package/template/src/globals/storage.ts +15 -0
  278. package/template/src/globals/tracking/global.ts +25 -0
  279. package/template/src/globals/tracking/tabs/gtm.ts +18 -0
  280. package/template/src/globals/tracking/tabs/postHog.ts +35 -0
  281. package/template/src/hooks/collection/atomicHook/atomicHook.ts +223 -0
  282. package/template/src/hooks/collection/atomicHook/processors/cssProcessor.ts +60 -0
  283. package/template/src/hooks/collection/atomicHook/processors/processDesignSet/generatePreflights.ts +36 -0
  284. package/template/src/hooks/collection/atomicHook/processors/processDesignSet/index.ts +176 -0
  285. package/template/src/hooks/collection/atomicHook/processors/unsetActive.ts +24 -0
  286. package/template/src/hooks/collection/formatSVG.ts +157 -0
  287. package/template/src/hooks/collection/revalidate.ts +53 -0
  288. package/template/src/hooks/collection/sanitizeCollection.ts +5 -0
  289. package/template/src/hooks/field/apf.ts +59 -0
  290. package/template/src/hooks/field/formatSlug.ts +23 -0
  291. package/template/src/hooks/field/href.ts +6 -0
  292. package/template/src/hooks/field/publishedAt.ts +5 -0
  293. package/template/src/hooks/frontEnd/atomicStore/create.ts +69 -0
  294. package/template/src/hooks/frontEnd/atomicStore/index.tsx +20 -0
  295. package/template/src/hooks/frontEnd/atomicStore/slices/base.ts +7 -0
  296. package/template/src/hooks/frontEnd/atomicStore/slices/consent.ts +76 -0
  297. package/template/src/hooks/frontEnd/atomicStore/slices/dynamic.ts +51 -0
  298. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/boolToDA/function.ts +14 -0
  299. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/boolToDA/zap.ts +12 -0
  300. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/cCToDA/function.ts +34 -0
  301. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/cCToDA/zap.ts +17 -0
  302. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/errorToDA/function.ts +22 -0
  303. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/errorToDA/zap.ts +10 -0
  304. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/function.ts +20 -0
  305. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/statusToDA/function.ts +24 -0
  306. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/statusToDA/zap.ts +10 -0
  307. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/textToDA/function.ts +21 -0
  308. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/textToDA/zap.ts +12 -0
  309. package/template/src/hooks/frontEnd/useActions/dispatch/attributer/zap.ts +15 -0
  310. package/template/src/hooks/frontEnd/useActions/dispatch/index.ts +2 -0
  311. package/template/src/hooks/frontEnd/useActions/dispatch/runner/cycleText/function.ts +30 -0
  312. package/template/src/hooks/frontEnd/useActions/dispatch/runner/cycleText/zap.ts +12 -0
  313. package/template/src/hooks/frontEnd/useActions/dispatch/runner/function.ts +21 -0
  314. package/template/src/hooks/frontEnd/useActions/dispatch/runner/resetForm/function.ts +7 -0
  315. package/template/src/hooks/frontEnd/useActions/dispatch/runner/resetForm/zap.ts +9 -0
  316. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setBool/function.ts +10 -0
  317. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setBool/zap.ts +11 -0
  318. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setCCs/function.ts +33 -0
  319. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setCCs/zap.ts +14 -0
  320. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setThemes/function.ts +11 -0
  321. package/template/src/hooks/frontEnd/useActions/dispatch/runner/setThemes/zap.ts +10 -0
  322. package/template/src/hooks/frontEnd/useActions/dispatch/runner/submitForm/function.ts +32 -0
  323. package/template/src/hooks/frontEnd/useActions/dispatch/runner/submitForm/zap.ts +9 -0
  324. package/template/src/hooks/frontEnd/useActions/dispatch/runner/zap.ts +16 -0
  325. package/template/src/hooks/frontEnd/useActions/dispatch/zap.ts +2 -0
  326. package/template/src/hooks/frontEnd/useActions/index.ts +6 -0
  327. package/template/src/hooks/frontEnd/useActions/useActionContext.ts +21 -0
  328. package/template/src/hooks/frontEnd/useActions/useButtonActions.ts +17 -0
  329. package/template/src/hooks/frontEnd/useActions/useDaToText.ts +34 -0
  330. package/template/src/hooks/frontEnd/useActions/useForm.ts +114 -0
  331. package/template/src/hooks/frontEnd/useActions/usePortal.ts +33 -0
  332. package/template/src/hooks/frontEnd/useActions/useToDa.ts +12 -0
  333. package/template/src/hooks/global/revalidate.ts +26 -0
  334. package/template/src/payload.config.ts +78 -0
  335. package/template/src/plugins/blurDataUrls.ts +8 -0
  336. package/template/src/plugins/formBuilder.ts +40 -0
  337. package/template/src/plugins/index.ts +17 -0
  338. package/template/src/plugins/muxVideo.ts +13 -0
  339. package/template/src/plugins/nestedDocs.ts +9 -0
  340. package/template/src/plugins/vercelBlobStorage.ts +8 -0
  341. package/template/src/ts/JSONSchema.ts +93 -0
  342. package/template/src/ts/declarations.ts +24 -0
  343. package/template/src/ts/types/actions.ts +175 -0
  344. package/template/src/ts/types/apf.ts +108 -0
  345. package/template/src/ts/types/cache.ts +166 -0
  346. package/template/src/ts/types/css.ts +14 -0
  347. package/template/src/ts/types/forms.ts +214 -0
  348. package/template/src/ts/types/frontEnd.ts +115 -0
  349. package/template/src/ts/types/index.ts +49 -0
  350. package/template/src/ts/types/payload-types.ts +3684 -0
  351. package/template/src/ts/zap/ap.ts +82 -0
  352. package/template/src/ts/zap/index.ts +4 -0
  353. package/template/src/ui/apf/controls.tsx +88 -0
  354. package/template/src/ui/apf/field.tsx +81 -0
  355. package/template/src/ui/apf/index.scss +59 -0
  356. package/template/src/ui/apf/label.tsx +23 -0
  357. package/template/src/ui/assets/Icon.tsx +21 -0
  358. package/template/src/ui/assets/Logo.tsx +21 -0
  359. package/template/src/ui/assets/atomicIcon.tsx +27 -0
  360. package/template/src/ui/assets/warningIcon.ts +6 -0
  361. package/template/src/ui/blocks/actionBlock.tsx +44 -0
  362. package/template/src/ui/blocks/inputBlock.tsx +24 -0
  363. package/template/src/ui/decorative/coloredEnd.tsx +16 -0
  364. package/template/src/ui/decorative/index.scss +46 -0
  365. package/template/src/ui/fields/iconSelect/index.tsx +19 -0
  366. package/template/src/ui/fields/slug/index.scss +12 -0
  367. package/template/src/ui/fields/slug/index.tsx +72 -0
  368. package/template/src/ui/index.ts +32 -0
  369. package/template/src/ui/root/beforeDashboard/index.scss +22 -0
  370. package/template/src/ui/root/beforeDashboard/index.tsx +39 -0
  371. package/template/src/ui/root/beforeDashboard/seedButton/index.scss +12 -0
  372. package/template/src/ui/root/beforeDashboard/seedButton/index.tsx +84 -0
  373. package/template/src/ui/root/siteTriggers/index.scss +22 -0
  374. package/template/src/ui/root/siteTriggers/index.tsx +94 -0
  375. package/template/src/ui/root/siteTriggers/triggerVercelDeploy.ts +37 -0
  376. package/template/src/ui/rowLabels/animation.tsx +27 -0
  377. package/template/src/ui/rowLabels/atomic/index.scss +62 -0
  378. package/template/src/ui/rowLabels/atomic/index.tsx +96 -0
  379. package/template/src/ui/rowLabels/color.tsx +33 -0
  380. package/template/src/ui/rowLabels/designToken.tsx +30 -0
  381. package/template/src/ui/rowLabels/icon.tsx +32 -0
  382. package/template/src/ui/rowLabels/shortcut/index.scss +21 -0
  383. package/template/src/ui/rowLabels/shortcut/index.tsx +30 -0
  384. package/template/src/ui/rowLabels/simpleText.tsx +41 -0
  385. package/template/src/utilities/deepMerge.ts +30 -0
  386. package/template/src/utilities/extractSVG.ts +9 -0
  387. package/template/src/utilities/format/toKebabCase.ts +79 -0
  388. package/template/src/utilities/format/toTitleCase.ts +47 -0
  389. package/template/src/utilities/formatDurationWithTokens.ts +56 -0
  390. package/template/src/utilities/generateMetaData.ts +45 -0
  391. package/template/src/utilities/generatePreviewPath.ts +43 -0
  392. package/template/src/utilities/get/cache/getAtomicActions.ts +48 -0
  393. package/template/src/utilities/get/cache/getAtomicClasses.ts +20 -0
  394. package/template/src/utilities/get/cache/getDesignSet.ts +15 -0
  395. package/template/src/utilities/get/cache/getFooter.ts +17 -0
  396. package/template/src/utilities/get/cache/getFormSubmissions.ts +17 -0
  397. package/template/src/utilities/get/cache/getForms.ts +43 -0
  398. package/template/src/utilities/get/cache/getHeader.ts +17 -0
  399. package/template/src/utilities/get/cache/getIcon.ts +51 -0
  400. package/template/src/utilities/get/cache/getImage.ts +20 -0
  401. package/template/src/utilities/get/cache/getPage.ts +35 -0
  402. package/template/src/utilities/get/cache/getPages.ts +24 -0
  403. package/template/src/utilities/get/cache/getShortcutSet.ts +17 -0
  404. package/template/src/utilities/get/cache/getSiteCSS.ts +17 -0
  405. package/template/src/utilities/get/cache/getSiteMetadata.ts +14 -0
  406. package/template/src/utilities/get/cache/getSitemap.ts +50 -0
  407. package/template/src/utilities/get/cache/getTracking.ts +14 -0
  408. package/template/src/utilities/get/cache/index.ts +129 -0
  409. package/template/src/utilities/get/cache/react.ts +5 -0
  410. package/template/src/utilities/get/getImageURL.ts +20 -0
  411. package/template/src/utilities/get/getMeUser.ts +22 -0
  412. package/template/src/utilities/get/getURL.ts +20 -0
  413. package/template/src/utilities/log/cache.ts +8 -0
  414. package/template/src/utilities/log/manual.ts +11 -0
  415. package/template/src/utilities/log/revalidation.ts +6 -0
  416. package/template/src/utilities/mergeTags.ts +7 -0
  417. package/template/src/utilities/propertyApplicatorUtility.ts +20 -0
  418. package/template/src/utilities/revalidateTag.ts +55 -0
  419. package/template/src/utilities/runAPF.ts +10 -0
  420. package/template/src/utilities/sanitizeData.ts +24 -0
  421. package/template/src/utilities/seedNestedRelationship.ts +5 -0
  422. package/template/tailwind.config.js +9 -0
  423. package/template/tsconfig.json +49 -0
@@ -0,0 +1,858 @@
1
+ import type { Page } from '@/ts/types'
2
+
3
+ export const homePage: Omit<Page, 'createdAt' | 'updatedAt' | 'publishedAt' | 'id'> = {
4
+ title: 'Home',
5
+ slug: '',
6
+ slugLock: false,
7
+ href: '/',
8
+ live: true,
9
+ mainClassName: 'page-main pb-12',
10
+ _status: 'published',
11
+ devMode: false,
12
+ children: [
13
+ {
14
+ blockType: 'AtomicChild',
15
+ type: 'tag',
16
+ tagType: 'section',
17
+ ClassName: 'relative overflow-hidden border-b border-border bg-background',
18
+
19
+ children: [
20
+ {
21
+ blockType: 'AtomicChild',
22
+ type: 'tag',
23
+ tagType: 'div',
24
+ ClassName: 'container mx-auto px-4 py-24 md:py-32 lg:py-40',
25
+
26
+ children: [
27
+ {
28
+ blockType: 'AtomicChild',
29
+ type: 'tag',
30
+ tagType: 'div',
31
+ ClassName: 'mx-auto max-w-4xl text-center',
32
+
33
+ children: [
34
+ {
35
+ blockType: 'AtomicChild',
36
+ type: 'tag',
37
+ tagType: 'h1',
38
+ ClassName: 'text-balance text-5xl font-bold tracking-tight sm:text-6xl md:text-7xl lg:text-8xl',
39
+
40
+ children: [
41
+ {
42
+ blockType: 'SimpleTextChild',
43
+ tagType: 'fragment',
44
+ ClassName: 'text-balance text-5xl font-bold tracking-tight sm:text-6xl md:text-7xl lg:text-8xl',
45
+ text: 'Thanks for giving ',
46
+ id: '69306d9fc59442e39df957af',
47
+
48
+ contentActions: {
49
+ actionBlocks: [],
50
+ },
51
+
52
+ staticDataAttributes: [],
53
+ },
54
+
55
+ {
56
+ blockType: 'SimpleTextChild',
57
+ tagType: 'span',
58
+ ClassName: 'text-brand-primary',
59
+ text: 'Atomic Payload',
60
+ id: '69306deac59442e39df957b3',
61
+
62
+ contentActions: {
63
+ actionBlocks: [],
64
+ },
65
+
66
+ staticDataAttributes: [],
67
+ },
68
+
69
+ {
70
+ blockType: 'SimpleTextChild',
71
+ tagType: 'fragment',
72
+ ClassName: 'mt-10 flex items-center justify-center gap-4',
73
+ text: ' a go',
74
+ id: '6930717ee303ad21a77bdd52',
75
+
76
+ contentActions: {
77
+ actionBlocks: [],
78
+ },
79
+
80
+ staticDataAttributes: [],
81
+ },
82
+ ],
83
+ id: '69306d80c59442e39df957ad',
84
+
85
+ triggerChildren: [],
86
+
87
+ triggerActions: {
88
+ actionBlocks: [],
89
+ },
90
+
91
+ contentActions: {
92
+ actionBlocks: [],
93
+ },
94
+
95
+ formRateLimitBlocks: [],
96
+
97
+ formSanitationBlocks: [],
98
+
99
+ formValidationBlocks: [],
100
+
101
+ inputSanitationBlocks: [],
102
+
103
+ inputValidationBlocks: [],
104
+
105
+ backdropChildren: [],
106
+
107
+ ds: {},
108
+
109
+ pops: {},
110
+
111
+ triggerStaticDataAttributes: [],
112
+
113
+ staticDataAttributes: [],
114
+ },
115
+
116
+ {
117
+ blockType: 'SimpleTextChild',
118
+ tagType: 'p',
119
+ ClassName: 'mx-auto mt-6 max-w-2xl text-pretty text-lg leading-relaxed text-muted-foreground sm:text-xl',
120
+ text: 'If you enjoy the project, give it a star on github!',
121
+ id: '6933468f5ff10f7a3074a1f3',
122
+
123
+ contentActions: {
124
+ actionBlocks: [],
125
+ },
126
+
127
+ staticDataAttributes: [],
128
+ },
129
+
130
+ {
131
+ blockType: 'AtomicChild',
132
+ type: 'tag',
133
+ tagType: 'div',
134
+ ClassName: 'mt-10 flex flex-row gap-4 justify-center',
135
+
136
+ children: [
137
+ {
138
+ blockType: 'AtomicChild',
139
+ type: 'button',
140
+ tagType: 'div',
141
+ buttonType: 'link',
142
+ newTab: true,
143
+ linkType: 'externalLink',
144
+ externalLink: 'github.com/pro-laico/atomic-payload',
145
+ triggerClassName: 'trigger trigger-style-outline trigger-size-icon',
146
+ screenReaderText: 'Github',
147
+
148
+ triggerChildren: [
149
+ {
150
+ blockType: 'IconChild',
151
+ icon: 'github',
152
+ ariaHidden: true,
153
+ id: '69334970f7cd753c11ea0d72',
154
+
155
+ staticDataAttributes: [],
156
+ },
157
+ ],
158
+ id: '69334945f7cd753c11ea0d70',
159
+ blockName: 'Github Link',
160
+
161
+ children: [],
162
+
163
+ triggerActions: {
164
+ actionBlocks: [],
165
+ },
166
+
167
+ contentActions: {
168
+ actionBlocks: [],
169
+ },
170
+
171
+ formRateLimitBlocks: [],
172
+
173
+ formSanitationBlocks: [],
174
+
175
+ formValidationBlocks: [],
176
+
177
+ inputSanitationBlocks: [],
178
+
179
+ inputValidationBlocks: [],
180
+
181
+ backdropChildren: [],
182
+
183
+ ds: {},
184
+
185
+ pops: {},
186
+
187
+ triggerStaticDataAttributes: [],
188
+
189
+ staticDataAttributes: [],
190
+ },
191
+
192
+ {
193
+ blockType: 'AtomicChild',
194
+ type: 'button',
195
+ tagType: 'div',
196
+ buttonType: 'link',
197
+ newTab: true,
198
+ linkType: 'externalLink',
199
+ externalLink: 'www.atomicpayload.com/getting-started',
200
+ triggerClassName: 'trigger trigger-style-base trigger-size-base',
201
+
202
+ triggerChildren: [
203
+ {
204
+ blockType: 'SimpleTextChild',
205
+ tagType: 'span',
206
+ text: 'Get Started',
207
+ id: '6933468f5ff10f7a3074a1f7',
208
+
209
+ contentActions: {
210
+ actionBlocks: [],
211
+ },
212
+
213
+ staticDataAttributes: [],
214
+ },
215
+ ],
216
+ id: '6933468f5ff10f7a3074a1f8',
217
+ blockName: 'Get Started',
218
+
219
+ children: [],
220
+
221
+ triggerActions: {
222
+ actionBlocks: [],
223
+ },
224
+
225
+ contentActions: {
226
+ actionBlocks: [],
227
+ },
228
+
229
+ formRateLimitBlocks: [],
230
+
231
+ formSanitationBlocks: [],
232
+
233
+ formValidationBlocks: [],
234
+
235
+ inputSanitationBlocks: [],
236
+
237
+ inputValidationBlocks: [],
238
+
239
+ backdropChildren: [],
240
+
241
+ ds: {},
242
+
243
+ pops: {},
244
+
245
+ triggerStaticDataAttributes: [],
246
+
247
+ staticDataAttributes: [],
248
+ },
249
+ ],
250
+ id: '6933468f5ff10f7a3074a1f9',
251
+
252
+ triggerChildren: [],
253
+
254
+ triggerActions: {
255
+ actionBlocks: [],
256
+ },
257
+
258
+ contentActions: {
259
+ actionBlocks: [],
260
+ },
261
+
262
+ formRateLimitBlocks: [],
263
+
264
+ formSanitationBlocks: [],
265
+
266
+ formValidationBlocks: [],
267
+
268
+ inputSanitationBlocks: [],
269
+
270
+ inputValidationBlocks: [],
271
+
272
+ backdropChildren: [],
273
+
274
+ ds: {},
275
+
276
+ pops: {},
277
+
278
+ triggerStaticDataAttributes: [],
279
+
280
+ staticDataAttributes: [],
281
+ },
282
+ ],
283
+ id: '69306d76c59442e39df957ac',
284
+
285
+ triggerChildren: [],
286
+
287
+ triggerActions: {
288
+ actionBlocks: [],
289
+ },
290
+
291
+ contentActions: {
292
+ actionBlocks: [],
293
+ },
294
+
295
+ formRateLimitBlocks: [],
296
+
297
+ formSanitationBlocks: [],
298
+
299
+ formValidationBlocks: [],
300
+
301
+ inputSanitationBlocks: [],
302
+
303
+ inputValidationBlocks: [],
304
+
305
+ backdropChildren: [],
306
+
307
+ ds: {},
308
+
309
+ pops: {},
310
+
311
+ triggerStaticDataAttributes: [],
312
+
313
+ staticDataAttributes: [],
314
+ },
315
+ ],
316
+ id: '69306d57c59442e39df957ab',
317
+ blockName: 'Header Section',
318
+
319
+ triggerChildren: [],
320
+
321
+ triggerActions: {
322
+ actionBlocks: [],
323
+ },
324
+
325
+ contentActions: {
326
+ actionBlocks: [],
327
+ },
328
+
329
+ formRateLimitBlocks: [],
330
+
331
+ formSanitationBlocks: [],
332
+
333
+ formValidationBlocks: [],
334
+
335
+ inputSanitationBlocks: [],
336
+
337
+ inputValidationBlocks: [],
338
+
339
+ backdropChildren: [],
340
+
341
+ ds: {},
342
+
343
+ pops: {},
344
+
345
+ triggerStaticDataAttributes: [],
346
+
347
+ staticDataAttributes: [],
348
+ },
349
+ ],
350
+ id: '69274d68241f5cfdd32d4460',
351
+ blockName: 'Header Section',
352
+
353
+ triggerChildren: [],
354
+
355
+ triggerActions: {
356
+ actionBlocks: [],
357
+ },
358
+
359
+ contentActions: {
360
+ actionBlocks: [],
361
+ },
362
+
363
+ formRateLimitBlocks: [],
364
+
365
+ formSanitationBlocks: [],
366
+
367
+ formValidationBlocks: [],
368
+
369
+ inputSanitationBlocks: [],
370
+
371
+ inputValidationBlocks: [],
372
+
373
+ backdropChildren: [],
374
+
375
+ ds: {},
376
+
377
+ pops: {},
378
+
379
+ triggerStaticDataAttributes: [],
380
+
381
+ staticDataAttributes: [],
382
+ },
383
+
384
+ {
385
+ blockType: 'AtomicChild',
386
+ type: 'tag',
387
+ tagType: 'div',
388
+ ClassName: 'container mx-auto px-4',
389
+
390
+ children: [
391
+ {
392
+ blockType: 'AtomicChild',
393
+ type: 'tag',
394
+ tagType: 'div',
395
+ ClassName: 'my-12 text-center',
396
+
397
+ children: [
398
+ {
399
+ blockType: 'SimpleTextChild',
400
+ tagType: 'h2',
401
+ ClassName: 'text-balance text-3xl font-bold tracking-tight sm:text-4xl md:text-5xl',
402
+ text: 'Quick Links',
403
+ id: '693346865ff10f7a3074a1e5',
404
+
405
+ contentActions: {
406
+ actionBlocks: [],
407
+ },
408
+
409
+ staticDataAttributes: [],
410
+ },
411
+ ],
412
+ id: '693346865ff10f7a3074a1e7',
413
+ blockName: 'Header',
414
+
415
+ triggerChildren: [],
416
+
417
+ triggerActions: {
418
+ actionBlocks: [],
419
+ },
420
+
421
+ contentActions: {
422
+ actionBlocks: [],
423
+ },
424
+
425
+ formRateLimitBlocks: [],
426
+
427
+ formSanitationBlocks: [],
428
+
429
+ formValidationBlocks: [],
430
+
431
+ inputSanitationBlocks: [],
432
+
433
+ inputValidationBlocks: [],
434
+
435
+ backdropChildren: [],
436
+
437
+ ds: {},
438
+
439
+ pops: {},
440
+
441
+ triggerStaticDataAttributes: [],
442
+
443
+ staticDataAttributes: [],
444
+ },
445
+
446
+ {
447
+ blockType: 'AtomicChild',
448
+ type: 'tag',
449
+ tagType: 'div',
450
+ ClassName: 'grid gap-6 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4',
451
+
452
+ children: [
453
+ {
454
+ blockType: 'AtomicChild',
455
+ type: 'button',
456
+ tagType: 'div',
457
+ buttonType: 'link',
458
+ linkType: 'externalLink',
459
+ newTab: true,
460
+ externalLink: 'https://github.com/pro-laico/atomic-payload',
461
+ triggerClassName: 'group h-full rounded-lg border border-border bg-card p-6 transition-all hover:border-primary hover:shadow-lg',
462
+
463
+ triggerChildren: [
464
+ {
465
+ blockType: 'AtomicChild',
466
+ type: 'tag',
467
+ tagType: 'div',
468
+ ClassName: 'mb-4 inline-flex size-12 items-center justify-center rounded-lg bg-accent',
469
+
470
+ children: [
471
+ {
472
+ blockType: 'IconChild',
473
+ icon: 'github',
474
+ ClassName: 'size-6 stroke-accent-foreground fill-accent-foreground',
475
+ id: '693346865ff10f7a3074a1e8',
476
+
477
+ staticDataAttributes: [],
478
+ },
479
+ ],
480
+ id: '693346865ff10f7a3074a1e9',
481
+ blockName: 'Github Icon',
482
+
483
+ triggerChildren: [],
484
+
485
+ triggerActions: {
486
+ actionBlocks: [],
487
+ },
488
+
489
+ contentActions: {
490
+ actionBlocks: [],
491
+ },
492
+
493
+ formRateLimitBlocks: [],
494
+
495
+ formSanitationBlocks: [],
496
+
497
+ formValidationBlocks: [],
498
+
499
+ inputSanitationBlocks: [],
500
+
501
+ inputValidationBlocks: [],
502
+
503
+ backdropChildren: [],
504
+
505
+ ds: {},
506
+
507
+ pops: {},
508
+
509
+ triggerStaticDataAttributes: [],
510
+
511
+ staticDataAttributes: [],
512
+ },
513
+
514
+ {
515
+ blockType: 'SimpleTextChild',
516
+ tagType: 'h3',
517
+ ClassName: 'mb-2 text-xl font-semibold text-card-foreground group-hover:text-primary',
518
+ text: 'Github',
519
+ id: '693346865ff10f7a3074a1ea',
520
+
521
+ contentActions: {
522
+ actionBlocks: [],
523
+ },
524
+
525
+ staticDataAttributes: [],
526
+ },
527
+
528
+ {
529
+ blockType: 'SimpleTextChild',
530
+ tagType: 'span',
531
+ ClassName: 'leading-relaxed text-muted-foreground',
532
+ text: 'View The Github Repo.',
533
+ id: '693346865ff10f7a3074a1eb',
534
+
535
+ contentActions: {
536
+ actionBlocks: [],
537
+ },
538
+
539
+ staticDataAttributes: [],
540
+ },
541
+ ],
542
+ id: '693346865ff10f7a3074a1ec',
543
+ blockName: 'Github',
544
+
545
+ children: [],
546
+
547
+ triggerActions: {
548
+ actionBlocks: [],
549
+ },
550
+
551
+ contentActions: {
552
+ actionBlocks: [],
553
+ },
554
+
555
+ formRateLimitBlocks: [],
556
+
557
+ formSanitationBlocks: [],
558
+
559
+ formValidationBlocks: [],
560
+
561
+ inputSanitationBlocks: [],
562
+
563
+ inputValidationBlocks: [],
564
+
565
+ backdropChildren: [],
566
+
567
+ ds: {},
568
+
569
+ pops: {},
570
+
571
+ triggerStaticDataAttributes: [],
572
+
573
+ staticDataAttributes: [],
574
+ },
575
+
576
+ {
577
+ blockType: 'AtomicChild',
578
+ type: 'button',
579
+ tagType: 'div',
580
+ buttonType: 'link',
581
+ linkType: 'externalLink',
582
+ externalLink: 'www.atomicpayload.com',
583
+ newTab: true,
584
+ triggerClassName: 'group h-full rounded-lg border border-border bg-card p-6 transition-all hover:border-primary hover:shadow-lg',
585
+
586
+ triggerChildren: [
587
+ {
588
+ blockType: 'AtomicChild',
589
+ type: 'tag',
590
+ tagType: 'div',
591
+ ClassName: 'mb-4 inline-flex size-12 items-center justify-center rounded-lg bg-accent',
592
+
593
+ children: [
594
+ {
595
+ blockType: 'IconChild',
596
+ icon: 'logo',
597
+ ClassName: 'size-6 stroke-accent-foreground fill-accent-foreground',
598
+ id: '693346865ff10f7a3074a1ed',
599
+
600
+ staticDataAttributes: [],
601
+ },
602
+ ],
603
+ id: '693346865ff10f7a3074a1ee',
604
+ blockName: 'Github Icon',
605
+
606
+ triggerChildren: [],
607
+
608
+ triggerActions: {
609
+ actionBlocks: [],
610
+ },
611
+
612
+ contentActions: {
613
+ actionBlocks: [],
614
+ },
615
+
616
+ formRateLimitBlocks: [],
617
+
618
+ formSanitationBlocks: [],
619
+
620
+ formValidationBlocks: [],
621
+
622
+ inputSanitationBlocks: [],
623
+
624
+ inputValidationBlocks: [],
625
+
626
+ backdropChildren: [],
627
+
628
+ ds: {},
629
+
630
+ pops: {},
631
+
632
+ triggerStaticDataAttributes: [],
633
+
634
+ staticDataAttributes: [],
635
+ },
636
+
637
+ {
638
+ blockType: 'SimpleTextChild',
639
+ tagType: 'h3',
640
+ ClassName: 'mb-2 text-xl font-semibold text-card-foreground group-hover:text-primary',
641
+ text: 'Atomic Payload',
642
+ id: '693346865ff10f7a3074a1ef',
643
+
644
+ contentActions: {
645
+ actionBlocks: [],
646
+ },
647
+
648
+ staticDataAttributes: [],
649
+ },
650
+
651
+ {
652
+ blockType: 'SimpleTextChild',
653
+ tagType: 'span',
654
+ ClassName: 'leading-relaxed text-muted-foreground',
655
+ text: 'View the documentation on all major aspects of Atomic Payload.',
656
+ id: '693346865ff10f7a3074a1f0',
657
+
658
+ contentActions: {
659
+ actionBlocks: [],
660
+ },
661
+
662
+ staticDataAttributes: [],
663
+ },
664
+ ],
665
+ id: '693346865ff10f7a3074a1f1',
666
+ blockName: 'Github',
667
+
668
+ children: [],
669
+
670
+ triggerActions: {
671
+ actionBlocks: [],
672
+ },
673
+
674
+ contentActions: {
675
+ actionBlocks: [],
676
+ },
677
+
678
+ formRateLimitBlocks: [],
679
+
680
+ formSanitationBlocks: [],
681
+
682
+ formValidationBlocks: [],
683
+
684
+ inputSanitationBlocks: [],
685
+
686
+ inputValidationBlocks: [],
687
+
688
+ backdropChildren: [],
689
+
690
+ ds: {},
691
+
692
+ pops: {},
693
+
694
+ triggerStaticDataAttributes: [],
695
+
696
+ staticDataAttributes: [],
697
+ },
698
+ ],
699
+ id: '693346865ff10f7a3074a1f2',
700
+ blockName: 'Grid',
701
+
702
+ triggerChildren: [],
703
+
704
+ triggerActions: {
705
+ actionBlocks: [],
706
+ },
707
+
708
+ contentActions: {
709
+ actionBlocks: [],
710
+ },
711
+
712
+ formRateLimitBlocks: [],
713
+
714
+ formSanitationBlocks: [],
715
+
716
+ formValidationBlocks: [],
717
+
718
+ inputSanitationBlocks: [],
719
+
720
+ inputValidationBlocks: [],
721
+
722
+ backdropChildren: [],
723
+
724
+ ds: {},
725
+
726
+ pops: {},
727
+
728
+ triggerStaticDataAttributes: [],
729
+
730
+ staticDataAttributes: [],
731
+ },
732
+ ],
733
+ id: '69334682b5ca35c4819b72d7',
734
+ blockName: 'Documentation Section',
735
+
736
+ triggerChildren: [],
737
+
738
+ triggerActions: {
739
+ actionBlocks: [],
740
+ },
741
+
742
+ contentActions: {
743
+ actionBlocks: [],
744
+ },
745
+
746
+ formRateLimitBlocks: [],
747
+
748
+ formSanitationBlocks: [],
749
+
750
+ formValidationBlocks: [],
751
+
752
+ inputSanitationBlocks: [],
753
+
754
+ inputValidationBlocks: [],
755
+
756
+ backdropChildren: [],
757
+
758
+ ds: {},
759
+
760
+ pops: {},
761
+
762
+ triggerStaticDataAttributes: [],
763
+
764
+ staticDataAttributes: [],
765
+ },
766
+ ] as any,
767
+
768
+ meta: {
769
+ noIndex: false,
770
+ priority: 0.5,
771
+ },
772
+
773
+ breadcrumbs: [
774
+ {
775
+ doc: '69274d8cc6c6fa92adf998ab',
776
+ url: '/',
777
+ label: '/',
778
+ id: '69274d8c58b4d28e286cff19',
779
+ },
780
+ ],
781
+
782
+ storedAtomicClasses: [
783
+ 'page-main',
784
+ 'pb-12',
785
+ 'relative',
786
+ 'overflow-hidden',
787
+ 'border-b',
788
+ 'border-border',
789
+ 'bg-background',
790
+ 'container',
791
+ 'mx-auto',
792
+ 'px-4',
793
+ 'py-24',
794
+ 'md:py-32',
795
+ 'lg:py-40',
796
+ 'max-w-4xl',
797
+ 'text-center',
798
+ 'text-balance',
799
+ 'text-5xl',
800
+ 'font-bold',
801
+ 'tracking-tight',
802
+ 'sm:text-6xl',
803
+ 'md:text-7xl',
804
+ 'lg:text-8xl',
805
+ 'text-brand-primary',
806
+ 'mt-10',
807
+ 'flex',
808
+ 'items-center',
809
+ 'justify-center',
810
+ 'gap-4',
811
+ 'mt-6',
812
+ 'max-w-2xl',
813
+ 'text-pretty',
814
+ 'text-lg',
815
+ 'leading-relaxed',
816
+ 'text-muted-foreground',
817
+ 'sm:text-xl',
818
+ 'flex-row',
819
+ 'trigger',
820
+ 'trigger-style-outline',
821
+ 'trigger-size-icon',
822
+ 'trigger-style-base',
823
+ 'trigger-size-base',
824
+ 'my-12',
825
+ 'text-3xl',
826
+ 'sm:text-4xl',
827
+ 'md:text-5xl',
828
+ 'mt-4',
829
+ 'grid',
830
+ 'gap-6',
831
+ 'sm:grid-cols-2',
832
+ 'lg:grid-cols-3',
833
+ 'xl:grid-cols-4',
834
+ 'group',
835
+ 'h-full',
836
+ 'rounded-lg',
837
+ 'border',
838
+ 'bg-card',
839
+ 'p-6',
840
+ 'transition-all',
841
+ 'hover:border-primary',
842
+ 'hover:shadow-lg',
843
+ 'mb-4',
844
+ 'inline-flex',
845
+ 'size-12',
846
+ 'bg-accent',
847
+ 'size-6',
848
+ 'stroke-accent-foreground',
849
+ 'fill-accent-foreground',
850
+ 'mb-2',
851
+ 'text-xl',
852
+ 'font-semibold',
853
+ 'text-card-foreground',
854
+ 'group-hover:text-primary',
855
+ ],
856
+
857
+ storedAtomicForms: [],
858
+ }