@makeswift/runtime 0.0.0-9644b1f → 0.0.0-af7286d

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 (97) hide show
  1. package/dist/components.cjs.js +6763 -3437
  2. package/dist/components.cjs.js.map +1 -1
  3. package/dist/components.es.js +6265 -2935
  4. package/dist/components.es.js.map +1 -1
  5. package/dist/react-builder-preview.cjs.js.map +1 -1
  6. package/dist/react-builder-preview.es.js.map +1 -1
  7. package/dist/react.cjs2.js.map +1 -1
  8. package/dist/react.es2.js.map +1 -1
  9. package/dist/types/components/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -1
  10. package/dist/types/components/Box/Box.d.ts.map +1 -1
  11. package/dist/types/components/RichText/index.d.ts +5 -0
  12. package/dist/types/components/RichText/index.d.ts.map +1 -0
  13. package/dist/types/components/builtin/Box/Box.d.ts +30 -0
  14. package/dist/types/components/builtin/Box/Box.d.ts.map +1 -0
  15. package/dist/types/components/builtin/Box/animations.d.ts +69 -0
  16. package/dist/types/components/builtin/Box/animations.d.ts.map +1 -0
  17. package/dist/types/components/builtin/Box/components/Placeholder/index.d.ts +7 -0
  18. package/dist/types/components/builtin/Box/components/Placeholder/index.d.ts.map +1 -0
  19. package/dist/types/components/builtin/Box/index.d.ts +3 -0
  20. package/dist/types/components/builtin/Box/index.d.ts.map +1 -0
  21. package/dist/types/components/builtin/Button/Button.d.ts +115 -0
  22. package/dist/types/components/builtin/Button/Button.d.ts.map +1 -0
  23. package/dist/types/components/builtin/Button/index.d.ts +2 -0
  24. package/dist/types/components/builtin/Button/index.d.ts.map +1 -0
  25. package/dist/types/components/builtin/Carousel/Carousel.d.ts +25 -0
  26. package/dist/types/components/builtin/Carousel/Carousel.d.ts.map +1 -0
  27. package/dist/types/components/builtin/Carousel/index.d.ts +2 -0
  28. package/dist/types/components/builtin/Carousel/index.d.ts.map +1 -0
  29. package/dist/types/components/builtin/Countdown/Countdown.d.ts +24 -0
  30. package/dist/types/components/builtin/Countdown/Countdown.d.ts.map +1 -0
  31. package/dist/types/components/builtin/Countdown/index.d.ts +2 -0
  32. package/dist/types/components/builtin/Countdown/index.d.ts.map +1 -0
  33. package/dist/types/components/builtin/Divider/Divider.d.ts +14 -0
  34. package/dist/types/components/builtin/Divider/Divider.d.ts.map +1 -0
  35. package/dist/types/components/builtin/Divider/index.d.ts +2 -0
  36. package/dist/types/components/builtin/Divider/index.d.ts.map +1 -0
  37. package/dist/types/components/builtin/Embed/Embed.d.ts +11 -0
  38. package/dist/types/components/builtin/Embed/Embed.d.ts.map +1 -0
  39. package/dist/types/components/builtin/Embed/index.d.ts +2 -0
  40. package/dist/types/components/builtin/Embed/index.d.ts.map +1 -0
  41. package/dist/types/components/builtin/Image/Image.d.ts +26 -0
  42. package/dist/types/components/builtin/Image/Image.d.ts.map +1 -0
  43. package/dist/types/components/builtin/Image/index.d.ts +2 -0
  44. package/dist/types/components/builtin/Image/index.d.ts.map +1 -0
  45. package/dist/types/components/builtin/Navigation/Navigation.d.ts +23 -0
  46. package/dist/types/components/builtin/Navigation/Navigation.d.ts.map +1 -0
  47. package/dist/types/components/builtin/Navigation/components/DropDownButton/index.d.ts +100 -0
  48. package/dist/types/components/builtin/Navigation/components/DropDownButton/index.d.ts.map +1 -0
  49. package/dist/types/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts +8 -0
  50. package/dist/types/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts.map +1 -0
  51. package/dist/types/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts +101 -0
  52. package/dist/types/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts.map +1 -0
  53. package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts +13 -0
  54. package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts.map +1 -0
  55. package/dist/types/components/builtin/Navigation/index.d.ts +2 -0
  56. package/dist/types/components/builtin/Navigation/index.d.ts.map +1 -0
  57. package/dist/types/components/builtin/Root/Root.d.ts +11 -0
  58. package/dist/types/components/builtin/Root/Root.d.ts.map +1 -0
  59. package/dist/types/components/builtin/Root/components/Placeholder/index.d.ts +5 -0
  60. package/dist/types/components/builtin/Root/components/Placeholder/index.d.ts.map +1 -0
  61. package/dist/types/components/builtin/Root/index.d.ts +2 -0
  62. package/dist/types/components/builtin/Root/index.d.ts.map +1 -0
  63. package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts +18 -0
  64. package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts.map +1 -0
  65. package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts +8 -0
  66. package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts.map +1 -0
  67. package/dist/types/components/builtin/SocialLinks/index.d.ts +2 -0
  68. package/dist/types/components/builtin/SocialLinks/index.d.ts.map +1 -0
  69. package/dist/types/components/builtin/SocialLinks/options.d.ts +113 -0
  70. package/dist/types/components/builtin/SocialLinks/options.d.ts.map +1 -0
  71. package/dist/types/components/builtin/index.d.ts +11 -0
  72. package/dist/types/components/builtin/index.d.ts.map +1 -0
  73. package/dist/types/components/index.d.ts +1 -8
  74. package/dist/types/components/index.d.ts.map +1 -1
  75. package/dist/types/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts +11 -0
  76. package/dist/types/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts.map +1 -0
  77. package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts +8 -0
  78. package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -0
  79. package/dist/types/components/shared/BackgroundsContainer/components/Parallax/index.d.ts +11 -0
  80. package/dist/types/components/shared/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -0
  81. package/dist/types/components/shared/BackgroundsContainer/index.d.ts +11 -0
  82. package/dist/types/components/shared/BackgroundsContainer/index.d.ts.map +1 -0
  83. package/dist/types/components/shared/GutterContainer/index.d.ts +8 -0
  84. package/dist/types/components/shared/GutterContainer/index.d.ts.map +1 -0
  85. package/dist/types/components/shared/Link/index.d.ts +9 -0
  86. package/dist/types/components/shared/Link/index.d.ts.map +1 -0
  87. package/dist/types/components/utils/cssMediaRules.d.ts +11 -1
  88. package/dist/types/components/utils/cssMediaRules.d.ts.map +1 -1
  89. package/dist/types/components/utils/placeholders.d.ts.map +1 -1
  90. package/dist/types/prop-controllers/instances.d.ts +10 -0
  91. package/dist/types/prop-controllers/instances.d.ts.map +1 -0
  92. package/dist/types/state/modules/prop-controller-handles.d.ts +20 -0
  93. package/dist/types/state/modules/prop-controller-handles.d.ts.map +1 -0
  94. package/dist/types/state/react-builder-preview.d.ts.map +1 -1
  95. package/dist/types/utils/deepEqual.d.ts.map +1 -1
  96. package/dist/types/utils/shallowEqual.d.ts.map +1 -1
  97. package/package.json +5 -1
@@ -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,9 +1,2 @@
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';
9
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,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"}
@@ -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"}
@@ -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,aAA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AG,IAAI,GAAG,SAAS,CAAA;CAAE,KAAK,QAAQ,CASrF;AAOD,wBAAgB,WAAW,IAAI,CAAC,KAAK,EAAE;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"}
@@ -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"}
@@ -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"}
@@ -0,0 +1,20 @@
1
+ import type { Dispatch as ReactDispatch, SetStateAction } from 'react';
2
+ import { Action } from '../actions';
3
+ import type { Data } from './read-only-documents';
4
+ import { PropController } from '../../prop-controllers/instances';
5
+ export declare type PropsPropControllers<T extends Record<string, Data> = Record<string, Data>> = {
6
+ [K in keyof T]: PropController;
7
+ };
8
+ export interface PropControllersHandle<T extends Record<string, Data> = Record<string, Data>> {
9
+ setPropControllers: ReactDispatch<SetStateAction<PropsPropControllers<T> | null>>;
10
+ }
11
+ export declare function isPropControllersHandle(value: unknown): value is PropControllersHandle;
12
+ export declare type State = {
13
+ handles: Map<string, Map<string, PropControllersHandle>>;
14
+ instances: Map<string, Map<string, Record<string, PropController>>>;
15
+ };
16
+ export declare function getInitialState(): State;
17
+ export declare function getPropControllersHandle(state: State, documentKey: string, elementKey: string): PropControllersHandle | null;
18
+ export declare function getPropController(state: State, documentKey: string, elementKey: string, propName: string): PropController | null;
19
+ export declare function reducer(state: State | undefined, action: Action): State;
20
+ //# sourceMappingURL=prop-controller-handles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prop-controller-handles.d.ts","sourceRoot":"","sources":["../../../../src/state/modules/prop-controller-handles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,IAAI,aAAa,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEtE,OAAO,EAAE,MAAM,EAAe,MAAM,YAAY,CAAA;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAA;AAEjE,oBAAY,oBAAoB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI;KACvF,CAAC,IAAI,MAAM,CAAC,GAAG,cAAc;CAC/B,CAAA;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC;IAC1F,kBAAkB,EAAE,aAAa,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAA;CAClF;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,qBAAqB,CAWtF;AAED,oBAAY,KAAK,GAAG;IAClB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC,CAAA;IACxD,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,C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O,GAAG,KAAK,CAMzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"deepEqual.d.ts","sourceRoot":"","sources":["../../../src/utils/deepEqual.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,SAAS,MAAO,OAAO,KAAK,OAAO,KAAG,OA0B3C,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"deepEqual.d.ts","sourceRoot":"","sources":["../../../src/utils/deepEqual.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,SAAS,MAAO,OAAO,KAAK,OAAO,KAAG,OAoB3C,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"shallowEqual.d.ts","sourceRoot":"","sources":["../../../src/utils/shallowEqual.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,MAAO,OAAO,KAAK,OAAO,KAAG,OAuB9C,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"shallowEqual.d.ts","sourceRoot":"","sources":["../../../src/utils/shallowEqual.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,MAAO,OAAO,KAAK,OAAO,KAAG,OAgB9C,CAAA;AAED,eAAe,YAAY,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makeswift/runtime",
3
- "version": "0.0.0-9644b1f",
3
+ "version": "0.0.0-af7286d",
4
4
  "main": "dist/main.cjs",
5
5
  "module": "dist/main.es",
6
6
  "types": "dist/types",
@@ -92,10 +92,14 @@
92
92
  },
93
93
  "devDependencies": {
94
94
  "@apollo/client": "^3.3.5",
95
+ "@svgr/rollup": "^6.2.1",
96
+ "@types/color": "^3.0.2",
95
97
  "@types/node": "^17.0.21",
96
98
  "@vitejs/plugin-react": "^1.1.4",
99
+ "color": "^3.1.3",
97
100
  "concurrently": "^5.3.0",
98
101
  "next": "12.0.2",
102
+ "prettier": "^2.5.1",
99
103
  "react": "^17.0.1",
100
104
  "typescript": "^4.5.5",
101
105
  "vite": "^2.7.2"