@makeswift/runtime 0.0.0-e7e30fa → 0.0.0-e89d176

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 (186) hide show
  1. package/dist/components.cjs.js +14236 -1187
  2. package/dist/components.cjs.js.map +1 -1
  3. package/dist/components.es.js +13938 -892
  4. package/dist/components.es.js.map +1 -1
  5. package/dist/descriptors.cjs.js +186 -0
  6. package/dist/descriptors.cjs.js.map +1 -0
  7. package/dist/descriptors.es.js +184 -0
  8. package/dist/descriptors.es.js.map +1 -0
  9. package/dist/prop-controllers.cjs.js +2 -173
  10. package/dist/prop-controllers.cjs.js.map +1 -1
  11. package/dist/prop-controllers.es.js +1 -173
  12. package/dist/prop-controllers.es.js.map +1 -1
  13. package/dist/react-builder-preview.cjs.js +5 -4
  14. package/dist/react-builder-preview.cjs.js.map +1 -1
  15. package/dist/react-builder-preview.es.js +6 -5
  16. package/dist/react-builder-preview.es.js.map +1 -1
  17. package/dist/react.cjs.js +3 -0
  18. package/dist/react.cjs.js.map +1 -1
  19. package/dist/react.cjs2.js +144 -158
  20. package/dist/react.cjs2.js.map +1 -1
  21. package/dist/react.es.js +3 -1
  22. package/dist/react.es.js.map +1 -1
  23. package/dist/react.es2.js +127 -140
  24. package/dist/react.es2.js.map +1 -1
  25. package/dist/types/components/BackgroundsContainer/components/BackgroundVideo/index.d.ts +11 -0
  26. package/dist/types/components/BackgroundsContainer/components/BackgroundVideo/index.d.ts.map +1 -0
  27. package/dist/types/components/BackgroundsContainer/components/Backgrounds/index.d.ts +8 -0
  28. package/dist/types/components/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -0
  29. package/dist/types/components/BackgroundsContainer/components/Parallax/index.d.ts +11 -0
  30. package/dist/types/components/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -0
  31. package/dist/types/components/BackgroundsContainer/index.d.ts +11 -0
  32. package/dist/types/components/BackgroundsContainer/index.d.ts.map +1 -0
  33. package/dist/types/components/Box/Box.d.ts +4 -1
  34. package/dist/types/components/Box/Box.d.ts.map +1 -1
  35. package/dist/types/components/Carousel/Carousel.d.ts +25 -0
  36. package/dist/types/components/Carousel/Carousel.d.ts.map +1 -0
  37. package/dist/types/components/Carousel/index.d.ts +2 -0
  38. package/dist/types/components/Carousel/index.d.ts.map +1 -0
  39. package/dist/types/components/Countdown/Countdown.d.ts +24 -0
  40. package/dist/types/components/Countdown/Countdown.d.ts.map +1 -0
  41. package/dist/types/components/Countdown/index.d.ts +2 -0
  42. package/dist/types/components/Countdown/index.d.ts.map +1 -0
  43. package/dist/types/components/Divider/Divider.d.ts +14 -0
  44. package/dist/types/components/Divider/Divider.d.ts.map +1 -0
  45. package/dist/types/components/Divider/index.d.ts +2 -0
  46. package/dist/types/components/Divider/index.d.ts.map +1 -0
  47. package/dist/types/components/Embed/Embed.d.ts +11 -0
  48. package/dist/types/components/Embed/Embed.d.ts.map +1 -0
  49. package/dist/types/components/Embed/index.d.ts +2 -0
  50. package/dist/types/components/Embed/index.d.ts.map +1 -0
  51. package/dist/types/components/Image/Image.d.ts +26 -0
  52. package/dist/types/components/Image/Image.d.ts.map +1 -0
  53. package/dist/types/components/Image/index.d.ts +2 -0
  54. package/dist/types/components/Image/index.d.ts.map +1 -0
  55. package/dist/types/components/Link/index.d.ts +9 -0
  56. package/dist/types/components/Link/index.d.ts.map +1 -0
  57. package/dist/types/components/RichText/index.d.ts +5 -0
  58. package/dist/types/components/RichText/index.d.ts.map +1 -0
  59. package/dist/types/components/Root/Root.d.ts.map +1 -1
  60. package/dist/types/components/builtin/Box/Box.d.ts +30 -0
  61. package/dist/types/components/builtin/Box/Box.d.ts.map +1 -0
  62. package/dist/types/components/builtin/Box/animations.d.ts +69 -0
  63. package/dist/types/components/builtin/Box/animations.d.ts.map +1 -0
  64. package/dist/types/components/builtin/Box/components/Placeholder/index.d.ts +7 -0
  65. package/dist/types/components/builtin/Box/components/Placeholder/index.d.ts.map +1 -0
  66. package/dist/types/components/builtin/Box/index.d.ts +3 -0
  67. package/dist/types/components/builtin/Box/index.d.ts.map +1 -0
  68. package/dist/types/components/builtin/Button/Button.d.ts +115 -0
  69. package/dist/types/components/builtin/Button/Button.d.ts.map +1 -0
  70. package/dist/types/components/builtin/Button/index.d.ts +2 -0
  71. package/dist/types/components/builtin/Button/index.d.ts.map +1 -0
  72. package/dist/types/components/builtin/Carousel/Carousel.d.ts +25 -0
  73. package/dist/types/components/builtin/Carousel/Carousel.d.ts.map +1 -0
  74. package/dist/types/components/builtin/Carousel/index.d.ts +2 -0
  75. package/dist/types/components/builtin/Carousel/index.d.ts.map +1 -0
  76. package/dist/types/components/builtin/Countdown/Countdown.d.ts +24 -0
  77. package/dist/types/components/builtin/Countdown/Countdown.d.ts.map +1 -0
  78. package/dist/types/components/builtin/Countdown/index.d.ts +2 -0
  79. package/dist/types/components/builtin/Countdown/index.d.ts.map +1 -0
  80. package/dist/types/components/builtin/Divider/Divider.d.ts +14 -0
  81. package/dist/types/components/builtin/Divider/Divider.d.ts.map +1 -0
  82. package/dist/types/components/builtin/Divider/index.d.ts +2 -0
  83. package/dist/types/components/builtin/Divider/index.d.ts.map +1 -0
  84. package/dist/types/components/builtin/Embed/Embed.d.ts +11 -0
  85. package/dist/types/components/builtin/Embed/Embed.d.ts.map +1 -0
  86. package/dist/types/components/builtin/Embed/index.d.ts +2 -0
  87. package/dist/types/components/builtin/Embed/index.d.ts.map +1 -0
  88. package/dist/types/components/builtin/Image/Image.d.ts +26 -0
  89. package/dist/types/components/builtin/Image/Image.d.ts.map +1 -0
  90. package/dist/types/components/builtin/Image/index.d.ts +2 -0
  91. package/dist/types/components/builtin/Image/index.d.ts.map +1 -0
  92. package/dist/types/components/builtin/Navigation/Navigation.d.ts +23 -0
  93. package/dist/types/components/builtin/Navigation/Navigation.d.ts.map +1 -0
  94. package/dist/types/components/builtin/Navigation/components/DropDownButton/index.d.ts +100 -0
  95. package/dist/types/components/builtin/Navigation/components/DropDownButton/index.d.ts.map +1 -0
  96. package/dist/types/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts +8 -0
  97. package/dist/types/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts.map +1 -0
  98. package/dist/types/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts +101 -0
  99. package/dist/types/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts.map +1 -0
  100. package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts +13 -0
  101. package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts.map +1 -0
  102. package/dist/types/components/builtin/Navigation/index.d.ts +2 -0
  103. package/dist/types/components/builtin/Navigation/index.d.ts.map +1 -0
  104. package/dist/types/components/builtin/Root/Root.d.ts +11 -0
  105. package/dist/types/components/builtin/Root/Root.d.ts.map +1 -0
  106. package/dist/types/components/builtin/Root/components/Placeholder/index.d.ts +5 -0
  107. package/dist/types/components/builtin/Root/components/Placeholder/index.d.ts.map +1 -0
  108. package/dist/types/components/builtin/Root/index.d.ts +2 -0
  109. package/dist/types/components/builtin/Root/index.d.ts.map +1 -0
  110. package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts +18 -0
  111. package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts.map +1 -0
  112. package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts +8 -0
  113. package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts.map +1 -0
  114. package/dist/types/components/builtin/SocialLinks/index.d.ts +2 -0
  115. package/dist/types/components/builtin/SocialLinks/index.d.ts.map +1 -0
  116. package/dist/types/components/builtin/SocialLinks/options.d.ts +113 -0
  117. package/dist/types/components/builtin/SocialLinks/options.d.ts.map +1 -0
  118. package/dist/types/components/builtin/index.d.ts +11 -0
  119. package/dist/types/components/builtin/index.d.ts.map +1 -0
  120. package/dist/types/components/hooks/index.d.ts +6 -0
  121. package/dist/types/components/hooks/index.d.ts.map +1 -1
  122. package/dist/types/components/hooks/useBackgrounds.d.ts +59 -0
  123. package/dist/types/components/hooks/useBackgrounds.d.ts.map +1 -0
  124. package/dist/types/components/hooks/useBorder.d.ts +19 -0
  125. package/dist/types/components/hooks/useBorder.d.ts.map +1 -0
  126. package/dist/types/components/hooks/useBoxShadow.d.ts +19 -0
  127. package/dist/types/components/hooks/useBoxShadow.d.ts.map +1 -0
  128. package/dist/types/components/hooks/useColor.d.ts +7 -0
  129. package/dist/types/components/hooks/useColor.d.ts.map +1 -0
  130. package/dist/types/components/hooks/useFile.d.ts +13 -0
  131. package/dist/types/components/hooks/useFile.d.ts.map +1 -0
  132. package/dist/types/components/hooks/usePage.d.ts +7 -0
  133. package/dist/types/components/hooks/usePage.d.ts.map +1 -0
  134. package/dist/types/components/index.d.ts +1 -3
  135. package/dist/types/components/index.d.ts.map +1 -1
  136. package/dist/types/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts +11 -0
  137. package/dist/types/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts.map +1 -0
  138. package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts +8 -0
  139. package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -0
  140. package/dist/types/components/shared/BackgroundsContainer/components/Parallax/index.d.ts +11 -0
  141. package/dist/types/components/shared/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -0
  142. package/dist/types/components/shared/BackgroundsContainer/index.d.ts +11 -0
  143. package/dist/types/components/shared/BackgroundsContainer/index.d.ts.map +1 -0
  144. package/dist/types/components/shared/GutterContainer/index.d.ts +8 -0
  145. package/dist/types/components/shared/GutterContainer/index.d.ts.map +1 -0
  146. package/dist/types/components/shared/Link/index.d.ts +9 -0
  147. package/dist/types/components/shared/Link/index.d.ts.map +1 -0
  148. package/dist/types/components/utils/colorToString.d.ts +3 -0
  149. package/dist/types/components/utils/colorToString.d.ts.map +1 -0
  150. package/dist/types/components/utils/cssMediaRules.d.ts +23 -1
  151. package/dist/types/components/utils/cssMediaRules.d.ts.map +1 -1
  152. package/dist/types/components/utils/isNonNullable.d.ts +2 -0
  153. package/dist/types/components/utils/isNonNullable.d.ts.map +1 -0
  154. package/dist/types/components/utils/placeholders.d.ts +10 -0
  155. package/dist/types/components/utils/placeholders.d.ts.map +1 -0
  156. package/dist/types/components/utils/queries.d.ts +5 -0
  157. package/dist/types/components/utils/queries.d.ts.map +1 -0
  158. package/dist/types/components/utils/types.d.ts +11 -0
  159. package/dist/types/components/utils/types.d.ts.map +1 -0
  160. package/dist/types/index.d.ts +1 -0
  161. package/dist/types/index.d.ts.map +1 -1
  162. package/dist/types/prop-controllers/descriptors.d.ts +37 -1
  163. package/dist/types/prop-controllers/descriptors.d.ts.map +1 -1
  164. package/dist/types/prop-controllers/index.d.ts +1 -1
  165. package/dist/types/prop-controllers/index.d.ts.map +1 -1
  166. package/dist/types/prop-controllers/instances.d.ts +10 -0
  167. package/dist/types/prop-controllers/instances.d.ts.map +1 -0
  168. package/dist/types/prop-controllers/introspection.d.ts +5 -0
  169. package/dist/types/prop-controllers/introspection.d.ts.map +1 -0
  170. package/dist/types/react.d.ts +1 -1
  171. package/dist/types/react.d.ts.map +1 -1
  172. package/dist/types/runtimes/react.d.ts +2 -0
  173. package/dist/types/runtimes/react.d.ts.map +1 -1
  174. package/dist/types/state/modules/prop-controller-handles.d.ts +20 -0
  175. package/dist/types/state/modules/prop-controller-handles.d.ts.map +1 -0
  176. package/dist/types/state/modules/prop-controllers.d.ts +1 -0
  177. package/dist/types/state/modules/prop-controllers.d.ts.map +1 -1
  178. package/dist/types/state/react-builder-preview.d.ts +11 -10
  179. package/dist/types/state/react-builder-preview.d.ts.map +1 -1
  180. package/dist/types/state/react-page.d.ts +4 -0
  181. package/dist/types/state/react-page.d.ts.map +1 -1
  182. package/dist/types/utils/clamp.d.ts +3 -0
  183. package/dist/types/utils/clamp.d.ts.map +1 -0
  184. package/dist/types/utils/deepEqual.d.ts.map +1 -1
  185. package/dist/types/utils/shallowEqual.d.ts.map +1 -1
  186. package/package.json +23 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Image/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { MouseEvent } from 'react';
2
+ import { LinkValue as LinkPropControllerValue } from '../../prop-controllers/descriptors';
3
+ declare type BaseProps = {
4
+ link?: LinkPropControllerValue;
5
+ onClick?: (event: MouseEvent<HTMLAnchorElement>) => unknown;
6
+ };
7
+ export declare const Link: import("react").ForwardRefExoticComponent<BaseProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof import("react").AnchorHTMLAttributes<HTMLAnchorElement>>, keyof BaseProps> & import("react").RefAttributes<HTMLAnchorElement>>;
8
+ export {};
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,UAAU,EAAE,MAAM,OAAO,CAAA;AAIxE,OAAO,EAAE,SAAS,IAAI,uBAAuB,EAAE,MAAM,oCAAoC,CAAA;AAIzF,aAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,uBAAuB,CAAA;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,iBAAiB,CAAC,KAAK,OAAO,CAAA;CAC5D,CAAA;AAID,eAAO,MAAM,IAAI,6TAkGf,CAAA"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ declare type Props = Record<string, never>;
3
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string> & import("react").RefAttributes<any>>;
4
+ export default _default;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/RichText/index.tsx"],"names":[],"mappings":";AAEA,aAAK,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;;AAElC,wBAUE"}
@@ -1 +1 @@
1
- {"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../../../../src/components/Root/Root.tsx"],"names":[],"mappings":";AAKA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,SAAS,EACV,MAAM,oCAAoC,CAAA;AA4B3C,aAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,WAAW,CAAC,EAAE,gBAAgB,CAAA;IAC9B,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,CAAA;;AAED,wBA0BE"}
1
+ {"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../../../../src/components/Root/Root.tsx"],"names":[],"mappings":";AAKA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,SAAS,EACV,MAAM,oCAAoC,CAAA;AA6B3C,aAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,WAAW,CAAC,EAAE,gBAAgB,CAAA;IAC9B,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB,CAAA;;AAED,wBA4BE"}
@@ -0,0 +1,30 @@
1
+ /// <reference types="react" />
2
+ import { BoxAnimateIn } from './animations';
3
+ import { BorderRadiusValue, ElementIDValue, WidthValue, MarginValue, PaddingValue, ResponsiveIconRadioGroupValue, GridValue, GapYValue, GapXValue, CheckboxValue, ResponsiveSelectValue, ResponsiveNumberValue, BackgroundsValue, BorderValue, ShadowsValue } from '../../../prop-controllers/descriptors';
4
+ import { BoxModelHandle } from '../../../box-model';
5
+ declare type Props = {
6
+ id?: ElementIDValue;
7
+ backgrounds?: BackgroundsValue;
8
+ width?: WidthValue;
9
+ height?: ResponsiveIconRadioGroupValue<'auto' | 'stretch'>;
10
+ verticalAlign?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end' | 'space-between'>;
11
+ margin?: MarginValue;
12
+ padding?: PaddingValue;
13
+ border?: BorderValue;
14
+ borderRadius?: BorderRadiusValue;
15
+ boxShadow?: ShadowsValue;
16
+ rowGap?: GapYValue;
17
+ columnGap?: GapXValue;
18
+ boxAnimateType?: ResponsiveSelectValue<BoxAnimateIn>;
19
+ boxAnimateDuration?: ResponsiveNumberValue;
20
+ boxAnimateDelay?: ResponsiveNumberValue;
21
+ itemAnimateType?: ResponsiveSelectValue<BoxAnimateIn>;
22
+ itemAnimateDuration?: ResponsiveNumberValue;
23
+ itemAnimateDelay?: ResponsiveNumberValue;
24
+ itemStaggerDuration?: ResponsiveNumberValue;
25
+ hidePlaceholder?: CheckboxValue;
26
+ children?: GridValue;
27
+ };
28
+ declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<BoxModelHandle>>;
29
+ export default _default;
30
+ //# sourceMappingURL=Box.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Box/Box.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,YAAY,EAAoB,MAAM,cAAc,CAAA;AAC7D,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,WAAW,EACX,YAAY,EACZ,6BAA6B,EAC7B,SAAS,EACT,SAAS,EACT,SAAS,EACT,aAAa,EACb,qBAAqB,EACrB,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACb,MAAM,uCAAuC,CAAA;AAW9C,OAAO,EAAE,cAAc,EAAoB,MAAM,oBAAoB,CAAA;AASrE,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,WAAW,CAAC,EAAE,gBAAgB,CAAA;IAC9B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,6BAA6B,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC1D,aAAa,CAAC,EAAE,6BAA6B,CAC3C,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,CACvD,CAAA;IACD,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,cAAc,CAAC,EAAE,qBAAqB,CAAC,YAAY,CAAC,CAAA;IACpD,kBAAkB,CAAC,EAAE,qBAAqB,CAAA;IAC1C,eAAe,CAAC,EAAE,qBAAqB,CAAA;IACvC,eAAe,CAAC,EAAE,qBAAqB,CAAC,YAAY,CAAC,CAAA;IACrD,mBAAmB,CAAC,EAAE,qBAAqB,CAAA;IAC3C,gBAAgB,CAAC,EAAE,qBAAqB,CAAA;IACxC,mBAAmB,CAAC,EAAE,qBAAqB,CAAA;IAC3C,eAAe,CAAC,EAAE,aAAa,CAAA;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;;AAgDD,wBAiIE"}
@@ -0,0 +1,69 @@
1
+ import { TargetAndTransition, Transition, Variants, MotionProps } from 'framer-motion';
2
+ import { TransitionMap } from 'framer-motion/types/types';
3
+ import { ResponsiveValue } from '../../../prop-controllers';
4
+ import { Element } from '../../../state/react-page';
5
+ export declare type BoxAnimateIn = 'none' | 'fadeIn' | 'fadeUp' | 'fadeDown' | 'fadeLeft' | 'fadeRight' | 'blurIn' | 'scaleUp' | 'scaleDown';
6
+ declare type BoxAnimationVariants = {
7
+ entered: TargetAndTransition;
8
+ exited: TargetAndTransition;
9
+ };
10
+ export declare const boxAnimations: {
11
+ [key in BoxAnimateIn]: {
12
+ transition: TransitionMap;
13
+ } & BoxAnimationVariants;
14
+ };
15
+ export declare type BoxAnimationType = {
16
+ containerAnimationProps: {
17
+ transition: Transition;
18
+ variants: Variants;
19
+ };
20
+ parentAnimationProps: {
21
+ transition: Transition;
22
+ };
23
+ childAnimationProps: {
24
+ transition: Transition;
25
+ variants: Variants;
26
+ };
27
+ };
28
+ export declare const DEFAULT_BOX_ANIMATE_TYPE = "none";
29
+ export declare const DEFAULT_BOX_ANIMATE_DELAY = 0;
30
+ export declare const DEFAULT_BOX_ANIMATE_DURATION = 0.75;
31
+ export declare const DEFAULT_ITEM_ANIMATE_TYPE = "none";
32
+ export declare const DEFAULT_ITEM_ANIMATE_DELAY = 0;
33
+ export declare const DEFAULT_ITEM_ANIMATE_DURATION = 0.75;
34
+ export declare const DEFAULT_ITEM_STAGGER_DURATION = 0;
35
+ declare type UseBoxAnimationsPayload = {
36
+ initial?: {
37
+ container: MotionProps['initial'];
38
+ parent: MotionProps['initial'];
39
+ };
40
+ animate?: {
41
+ container: MotionProps['animate'];
42
+ parent: MotionProps['animate'];
43
+ };
44
+ variants?: {
45
+ container: MotionProps['variants'];
46
+ child: MotionProps['variants'];
47
+ };
48
+ transition?: {
49
+ container: MotionProps['transition'];
50
+ parent: MotionProps['transition'];
51
+ child: MotionProps['transition'];
52
+ };
53
+ key?: {
54
+ container: string;
55
+ };
56
+ };
57
+ export declare const useBoxAnimations: ({ boxElement, elements, ...props }: {
58
+ boxAnimateType: ResponsiveValue<BoxAnimateIn> | undefined;
59
+ boxAnimateDuration: ResponsiveValue<number> | undefined;
60
+ boxAnimateDelay: ResponsiveValue<number> | undefined;
61
+ itemAnimateType: ResponsiveValue<BoxAnimateIn> | undefined;
62
+ itemAnimateDuration: ResponsiveValue<number> | undefined;
63
+ itemAnimateDelay: ResponsiveValue<number> | undefined;
64
+ itemStaggerDuration: ResponsiveValue<number> | undefined;
65
+ boxElement: HTMLElement | null;
66
+ elements: Element[] | undefined;
67
+ }) => UseBoxAnimationsPayload;
68
+ export {};
69
+ //# sourceMappingURL=animations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Box/animations.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,UAAU,EAGV,QAAQ,EACR,WAAW,EACZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAGzD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAEnD,oBAAY,YAAY,GACpB,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,UAAU,GACV,WAAW,GACX,QAAQ,GACR,SAAS,GACT,WAAW,CAAA;AASf,aAAK,oBAAoB,GAAG;IAC1B,OAAO,EAAE,mBAAmB,CAAA;IAC5B,MAAM,EAAE,mBAAmB,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE;KACzB,GAAG,IAAI,YAAY,GAAG;QACrB,UAAU,EAAE,aAAa,CAAA;KAC1B,GAAG,oBAAoB;CA8HzB,CAAA;AAmBD,oBAAY,gBAAgB,GAAG;IAC7B,uBAAuB,EAAE;QACvB,UAAU,EAAE,UAAU,CAAA;QACtB,QAAQ,EAAE,QAAQ,CAAA;KACnB,CAAA;IACD,oBAAoB,EAAE;QACpB,UAAU,EAAE,UAAU,CAAA;KACvB,CAAA;IACD,mBAAmB,EAAE;QACnB,UAAU,EAAE,UAAU,CAAA;QACtB,QAAQ,EAAE,QAAQ,CAAA;KACnB,CAAA;CACF,CAAA;AAwBD,eAAO,MAAM,wBAAwB,SAAS,CAAA;AAC9C,eAAO,MAAM,yBAAyB,IAAM,CAAA;AAC5C,eAAO,MAAM,4BAA4B,OAAO,CAAA;AAChD,eAAO,MAAM,yBAAyB,SAAS,CAAA;AAC/C,eAAO,MAAM,0BAA0B,IAAM,CAAA;AAC7C,eAAO,MAAM,6BAA6B,OAAO,CAAA;AACjD,eAAO,MAAM,6BAA6B,IAAM,CAAA;AAEhD,aAAK,uBAAuB,GAAG;IAC7B,OAAO,CAAC,EAAE;QAAE,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;QAAC,MAAM,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;KAAE,CAAA;IAC/E,OAAO,CAAC,EAAE;QAAE,SAAS,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;QAAC,MAAM,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;KAAE,CAAA;IAC/E,QAAQ,CAAC,EAAE;QAAE,SAAS,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;QAAC,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,CAAA;KAAE,CAAA;IACjF,UAAU,CAAC,EAAE;QACX,SAAS,EAAE,WAAW,CAAC,YAAY,CAAC,CAAA;QACpC,MAAM,EAAE,WAAW,CAAC,YAAY,CAAC,CAAA;QACjC,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,CAAA;KACjC,CAAA;IACD,GAAG,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,gBAAgB;oBAKX,gBAAgB,YAAY,CAAC,GAAG,SAAS;wBACrC,gBAAgB,MAAM,CAAC,GAAG,SAAS;qBACtC,gBAAgB,MAAM,CAAC,GAAG,SAAS;qBACnC,gBAAgB,YAAY,CAAC,GAAG,SAAS;yBACrC,gBAAgB,MAAM,CAAC,GAAG,SAAS;sBACtC,gBAAgB,MAAM,CAAC,GAAG,SAAS;yBAChC,gBAAgB,MAAM,CAAC,GAAG,SAAS;gBAC5C,WAAW,GAAG,IAAI;cACpB,OAAO,EAAE,GAAG,SAAS;MAC7B,uBAqHH,CAAA"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare type Props = {
3
+ hide?: boolean;
4
+ };
5
+ declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
6
+ export default _default;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Box/components/Placeholder/index.tsx"],"names":[],"mappings":";AAWA,aAAK,KAAK,GAAG;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;;AAE/B,wBA2BE"}
@@ -0,0 +1,3 @@
1
+ export { default } from './Box';
2
+ export { DEFAULT_BOX_ANIMATE_TYPE, DEFAULT_BOX_ANIMATE_DELAY, DEFAULT_BOX_ANIMATE_DURATION, DEFAULT_ITEM_ANIMATE_TYPE, DEFAULT_ITEM_ANIMATE_DELAY, DEFAULT_ITEM_ANIMATE_DURATION, DEFAULT_ITEM_STAGGER_DURATION, } from './animations';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Box/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC/B,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,6BAA6B,GAC9B,MAAM,cAAc,CAAA"}
@@ -0,0 +1,115 @@
1
+ import { ReactElement, ComponentPropsWithoutRef } from 'react';
2
+ import { ResponsiveValue, ElementIDValue, MarginValue, ResponsiveColorValue, TextInputValue, ResponsiveSelectValue, ResponsiveIconRadioGroupValue, TextStyleValue, LinkValue, WidthValue } from '../../../prop-controllers/descriptors';
3
+ import { ColorValue as Color } from '../../utils/types';
4
+ declare type ControllerProps = {
5
+ id?: ElementIDValue;
6
+ children?: TextInputValue;
7
+ link?: LinkValue;
8
+ variant?: ResponsiveSelectValue<'flat' | 'outline' | 'shadow' | 'clear' | 'blocky' | 'bubbly' | 'skewed'>;
9
+ shape?: ResponsiveIconRadioGroupValue<'pill' | 'rounded' | 'square'>;
10
+ size?: ResponsiveIconRadioGroupValue<'small' | 'medium' | 'large'>;
11
+ color?: ResponsiveColorValue;
12
+ textColor?: ResponsiveColorValue;
13
+ textStyle?: TextStyleValue;
14
+ width?: WidthValue;
15
+ margin?: MarginValue;
16
+ };
17
+ declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
18
+ link?: ({
19
+ type: "OPEN_PAGE";
20
+ payload: {
21
+ pageId: string | null | undefined;
22
+ openInNewTab: boolean;
23
+ };
24
+ } | {
25
+ type: "OPEN_URL";
26
+ payload: {
27
+ url: string;
28
+ openInNewTab: boolean;
29
+ };
30
+ } | {
31
+ type: "SEND_EMAIL";
32
+ payload: {
33
+ to: string;
34
+ subject?: string | undefined;
35
+ body?: string | undefined;
36
+ };
37
+ } | {
38
+ type: "CALL_PHONE";
39
+ payload: {
40
+ phoneNumber: string;
41
+ };
42
+ } | {
43
+ type: "SCROLL_TO_ELEMENT";
44
+ payload: {
45
+ elementIdConfig: {
46
+ elementKey: string;
47
+ propName: string;
48
+ } | null | undefined;
49
+ block: "start" | "center" | "end";
50
+ };
51
+ }) | undefined;
52
+ onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => unknown) | undefined;
53
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof import("react").AnchorHTMLAttributes<HTMLAnchorElement>>, keyof {
54
+ link?: ({
55
+ type: "OPEN_PAGE";
56
+ payload: {
57
+ pageId: string | null | undefined;
58
+ openInNewTab: boolean;
59
+ };
60
+ } | {
61
+ type: "OPEN_URL";
62
+ payload: {
63
+ url: string;
64
+ openInNewTab: boolean;
65
+ };
66
+ } | {
67
+ type: "SEND_EMAIL";
68
+ payload: {
69
+ to: string;
70
+ subject?: string | undefined;
71
+ body?: string | undefined;
72
+ };
73
+ } | {
74
+ type: "CALL_PHONE";
75
+ payload: {
76
+ phoneNumber: string;
77
+ };
78
+ } | {
79
+ type: "SCROLL_TO_ELEMENT";
80
+ payload: {
81
+ elementIdConfig: {
82
+ elementKey: string;
83
+ propName: string;
84
+ } | null | undefined;
85
+ block: "start" | "center" | "end";
86
+ };
87
+ }) | undefined;
88
+ onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => unknown) | undefined;
89
+ }> & import("react").RefAttributes<HTMLAnchorElement>>, any, {
90
+ width: ControllerProps['width'];
91
+ margin: ControllerProps['margin'];
92
+ variant: ControllerProps['variant'];
93
+ shape: ControllerProps['shape'];
94
+ size: ControllerProps['size'];
95
+ textColor: ResponsiveValue<Color> | null | undefined;
96
+ color: ResponsiveValue<Color> | null | undefined;
97
+ textStyle: ControllerProps['textStyle'];
98
+ }, never>;
99
+ declare type BaseProps = {
100
+ id?: ControllerProps['id'];
101
+ children?: ReactElement | string;
102
+ link?: ControllerProps['link'];
103
+ variant?: ControllerProps['variant'];
104
+ shape?: ControllerProps['shape'];
105
+ size?: ControllerProps['size'];
106
+ textColor?: ControllerProps['textColor'];
107
+ color?: ControllerProps['color'];
108
+ textStyle?: ControllerProps['textStyle'];
109
+ width?: ControllerProps['width'];
110
+ margin?: ControllerProps['margin'];
111
+ };
112
+ declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof StyledButton>, keyof BaseProps>;
113
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLAnchorElement>>;
114
+ export default _default;
115
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,wBAAwB,EAAc,MAAM,OAAO,CAAA;AAK1E,OAAO,EACL,eAAe,EACf,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,6BAA6B,EAC7B,cAAc,EACd,SAAS,EACT,UAAU,EACX,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAKvD,aAAK,eAAe,GAAG;IACrB,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,OAAO,CAAC,EAAE,qBAAqB,CAC7B,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CACzE,CAAA;IACD,KAAK,CAAC,EAAE,6BAA6B,CAAC,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAA;IACpE,IAAI,CAAC,EAAE,6BAA6B,CAAC,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IAClE,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,SAAS,CAAC,EAAE,oBAAoB,CAAA;IAChC,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAED,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACT,eAAe,CAAC,OAAO,CAAC;YACvB,eAAe,CAAC,QAAQ,CAAC;aACxB,eAAe,CAAC,SAAS,CAAC;WAC5B,eAAe,CAAC,OAAO,CAAC;UACzB,eAAe,CAAC,MAAM,CAAC;eAClB,gBAAgB,KAAK,CAAC,GAAG,IAAI,GAAG,SAAS;WAC7C,gBAAgB,KAAK,CAAC,GAAG,IAAI,GAAG,SAAS;eACrC,eAAe,CAAC,WAAW,CAAC;SAyLxC,CAAA;AAED,aAAK,SAAS,GAAG;IACf,EAAE,CAAC,EAAE,eAAe,CAAC,IAAI,CAAC,CAAA;IAC1B,QAAQ,CAAC,EAAE,YAAY,GAAG,MAAM,CAAA;IAChC,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACpC,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;IACxC,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;IAChC,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;IACxC,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAA;CACnC,CAAA;AAED,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,YAAY,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAE7F,wBAoCE"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Button';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ import { ElementIDValue, ImagesValue, MarginValue, ResponsiveNumberValue, WidthValue, ResponsiveIconRadioGroupValue, GapXValue, CheckboxValue, NumberValue, ResponsiveColorValue, BorderValue, BorderRadiusValue } from '../../../prop-controllers/descriptors';
3
+ declare type Props = {
4
+ id?: ElementIDValue;
5
+ images?: ImagesValue;
6
+ width?: WidthValue;
7
+ margin?: MarginValue;
8
+ pageSize?: ResponsiveNumberValue;
9
+ step?: ResponsiveNumberValue;
10
+ slideAlignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>;
11
+ gap?: GapXValue;
12
+ autoplay?: CheckboxValue;
13
+ delay?: NumberValue;
14
+ showArrows?: CheckboxValue;
15
+ arrowPosition?: ResponsiveIconRadioGroupValue<'inside' | 'center' | 'outside'>;
16
+ arrowColor?: ResponsiveColorValue;
17
+ arrowBackground?: ResponsiveColorValue;
18
+ showDots?: CheckboxValue;
19
+ dotColor?: ResponsiveColorValue;
20
+ slideBorder?: BorderValue;
21
+ slideBorderRadius?: BorderRadiusValue;
22
+ };
23
+ declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
24
+ export default _default;
25
+ //# sourceMappingURL=Carousel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Carousel/Carousel.tsx"],"names":[],"mappings":";AAYA,OAAO,EAEL,cAAc,EACd,WAAW,EACX,WAAW,EACX,qBAAqB,EACrB,UAAU,EACV,6BAA6B,EAC7B,SAAS,EACT,aAAa,EACb,WAAW,EACX,oBAAoB,EACpB,WAAW,EACX,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AAgC9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,QAAQ,CAAC,EAAE,qBAAqB,CAAA;IAChC,IAAI,CAAC,EAAE,qBAAqB,CAAA;IAC5B,cAAc,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IACpF,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,UAAU,CAAC,EAAE,aAAa,CAAA;IAC1B,aAAa,CAAC,EAAE,6BAA6B,CAAC,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC,CAAA;IAC9E,UAAU,CAAC,EAAE,oBAAoB,CAAA;IACjC,eAAe,CAAC,EAAE,oBAAoB,CAAA;IACtC,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,QAAQ,CAAC,EAAE,oBAAoB,CAAA;IAC/B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACtC,CAAA;;AAmND,wBAuKE"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Carousel';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Carousel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ import { DateValue, ElementIDValue, FontValue, GapXValue, MarginValue, ResponsiveColorValue, ResponsiveIconRadioGroupValue, TextInputValue, WidthValue } from '../../../prop-controllers/descriptors';
3
+ declare type Props = {
4
+ id?: ElementIDValue;
5
+ date?: DateValue;
6
+ variant?: ResponsiveIconRadioGroupValue<'filled' | 'filled-split' | 'outline' | 'outline-split' | 'clear'>;
7
+ shape?: ResponsiveIconRadioGroupValue<'pill' | 'rounded' | 'square'>;
8
+ size?: ResponsiveIconRadioGroupValue<'small' | 'medium' | 'large'>;
9
+ gap?: GapXValue;
10
+ numberFont?: FontValue;
11
+ numberColor?: ResponsiveColorValue;
12
+ blockColor?: ResponsiveColorValue;
13
+ labelFont?: FontValue;
14
+ labelColor?: ResponsiveColorValue;
15
+ width?: WidthValue;
16
+ margin?: MarginValue;
17
+ daysLabel?: TextInputValue;
18
+ hoursLabel?: TextInputValue;
19
+ minutesLabel?: TextInputValue;
20
+ secondsLabel?: TextInputValue;
21
+ };
22
+ declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
23
+ export default _default;
24
+ //# sourceMappingURL=Countdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Countdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Countdown/Countdown.tsx"],"names":[],"mappings":";AAOA,OAAO,EAEL,SAAS,EACT,cAAc,EACd,SAAS,EACT,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,6BAA6B,EAC7B,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAE9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,OAAO,CAAC,EAAE,6BAA6B,CACrC,QAAQ,GAAG,cAAc,GAAG,SAAS,GAAG,eAAe,GAAG,OAAO,CAClE,CAAA;IACD,KAAK,CAAC,EAAE,6BAA6B,CAAC,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAA;IACpE,IAAI,CAAC,EAAE,6BAA6B,CAAC,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IAClE,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,WAAW,CAAC,EAAE,oBAAoB,CAAA;IAClC,UAAU,CAAC,EAAE,oBAAoB,CAAA;IACjC,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,UAAU,CAAC,EAAE,oBAAoB,CAAA;IACjC,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,YAAY,CAAC,EAAE,cAAc,CAAA;IAC7B,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;;AAuOD,wBA4EE"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Countdown';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Countdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA"}
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { ElementIDValue, MarginValue, ResponsiveColorValue, ResponsiveLengthValue, ResponsiveSelectValue, WidthValue } from '../../../prop-controllers/descriptors';
3
+ declare type DividerVariant = 'solid' | 'dashed' | 'dotted' | 'blended';
4
+ declare type Props = {
5
+ id?: ElementIDValue;
6
+ variant?: ResponsiveSelectValue<DividerVariant>;
7
+ thickness?: ResponsiveLengthValue;
8
+ color?: ResponsiveColorValue;
9
+ width?: WidthValue;
10
+ margin?: MarginValue;
11
+ };
12
+ declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
13
+ export default _default;
14
+ //# sourceMappingURL=Divider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Divider/Divider.tsx"],"names":[],"mappings":";AAIA,OAAO,EAEL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,UAAU,EACX,MAAM,uCAAuC,CAAA;AAK9C,aAAK,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;AAE/D,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,OAAO,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAA;IAC/C,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;;AAkED,wBAYE"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Divider';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Divider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { ElementIDValue, MarginValue, TextAreaValue, WidthValue } from '../../../prop-controllers/descriptors';
3
+ declare type Props = {
4
+ id?: ElementIDValue;
5
+ html?: TextAreaValue;
6
+ width?: WidthValue;
7
+ margin?: MarginValue;
8
+ };
9
+ declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
10
+ export default _default;
11
+ //# sourceMappingURL=Embed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Embed.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Embed/Embed.tsx"],"names":[],"mappings":";AAMA,OAAO,EACL,cAAc,EACd,WAAW,EACX,aAAa,EACb,UAAU,EACX,MAAM,uCAAuC,CAAA;AAE9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;;AAiCD,wBA0EE"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Embed';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Embed/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA"}
@@ -0,0 +1,26 @@
1
+ /// <reference types="react" />
2
+ import { BorderRadiusValue, BorderValue, ElementIDValue, ImageValue, LinkValue, MarginValue, PaddingValue, ResponsiveOpacityValue, ShadowsValue, TextInputValue, WidthValue } from '../../../prop-controllers/descriptors';
3
+ declare type Props = {
4
+ id?: ElementIDValue;
5
+ file?: ImageValue;
6
+ altText?: TextInputValue;
7
+ link?: LinkValue;
8
+ width?: WidthValue;
9
+ margin?: MarginValue;
10
+ padding?: PaddingValue;
11
+ border?: BorderValue;
12
+ borderRadius?: BorderRadiusValue;
13
+ boxShadow?: ShadowsValue;
14
+ opacity?: ResponsiveOpacityValue;
15
+ placeholder?: {
16
+ src: string;
17
+ dimensions: {
18
+ width: number;
19
+ height: number;
20
+ };
21
+ };
22
+ className?: string;
23
+ };
24
+ declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLImageElement>>;
25
+ export default _default;
26
+ //# sourceMappingURL=Image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Image/Image.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAsB9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,OAAO,CAAC,EAAE,sBAAsB,CAAA;IAChC,WAAW,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;;AAkED,wBA8EE"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Image';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Image/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA"}
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import { CheckboxValue, ElementIDValue, GapXValue, ImageValue, LinkValue, MarginValue, NavigationLinksValue, ResponsiveColorValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TextInputValue, TextStyleValue, WidthValue } from '../../../prop-controllers/descriptors';
3
+ declare type Props = {
4
+ id?: ElementIDValue;
5
+ links?: NavigationLinksValue;
6
+ linkTextStyle?: TextStyleValue;
7
+ showLogo?: CheckboxValue;
8
+ logoFile?: ImageValue;
9
+ logoWidth?: ResponsiveLengthValue;
10
+ logoAltText?: TextInputValue;
11
+ logoLink?: LinkValue;
12
+ alignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>;
13
+ gutter?: GapXValue;
14
+ mobileMenuAnimation?: ResponsiveSelectValue<'coverRight' | 'coverLeft'>;
15
+ mobileMenuOpenIconColor?: ResponsiveColorValue;
16
+ mobileMenuCloseIconColor?: ResponsiveColorValue;
17
+ mobileMenuBackgroundColor?: ResponsiveColorValue;
18
+ width?: WidthValue;
19
+ margin?: MarginValue;
20
+ };
21
+ declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
22
+ export default _default;
23
+ //# sourceMappingURL=Navigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Navigation/Navigation.tsx"],"names":[],"mappings":";AAWA,OAAO,EAEL,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAM9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,aAAa,CAAC,EAAE,cAAc,CAAA;IAC9B,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,YAAY,GAAG,WAAW,CAAC,CAAA;IACvE,uBAAuB,CAAC,EAAE,oBAAoB,CAAA;IAC9C,wBAAwB,CAAC,EAAE,oBAAoB,CAAA;IAC/C,yBAAyB,CAAC,EAAE,oBAAoB,CAAA;IAChD,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;;AA4DD,wBAwEE"}
@@ -0,0 +1,100 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { ResponsiveValue, ResponsiveColorValue, TextStyleValue, LinkValue } from '../../../../../prop-controllers/descriptors';
3
+ import { ColorValue as Color } from '../../../../utils/types';
4
+ import Button from '../../../Button';
5
+ declare const StyledDropDownItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
6
+ link?: ({
7
+ type: "OPEN_PAGE";
8
+ payload: {
9
+ pageId: string | null | undefined;
10
+ openInNewTab: boolean;
11
+ };
12
+ } | {
13
+ type: "OPEN_URL";
14
+ payload: {
15
+ url: string;
16
+ openInNewTab: boolean;
17
+ };
18
+ } | {
19
+ type: "SEND_EMAIL";
20
+ payload: {
21
+ to: string;
22
+ subject?: string | undefined;
23
+ body?: string | undefined;
24
+ };
25
+ } | {
26
+ type: "CALL_PHONE";
27
+ payload: {
28
+ phoneNumber: string;
29
+ };
30
+ } | {
31
+ type: "SCROLL_TO_ELEMENT";
32
+ payload: {
33
+ elementIdConfig: {
34
+ elementKey: string;
35
+ propName: string;
36
+ } | null | undefined;
37
+ block: "start" | "center" | "end";
38
+ };
39
+ }) | undefined;
40
+ onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => unknown) | undefined;
41
+ } & Omit<Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof import("react").AnchorHTMLAttributes<HTMLAnchorElement>>, keyof {
42
+ link?: ({
43
+ type: "OPEN_PAGE";
44
+ payload: {
45
+ pageId: string | null | undefined;
46
+ openInNewTab: boolean;
47
+ };
48
+ } | {
49
+ type: "OPEN_URL";
50
+ payload: {
51
+ url: string;
52
+ openInNewTab: boolean;
53
+ };
54
+ } | {
55
+ type: "SEND_EMAIL";
56
+ payload: {
57
+ to: string;
58
+ subject?: string | undefined;
59
+ body?: string | undefined;
60
+ };
61
+ } | {
62
+ type: "CALL_PHONE";
63
+ payload: {
64
+ phoneNumber: string;
65
+ };
66
+ } | {
67
+ type: "SCROLL_TO_ELEMENT";
68
+ payload: {
69
+ elementIdConfig: {
70
+ elementKey: string;
71
+ propName: string;
72
+ } | null | undefined;
73
+ block: "start" | "center" | "end";
74
+ };
75
+ }) | undefined;
76
+ onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => unknown) | undefined;
77
+ }> & import("react").RefAttributes<HTMLAnchorElement>>, any, {
78
+ color?: ResponsiveValue<Color> | null | undefined;
79
+ textStyle?: TextStyleValue | undefined;
80
+ }, never>;
81
+ declare type BaseDropDownItemProps = {
82
+ color?: ResponsiveColorValue;
83
+ textStyle?: TextStyleValue;
84
+ };
85
+ declare type DropDownItemProps = BaseDropDownItemProps & Omit<ComponentPropsWithoutRef<typeof StyledDropDownItem>, keyof BaseDropDownItemProps>;
86
+ declare function DropDownItem({ color, ...restOfProps }: DropDownItemProps): JSX.Element;
87
+ declare type Props = ComponentPropsWithoutRef<typeof Button> & {
88
+ label: string;
89
+ caret?: 'caret' | 'plus' | 'arrow-down' | 'chevron-down';
90
+ links?: Array<{
91
+ id: string;
92
+ payload: ComponentPropsWithoutRef<typeof DropDownItem> & {
93
+ link?: LinkValue;
94
+ label: string;
95
+ };
96
+ }>;
97
+ };
98
+ export default function DropDownButton({ label, caret, links, ...restOfProps }: Props): JSX.Element;
99
+ export {};
100
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Navigation/components/DropDownButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAqC,MAAM,OAAO,CAAA;AAQnF,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,SAAS,EACV,MAAM,6CAA6C,CAAA;AACpD,OAAO,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAK7D,OAAO,MAAM,MAAM,iBAAiB,CAAA;AA8CpC,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAgCvB,CAAA;AAED,aAAK,qBAAqB,GAAG;IAC3B,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,SAAS,CAAC,EAAE,cAAc,CAAA;CAC3B,CAAA;AAED,aAAK,iBAAiB,GAAG,qBAAqB,GAC5C,IAAI,CAAC,wBAAwB,CAAC,OAAO,kBAAkB,CAAC,EAAE,MAAM,qBAAqB,CAAC,CAAA;AAExF,iBAAS,YAAY,CAAC,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EAAE,iBAAiB,eAGjE;AAED,aAAK,KAAK,GAAG,wBAAwB,CAAC,OAAO,MAAM,CAAC,GAAG;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,YAAY,GAAG,cAAc,CAAA;IACxD,KAAK,CAAC,EAAE,KAAK,CAAC;QACZ,EAAE,EAAE,MAAM,CAAA;QACV,OAAO,EAAE,wBAAwB,CAAC,OAAO,YAAY,CAAC,GAAG;YACvD,IAAI,CAAC,EAAE,SAAS,CAAA;YAChB,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;KACF,CAAC,CAAA;CACH,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,KAAe,EACf,KAAU,EACV,GAAG,WAAW,EACf,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAsCrB"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { ResponsiveLengthValue } from '../../../../../prop-controllers/descriptors';
3
+ declare type Props = {
4
+ gutter?: ResponsiveLengthValue;
5
+ };
6
+ export default function LinksPlaceholder({ gutter }: Props): JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Navigation/components/LinksPlaceholder/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AAWnF,aAAK,KAAK,GAAG;IAAE,MAAM,CAAC,EAAE,qBAAqB,CAAA;CAAE,CAAA;AAI/C,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAUvE"}