@pixelated-tech/components 3.4.2 → 3.5.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 (235) hide show
  1. package/README.md +32 -191
  2. package/dist/components/admin/componentusage/componentAnalysis.js +12 -4
  3. package/dist/components/admin/componentusage/componentDiscovery.js +20 -6
  4. package/dist/components/admin/site-health/seo-metrics.config.json +111 -0
  5. package/dist/components/admin/site-health/site-health-accessibility.js +5 -1
  6. package/dist/components/admin/site-health/site-health-axe-core.js +4 -0
  7. package/dist/components/admin/site-health/site-health-cloudwatch.integration.js +0 -5
  8. package/dist/components/admin/site-health/site-health-cloudwatch.js +7 -1
  9. package/dist/components/admin/site-health/site-health-dependency-vulnerabilities.js +4 -0
  10. package/dist/components/admin/site-health/site-health-github.js +6 -0
  11. package/dist/components/admin/site-health/site-health-google-analytics.js +6 -0
  12. package/dist/components/admin/site-health/site-health-google-search-console.js +6 -0
  13. package/dist/components/admin/site-health/site-health-on-site-seo.integration.js +379 -12
  14. package/dist/components/admin/site-health/site-health-on-site-seo.js +4 -0
  15. package/dist/components/admin/site-health/site-health-overview.js +11 -4
  16. package/dist/components/admin/site-health/site-health-performance.js +4 -0
  17. package/dist/components/admin/site-health/site-health-security.js +5 -1
  18. package/dist/components/admin/site-health/site-health-seo.js +5 -1
  19. package/dist/components/admin/site-health/site-health-template.js +19 -9
  20. package/dist/components/admin/site-health/site-health-uptime.js +4 -0
  21. package/dist/components/callout/callout.js +0 -10
  22. package/dist/components/carousel/carousel.js +15 -4
  23. package/dist/components/carousel/tiles.js +1 -1
  24. package/dist/components/cms/contentful.items.components.js +3 -4
  25. package/dist/components/cms/flickr.js +1 -1
  26. package/dist/components/cms/google.reviews.components.js +3 -3
  27. package/dist/components/cms/instagram.components.js +15 -5
  28. package/dist/components/cms/smartimage.js +2 -2
  29. package/dist/components/cms/wordpress.components.js +32 -6
  30. package/dist/components/cms/yelp.js +5 -0
  31. package/dist/components/config/config.server.js +7 -1
  32. package/dist/components/general/css.js +0 -1
  33. package/dist/components/general/image.js +0 -1
  34. package/dist/components/general/loading.js +2 -1
  35. package/dist/components/general/microinteractions.js +0 -1
  36. package/dist/components/general/modal.css +2 -4
  37. package/dist/components/general/modal.js +72 -30
  38. package/dist/components/general/sidepanel.js +16 -0
  39. package/dist/components/general/tab.js +1 -0
  40. package/dist/components/menu/menu-accordion.css +1 -1
  41. package/dist/components/menu/menu-accordion.js +15 -4
  42. package/dist/components/menu/menu-expando.js +21 -19
  43. package/dist/components/menu/menu-simple.js +14 -14
  44. package/dist/components/nerdjoke/nerdjoke.js +1 -1
  45. package/dist/components/seo/googlesearch.js +0 -1
  46. package/dist/components/seo/schema-blogposting.js +6 -1
  47. package/dist/components/seo/schema-recipe.js +34 -1
  48. package/dist/components/seo/schema-services.js +20 -2
  49. package/dist/components/shoppingcart/ebay.components.js +3 -3
  50. package/dist/components/shoppingcart/shoppingcart.components.js +76 -28
  51. package/dist/components/shoppingcart/shoppingcart.functions.js +4 -4
  52. package/dist/components/sitebuilder/config/CompoundFontSelector.js +13 -4
  53. package/dist/components/sitebuilder/config/ConfigBuilder.css +194 -5
  54. package/dist/components/sitebuilder/config/ConfigBuilder.js +183 -17
  55. package/dist/components/sitebuilder/config/FontSelector.js +13 -2
  56. package/dist/components/sitebuilder/config/routes-form.json +67 -0
  57. package/dist/components/sitebuilder/config/siteinfo-form.json +28 -14
  58. package/dist/components/sitebuilder/config/visualdesignform.json +4 -4
  59. package/dist/components/sitebuilder/form/formbuilder.js +1 -0
  60. package/dist/components/sitebuilder/form/formcomponents.js +2 -3
  61. package/dist/components/sitebuilder/form/formengine.js +6 -5
  62. package/dist/components/sitebuilder/form/formvalidator.js +5 -0
  63. package/dist/components/sitebuilder/page/components/PageBuilderUI.js +5 -1
  64. package/dist/components/structured/buzzwordbingo.css +0 -1
  65. package/dist/components/structured/recipe.js +1 -1
  66. package/dist/components/structured/socialcard.js +2 -2
  67. package/dist/components/utilities/functions.js +82 -1
  68. package/dist/components/utilities/gemini-api.client.js +76 -0
  69. package/dist/components/utilities/gemini-api.server.js +185 -0
  70. package/dist/data/routes.json +5 -5
  71. package/dist/index.adminclient.js +30 -0
  72. package/dist/index.adminserver.js +21 -0
  73. package/dist/index.js +4 -18
  74. package/dist/index.server.js +15 -28
  75. package/dist/types/components/admin/componentusage/componentAnalysis.d.ts.map +1 -1
  76. package/dist/types/components/admin/componentusage/componentDiscovery.d.ts +1 -1
  77. package/dist/types/components/admin/componentusage/componentDiscovery.d.ts.map +1 -1
  78. package/dist/types/components/admin/site-health/site-health-accessibility.d.ts +7 -4
  79. package/dist/types/components/admin/site-health/site-health-accessibility.d.ts.map +1 -1
  80. package/dist/types/components/admin/site-health/site-health-axe-core.d.ts +7 -4
  81. package/dist/types/components/admin/site-health/site-health-axe-core.d.ts.map +1 -1
  82. package/dist/types/components/admin/site-health/site-health-cloudwatch.d.ts +9 -6
  83. package/dist/types/components/admin/site-health/site-health-cloudwatch.d.ts.map +1 -1
  84. package/dist/types/components/admin/site-health/site-health-cloudwatch.integration.d.ts.map +1 -1
  85. package/dist/types/components/admin/site-health/site-health-dependency-vulnerabilities.d.ts +7 -4
  86. package/dist/types/components/admin/site-health/site-health-dependency-vulnerabilities.d.ts.map +1 -1
  87. package/dist/types/components/admin/site-health/site-health-github.d.ts +9 -6
  88. package/dist/types/components/admin/site-health/site-health-github.d.ts.map +1 -1
  89. package/dist/types/components/admin/site-health/site-health-google-analytics.d.ts +9 -6
  90. package/dist/types/components/admin/site-health/site-health-google-analytics.d.ts.map +1 -1
  91. package/dist/types/components/admin/site-health/site-health-google-search-console.d.ts +9 -6
  92. package/dist/types/components/admin/site-health/site-health-google-search-console.d.ts.map +1 -1
  93. package/dist/types/components/admin/site-health/site-health-on-site-seo.d.ts +8 -3
  94. package/dist/types/components/admin/site-health/site-health-on-site-seo.d.ts.map +1 -1
  95. package/dist/types/components/admin/site-health/site-health-on-site-seo.integration.d.ts.map +1 -1
  96. package/dist/types/components/admin/site-health/site-health-overview.d.ts +7 -4
  97. package/dist/types/components/admin/site-health/site-health-overview.d.ts.map +1 -1
  98. package/dist/types/components/admin/site-health/site-health-performance.d.ts +7 -4
  99. package/dist/types/components/admin/site-health/site-health-performance.d.ts.map +1 -1
  100. package/dist/types/components/admin/site-health/site-health-security.d.ts +7 -4
  101. package/dist/types/components/admin/site-health/site-health-security.d.ts.map +1 -1
  102. package/dist/types/components/admin/site-health/site-health-seo.d.ts +7 -4
  103. package/dist/types/components/admin/site-health/site-health-seo.d.ts.map +1 -1
  104. package/dist/types/components/admin/site-health/site-health-template.d.ts +12 -10
  105. package/dist/types/components/admin/site-health/site-health-template.d.ts.map +1 -1
  106. package/dist/types/components/admin/site-health/site-health-uptime.d.ts +7 -4
  107. package/dist/types/components/admin/site-health/site-health-uptime.d.ts.map +1 -1
  108. package/dist/types/components/callout/callout.d.ts +3 -3
  109. package/dist/types/components/callout/callout.d.ts.map +1 -1
  110. package/dist/types/components/carousel/carousel.d.ts +16 -7
  111. package/dist/types/components/carousel/carousel.d.ts.map +1 -1
  112. package/dist/types/components/carousel/tiles.d.ts +3 -6
  113. package/dist/types/components/carousel/tiles.d.ts.map +1 -1
  114. package/dist/types/components/cms/flickr.d.ts +3 -6
  115. package/dist/types/components/cms/flickr.d.ts.map +1 -1
  116. package/dist/types/components/cms/google.reviews.components.d.ts +1 -7
  117. package/dist/types/components/cms/google.reviews.components.d.ts.map +1 -1
  118. package/dist/types/components/cms/hubspot.components.d.ts +1 -2
  119. package/dist/types/components/cms/hubspot.components.d.ts.map +1 -1
  120. package/dist/types/components/cms/instagram.components.d.ts +14 -9
  121. package/dist/types/components/cms/instagram.components.d.ts.map +1 -1
  122. package/dist/types/components/cms/smartimage.d.ts +2 -28
  123. package/dist/types/components/cms/smartimage.d.ts.map +1 -1
  124. package/dist/types/components/cms/wordpress.components.d.ts +33 -14
  125. package/dist/types/components/cms/wordpress.components.d.ts.map +1 -1
  126. package/dist/types/components/cms/yelp.d.ts +9 -4
  127. package/dist/types/components/cms/yelp.d.ts.map +1 -1
  128. package/dist/types/components/config/config.server.d.ts +9 -6
  129. package/dist/types/components/config/config.server.d.ts.map +1 -1
  130. package/dist/types/components/general/loading.d.ts +5 -1
  131. package/dist/types/components/general/loading.d.ts.map +1 -1
  132. package/dist/types/components/general/microinteractions.d.ts +1 -3
  133. package/dist/types/components/general/microinteractions.d.ts.map +1 -1
  134. package/dist/types/components/general/modal.d.ts +11 -5
  135. package/dist/types/components/general/modal.d.ts.map +1 -1
  136. package/dist/types/components/general/semantic.d.ts +3 -3
  137. package/dist/types/components/general/sidepanel.d.ts +20 -13
  138. package/dist/types/components/general/sidepanel.d.ts.map +1 -1
  139. package/dist/types/components/general/tab.d.ts +1 -2
  140. package/dist/types/components/general/tab.d.ts.map +1 -1
  141. package/dist/types/components/menu/menu-accordion.d.ts +22 -9
  142. package/dist/types/components/menu/menu-accordion.d.ts.map +1 -1
  143. package/dist/types/components/menu/menu-expando.d.ts +14 -5
  144. package/dist/types/components/menu/menu-expando.d.ts.map +1 -1
  145. package/dist/types/components/menu/menu-simple.d.ts +4 -5
  146. package/dist/types/components/menu/menu-simple.d.ts.map +1 -1
  147. package/dist/types/components/nerdjoke/nerdjoke.d.ts +1 -1
  148. package/dist/types/components/nerdjoke/nerdjoke.d.ts.map +1 -1
  149. package/dist/types/components/seo/googleanalytics.d.ts.map +1 -1
  150. package/dist/types/components/seo/metadata.components.d.ts +2 -2
  151. package/dist/types/components/seo/metadata.components.d.ts.map +1 -1
  152. package/dist/types/components/seo/schema-blogposting.d.ts +7 -4
  153. package/dist/types/components/seo/schema-blogposting.d.ts.map +1 -1
  154. package/dist/types/components/seo/schema-recipe.d.ts +29 -30
  155. package/dist/types/components/seo/schema-recipe.d.ts.map +1 -1
  156. package/dist/types/components/seo/schema-services.d.ts +19 -9
  157. package/dist/types/components/seo/schema-services.d.ts.map +1 -1
  158. package/dist/types/components/shoppingcart/paypal.d.ts +1 -1
  159. package/dist/types/components/shoppingcart/paypal.d.ts.map +1 -1
  160. package/dist/types/components/shoppingcart/shoppingcart.components.d.ts +77 -28
  161. package/dist/types/components/shoppingcart/shoppingcart.components.d.ts.map +1 -1
  162. package/dist/types/components/shoppingcart/shoppingcart.functions.d.ts +4 -23
  163. package/dist/types/components/shoppingcart/shoppingcart.functions.d.ts.map +1 -1
  164. package/dist/types/components/sitebuilder/config/CompoundFontSelector.d.ts +10 -11
  165. package/dist/types/components/sitebuilder/config/CompoundFontSelector.d.ts.map +1 -1
  166. package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts +41 -174
  167. package/dist/types/components/sitebuilder/config/ConfigBuilder.d.ts.map +1 -1
  168. package/dist/types/components/sitebuilder/config/FontSelector.d.ts +12 -13
  169. package/dist/types/components/sitebuilder/config/FontSelector.d.ts.map +1 -1
  170. package/dist/types/components/sitebuilder/form/formbuilder.d.ts +7 -3
  171. package/dist/types/components/sitebuilder/form/formbuilder.d.ts.map +1 -1
  172. package/dist/types/components/sitebuilder/form/formcomponents.d.ts +1 -1
  173. package/dist/types/components/sitebuilder/form/formcomponents.d.ts.map +1 -1
  174. package/dist/types/components/sitebuilder/form/formengine.d.ts +1 -2
  175. package/dist/types/components/sitebuilder/form/formengine.d.ts.map +1 -1
  176. package/dist/types/components/sitebuilder/form/formextractor.d.ts +5 -4
  177. package/dist/types/components/sitebuilder/form/formextractor.d.ts.map +1 -1
  178. package/dist/types/components/sitebuilder/form/formtypes.d.ts +3 -3
  179. package/dist/types/components/sitebuilder/form/formtypes.d.ts.map +1 -1
  180. package/dist/types/components/sitebuilder/form/formvalidator.d.ts +8 -3
  181. package/dist/types/components/sitebuilder/form/formvalidator.d.ts.map +1 -1
  182. package/dist/types/components/sitebuilder/page/components/ComponentPropertiesForm.d.ts +2 -3
  183. package/dist/types/components/sitebuilder/page/components/ComponentPropertiesForm.d.ts.map +1 -1
  184. package/dist/types/components/sitebuilder/page/components/ComponentSelector.d.ts +2 -3
  185. package/dist/types/components/sitebuilder/page/components/ComponentSelector.d.ts.map +1 -1
  186. package/dist/types/components/sitebuilder/page/components/ComponentTree.d.ts +2 -3
  187. package/dist/types/components/sitebuilder/page/components/ComponentTree.d.ts.map +1 -1
  188. package/dist/types/components/sitebuilder/page/components/PageBuilderUI.d.ts +8 -7
  189. package/dist/types/components/sitebuilder/page/components/PageBuilderUI.d.ts.map +1 -1
  190. package/dist/types/components/sitebuilder/page/components/PageEngine.d.ts.map +1 -1
  191. package/dist/types/components/sitebuilder/page/components/SaveLoadSection.d.ts +2 -3
  192. package/dist/types/components/sitebuilder/page/components/SaveLoadSection.d.ts.map +1 -1
  193. package/dist/types/components/sitebuilder/page/lib/componentMap.d.ts +1 -1
  194. package/dist/types/components/structured/markdown.d.ts +1 -3
  195. package/dist/types/components/structured/markdown.d.ts.map +1 -1
  196. package/dist/types/components/structured/recipe.d.ts +5 -32
  197. package/dist/types/components/structured/recipe.d.ts.map +1 -1
  198. package/dist/types/components/structured/socialcard.d.ts +4 -0
  199. package/dist/types/components/structured/socialcard.d.ts.map +1 -1
  200. package/dist/types/components/structured/timeline.d.ts +1 -3
  201. package/dist/types/components/structured/timeline.d.ts.map +1 -1
  202. package/dist/types/components/utilities/functions.d.ts +20 -0
  203. package/dist/types/components/utilities/functions.d.ts.map +1 -1
  204. package/dist/types/components/utilities/gemini-api.client.d.ts +38 -0
  205. package/dist/types/components/utilities/gemini-api.client.d.ts.map +1 -0
  206. package/dist/types/components/utilities/gemini-api.server.d.ts +17 -0
  207. package/dist/types/components/utilities/gemini-api.server.d.ts.map +1 -0
  208. package/dist/types/index.adminclient.d.ts +27 -0
  209. package/dist/types/index.adminclient.d.ts.map +1 -0
  210. package/dist/types/index.adminserver.d.ts +19 -0
  211. package/dist/types/index.adminserver.d.ts.map +1 -0
  212. package/dist/types/index.d.ts +4 -18
  213. package/dist/types/index.server.d.ts +5 -28
  214. package/dist/types/stories/admin/site-health.stories.d.ts +4 -0
  215. package/dist/types/stories/admin/site-health.stories.d.ts.map +1 -1
  216. package/dist/types/stories/general/sidepanel.stories.d.ts.map +1 -1
  217. package/dist/types/stories/general/smartimage.stories.d.ts +74 -2
  218. package/dist/types/stories/general/smartimage.stories.d.ts.map +1 -1
  219. package/dist/types/tests/site-health-cloudwatch.test.d.ts +2 -0
  220. package/dist/types/tests/site-health-cloudwatch.test.d.ts.map +1 -0
  221. package/dist/types/tests/site-health-on-site-seo.integration.test.d.ts +2 -0
  222. package/dist/types/tests/site-health-on-site-seo.integration.test.d.ts.map +1 -0
  223. package/package.json +20 -10
  224. package/README.COMPONENTS.md +0 -2162
  225. package/dist/components/cms/pixelated.linkedin.js +0 -180
  226. package/dist/components/cms/pixelated.linkedin1.js +0 -84
  227. package/dist/components/cms/pixelated.linkedin2.js +0 -92
  228. package/dist/types/components/cms/pixelated.linkedin.d.ts +0 -2
  229. package/dist/types/components/cms/pixelated.linkedin.d.ts.map +0 -1
  230. package/dist/types/components/cms/pixelated.linkedin1.d.ts +0 -2
  231. package/dist/types/components/cms/pixelated.linkedin1.d.ts.map +0 -1
  232. package/dist/types/components/cms/pixelated.linkedin2.d.ts +0 -2
  233. package/dist/types/components/cms/pixelated.linkedin2.d.ts.map +0 -1
  234. package/dist/types/tests/pixelated.menu-expando.test.d.ts +0 -2
  235. package/dist/types/tests/pixelated.menu-expando.test.d.ts.map +0 -1
@@ -1,18 +1,25 @@
1
1
  import React from 'react';
2
+ import PropTypes, { InferProps } from 'prop-types';
2
3
  import './sidepanel.css';
3
- export interface SidePanelProps {
4
- isOpen: boolean;
5
- onClose: () => void;
6
- onToggle?: () => void;
7
- position?: 'left' | 'right';
8
- width?: string;
9
- showOverlay?: boolean;
10
- showTab?: boolean;
11
- tabIcon?: React.ReactNode;
12
- tabLabel?: string;
13
- children?: React.ReactNode;
14
- className?: string;
4
+ export declare const positions: readonly ["left", "right"];
5
+ export type PositionType = typeof positions[number];
6
+ export type SidePanelType = InferProps<typeof SidePanel.propTypes>;
7
+ declare function SidePanel({ isOpen, onClose, onToggle, position, width, showOverlay, showTab, tabIcon, tabLabel, children, className }: SidePanelType): React.ReactPortal | null;
8
+ declare namespace SidePanel {
9
+ var propTypes: {
10
+ isOpen: PropTypes.Validator<boolean>;
11
+ onClose: PropTypes.Validator<(...args: any[]) => any>;
12
+ onToggle: PropTypes.Requireable<(...args: any[]) => any>;
13
+ position: PropTypes.Requireable<"left" | "right">;
14
+ width: PropTypes.Requireable<string>;
15
+ showOverlay: PropTypes.Requireable<boolean>;
16
+ showTab: PropTypes.Requireable<boolean>;
17
+ tabIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
18
+ tabLabel: PropTypes.Requireable<string>;
19
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
20
+ className: PropTypes.Requireable<string>;
21
+ };
15
22
  }
16
- export default function SidePanel({ isOpen, onClose, onToggle, position, width, showOverlay, showTab, tabIcon, tabLabel, children, className }: SidePanelProps): React.ReactPortal | null;
23
+ export default SidePanel;
17
24
  export { SidePanel };
18
25
  //# sourceMappingURL=sidepanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sidepanel.d.ts","sourceRoot":"","sources":["../../../../src/components/general/sidepanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,iBAAiB,CAAC;AAEzB,MAAM,WAAW,cAAc;IAC9B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EACjC,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAiB,EACjB,KAAe,EACf,WAAkB,EAClB,OAAe,EACf,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,SAAc,EACd,EAAE,cAAc,4BA2FhB;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"sidepanel.d.ts","sourceRoot":"","sources":["../../../../src/components/general/sidepanel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,iBAAiB,CAAC;AAGzB,eAAO,MAAM,SAAS,4BAA6B,CAAC;AAGpD,MAAM,MAAM,YAAY,GAAG,OAAO,SAAS,CAAC,MAAM,CAAC,CAAC;AAepD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,iBAAwB,SAAS,CAAC,EACjC,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAiB,EACjB,KAAe,EACf,WAAkB,EAClB,OAAe,EACf,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,SAAc,EACd,EAAE,aAAa,4BA2Ff;kBAvGuB,SAAS;;;;;;;;;;;;;;;eAAT,SAAS;AAyGjC,OAAO,EAAE,SAAS,EAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import PropTypes, { InferProps } from 'prop-types';
2
2
  import './tab.css';
3
- type TabType = InferProps<typeof Tab.propTypes>;
3
+ export type TabType = InferProps<typeof Tab.propTypes>;
4
4
  export declare function Tab({ tabs, orientation, defaultActiveTab, onTabChange }: TabType): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace Tab {
6
6
  var propTypes: {
@@ -14,5 +14,4 @@ export declare namespace Tab {
14
14
  onTabChange: PropTypes.Requireable<(...args: any[]) => any>;
15
15
  };
16
16
  }
17
- export {};
18
17
  //# sourceMappingURL=tab.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../src/components/general/tab.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,WAAW,CAAC;AAenB,KAAK,OAAO,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,SAAS,CAAC,CAAC;AAEhD,wBAAgB,GAAG,CAAC,EACnB,IAAI,EACJ,WAAmB,EACnB,gBAAgB,EAChB,WAAW,EACX,EAAE,OAAO,2CAgCT;yBArCe,GAAG"}
1
+ {"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../src/components/general/tab.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,WAAW,CAAC;AAenB,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,SAAS,CAAC,CAAC;AACvD,wBAAgB,GAAG,CAAC,EACnB,IAAI,EACJ,WAAmB,EACnB,gBAAgB,EAChB,WAAW,EACX,EAAE,OAAO,2CAgCT;yBArCe,GAAG"}
@@ -5,17 +5,18 @@ declare global {
5
5
  moveMenu: () => void;
6
6
  }
7
7
  }
8
- export type MenuItem = {
9
- name: string;
10
- path: string;
11
- target?: string;
12
- routes?: MenuItem[];
13
- };
8
+ export type MenuItem = MenuAccordionType['menuItems'][0];
14
9
  export type MenuAccordionType = InferProps<typeof MenuAccordion.propTypes>;
15
10
  export declare function MenuAccordion(props: MenuAccordionType): import("react/jsx-runtime").JSX.Element;
16
11
  export declare namespace MenuAccordion {
17
12
  var propTypes: {
18
- menuItems: PropTypes.Validator<any>;
13
+ menuItems: PropTypes.Validator<(PropTypes.InferProps<{
14
+ name: PropTypes.Validator<string>;
15
+ path: PropTypes.Requireable<string>;
16
+ target: PropTypes.Requireable<string>;
17
+ routes: PropTypes.Requireable<any[]>;
18
+ hidden: PropTypes.Requireable<boolean>;
19
+ }> | null | undefined)[]>;
19
20
  showHidden: PropTypes.Requireable<boolean>;
20
21
  };
21
22
  }
@@ -23,7 +24,19 @@ export type MenuAccordionGroupType = InferProps<typeof MenuAccordionGroup.propTy
23
24
  export declare function MenuAccordionGroup(props: MenuAccordionGroupType): import("react/jsx-runtime").JSX.Element;
24
25
  export declare namespace MenuAccordionGroup {
25
26
  var propTypes: {
26
- menuItems: PropTypes.Validator<object>;
27
+ menuItems: PropTypes.Validator<NonNullable<NonNullable<PropTypes.InferProps<{
28
+ name: PropTypes.Validator<string>;
29
+ path: PropTypes.Requireable<string>;
30
+ target: PropTypes.Requireable<string>;
31
+ routes: PropTypes.Requireable<any[]>;
32
+ hidden: PropTypes.Requireable<boolean>;
33
+ }> | (PropTypes.InferProps<{
34
+ name: PropTypes.Validator<string>;
35
+ path: PropTypes.Requireable<string>;
36
+ target: PropTypes.Requireable<string>;
37
+ routes: PropTypes.Requireable<any[]>;
38
+ hidden: PropTypes.Requireable<boolean>;
39
+ }> | null | undefined)[] | null | undefined>>>;
27
40
  state: PropTypes.Requireable<string>;
28
41
  };
29
42
  }
@@ -37,7 +50,7 @@ export declare namespace MenuAccordionItem {
37
50
  };
38
51
  }
39
52
  export type MenuAccordionButtonType = InferProps<typeof MenuAccordionButton.propTypes>;
40
- export declare function MenuAccordionButton(): import("react/jsx-runtime").JSX.Element;
53
+ export declare function MenuAccordionButton(props: MenuAccordionButtonType): import("react/jsx-runtime").JSX.Element;
41
54
  export declare namespace MenuAccordionButton {
42
55
  var propTypes: {};
43
56
  }
@@ -1 +1 @@
1
- {"version":3,"file":"menu-accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-accordion.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,sBAAsB,CAAC;AAI9B,O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,CAAC,CAAC;AAqCzD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAyGrD;yBAzGe,aAAa;;;;;;;;;;;;AAuH7B,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,SAAS,CAAC,CAAC;AACrF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,sBAAsB,2CAO/D;yBAPe,kBAAkB;;;;;;;;;;;;;;;;;;AAkBlC,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,2CAQ7D;yBARe,iBAAiB;;;;;;;AAmBjC,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;AACvF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,uBAAuB,2CAmBjE;yBAnBe,mBAAmB"}
@@ -1,19 +1,28 @@
1
- import PropTypes from 'prop-types';
1
+ import PropTypes, { InferProps } from 'prop-types';
2
2
  import './menu-expando.css';
3
- export declare function MenuExpando(props: any): import("react/jsx-runtime").JSX.Element;
3
+ export type MenuExpandoType = InferProps<typeof MenuExpando.propTypes>;
4
+ export declare function MenuExpando(props: MenuExpandoType): import("react/jsx-runtime").JSX.Element;
4
5
  export declare namespace MenuExpando {
5
6
  var propTypes: {
6
- menuItems: PropTypes.Validator<object>;
7
+ menuItems: PropTypes.Validator<NonNullable<NonNullable<{
8
+ [x: string]: string | null | undefined;
9
+ } | (PropTypes.InferProps<{
10
+ name: PropTypes.Validator<string>;
11
+ path: PropTypes.Validator<string>;
12
+ routes: PropTypes.Requireable<any[]>;
13
+ }> | null | undefined)[] | null | undefined>>>;
7
14
  };
8
15
  }
9
- export declare function MenuExpandoItem(props: any): import("react/jsx-runtime").JSX.Element;
16
+ export type MenuExpandoItemType = InferProps<typeof MenuExpandoItem.propTypes>;
17
+ export declare function MenuExpandoItem(props: MenuExpandoItemType): import("react/jsx-runtime").JSX.Element;
10
18
  export declare namespace MenuExpandoItem {
11
19
  var propTypes: {
12
20
  name: PropTypes.Validator<string>;
13
21
  href: PropTypes.Validator<string>;
14
22
  };
15
23
  }
16
- export declare function MenuExpandoButton(): import("react/jsx-runtime").JSX.Element;
24
+ export type MenuExpandoButtonType = InferProps<typeof MenuExpandoButton.propTypes>;
25
+ export declare function MenuExpandoButton(props: MenuExpandoButtonType): import("react/jsx-runtime").JSX.Element;
17
26
  export declare namespace MenuExpandoButton {
18
27
  var propTypes: {};
19
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"menu-expando.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-expando.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,oBAAoB,CAAC;AAE5B,wBAAgB,WAAW,CAAC,KAAK,EAAE,GAAG,2CAkJrC;yBAlJe,WAAW;;;;;AA+J3B,wBAAgB,eAAe,CAAC,KAAK,EAAE,GAAG,2CAIzC;yBAJe,eAAe;;;;;;AAW/B,wBAAgB,iBAAiB,4CA4BhC;yBA5Be,iBAAiB"}
1
+ {"version":3,"file":"menu-expando.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-expando.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,oBAAoB,CAAC;AAY5B,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,wBAAgB,WAAW,CAAC,KAAK,EAAE,eAAe,2CAqJjD;yBArJe,WAAW;;;;;;;;;;;AA2J3B,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAC,KAAK,EAAE,mBAAmB,2CAIzD;yBAJe,eAAe;;;;;;AAQ/B,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,2CA4B7D;yBA5Be,iBAAiB"}
@@ -1,13 +1,12 @@
1
1
  import PropTypes, { InferProps } from "prop-types";
2
2
  import './menu-simple.css';
3
- export declare function MenuSimple(props: {
4
- menuItems: MenuSimpleItemType[];
5
- }): import("react/jsx-runtime").JSX.Element;
3
+ export type MenuSimpleType = InferProps<typeof MenuSimple.propTypes>;
4
+ export declare function MenuSimple(props: MenuSimpleType): import("react/jsx-runtime").JSX.Element;
6
5
  export declare namespace MenuSimple {
7
6
  var propTypes: {
8
7
  menuItems: PropTypes.Validator<(PropTypes.InferProps<{
9
8
  name: PropTypes.Validator<string>;
10
- path: PropTypes.Validator<string>;
9
+ path: PropTypes.Requireable<string>;
11
10
  target: PropTypes.Requireable<string>;
12
11
  hidden: PropTypes.Requireable<boolean>;
13
12
  routes: PropTypes.Requireable<any[]>;
@@ -19,7 +18,7 @@ export declare function MenuSimpleItem(props: MenuSimpleItemType): import("react
19
18
  export declare namespace MenuSimpleItem {
20
19
  var propTypes: {
21
20
  name: PropTypes.Validator<string>;
22
- path: PropTypes.Requireable<string>;
21
+ path: PropTypes.Validator<string>;
23
22
  target: PropTypes.Requireable<string>;
24
23
  hidden: PropTypes.Requireable<boolean>;
25
24
  routes: PropTypes.Requireable<any[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"menu-simple.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-simple.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,mBAAmB,CAAC;AAc3B,wBAAgB,UAAU,CAAC,KAAK,EAAE;IAAE,SAAS,EAAE,kBAAkB,EAAE,CAAA;CAAE,2CAsCpE;yBAtCe,UAAU;;;;;;;;;;;AAkD1B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,2CAavD;yBAbe,cAAc"}
1
+ {"version":3,"file":"menu-simple.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-simple.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,mBAAmB,CAAC;AAa3B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAuC/C;yBAvCe,UAAU;;;;;;;;;;;AAmD1B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,2CAavD;yBAbe,cAAc"}
@@ -2,7 +2,7 @@ import PropTypes, { InferProps } from "prop-types";
2
2
  import "../../css/pixelated.grid.scss";
3
3
  import "./nerdjoke.css";
4
4
  export type NerdJokeType = InferProps<typeof NerdJoke.propTypes>;
5
- export declare function NerdJoke(): import("react/jsx-runtime").JSX.Element;
5
+ export declare function NerdJoke(props: NerdJokeType): import("react/jsx-runtime").JSX.Element;
6
6
  export declare namespace NerdJoke {
7
7
  var propTypes: {};
8
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"nerdjoke.d.ts","sourceRoot":"","sources":["../../../../src/components/nerdjoke/nerdjoke.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,+BAA+B,CAAC;AACvC,OAAO,gBAAgB,CAAC;AAOxB,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC;AACjE,wBAAgB,QAAQ,4CAsIvB;yBAtIe,QAAQ;;;AA8IxB,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,iBAAS,UAAU,CAAC,KAAK,EAAE,cAAc,2CASxC;kBATQ,UAAU"}
1
+ {"version":3,"file":"nerdjoke.d.ts","sourceRoot":"","sources":["../../../../src/components/nerdjoke/nerdjoke.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,+BAA+B,CAAC;AACvC,OAAO,gBAAgB,CAAC;AAOxB,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC;AACjE,wBAAgB,QAAQ,CAAC,KAAK,EAAE,YAAY,2CAsI3C;yBAtIe,QAAQ;;;AA8IxB,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,iBAAS,UAAU,CAAC,KAAK,EAAE,cAAc,2CASxC;kBATQ,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"googleanalytics.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/googleanalytics.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAanD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC;QAClB,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;KAChC;CACD;AAiBD,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAE,KAAK,EAAE,mBAAmB,uDAsC1D;yBAtCe,eAAe;;;;;AA8C/B,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAgB,oBAAoB,CAAE,KAAK,EAAE,wBAAwB,oBAYpE;yBAZe,oBAAoB"}
1
+ {"version":3,"file":"googleanalytics.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/googleanalytics.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAanD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC;QAClB,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;KAChC;CACD;AAgBD,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAE,KAAK,EAAE,mBAAmB,uDAsC1D;yBAtCe,eAAe;;;;;AA2C/B,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,SAAS,CAAC,CAAC;AACzF,wBAAgB,oBAAoB,CAAE,KAAK,EAAE,wBAAwB,oBAYpE;yBAZe,oBAAoB"}
@@ -1,6 +1,6 @@
1
1
  import PropTypes, { InferProps } from "prop-types";
2
- export type SetClientMetadataProps = InferProps<typeof setClientMetadata.propTypes>;
3
- export declare function setClientMetadata(props: SetClientMetadataProps): void;
2
+ export type SetClientMetadataType = InferProps<typeof setClientMetadata.propTypes>;
3
+ export declare function setClientMetadata(props: SetClientMetadataType): void;
4
4
  export declare namespace setClientMetadata {
5
5
  var propTypes: {
6
6
  title: PropTypes.Validator<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.components.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/metadata.components.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAQnD,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACpF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,QAQ9D;yBARe,iBAAiB"}
1
+ {"version":3,"file":"metadata.components.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/metadata.components.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAQnD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,QAQ7D;yBARe,iBAAiB"}
@@ -1,7 +1,10 @@
1
- import type { BlogPostingSchema } from './schema-blogposting.functions';
2
- interface SchemaBlogPostingProps {
3
- post: BlogPostingSchema;
1
+ import PropTypes, { InferProps } from 'prop-types';
2
+ export type SchemaBlogPostingType = InferProps<typeof SchemaBlogPosting.propTypes>;
3
+ export declare function SchemaBlogPosting(props: SchemaBlogPostingType): import("react/jsx-runtime").JSX.Element;
4
+ export declare namespace SchemaBlogPosting {
5
+ var propTypes: {
6
+ post: PropTypes.Validator<object>;
7
+ };
4
8
  }
5
- export declare function SchemaBlogPosting({ post }: SchemaBlogPostingProps): import("react/jsx-runtime").JSX.Element;
6
9
  export default SchemaBlogPosting;
7
10
  //# sourceMappingURL=schema-blogposting.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema-blogposting.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-blogposting.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAExE,UAAU,sBAAsB;IAC/B,IAAI,EAAE,iBAAiB,CAAC;CACxB;AAED,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,EAAE,sBAAsB,2CASjE;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"schema-blogposting.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-blogposting.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKnD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC;AACnF,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,qBAAqB,2CAU7D;yBAVe,iBAAiB;;;;;AAYjC,eAAe,iBAAiB,CAAC"}
@@ -1,34 +1,33 @@
1
- /**
2
- * Recipe Schema Component
3
- * Generates JSON-LD structured data for recipes
4
- * https://schema.org/Recipe
5
- */
6
- export interface RecipeSchemaProps {
7
- recipe: {
8
- '@context': string;
9
- '@type': string;
10
- name: string;
11
- description?: string;
12
- author?: {
13
- '@type': string;
14
- name: string;
15
- };
16
- datePublished?: string;
17
- image?: string;
18
- recipeYield?: string;
19
- prepTime?: string;
20
- cookTime?: string;
21
- totalTime?: string;
22
- recipeCategory?: string;
23
- recipeCuisine?: string;
24
- recipeIngredient?: string[];
25
- recipeInstructions?: Array<{
26
- '@type': string;
27
- text: string;
28
- }>;
29
- license?: string;
1
+ import PropTypes, { InferProps } from 'prop-types';
2
+ export type RecipeSchemaType = InferProps<typeof RecipeSchema.propTypes>;
3
+ export declare function RecipeSchema(props: RecipeSchemaType): import("react/jsx-runtime").JSX.Element;
4
+ export declare namespace RecipeSchema {
5
+ var propTypes: {
6
+ recipe: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
7
+ '@context': PropTypes.Validator<string>;
8
+ '@type': PropTypes.Validator<string>;
9
+ name: PropTypes.Validator<string>;
10
+ description: PropTypes.Requireable<string>;
11
+ author: PropTypes.Requireable<PropTypes.InferProps<{
12
+ '@type': PropTypes.Validator<string>;
13
+ name: PropTypes.Validator<string>;
14
+ }>>;
15
+ datePublished: PropTypes.Requireable<string>;
16
+ image: PropTypes.Requireable<string>;
17
+ recipeYield: PropTypes.Requireable<string>;
18
+ prepTime: PropTypes.Requireable<string>;
19
+ cookTime: PropTypes.Requireable<string>;
20
+ totalTime: PropTypes.Requireable<string>;
21
+ recipeCategory: PropTypes.Requireable<string>;
22
+ recipeCuisine: PropTypes.Requireable<string>;
23
+ recipeIngredient: PropTypes.Requireable<(string | null | undefined)[]>;
24
+ recipeInstructions: PropTypes.Requireable<(PropTypes.InferProps<{
25
+ '@type': PropTypes.Validator<string>;
26
+ text: PropTypes.Validator<string>;
27
+ }> | null | undefined)[]>;
28
+ license: PropTypes.Requireable<string>;
29
+ }>>>;
30
30
  };
31
31
  }
32
- export declare function RecipeSchema({ recipe }: RecipeSchemaProps): import("react/jsx-runtime").JSX.Element;
33
32
  export default RecipeSchema;
34
33
  //# sourceMappingURL=schema-recipe.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema-recipe.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-recipe.tsx"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,MAAM,WAAW,iBAAiB;IACjC,MAAM,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,MAAM,CAAC,EAAE;YACR,OAAO,EAAE,MAAM,CAAC;YAChB,IAAI,EAAE,MAAM,CAAC;SACb,CAAC;QACF,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;QAC5B,kBAAkB,CAAC,EAAE,KAAK,CAAC;YAC1B,OAAO,EAAE,MAAM,CAAC;YAChB,IAAI,EAAE,MAAM,CAAC;SACb,CAAC,CAAC;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACF;AAED,wBAAgB,YAAY,CAAE,EAAE,MAAM,EAAE,EAAE,iBAAiB,2CAO1D;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"schema-recipe.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-recipe.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAkCnD,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,SAAS,CAAC,CAAC;AACzE,wBAAgB,YAAY,CAAC,KAAK,EAAE,gBAAgB,2CAQnD;yBARe,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAU5B,eAAe,YAAY,CAAC"}
@@ -1,3 +1,4 @@
1
+ import PropTypes, { InferProps } from 'prop-types';
1
2
  /**
2
3
  * Services Schema Component
3
4
  * Generates JSON-LD structured data for services
@@ -10,16 +11,25 @@ export interface ServiceItem {
10
11
  image?: string;
11
12
  areaServed?: string | string[];
12
13
  }
13
- export interface ServicesSchemaProps {
14
- provider: {
15
- name: string;
16
- url: string;
17
- logo?: string;
18
- telephone?: string;
19
- email?: string;
14
+ export type ServicesSchemaType = InferProps<typeof ServicesSchema.propTypes>;
15
+ export declare function ServicesSchema(props: ServicesSchemaType): import("react/jsx-runtime").JSX.Element;
16
+ export declare namespace ServicesSchema {
17
+ var propTypes: {
18
+ provider: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
19
+ name: PropTypes.Validator<string>;
20
+ url: PropTypes.Validator<string>;
21
+ logo: PropTypes.Requireable<string>;
22
+ telephone: PropTypes.Requireable<string>;
23
+ email: PropTypes.Requireable<string>;
24
+ }>>>;
25
+ services: PropTypes.Validator<(PropTypes.InferProps<{
26
+ name: PropTypes.Validator<string>;
27
+ description: PropTypes.Validator<string>;
28
+ url: PropTypes.Requireable<string>;
29
+ image: PropTypes.Requireable<string>;
30
+ areaServed: PropTypes.Requireable<NonNullable<string | (string | null | undefined)[] | null | undefined>>;
31
+ }> | null | undefined)[]>;
20
32
  };
21
- services: ServiceItem[];
22
33
  }
23
- export declare function ServicesSchema({ provider, services }: ServicesSchemaProps): import("react/jsx-runtime").JSX.Element;
24
34
  export default ServicesSchema;
25
35
  //# sourceMappingURL=schema-services.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema-services.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-services.tsx"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB;IACnC,QAAQ,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,EAAE,WAAW,EAAE,CAAC;CACxB;AAED,wBAAgB,cAAc,CAAE,EAC/B,QAAQ,EACR,QAAQ,EACR,EAAE,mBAAmB,2CAgCrB;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"schema-services.d.ts","sourceRoot":"","sources":["../../../../src/components/seo/schema-services.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD;;;;GAIG;AAEH,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC/B;AAkBD,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,2CAiCvD;yBAjCe,cAAc;;;;;;;;;;;;;;;;;;AAmC9B,eAAe,cAAc,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import PropTypes, { InferProps } from 'prop-types';
2
- import type { CheckoutType } from "./shoppingcart.components";
2
+ import type { CheckoutType } from "./shoppingcart.functions";
3
3
  export type PayPalType = InferProps<typeof PayPal.propTypes>;
4
4
  export declare function PayPal(props: any): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace PayPal {
@@ -1 +1 @@
1
- {"version":3,"file":"paypal.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/paypal.tsx"],"names":[],"mappings":"AAKA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAuBhF,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC;AAC7D,wBAAgB,MAAM,CAAC,KAAK,EAAE,GAAG,2CAsBhC;yBAtBe,MAAM;;;;;;;AAwBtB,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAC,YAAY,EAAE,YAAY,CAAC;IAAC,SAAS,EAAE,GAAG,CAAA;CAAC,QA4HnF"}
1
+ {"version":3,"file":"paypal.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/paypal.tsx"],"names":[],"mappings":"AAKA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAuB/E,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,SAAS,CAAC,CAAC;AAC7D,wBAAgB,MAAM,CAAC,KAAK,EAAE,GAAG,2CAsBhC;yBAtBe,MAAM;;;;;;;AAwBtB,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAC,YAAY,EAAE,YAAY,CAAC;IAAC,SAAS,EAAE,GAAG,CAAA;CAAC,QA4HnF"}
@@ -1,35 +1,84 @@
1
- import PropTypes from 'prop-types';
1
+ import PropTypes, { InferProps } from 'prop-types';
2
2
  import '../sitebuilder/form/form.css';
3
- import type { ShoppingCartType, CheckoutType } from "./shoppingcart.functions";
4
3
  import "./shoppingcart.css";
5
- export declare function ShoppingCart(props: {
6
- payPalClientID: string;
7
- }): import("react/jsx-runtime").JSX.Element;
8
- export declare function ShoppingCartItem(props: {
9
- item: ShoppingCartType;
10
- }): import("react/jsx-runtime").JSX.Element;
4
+ export type ShoppingCartType = InferProps<typeof ShoppingCart.propTypes>;
5
+ export declare function ShoppingCart(props: ShoppingCartType): import("react/jsx-runtime").JSX.Element;
6
+ export declare namespace ShoppingCart {
7
+ var propTypes: {
8
+ payPalClientID: PropTypes.Validator<string>;
9
+ };
10
+ }
11
+ export type ShoppingCartItemType = InferProps<typeof ShoppingCartItem.propTypes>;
12
+ export declare function ShoppingCartItem(props: ShoppingCartItemType): import("react/jsx-runtime").JSX.Element;
11
13
  export declare namespace ShoppingCartItem {
12
- var PropTypes: {
14
+ var propTypes: {
15
+ item: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
16
+ itemID: PropTypes.Validator<string>;
17
+ itemURL: PropTypes.Requireable<string>;
18
+ itemTitle: PropTypes.Validator<string>;
19
+ itemImageURL: PropTypes.Requireable<string>;
20
+ itemQuantity: PropTypes.Validator<number>;
21
+ itemCost: PropTypes.Validator<number>;
22
+ }>>>;
23
+ };
24
+ }
25
+ export type CheckoutItemsType = InferProps<typeof CheckoutItems.propTypes>;
26
+ export declare function CheckoutItems(props: CheckoutItemsType): import("react/jsx-runtime").JSX.Element;
27
+ export declare namespace CheckoutItems {
28
+ var propTypes: {
29
+ items: PropTypes.Validator<(PropTypes.InferProps<{
30
+ itemID: PropTypes.Validator<string>;
31
+ itemURL: PropTypes.Requireable<string>;
32
+ itemTitle: PropTypes.Validator<string>;
33
+ itemImageURL: PropTypes.Requireable<string>;
34
+ itemQuantity: PropTypes.Validator<number>;
35
+ itemCost: PropTypes.Validator<number>;
36
+ }> | null | undefined)[]>;
37
+ shippingTo: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
38
+ name: PropTypes.Validator<string>;
39
+ street1: PropTypes.Validator<string>;
40
+ city: PropTypes.Validator<string>;
41
+ state: PropTypes.Validator<string>;
42
+ zip: PropTypes.Validator<string>;
43
+ }>>>;
44
+ subtotal_discount: PropTypes.Validator<number>;
45
+ subtotal: PropTypes.Validator<number>;
46
+ shippingCost: PropTypes.Validator<number>;
47
+ handlingFee: PropTypes.Validator<number>;
48
+ salesTax: PropTypes.Validator<number>;
49
+ total: PropTypes.Validator<number>;
50
+ };
51
+ }
52
+ export type CartButtonType = InferProps<typeof CartButton.propTypes>;
53
+ export declare function CartButton(props: CartButtonType): import("react/jsx-runtime").JSX.Element;
54
+ export declare namespace CartButton {
55
+ var propTypes: {
56
+ href: PropTypes.Validator<string>;
57
+ };
58
+ }
59
+ export type ViewItemDetailsType = InferProps<typeof ViewItemDetails.propTypes>;
60
+ export declare function ViewItemDetails(props: ViewItemDetailsType): import("react/jsx-runtime").JSX.Element;
61
+ export declare namespace ViewItemDetails {
62
+ var propTypes: {
63
+ href: PropTypes.Validator<string>;
64
+ itemID: PropTypes.Validator<string>;
65
+ };
66
+ }
67
+ export type AddToCartButtonType = InferProps<typeof AddToCartButton.propTypes>;
68
+ export declare function AddToCartButton(props: AddToCartButtonType): import("react/jsx-runtime").JSX.Element;
69
+ export declare namespace AddToCartButton {
70
+ var propTypes: {
71
+ handler: PropTypes.Validator<(...args: any[]) => any>;
13
72
  item: PropTypes.Validator<object>;
73
+ itemID: PropTypes.Validator<string>;
74
+ };
75
+ }
76
+ export type GoToCartButtonType = InferProps<typeof GoToCartButton.propTypes>;
77
+ export declare function GoToCartButton(props: GoToCartButtonType): import("react/jsx-runtime").JSX.Element;
78
+ export declare namespace GoToCartButton {
79
+ var propTypes: {
80
+ href: PropTypes.Validator<string>;
81
+ itemID: PropTypes.Validator<string>;
14
82
  };
15
83
  }
16
- export declare function CheckoutItems(props: {
17
- checkoutData: CheckoutType;
18
- }): import("react/jsx-runtime").JSX.Element;
19
- export declare function CartButton(props: {
20
- href: string;
21
- }): import("react/jsx-runtime").JSX.Element;
22
- export declare function ViewItemDetails(props: {
23
- href: string;
24
- itemID: string;
25
- }): import("react/jsx-runtime").JSX.Element;
26
- export declare function AddToCartButton(props: {
27
- handler: any;
28
- item: ShoppingCartType;
29
- itemID: string;
30
- }): import("react/jsx-runtime").JSX.Element;
31
- export declare function GoToCartButton(props: {
32
- href: string;
33
- itemID: string;
34
- }): import("react/jsx-runtime").JSX.Element;
35
84
  //# sourceMappingURL=shoppingcart.components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shoppingcart.components.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.components.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAyB,MAAM,YAAY,CAAC;AAMnD,OAAO,8BAA8B,CAAC;AAKtC,OAAO,KAAK,EAAE,gBAAgB,EAAe,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI5F,OAAO,oBAAoB,CAAC;AAY5B,wBAAgB,YAAY,CAAE,KAAK,EAAE;IAAC,cAAc,EAAE,MAAM,CAAA;CAAC,2CAuL5D;AAMD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IAAC,IAAI,EAAE,gBAAgB,CAAA;CAAC,2CA+C/D;yB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E,iBAAiB,2CA0CrD;yBA1Ce,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;AAgD7B,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,SAAS,CAAC,CAAC;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,2CAkC/C;yBAlCe,UAAU;;;;;AAyC1B,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAC,KAAK,EAAE,mBAAmB,2CAQzD;yBARe,eAAe;;;;;;AAgB/B,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAC,KAAK,EAAE,mBAAmB,2CAkBzD;yBAlBe,eAAe;;;;;;;AAyB/B,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,SAAS,CAAC,CAAC;AAC7E,wBAAgB,cAAc,CAAC,KAAK,EAAE,kBAAkB,2CAQvD;yBARe,cAAc"}
@@ -10,25 +10,6 @@ export type ShoppingCartType = {
10
10
  itemQuantity: number;
11
11
  itemCost: number;
12
12
  };
13
- export type ShoppingCartItemType = {
14
- itemID: string;
15
- itemURL?: string;
16
- itemTitle: string;
17
- itemDescription: string;
18
- itemCost: number;
19
- itemCategory?: string;
20
- itemCondition?: string;
21
- itemProperties?: {
22
- [key: string]: any;
23
- };
24
- itemImageThumbnail?: string;
25
- itemImages?: string[];
26
- itemQuantity: number;
27
- itemSeller?: string;
28
- itemBuyingFormat?: string;
29
- itemLocation?: string;
30
- itemListingDate: string;
31
- };
32
13
  export type AddressType = {
33
14
  name: string;
34
15
  street1: string;
@@ -68,11 +49,11 @@ export declare function increaseQuantityCart(cart: ShoppingCartType[], itemID: s
68
49
  export declare function getIndexInCart(cart: ShoppingCartType[], itemID: string): number;
69
50
  export declare function getCartItemCount(cart: ShoppingCartType[]): number;
70
51
  export declare function getCartSubTotal(cart: ShoppingCartType[]): number;
71
- export declare function AddToShoppingCart(thisItem: ShoppingCartType): void;
72
- export declare function RemoveFromShoppingCart(thisItem: ShoppingCartType): void;
73
- export declare function ClearShoppingCart(): void;
52
+ export declare function addToShoppingCart(thisItem: ShoppingCartType): void;
53
+ export declare function removeFromShoppingCart(thisItem: ShoppingCartType): void;
54
+ export declare function clearShoppingCart(): void;
74
55
  export declare function getShippingInfo(): any;
75
- export declare function SetShippingInfo(shippingFormData: any): void;
56
+ export declare function setShippingInfo(shippingFormData: any): void;
76
57
  export declare function getShippingCost(): number;
77
58
  export declare function validateDiscountCode(field: {
78
59
  value: string;
@@ -1 +1 @@
1
- {"version":3,"file":"shoppingcart.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.functions.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAChD,eAAO,MAAM,eAAe,2BAA2B,CAAC;AACxD,eAAO,MAAM,gBAAgB,4BAA4B,CAAC;AAC1D,eAAO,MAAM,eAAe,2BAA2B,CAAC;AAqBxD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAG,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE;QAAE,CAAC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B,WAU/B;AAGD,wBAAgB,eAAe,iBAe9B"}
1
+ {"version":3,"file":"shoppingcart.functions.d.ts","sourceRoot":"","sources":["../../../../src/components/shoppingcart/shoppingcart.functions.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe,mBAAmB,CAAC;AAChD,eAAO,MAAM,eAAe,2BAA2B,CAAC;AACxD,eAAO,MAAM,gBAAgB,4BAA4B,CAAC;AAC1D,eAAO,MAAM,eAAe,2BAA2B,CAAC;AAqBxD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAG,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAoBD,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACvB,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,WAAW,CAAC;IACxB,YAAY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BAAgB,EAAE,QAIrE;AAGD,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,gCAcjD;AAGD,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,gBAAgB,EAAE,UAa/D;AAOD,wBAAgB,cAAc,WAE7B;AAGD,wBAAgB,WAAW,IAAI,MAAM,CAOpC;AAGD,wBAAgB,gBAAgB,WAU/B;AAGD,wBAAgB,eAAe,iBAe9B"}
@@ -1,14 +1,7 @@
1
- import PropTypes from 'prop-types';
1
+ import PropTypes, { InferProps } from 'prop-types';
2
2
  import './CompoundFontSelector.css';
3
- interface CompoundFontSelectorProps {
4
- id: string;
5
- name: string;
6
- label: string;
7
- required?: boolean;
8
- value?: string;
9
- onChange?: (value: string) => void;
10
- }
11
- export declare function CompoundFontSelector({ id, name, label, required, value, onChange }: CompoundFontSelectorProps): import("react/jsx-runtime").JSX.Element;
3
+ export type CompoundFontSelectorType = InferProps<typeof CompoundFontSelector.propTypes>;
4
+ export declare function CompoundFontSelector(props: CompoundFontSelectorType): import("react/jsx-runtime").JSX.Element;
12
5
  export declare namespace CompoundFontSelector {
13
6
  var propTypes: {
14
7
  id: PropTypes.Validator<string>;
@@ -17,7 +10,13 @@ export declare namespace CompoundFontSelector {
17
10
  required: PropTypes.Requireable<boolean>;
18
11
  value: PropTypes.Requireable<string>;
19
12
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
13
+ } | {
14
+ id: PropTypes.Validator<string>;
15
+ name: PropTypes.Validator<string>;
16
+ label: PropTypes.Validator<string>;
17
+ required: PropTypes.Requireable<boolean>;
18
+ value: PropTypes.Requireable<string>;
19
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
20
20
  };
21
21
  }
22
- export {};
23
22
  //# sourceMappingURL=CompoundFontSelector.d.ts.map