@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,101 @@
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 StyledLink: 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
+ textStyle?: TextStyleValue | undefined;
79
+ color?: ResponsiveValue<Color> | null | undefined;
80
+ }, never>;
81
+ declare type BaseDropDownItemProps = {
82
+ color?: ResponsiveColorValue;
83
+ textStyle?: TextStyleValue;
84
+ };
85
+ declare type DropDownItemProps = BaseDropDownItemProps & Omit<ComponentPropsWithoutRef<typeof StyledLink>, keyof BaseDropDownItemProps>;
86
+ declare function DropDownItem({ color, ...restOfProps }: DropDownItemProps): JSX.Element;
87
+ declare type Props = ComponentPropsWithoutRef<typeof Button> & {
88
+ label: string;
89
+ links?: Array<{
90
+ id: string;
91
+ payload: ComponentPropsWithoutRef<typeof DropDownItem> & {
92
+ link?: LinkValue;
93
+ label: string;
94
+ };
95
+ }>;
96
+ onClose?: () => unknown;
97
+ caret?: string;
98
+ };
99
+ export default function MobileDropDownButton({ label, caret, links, onClose, ...restOfProps }: Props): JSX.Element;
100
+ export {};
101
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAY,MAAM,OAAO,CAAA;AAI1D,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,SAAS,EACV,MAAM,mDAAmD,CAAA;AAC1D,OAAO,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,+BAA+B,CAAA;AAUnE,OAAO,MAAM,MAAM,uBAAuB,CAAA;AAY1C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAgBf,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,UAAU,CAAC,EAAE,MAAM,qBAAqB,CAAC,CAAA;AAEhF,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,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;IACF,OAAO,CAAC,EAAE,MAAM,OAAO,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAC3C,KAAK,EACL,KAAK,EACL,KAAU,EACV,OAAkB,EAClB,GAAG,WAAW,EACf,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CA0BrB"}
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { ResponsiveValue, NavigationLinksValue, ResponsiveColorValue } from '../../../../../prop-controllers/descriptors';
3
+ declare type Props = {
4
+ animation?: ResponsiveValue<'coverRight' | 'coverLeft'>;
5
+ backgroundColor?: ResponsiveColorValue;
6
+ closeIconColor?: ResponsiveColorValue;
7
+ links?: NavigationLinksValue;
8
+ onClose?: () => unknown;
9
+ open?: boolean;
10
+ };
11
+ export default function MobileMenu({ animation, backgroundColor, open, closeIconColor, links, onClose, }: Props): JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Navigation/components/MobileMenu/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,6CAA6C,CAAA;AAgEpD,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,eAAe,CAAC,YAAY,GAAG,WAAW,CAAC,CAAA;IACvD,eAAe,CAAC,EAAE,oBAAoB,CAAA;IACtC,cAAc,CAAC,EAAE,oBAAoB,CAAA;IACrC,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,OAAO,CAAA;IACvB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,SAAS,EACT,eAAe,EACf,IAAY,EACZ,cAAc,EACd,KAAU,EACV,OAAkB,GACnB,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAuBrB"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Navigation';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Navigation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { GridValue, BackgroundsValue, GapXValue, GapYValue } from '../../../prop-controllers/descriptors';
3
+ declare type Props = {
4
+ children?: GridValue;
5
+ backgrounds?: BackgroundsValue;
6
+ rowGap?: GapYValue;
7
+ columnGap?: GapXValue;
8
+ };
9
+ declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
10
+ export default _default;
11
+ //# sourceMappingURL=Root.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Root/Root.tsx"],"names":[],"mappings":";AAKA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,SAAS,EACV,MAAM,uCAAuC,CAAA;AA6B9C,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,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<HTMLDivElement>>;
4
+ export default _default;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Root/components/Placeholder/index.tsx"],"names":[],"mappings":";AAUA,aAAK,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;;AAElC,wBAwBE"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Root';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Root/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA"}
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { ElementIDValue, SocialLinksValue, ResponsiveIconRadioGroupValue, ResponsiveSelectValue, ResponsiveColorValue, GapXValue, WidthValue, MarginValue } from '../../../prop-controllers/descriptors';
3
+ declare type Props = {
4
+ id?: ElementIDValue;
5
+ links?: SocialLinksValue;
6
+ shape?: ResponsiveIconRadioGroupValue<'naked' | 'circle' | 'rounded' | 'square'>;
7
+ size?: ResponsiveIconRadioGroupValue<'small' | 'medium' | 'large'>;
8
+ hoverStyle?: ResponsiveSelectValue<'none' | 'grow' | 'shrink' | 'fade'>;
9
+ fill?: ResponsiveColorValue;
10
+ backgroundColor?: ResponsiveColorValue;
11
+ alignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>;
12
+ gutter?: GapXValue;
13
+ width?: WidthValue;
14
+ margin?: MarginValue;
15
+ };
16
+ declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
17
+ export default _default;
18
+ //# sourceMappingURL=SocialLinks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SocialLinks.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/SocialLinks.tsx"],"names":[],"mappings":";AAWA,OAAO,EAEL,cAAc,EACd,gBAAgB,EAChB,6BAA6B,EAC7B,qBAAqB,EACrB,oBAAoB,EACpB,SAAS,EACT,UAAU,EACV,WAAW,EACZ,MAAM,uCAAuC,CAAA;AAE9C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,KAAK,CAAC,EAAE,6BAA6B,CAAC,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAA;IAChF,IAAI,CAAC,EAAE,6BAA6B,CAAC,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IAClE,UAAU,CAAC,EAAE,qBAAqB,CAAC,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC,CAAA;IACvE,IAAI,CAAC,EAAE,oBAAoB,CAAA;IAC3B,eAAe,CAAC,EAAE,oBAAoB,CAAA;IACtC,SAAS,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;;AA6ED,wBAqDE"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { ResponsiveValue, Length } from '../../../../../prop-controllers/descriptors';
3
+ declare type Props = {
4
+ gutter?: ResponsiveValue<Length>;
5
+ };
6
+ export default function SocialLinksPlaceholder({ 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/SocialLinks/components/SocialLinksPlaceholder/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,6CAA6C,CAAA;AAarF,aAAK,KAAK,GAAG;IAAE,MAAM,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;CAAE,CAAA;AAEjD,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAe7E"}
@@ -0,0 +1,2 @@
1
+ export { default } from './SocialLinks';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1,113 @@
1
+ /// <reference types="react" />
2
+ export declare const SocialLinksOptions: readonly [{
3
+ readonly type: "angellist";
4
+ readonly label: "AngelList";
5
+ readonly icon: JSX.Element;
6
+ readonly brandColor: "black";
7
+ }, {
8
+ readonly type: "codepen";
9
+ readonly label: "CodePen";
10
+ readonly icon: JSX.Element;
11
+ readonly brandColor: "black";
12
+ }, {
13
+ readonly type: "dribbble";
14
+ readonly label: "Dribbble";
15
+ readonly icon: JSX.Element;
16
+ readonly brandColor: "#ea4c89";
17
+ }, {
18
+ readonly type: "facebook";
19
+ readonly label: "Facebook";
20
+ readonly icon: JSX.Element;
21
+ readonly brandColor: "#3b5998";
22
+ }, {
23
+ readonly type: "github";
24
+ readonly label: "GitHub";
25
+ readonly icon: JSX.Element;
26
+ readonly brandColor: "black";
27
+ }, {
28
+ readonly type: "instagram";
29
+ readonly label: "Instagram";
30
+ readonly icon: JSX.Element;
31
+ readonly brandColor: "black";
32
+ }, {
33
+ readonly type: "linkedin";
34
+ readonly label: "LinkedIn";
35
+ readonly icon: JSX.Element;
36
+ readonly brandColor: "#0077b5";
37
+ }, {
38
+ readonly type: "medium";
39
+ readonly label: "Medium";
40
+ readonly icon: JSX.Element;
41
+ readonly brandColor: "black";
42
+ }, {
43
+ readonly type: "pinterest";
44
+ readonly label: "Pinterest";
45
+ readonly icon: JSX.Element;
46
+ readonly brandColor: "#bd081c";
47
+ }, {
48
+ readonly type: "reddit";
49
+ readonly label: "Reddit";
50
+ readonly icon: JSX.Element;
51
+ readonly brandColor: "#ff4500";
52
+ }, {
53
+ readonly type: "rss";
54
+ readonly label: "RSS";
55
+ readonly icon: JSX.Element;
56
+ readonly brandColor: "black";
57
+ }, {
58
+ readonly type: "snapchat";
59
+ readonly label: "Snapchat";
60
+ readonly icon: JSX.Element;
61
+ readonly brandColor: "#fffc00";
62
+ }, {
63
+ readonly type: "soundcloud";
64
+ readonly label: "SoundCloud";
65
+ readonly icon: JSX.Element;
66
+ readonly brandColor: "#ff3300";
67
+ }, {
68
+ readonly type: "spotify";
69
+ readonly label: "Spotify";
70
+ readonly icon: JSX.Element;
71
+ readonly brandColor: "#1db954";
72
+ }, {
73
+ readonly type: "telegram";
74
+ readonly label: "Telegram";
75
+ readonly icon: JSX.Element;
76
+ readonly brandColor: "#0088cc";
77
+ }, {
78
+ readonly type: "tumblr";
79
+ readonly label: "Tumblr";
80
+ readonly icon: JSX.Element;
81
+ readonly brandColor: "#35465c";
82
+ }, {
83
+ readonly type: "twitch";
84
+ readonly label: "Twitch";
85
+ readonly icon: JSX.Element;
86
+ readonly brandColor: "#6441A4";
87
+ }, {
88
+ readonly type: "twitter";
89
+ readonly label: "Twitter";
90
+ readonly icon: JSX.Element;
91
+ readonly brandColor: "#1da1f2";
92
+ }, {
93
+ readonly type: "whatsapp";
94
+ readonly label: "WhatsApp";
95
+ readonly icon: JSX.Element;
96
+ readonly brandColor: "#25d366";
97
+ }, {
98
+ readonly type: "vimeo";
99
+ readonly label: "Vimeo";
100
+ readonly icon: JSX.Element;
101
+ readonly brandColor: "#1ab7ea";
102
+ }, {
103
+ readonly type: "yelp";
104
+ readonly label: "Yelp";
105
+ readonly icon: JSX.Element;
106
+ readonly brandColor: "#af0606";
107
+ }, {
108
+ readonly type: "youtube";
109
+ readonly label: "YouTube";
110
+ readonly icon: JSX.Element;
111
+ readonly brandColor: "#ff0000";
112
+ }];
113
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/options.tsx"],"names":[],"mappings":";AAuBA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBrB,CAAA"}
@@ -0,0 +1,11 @@
1
+ export { default as Root } from './Root';
2
+ export { default as Box } from './Box';
3
+ export { default as Button } from './Button';
4
+ export { default as Carousel } from './Carousel';
5
+ export { default as Countdown } from './Countdown';
6
+ export { default as Divider } from './Divider';
7
+ export { default as Embed } from './Embed';
8
+ export { default as Image } from './Image';
9
+ export { default as Navigation } from './Navigation';
10
+ export { default as SocialLinks } from './SocialLinks';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/builtin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
@@ -1,2 +1,8 @@
1
+ export * from './useBackgrounds';
2
+ export * from './useBorder';
3
+ export * from './useBoxShadow';
4
+ export * from './useColor';
5
+ export * from './useFile';
1
6
  export * from './useMediaQuery';
7
+ export * from './usePage';
2
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,WAAW,CAAA"}
@@ -0,0 +1,59 @@
1
+ import { ColorValue as Color } from '../utils/types';
2
+ import { ResponsiveValue } from '../../prop-controllers';
3
+ import { BackgroundsValue as ResponsiveBackgroundsValue } from '../../prop-controllers/descriptors';
4
+ declare type BackgroundColorData = Color;
5
+ declare type BackgroundGradientStopData = {
6
+ id: string;
7
+ location: number;
8
+ color: Color | null | undefined;
9
+ };
10
+ declare type BackgroundGradientData = {
11
+ angle: number;
12
+ isRadial: boolean;
13
+ stops: Array<BackgroundGradientStopData>;
14
+ };
15
+ declare type BackgroundImageData = {
16
+ publicUrl?: string;
17
+ dimensions: {
18
+ width: number;
19
+ height: number;
20
+ } | null;
21
+ position: {
22
+ x: number;
23
+ y: number;
24
+ };
25
+ size: 'cover' | 'contain' | 'auto';
26
+ repeat: 'no-repeat' | 'repeat-x' | 'repeat-y' | 'repeat';
27
+ opacity?: number;
28
+ parallax?: number;
29
+ };
30
+ declare type BackgroundVideoData = {
31
+ url: string;
32
+ maskColor: Color | null | undefined;
33
+ aspectRatio: 'wide' | 'standard';
34
+ opacity: number;
35
+ zoom: number;
36
+ parallax: number;
37
+ };
38
+ declare type BackgroundData = {
39
+ id: string;
40
+ type: 'color';
41
+ payload: BackgroundColorData | null | undefined;
42
+ } | {
43
+ id: string;
44
+ type: 'image';
45
+ payload: BackgroundImageData | null | undefined;
46
+ } | {
47
+ id: string;
48
+ type: 'gradient';
49
+ payload: BackgroundGradientData | null | undefined;
50
+ } | {
51
+ id: string;
52
+ type: 'video';
53
+ payload: BackgroundVideoData | null | undefined;
54
+ };
55
+ declare type BackgroundsData = Array<BackgroundData>;
56
+ export declare type BackgroundsPropControllerData = ResponsiveValue<BackgroundsData>;
57
+ export declare function useBackgrounds(value: ResponsiveBackgroundsValue | null | undefined): BackgroundsPropControllerData | null | undefined;
58
+ export {};
59
+ //# sourceMappingURL=useBackgrounds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBackgrounds.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useBackgrounds.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAGxD,OAAO,EAAE,gBAAgB,IAAI,0BAA0B,EAAE,MAAM,oCAAoC,CAAA;AAEnG,aAAK,mBAAmB,GAAG,KAAK,CAAA;AAEhC,aAAK,0BAA0B,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,CAAA;CAChC,CAAA;AAED,aAAK,sBAAsB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,KAAK,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAA;CACzC,CAAA;AAED,aAAK,mBAAmB,GAAG;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;IACpD,QAAQ,EAAE;QACR,CAAC,EAAE,MAAM,CAAA;QACT,CAAC,EAAE,MAAM,CAAA;KACV,CAAA;IACD,IAAI,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IAClC,MAAM,EAAE,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAA;IACxD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,aAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,CAAA;IACnC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAA;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,aAAK,cAAc,GACf;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,GAC9E;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,GAC9E;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,OAAO,EAAE,sBAAsB,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,GACpF;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,CAAA;AAElF,aAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,CAAA;AAE5C,oBAAY,6BAA6B,GAAG,eAAe,CAAC,eAAe,CAAC,CAAA;AAE5E,wBAAgB,cAAc,CAC5B,KAAK,EAAE,0BAA0B,GAAG,IAAI,GAAG,SAAS,GACnD,6BAA6B,GAAG,IAAI,GAAG,SAAS,CAkIlD"}
@@ -0,0 +1,19 @@
1
+ import { BorderStyleProperty } from 'csstype';
2
+ import type { ColorValue as Color } from '../utils/types';
3
+ import { ResponsiveValue } from '../../prop-controllers';
4
+ import { BorderValue as ResponsiveBorderValue } from '../../prop-controllers/descriptors';
5
+ export declare type BorderSide = {
6
+ width: number | null | undefined;
7
+ style: BorderStyleProperty;
8
+ color: Color | null | undefined;
9
+ };
10
+ declare type BorderData = {
11
+ borderTop: BorderSide | null | undefined;
12
+ borderRight: BorderSide | null | undefined;
13
+ borderBottom: BorderSide | null | undefined;
14
+ borderLeft: BorderSide | null | undefined;
15
+ };
16
+ export declare type BorderPropControllerData = ResponsiveValue<BorderData>;
17
+ export declare function useBorder(value: ResponsiveBorderValue | null | undefined): BorderPropControllerData | null | undefined;
18
+ export {};
19
+ //# sourceMappingURL=useBorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBorder.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useBorder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAK7C,OAAO,KAAK,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,WAAW,IAAI,qBAAqB,EAAE,MAAM,oCAAoC,CAAA;AAYzF,oBAAY,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAChC,KAAK,EAAE,mBAAmB,CAAA;IAC1B,KAAK,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,CAAA;CAChC,CAAA;AAED,aAAK,UAAU,GAAG;IAChB,SAAS,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,CAAA;IACxC,WAAW,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,CAAA;IAC1C,YAAY,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,CAAA;IAC3C,UAAU,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,CAAA;CAC1C,CAAA;AAED,oBAAY,wBAAwB,GAAG,eAAe,CAAC,UAAU,CAAC,CAAA;AAElE,wBAAgB,SAAS,CACvB,KAAK,EAAE,qBAAqB,GAAG,IAAI,GAAG,SAAS,GAC9C,wBAAwB,GAAG,IAAI,GAAG,SAAS,CAmC7C"}
@@ -0,0 +1,19 @@
1
+ import type { ColorValue as Color } from '../utils/types';
2
+ import type { ResponsiveValue } from '../../prop-controllers';
3
+ import type { ShadowsValue as ResponsiveShadowsValue } from '../../prop-controllers/descriptors';
4
+ declare type ShadowData = {
5
+ id: string;
6
+ payload: {
7
+ inset: boolean;
8
+ offsetX: number;
9
+ offsetY: number;
10
+ blurRadius: number;
11
+ spreadRadius: number;
12
+ color: Color | null | undefined;
13
+ };
14
+ };
15
+ export declare type BoxShadowData = Array<ShadowData>;
16
+ export declare type BoxShadowPropControllerData = ResponsiveValue<BoxShadowData>;
17
+ export declare function useBoxShadow(value: ResponsiveShadowsValue | null | undefined): BoxShadowPropControllerData | null | undefined;
18
+ export {};
19
+ //# sourceMappingURL=useBoxShadow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useBoxShadow.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useBoxShadow.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,IAAI,sBAAsB,EAAE,MAAM,oCAAoC,CAAA;AAEhG,aAAK,UAAU,GAAG;IAChB,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE;QACP,KAAK,EAAE,OAAO,CAAA;QACd,OAAO,EAAE,MAAM,CAAA;QACf,OAAO,EAAE,MAAM,CAAA;QACf,UAAU,EAAE,MAAM,CAAA;QAClB,YAAY,EAAE,MAAM,CAAA;QACpB,KAAK,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,CAAA;KAChC,CAAA;CACF,CAAA;AAWD,oBAAY,aAAa,GAAG,KAAK,CAAC,UAAU,CAAC,CAAA;AAE7C,oBAAY,2BAA2B,GAAG,eAAe,CAAC,aAAa,CAAC,CAAA;AAExE,wBAAgB,YAAY,CAC1B,KAAK,EAAE,sBAAsB,GAAG,IAAI,GAAG,SAAS,GAC/C,2BAA2B,GAAG,IAAI,GAAG,SAAS,CAiDhD"}
@@ -0,0 +1,7 @@
1
+ import type { ResponsiveValue } from '../../prop-controllers';
2
+ import type { ColorValue as Color } from '../utils/types';
3
+ export declare function useColor(color: ResponsiveValue<{
4
+ swatchId: string;
5
+ alpha: number;
6
+ }> | null | undefined): ResponsiveValue<Color> | null | undefined;
7
+ //# sourceMappingURL=useColor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useColor.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useColor.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAG7D,OAAO,KAAK,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,gBAAgB,CAAA;AAEzD,wBAAgB,QAAQ,CACtB,KAAK,EACD,eAAe,CAAC;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;CACd,CAAC,GACF,IAAI,GACJ,SAAS,GACZ,eAAe,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,SAAS,CAoB3C"}
@@ -0,0 +1,13 @@
1
+ declare type File = {
2
+ id: string;
3
+ name: string;
4
+ publicUrl: string;
5
+ extension: string;
6
+ dimensions: {
7
+ width: number;
8
+ height: number;
9
+ } | null;
10
+ };
11
+ export declare function useFile(fileId: string | null | undefined): File | null | undefined;
12
+ export {};
13
+ //# sourceMappingURL=useFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFile.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useFile.ts"],"names":[],"mappings":"AAIA,aAAK,IAAI,GAAG;IACV,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CACrD,CAAA;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CASlF"}
@@ -0,0 +1,7 @@
1
+ declare type Page = {
2
+ id: string;
3
+ pathname: string;
4
+ };
5
+ export declare function usePage(pageId: string | null | undefined): Page | null | undefined;
6
+ export {};
7
+ //# sourceMappingURL=usePage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePage.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/usePage.ts"],"names":[],"mappings":"AAIA,aAAK,IAAI,GAAG;IACV,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAWlF"}
@@ -1,4 +1,2 @@
1
- export { default as Root } from './Root';
2
- export { default as Box } from './Box';
3
- export * from './Box';
1
+ export * from './builtin';
4
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAA;AACtC,cAAc,OAAO,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ declare type Props = {
3
+ url?: string;
4
+ aspectRatio?: number;
5
+ zoom?: number;
6
+ opacity?: number;
7
+ maskColor?: string;
8
+ };
9
+ export default function BackgroundVideo({ url, aspectRatio, zoom, maskColor, opacity, }: Props): JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/BackgroundsContainer/components/BackgroundVideo/index.tsx"],"names":[],"mappings":";AAgCA,aAAK,KAAK,GAAG;IACX,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,GAAQ,EACR,WAAoB,EACpB,IAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CA8DrB"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { BackgroundsPropControllerData } from '../../../../hooks';
3
+ declare type Props = {
4
+ backgrounds: BackgroundsPropControllerData | null | undefined;
5
+ };
6
+ export default function Backgrounds({ backgrounds }: 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/shared/BackgroundsContainer/components/Backgrounds/index.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;AA0DjE,aAAK,KAAK,GAAG;IAAE,WAAW,EAAE,6BAA6B,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,CAAA;AAE9E,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,WAAW,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAmHvE"}
@@ -0,0 +1,11 @@
1
+ import { ReactNode, CSSProperties } from 'react';
2
+ declare type Props = {
3
+ strength: number | null | undefined;
4
+ children: (getParallaxProps: <P extends {
5
+ style?: CSSProperties;
6
+ [key: string]: unknown;
7
+ }>(props: P) => P) => ReactNode;
8
+ };
9
+ export default function Parallax({ strength, children, ...rest }: Props): JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/BackgroundsContainer/components/Parallax/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkD,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAoBhG,aAAK,KAAK,GAAG;IACX,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACnC,QAAQ,EAAE,CACR,gBAAgB,EAAE,CAAC,CAAC,SAAS;QAAE,KAAK,CAAC,EAAE,aAAa,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAC3F,SAAS,CAAA;CACf,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CA4FpF"}
@@ -0,0 +1,11 @@
1
+ import { ReactElement, ElementType, ComponentPropsWithoutRef } from 'react';
2
+ import { BackgroundsValue as BackgroundsPropControllerValue } from '../../../prop-controllers/descriptors';
3
+ declare const OuterContainer: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
4
+ declare type BaseProps = {
5
+ backgrounds: BackgroundsPropControllerValue | null | undefined;
6
+ children: ReactElement<ElementType>;
7
+ };
8
+ declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof OuterContainer>, keyof BaseProps>;
9
+ declare const _default: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLDivElement | null>>;
10
+ export default _default;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/BackgroundsContainer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,WAAW,EAGX,wBAAwB,EAGzB,MAAM,OAAO,CAAA;AAKd,OAAO,EAAE,gBAAgB,IAAI,8BAA8B,EAAE,MAAM,uCAAuC,CAAA;AAI1G,QAAA,MAAM,cAAc,0KAanB,CAAA;AAED,aAAK,SAAS,GAAG;IACf,WAAW,EAAE,8BAA8B,GAAG,IAAI,GAAG,SAAS,CAAA;IAC9D,QAAQ,EAAE,YAAY,CAAC,WAAW,CAAC,CAAA;CACpC,CAAA;AAED,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,cAAc,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;;AAE/F,wBAcE"}
@@ -0,0 +1,8 @@
1
+ import { ResponsiveValue, Length } from '../../../prop-controllers/descriptors';
2
+ declare const GutterContainer: import("styled-components").StyledComponent<"div", any, {
3
+ gutter?: ResponsiveValue<Length> | undefined;
4
+ first: boolean;
5
+ last: boolean;
6
+ }, never>;
7
+ export default GutterContainer;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/GutterContainer/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,uCAAuC,CAAA;AAG/E,QAAA,MAAM,eAAe;;WAEZ,OAAO;UACR,OAAO;SAUd,CAAA;AAED,eAAe,eAAe,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