@pixelated-tech/components 3.11.8 → 3.12.0

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 (286) hide show
  1. package/dist/components/admin/site-health/site-health-accessibility.js +6 -0
  2. package/dist/components/admin/site-health/site-health-axe-core.js +6 -0
  3. package/dist/components/admin/site-health/site-health-cloudwatch.js +10 -0
  4. package/dist/components/admin/site-health/site-health-dependency-vulnerabilities.js +6 -0
  5. package/dist/components/admin/site-health/site-health-github.js +10 -0
  6. package/dist/components/admin/site-health/site-health-google-analytics.js +10 -0
  7. package/dist/components/admin/site-health/site-health-google-search-console.js +10 -0
  8. package/dist/components/admin/site-health/site-health-mock-context.js +8 -0
  9. package/dist/components/admin/site-health/site-health-on-site-seo.js +6 -0
  10. package/dist/components/admin/site-health/site-health-overview.js +6 -0
  11. package/dist/components/admin/site-health/site-health-performance.js +6 -0
  12. package/dist/components/admin/site-health/site-health-security.js +6 -0
  13. package/dist/components/admin/site-health/site-health-seo.js +6 -0
  14. package/dist/components/admin/site-health/site-health-template.js +28 -0
  15. package/dist/components/admin/site-health/site-health-uptime.js +6 -0
  16. package/dist/components/config/config.server.js +8 -0
  17. package/dist/components/general/404.js +6 -0
  18. package/dist/components/general/accordion.js +11 -0
  19. package/dist/components/general/buzzwordbingo.js +18 -0
  20. package/dist/components/general/callout.js +65 -2
  21. package/dist/components/general/carousel.drag.js +12 -0
  22. package/dist/components/general/carousel.js +50 -0
  23. package/dist/components/general/faq-accordion.js +15 -0
  24. package/dist/components/general/global-error.js +12 -0
  25. package/dist/components/general/hero.js +13 -0
  26. package/dist/components/general/loading.js +10 -1
  27. package/dist/components/general/markdown.js +6 -0
  28. package/dist/components/general/menu-accordion.js +30 -1
  29. package/dist/components/general/menu-expando.js +24 -1
  30. package/dist/components/general/menu-simple.js +21 -0
  31. package/dist/components/general/metadata.components.js +10 -0
  32. package/dist/components/general/microinteractions.js +22 -0
  33. package/dist/components/general/modal.js +12 -0
  34. package/dist/components/general/nerdjoke.js +11 -1
  35. package/dist/components/general/proxy-handler.js +7 -7
  36. package/dist/components/general/recipe.js +46 -1
  37. package/dist/components/general/resume.js +82 -0
  38. package/dist/components/general/schema-blogposting.js +6 -0
  39. package/dist/components/general/schema-localbusiness.js +36 -0
  40. package/dist/components/general/schema-recipe.js +20 -0
  41. package/dist/components/general/semantic.js +178 -0
  42. package/dist/components/general/sidepanel.js +26 -0
  43. package/dist/components/general/sitemap.js +50 -0
  44. package/dist/components/general/skeleton-loading.css +5 -5
  45. package/dist/components/general/skeleton-loading.js +11 -2
  46. package/dist/components/general/skeleton.js +15 -0
  47. package/dist/components/general/smartimage.js +48 -2
  48. package/dist/components/general/splitscroll.js +21 -10
  49. package/dist/components/general/styleguide.js +6 -0
  50. package/dist/components/general/tab.js +12 -0
  51. package/dist/components/general/table.js +12 -0
  52. package/dist/components/general/tiles.js +32 -1
  53. package/dist/components/general/timeline.js +22 -0
  54. package/dist/components/integrations/calendly.js +10 -0
  55. package/dist/components/integrations/cloudinary.js +16 -0
  56. package/dist/components/integrations/contentful.delivery.js +84 -0
  57. package/dist/components/integrations/contentful.items.components.js +46 -0
  58. package/dist/components/integrations/flickr.js +34 -0
  59. package/dist/components/integrations/google.reviews.components.js +14 -0
  60. package/dist/components/integrations/googleanalytics.js +14 -0
  61. package/dist/components/integrations/googlemap.js +20 -0
  62. package/dist/components/integrations/googlesearch.js +6 -0
  63. package/dist/components/integrations/gravatar.components.js +59 -0
  64. package/dist/components/integrations/hubspot.components.js +30 -0
  65. package/dist/components/integrations/instagram.components.js +18 -0
  66. package/dist/components/integrations/lipsum.js +45 -0
  67. package/dist/components/integrations/loremipsum.js +13 -1
  68. package/dist/components/integrations/socialcard.js +20 -1
  69. package/dist/components/integrations/wordpress.components.js +40 -0
  70. package/dist/components/integrations/wordpress.functions.js +24 -0
  71. package/dist/components/integrations/yelp.js +8 -0
  72. package/dist/components/shoppingcart/ebay.components.js +70 -0
  73. package/dist/components/shoppingcart/ebay.functions.js +52 -0
  74. package/dist/components/shoppingcart/shoppingcart.components.js +89 -0
  75. package/dist/components/sitebuilder/config/CompoundFontSelector.js +32 -0
  76. package/dist/components/sitebuilder/config/ConfigBuilder.js +8 -0
  77. package/dist/components/sitebuilder/config/FontSelector.js +40 -0
  78. package/dist/components/sitebuilder/form/formbuilder.js +10 -1
  79. package/dist/components/sitebuilder/form/formcomponents.js +325 -6
  80. package/dist/components/sitebuilder/form/formengine.js +35 -1
  81. package/dist/components/sitebuilder/form/formextractor.js +33 -1
  82. package/dist/components/sitebuilder/form/formutils.js +0 -4
  83. package/dist/components/sitebuilder/form/formvalidator.js +6 -0
  84. package/dist/components/sitebuilder/page/components/ComponentPropertiesForm.js +8 -0
  85. package/dist/components/sitebuilder/page/components/ComponentSelector.js +10 -0
  86. package/dist/components/sitebuilder/page/components/ComponentTree.js +20 -0
  87. package/dist/components/sitebuilder/page/components/PageBuilderUI.js +6 -0
  88. package/dist/components/sitebuilder/page/components/PageEngine.js +20 -0
  89. package/dist/components/sitebuilder/page/components/SaveLoadSection.js +10 -0
  90. package/dist/config/pixelated.config.json.enc +1 -1
  91. package/dist/index.js +1 -0
  92. package/dist/index.server.js +1 -0
  93. package/dist/scripts/pixelated-eslint-plugin.js +56 -0
  94. package/dist/scripts/release.sh +12 -21
  95. package/dist/types/components/admin/site-health/site-health-accessibility.d.ts +1 -0
  96. package/dist/types/components/admin/site-health/site-health-accessibility.d.ts.map +1 -1
  97. package/dist/types/components/admin/site-health/site-health-axe-core.d.ts +1 -0
  98. package/dist/types/components/admin/site-health/site-health-axe-core.d.ts.map +1 -1
  99. package/dist/types/components/admin/site-health/site-health-cloudwatch.d.ts +3 -0
  100. package/dist/types/components/admin/site-health/site-health-cloudwatch.d.ts.map +1 -1
  101. package/dist/types/components/admin/site-health/site-health-dependency-vulnerabilities.d.ts +1 -0
  102. package/dist/types/components/admin/site-health/site-health-dependency-vulnerabilities.d.ts.map +1 -1
  103. package/dist/types/components/admin/site-health/site-health-github.d.ts +3 -0
  104. package/dist/types/components/admin/site-health/site-health-github.d.ts.map +1 -1
  105. package/dist/types/components/admin/site-health/site-health-google-analytics.d.ts +3 -0
  106. package/dist/types/components/admin/site-health/site-health-google-analytics.d.ts.map +1 -1
  107. package/dist/types/components/admin/site-health/site-health-google-search-console.d.ts +3 -0
  108. package/dist/types/components/admin/site-health/site-health-google-search-console.d.ts.map +1 -1
  109. package/dist/types/components/admin/site-health/site-health-mock-context.d.ts +8 -0
  110. package/dist/types/components/admin/site-health/site-health-mock-context.d.ts.map +1 -1
  111. package/dist/types/components/admin/site-health/site-health-on-site-seo.d.ts +1 -0
  112. package/dist/types/components/admin/site-health/site-health-on-site-seo.d.ts.map +1 -1
  113. package/dist/types/components/admin/site-health/site-health-overview.d.ts +1 -0
  114. package/dist/types/components/admin/site-health/site-health-overview.d.ts.map +1 -1
  115. package/dist/types/components/admin/site-health/site-health-performance.d.ts +1 -0
  116. package/dist/types/components/admin/site-health/site-health-performance.d.ts.map +1 -1
  117. package/dist/types/components/admin/site-health/site-health-security.d.ts +1 -0
  118. package/dist/types/components/admin/site-health/site-health-security.d.ts.map +1 -1
  119. package/dist/types/components/admin/site-health/site-health-seo.d.ts +1 -0
  120. package/dist/types/components/admin/site-health/site-health-seo.d.ts.map +1 -1
  121. package/dist/types/components/admin/site-health/site-health-template.d.ts +12 -0
  122. package/dist/types/components/admin/site-health/site-health-template.d.ts.map +1 -1
  123. package/dist/types/components/admin/site-health/site-health-uptime.d.ts +1 -0
  124. package/dist/types/components/admin/site-health/site-health-uptime.d.ts.map +1 -1
  125. package/dist/types/components/config/config.server.d.ts +2 -0
  126. package/dist/types/components/config/config.server.d.ts.map +1 -1
  127. package/dist/types/components/general/404.d.ts +1 -0
  128. package/dist/types/components/general/404.d.ts.map +1 -1
  129. package/dist/types/components/general/accordion.d.ts +2 -0
  130. package/dist/types/components/general/accordion.d.ts.map +1 -1
  131. package/dist/types/components/general/buzzwordbingo.d.ts +3 -0
  132. package/dist/types/components/general/buzzwordbingo.d.ts.map +1 -1
  133. package/dist/types/components/general/callout.d.ts +24 -0
  134. package/dist/types/components/general/callout.d.ts.map +1 -1
  135. package/dist/types/components/general/carousel.d.ts +13 -0
  136. package/dist/types/components/general/carousel.d.ts.map +1 -1
  137. package/dist/types/components/general/carousel.drag.d.ts +4 -0
  138. package/dist/types/components/general/carousel.drag.d.ts.map +1 -1
  139. package/dist/types/components/general/faq-accordion.d.ts +5 -0
  140. package/dist/types/components/general/faq-accordion.d.ts.map +1 -1
  141. package/dist/types/components/general/global-error.d.ts +4 -0
  142. package/dist/types/components/general/global-error.d.ts.map +1 -1
  143. package/dist/types/components/general/hero.d.ts +4 -0
  144. package/dist/types/components/general/hero.d.ts.map +1 -1
  145. package/dist/types/components/general/loading.d.ts +1 -0
  146. package/dist/types/components/general/loading.d.ts.map +1 -1
  147. package/dist/types/components/general/markdown.d.ts +1 -0
  148. package/dist/types/components/general/markdown.d.ts.map +1 -1
  149. package/dist/types/components/general/menu-accordion.d.ts +7 -0
  150. package/dist/types/components/general/menu-accordion.d.ts.map +1 -1
  151. package/dist/types/components/general/menu-expando.d.ts +6 -0
  152. package/dist/types/components/general/menu-expando.d.ts.map +1 -1
  153. package/dist/types/components/general/menu-simple.d.ts +6 -0
  154. package/dist/types/components/general/menu-simple.d.ts.map +1 -1
  155. package/dist/types/components/general/metadata.components.d.ts +3 -0
  156. package/dist/types/components/general/metadata.components.d.ts.map +1 -1
  157. package/dist/types/components/general/microinteractions.d.ts +9 -0
  158. package/dist/types/components/general/microinteractions.d.ts.map +1 -1
  159. package/dist/types/components/general/modal.d.ts +4 -0
  160. package/dist/types/components/general/modal.d.ts.map +1 -1
  161. package/dist/types/components/general/nerdjoke.d.ts +2 -0
  162. package/dist/types/components/general/nerdjoke.d.ts.map +1 -1
  163. package/dist/types/components/general/proxy-handler.d.ts +7 -7
  164. package/dist/types/components/general/proxy-handler.d.ts.map +1 -1
  165. package/dist/types/components/general/recipe.d.ts +13 -0
  166. package/dist/types/components/general/recipe.d.ts.map +1 -1
  167. package/dist/types/components/general/resume.d.ts +21 -0
  168. package/dist/types/components/general/resume.d.ts.map +1 -1
  169. package/dist/types/components/general/schema-blogposting.d.ts +1 -0
  170. package/dist/types/components/general/schema-blogposting.d.ts.map +1 -1
  171. package/dist/types/components/general/schema-localbusiness.d.ts +16 -0
  172. package/dist/types/components/general/schema-localbusiness.d.ts.map +1 -1
  173. package/dist/types/components/general/schema-recipe.d.ts +1 -0
  174. package/dist/types/components/general/schema-recipe.d.ts.map +1 -1
  175. package/dist/types/components/general/semantic.d.ts +67 -0
  176. package/dist/types/components/general/semantic.d.ts.map +1 -1
  177. package/dist/types/components/general/sidepanel.d.ts +11 -0
  178. package/dist/types/components/general/sidepanel.d.ts.map +1 -1
  179. package/dist/types/components/general/sitemap.d.ts +19 -0
  180. package/dist/types/components/general/sitemap.d.ts.map +1 -1
  181. package/dist/types/components/general/skeleton-loading.d.ts +3 -6
  182. package/dist/types/components/general/skeleton-loading.d.ts.map +1 -1
  183. package/dist/types/components/general/skeleton.d.ts +5 -0
  184. package/dist/types/components/general/skeleton.d.ts.map +1 -1
  185. package/dist/types/components/general/smartimage.d.ts +22 -0
  186. package/dist/types/components/general/smartimage.d.ts.map +1 -1
  187. package/dist/types/components/general/splitscroll.d.ts +18 -40
  188. package/dist/types/components/general/splitscroll.d.ts.map +1 -1
  189. package/dist/types/components/general/styleguide.d.ts +1 -0
  190. package/dist/types/components/general/styleguide.d.ts.map +1 -1
  191. package/dist/types/components/general/tab.d.ts +4 -0
  192. package/dist/types/components/general/tab.d.ts.map +1 -1
  193. package/dist/types/components/general/table.d.ts +4 -0
  194. package/dist/types/components/general/table.d.ts.map +1 -1
  195. package/dist/types/components/general/tiles.d.ts +12 -1
  196. package/dist/types/components/general/tiles.d.ts.map +1 -1
  197. package/dist/types/components/general/timeline.d.ts +5 -0
  198. package/dist/types/components/general/timeline.d.ts.map +1 -1
  199. package/dist/types/components/integrations/calendly.d.ts +3 -0
  200. package/dist/types/components/integrations/calendly.d.ts.map +1 -1
  201. package/dist/types/components/integrations/cloudinary.d.ts +4 -0
  202. package/dist/types/components/integrations/cloudinary.d.ts.map +1 -1
  203. package/dist/types/components/integrations/contentful.delivery.d.ts +22 -0
  204. package/dist/types/components/integrations/contentful.delivery.d.ts.map +1 -1
  205. package/dist/types/components/integrations/contentful.items.components.d.ts +10 -0
  206. package/dist/types/components/integrations/contentful.items.components.d.ts.map +1 -1
  207. package/dist/types/components/integrations/flickr.d.ts +11 -0
  208. package/dist/types/components/integrations/flickr.d.ts.map +1 -1
  209. package/dist/types/components/integrations/google.reviews.components.d.ts +5 -0
  210. package/dist/types/components/integrations/google.reviews.components.d.ts.map +1 -1
  211. package/dist/types/components/integrations/googleanalytics.d.ts +3 -0
  212. package/dist/types/components/integrations/googleanalytics.d.ts.map +1 -1
  213. package/dist/types/components/integrations/googlemap.d.ts +8 -0
  214. package/dist/types/components/integrations/googlemap.d.ts.map +1 -1
  215. package/dist/types/components/integrations/googlesearch.d.ts +1 -0
  216. package/dist/types/components/integrations/googlesearch.d.ts.map +1 -1
  217. package/dist/types/components/integrations/gravatar.components.d.ts +35 -0
  218. package/dist/types/components/integrations/gravatar.components.d.ts.map +1 -1
  219. package/dist/types/components/integrations/hubspot.components.d.ts +9 -0
  220. package/dist/types/components/integrations/hubspot.components.d.ts.map +1 -1
  221. package/dist/types/components/integrations/instagram.components.d.ts +7 -0
  222. package/dist/types/components/integrations/instagram.components.d.ts.map +1 -1
  223. package/dist/types/components/integrations/lipsum.d.ts +14 -0
  224. package/dist/types/components/integrations/lipsum.d.ts.map +1 -0
  225. package/dist/types/components/integrations/loremipsum.d.ts +4 -0
  226. package/dist/types/components/integrations/loremipsum.d.ts.map +1 -1
  227. package/dist/types/components/integrations/socialcard.d.ts +4 -0
  228. package/dist/types/components/integrations/socialcard.d.ts.map +1 -1
  229. package/dist/types/components/integrations/wordpress.components.d.ts +14 -0
  230. package/dist/types/components/integrations/wordpress.components.d.ts.map +1 -1
  231. package/dist/types/components/integrations/wordpress.functions.d.ts +6 -0
  232. package/dist/types/components/integrations/wordpress.functions.d.ts.map +1 -1
  233. package/dist/types/components/integrations/yelp.d.ts +2 -0
  234. package/dist/types/components/integrations/yelp.d.ts.map +1 -1
  235. package/dist/types/components/shoppingcart/ebay.components.d.ts +15 -0
  236. package/dist/types/components/shoppingcart/ebay.components.d.ts.map +1 -1
  237. package/dist/types/components/shoppingcart/ebay.functions.d.ts +12 -0
  238. package/dist/types/components/shoppingcart/ebay.functions.d.ts.map +1 -1
  239. package/dist/types/components/shoppingcart/shoppingcart.components.d.ts +30 -0
  240. package/dist/types/components/shoppingcart/shoppingcart.components.d.ts.map +1 -1
  241. package/dist/types/components/sitebuilder/config/CompoundFontSelector.d.ts +12 -0
  242. package/dist/types/components/sitebuilder/config/CompoundFontSelector.d.ts.map +1 -1
  243. package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts +2 -0
  244. package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts.map +1 -1
  245. package/dist/types/components/sitebuilder/config/FontSelector.d.ts +16 -0
  246. package/dist/types/components/sitebuilder/config/FontSelector.d.ts.map +1 -1
  247. package/dist/types/components/sitebuilder/form/formbuilder.d.ts +5 -1
  248. package/dist/types/components/sitebuilder/form/formbuilder.d.ts.map +1 -1
  249. package/dist/types/components/sitebuilder/form/formcomponents.d.ts +129 -0
  250. package/dist/types/components/sitebuilder/form/formcomponents.d.ts.map +1 -1
  251. package/dist/types/components/sitebuilder/form/formengine.d.ts +5 -0
  252. package/dist/types/components/sitebuilder/form/formengine.d.ts.map +1 -1
  253. package/dist/types/components/sitebuilder/form/formextractor.d.ts +6 -0
  254. package/dist/types/components/sitebuilder/form/formextractor.d.ts.map +1 -1
  255. package/dist/types/components/sitebuilder/form/formutils.d.ts +0 -2
  256. package/dist/types/components/sitebuilder/form/formutils.d.ts.map +1 -1
  257. package/dist/types/components/sitebuilder/form/formvalidator.d.ts +1 -0
  258. package/dist/types/components/sitebuilder/form/formvalidator.d.ts.map +1 -1
  259. package/dist/types/components/sitebuilder/page/components/ComponentPropertiesForm.d.ts +2 -0
  260. package/dist/types/components/sitebuilder/page/components/ComponentPropertiesForm.d.ts.map +1 -1
  261. package/dist/types/components/sitebuilder/page/components/ComponentSelector.d.ts +3 -0
  262. package/dist/types/components/sitebuilder/page/components/ComponentSelector.d.ts.map +1 -1
  263. package/dist/types/components/sitebuilder/page/components/ComponentTree.d.ts +8 -0
  264. package/dist/types/components/sitebuilder/page/components/ComponentTree.d.ts.map +1 -1
  265. package/dist/types/components/sitebuilder/page/components/PageBuilderUI.d.ts +1 -0
  266. package/dist/types/components/sitebuilder/page/components/PageBuilderUI.d.ts.map +1 -1
  267. package/dist/types/components/sitebuilder/page/components/PageEngine.d.ts +8 -0
  268. package/dist/types/components/sitebuilder/page/components/PageEngine.d.ts.map +1 -1
  269. package/dist/types/components/sitebuilder/page/components/SaveLoadSection.d.ts +3 -0
  270. package/dist/types/components/sitebuilder/page/components/SaveLoadSection.d.ts.map +1 -1
  271. package/dist/types/index.d.ts +1 -0
  272. package/dist/types/index.server.d.ts +1 -0
  273. package/dist/types/scripts/pixelated-eslint-plugin.d.ts +18 -0
  274. package/dist/types/stories/general/skeleton-loading.stories.d.ts +1 -1
  275. package/dist/types/stories/general/skeleton-loading.stories.d.ts.map +1 -1
  276. package/dist/types/stories/integrations/lipsum.stories.d.ts +38 -0
  277. package/dist/types/stories/integrations/lipsum.stories.d.ts.map +1 -0
  278. package/dist/types/stories/shoppingcart/shoppingcart.stories.d.ts +3 -1
  279. package/dist/types/stories/shoppingcart/shoppingcart.stories.d.ts.map +1 -1
  280. package/dist/types/tests/args.test.d.ts +2 -0
  281. package/dist/types/tests/args.test.d.ts.map +1 -0
  282. package/dist/types/tests/lipsum.test.d.ts +2 -0
  283. package/dist/types/tests/lipsum.test.d.ts.map +1 -0
  284. package/dist/types/tests/storybook-docgen.test.d.ts +2 -0
  285. package/dist/types/tests/storybook-docgen.test.d.ts.map +1 -0
  286. package/package.json +12 -9
@@ -5,6 +5,7 @@ export type ShoppingCartType = InferProps<typeof ShoppingCart.propTypes>;
5
5
  export declare function ShoppingCart(props: ShoppingCartType): import("react/jsx-runtime").JSX.Element;
6
6
  export declare namespace ShoppingCart {
7
7
  var propTypes: {
8
+ /** Optional PayPal client ID to enable PayPal checkout */
8
9
  payPalClientID: PropTypes.Requireable<string>;
9
10
  };
10
11
  }
@@ -12,12 +13,19 @@ export type ShoppingCartItemType = InferProps<typeof ShoppingCartItem.propTypes>
12
13
  export declare function ShoppingCartItem(props: ShoppingCartItemType): import("react/jsx-runtime").JSX.Element;
13
14
  export declare namespace ShoppingCartItem {
14
15
  var propTypes: {
16
+ /** Shopping cart line item object */
15
17
  item: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
18
+ /** Unique item id */
16
19
  itemID: PropTypes.Validator<string>;
20
+ /** Optional URL for the item details */
17
21
  itemURL: PropTypes.Requireable<string>;
22
+ /** Item display title */
18
23
  itemTitle: PropTypes.Validator<string>;
24
+ /** Thumbnail image URL */
19
25
  itemImageURL: PropTypes.Requireable<string>;
26
+ /** Line item quantity */
20
27
  itemQuantity: PropTypes.Validator<number>;
28
+ /** Per-item price */
21
29
  itemCost: PropTypes.Validator<number>;
22
30
  }>>>;
23
31
  };
@@ -26,14 +34,22 @@ export type CheckoutItemsType = InferProps<typeof CheckoutItems.propTypes>;
26
34
  export declare function CheckoutItems(props: CheckoutItemsType): import("react/jsx-runtime").JSX.Element;
27
35
  export declare namespace CheckoutItems {
28
36
  var propTypes: {
37
+ /** Array of cart items to summarize */
29
38
  items: PropTypes.Validator<(PropTypes.InferProps<{
39
+ /** Item identifier */
30
40
  itemID: PropTypes.Validator<string>;
41
+ /** Item detail URL (optional) */
31
42
  itemURL: PropTypes.Requireable<string>;
43
+ /** Item title */
32
44
  itemTitle: PropTypes.Validator<string>;
45
+ /** Item image URL */
33
46
  itemImageURL: PropTypes.Requireable<string>;
47
+ /** Quantity for this item */
34
48
  itemQuantity: PropTypes.Validator<number>;
49
+ /** Per-item price */
35
50
  itemCost: PropTypes.Validator<number>;
36
51
  }> | null | undefined)[]>;
52
+ /** Shipping address object */
37
53
  shippingTo: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
38
54
  name: PropTypes.Validator<string>;
39
55
  street1: PropTypes.Validator<string>;
@@ -41,11 +57,17 @@ export declare namespace CheckoutItems {
41
57
  state: PropTypes.Validator<string>;
42
58
  zip: PropTypes.Validator<string>;
43
59
  }>>>;
60
+ /** Discount amount applied to subtotal */
44
61
  subtotal_discount: PropTypes.Validator<number>;
62
+ /** Subtotal amount before shipping and taxes */
45
63
  subtotal: PropTypes.Validator<number>;
64
+ /** Shipping cost for the order */
46
65
  shippingCost: PropTypes.Validator<number>;
66
+ /** Handling fee applied to the order */
47
67
  handlingFee: PropTypes.Validator<number>;
68
+ /** Sales tax amount */
48
69
  salesTax: PropTypes.Validator<number>;
70
+ /** Final total amount */
49
71
  total: PropTypes.Validator<number>;
50
72
  };
51
73
  }
@@ -53,6 +75,7 @@ export type CartButtonType = InferProps<typeof CartButton.propTypes>;
53
75
  export declare function CartButton(props: CartButtonType): import("react/jsx-runtime").JSX.Element;
54
76
  export declare namespace CartButton {
55
77
  var propTypes: {
78
+ /** Destination URL for viewing the shopping cart */
56
79
  href: PropTypes.Validator<string>;
57
80
  };
58
81
  }
@@ -60,7 +83,9 @@ export type ViewItemDetailsType = InferProps<typeof ViewItemDetails.propTypes>;
60
83
  export declare function ViewItemDetails(props: ViewItemDetailsType): import("react/jsx-runtime").JSX.Element;
61
84
  export declare namespace ViewItemDetails {
62
85
  var propTypes: {
86
+ /** Base URL for item details */
63
87
  href: PropTypes.Validator<string>;
88
+ /** Item identifier to navigate to */
64
89
  itemID: PropTypes.Validator<string>;
65
90
  };
66
91
  }
@@ -68,8 +93,11 @@ export type AddToCartButtonType = InferProps<typeof AddToCartButton.propTypes>;
68
93
  export declare function AddToCartButton(props: AddToCartButtonType): import("react/jsx-runtime").JSX.Element;
69
94
  export declare namespace AddToCartButton {
70
95
  var propTypes: {
96
+ /** Handler called to add the item to cart */
71
97
  handler: PropTypes.Validator<(...args: any[]) => any>;
98
+ /** Shopping cart item object */
72
99
  item: PropTypes.Validator<object>;
100
+ /** Unique item identifier */
73
101
  itemID: PropTypes.Validator<string>;
74
102
  };
75
103
  }
@@ -77,7 +105,9 @@ export type GoToCartButtonType = InferProps<typeof GoToCartButton.propTypes>;
77
105
  export declare function GoToCartButton(props: GoToCartButtonType): import("react/jsx-runtime").JSX.Element;
78
106
  export declare namespace GoToCartButton {
79
107
  var propTypes: {
108
+ /** Cart page URL */
80
109
  href: PropTypes.Validator<string>;
110
+ /** Item ID used for button id attributes */
81
111
  itemID: PropTypes.Validator<string>;
82
112
  };
83
113
  }
@@ -1 +1 @@
1
- {"version":3,"file":"shoppingcart.components.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.components.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAMnD,OAAO,8BAA8B,CAAC;AAStC,OAAO,oBAAoB,CAAC;AAa5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAE,KAAK,EAAE,gBAAgB,2CA2LpD;yBA3Le,YAAY;;;;;AAwM5B,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,SAAS,CAAC,CAAC;AACjF,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,2CAmD3D;yBAnDe,gBAAgB;;;;;;;;;;;;AA8EhC,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAoDrD;yBApDe,aAAa;;;;;;;;;;;;;;;;;;;;;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,18 +4,30 @@ export type CompoundFontSelectorType = InferProps<typeof CompoundFontSelector.pr
4
4
  export declare function CompoundFontSelector(props: CompoundFontSelectorType): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace CompoundFontSelector {
6
6
  var propTypes: {
7
+ /** Base id for internal inputs */
7
8
  id: PropTypes.Validator<string>;
9
+ /** Base name for internal inputs */
8
10
  name: PropTypes.Validator<string>;
11
+ /** Display label for the control */
9
12
  label: PropTypes.Validator<string>;
13
+ /** Required flag for the primary font */
10
14
  required: PropTypes.Requireable<boolean>;
15
+ /** Combined font stack value */
11
16
  value: PropTypes.Requireable<string>;
17
+ /** onChange callback receiving combined font string */
12
18
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
13
19
  } | {
20
+ /** Base id for internal inputs */
14
21
  id: PropTypes.Validator<string>;
22
+ /** Base name for internal inputs */
15
23
  name: PropTypes.Validator<string>;
24
+ /** Display label for the control */
16
25
  label: PropTypes.Validator<string>;
26
+ /** Required flag for the primary font */
17
27
  required: PropTypes.Requireable<boolean>;
28
+ /** Combined font stack value */
18
29
  value: PropTypes.Requireable<string>;
30
+ /** onChange callback receiving combined font string */
19
31
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
20
32
  };
21
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CompoundFontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/CompoundFontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,4BAA4B,CAAC;AAUpC,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB,2CAqEnE;yBArEe,oBAAoB"}
1
+ {"version":3,"file":"CompoundFontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/CompoundFontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,4BAA4B,CAAC;AA0BpC,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,wBAAwB,2CAqEnE;yBArEe,oBAAoB;;QAdpC,kCAAkC;;QAEjC,oCAAoC;;QAEpC,oCAAoC;;QAEpC,yCAAyC;;QAEzC,gCAAgC;;QAEhC,uDAAuD;;;QAsFxD,kCAAkC;;QAEjC,oCAAoC;;QAEpC,oCAAoC;;QAEpC,yCAAyC;;QAEzC,gCAAgC;;QAEhC,uDAAuD"}
@@ -192,6 +192,7 @@ export type ConfigBuilderType = InferProps<typeof ConfigBuilder.propTypes>;
192
192
  export declare function ConfigBuilder(props: ConfigBuilderType): import("react/jsx-runtime").JSX.Element;
193
193
  export declare namespace ConfigBuilder {
194
194
  var propTypes: {
195
+ /** Initial site configuration to edit */
195
196
  initialConfig: PropTypes.Requireable<PropTypes.InferProps<{
196
197
  siteInfo: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
197
198
  name: PropTypes.Validator<string>;
@@ -379,6 +380,7 @@ export declare namespace ConfigBuilder {
379
380
  }>>>;
380
381
  }>>>;
381
382
  }>>;
383
+ /** Save callback to persist config changes */
382
384
  onSave: PropTypes.Requireable<(...args: any[]) => any>;
383
385
  };
384
386
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/ConfigBuilder.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAanD,OAAO,qBAAqB,CAAC;AAM7B,QAAA,MAAM,cAAc;;;;;;;CAOnB,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE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1B,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAuBxE,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAgwBrD;yBAhwBe,aAAa;;QAN7B,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAExC,8CAA8C"}
@@ -4,22 +4,38 @@ export type FontSelectorType = InferProps<typeof FontSelector.propTypes>;
4
4
  export declare function FontSelector(props: FontSelectorType): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace FontSelector {
6
6
  var propTypes: {
7
+ /** Input id attribute */
7
8
  id: PropTypes.Validator<string>;
9
+ /** Input name attribute */
8
10
  name: PropTypes.Validator<string>;
11
+ /** Display label */
9
12
  label: PropTypes.Validator<string>;
13
+ /** Font source type */
10
14
  fontType: PropTypes.Validator<string>;
15
+ /** Required flag */
11
16
  required: PropTypes.Requireable<boolean>;
17
+ /** Placeholder text */
12
18
  placeholder: PropTypes.Requireable<string>;
19
+ /** Selected font value */
13
20
  value: PropTypes.Requireable<string>;
21
+ /** Change handler receives new font value */
14
22
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
15
23
  } | {
24
+ /** Input id attribute */
16
25
  id: PropTypes.Validator<string>;
26
+ /** Input name attribute */
17
27
  name: PropTypes.Validator<string>;
28
+ /** Display label */
18
29
  label: PropTypes.Validator<string>;
30
+ /** Font source type */
19
31
  fontType: PropTypes.Validator<string>;
32
+ /** Required flag */
20
33
  required: PropTypes.Requireable<boolean>;
34
+ /** Placeholder text */
21
35
  placeholder: PropTypes.Requireable<string>;
36
+ /** Selected font value */
22
37
  value: PropTypes.Requireable<string>;
38
+ /** Change handler receives new font value */
23
39
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
24
40
  };
25
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/FontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,oBAAoB,CAAC;AAuB5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAsInD;yBAtIe,YAAY"}
1
+ {"version":3,"file":"FontSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/config/FontSelector.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,oBAAoB,CAAC;AA2C5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAsInD;yBAtIe,YAAY;;QAlB5B,yBAAyB;;QAExB,2BAA2B;;QAE3B,oBAAoB;;QAEpB,uBAAuB;;QAEvB,oBAAoB;;QAEpB,uBAAuB;;QAEvB,0BAA0B;;QAE1B,6CAA6C;;;QAyJ9C,yBAAyB;;QAExB,2BAA2B;;QAE3B,oBAAoB;;QAEpB,uBAAuB;;QAEvB,oBAAoB;;QAEpB,uBAAuB;;QAEvB,0BAA0B;;QAE1B,6CAA6C"}
@@ -3,12 +3,16 @@ import PropTypes, { InferProps } from 'prop-types';
3
3
  export type FormBuilderType = InferProps<typeof FormBuilder.propTypes>;
4
4
  export declare function FormBuilder(): JSX.Element;
5
5
  export declare namespace FormBuilder {
6
- var propTypes: {};
6
+ var propTypes: {
7
+ /** Callback invoked with generated form JSON */
8
+ setFormData: PropTypes.Requireable<(...args: any[]) => any>;
9
+ };
7
10
  }
8
11
  export type FormBuildType = InferProps<typeof FormBuild.propTypes>;
9
12
  export declare function FormBuild(props: FormBuildType): import("react/jsx-runtime").JSX.Element;
10
13
  export declare namespace FormBuild {
11
14
  var propTypes: {
15
+ /** Callback used to set the generated field JSON in the parent */
12
16
  setFormData: PropTypes.Validator<(...args: any[]) => any>;
13
17
  };
14
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"formbuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formbuilder.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAY,GAAG,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAWnD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,wBAAgB,WAAW,IAAI,GAAG,CAAC,OAAO,CA4DzC;yBA5De,WAAW;;;AAyE3B,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CA0D7C;yBA1De,SAAS"}
1
+ {"version":3,"file":"formbuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formbuilder.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAY,GAAG,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAmBnD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,wBAAgB,WAAW,IAAI,GAAG,CAAC,OAAO,CA4DzC;yBA5De,WAAW;;QAJ1B,gDAAgD;;;;AA8EjD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,2CA0D7C;yBA1De,SAAS;;QAJzB,kEAAkE"}
@@ -4,9 +4,13 @@ export type FormLabelType = InferProps<typeof FormLabel.propTypes>;
4
4
  declare function FormLabel(props: FormLabelType): import("react/jsx-runtime").JSX.Element;
5
5
  declare namespace FormLabel {
6
6
  var propTypes: {
7
+ /** ID of the control associated with this label */
7
8
  id: PropTypes.Validator<string>;
9
+ /** Label text to display */
8
10
  label: PropTypes.Requireable<string>;
11
+ /** Optional tooltip text */
9
12
  tooltip: PropTypes.Requireable<string>;
13
+ /** Additional CSS class names */
10
14
  className: PropTypes.Requireable<string>;
11
15
  };
12
16
  var defaultProps: {
@@ -19,9 +23,13 @@ export type FormTooltipType = InferProps<typeof FormTooltip.propTypes>;
19
23
  declare function FormTooltip(props: FormTooltipType): import("react/jsx-runtime").JSX.Element | null;
20
24
  declare namespace FormTooltip {
21
25
  var propTypes: {
26
+ /** Associated control id */
22
27
  id: PropTypes.Requireable<string>;
28
+ /** Text lines to display in the tooltip */
23
29
  text: PropTypes.Validator<(string | null | undefined)[]>;
30
+ /** Additional CSS class names */
24
31
  className: PropTypes.Requireable<string>;
32
+ /** Tooltip mode */
25
33
  mode: PropTypes.Requireable<string>;
26
34
  };
27
35
  var defaultProps: {
@@ -33,33 +41,59 @@ export type FormInputType = InferProps<typeof FormInput.propTypes>;
33
41
  export declare function FormInput(props: FormInputType): import("react/jsx-runtime").JSX.Element;
34
42
  export declare namespace FormInput {
35
43
  var propTypes: {
44
+ /** Input type (text, number, email, etc.) */
36
45
  type: PropTypes.Requireable<string>;
46
+ /** Input id attribute */
37
47
  id: PropTypes.Validator<string>;
48
+ /** Input name attribute */
38
49
  name: PropTypes.Requireable<string>;
50
+ /** Default value for uncontrolled inputs */
39
51
  defaultValue: PropTypes.Requireable<string>;
52
+ /** Controlled value */
40
53
  value: PropTypes.Requireable<string>;
54
+ /** Associated datalist id */
41
55
  list: PropTypes.Requireable<string>;
56
+ /** Comma-separated datalist items */
42
57
  listItems: PropTypes.Requireable<string>;
58
+ /** Input size attribute */
43
59
  size: PropTypes.Requireable<string>;
60
+ /** Maximum allowed characters */
44
61
  maxLength: PropTypes.Requireable<string>;
62
+ /** Placeholder text */
45
63
  placeholder: PropTypes.Requireable<string>;
64
+ /** Autocomplete hint */
46
65
  autoComplete: PropTypes.Requireable<string>;
66
+ /** Tab ordering index */
47
67
  tabIndex: PropTypes.Requireable<number>;
68
+ /** Inline style object */
48
69
  style: PropTypes.Requireable<object>;
49
70
  "aria-label": PropTypes.Requireable<string>;
50
71
  "aria-hidden": PropTypes.Requireable<string>;
72
+ /** Minimum value for numeric/date inputs */
51
73
  min: PropTypes.Requireable<string>;
74
+ /** Maximum value for numeric/date inputs */
52
75
  max: PropTypes.Requireable<string>;
76
+ /** Step increment for numeric inputs */
53
77
  step: PropTypes.Requireable<string>;
78
+ /** Autofocus flag */
54
79
  autoFocus: PropTypes.Requireable<string>;
80
+ /** Disabled flag */
55
81
  disabled: PropTypes.Requireable<string>;
82
+ /** Read-only flag */
56
83
  readOnly: PropTypes.Requireable<string>;
84
+ /** Whether this field is required (use 'required' to mark mandatory) */
57
85
  required: PropTypes.Requireable<string>;
86
+ /** Layout hint; use 'vertical' to stack label and control */
58
87
  display: PropTypes.Requireable<string>;
88
+ /** Text label associated with the control */
59
89
  label: PropTypes.Requireable<string>;
90
+ /** Helper text shown in a tooltip for the control */
60
91
  tooltip: PropTypes.Requireable<string>;
92
+ /** Additional CSS classes applied to the container */
61
93
  className: PropTypes.Requireable<string>;
94
+ /** Name of the validation rule to run for this field */
62
95
  validate: PropTypes.Requireable<string>;
96
+ /** Change handler invoked with the new value */
63
97
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
64
98
  };
65
99
  }
@@ -67,22 +101,39 @@ export type FormSelectType = InferProps<typeof FormSelect.propTypes>;
67
101
  export declare function FormSelect(props: FormSelectType): import("react/jsx-runtime").JSX.Element;
68
102
  export declare namespace FormSelect {
69
103
  var propTypes: {
104
+ /** Input id */
70
105
  id: PropTypes.Validator<string>;
106
+ /** Input name */
71
107
  name: PropTypes.Requireable<string>;
108
+ /** Visual size for select */
72
109
  size: PropTypes.Requireable<string>;
110
+ /** Autocomplete hint */
73
111
  autoComplete: PropTypes.Requireable<string>;
112
+ /** Default selected value (or array for multi-select) */
74
113
  defaultValue: PropTypes.Requireable<NonNullable<string | any[] | null | undefined>>;
114
+ /** Autofocus flag */
75
115
  autoFocus: PropTypes.Requireable<string>;
116
+ /** Disabled flag */
76
117
  disabled: PropTypes.Requireable<string>;
118
+ /** Multiple selection flag */
77
119
  multiple: PropTypes.Requireable<string>;
120
+ /** Read-only flag */
78
121
  readOnly: PropTypes.Requireable<string>;
122
+ /** Required flag */
79
123
  required: PropTypes.Requireable<string>;
124
+ /** Option list array */
80
125
  options: PropTypes.Requireable<any[]>;
126
+ /** Layout hint (e.g., 'vertical') */
81
127
  display: PropTypes.Requireable<string>;
128
+ /** Label text */
82
129
  label: PropTypes.Requireable<string>;
130
+ /** Helper text shown in a tooltip for the control */
83
131
  tooltip: PropTypes.Requireable<string>;
132
+ /** Additional CSS classes applied to the select container */
84
133
  className: PropTypes.Requireable<string>;
134
+ /** Name of the validation rule to run for this field */
85
135
  validate: PropTypes.Requireable<string>;
136
+ /** Change handler invoked with the new value */
86
137
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
87
138
  };
88
139
  }
@@ -90,8 +141,11 @@ export type FormSelectOptionType = InferProps<typeof FormSelectOption.propTypes>
90
141
  declare function FormSelectOption(props: FormSelectOptionType): import("react/jsx-runtime").JSX.Element;
91
142
  declare namespace FormSelectOption {
92
143
  var propTypes: {
144
+ /** Visible text for the option */
93
145
  text: PropTypes.Requireable<string>;
146
+ /** Option value attribute */
94
147
  value: PropTypes.Requireable<string>;
148
+ /** Disabled flag for the option */
95
149
  disabled: PropTypes.Requireable<boolean>;
96
150
  };
97
151
  }
@@ -99,23 +153,41 @@ export type FormTextareaType = InferProps<typeof FormTextarea.propTypes>;
99
153
  export declare function FormTextarea(props: FormTextareaType): import("react/jsx-runtime").JSX.Element;
100
154
  export declare namespace FormTextarea {
101
155
  var propTypes: {
156
+ /** Textarea id */
102
157
  id: PropTypes.Validator<string>;
158
+ /** Textarea name */
103
159
  name: PropTypes.Requireable<string>;
160
+ /** Number of rows */
104
161
  rows: PropTypes.Requireable<string>;
162
+ /** Number of columns (visual width) */
105
163
  cols: PropTypes.Requireable<string>;
164
+ /** Default uncontrolled text value */
106
165
  defaultValue: PropTypes.Requireable<string>;
166
+ /** Maximum number of characters allowed */
107
167
  maxLength: PropTypes.Requireable<number>;
168
+ /** Short hint displayed when the field is empty */
108
169
  placeholder: PropTypes.Requireable<string>;
170
+ /** Browser autocomplete hint */
109
171
  autoComplete: PropTypes.Requireable<string>;
172
+ /** If set, the control will receive focus on mount */
110
173
  autoFocus: PropTypes.Requireable<string>;
174
+ /** Set to 'disabled' to render the control disabled */
111
175
  disabled: PropTypes.Requireable<string>;
176
+ /** Set to 'readOnly' to prevent user edits */
112
177
  readOnly: PropTypes.Requireable<string>;
178
+ /** Whether this field is required ('required' to mark mandatory) */
113
179
  required: PropTypes.Requireable<string>;
180
+ /** Layout hint; use 'vertical' to stack label and control */
114
181
  display: PropTypes.Requireable<string>;
182
+ /** Text label associated with the control */
115
183
  label: PropTypes.Requireable<string>;
184
+ /** Helper text shown in a tooltip for the control */
116
185
  tooltip: PropTypes.Requireable<string>;
186
+ /** Additional CSS classes applied to the container */
117
187
  className: PropTypes.Requireable<string>;
188
+ /** Name of the validation rule to run for this field */
118
189
  validate: PropTypes.Requireable<string>;
190
+ /** Change handler invoked with the new value */
119
191
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
120
192
  };
121
193
  }
@@ -123,17 +195,29 @@ export type FormRadioType = InferProps<typeof FormRadio.propTypes>;
123
195
  export declare function FormRadio(props: FormRadioType): import("react/jsx-runtime").JSX.Element;
124
196
  export declare namespace FormRadio {
125
197
  var propTypes: {
198
+ /** Unique id for the control group */
126
199
  id: PropTypes.Validator<string>;
200
+ /** HTML name attribute shared by all radio inputs in the group */
127
201
  name: PropTypes.Validator<string>;
202
+ /** Array of option objects used to create radio options */
128
203
  options: PropTypes.Requireable<any[]>;
204
+ /** If present, the control will receive focus on mount */
129
205
  autoFocus: PropTypes.Requireable<string>;
206
+ /** Set to 'disabled' to disable the control group */
130
207
  disabled: PropTypes.Requireable<string>;
208
+ /** Read-only flag; prevent user changes when set to 'readOnly' */
131
209
  readOnly: PropTypes.Requireable<string>;
210
+ /** Set to 'required' to mark the group mandatory */
132
211
  required: PropTypes.Requireable<string>;
212
+ /** Layout hint (use 'vertical' to stack options) */
133
213
  display: PropTypes.Requireable<string>;
214
+ /** Optional label text shown above the group */
134
215
  label: PropTypes.Requireable<string>;
216
+ /** Helper text shown in a tooltip for the group */
135
217
  tooltip: PropTypes.Requireable<string>;
218
+ /** Named validation rule to apply */
136
219
  validate: PropTypes.Requireable<string>;
220
+ /** Handler invoked with the new selected value */
137
221
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
138
222
  };
139
223
  }
@@ -141,10 +225,15 @@ export type FormRadioOptionType = InferProps<typeof FormRadioOption.propTypes>;
141
225
  declare function FormRadioOption(props: FormRadioOptionType): import("react/jsx-runtime").JSX.Element;
142
226
  declare namespace FormRadioOption {
143
227
  var propTypes: {
228
+ /** HTML name attribute shared by the option */
144
229
  name: PropTypes.Requireable<string>;
230
+ /** Visible label text for the option */
145
231
  text: PropTypes.Requireable<string>;
232
+ /** Option value submitted when selected */
146
233
  value: PropTypes.Validator<string>;
234
+ /** Whether this option is currently selected */
147
235
  checked: PropTypes.Requireable<string>;
236
+ /** Reference to the parent control (used for controlled behavior) */
148
237
  parent: PropTypes.Requireable<any>;
149
238
  };
150
239
  }
@@ -152,17 +241,29 @@ export type FormCheckboxType = InferProps<typeof FormCheckbox.propTypes>;
152
241
  export declare function FormCheckbox(props: FormCheckboxType): import("react/jsx-runtime").JSX.Element;
153
242
  export declare namespace FormCheckbox {
154
243
  var propTypes: {
244
+ /** Unique id for the control group */
155
245
  id: PropTypes.Validator<string>;
246
+ /** Base name used for generated checkbox inputs */
156
247
  name: PropTypes.Validator<string>;
248
+ /** Array of option objects used to create checkbox options */
157
249
  options: PropTypes.Requireable<any[]>;
250
+ /** If present, the control will receive focus on mount */
158
251
  autoFocus: PropTypes.Requireable<string>;
252
+ /** Set to 'disabled' to disable the control group */
159
253
  disabled: PropTypes.Requireable<string>;
254
+ /** Read-only flag; prevent user changes when set to 'readOnly' */
160
255
  readOnly: PropTypes.Requireable<string>;
256
+ /** Layout hint; use 'vertical' to stack checkboxes */
161
257
  display: PropTypes.Requireable<string>;
258
+ /** Optional label text shown above the group */
162
259
  label: PropTypes.Requireable<string>;
260
+ /** Helper text shown in a tooltip for the group */
163
261
  tooltip: PropTypes.Requireable<string>;
262
+ /** Additional CSS classes applied to the container */
164
263
  className: PropTypes.Requireable<string>;
264
+ /** Named validation rule to apply to the group */
165
265
  validate: PropTypes.Requireable<string>;
266
+ /** Handler invoked with the updated selected values array */
166
267
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
167
268
  };
168
269
  }
@@ -170,9 +271,13 @@ export type FormCheckboxOptionType = InferProps<typeof FormCheckboxOption.propTy
170
271
  declare function FormCheckboxOption(props: FormCheckboxOptionType): import("react/jsx-runtime").JSX.Element;
171
272
  declare namespace FormCheckboxOption {
172
273
  var propTypes: {
274
+ /** Visible label text for the checkbox option */
173
275
  text: PropTypes.Validator<string>;
276
+ /** Value attribute for the option */
174
277
  value: PropTypes.Validator<string>;
278
+ /** Whether this option is selected (used for initial/default state) */
175
279
  selected: PropTypes.Requireable<string>;
280
+ /** Reference to the parent control (used to update values) */
176
281
  parent: PropTypes.Requireable<any>;
177
282
  };
178
283
  }
@@ -180,10 +285,15 @@ export type FormButtonType = InferProps<typeof FormButton.propTypes>;
180
285
  export declare function FormButton(props: FormButtonType): import("react/jsx-runtime").JSX.Element;
181
286
  export declare namespace FormButton {
182
287
  var propTypes: {
288
+ /** Button type: 'button' | 'submit' | 'reset' */
183
289
  type: PropTypes.Requireable<string>;
290
+ /** Unique identifier for the button element */
184
291
  id: PropTypes.Validator<string>;
292
+ /** Text displayed inside the button */
185
293
  text: PropTypes.Requireable<string>;
294
+ /** Additional CSS classes for the button */
186
295
  className: PropTypes.Requireable<string>;
296
+ /** Click handler function */
187
297
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
188
298
  };
189
299
  }
@@ -191,7 +301,9 @@ export type FormDataListType = InferProps<typeof FormDataList.propTypes>;
191
301
  export declare function FormDataList(props: FormDataListType): import("react/jsx-runtime").JSX.Element;
192
302
  export declare namespace FormDataList {
193
303
  var propTypes: {
304
+ /** Id attribute for the generated <datalist> element */
194
305
  id: PropTypes.Validator<string>;
306
+ /** Array of string items to include as options */
195
307
  items: PropTypes.Requireable<any[]>;
196
308
  };
197
309
  }
@@ -199,20 +311,35 @@ export type FormTagInputType = InferProps<typeof FormTagInput.propTypes>;
199
311
  export declare function FormTagInput(props: FormTagInputType): import("react/jsx-runtime").JSX.Element;
200
312
  export declare namespace FormTagInput {
201
313
  var propTypes: {
314
+ /** Unique id for the tag input control */
202
315
  id: PropTypes.Validator<string>;
316
+ /** Name attribute for the input element */
203
317
  name: PropTypes.Requireable<string>;
318
+ /** Initial tags for uncontrolled mode */
204
319
  defaultValue: PropTypes.Requireable<(string | null | undefined)[]>;
320
+ /** Controlled tags array when used as a controlled component */
205
321
  value: PropTypes.Requireable<(string | null | undefined)[]>;
322
+ /** Placeholder text shown when empty */
206
323
  placeholder: PropTypes.Requireable<string>;
324
+ /** Browser autocomplete hint */
207
325
  autoComplete: PropTypes.Requireable<string>;
326
+ /** Set to 'disabled' to disable input */
208
327
  disabled: PropTypes.Requireable<string>;
328
+ /** Set to 'readOnly' to prevent edits */
209
329
  readOnly: PropTypes.Requireable<string>;
330
+ /** Mark field as required when set to 'required' */
210
331
  required: PropTypes.Requireable<string>;
332
+ /** Layout hint (e.g., 'vertical' to place validation below) */
211
333
  display: PropTypes.Requireable<string>;
334
+ /** Label text for the control */
212
335
  label: PropTypes.Requireable<string>;
336
+ /** Helper text shown in a tooltip */
213
337
  tooltip: PropTypes.Requireable<string>;
338
+ /** Additional CSS classes for the component */
214
339
  className: PropTypes.Requireable<string>;
340
+ /** Named validation rule to run for this field */
215
341
  validate: PropTypes.Requireable<string>;
342
+ /** Change handler invoked with the updated tags array */
216
343
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
217
344
  };
218
345
  }
@@ -225,7 +352,9 @@ export type FormHoneypotType = InferProps<typeof FormHoneypot.propTypes>;
225
352
  export declare function FormHoneypot({ id, name }: FormHoneypotType): import("react/jsx-runtime").JSX.Element;
226
353
  export declare namespace FormHoneypot {
227
354
  var propTypes: {
355
+ /** Id for the honeypot field (defaults to 'winnie') */
228
356
  id: PropTypes.Validator<string>;
357
+ /** Name attribute for the honeypot input (defaults to 'website') */
229
358
  name: PropTypes.Requireable<string>;
230
359
  };
231
360
  }
@@ -1 +1 @@
1
- {"version":3,"file":"formcomponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formcomponents.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAMnD,OAAO,YAAY,CAAC;AAuIpB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,iBAAS,SAAS,CAAC,KAAK,EAAE,aAAa,2CAYtC;kBAZQ,SAAS;;;;;;;;;;;;;AA4BlB,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,iBAAS,WAAW,CAAC,KAAK,EAAE,eAAe,kDA2C1C;kBA3CQ,WAAW;;;;;;;;;;;;AAoFpB,MAAM,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AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CA2HnD;yBA3He,YAAY;;QAlC5B,0CAA0C;;QAEzC,2CAA2C;;QAE3C,yCAAyC;;QAEzC,gEAAgE;;QAEhE,wCAAwC;;QAExC,gCAAgC;;QAGhC,yCAAyC;;QAEzC,yCAAyC;;QAEzC,oDAAoD;;QAGpD,+DAA+D;;QAE/D,iCAAiC;;QAEjC,qCAAqC;;QAErC,+CAA+C;;QAE/C,kDAAkD;;QAElD,yDAAyD;;;;AAiJ1D,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAInD;yBAJe,YAAY;;;AAiC5B,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,EAAE,EAAa,EAAE,IAAI,EAAE,EAAE,gBAAgB,2CAcrE;yBAde,YAAY;;QAN5B,uDAAuD;;QAEtD,oEAAoE"}
@@ -5,10 +5,15 @@ export type FormEngineType = InferProps<typeof FormEngine.propTypes>;
5
5
  export declare function FormEngine(props: FormEngineType): import("react/jsx-runtime").JSX.Element;
6
6
  export declare namespace FormEngine {
7
7
  var propTypes: {
8
+ /** Form name attribute */
8
9
  name: PropTypes.Requireable<string>;
10
+ /** Form id attribute */
9
11
  id: PropTypes.Requireable<string>;
12
+ /** HTTP method (e.g., 'post') */
10
13
  method: PropTypes.Requireable<string>;
14
+ /** Submit handler called when the form is valid and submitted */
11
15
  onSubmitHandler: PropTypes.Requireable<(...args: any[]) => any>;
16
+ /** JSON schema describing form fields */
12
17
  formData: PropTypes.Validator<object>;
13
18
  };
14
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"formengine.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formengine.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AASnD,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,CAIxD,CAAC;AAeF,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAM/C;yBANe,UAAU"}
1
+ {"version":3,"file":"formengine.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formengine.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AASnD,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,WAAW,CAIxD,CAAC;AA6BF,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAM/C;yBANe,UAAU;;QAZ1B,0BAA0B;;QAEzB,wBAAwB;;QAExB,iCAAiC;;QAEjC,iEAAiE;;QAEjE,yCAAyC"}