@makeswift/runtime 0.0.0-1faafb3 → 0.0.0-237e855
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/actions.cjs.js +73 -16
- package/dist/actions.cjs.js.map +1 -1
- package/dist/actions.es.js +67 -16
- package/dist/actions.es.js.map +1 -1
- package/dist/box-models.cjs.js +24 -14
- package/dist/box-models.cjs.js.map +1 -1
- package/dist/box-models.es.js +24 -14
- package/dist/box-models.es.js.map +1 -1
- package/dist/components.cjs.js +39 -6898
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +11 -6866
- package/dist/components.es.js.map +1 -1
- package/dist/deepEqual.cjs.js +40 -0
- package/dist/deepEqual.cjs.js.map +1 -0
- package/dist/deepEqual.es.js +39 -0
- package/dist/deepEqual.es.js.map +1 -0
- package/dist/descriptors.cjs.js +216 -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/instances.cjs.js +89 -0
- package/dist/instances.cjs.js.map +1 -0
- package/dist/instances.es.js +87 -0
- package/dist/instances.es.js.map +1 -0
- package/dist/main.cjs.js +1 -0
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +1 -1
- package/dist/prop-controllers.cjs.js +4 -173
- package/dist/prop-controllers.cjs.js.map +1 -1
- package/dist/prop-controllers.es.js +2 -173
- package/dist/prop-controllers.es.js.map +1 -1
- package/dist/react-builder-preview.cjs.js +179 -33
- package/dist/react-builder-preview.cjs.js.map +1 -1
- package/dist/react-builder-preview.es.js +186 -40
- package/dist/react-builder-preview.es.js.map +1 -1
- package/dist/react.cjs.js +10 -0
- package/dist/react.cjs.js.map +1 -1
- package/dist/react.cjs2.js +23451 -331
- package/dist/react.cjs2.js.map +1 -1
- package/dist/react.es.js +10 -1
- package/dist/react.es.js.map +1 -1
- package/dist/react.es2.js +23367 -298
- package/dist/react.es2.js.map +1 -1
- package/dist/shallowEqual.cjs.js +24 -0
- package/dist/shallowEqual.cjs.js.map +1 -0
- package/dist/shallowEqual.es.js +23 -0
- package/dist/shallowEqual.es.js.map +1 -0
- package/dist/types/codegen-loader.d.ts +2 -0
- package/dist/types/codegen-loader.d.ts.map +1 -0
- 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 +33 -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 +118 -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 +28 -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 +27 -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 +17 -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 +14 -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 +29 -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 +26 -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 +14 -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 +21 -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 +19 -0
- package/dist/types/components/builtin/Text/Text.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts +24 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Link/index.d.ts +9 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Link/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts +25 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/index.d.ts +13 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/components/Mark/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/index.d.ts +5 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts +3 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesMarks.d.ts +3 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesMarks.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Inlines.d.ts +3 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Inlines.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Link.d.ts +3 -0
- package/dist/types/components/builtin/Text/components/RichTextEditor/plugins/Link.d.ts.map +1 -0
- package/dist/types/components/builtin/Text/hooks/useRichText.d.ts +1 -0
- package/dist/types/components/builtin/Text/hooks/useRichText.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 +15 -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/hooks/useTypography.d.ts +24 -0
- package/dist/types/components/hooks/useTypography.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/shared/RichTextEditor/components/Block/index.d.ts +24 -0
- package/dist/types/components/shared/RichTextEditor/components/Block/index.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/components/Link/index.d.ts +9 -0
- package/dist/types/components/shared/RichTextEditor/components/Link/index.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts +23 -0
- package/dist/types/components/shared/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/components/Mark/index.d.ts +13 -0
- package/dist/types/components/shared/RichTextEditor/components/Mark/index.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/index.d.ts +5 -0
- package/dist/types/components/shared/RichTextEditor/index.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts +3 -0
- package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesMarks.d.ts +3 -0
- package/dist/types/components/shared/RichTextEditor/plugins/DeviceOverridesMarks.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/plugins/Inlines.d.ts +3 -0
- package/dist/types/components/shared/RichTextEditor/plugins/Inlines.d.ts.map +1 -0
- package/dist/types/components/shared/RichTextEditor/plugins/Link.d.ts +3 -0
- package/dist/types/components/shared/RichTextEditor/plugins/Link.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/contants.d.ts +5 -0
- package/dist/types/components/utils/contants.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/devices.d.ts +1 -0
- package/dist/types/components/utils/devices.d.ts.map +1 -1
- package/dist/types/components/utils/intersection.d.ts +4 -0
- package/dist/types/components/utils/intersection.d.ts.map +1 -0
- 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/keys.d.ts +5 -0
- package/dist/types/components/utils/keys.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 +7 -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/generated/graphql.d.ts +756 -0
- package/dist/types/generated/graphql.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/prop-controllers/descriptors.d.ts +38 -2
- package/dist/types/prop-controllers/descriptors.d.ts.map +1 -1
- package/dist/types/prop-controllers/index.d.ts +3 -1
- package/dist/types/prop-controllers/index.d.ts.map +1 -1
- package/dist/types/prop-controllers/instances.d.ts +69 -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 +14 -7
- package/dist/types/runtimes/react.d.ts.map +1 -1
- package/dist/types/state/actions.d.ts +88 -13
- package/dist/types/state/actions.d.ts.map +1 -1
- package/dist/types/state/modules/box-models.d.ts +5 -5
- package/dist/types/state/modules/box-models.d.ts.map +1 -1
- package/dist/types/state/modules/makeswift-api-client.d.ts +17 -0
- package/dist/types/state/modules/makeswift-api-client.d.ts.map +1 -0
- package/dist/types/state/modules/prop-controller-handles.d.ts +16 -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 +13 -10
- package/dist/types/state/react-builder-preview.d.ts.map +1 -1
- package/dist/types/state/react-page.d.ts +5 -0
- package/dist/types/state/react-page.d.ts.map +1 -1
- package/dist/types/types.d.ts +2 -0
- package/dist/types/types.d.ts.map +1 -0
- package/dist/types/utils/clamp.d.ts +3 -0
- package/dist/types/utils/clamp.d.ts.map +1 -0
- package/dist/types/utils/coalesce.d.ts +3 -0
- package/dist/types/utils/coalesce.d.ts.map +1 -0
- package/dist/types/utils/constants.d.ts +6 -0
- package/dist/types/utils/constants.d.ts.map +1 -0
- package/dist/types/utils/deepEqual.d.ts.map +1 -1
- package/dist/types/utils/intersection.d.ts +4 -0
- package/dist/types/utils/intersection.d.ts.map +1 -0
- package/dist/types/utils/keys.d.ts +5 -0
- package/dist/types/utils/keys.d.ts.map +1 -0
- package/dist/types/utils/shallowEqual.d.ts.map +1 -1
- package/dist/types/utils/shallowMerge.d.ts +2 -0
- package/dist/types/utils/shallowMerge.d.ts.map +1 -0
- package/package.json +58 -5
- package/prop-controllers.js +1 -0
- package/react.js +1 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { ReactElement, ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { ResponsiveValue, ElementIDValue, MarginValue, ResponsiveColorValue, TextInputValue, ResponsiveSelectValue, ResponsiveIconRadioGroupValue, TextStyleValue, LinkValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ColorValue as Color } from '../../utils/types';
|
|
4
|
+
import { ReactRuntime } from '../../../react';
|
|
5
|
+
import { Props } from '../../../prop-controllers';
|
|
6
|
+
declare type ControllerProps = {
|
|
7
|
+
id?: ElementIDValue;
|
|
8
|
+
children?: TextInputValue;
|
|
9
|
+
link?: LinkValue;
|
|
10
|
+
variant?: ResponsiveSelectValue<'flat' | 'outline' | 'shadow' | 'clear' | 'blocky' | 'bubbly' | 'skewed'>;
|
|
11
|
+
shape?: ResponsiveIconRadioGroupValue<'pill' | 'rounded' | 'square'>;
|
|
12
|
+
size?: ResponsiveIconRadioGroupValue<'small' | 'medium' | 'large'>;
|
|
13
|
+
color?: ResponsiveColorValue;
|
|
14
|
+
textColor?: ResponsiveColorValue;
|
|
15
|
+
textStyle?: TextStyleValue;
|
|
16
|
+
width?: WidthValue;
|
|
17
|
+
margin?: MarginValue;
|
|
18
|
+
};
|
|
19
|
+
declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
20
|
+
link?: ({
|
|
21
|
+
type: "OPEN_PAGE";
|
|
22
|
+
payload: {
|
|
23
|
+
pageId: string | null | undefined;
|
|
24
|
+
openInNewTab: boolean;
|
|
25
|
+
};
|
|
26
|
+
} | {
|
|
27
|
+
type: "OPEN_URL";
|
|
28
|
+
payload: {
|
|
29
|
+
url: string;
|
|
30
|
+
openInNewTab: boolean;
|
|
31
|
+
};
|
|
32
|
+
} | {
|
|
33
|
+
type: "SEND_EMAIL";
|
|
34
|
+
payload: {
|
|
35
|
+
to: string;
|
|
36
|
+
subject?: string | undefined;
|
|
37
|
+
body?: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
} | {
|
|
40
|
+
type: "CALL_PHONE";
|
|
41
|
+
payload: {
|
|
42
|
+
phoneNumber: string;
|
|
43
|
+
};
|
|
44
|
+
} | {
|
|
45
|
+
type: "SCROLL_TO_ELEMENT";
|
|
46
|
+
payload: {
|
|
47
|
+
elementIdConfig: {
|
|
48
|
+
elementKey: string;
|
|
49
|
+
propName: string;
|
|
50
|
+
} | null | undefined;
|
|
51
|
+
block: "start" | "center" | "end";
|
|
52
|
+
};
|
|
53
|
+
}) | undefined;
|
|
54
|
+
onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => unknown) | undefined;
|
|
55
|
+
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof import("react").AnchorHTMLAttributes<HTMLAnchorElement>>, keyof {
|
|
56
|
+
link?: ({
|
|
57
|
+
type: "OPEN_PAGE";
|
|
58
|
+
payload: {
|
|
59
|
+
pageId: string | null | undefined;
|
|
60
|
+
openInNewTab: boolean;
|
|
61
|
+
};
|
|
62
|
+
} | {
|
|
63
|
+
type: "OPEN_URL";
|
|
64
|
+
payload: {
|
|
65
|
+
url: string;
|
|
66
|
+
openInNewTab: boolean;
|
|
67
|
+
};
|
|
68
|
+
} | {
|
|
69
|
+
type: "SEND_EMAIL";
|
|
70
|
+
payload: {
|
|
71
|
+
to: string;
|
|
72
|
+
subject?: string | undefined;
|
|
73
|
+
body?: string | undefined;
|
|
74
|
+
};
|
|
75
|
+
} | {
|
|
76
|
+
type: "CALL_PHONE";
|
|
77
|
+
payload: {
|
|
78
|
+
phoneNumber: string;
|
|
79
|
+
};
|
|
80
|
+
} | {
|
|
81
|
+
type: "SCROLL_TO_ELEMENT";
|
|
82
|
+
payload: {
|
|
83
|
+
elementIdConfig: {
|
|
84
|
+
elementKey: string;
|
|
85
|
+
propName: string;
|
|
86
|
+
} | null | undefined;
|
|
87
|
+
block: "start" | "center" | "end";
|
|
88
|
+
};
|
|
89
|
+
}) | undefined;
|
|
90
|
+
onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => unknown) | undefined;
|
|
91
|
+
}> & import("react").RefAttributes<HTMLAnchorElement>>, any, {
|
|
92
|
+
width: ControllerProps['width'];
|
|
93
|
+
margin: ControllerProps['margin'];
|
|
94
|
+
variant: ControllerProps['variant'];
|
|
95
|
+
shape: ControllerProps['shape'];
|
|
96
|
+
size: ControllerProps['size'];
|
|
97
|
+
textColor: ResponsiveValue<Color> | null | undefined;
|
|
98
|
+
color: ResponsiveValue<Color> | null | undefined;
|
|
99
|
+
textStyle: ControllerProps['textStyle'];
|
|
100
|
+
}, never>;
|
|
101
|
+
declare type BaseProps = {
|
|
102
|
+
id?: ControllerProps['id'];
|
|
103
|
+
children?: ReactElement | string;
|
|
104
|
+
link?: ControllerProps['link'];
|
|
105
|
+
variant?: ControllerProps['variant'];
|
|
106
|
+
shape?: ControllerProps['shape'];
|
|
107
|
+
size?: ControllerProps['size'];
|
|
108
|
+
textColor?: ControllerProps['textColor'];
|
|
109
|
+
color?: ControllerProps['color'];
|
|
110
|
+
textStyle?: ControllerProps['textStyle'];
|
|
111
|
+
width?: ControllerProps['width'];
|
|
112
|
+
margin?: ControllerProps['margin'];
|
|
113
|
+
};
|
|
114
|
+
declare type Props = BaseProps & Omit<ComponentPropsWithoutRef<typeof StyledButton>, keyof BaseProps>;
|
|
115
|
+
declare const Button: import("react").ForwardRefExoticComponent<Pick<Props, string | number | symbol> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
116
|
+
export default Button;
|
|
117
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
118
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Button/Button.tsx"],"names":[],"mappings":"AAAA,O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@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ElementIDValue, ImagesValue, MarginValue, ResponsiveNumberValue, WidthValue, ResponsiveIconRadioGroupValue, GapXValue, CheckboxValue, NumberValue, ResponsiveColorValue, BorderValue, BorderRadiusValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ReactRuntime } from '../../../react';
|
|
4
|
+
import { Props } from '../../../prop-controllers';
|
|
5
|
+
declare type Props = {
|
|
6
|
+
id?: ElementIDValue;
|
|
7
|
+
images?: ImagesValue;
|
|
8
|
+
width?: WidthValue;
|
|
9
|
+
margin?: MarginValue;
|
|
10
|
+
pageSize?: ResponsiveNumberValue;
|
|
11
|
+
step?: ResponsiveNumberValue;
|
|
12
|
+
slideAlignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>;
|
|
13
|
+
gap?: GapXValue;
|
|
14
|
+
autoplay?: CheckboxValue;
|
|
15
|
+
delay?: NumberValue;
|
|
16
|
+
showArrows?: CheckboxValue;
|
|
17
|
+
arrowPosition?: ResponsiveIconRadioGroupValue<'inside' | 'center' | 'outside'>;
|
|
18
|
+
arrowColor?: ResponsiveColorValue;
|
|
19
|
+
arrowBackground?: ResponsiveColorValue;
|
|
20
|
+
showDots?: CheckboxValue;
|
|
21
|
+
dotColor?: ResponsiveColorValue;
|
|
22
|
+
slideBorder?: BorderValue;
|
|
23
|
+
slideBorderRadius?: BorderRadiusValue;
|
|
24
|
+
};
|
|
25
|
+
declare const Carousel: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
26
|
+
export default Carousel;
|
|
27
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
28
|
+
//# sourceMappingURL=Carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Carousel/Carousel.tsx"],"names":[],"mappings":";AAaA,OAA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|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Carousel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DateValue, ElementIDValue, FontValue, GapXValue, MarginValue, ResponsiveColorValue, ResponsiveIconRadioGroupValue, TextInputValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ReactRuntime } from '../../../react';
|
|
4
|
+
import { Props } from '../../../prop-controllers';
|
|
5
|
+
declare type Props = {
|
|
6
|
+
id?: ElementIDValue;
|
|
7
|
+
date?: DateValue;
|
|
8
|
+
variant?: ResponsiveIconRadioGroupValue<'filled' | 'filled-split' | 'outline' | 'outline-split' | 'clear'>;
|
|
9
|
+
shape?: ResponsiveIconRadioGroupValue<'pill' | 'rounded' | 'square'>;
|
|
10
|
+
size?: ResponsiveIconRadioGroupValue<'small' | 'medium' | 'large'>;
|
|
11
|
+
gap?: GapXValue;
|
|
12
|
+
numberFont?: FontValue;
|
|
13
|
+
numberColor?: ResponsiveColorValue;
|
|
14
|
+
blockColor?: ResponsiveColorValue;
|
|
15
|
+
labelFont?: FontValue;
|
|
16
|
+
labelColor?: ResponsiveColorValue;
|
|
17
|
+
width?: WidthValue;
|
|
18
|
+
margin?: MarginValue;
|
|
19
|
+
daysLabel?: TextInputValue;
|
|
20
|
+
hoursLabel?: TextInputValue;
|
|
21
|
+
minutesLabel?: TextInputValue;
|
|
22
|
+
secondsLabel?: TextInputValue;
|
|
23
|
+
};
|
|
24
|
+
declare const Countdown: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export default Countdown;
|
|
26
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
27
|
+
//# sourceMappingURL=Countdown.d.ts.map
|
|
@@ -0,0 +1 @@
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A;AAExB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAoFtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Countdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ElementIDValue, MarginValue, ResponsiveColorValue, ResponsiveLengthValue, ResponsiveSelectValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ReactRuntime } from '../../../react';
|
|
4
|
+
import { Props } from '../../../prop-controllers';
|
|
5
|
+
declare type DividerVariant = 'solid' | 'dashed' | 'dotted' | 'blended';
|
|
6
|
+
declare type Props = {
|
|
7
|
+
id?: ElementIDValue;
|
|
8
|
+
variant?: ResponsiveSelectValue<DividerVariant>;
|
|
9
|
+
thickness?: ResponsiveLengthValue;
|
|
10
|
+
color?: ResponsiveColorValue;
|
|
11
|
+
width?: WidthValue;
|
|
12
|
+
margin?: MarginValue;
|
|
13
|
+
};
|
|
14
|
+
declare const Divider: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export default Divider;
|
|
16
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
17
|
+
//# sourceMappingURL=Divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Divider/Divider.tsx"],"names":[],"mappings":";AAIA,OAAO,EAEL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,UAAU,EACX,MAAM,uCAAuC,CAAA;AAI9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,aAAK,cAAc,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;AAE/D,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,OAAO,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAA;IAC/C,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAkED,QAAA,MAAM,OAAO,kGAYX,CAAA;AAEF,eAAe,OAAO,CAAA;AAEtB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA4BtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Divider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ElementIDValue, MarginValue, TextAreaValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { Props } from '../../../prop-controllers';
|
|
4
|
+
import { ReactRuntime } from '../../../react';
|
|
5
|
+
declare type Props = {
|
|
6
|
+
id?: ElementIDValue;
|
|
7
|
+
html?: TextAreaValue;
|
|
8
|
+
width?: WidthValue;
|
|
9
|
+
margin?: MarginValue;
|
|
10
|
+
};
|
|
11
|
+
declare const Embed: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export default Embed;
|
|
13
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
14
|
+
//# sourceMappingURL=Embed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Embed.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Embed/Embed.tsx"],"names":[],"mappings":";AAMA,OAAO,EACL,cAAc,EACd,WAAW,EACX,aAAa,EACb,UAAU,EACX,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAiCD,QAAA,MAAM,KAAK,kGA0ET,CAAA;AAEF,eAAe,KAAK,CAAA;AAEpB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAYtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Embed/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BorderRadiusValue, BorderValue, ElementIDValue, ImageValue, LinkValue, MarginValue, PaddingValue, ResponsiveOpacityValue, ShadowsValue, TextInputValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ReactRuntime } from '../../../react';
|
|
4
|
+
import { Props } from '../../../prop-controllers';
|
|
5
|
+
declare type Props = {
|
|
6
|
+
id?: ElementIDValue;
|
|
7
|
+
file?: ImageValue;
|
|
8
|
+
altText?: TextInputValue;
|
|
9
|
+
link?: LinkValue;
|
|
10
|
+
width?: WidthValue;
|
|
11
|
+
margin?: MarginValue;
|
|
12
|
+
padding?: PaddingValue;
|
|
13
|
+
border?: BorderValue;
|
|
14
|
+
borderRadius?: BorderRadiusValue;
|
|
15
|
+
boxShadow?: ShadowsValue;
|
|
16
|
+
opacity?: ResponsiveOpacityValue;
|
|
17
|
+
placeholder?: {
|
|
18
|
+
src: string;
|
|
19
|
+
dimensions: {
|
|
20
|
+
width: number;
|
|
21
|
+
height: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
className?: string;
|
|
25
|
+
};
|
|
26
|
+
declare const ImageComponent: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLImageElement>>;
|
|
27
|
+
export default ImageComponent;
|
|
28
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
29
|
+
//# sourceMappingURL=Image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Image/Image.tsx"],"names":[],"mappings":";AAIA,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACZ,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAmB9C,OAAO,EAAE,YAAY,EAAkB,MAAM,gBAAgB,CAAA;AAE7D,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,OAAO,CAAC,EAAE,cAAc,CAAA;IACxB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,SAAS,CAAC,EAAE,YAAY,CAAA;IACxB,OAAO,CAAC,EAAE,sBAAsB,CAAA;IAChC,WAAW,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAA;IAC5E,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAkED,QAAA,MAAM,cAAc,oGA8ElB,CAAA;AAEF,eAAe,cAAc,CAAA;AAE7B,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAkBtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Image/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CheckboxValue, ElementIDValue, GapXValue, ImageValue, LinkValue, MarginValue, NavigationLinksValue, ResponsiveColorValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TextInputValue, TextStyleValue, WidthValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ReactRuntime } from '../../../react';
|
|
4
|
+
import { Props } from '../../../prop-controllers';
|
|
5
|
+
declare type Props = {
|
|
6
|
+
id?: ElementIDValue;
|
|
7
|
+
links?: NavigationLinksValue;
|
|
8
|
+
linkTextStyle?: TextStyleValue;
|
|
9
|
+
showLogo?: CheckboxValue;
|
|
10
|
+
logoFile?: ImageValue;
|
|
11
|
+
logoWidth?: ResponsiveLengthValue;
|
|
12
|
+
logoAltText?: TextInputValue;
|
|
13
|
+
logoLink?: LinkValue;
|
|
14
|
+
alignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>;
|
|
15
|
+
gutter?: GapXValue;
|
|
16
|
+
mobileMenuAnimation?: ResponsiveSelectValue<'coverRight' | 'coverLeft'>;
|
|
17
|
+
mobileMenuOpenIconColor?: ResponsiveColorValue;
|
|
18
|
+
mobileMenuCloseIconColor?: ResponsiveColorValue;
|
|
19
|
+
mobileMenuBackgroundColor?: ResponsiveColorValue;
|
|
20
|
+
width?: WidthValue;
|
|
21
|
+
margin?: MarginValue;
|
|
22
|
+
};
|
|
23
|
+
declare const Navigation: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
|
+
export default Navigation;
|
|
25
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
26
|
+
//# sourceMappingURL=Navigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Navigation/Navigation.tsx"],"names":[],"mappings":";AAWA,OAAO,EAEL,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAK9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,aAAa,CAAC,EAAE,cAAc,CAAA;IAC9B,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,QAAQ,CAAC,EAAE,UAAU,CAAA;IACrB,SAAS,CAAC,EAAE,qBAAqB,CAAA;IACjC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,mBAAmB,CAAC,EAAE,qBAAqB,CAAC,YAAY,GAAG,WAAW,CAAC,CAAA;IACvE,uBAAuB,CAAC,EAAE,oBAAoB,CAAA;IAC9C,wBAAwB,CAAC,EAAE,oBAAoB,CAAA;IAC/C,yBAAyB,CAAC,EAAE,oBAAoB,CAAA;IAChD,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AA4DD,QAAA,MAAM,UAAU,kGAwEd,CAAA;AAEF,eAAe,UAAU,CAAA;AAEzB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA4EtD"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import { ResponsiveValue, ResponsiveColorValue, TextStyleValue, LinkValue } from '../../../../../prop-controllers/descriptors';
|
|
3
|
+
import { ColorValue as Color } from '../../../../utils/types';
|
|
4
|
+
import Button from '../../../Button';
|
|
5
|
+
declare const StyledDropDownItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
6
|
+
link?: ({
|
|
7
|
+
type: "OPEN_PAGE";
|
|
8
|
+
payload: {
|
|
9
|
+
pageId: string | null | undefined;
|
|
10
|
+
openInNewTab: boolean;
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
type: "OPEN_URL";
|
|
14
|
+
payload: {
|
|
15
|
+
url: string;
|
|
16
|
+
openInNewTab: boolean;
|
|
17
|
+
};
|
|
18
|
+
} | {
|
|
19
|
+
type: "SEND_EMAIL";
|
|
20
|
+
payload: {
|
|
21
|
+
to: string;
|
|
22
|
+
subject?: string | undefined;
|
|
23
|
+
body?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
} | {
|
|
26
|
+
type: "CALL_PHONE";
|
|
27
|
+
payload: {
|
|
28
|
+
phoneNumber: string;
|
|
29
|
+
};
|
|
30
|
+
} | {
|
|
31
|
+
type: "SCROLL_TO_ELEMENT";
|
|
32
|
+
payload: {
|
|
33
|
+
elementIdConfig: {
|
|
34
|
+
elementKey: string;
|
|
35
|
+
propName: string;
|
|
36
|
+
} | null | undefined;
|
|
37
|
+
block: "start" | "center" | "end";
|
|
38
|
+
};
|
|
39
|
+
}) | undefined;
|
|
40
|
+
onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => unknown) | undefined;
|
|
41
|
+
} & Omit<Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof import("react").AnchorHTMLAttributes<HTMLAnchorElement>>, keyof {
|
|
42
|
+
link?: ({
|
|
43
|
+
type: "OPEN_PAGE";
|
|
44
|
+
payload: {
|
|
45
|
+
pageId: string | null | undefined;
|
|
46
|
+
openInNewTab: boolean;
|
|
47
|
+
};
|
|
48
|
+
} | {
|
|
49
|
+
type: "OPEN_URL";
|
|
50
|
+
payload: {
|
|
51
|
+
url: string;
|
|
52
|
+
openInNewTab: boolean;
|
|
53
|
+
};
|
|
54
|
+
} | {
|
|
55
|
+
type: "SEND_EMAIL";
|
|
56
|
+
payload: {
|
|
57
|
+
to: string;
|
|
58
|
+
subject?: string | undefined;
|
|
59
|
+
body?: string | undefined;
|
|
60
|
+
};
|
|
61
|
+
} | {
|
|
62
|
+
type: "CALL_PHONE";
|
|
63
|
+
payload: {
|
|
64
|
+
phoneNumber: string;
|
|
65
|
+
};
|
|
66
|
+
} | {
|
|
67
|
+
type: "SCROLL_TO_ELEMENT";
|
|
68
|
+
payload: {
|
|
69
|
+
elementIdConfig: {
|
|
70
|
+
elementKey: string;
|
|
71
|
+
propName: string;
|
|
72
|
+
} | null | undefined;
|
|
73
|
+
block: "start" | "center" | "end";
|
|
74
|
+
};
|
|
75
|
+
}) | undefined;
|
|
76
|
+
onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => unknown) | undefined;
|
|
77
|
+
}> & import("react").RefAttributes<HTMLAnchorElement>>, any, {
|
|
78
|
+
color?: ResponsiveValue<Color> | null | undefined;
|
|
79
|
+
textStyle?: TextStyleValue | undefined;
|
|
80
|
+
}, never>;
|
|
81
|
+
declare type BaseDropDownItemProps = {
|
|
82
|
+
color?: ResponsiveColorValue;
|
|
83
|
+
textStyle?: TextStyleValue;
|
|
84
|
+
};
|
|
85
|
+
declare type DropDownItemProps = BaseDropDownItemProps & Omit<ComponentPropsWithoutRef<typeof StyledDropDownItem>, keyof BaseDropDownItemProps>;
|
|
86
|
+
declare function DropDownItem({ color, ...restOfProps }: DropDownItemProps): JSX.Element;
|
|
87
|
+
declare type Props = ComponentPropsWithoutRef<typeof Button> & {
|
|
88
|
+
label: string;
|
|
89
|
+
caret?: 'caret' | 'plus' | 'arrow-down' | 'chevron-down';
|
|
90
|
+
links?: Array<{
|
|
91
|
+
id: string;
|
|
92
|
+
payload: ComponentPropsWithoutRef<typeof DropDownItem> & {
|
|
93
|
+
link?: LinkValue;
|
|
94
|
+
label: string;
|
|
95
|
+
};
|
|
96
|
+
}>;
|
|
97
|
+
};
|
|
98
|
+
export default function DropDownButton({ label, caret, links, ...restOfProps }: Props): JSX.Element;
|
|
99
|
+
export {};
|
|
100
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Navigation/components/DropDownButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAqC,MAAM,OAAO,CAAA;AAQnF,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,SAAS,EACV,MAAM,6CAA6C,CAAA;AACpD,OAAO,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAK7D,OAAO,MAAM,MAAM,iBAAiB,CAAA;AA8CpC,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAgCvB,CAAA;AAED,aAAK,qBAAqB,GAAG;IAC3B,KAAK,CAAC,EAAE,oBAAoB,CAAA;IAC5B,SAAS,CAAC,EAAE,cAAc,CAAA;CAC3B,CAAA;AAED,aAAK,iBAAiB,GAAG,qBAAqB,GAC5C,IAAI,CAAC,wBAAwB,CAAC,OAAO,kBAAkB,CAAC,EAAE,MAAM,qBAAqB,CAAC,CAAA;AAExF,iBAAS,YAAY,CAAC,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,EAAE,iBAAiB,eAGjE;AAED,aAAK,KAAK,GAAG,wBAAwB,CAAC,OAAO,MAAM,CAAC,GAAG;IACrD,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,YAAY,GAAG,cAAc,CAAA;IACxD,KAAK,CAAC,EAAE,KAAK,CAAC;QACZ,EAAE,EAAE,MAAM,CAAA;QACV,OAAO,EAAE,wBAAwB,CAAC,OAAO,YAAY,CAAC,GAAG;YACvD,IAAI,CAAC,EAAE,SAAS,CAAA;YAChB,KAAK,EAAE,MAAM,CAAA;SACd,CAAA;KACF,CAAC,CAAA;CACH,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,KAAe,EACf,KAAU,EACV,GAAG,WAAW,EACf,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAsCrB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ResponsiveLengthValue } from '../../../../../prop-controllers/descriptors';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
gutter?: ResponsiveLengthValue;
|
|
5
|
+
};
|
|
6
|
+
export default function LinksPlaceholder({ gutter }: Props): JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Navigation/components/LinksPlaceholder/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAA;AAWnF,aAAK,KAAK,GAAG;IAAE,MAAM,CAAC,EAAE,qBAAqB,CAAA;CAAE,CAAA;AAI/C,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAUvE"}
|
|
@@ -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,iBAAiB,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GridValue, BackgroundsValue, GapXValue, GapYValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ReactRuntime } from '../../../react';
|
|
4
|
+
import { Props } from '../../../prop-controllers';
|
|
5
|
+
declare type Props = {
|
|
6
|
+
children?: GridValue;
|
|
7
|
+
backgrounds?: BackgroundsValue;
|
|
8
|
+
rowGap?: GapYValue;
|
|
9
|
+
columnGap?: GapXValue;
|
|
10
|
+
};
|
|
11
|
+
declare const Root: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export default Root;
|
|
13
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
14
|
+
//# 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;AAC9C,OAAO,EAAW,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAGtD,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AA0BjD,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,QAAA,MAAM,IAAI,kGA4BR,CAAA;AAEF,eAAe,IAAI,CAAA;AAEnB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAYtD"}
|
|
@@ -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
|