@makeswift/runtime 0.0.0-847a9b5 → 0.0.0-84983e3
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.
- package/box-model.js +1 -0
- package/components.js +1 -0
- package/dist/components.cjs.js +14581 -1516
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +17975 -4929
- package/dist/components.es.js.map +1 -1
- package/dist/descriptors.cjs.js +186 -0
- package/dist/descriptors.cjs.js.map +1 -0
- package/dist/descriptors.es.js +184 -0
- package/dist/descriptors.es.js.map +1 -0
- package/dist/immutable.es.cjs.js +4459 -0
- package/dist/immutable.es.cjs.js.map +1 -0
- package/dist/immutable.es.es.js +4450 -0
- package/dist/immutable.es.es.js.map +1 -0
- package/dist/prop-controllers.cjs.js +2 -173
- package/dist/prop-controllers.cjs.js.map +1 -1
- package/dist/prop-controllers.es.js +1 -173
- package/dist/prop-controllers.es.js.map +1 -1
- package/dist/react-builder-preview.cjs.js +5 -4
- package/dist/react-builder-preview.cjs.js.map +1 -1
- package/dist/react-builder-preview.es.js +6 -5
- package/dist/react-builder-preview.es.js.map +1 -1
- package/dist/react.cjs.js +3 -0
- package/dist/react.cjs.js.map +1 -1
- package/dist/react.cjs2.js +144 -158
- package/dist/react.cjs2.js.map +1 -1
- package/dist/react.es.js +3 -1
- package/dist/react.es.js.map +1 -1
- package/dist/react.es2.js +127 -140
- package/dist/react.es2.js.map +1 -1
- package/dist/types/components/BackgroundsContainer/components/BackgroundVideo/index.d.ts +11 -0
- package/dist/types/components/BackgroundsContainer/components/BackgroundVideo/index.d.ts.map +1 -0
- package/dist/types/components/BackgroundsContainer/components/Backgrounds/index.d.ts +8 -0
- package/dist/types/components/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -0
- package/dist/types/components/BackgroundsContainer/components/Parallax/index.d.ts +11 -0
- package/dist/types/components/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -0
- package/dist/types/components/BackgroundsContainer/index.d.ts +11 -0
- package/dist/types/components/BackgroundsContainer/index.d.ts.map +1 -0
- package/dist/types/components/Box/Box.d.ts +4 -1
- package/dist/types/components/Box/Box.d.ts.map +1 -1
- package/dist/types/components/Carousel/Carousel.d.ts +25 -0
- package/dist/types/components/Carousel/Carousel.d.ts.map +1 -0
- package/dist/types/components/Carousel/index.d.ts +2 -0
- package/dist/types/components/Carousel/index.d.ts.map +1 -0
- package/dist/types/components/Countdown/Countdown.d.ts +24 -0
- package/dist/types/components/Countdown/Countdown.d.ts.map +1 -0
- package/dist/types/components/Countdown/index.d.ts +2 -0
- package/dist/types/components/Countdown/index.d.ts.map +1 -0
- package/dist/types/components/Divider/Divider.d.ts +14 -0
- package/dist/types/components/Divider/Divider.d.ts.map +1 -0
- package/dist/types/components/Divider/index.d.ts +2 -0
- package/dist/types/components/Divider/index.d.ts.map +1 -0
- package/dist/types/components/Embed/Embed.d.ts +11 -0
- package/dist/types/components/Embed/Embed.d.ts.map +1 -0
- package/dist/types/components/Embed/index.d.ts +2 -0
- package/dist/types/components/Embed/index.d.ts.map +1 -0
- package/dist/types/components/Image/Image.d.ts +26 -0
- package/dist/types/components/Image/Image.d.ts.map +1 -0
- package/dist/types/components/Image/index.d.ts +2 -0
- package/dist/types/components/Image/index.d.ts.map +1 -0
- package/dist/types/components/Link/index.d.ts +9 -0
- package/dist/types/components/Link/index.d.ts.map +1 -0
- package/dist/types/components/RichText/index.d.ts +5 -0
- package/dist/types/components/RichText/index.d.ts.map +1 -0
- package/dist/types/components/Root/Root.d.ts.map +1 -1
- package/dist/types/components/builtin/Box/Box.d.ts +30 -0
- package/dist/types/components/builtin/Box/Box.d.ts.map +1 -0
- package/dist/types/components/builtin/Box/animations.d.ts +69 -0
- package/dist/types/components/builtin/Box/animations.d.ts.map +1 -0
- package/dist/types/components/builtin/Box/components/Placeholder/index.d.ts +7 -0
- package/dist/types/components/builtin/Box/components/Placeholder/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Box/index.d.ts +3 -0
- package/dist/types/components/builtin/Box/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Button/Button.d.ts +115 -0
- package/dist/types/components/builtin/Button/Button.d.ts.map +1 -0
- package/dist/types/components/builtin/Button/index.d.ts +2 -0
- package/dist/types/components/builtin/Button/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Carousel/Carousel.d.ts +25 -0
- package/dist/types/components/builtin/Carousel/Carousel.d.ts.map +1 -0
- package/dist/types/components/builtin/Carousel/index.d.ts +2 -0
- package/dist/types/components/builtin/Carousel/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Countdown/Countdown.d.ts +24 -0
- package/dist/types/components/builtin/Countdown/Countdown.d.ts.map +1 -0
- package/dist/types/components/builtin/Countdown/index.d.ts +2 -0
- package/dist/types/components/builtin/Countdown/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Divider/Divider.d.ts +14 -0
- package/dist/types/components/builtin/Divider/Divider.d.ts.map +1 -0
- package/dist/types/components/builtin/Divider/index.d.ts +2 -0
- package/dist/types/components/builtin/Divider/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Embed/Embed.d.ts +11 -0
- package/dist/types/components/builtin/Embed/Embed.d.ts.map +1 -0
- package/dist/types/components/builtin/Embed/index.d.ts +2 -0
- package/dist/types/components/builtin/Embed/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Image/Image.d.ts +26 -0
- package/dist/types/components/builtin/Image/Image.d.ts.map +1 -0
- package/dist/types/components/builtin/Image/index.d.ts +2 -0
- package/dist/types/components/builtin/Image/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Navigation/Navigation.d.ts +23 -0
- package/dist/types/components/builtin/Navigation/Navigation.d.ts.map +1 -0
- package/dist/types/components/builtin/Navigation/components/DropDownButton/index.d.ts +100 -0
- package/dist/types/components/builtin/Navigation/components/DropDownButton/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts +8 -0
- package/dist/types/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts +101 -0
- package/dist/types/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts +13 -0
- package/dist/types/components/builtin/Navigation/components/MobileMenu/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Navigation/index.d.ts +2 -0
- package/dist/types/components/builtin/Navigation/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Root/Root.d.ts +11 -0
- package/dist/types/components/builtin/Root/Root.d.ts.map +1 -0
- package/dist/types/components/builtin/Root/components/Placeholder/index.d.ts +5 -0
- package/dist/types/components/builtin/Root/components/Placeholder/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Root/index.d.ts +2 -0
- package/dist/types/components/builtin/Root/index.d.ts.map +1 -0
- package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts +18 -0
- package/dist/types/components/builtin/SocialLinks/SocialLinks.d.ts.map +1 -0
- package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts +8 -0
- package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts.map +1 -0
- package/dist/types/components/builtin/SocialLinks/index.d.ts +2 -0
- package/dist/types/components/builtin/SocialLinks/index.d.ts.map +1 -0
- package/dist/types/components/builtin/SocialLinks/options.d.ts +113 -0
- package/dist/types/components/builtin/SocialLinks/options.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/Text.d.ts +13 -0
- package/dist/types/components/builtin/Text/Text.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/index.d.ts +2 -0
- package/dist/types/components/builtin/Text/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/prop-controllers.d.ts +286 -0
- package/dist/types/components/builtin/Text/prop-controllers.d.ts.map +1 -0
- package/dist/types/components/builtin/index.d.ts +12 -0
- package/dist/types/components/builtin/index.d.ts.map +1 -0
- package/dist/types/components/hooks/index.d.ts +6 -0
- package/dist/types/components/hooks/index.d.ts.map +1 -1
- package/dist/types/components/hooks/useBackgrounds.d.ts +59 -0
- package/dist/types/components/hooks/useBackgrounds.d.ts.map +1 -0
- package/dist/types/components/hooks/useBorder.d.ts +19 -0
- package/dist/types/components/hooks/useBorder.d.ts.map +1 -0
- package/dist/types/components/hooks/useBoxShadow.d.ts +19 -0
- package/dist/types/components/hooks/useBoxShadow.d.ts.map +1 -0
- package/dist/types/components/hooks/useColor.d.ts +7 -0
- package/dist/types/components/hooks/useColor.d.ts.map +1 -0
- package/dist/types/components/hooks/useFile.d.ts +13 -0
- package/dist/types/components/hooks/useFile.d.ts.map +1 -0
- package/dist/types/components/hooks/usePage.d.ts +7 -0
- package/dist/types/components/hooks/usePage.d.ts.map +1 -0
- package/dist/types/components/hooks/useRichText.d.ts +18 -0
- package/dist/types/components/hooks/useRichText.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +2 -3
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts +11 -0
- package/dist/types/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts.map +1 -0
- package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts +8 -0
- package/dist/types/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -0
- package/dist/types/components/shared/BackgroundsContainer/components/Parallax/index.d.ts +11 -0
- package/dist/types/components/shared/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -0
- package/dist/types/components/shared/BackgroundsContainer/index.d.ts +11 -0
- package/dist/types/components/shared/BackgroundsContainer/index.d.ts.map +1 -0
- package/dist/types/components/shared/GutterContainer/index.d.ts +8 -0
- package/dist/types/components/shared/GutterContainer/index.d.ts.map +1 -0
- package/dist/types/components/shared/Link/index.d.ts +9 -0
- package/dist/types/components/shared/Link/index.d.ts.map +1 -0
- package/dist/types/components/utils/colorToString.d.ts +3 -0
- package/dist/types/components/utils/colorToString.d.ts.map +1 -0
- package/dist/types/components/utils/cssMediaRules.d.ts +23 -1
- package/dist/types/components/utils/cssMediaRules.d.ts.map +1 -1
- package/dist/types/components/utils/isNonNullable.d.ts +2 -0
- package/dist/types/components/utils/isNonNullable.d.ts.map +1 -0
- package/dist/types/components/utils/placeholders.d.ts +10 -0
- package/dist/types/components/utils/placeholders.d.ts.map +1 -0
- package/dist/types/components/utils/queries.d.ts +5 -0
- package/dist/types/components/utils/queries.d.ts.map +1 -0
- package/dist/types/components/utils/types.d.ts +11 -0
- package/dist/types/components/utils/types.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/prop-controllers/descriptors.d.ts +37 -1
- package/dist/types/prop-controllers/descriptors.d.ts.map +1 -1
- package/dist/types/prop-controllers/index.d.ts +1 -1
- package/dist/types/prop-controllers/index.d.ts.map +1 -1
- package/dist/types/prop-controllers/instances.d.ts +25 -0
- package/dist/types/prop-controllers/instances.d.ts.map +1 -0
- package/dist/types/prop-controllers/introspection.d.ts +5 -0
- package/dist/types/prop-controllers/introspection.d.ts.map +1 -0
- package/dist/types/react.d.ts +1 -1
- package/dist/types/react.d.ts.map +1 -1
- package/dist/types/runtimes/react.d.ts +2 -0
- package/dist/types/runtimes/react.d.ts.map +1 -1
- package/dist/types/state/modules/prop-controller-handles.d.ts +20 -0
- package/dist/types/state/modules/prop-controller-handles.d.ts.map +1 -0
- package/dist/types/state/modules/prop-controllers.d.ts +1 -0
- package/dist/types/state/modules/prop-controllers.d.ts.map +1 -1
- package/dist/types/state/react-builder-preview.d.ts +11 -10
- package/dist/types/state/react-builder-preview.d.ts.map +1 -1
- package/dist/types/state/react-page.d.ts +4 -0
- package/dist/types/state/react-page.d.ts.map +1 -1
- package/dist/types/utils/clamp.d.ts +3 -0
- package/dist/types/utils/clamp.d.ts.map +1 -0
- package/dist/types/utils/deepEqual.d.ts.map +1 -1
- package/dist/types/utils/shallowEqual.d.ts.map +1 -1
- package/package.json +33 -26
- package/prop-controllers.js +1 -0
- package/react.js +1 -0
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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"}
|
package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts
ADDED
|
@@ -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
|
package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts.map
ADDED
|
@@ -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 @@
|
|
|
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,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ElementIDValue, MarginValue, RichTextValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { BoxModelHandle } from '../../../box-model';
|
|
4
|
+
import { PropControllersHandle } from '../../../state/modules/prop-controller-handles';
|
|
5
|
+
declare type Props = {
|
|
6
|
+
id?: ElementIDValue;
|
|
7
|
+
text?: RichTextValue;
|
|
8
|
+
width?: WidthValue;
|
|
9
|
+
margin?: MarginValue;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<BoxModelHandle & PropControllersHandle<Props>>>;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Text/Text.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,cAAc,EACd,WAAW,EACX,aAAa,EACb,UAAU,EACX,MAAM,uCAAuC,CAAA;AAG9C,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EACL,qBAAqB,EAEtB,MAAM,gDAAgD,CAAA;AAEvD,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;;AAUD,wBAiDE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import { Props } from '@makeswift/runtime/prop-controllers';
|
|
2
|
+
export declare const PropControllers: {
|
|
3
|
+
id: {
|
|
4
|
+
type: "ElementID";
|
|
5
|
+
options: Record<string, never> | ((props: Record<string, unknown>, decideMode: Props.Device) => Record<string, never>);
|
|
6
|
+
};
|
|
7
|
+
text: {
|
|
8
|
+
type: "RichText";
|
|
9
|
+
options: {
|
|
10
|
+
preset?: {
|
|
11
|
+
object?: "value" | undefined;
|
|
12
|
+
annotations?: {
|
|
13
|
+
[x: string]: {
|
|
14
|
+
object?: "annotation" | undefined;
|
|
15
|
+
key: string;
|
|
16
|
+
type: string;
|
|
17
|
+
data?: {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
} | undefined;
|
|
20
|
+
anchor?: {
|
|
21
|
+
object?: "point" | undefined;
|
|
22
|
+
key?: string | undefined;
|
|
23
|
+
offset?: number | undefined;
|
|
24
|
+
path?: number[] | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
focus?: {
|
|
27
|
+
object?: "point" | undefined;
|
|
28
|
+
key?: string | undefined;
|
|
29
|
+
offset?: number | undefined;
|
|
30
|
+
path?: number[] | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
};
|
|
33
|
+
} | undefined;
|
|
34
|
+
data?: {
|
|
35
|
+
[x: string]: any;
|
|
36
|
+
} | undefined;
|
|
37
|
+
document?: {
|
|
38
|
+
object?: "document" | undefined;
|
|
39
|
+
nodes?: (any | {
|
|
40
|
+
object?: "block" | undefined;
|
|
41
|
+
type: string;
|
|
42
|
+
key?: string | undefined;
|
|
43
|
+
nodes?: (any | {
|
|
44
|
+
object?: "inline" | undefined;
|
|
45
|
+
type: string;
|
|
46
|
+
key?: string | undefined;
|
|
47
|
+
nodes?: (any | {
|
|
48
|
+
object?: "text" | undefined;
|
|
49
|
+
key?: string | undefined;
|
|
50
|
+
text?: string | undefined;
|
|
51
|
+
marks?: {
|
|
52
|
+
object?: "mark" | undefined;
|
|
53
|
+
type: string;
|
|
54
|
+
data?: {
|
|
55
|
+
[x: string]: any;
|
|
56
|
+
} | undefined;
|
|
57
|
+
}[] | undefined;
|
|
58
|
+
})[] | undefined;
|
|
59
|
+
data?: {
|
|
60
|
+
[x: string]: any;
|
|
61
|
+
} | undefined;
|
|
62
|
+
} | {
|
|
63
|
+
object?: "text" | undefined;
|
|
64
|
+
key?: string | undefined;
|
|
65
|
+
text?: string | undefined;
|
|
66
|
+
marks?: {
|
|
67
|
+
object?: "mark" | undefined;
|
|
68
|
+
type: string;
|
|
69
|
+
data?: {
|
|
70
|
+
[x: string]: any;
|
|
71
|
+
} | undefined;
|
|
72
|
+
}[] | undefined;
|
|
73
|
+
})[] | undefined;
|
|
74
|
+
data?: {
|
|
75
|
+
[x: string]: any;
|
|
76
|
+
} | undefined;
|
|
77
|
+
} | {
|
|
78
|
+
object?: "inline" | undefined;
|
|
79
|
+
type: string;
|
|
80
|
+
key?: string | undefined;
|
|
81
|
+
nodes?: (any | {
|
|
82
|
+
object?: "text" | undefined;
|
|
83
|
+
key?: string | undefined;
|
|
84
|
+
text?: string | undefined;
|
|
85
|
+
marks?: {
|
|
86
|
+
object?: "mark" | undefined;
|
|
87
|
+
type: string;
|
|
88
|
+
data?: {
|
|
89
|
+
[x: string]: any;
|
|
90
|
+
} | undefined;
|
|
91
|
+
}[] | undefined;
|
|
92
|
+
})[] | undefined;
|
|
93
|
+
data?: {
|
|
94
|
+
[x: string]: any;
|
|
95
|
+
} | undefined;
|
|
96
|
+
} | {
|
|
97
|
+
object?: "text" | undefined;
|
|
98
|
+
key?: string | undefined;
|
|
99
|
+
text?: string | undefined;
|
|
100
|
+
marks?: {
|
|
101
|
+
object?: "mark" | undefined;
|
|
102
|
+
type: string;
|
|
103
|
+
data?: {
|
|
104
|
+
[x: string]: any;
|
|
105
|
+
} | undefined;
|
|
106
|
+
}[] | undefined;
|
|
107
|
+
})[] | undefined;
|
|
108
|
+
key?: string | undefined;
|
|
109
|
+
data?: {
|
|
110
|
+
[x: string]: any;
|
|
111
|
+
} | undefined;
|
|
112
|
+
} | undefined;
|
|
113
|
+
selection?: {
|
|
114
|
+
object?: "selection" | undefined;
|
|
115
|
+
anchor?: {
|
|
116
|
+
object?: "point" | undefined;
|
|
117
|
+
key?: string | undefined;
|
|
118
|
+
offset?: number | undefined;
|
|
119
|
+
path?: number[] | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
focus?: {
|
|
122
|
+
object?: "point" | undefined;
|
|
123
|
+
key?: string | undefined;
|
|
124
|
+
offset?: number | undefined;
|
|
125
|
+
path?: number[] | undefined;
|
|
126
|
+
} | undefined;
|
|
127
|
+
isFocused?: boolean | undefined;
|
|
128
|
+
marks?: {
|
|
129
|
+
object?: "mark" | undefined;
|
|
130
|
+
type: string;
|
|
131
|
+
data?: {
|
|
132
|
+
[x: string]: any;
|
|
133
|
+
} | undefined;
|
|
134
|
+
}[] | undefined;
|
|
135
|
+
} | undefined;
|
|
136
|
+
} | undefined;
|
|
137
|
+
} | ((props: Record<string, unknown>, decideMode: Props.Device) => {
|
|
138
|
+
preset?: {
|
|
139
|
+
object?: "value" | undefined;
|
|
140
|
+
annotations?: {
|
|
141
|
+
[x: string]: {
|
|
142
|
+
object?: "annotation" | undefined;
|
|
143
|
+
key: string;
|
|
144
|
+
type: string;
|
|
145
|
+
data?: {
|
|
146
|
+
[x: string]: any;
|
|
147
|
+
} | undefined;
|
|
148
|
+
anchor?: {
|
|
149
|
+
object?: "point" | undefined;
|
|
150
|
+
key?: string | undefined;
|
|
151
|
+
offset?: number | undefined;
|
|
152
|
+
path?: number[] | undefined;
|
|
153
|
+
} | undefined;
|
|
154
|
+
focus?: {
|
|
155
|
+
object?: "point" | undefined;
|
|
156
|
+
key?: string | undefined;
|
|
157
|
+
offset?: number | undefined;
|
|
158
|
+
path?: number[] | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
};
|
|
161
|
+
} | undefined;
|
|
162
|
+
data?: {
|
|
163
|
+
[x: string]: any;
|
|
164
|
+
} | undefined;
|
|
165
|
+
document?: {
|
|
166
|
+
object?: "document" | undefined;
|
|
167
|
+
nodes?: (any | {
|
|
168
|
+
object?: "block" | undefined;
|
|
169
|
+
type: string;
|
|
170
|
+
key?: string | undefined;
|
|
171
|
+
nodes?: (any | {
|
|
172
|
+
object?: "inline" | undefined;
|
|
173
|
+
type: string;
|
|
174
|
+
key?: string | undefined;
|
|
175
|
+
nodes?: (any | {
|
|
176
|
+
object?: "text" | undefined;
|
|
177
|
+
key?: string | undefined;
|
|
178
|
+
text?: string | undefined;
|
|
179
|
+
marks?: {
|
|
180
|
+
object?: "mark" | undefined;
|
|
181
|
+
type: string;
|
|
182
|
+
data?: {
|
|
183
|
+
[x: string]: any;
|
|
184
|
+
} | undefined;
|
|
185
|
+
}[] | undefined;
|
|
186
|
+
})[] | undefined;
|
|
187
|
+
data?: {
|
|
188
|
+
[x: string]: any;
|
|
189
|
+
} | undefined;
|
|
190
|
+
} | {
|
|
191
|
+
object?: "text" | undefined;
|
|
192
|
+
key?: string | undefined;
|
|
193
|
+
text?: string | undefined;
|
|
194
|
+
marks?: {
|
|
195
|
+
object?: "mark" | undefined;
|
|
196
|
+
type: string;
|
|
197
|
+
data?: {
|
|
198
|
+
[x: string]: any;
|
|
199
|
+
} | undefined;
|
|
200
|
+
}[] | undefined;
|
|
201
|
+
})[] | undefined;
|
|
202
|
+
data?: {
|
|
203
|
+
[x: string]: any;
|
|
204
|
+
} | undefined;
|
|
205
|
+
} | {
|
|
206
|
+
object?: "inline" | undefined;
|
|
207
|
+
type: string;
|
|
208
|
+
key?: string | undefined;
|
|
209
|
+
nodes?: (any | {
|
|
210
|
+
object?: "text" | undefined;
|
|
211
|
+
key?: string | undefined;
|
|
212
|
+
text?: string | undefined;
|
|
213
|
+
marks?: {
|
|
214
|
+
object?: "mark" | undefined;
|
|
215
|
+
type: string;
|
|
216
|
+
data?: {
|
|
217
|
+
[x: string]: any;
|
|
218
|
+
} | undefined;
|
|
219
|
+
}[] | undefined;
|
|
220
|
+
})[] | undefined;
|
|
221
|
+
data?: {
|
|
222
|
+
[x: string]: any;
|
|
223
|
+
} | undefined;
|
|
224
|
+
} | {
|
|
225
|
+
object?: "text" | undefined;
|
|
226
|
+
key?: string | undefined;
|
|
227
|
+
text?: string | undefined;
|
|
228
|
+
marks?: {
|
|
229
|
+
object?: "mark" | undefined;
|
|
230
|
+
type: string;
|
|
231
|
+
data?: {
|
|
232
|
+
[x: string]: any;
|
|
233
|
+
} | undefined;
|
|
234
|
+
}[] | undefined;
|
|
235
|
+
})[] | undefined;
|
|
236
|
+
key?: string | undefined;
|
|
237
|
+
data?: {
|
|
238
|
+
[x: string]: any;
|
|
239
|
+
} | undefined;
|
|
240
|
+
} | undefined;
|
|
241
|
+
selection?: {
|
|
242
|
+
object?: "selection" | undefined;
|
|
243
|
+
anchor?: {
|
|
244
|
+
object?: "point" | undefined;
|
|
245
|
+
key?: string | undefined;
|
|
246
|
+
offset?: number | undefined;
|
|
247
|
+
path?: number[] | undefined;
|
|
248
|
+
} | undefined;
|
|
249
|
+
focus?: {
|
|
250
|
+
object?: "point" | undefined;
|
|
251
|
+
key?: string | undefined;
|
|
252
|
+
offset?: number | undefined;
|
|
253
|
+
path?: number[] | undefined;
|
|
254
|
+
} | undefined;
|
|
255
|
+
isFocused?: boolean | undefined;
|
|
256
|
+
marks?: {
|
|
257
|
+
object?: "mark" | undefined;
|
|
258
|
+
type: string;
|
|
259
|
+
data?: {
|
|
260
|
+
[x: string]: any;
|
|
261
|
+
} | undefined;
|
|
262
|
+
}[] | undefined;
|
|
263
|
+
} | undefined;
|
|
264
|
+
} | undefined;
|
|
265
|
+
});
|
|
266
|
+
};
|
|
267
|
+
width: {
|
|
268
|
+
type: "Width";
|
|
269
|
+
options: {
|
|
270
|
+
preset?: Props.WidthValue | undefined;
|
|
271
|
+
defaultValue?: Props.Length | undefined;
|
|
272
|
+
} | ((props: Record<string, unknown>, decideMode: Props.Device) => {
|
|
273
|
+
preset?: Props.WidthValue | undefined;
|
|
274
|
+
defaultValue?: Props.Length | undefined;
|
|
275
|
+
});
|
|
276
|
+
};
|
|
277
|
+
margin: {
|
|
278
|
+
type: "Margin";
|
|
279
|
+
options: {
|
|
280
|
+
preset?: Props.MarginValue | undefined;
|
|
281
|
+
} | ((props: Record<string, unknown>, decideMode: Props.Device) => {
|
|
282
|
+
preset?: Props.MarginValue | undefined;
|
|
283
|
+
});
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
//# sourceMappingURL=prop-controllers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prop-controllers.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Text/prop-controllers.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAA;AAE3D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8D3B,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './Box';
|
|
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 Root } from './Root';
|
|
11
|
+
export { default as SocialLinks } from './SocialLinks';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|