@makeswift/runtime 0.0.0-9644b1f → 0.0.0-98e16f9

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 (199) hide show
  1. package/box-model.js +1 -0
  2. package/components.js +1 -0
  3. package/dist/actions.cjs.js +66 -16
  4. package/dist/actions.cjs.js.map +1 -1
  5. package/dist/actions.es.js +61 -16
  6. package/dist/actions.es.js.map +1 -1
  7. package/dist/box-models.cjs.js +24 -14
  8. package/dist/box-models.cjs.js.map +1 -1
  9. package/dist/box-models.es.js +24 -14
  10. package/dist/box-models.es.js.map +1 -1
  11. package/dist/components.cjs.js +11668 -8326
  12. package/dist/components.cjs.js.map +1 -1
  13. package/dist/components.es.js +7114 -3784
  14. package/dist/components.es.js.map +1 -1
  15. package/dist/deepEqual.cjs.js +40 -0
  16. package/dist/deepEqual.cjs.js.map +1 -0
  17. package/dist/deepEqual.es.js +39 -0
  18. package/dist/deepEqual.es.js.map +1 -0
  19. package/dist/immutable.es.cjs.js +4459 -0
  20. package/dist/immutable.es.cjs.js.map +1 -0
  21. package/dist/immutable.es.es.js +4450 -0
  22. package/dist/immutable.es.es.js.map +1 -0
  23. package/dist/react-builder-preview.cjs.js +187 -29
  24. package/dist/react-builder-preview.cjs.js.map +1 -1
  25. package/dist/react-builder-preview.es.js +195 -37
  26. package/dist/react-builder-preview.es.js.map +1 -1
  27. package/dist/react.cjs2.js +21 -6
  28. package/dist/react.cjs2.js.map +1 -1
  29. package/dist/react.es2.js +23 -9
  30. package/dist/react.es2.js.map +1 -1
  31. package/dist/shallowEqual.cjs.js +24 -0
  32. package/dist/shallowEqual.cjs.js.map +1 -0
  33. package/dist/shallowEqual.es.js +23 -0
  34. package/dist/shallowEqual.es.js.map +1 -0
  35. package/dist/types/components/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -1
  36. package/dist/types/components/Box/Box.d.ts.map +1 -1
  37. package/dist/types/components/RichText/index.d.ts +5 -0
  38. package/dist/types/components/RichText/index.d.ts.map +1 -0
  39. package/dist/types/components/builtin/Box/Box.d.ts +30 -0
  40. package/dist/types/components/builtin/Box/Box.d.ts.map +1 -0
  41. package/dist/types/components/builtin/Box/animations.d.ts +69 -0
  42. package/dist/types/components/builtin/Box/animations.d.ts.map +1 -0
  43. package/dist/types/components/builtin/Box/components/Placeholder/index.d.ts +7 -0
  44. package/dist/types/components/builtin/Box/components/Placeholder/index.d.ts.map +1 -0
  45. package/dist/types/components/builtin/Box/index.d.ts +3 -0
  46. package/dist/types/components/builtin/Box/index.d.ts.map +1 -0
  47. package/dist/types/components/builtin/Button/Button.d.ts +115 -0
  48. package/dist/types/components/builtin/Button/Button.d.ts.map +1 -0
  49. package/dist/types/components/builtin/Button/index.d.ts +2 -0
  50. package/dist/types/components/builtin/Button/index.d.ts.map +1 -0
  51. package/dist/types/components/builtin/Carousel/Carousel.d.ts +25 -0
  52. package/dist/types/components/builtin/Carousel/Carousel.d.ts.map +1 -0
  53. package/dist/types/components/builtin/Carousel/index.d.ts +2 -0
  54. package/dist/types/components/builtin/Carousel/index.d.ts.map +1 -0
  55. package/dist/types/components/builtin/Countdown/Countdown.d.ts +24 -0
  56. package/dist/types/components/builtin/Countdown/Countdown.d.ts.map +1 -0
  57. package/dist/types/components/builtin/Countdown/index.d.ts +2 -0
  58. package/dist/types/components/builtin/Countdown/index.d.ts.map +1 -0
  59. package/dist/types/components/builtin/Divider/Divider.d.ts +14 -0
  60. package/dist/types/components/builtin/Divider/Divider.d.ts.map +1 -0
  61. package/dist/types/components/builtin/Divider/index.d.ts +2 -0
  62. package/dist/types/components/builtin/Divider/index.d.ts.map +1 -0
  63. package/dist/types/components/builtin/Embed/Embed.d.ts +11 -0
  64. package/dist/types/components/builtin/Embed/Embed.d.ts.map +1 -0
  65. package/dist/types/components/builtin/Embed/index.d.ts +2 -0
  66. package/dist/types/components/builtin/Embed/index.d.ts.map +1 -0
  67. package/dist/types/components/builtin/Image/Image.d.ts +26 -0
  68. package/dist/types/components/builtin/Image/Image.d.ts.map +1 -0
  69. package/dist/types/components/builtin/Image/index.d.ts +2 -0
  70. package/dist/types/components/builtin/Image/index.d.ts.map +1 -0
  71. package/dist/types/components/builtin/Navigation/Navigation.d.ts +23 -0
  72. package/dist/types/components/builtin/Navigation/Navigation.d.ts.map +1 -0
  73. package/dist/types/components/builtin/Navigation/components/DropDownButton/index.d.ts +100 -0
  74. package/dist/types/components/builtin/Navigation/components/DropDownButton/index.d.ts.map +1 -0
  75. package/dist/types/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts +8 -0
  76. package/dist/types/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts.map +1 -0
  77. package/dist/types/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts +101 -0
  78. package/dist/types/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts.map +1 -0
  79. package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts +13 -0
  80. package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts.map +1 -0
  81. package/dist/types/components/builtin/Navigation/index.d.ts +2 -0
  82. package/dist/types/components/builtin/Navigation/index.d.ts.map +1 -0
  83. package/dist/types/components/builtin/Root/Root.d.ts +11 -0
  84. package/dist/types/components/builtin/Root/Root.d.ts.map +1 -0
  85. package/dist/types/components/builtin/Root/components/Placeholder/index.d.ts +5 -0
  86. package/dist/types/components/builtin/Root/components/Placeholder/index.d.ts.map +1 -0
  87. package/dist/types/components/builtin/Root/index.d.ts +2 -0
  88. package/dist/types/components/builtin/Root/index.d.ts.map +1 -0
  89. package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts +18 -0
  90. package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts.map +1 -0
  91. package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts +8 -0
  92. package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts.map +1 -0
  93. package/dist/types/components/builtin/SocialLinks/index.d.ts +2 -0
  94. package/dist/types/components/builtin/SocialLinks/index.d.ts.map +1 -0
  95. package/dist/types/components/builtin/SocialLinks/options.d.ts +113 -0
  96. package/dist/types/components/builtin/SocialLinks/options.d.ts.map +1 -0
  97. package/dist/types/components/builtin/Text/Text.d.ts +13 -0
  98. package/dist/types/components/builtin/Text/Text.d.ts.map +1 -0
  99. package/dist/types/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts +24 -0
  100. package/dist/types/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts.map +1 -0
  101. package/dist/types/components/builtin/Text/components/RichTextEditor/components/Link/index.d.ts +9 -0
  102. package/dist/types/components/builtin/Text/components/RichTextEditor/components/Link/index.d.ts.map +1 -0
  103. package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts +25 -0
  104. package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts.map +1 -0
  105. package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/index.d.ts +13 -0
  106. package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/index.d.ts.map +1 -0
  107. package/dist/types/components/builtin/Text/components/RichTextEditor/index.d.ts +5 -0
  108. package/dist/types/components/builtin/Text/components/RichTextEditor/index.d.ts.map +1 -0
  109. package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts +3 -0
  110. package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts.map +1 -0
  111. package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesMarks.d.ts +3 -0
  112. package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesMarks.d.ts.map +1 -0
  113. package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Inlines.d.ts +3 -0
  114. package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Inlines.d.ts.map +1 -0
  115. package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Link.d.ts +3 -0
  116. package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Link.d.ts.map +1 -0
  117. package/dist/types/components/builtin/Text/hooks/useRichText.d.ts +1 -0
  118. package/dist/types/components/builtin/Text/hooks/useRichText.d.ts.map +1 -0
  119. package/dist/types/components/builtin/Text/index.d.ts +2 -0
  120. package/dist/types/components/builtin/Text/index.d.ts.map +1 -0
  121. package/dist/types/components/builtin/Text/prop-controllers.d.ts +286 -0
  122. package/dist/types/components/builtin/Text/prop-controllers.d.ts.map +1 -0
  123. package/dist/types/components/builtin/index.d.ts +12 -0
  124. package/dist/types/components/builtin/index.d.ts.map +1 -0
  125. package/dist/types/components/hooks/useRichText.d.ts +18 -0
  126. package/dist/types/components/hooks/useRichText.d.ts.map +1 -0
  127. package/dist/types/components/hooks/useTypography.d.ts +24 -0
  128. package/dist/types/components/hooks/useTypography.d.ts.map +1 -0
  129. package/dist/types/components/index.d.ts +2 -8
  130. package/dist/types/components/index.d.ts.map +1 -1
  131. package/dist/types/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts +11 -0
  132. package/dist/types/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts.map +1 -0
  133. package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts +8 -0
  134. package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -0
  135. package/dist/types/components/shared/BackgroundsContainer/components/Parallax/index.d.ts +11 -0
  136. package/dist/types/components/shared/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -0
  137. package/dist/types/components/shared/BackgroundsContainer/index.d.ts +11 -0
  138. package/dist/types/components/shared/BackgroundsContainer/index.d.ts.map +1 -0
  139. package/dist/types/components/shared/GutterContainer/index.d.ts +8 -0
  140. package/dist/types/components/shared/GutterContainer/index.d.ts.map +1 -0
  141. package/dist/types/components/shared/Link/index.d.ts +9 -0
  142. package/dist/types/components/shared/Link/index.d.ts.map +1 -0
  143. package/dist/types/components/shared/RichTextEditor/components/Block/index.d.ts +24 -0
  144. package/dist/types/components/shared/RichTextEditor/components/Block/index.d.ts.map +1 -0
  145. package/dist/types/components/shared/RichTextEditor/components/Link/index.d.ts +9 -0
  146. package/dist/types/components/shared/RichTextEditor/components/Link/index.d.ts.map +1 -0
  147. package/dist/types/components/shared/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts +23 -0
  148. package/dist/types/components/shared/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts.map +1 -0
  149. package/dist/types/components/shared/RichTextEditor/components/Mark/index.d.ts +13 -0
  150. package/dist/types/components/shared/RichTextEditor/components/Mark/index.d.ts.map +1 -0
  151. package/dist/types/components/shared/RichTextEditor/index.d.ts +5 -0
  152. package/dist/types/components/shared/RichTextEditor/index.d.ts.map +1 -0
  153. package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts +3 -0
  154. package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts.map +1 -0
  155. package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesMarks.d.ts +3 -0
  156. package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesMarks.d.ts.map +1 -0
  157. package/dist/types/components/shared/RichTextEditor/plugins/Inlines.d.ts +3 -0
  158. package/dist/types/components/shared/RichTextEditor/plugins/Inlines.d.ts.map +1 -0
  159. package/dist/types/components/shared/RichTextEditor/plugins/Link.d.ts +3 -0
  160. package/dist/types/components/shared/RichTextEditor/plugins/Link.d.ts.map +1 -0
  161. package/dist/types/components/utils/contants.d.ts +5 -0
  162. package/dist/types/components/utils/contants.d.ts.map +1 -0
  163. package/dist/types/components/utils/cssMediaRules.d.ts +11 -1
  164. package/dist/types/components/utils/cssMediaRules.d.ts.map +1 -1
  165. package/dist/types/components/utils/intersection.d.ts +4 -0
  166. package/dist/types/components/utils/intersection.d.ts.map +1 -0
  167. package/dist/types/components/utils/keys.d.ts +5 -0
  168. package/dist/types/components/utils/keys.d.ts.map +1 -0
  169. package/dist/types/components/utils/placeholders.d.ts.map +1 -1
  170. package/dist/types/components/utils/queries.d.ts +4 -4
  171. package/dist/types/components/utils/queries.d.ts.map +1 -1
  172. package/dist/types/prop-controllers/instances.d.ts +10 -0
  173. package/dist/types/prop-controllers/instances.d.ts.map +1 -0
  174. package/dist/types/runtimes/react.d.ts.map +1 -1
  175. package/dist/types/state/actions.d.ts +88 -13
  176. package/dist/types/state/actions.d.ts.map +1 -1
  177. package/dist/types/state/modules/box-models.d.ts +5 -5
  178. package/dist/types/state/modules/box-models.d.ts.map +1 -1
  179. package/dist/types/state/modules/prop-controller-handles.d.ts +20 -0
  180. package/dist/types/state/modules/prop-controller-handles.d.ts.map +1 -0
  181. package/dist/types/state/react-builder-preview.d.ts +2 -0
  182. package/dist/types/state/react-builder-preview.d.ts.map +1 -1
  183. package/dist/types/state/react-page.d.ts +1 -0
  184. package/dist/types/state/react-page.d.ts.map +1 -1
  185. package/dist/types/utils/coalesce.d.ts +3 -0
  186. package/dist/types/utils/coalesce.d.ts.map +1 -0
  187. package/dist/types/utils/constants.d.ts +6 -0
  188. package/dist/types/utils/constants.d.ts.map +1 -0
  189. package/dist/types/utils/deepEqual.d.ts.map +1 -1
  190. package/dist/types/utils/intersection.d.ts +4 -0
  191. package/dist/types/utils/intersection.d.ts.map +1 -0
  192. package/dist/types/utils/keys.d.ts +5 -0
  193. package/dist/types/utils/keys.d.ts.map +1 -0
  194. package/dist/types/utils/shallowEqual.d.ts.map +1 -1
  195. package/dist/types/utils/shallowMerge.d.ts +2 -0
  196. package/dist/types/utils/shallowMerge.d.ts.map +1 -0
  197. package/package.json +12 -3
  198. package/prop-controllers.js +1 -0
  199. package/react.js +1 -0
@@ -0,0 +1,18 @@
1
+ import { Value, ValueJSON } from 'slate';
2
+ import { Editor } from 'slate-react';
3
+ import { Controller } from '@makeswift/builder';
4
+ export declare function useRichText(controller?: Controller<ValueJSON> | {
5
+ id?: null;
6
+ value?: ValueJSON;
7
+ }): <P extends Record<string, unknown>>(props: P) => P & {
8
+ key: number;
9
+ ref: import("react").Dispatch<import("react").SetStateAction<Editor | null>>;
10
+ placeholder: string;
11
+ readOnly: boolean;
12
+ value: Value;
13
+ onChange: ({ value: nextEditorValue }: {
14
+ value: Value;
15
+ }) => void;
16
+ onFocus: () => void;
17
+ };
18
+ //# sourceMappingURL=useRichText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRichText.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useRichText.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAKL,UAAU,EACX,MAAM,oBAAoB,CAAA;AAa3B,wBAAgB,WAAW,CACzB,UAAU,GAAE,UAAU,CAAC,SAAS,CAAC,GAAG;IAAE,EAAE,CAAC,EAAE,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,SAAS,CAAA;CAAO;;;;;;;eA8Id,KAAK;;;EA8CjE"}
@@ -0,0 +1,24 @@
1
+ import type { ColorValue } from '../utils/types';
2
+ import type { Length as LengthValue } from '../../prop-controllers';
3
+ import { DeviceOverride } from '../../prop-controllers';
4
+ export declare type TypographyStyleValue = {
5
+ fontFamily?: string;
6
+ fontWeight?: number;
7
+ fontSize?: LengthValue;
8
+ color?: ColorValue;
9
+ textAlign?: string;
10
+ lineHeight?: number;
11
+ letterSpacing?: number;
12
+ uppercase?: boolean;
13
+ underline?: boolean;
14
+ strikethrough?: boolean;
15
+ italic?: boolean;
16
+ };
17
+ export declare type TypographyStyle = Array<DeviceOverride<TypographyStyleValue>>;
18
+ export declare type Typography = {
19
+ id: string;
20
+ name: string;
21
+ style: TypographyStyle;
22
+ };
23
+ export declare function useTypography(typographyId: string | null | undefined): Typography | null | undefined;
24
+ //# sourceMappingURL=useTypography.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTypography.d.ts","sourceRoot":"","sources":["../../../../src/components/hooks/useTypography.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAChD,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAGvD,oBAAY,oBAAoB,GAAG;IACjC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,oBAAY,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,CAAA;AAEzE,oBAAY,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,eAAe,CAAA;CACvB,CAAA;AAED,wBAAgB,aAAa,CAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACtC,UAAU,GAAG,IAAI,GAAG,SAAS,CAS/B"}
@@ -1,9 +1,3 @@
1
- export { default as Root } from './Root';
2
- export { default as Box } from './Box';
3
- export { default as Carousel } from './Carousel';
4
- export { default as Countdown } from './Countdown';
5
- export { default as Divider } from './Divider';
6
- export { default as Embed } from './Embed';
7
- export { default as Image } from './Image';
8
- export * from './Box';
1
+ export * from './builtin';
2
+ export * from './utils/cssMediaRules';
9
3
  //# 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,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,cAAc,OAAO,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,uBAAuB,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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/Link/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwC,UAAU,EAAE,MAAM,OAAO,CAAA;AAIxE,OAAO,EAAE,SAAS,IAAI,uBAAuB,EAAE,MAAM,uCAAuC,CAAA;AAI5F,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,24 @@
1
+ /// <reference types="react" />
2
+ declare const _default: import("react").ForwardRefExoticComponent<(Pick<Pick<{
3
+ [x: string]: any;
4
+ [x: number]: any;
5
+ [x: symbol]: any;
6
+ } & {
7
+ theme?: any;
8
+ } & {
9
+ as?: string | import("react").ComponentType<any> | undefined;
10
+ forwardedAs?: string | import("react").ComponentType<any> | undefined;
11
+ }, string | number | symbol>, string | number | symbol> | Pick<Pick<{
12
+ [x: string]: any;
13
+ [x: number]: any;
14
+ [x: symbol]: any;
15
+ } & {
16
+ theme?: any;
17
+ } & {
18
+ children?: import("react").ReactNode;
19
+ } & {
20
+ as?: string | import("react").ComponentType<any> | undefined;
21
+ forwardedAs?: string | import("react").ComponentType<any> | undefined;
22
+ }, string | number | symbol>, string | number | symbol>) & import("react").RefAttributes<HTMLDivElement>>;
23
+ export default _default;
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/RichTextEditor/components/Block/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmCA,wBAKE"}
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import type { LinkPropControllerValue } from '../../../../prop-controllers';
3
+ declare type BaseProps = {
4
+ link?: LinkPropControllerValue;
5
+ onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => unknown;
6
+ };
7
+ declare const _default: React.ForwardRefExoticComponent<BaseProps & Omit<Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof React.AnchorHTMLAttributes<HTMLAnchorElement>>, keyof BaseProps> & React.RefAttributes<HTMLAnchorElement>>;
8
+ export default _default;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/RichTextEditor/components/Link/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAG3E,aAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,uBAAuB,CAAA;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,OAAO,CAAA;CAClE,CAAA;;AAID,wBA2GE"}
@@ -0,0 +1,23 @@
1
+ import { DeviceOverride, Color, LengthValue } from '../../../../../services';
2
+ import { TypographyStyle } from '../../../../../hooks';
3
+ export declare type TypographyMarkDataValue = {
4
+ fontWeight?: number;
5
+ fontSize?: LengthValue;
6
+ fontFamily?: string;
7
+ color?: Color;
8
+ textAlign?: string;
9
+ lineHeight?: number;
10
+ letterSpacing?: number;
11
+ uppercase?: boolean;
12
+ italic?: boolean;
13
+ underline?: boolean;
14
+ strikethrough?: boolean;
15
+ };
16
+ export declare type TypographyMarkValue = {
17
+ id: string | null | undefined;
18
+ style: TypographyStyle;
19
+ };
20
+ export declare type TypographyMarkData = Array<DeviceOverride<TypographyMarkDataValue>>;
21
+ export declare const overrideTypographyStyle: <A>(source: DeviceOverride<A>[], override: DeviceOverride<A>[]) => DeviceOverride<A>[];
22
+ export default function useTypographyMark(value: TypographyMarkValue | null | undefined): TypographyMarkData | null | undefined;
23
+ //# sourceMappingURL=useTypographyMark.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTypographyMark.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/shared/RichTextEditor/components/Mark/hooks/useTypographyMark.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAsB,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAEhG,OAAO,EAAiB,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAErE,oBAAY,uBAAuB,GAAG;IACpC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAED,oBAAY,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IAC7B,KAAK,EAAE,eAAe,CAAA;CACvB,CAAA;AAED,oBAAY,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAAC,CAAA;AAqB/E,eAAO,MAAM,uBAAuB,wFAanC,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACvC,KAAK,EAAE,mBAAmB,GAAG,IAAI,GAAG,SAAS,GAC5C,kBAAkB,GAAG,IAAI,GAAG,SAAS,CAuBvC"}
@@ -0,0 +1,13 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { TypographyMarkValue, TypographyMarkData, overrideTypographyStyle } from './hooks/useTypographyMark';
3
+ export type { TypographyMarkValue };
4
+ export { overrideTypographyStyle };
5
+ declare const Span: import("styled-components").StyledComponent<"span", any, {
6
+ typographyStyle: TypographyMarkData | null | undefined;
7
+ }, never>;
8
+ declare type BaseProps = {
9
+ value: TypographyMarkValue;
10
+ };
11
+ declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof Span>, keyof BaseProps>;
12
+ export default function Mark({ value, ...restOfProps }: Props): JSX.Element;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/shared/RichTextEditor/components/Mark/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAA;AAGhD,OAA0B,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,uBAAuB,EAExB,MAAM,2BAA2B,CAAA;AAKlC,YAAY,EAAE,mBAAmB,EAAE,CAAA;AACnC,OAAO,EAAE,uBAAuB,EAAE,CAAA;AAElC,QAAA,MAAM,IAAI;qBAAkC,kBAAkB,GAAG,IAAI,GAAG,SAAS;SA+EhF,CAAA;AAED,aAAK,SAAS,GAAG;IAAE,KAAK,EAAE,mBAAmB,CAAA;CAAE,CAAA;AAE/C,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,IAAI,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;AAErF,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAI1E"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { Editor as SlateEditor } from 'slate-react';
3
+ export { overrideTypographyStyle } from './components/Mark';
4
+ export declare const RichTextEditor: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("slate-react").BasicEditorProps<SlateEditor> & import("slate-react").Plugin<SlateEditor> & import("react").RefAttributes<SlateEditor>>, any, {}, never>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shared/RichTextEditor/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,aAAa,CAAA;AAcnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAU3D,eAAO,MAAM,cAAc,sPA0B1B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'slate-react';
2
+ export default function DeviceOverridesBlockPlugin(): Plugin;
3
+ //# sourceMappingURL=DeviceOverridesBlocks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeviceOverridesBlocks.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/RichTextEditor/plugins/DeviceOverridesBlocks.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAQpC,MAAM,CAAC,OAAO,UAAU,0BAA0B,IAAI,MAAM,CAuN3D"}
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'slate-react';
2
+ export default function DeviceOverridesMarksPlugin(): Plugin;
3
+ //# sourceMappingURL=DeviceOverridesMarks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeviceOverridesMarks.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/RichTextEditor/plugins/DeviceOverridesMarks.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAU,MAAM,aAAa,CAAA;AA6C5C,MAAM,CAAC,OAAO,UAAU,0BAA0B,IAAI,MAAM,CAqP3D"}
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'slate-react';
2
+ export default function Inlines(): Plugin;
3
+ //# sourceMappingURL=Inlines.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Inlines.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/RichTextEditor/plugins/Inlines.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAEpC,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,MAAM,CAwBxC"}
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'slate-react';
2
+ export default function LinkPlugin(): Plugin;
3
+ //# sourceMappingURL=Link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../../../src/components/shared/RichTextEditor/plugins/Link.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AASpC,MAAM,CAAC,OAAO,UAAU,UAAU,IAAI,MAAM,CAqC3C"}
@@ -0,0 +1,5 @@
1
+ export declare const EditModes: {
2
+ readonly BUILD: "BUILD";
3
+ readonly CONTENT: "CONTENT";
4
+ };
5
+ //# sourceMappingURL=contants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contants.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/contants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;CAGZ,CAAA"}
@@ -2,7 +2,7 @@ import { css, CSSObject } from 'styled-components';
2
2
  import { WidthProperty, MarginTopProperty, MarginRightProperty, MarginBottomProperty, MarginLeftProperty, PaddingTopProperty, PaddingRightProperty, PaddingBottomProperty, PaddingLeftProperty, BorderTopLeftRadiusProperty, BorderTopRightRadiusProperty, BorderBottomLeftRadiusProperty, BorderBottomRightRadiusProperty } from 'csstype';
3
3
  import { ResponsiveValue, ResponsiveValueType as ExtractResponsiveValue, Length as LengthValue } from '../../prop-controllers';
4
4
  import { FallbackStrategy } from './devices';
5
- import { BorderRadiusValue, MarginValue, PaddingValue, WidthValue } from '../../prop-controllers/descriptors';
5
+ import { BorderRadiusValue, MarginValue, PaddingValue, TextStyleValue, WidthValue } from '../../prop-controllers/descriptors';
6
6
  import { BorderSide, BorderPropControllerData, BoxShadowData, BoxShadowPropControllerData } from '../hooks';
7
7
  declare type CSSRules = ReturnType<typeof css>;
8
8
  export declare function cssMediaRules<V, A extends ReadonlyArray<ResponsiveValue<V> | null | undefined>, P>(responsiveValues: A | ((props: P) => A), join: (values: {
@@ -55,5 +55,15 @@ export declare function cssGridItem(): (props: {
55
55
  columnGap?: ResponsiveValue<LengthValue>;
56
56
  rowGap?: ResponsiveValue<LengthValue>;
57
57
  }) => CSSRules;
58
+ export declare function cssTextStyle(defaultValue?: {
59
+ fontFamily?: string | null | undefined;
60
+ letterSpacing: number | null | undefined;
61
+ fontSize: LengthValue | null | undefined;
62
+ fontWeight: number | null | undefined;
63
+ textTransform: Array<'uppercase'>;
64
+ fontStyle: Array<'italic'>;
65
+ }): (arg0: {
66
+ textStyle?: TextStyleValue | null | undefined;
67
+ }) => CSSRules;
58
68
  export {};
59
69
  //# sourceMappingURL=cssMediaRules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cssMediaRules.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/cssMediaRules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EACL,aAAa,EAEb,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAElB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EAEnB,2BAA2B,EAC3B,4BAA4B,EAC5B,8BAA8B,EAC9B,+BAA+B,EAChC,MAAM,SAAS,CAAA;AAEhB,OAAO,EACL,eAAe,EACf,mBAAmB,IAAI,sBAAsB,EAC7C,MAAM,IAAI,WAAW,EACtB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,gBAAgB,EAIjB,MAAM,WAAW,CAAA;AAElB,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,UAAU,EACX,MAAM,oCAAoC,CAAA;AAE3C,OAAO,EACL,UAAU,EACV,wBAAwB,EACxB,aAAa,EACb,2BAA2B,EAC5B,MAAM,UAAU,CAAA;AAEjB,aAAK,QAAQ,GAAG,UAAU,CAAC,OAAO,GAAG,CAAC,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IACrC,IAAI,EAAE,eAAe,CAAC;QAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACrE,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;IACxC,MAAM,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;CACtC,KAAK,QAAQ,CA0Cb;AAED,wBAAgB,YAAY,CAC1B,YAAY,GAAE;IACZ,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACxC,QAAQ,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,CAAA;IACxC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;IACrC,aAAa,EAAE,KAAK,CAAC,WAAW,CAAC,CAAA;IACjC,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAA;CAQ3B,GACA,CAAC,IAAI,EAAE;IAAE,SAAS,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,SAAS,CAAA;CAAE,KAAK,QAAQ,CA8CvE"}
@@ -0,0 +1,4 @@
1
+ export default function intersection<A extends Record<string, unknown>, B extends A>(a: A, b: B, isEqual?: (a: unknown, b: unknown) => boolean): {
2
+ [K in keyof A]: A[K] | null;
3
+ };
4
+ //# sourceMappingURL=intersection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intersection.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/intersection.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,SAAS,CAAC,EACjF,CAAC,EAAE,CAAC,EACJ,CAAC,EAAE,CAAC,EACJ,OAAO,GAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,KAAK,OAAmB,GACvD;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI;CAAE,CASjC"}
@@ -0,0 +1,5 @@
1
+ declare const keys: <O extends {
2
+ [key: string]: unknown;
3
+ }>(o: O) => (keyof O)[];
4
+ export default keys;
5
+ //# sourceMappingURL=keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/keys.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,IAAI;;uBAA8E,CAAA;AAExF,eAAe,IAAI,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"placeholders.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/placeholders.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;CAMxB,CAAA"}
1
+ {"version":3,"file":"placeholders.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/placeholders.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;CAKxB,CAAA"}
@@ -1,5 +1,5 @@
1
- export declare const SWATCHES_BY_ID: DocumentNode;
2
- export declare const FILE_BY_ID: DocumentNode;
3
- export declare const FILES_BY_ID: DocumentNode;
4
- export declare const PAGE_PATHNAMES_BY_ID: DocumentNode;
1
+ export declare const SWATCHES_BY_ID: import("@apollo/client").DocumentNode;
2
+ export declare const FILE_BY_ID: import("@apollo/client").DocumentNode;
3
+ export declare const FILES_BY_ID: import("@apollo/client").DocumentNode;
4
+ export declare const PAGE_PATHNAMES_BY_ID: import("@apollo/client").DocumentNode;
5
5
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/queries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,cAS1B,CAAA;AAED,eAAO,MAAM,UAAU,cAatB,CAAA;AAED,eAAO,MAAM,WAAW,cAavB,CAAA;AAED,eAAO,MAAM,oBAAoB,cAOhC,CAAA"}
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/components/utils/queries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,uCAS1B,CAAA;AAED,eAAO,MAAM,UAAU,uCAatB,CAAA;AAED,eAAO,MAAM,WAAW,uCAavB,CAAA;AAED,eAAO,MAAM,oBAAoB,uCAOhC,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { Descriptor } from './descriptors';
2
+ declare type Send<T> = (message: T) => void;
3
+ export declare abstract class PropController<T = unknown> {
4
+ protected send: Send<T>;
5
+ constructor(send: Send<T>);
6
+ abstract recv(message: T): void;
7
+ }
8
+ export declare function createPropController(descriptor: Descriptor, send: (message: unknown) => void): PropController;
9
+ export {};
10
+ //# sourceMappingURL=instances.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instances.d.ts","sourceRoot":"","sources":["../../../src/prop-controllers/instances.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,aAAK,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAA;AAEnC,8BAAsB,cAAc,CAAC,CAAC,GAAG,OAAO;IAC9C,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;gBAEX,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;IAIzB,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,GAAG,IAAI;CAChC;AAQD,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,GAC/B,cAAc,CAKhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/runtimes/react.tsx"],"names":[],"mappings":"AAAA,OA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AM,YAAY;;cAYV,MAAM;eAAS,MAAM;;;;QAC/B,MAAM,IAAI;CAcd,CAAA;AAID,aAAK,oBAAoB,GAAG;IAC1B,mBAAmB,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IACpD,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAED,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,mBAAmB,GACpB,EAAE,oBAAoB,GAAG,GAAG,CAAC,OAAO,CAwCpC;AAoBD,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAQjF;AAMD,wBAAgB,cAAc,IAAI,OAAO,CAExC;AAwDD,aAAK,YAAY,GAAG;IAClB,OAAO,EAAE,SAAS,CAAC,OAAO,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,OAAO,oDAuBlB,CAAA;AAEF,aAAK,aAAa,GAAG;IACnB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,QAAQ,qDAmBnB,CAAA"}
@@ -5,6 +5,8 @@ import type { ThunkAction } from 'redux-thunk';
5
5
  import { ComponentMeta } from './modules/components-meta';
6
6
  import { PropControllerDescriptor } from '../prop-controllers';
7
7
  import type { Size } from './react-builder-preview';
8
+ import type { PropControllersHandle } from './modules/prop-controller-handles';
9
+ import type { PropController } from '../prop-controllers/instances';
8
10
  export declare const ActionTypes: {
9
11
  readonly CHANGE_DOCUMENT: "CHANGE_DOCUMENT";
10
12
  readonly REGISTER_COMPONENT: "REGISTER_COMPONENT";
@@ -13,12 +15,19 @@ export declare const ActionTypes: {
13
15
  readonly UNREGISTER_REACT_COMPONENT: "UNREGISTER_REACT_COMPONENT";
14
16
  readonly MOUNT_COMPONENT: "MOUNT_COMPONENT";
15
17
  readonly UNMOUNT_COMPONENT: "UNMOUNT_COMPONENT";
16
- readonly CHANGE_COMPONENT_HANDLE: "CHANGE_COMPONENT_HANDLE";
18
+ readonly REGISTER_COMPONENT_HANDLE: "REGISTER_COMPONENT_HANDLE";
19
+ readonly UNREGISTER_COMPONENT_HANDLE: "UNREGISTER_COMPONENT_HANDLE";
17
20
  readonly REGISTER_MEASURABLE: "REGISTER_MEASURABLE";
18
21
  readonly UNREGISTER_MEASURABLE: "UNREGISTER_MEASURABLE";
19
22
  readonly CHANGE_ELEMENT_BOX_MODELS: "CHANGE_ELEMENT_BOX_MODELS";
20
23
  readonly CHANGE_DOCUMENT_ELEMENT_SIZE: "CHANGE_DOCUMENT_ELEMENT_SIZE";
21
24
  readonly CHANGE_DOCUMENT_ELEMENT_SCROLL_TOP: "CHANGE_DOCUMENT_ELEMENT_SCROLL_TOP";
25
+ readonly REGISTER_PROP_CONTROLLERS_HANDLE: "REGISTER_PROP_CONTROLLERS_HANDLE";
26
+ readonly UNREGISTER_PROP_CONTROLLERS_HANDLE: "UNREGISTER_PROP_CONTROLLERS_HANDLE";
27
+ readonly REGISTER_PROP_CONTROLLERS: "REGISTER_PROP_CONTROLLERS";
28
+ readonly UNREGISTER_PROP_CONTROLLERS: "UNREGISTER_PROP_CONTROLLERS";
29
+ readonly MESSAGE_HOST_PROP_CONTROLLER: "MESSAGE_HOST_PROP_CONTROLLER";
30
+ readonly MESSAGE_BUILDER_PROP_CONTROLLER: "MESSAGE_BUILDER_PROP_CONTROLLER";
22
31
  };
23
32
  declare type ChangeDocumentAction = {
24
33
  type: typeof ActionTypes.CHANGE_DOCUMENT;
@@ -57,25 +66,36 @@ declare type UnregisterReactComponentAction = {
57
66
  declare type MountComponentAction = {
58
67
  type: typeof ActionTypes.MOUNT_COMPONENT;
59
68
  payload: {
69
+ documentKey: string;
60
70
  elementKey: string;
61
71
  };
62
72
  };
63
73
  declare type UnmountComponentAction = {
64
74
  type: typeof ActionTypes.UNMOUNT_COMPONENT;
65
75
  payload: {
76
+ documentKey: string;
66
77
  elementKey: string;
67
78
  };
68
79
  };
69
- declare type ChangeComponentHandleAction = {
70
- type: typeof ActionTypes.CHANGE_COMPONENT_HANDLE;
80
+ declare type RegisterComponentHandleAction = {
81
+ type: typeof ActionTypes.REGISTER_COMPONENT_HANDLE;
71
82
  payload: {
83
+ documentKey: string;
72
84
  elementKey: string;
73
85
  componentHandle: unknown;
74
86
  };
75
87
  };
88
+ declare type UnregisterComponentHandleAction = {
89
+ type: typeof ActionTypes.UNREGISTER_COMPONENT_HANDLE;
90
+ payload: {
91
+ documentKey: string;
92
+ elementKey: string;
93
+ };
94
+ };
76
95
  declare type RegisterMeasurableAction = {
77
96
  type: typeof ActionTypes.REGISTER_MEASURABLE;
78
97
  payload: {
98
+ documentKey: string;
79
99
  elementKey: string;
80
100
  measurable: Measurable;
81
101
  };
@@ -83,13 +103,14 @@ declare type RegisterMeasurableAction = {
83
103
  declare type UnregisterMeasurableAction = {
84
104
  type: typeof ActionTypes.UNREGISTER_MEASURABLE;
85
105
  payload: {
106
+ documentKey: string;
86
107
  elementKey: string;
87
108
  };
88
109
  };
89
110
  declare type ChangeElementBoxModelsAction = {
90
111
  type: typeof ActionTypes.CHANGE_ELEMENT_BOX_MODELS;
91
112
  payload: {
92
- changedElementBoxModels: Map<string, BoxModel | null>;
113
+ changedElementBoxModels: Map<string, Map<string, BoxModel | null>>;
93
114
  };
94
115
  };
95
116
  declare type ChangeDocumentElementSizeAction = {
@@ -104,21 +125,75 @@ declare type ChangeDocumentElementScrollTopAction = {
104
125
  scrollTop: number;
105
126
  };
106
127
  };
107
- export declare type Action = ChangeDocumentAction | RegisterComponentAction | UnregisterComponentAction | RegisterReactComponentAction | UnregisterReactComponentAction | MountComponentAction | UnmountComponentAction | ChangeComponentHandleAction | RegisterMeasurableAction | UnregisterMeasurableAction | ChangeElementBoxModelsAction | ChangeDocumentElementSizeAction | ChangeDocumentElementScrollTopAction;
128
+ declare type RegisterPropControllersHandleAction = {
129
+ type: typeof ActionTypes.REGISTER_PROP_CONTROLLERS_HANDLE;
130
+ payload: {
131
+ documentKey: string;
132
+ elementKey: string;
133
+ handle: PropControllersHandle;
134
+ };
135
+ };
136
+ declare type UnregisterPropControllersHandleAction = {
137
+ type: typeof ActionTypes.UNREGISTER_PROP_CONTROLLERS_HANDLE;
138
+ payload: {
139
+ documentKey: string;
140
+ elementKey: string;
141
+ };
142
+ };
143
+ declare type RegisterPropControllersAction = {
144
+ type: typeof ActionTypes.REGISTER_PROP_CONTROLLERS;
145
+ payload: {
146
+ documentKey: string;
147
+ elementKey: string;
148
+ propControllers: Record<string, PropController>;
149
+ };
150
+ };
151
+ declare type UnregisterPropControllersAction = {
152
+ type: typeof ActionTypes.UNREGISTER_PROP_CONTROLLERS;
153
+ payload: {
154
+ documentKey: string;
155
+ elementKey: string;
156
+ };
157
+ };
158
+ declare type MessageHostPropControllerAction<T = unknown> = {
159
+ type: typeof ActionTypes.MESSAGE_HOST_PROP_CONTROLLER;
160
+ payload: {
161
+ documentKey: string;
162
+ elementKey: string;
163
+ propName: string;
164
+ message: T;
165
+ };
166
+ };
167
+ declare type MessageBuilderPropControllerAction<T = unknown> = {
168
+ type: typeof ActionTypes.MESSAGE_BUILDER_PROP_CONTROLLER;
169
+ payload: {
170
+ documentKey: string;
171
+ elementKey: string;
172
+ propName: string;
173
+ message: T;
174
+ };
175
+ };
176
+ export declare type Action = ChangeDocumentAction | RegisterComponentAction | UnregisterComponentAction | RegisterReactComponentAction | UnregisterReactComponentAction | MountComponentAction | UnmountComponentAction | RegisterComponentHandleAction | UnregisterComponentHandleAction | RegisterMeasurableAction | UnregisterMeasurableAction | ChangeElementBoxModelsAction | ChangeDocumentElementSizeAction | ChangeDocumentElementScrollTopAction | RegisterPropControllersHandleAction | UnregisterPropControllersHandleAction | RegisterPropControllersAction | UnregisterPropControllersAction | MessageHostPropControllerAction | MessageBuilderPropControllerAction;
108
177
  export declare function changeDocument(documentKey: string, operation: Operation): ChangeDocumentAction;
109
178
  export declare function registerComponent(type: string, meta: ComponentMeta, propControllerDescriptors: Record<string, PropControllerDescriptor>): RegisterComponentAction;
110
179
  export declare function unregisterComponent(type: string): UnregisterComponentAction;
111
180
  export declare function registerComponentEffect(type: string, meta: ComponentMeta, propControllerDescriptors: Record<string, PropControllerDescriptor>): ThunkAction<() => void, unknown, unknown, Action>;
112
181
  export declare function registerReactComponentEffect(type: string, component: ComponentType): ThunkAction<() => void, unknown, unknown, Action>;
113
- export declare function mountComponent(elementKey: string): MountComponentAction;
114
- export declare function unmountComponent(elementKey: string): UnmountComponentAction;
115
- export declare function mountComponentEffect(elementKey: string): ThunkAction<() => void, unknown, unknown, Action>;
116
- export declare function changeComponentHandle(elementKey: string, componentHandle: unknown): ChangeComponentHandleAction;
117
- export declare function registerMeasurable(elementKey: string, measurable: Measurable): RegisterMeasurableAction;
118
- export declare function unregisterMeasurable(elementKey: string): UnregisterMeasurableAction;
119
- export declare function registerMeasurableEffect(elementKey: string, measurable: Measurable): ThunkAction<() => void, unknown, unknown, Action>;
120
- export declare function changeElementBoxModels(changedElementBoxModels: Map<string, BoxModel | null>): ChangeElementBoxModelsAction;
182
+ export declare function mountComponent(documentKey: string, elementKey: string): MountComponentAction;
183
+ export declare function unmountComponent(documentKey: string, elementKey: string): UnmountComponentAction;
184
+ export declare function mountComponentEffect(documentKey: string, elementKey: string): ThunkAction<() => void, unknown, unknown, Action>;
185
+ export declare function registerComponentHandleEffect(documentKey: string, elementKey: string, componentHandle: unknown): ThunkAction<() => void, unknown, unknown, Action>;
186
+ export declare function registerMeasurable(documentKey: string, elementKey: string, measurable: Measurable): RegisterMeasurableAction;
187
+ export declare function unregisterMeasurable(documentKey: string, elementKey: string): UnregisterMeasurableAction;
188
+ export declare function registerMeasurableEffect(documentKey: string, elementKey: string, measurable: Measurable): ThunkAction<() => void, unknown, unknown, Action>;
189
+ export declare function changeElementBoxModels(changedElementBoxModels: Map<string, Map<string, BoxModel | null>>): ChangeElementBoxModelsAction;
121
190
  export declare function changeDocumentElementSize(size: Size): ChangeDocumentElementSizeAction;
122
191
  export declare function changeDocumentElementScrollTop(scrollTop: number): ChangeDocumentElementScrollTopAction;
192
+ export declare function registerPropControllersHandle(documentKey: string, elementKey: string, handle: PropControllersHandle): RegisterPropControllersHandleAction;
193
+ export declare function unregisterPropControllersHandle(documentKey: string, elementKey: string): UnregisterPropControllersHandleAction;
194
+ export declare function registerPropControllers(documentKey: string, elementKey: string, propControllers: Record<string, PropController>): RegisterPropControllersAction;
195
+ export declare function unregisterPropControllers(documentKey: string, elementKey: string): UnregisterPropControllersAction;
196
+ export declare function messageHostPropController<T>(documentKey: string, elementKey: string, propName: string, message: T): MessageHostPropControllerAction<T>;
197
+ export declare function messageBuilderPropController<T>(documentKey: string, elementKey: string, propName: string, message: T): MessageBuilderPropControllerAction<T>;
123
198
  export {};
124
199
  //# sourceMappingURL=actions.d.ts.map