@makeswift/runtime 0.0.0-1faafb3 → 0.0.0-2efc6ab
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/api.js +1 -0
- package/box-model.js +1 -0
- package/builder.js +1 -0
- package/components.js +1 -0
- package/dist/actions.cjs.js +121 -17
- package/dist/actions.cjs.js.map +1 -1
- package/dist/actions.es.js +106 -16
- package/dist/actions.es.js.map +1 -1
- package/dist/api.cjs.js +5 -0
- package/dist/api.cjs.js.map +1 -0
- package/dist/api.es.js +2 -0
- package/dist/api.es.js.map +1 -0
- package/dist/box-model.cjs.js +2 -2
- package/dist/box-model.es.js +1 -0
- package/dist/box-model.es.js.map +1 -1
- package/dist/box-models.cjs.js +28 -156
- package/dist/box-models.cjs.js.map +1 -1
- package/dist/box-models.es.js +31 -159
- package/dist/box-models.es.js.map +1 -1
- package/dist/builder.cjs.js +9 -0
- package/dist/builder.cjs.js.map +1 -0
- package/dist/builder.es.js +3 -0
- package/dist/builder.es.js.map +1 -0
- package/dist/components.cjs.js +66 -6900
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +28 -6866
- package/dist/components.es.js.map +1 -1
- package/dist/constants.cjs.js +241 -0
- package/dist/constants.cjs.js.map +1 -0
- package/dist/constants.es.js +240 -0
- package/dist/constants.es.js.map +1 -0
- package/dist/control-serialization.cjs.js +147 -0
- package/dist/control-serialization.cjs.js.map +1 -0
- package/dist/control-serialization.es.js +143 -0
- package/dist/control-serialization.es.js.map +1 -0
- package/dist/descriptors.cjs.js +223 -0
- package/dist/descriptors.cjs.js.map +1 -0
- package/dist/descriptors.es.js +188 -0
- package/dist/descriptors.es.js.map +1 -0
- package/dist/instances.cjs.js +106 -0
- package/dist/instances.cjs.js.map +1 -0
- package/dist/instances.es.js +103 -0
- package/dist/instances.es.js.map +1 -0
- package/dist/main.cjs.js +14 -2
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +5 -1
- package/dist/main.es.js.map +1 -1
- package/dist/next.cjs.js +171 -0
- package/dist/next.cjs.js.map +1 -0
- package/dist/next.es.js +161 -0
- package/dist/next.es.js.map +1 -0
- package/dist/prop-controllers.cjs.js +6 -175
- 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 +274 -4130
- package/dist/react-builder-preview.cjs.js.map +1 -1
- package/dist/react-builder-preview.es.js +267 -4127
- package/dist/react-builder-preview.es.js.map +1 -1
- package/dist/react-page.cjs.js +262 -0
- package/dist/react-page.cjs.js.map +1 -0
- package/dist/react-page.es.js +241 -0
- package/dist/react-page.es.js.map +1 -0
- package/dist/react.cjs.js +31 -3
- package/dist/react.cjs.js.map +1 -1
- package/dist/react.cjs2.js +7754 -681
- package/dist/react.cjs2.js.map +1 -1
- package/dist/react.es.js +27 -1
- package/dist/react.es.js.map +1 -1
- package/dist/react.es2.js +7667 -649
- package/dist/react.es2.js.map +1 -1
- package/dist/types/api/constants.d.ts +4 -0
- package/dist/types/api/constants.d.ts.map +1 -0
- package/dist/types/api/generated/graphql.d.ts +120 -0
- package/dist/types/api/generated/graphql.d.ts.map +1 -0
- package/dist/types/api/index.d.ts +3 -0
- package/dist/types/api/index.d.ts.map +1 -0
- package/dist/types/api/react.d.ts +13 -0
- package/dist/types/api/react.d.ts.map +1 -0
- package/dist/types/api/types.d.ts +4 -0
- package/dist/types/api/types.d.ts.map +1 -0
- package/dist/types/builder/index.d.ts +2 -0
- package/dist/types/builder/index.d.ts.map +1 -0
- package/dist/types/builder/serialization/control-serialization.d.ts +78 -0
- package/dist/types/builder/serialization/control-serialization.d.ts.map +1 -0
- package/dist/types/builder/serialization/function-serialization.d.ts +11 -0
- package/dist/types/builder/serialization/function-serialization.d.ts.map +1 -0
- package/dist/types/builder/serialization/index.d.ts +3 -0
- package/dist/types/builder/serialization/index.d.ts.map +1 -0
- package/dist/types/components/{Box → builtin/Box}/Box.d.ts +10 -4
- package/dist/types/components/builtin/Box/Box.d.ts.map +1 -0
- package/dist/types/components/{Box → builtin/Box}/animations.d.ts +2 -2
- package/dist/types/components/builtin/Box/animations.d.ts.map +1 -0
- package/dist/types/components/{Box → builtin/Box}/components/Placeholder/index.d.ts +0 -0
- package/dist/types/components/builtin/Box/components/Placeholder/index.d.ts.map +1 -0
- package/dist/types/components/{Box → builtin/Box}/index.d.ts +1 -1
- 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/Form/Form.d.ts +41 -0
- package/dist/types/components/builtin/Form/Form.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/Checkbox/index.d.ts +15 -0
- package/dist/types/components/builtin/Form/components/Field/components/Checkbox/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts +15 -0
- package/dist/types/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/Input/index.d.ts +14 -0
- package/dist/types/components/builtin/Form/components/Field/components/Input/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/Label/index.d.ts +16 -0
- package/dist/types/components/builtin/Form/components/Field/components/Label/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts +10 -0
- package/dist/types/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts +23 -0
- package/dist/types/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts +3 -0
- package/dist/types/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/RadioButton/index.d.ts +17 -0
- package/dist/types/components/builtin/Form/components/Field/components/RadioButton/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts +23 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts +19 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/index.d.ts +24 -0
- package/dist/types/components/builtin/Form/components/Field/components/SingleSelectTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/TextArea/index.d.ts +13 -0
- package/dist/types/components/builtin/Form/components/Field/components/TextArea/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/components/URLTableField/index.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/components/URLTableField/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/index.d.ts +19 -0
- package/dist/types/components/builtin/Form/components/Field/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Field/services/cssField.d.ts +11 -0
- package/dist/types/components/builtin/Form/components/Field/services/cssField.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Placeholder/index.d.ts +9 -0
- package/dist/types/components/builtin/Form/components/Placeholder/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/components/Spinner/index.d.ts +3 -0
- package/dist/types/components/builtin/Form/components/Spinner/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/context/FormContext.d.ts +32 -0
- package/dist/types/components/builtin/Form/context/FormContext.d.ts.map +1 -0
- package/dist/types/components/builtin/Form/index.d.ts +2 -0
- package/dist/types/components/builtin/Form/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/{Root → builtin/Root}/components/Placeholder/index.d.ts +0 -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/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/index.d.ts +2 -0
- package/dist/types/components/builtin/Text/index.d.ts.map +1 -0
- package/dist/types/components/builtin/Video/Video.d.ts +15 -0
- package/dist/types/components/builtin/Video/Video.d.ts.map +1 -0
- package/dist/types/components/builtin/Video/index.d.ts +2 -0
- package/dist/types/components/builtin/Video/index.d.ts.map +1 -0
- package/dist/types/components/builtin/index.d.ts +16 -0
- package/dist/types/components/builtin/index.d.ts.map +1 -0
- package/dist/types/components/hooks/index.d.ts +7 -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/useTable.d.ts +66 -0
- package/dist/types/components/hooks/useTable.d.ts.map +1 -0
- package/dist/types/components/hooks/useTableFormFieldRefs.d.ts +8 -0
- package/dist/types/components/hooks/useTableFormFieldRefs.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 +3 -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/devices.d.ts +1 -0
- package/dist/types/components/utils/devices.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 +17 -0
- package/dist/types/components/utils/placeholders.d.ts.map +1 -0
- package/dist/types/components/utils/queries.d.ts +8 -0
- package/dist/types/components/utils/queries.d.ts.map +1 -0
- package/dist/types/components/utils/types.d.ts +10 -0
- package/dist/types/components/utils/types.d.ts.map +1 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/next.d.ts +21 -0
- package/dist/types/next.d.ts.map +1 -0
- package/dist/types/prop-controllers/descriptors.d.ts +59 -4
- 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 +101 -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 +27 -12
- package/dist/types/runtimes/react.d.ts.map +1 -1
- package/dist/types/state/actions.d.ts +161 -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/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/modules/read-only-documents.d.ts +8 -4
- package/dist/types/state/modules/read-only-documents.d.ts.map +1 -1
- package/dist/types/state/modules/read-write-documents.d.ts +1 -1
- package/dist/types/state/modules/read-write-documents.d.ts.map +1 -1
- package/dist/types/state/react-builder-preview.d.ts +16 -11
- package/dist/types/state/react-builder-preview.d.ts.map +1 -1
- package/dist/types/state/react-page.d.ts +8 -3
- 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/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/next.js +1 -0
- package/package.json +72 -15
- package/prop-controllers.js +1 -0
- package/react.js +1 -0
- package/dist/types/components/Box/Box.d.ts.map +0 -1
- package/dist/types/components/Box/animations.d.ts.map +0 -1
- package/dist/types/components/Box/components/Placeholder/index.d.ts.map +0 -1
- package/dist/types/components/Box/index.d.ts.map +0 -1
- package/dist/types/components/Root/Root.d.ts +0 -11
- package/dist/types/components/Root/Root.d.ts.map +0 -1
- package/dist/types/components/Root/components/Placeholder/index.d.ts.map +0 -1
- package/dist/types/components/Root/index.d.ts +0 -2
- package/dist/types/components/Root/index.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/api/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAU3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,eAAe,EAAE,YAAY,CAO3D,CAAA"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
export declare type SwatchFragment = {
|
|
3
|
+
__typename: 'Swatch';
|
|
4
|
+
id: string;
|
|
5
|
+
hue: number;
|
|
6
|
+
saturation: number;
|
|
7
|
+
lightness: number;
|
|
8
|
+
};
|
|
9
|
+
export declare type FileFragment = {
|
|
10
|
+
__typename: 'File';
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
publicUrl: any;
|
|
14
|
+
extension?: string | null;
|
|
15
|
+
dimensions?: {
|
|
16
|
+
__typename?: 'ImageDimensions';
|
|
17
|
+
width: number;
|
|
18
|
+
height: number;
|
|
19
|
+
} | null;
|
|
20
|
+
};
|
|
21
|
+
export declare type TypographyFragment = {
|
|
22
|
+
__typename: 'Typography';
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
style: Array<{
|
|
26
|
+
__typename?: 'TypographyStyle';
|
|
27
|
+
deviceId: string;
|
|
28
|
+
value: {
|
|
29
|
+
__typename?: 'TypographyStyleValue';
|
|
30
|
+
fontFamily?: string | null;
|
|
31
|
+
lineHeight?: number | null;
|
|
32
|
+
letterSpacing?: number | null;
|
|
33
|
+
fontWeight?: number | null;
|
|
34
|
+
textAlign?: string | null;
|
|
35
|
+
uppercase?: boolean | null;
|
|
36
|
+
underline?: boolean | null;
|
|
37
|
+
strikethrough?: boolean | null;
|
|
38
|
+
italic?: boolean | null;
|
|
39
|
+
fontSize?: {
|
|
40
|
+
__typename?: 'Length';
|
|
41
|
+
value?: number | null;
|
|
42
|
+
unit?: string | null;
|
|
43
|
+
} | null;
|
|
44
|
+
color?: {
|
|
45
|
+
__typename?: 'Color';
|
|
46
|
+
swatchId?: string | null;
|
|
47
|
+
alpha?: number | null;
|
|
48
|
+
} | null;
|
|
49
|
+
};
|
|
50
|
+
}>;
|
|
51
|
+
};
|
|
52
|
+
export declare type PagePathnameSliceFragment = {
|
|
53
|
+
__typename: 'PagePathnameSlice';
|
|
54
|
+
id: string;
|
|
55
|
+
pathname: any;
|
|
56
|
+
};
|
|
57
|
+
export declare type GlobalElementFragment = {
|
|
58
|
+
__typename: 'GlobalElement';
|
|
59
|
+
id: string;
|
|
60
|
+
data: any;
|
|
61
|
+
};
|
|
62
|
+
export declare type TableFragment = {
|
|
63
|
+
__typename: 'Table';
|
|
64
|
+
id: string;
|
|
65
|
+
name: string;
|
|
66
|
+
columns: Array<{
|
|
67
|
+
__typename?: 'CheckboxTableColumn';
|
|
68
|
+
id: string;
|
|
69
|
+
name: string;
|
|
70
|
+
} | {
|
|
71
|
+
__typename?: 'EmailTableColumn';
|
|
72
|
+
id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
} | {
|
|
75
|
+
__typename?: 'LongTextTableColumn';
|
|
76
|
+
id: string;
|
|
77
|
+
name: string;
|
|
78
|
+
} | {
|
|
79
|
+
__typename?: 'MultipleSelectTableColumn';
|
|
80
|
+
id: string;
|
|
81
|
+
name: string;
|
|
82
|
+
options: Array<{
|
|
83
|
+
__typename?: 'MultipleSelectTableColumnOption';
|
|
84
|
+
id: string;
|
|
85
|
+
name: string;
|
|
86
|
+
}>;
|
|
87
|
+
} | {
|
|
88
|
+
__typename?: 'NumberTableColumn';
|
|
89
|
+
id: string;
|
|
90
|
+
name: string;
|
|
91
|
+
} | {
|
|
92
|
+
__typename?: 'PhoneNumberTableColumn';
|
|
93
|
+
id: string;
|
|
94
|
+
name: string;
|
|
95
|
+
} | {
|
|
96
|
+
__typename?: 'SingleLineTextTableColumn';
|
|
97
|
+
id: string;
|
|
98
|
+
name: string;
|
|
99
|
+
} | {
|
|
100
|
+
__typename?: 'SingleSelectTableColumn';
|
|
101
|
+
id: string;
|
|
102
|
+
name: string;
|
|
103
|
+
options: Array<{
|
|
104
|
+
__typename?: 'SingleSelectTableColumnOption';
|
|
105
|
+
id: string;
|
|
106
|
+
name: string;
|
|
107
|
+
}>;
|
|
108
|
+
} | {
|
|
109
|
+
__typename?: 'URLTableColumn';
|
|
110
|
+
id: string;
|
|
111
|
+
name: string;
|
|
112
|
+
}>;
|
|
113
|
+
};
|
|
114
|
+
export declare const SwatchFragmentDoc: DocumentNode<SwatchFragment, unknown>;
|
|
115
|
+
export declare const FileFragmentDoc: DocumentNode<FileFragment, unknown>;
|
|
116
|
+
export declare const TypographyFragmentDoc: DocumentNode<TypographyFragment, unknown>;
|
|
117
|
+
export declare const PagePathnameSliceFragmentDoc: DocumentNode<PagePathnameSliceFragment, unknown>;
|
|
118
|
+
export declare const GlobalElementFragmentDoc: DocumentNode<GlobalElementFragment, unknown>;
|
|
119
|
+
export declare const TableFragmentDoc: DocumentNode<TableFragment, unknown>;
|
|
120
|
+
//# sourceMappingURL=graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/api/generated/graphql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,IAAI,YAAY,EAAE,MAAM,mCAAmC,CAAA;AACrF,oBAAY,cAAc,GAAG;IAC3B,UAAU,EAAE,QAAQ,CAAA;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CAClB,CA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F,GACD;QAAE,UAAU,CAAC,EAAE,mBAAmB,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GAC9D;QAAE,UAAU,CAAC,EAAE,wBAAwB,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GACnE;QAAE,UAAU,CAAC,EAAE,2BAA2B,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,GACtE;QACE,UAAU,CAAC,EAAE,yBAAyB,CAAA;QACtC,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,EAAE,KAAK,CAAC;YAAE,UAAU,CAAC,EAAE,+BAA+B,CAAC;YAAC,EAAE,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAC3F,GACD;QAAE,UAAU,CAAC,EAAE,gBAAgB,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAC9D,CAAA;CACF,CAAA;AAED,eAAO,MAAM,iBAAiB,uCAmBuB,CAAA;AACrD,eAAO,MAAM,eAAe,qCA8BuB,CAAA;AACnD,eAAO,MAAM,qBAAqB,2CAmEuB,CAAA;AACzD,eAAO,MAAM,4BAA4B,kDAiBuB,CAAA;AAChE,eAAO,MAAM,wBAAwB,8CAiBuB,CAAA;AAC5D,eAAO,MAAM,gBAAgB,sCA0EuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ApolloClient, DocumentNode, NormalizedCacheObject, OperationVariables, QueryHookOptions, QueryResult, TypedDocumentNode, DefaultContext, ApolloCache, MutationHookOptions, MutationTuple } from '@apollo/client';
|
|
3
|
+
export { gql } from '@apollo/client';
|
|
4
|
+
import { ApolloProviderProps } from '@apollo/client/react/context';
|
|
5
|
+
export declare function useQuery<TData = any, TVariables = OperationVariables>(query: DocumentNode | TypedDocumentNode<TData, TVariables>, options?: QueryHookOptions<TData, TVariables>): QueryResult<TData, TVariables>;
|
|
6
|
+
export declare function useMutation<TData = any, TVariables = OperationVariables, TContext = DefaultContext, TCache extends ApolloCache<any> = ApolloCache<any>>(mutation: DocumentNode | TypedDocumentNode<TData, TVariables>, options?: MutationHookOptions<TData, TVariables, TContext>): MutationTuple<TData, TVariables, TContext, TCache>;
|
|
7
|
+
export declare function ApolloProvider({ client, children }: ApolloProviderProps<NormalizedCacheObject>): JSX.Element;
|
|
8
|
+
declare type CreateApolloClientParams = {
|
|
9
|
+
uri?: string;
|
|
10
|
+
cacheData?: NormalizedCacheObject;
|
|
11
|
+
};
|
|
12
|
+
export declare function createApolloClient({ uri, cacheData }: CreateApolloClientParams): ApolloClient<NormalizedCacheObject>;
|
|
13
|
+
//# sourceMappingURL=react.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/api/react.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,qBAAqB,EACrB,kBAAkB,EAClB,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EAGjB,cAAc,EACd,WAAW,EACX,mBAAmB,EACnB,aAAa,EAGd,MAAM,gBAAgB,CAAA;AACvB,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAA;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AAKlE,wBAAgB,QAAQ,CAAC,KAAK,GAAG,GAAG,EAAE,UAAU,GAAG,kBAAkB,EACnE,KAAK,EAAE,YAAY,GAAG,iBAAiB,CAAC,KAAK,EAAE,UAAU,CAAC,EAC1D,OAAO,CAAC,EAAE,gBAAgB,CAAC,KAAK,EAAE,UAAU,CAAC,GAC5C,WAAW,CAAC,KAAK,EAAE,UAAU,CAAC,CAIhC;AAED,wBAAgB,WAAW,CACzB,KAAK,GAAG,GAAG,EACX,UAAU,GAAG,kBAAkB,EAC/B,QAAQ,GAAG,cAAc,EACzB,MAAM,SAAS,WAAW,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,EAElD,QAAQ,EAAE,YAAY,GAAG,iBAAiB,CAAC,KAAK,EAAE,UAAU,CAAC,EAC7D,OAAO,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,CAAC,GACzD,aAAa,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,CAAC,CAIpD;AAED,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,mBAAmB,CAAC,qBAAqB,CAAC,eAE9F;AAwCD,aAAK,wBAAwB,GAAG;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,qBAAqB,CAAA;CAClC,CAAA;AAED,wBAAgB,kBAAkB,CAAC,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,wBAAwB,uCAM9E"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SwatchFragment as Swatch, FileFragment as File, TypographyFragment as Typography, PagePathnameSliceFragment as PagePathnameSlice, GlobalElementFragment as GlobalElement, TableFragment as Table } from './generated/graphql';
|
|
2
|
+
export declare type APIResource = Swatch | File | Typography | PagePathnameSlice | GlobalElement | Table;
|
|
3
|
+
export declare type APIResourceType = APIResource['__typename'];
|
|
4
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/api/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,MAAM,EACxB,YAAY,IAAI,IAAI,EACpB,kBAAkB,IAAI,UAAU,EAChC,yBAAyB,IAAI,iBAAiB,EAC9C,qBAAqB,IAAI,aAAa,EACtC,aAAa,IAAI,KAAK,EACvB,MAAM,qBAAqB,CAAA;AAE5B,oBAAY,WAAW,GAAG,MAAM,GAAG,IAAI,GAAG,UAAU,GAAG,iBAAiB,GAAG,aAAa,GAAG,KAAK,CAAA;AAEhG,oBAAY,eAAe,GAAG,WAAW,CAAC,YAAY,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/builder/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Data, ListDescriptor as ListControl, ListOptions as ListControlConfig, ListValue as ListControlValue, ShapeDescriptor as ShapeControl, ShapeValue as ShapeControlValue, TypeaheadDescriptor as TypeaheadControl, TypeaheadOptions as TypeaheadControlConfig, TypeaheadValue as TypeaheadControlValue, PanelDescriptorType as PanelControlType, PropControllerDescriptor as Control, Props as Controls } from '../../prop-controllers';
|
|
2
|
+
import { DeserializedFunction, SerializedFunction } from './function-serialization';
|
|
3
|
+
declare type SerializedShapeControlConfig<T extends Record<string, SerializedPanelControl>> = {
|
|
4
|
+
type: T;
|
|
5
|
+
preset?: {
|
|
6
|
+
[K in keyof T]?: SerializedPanelControlValueType<T[K]>;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
declare type SerializedShapeControl<_T extends Record<string, Data>, U extends Record<string, SerializedPanelControl>> = {
|
|
10
|
+
type: typeof Controls.Types.Shape;
|
|
11
|
+
options: SerializedShapeControlConfig<U>;
|
|
12
|
+
};
|
|
13
|
+
declare type DeserializedShapeControlConfig<T extends Record<string, DeserializedPanelControl>> = {
|
|
14
|
+
type: T;
|
|
15
|
+
preset?: {
|
|
16
|
+
[K in keyof T]?: DeserializedPanelControlValueType<T[K]>;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
declare type DeserializedShapeControl<_T extends Record<string, Data>, U extends Record<string, DeserializedPanelControl>> = {
|
|
20
|
+
type: typeof Controls.Types.Shape;
|
|
21
|
+
options: DeserializedShapeControlConfig<U>;
|
|
22
|
+
};
|
|
23
|
+
declare type SerializedListControlConfig<T extends Data> = {
|
|
24
|
+
type: SerializedPanelControl<T>;
|
|
25
|
+
label?: string;
|
|
26
|
+
getItemLabel?: SerializedFunction<Exclude<ListControlConfig<T>['getItemLabel'], undefined>>;
|
|
27
|
+
preset?: ListControlValue<T>;
|
|
28
|
+
defaultValue?: ListControlValue<T>;
|
|
29
|
+
};
|
|
30
|
+
declare type SerializedListControl<T extends ListControlValue = ListControlValue> = {
|
|
31
|
+
type: typeof Controls.Types.List;
|
|
32
|
+
options: SerializedListControlConfig<T extends ListControlValue<infer U> ? U : never>;
|
|
33
|
+
};
|
|
34
|
+
declare type DeserializedListControlConfig<T extends Data> = {
|
|
35
|
+
type: DeserializedPanelControl<T>;
|
|
36
|
+
label?: string;
|
|
37
|
+
getItemLabel?: DeserializedFunction<Exclude<ListControlConfig<T>['getItemLabel'], undefined>>;
|
|
38
|
+
preset?: ListControlValue<T>;
|
|
39
|
+
defaultValue?: ListControlValue<T>;
|
|
40
|
+
};
|
|
41
|
+
declare type DeserializedListControl<T extends ListControlValue = ListControlValue> = {
|
|
42
|
+
type: typeof Controls.Types.List;
|
|
43
|
+
options: DeserializedListControlConfig<T extends ListControlValue<infer U> ? U : never>;
|
|
44
|
+
};
|
|
45
|
+
declare type SerializedTypeaheadControlConfig<T extends Data> = {
|
|
46
|
+
getItems: SerializedFunction<TypeaheadControlConfig<T>['getItems']>;
|
|
47
|
+
label?: string;
|
|
48
|
+
preset?: TypeaheadControlValue<T>;
|
|
49
|
+
defaultValue?: TypeaheadControlValue<T>;
|
|
50
|
+
};
|
|
51
|
+
declare type SerializedTypeaheadControl<T extends TypeaheadControlValue = TypeaheadControlValue> = {
|
|
52
|
+
type: typeof Controls.Types.Typeahead;
|
|
53
|
+
options: SerializedTypeaheadControlConfig<T['value']>;
|
|
54
|
+
};
|
|
55
|
+
declare type DeserializedTypeaheadControlConfig<T extends Data> = {
|
|
56
|
+
getItems: DeserializedFunction<TypeaheadControlConfig<T>['getItems']>;
|
|
57
|
+
label?: string;
|
|
58
|
+
preset?: TypeaheadControlValue<T>;
|
|
59
|
+
defaultValue?: TypeaheadControlValue<T>;
|
|
60
|
+
};
|
|
61
|
+
declare type DeserializedTypeaheadControl<T extends TypeaheadControlValue = TypeaheadControlValue> = {
|
|
62
|
+
type: typeof Controls.Types.Typeahead;
|
|
63
|
+
options: DeserializedTypeaheadControlConfig<T['value']>;
|
|
64
|
+
};
|
|
65
|
+
export declare type SerializedControl<T extends Data = Data> = Exclude<Control<T>, ListControl<T extends ListControlValue ? T : ListControlValue> | ShapeControl<T extends ShapeControlValue ? T : ShapeControlValue, any> | TypeaheadControl<T extends TypeaheadControlValue ? T : TypeaheadControlValue>> | SerializedListControl<T extends ListControlValue ? T : ListControlValue> | SerializedShapeControl<T extends ShapeControlValue ? T : ShapeControlValue, any> | SerializedTypeaheadControl<T extends TypeaheadControlValue ? T : TypeaheadControlValue>;
|
|
66
|
+
declare type SerializedPanelControl<T extends Data = Data> = Extract<SerializedControl<T>, {
|
|
67
|
+
type: PanelControlType;
|
|
68
|
+
}>;
|
|
69
|
+
declare type SerializedPanelControlValueType<T extends SerializedPanelControl> = T extends SerializedPanelControl<infer U> ? U : never;
|
|
70
|
+
export declare type DeserializedControl<T extends Data = Data> = Exclude<Control<T>, ListControl<T extends ListControlValue ? T : ListControlValue> | ShapeControl<T extends ShapeControlValue ? T : ShapeControlValue, any> | TypeaheadControl<T extends TypeaheadControlValue ? T : TypeaheadControlValue>> | DeserializedListControl<T extends ListControlValue ? T : ListControlValue> | DeserializedShapeControl<T extends ShapeControlValue ? T : ShapeControlValue, any> | DeserializedTypeaheadControl<T extends TypeaheadControlValue ? T : TypeaheadControlValue>;
|
|
71
|
+
declare type DeserializedPanelControl<T extends Data = Data> = Extract<DeserializedControl<T>, {
|
|
72
|
+
type: PanelControlType;
|
|
73
|
+
}>;
|
|
74
|
+
declare type DeserializedPanelControlValueType<T extends DeserializedPanelControl> = T extends DeserializedPanelControl<infer U> ? U : never;
|
|
75
|
+
export declare function serializeControls(controls: Record<string, Control>): [Record<string, SerializedControl>, Transferable[]];
|
|
76
|
+
export declare function deserializeControls(serializedControls: Record<string, SerializedControl>): Record<string, DeserializedControl>;
|
|
77
|
+
export {};
|
|
78
|
+
//# sourceMappingURL=control-serialization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-serialization.d.ts","sourceRoot":"","sources":["../../../../src/builder/serialization/control-serialization.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,cAAc,IAAI,WAAW,EAC7B,WAAW,IAAI,iBAAiB,EAChC,SAAS,IAAI,gBAAgB,EAC7B,eAAe,IAAI,YAAY,EAC/B,UAAU,IAAI,iBAAiB,EAC/B,mBAAmB,IAAI,gBAAgB,EACvC,gBAAgB,IAAI,sBAAsB,EAC1C,cAAc,IAAI,qBAAqB,EAEvC,mBAAmB,IAAI,gBAAgB,EAEvC,wBAAwB,IAAI,OAAO,EACnC,KAAK,IAAI,QAAQ,EAClB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,oBAAoB,EAEpB,kBAAkB,EAEnB,MAAM,0BAA0B,CAAA;AAEjC,aAAK,4BAA4B,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,sBAAsB,CAAC,IAAI;IACpF,IAAI,EAAE,CAAC,CAAA;IACP,MAAM,CAAC,EAAE;SAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,+BAA+B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAAE,CAAA;CACpE,CAAA;AAED,aAAK,sBAAsB,CACzB,EAAE,S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ASrD;AAED,wBAAgB,mBAAmB,CACjC,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,GACpD,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAOrC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const SerializedFunctionTag: unique symbol;
|
|
2
|
+
declare type AnyFunction = (...args: any) => any;
|
|
3
|
+
export declare type SerializedFunction<T extends AnyFunction> = MessagePort & {
|
|
4
|
+
readonly [SerializedFunctionTag]: T;
|
|
5
|
+
};
|
|
6
|
+
declare type SerializedFunctionReturnType<T extends AnyFunction> = Awaited<ReturnType<T>>;
|
|
7
|
+
export declare type DeserializedFunction<T extends AnyFunction> = (...args: Parameters<T>) => Promise<SerializedFunctionReturnType<T>>;
|
|
8
|
+
export declare function serializeFunction<T extends AnyFunction>(func: T): SerializedFunction<T>;
|
|
9
|
+
export declare function deserializeFunction<T extends AnyFunction>(serializedFunction: SerializedFunction<T>): DeserializedFunction<T>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=function-serialization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function-serialization.d.ts","sourceRoot":"","sources":["../../../../src/builder/serialization/function-serialization.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,qBAAqB,EAAE,OAAO,MAAM,CAAA;AAElD,aAAK,WAAW,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,CAAA;AAExC,oBAAY,kBAAkB,CAAC,CAAC,SAAS,WAAW,IAAI,WAAW,GAAG;IACpE,QAAQ,CAAC,CAAC,qBAAqB,CAAC,EAAE,CAAC,CAAA;CACpC,CAAA;AAED,aAAK,4BAA4B,CAAC,CAAC,SAAS,WAAW,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAA;AAEjF,oBAAY,oBAAoB,CAAC,CAAC,SAAS,WAAW,IAAI,CACxD,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KACnB,OAAO,CAAC,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAA;AAI7C,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,WAAW,EAAE,IAAI,EAAE,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAYvF;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,WAAW,EACvD,kBAAkB,EAAE,kBAAkB,CAAC,CAAC,CAAC,GACxC,oBAAoB,CAAC,CAAC,CAAC,CAuBzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/builder/serialization/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { ReactRuntime } from '../../../react';
|
|
2
3
|
import { BoxAnimateIn } from './animations';
|
|
3
|
-
import { BorderRadiusValue, ElementIDValue, WidthValue, MarginValue, PaddingValue, ResponsiveIconRadioGroupValue, GridValue, GapYValue, GapXValue, CheckboxValue, ResponsiveSelectValue, ResponsiveNumberValue } from '
|
|
4
|
-
import { BoxModelHandle } from '
|
|
4
|
+
import { BorderRadiusValue, ElementIDValue, WidthValue, MarginValue, PaddingValue, ResponsiveIconRadioGroupValue, GridValue, GapYValue, GapXValue, CheckboxValue, ResponsiveSelectValue, ResponsiveNumberValue, BackgroundsValue, BorderValue, ShadowsValue } from '../../../prop-controllers/descriptors';
|
|
5
|
+
import { BoxModelHandle } from '../../../box-model';
|
|
6
|
+
import { Props } from '../../../prop-controllers';
|
|
5
7
|
declare type Props = {
|
|
6
8
|
id?: ElementIDValue;
|
|
9
|
+
backgrounds?: BackgroundsValue;
|
|
7
10
|
width?: WidthValue;
|
|
8
11
|
height?: ResponsiveIconRadioGroupValue<'auto' | 'stretch'>;
|
|
9
12
|
verticalAlign?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end' | 'space-between'>;
|
|
10
13
|
margin?: MarginValue;
|
|
11
14
|
padding?: PaddingValue;
|
|
15
|
+
border?: BorderValue;
|
|
12
16
|
borderRadius?: BorderRadiusValue;
|
|
17
|
+
boxShadow?: ShadowsValue;
|
|
13
18
|
rowGap?: GapYValue;
|
|
14
19
|
columnGap?: GapXValue;
|
|
15
20
|
boxAnimateType?: ResponsiveSelectValue<BoxAnimateIn>;
|
|
@@ -22,6 +27,7 @@ declare type Props = {
|
|
|
22
27
|
hidePlaceholder?: CheckboxValue;
|
|
23
28
|
children?: GridValue;
|
|
24
29
|
};
|
|
25
|
-
declare const
|
|
26
|
-
export default
|
|
30
|
+
declare const Box: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<BoxModelHandle>>;
|
|
31
|
+
export default Box;
|
|
32
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
27
33
|
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Box/Box.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAW,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EACL,YAAY,EAMb,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,WAAW,EACX,YAAY,EACZ,6BAA6B,EAC7B,SAAS,EACT,SAAS,EACT,SAAS,EACT,aAAa,EACb,qBAAqB,EACrB,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,YAAY,EACb,MAAM,uCAAuC,CAAA;AAW9C,OAAO,EAAE,cAAc,EAAoB,MAAM,oBAAoB,CAAA;AAQrE,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAEjD,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,WAAW,CAAC,EAAE,gBAAgB,CAAA;IAC9B,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,6BAA6B,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC1D,aAAa,CAAC,EAAE,6BAA6B,CAC3C,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,CACvD,CAAA;IACD,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,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,cAAc,CAAC,EAAE,qBAAqB,CAAC,YAAY,CAAC,CAAA;IACpD,kBAAkB,CAAC,EAAE,qBAAqB,CAAA;IAC1C,eAAe,CAAC,EAAE,qBAAqB,CAAA;IACvC,eAAe,CAAC,EAAE,qBAAqB,CAAC,YAAY,CAAC,CAAA;IACrD,mBAAmB,CAAC,EAAE,qBAAqB,CAAA;IAC3C,gBAAgB,CAAC,EAAE,qBAAqB,CAAA;IACxC,mBAAmB,CAAC,EAAE,qBAAqB,CAAA;IAC3C,eAAe,CAAC,EAAE,aAAa,CAAA;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB,CAAA;AAgDD,QAAA,MAAM,GAAG,kGAiIP,CAAA;AAEF,eAAe,GAAG,CAAA;AAElB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAoItD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TargetAndTransition, Transition, Variants, MotionProps } from 'framer-motion';
|
|
2
2
|
import { TransitionMap } from 'framer-motion/types/types';
|
|
3
|
-
import { ResponsiveValue } from '
|
|
4
|
-
import { Element } from '
|
|
3
|
+
import { ResponsiveValue } from '../../../prop-controllers';
|
|
4
|
+
import { Element } from '../../../state/react-page';
|
|
5
5
|
export declare type BoxAnimateIn = 'none' | 'fadeIn' | 'fadeUp' | 'fadeDown' | 'fadeLeft' | 'fadeRight' | 'blurIn' | 'scaleUp' | 'scaleDown';
|
|
6
6
|
declare type BoxAnimationVariants = {
|
|
7
7
|
entered: TargetAndTransition;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Box/animations.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,UAAU,EAGV,QAAQ,EACR,WAAW,EACZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAGzD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAA;AAEnD,oBAAY,YAAY,GACpB,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,UAAU,GACV,WAAW,GACX,QAAQ,GACR,SAAS,GACT,WAAW,CAAA;AASf,aAAK,oBAAoB,GAAG;IAC1B,OAAO,EAAE,mBAAmB,CAAA;IAC5B,MAAM,EAAE,mBAAmB,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE;KACzB,GAAG,IAAI,YAAY,GAAG;QACrB,UAAU,EAAE,aAAa,CAAA;KAC1B,GAAG,oBAAoB;CA8HzB,CAAA;AAmBD,oBAAY,gBAAgB,GAAG;IAC7B,uBAAuB,EAAE;QACvB,UAAU,EAAE,UAAU,CAAA;QACtB,QAAQ,EAAE,QAAQ,CAAA;KACnB,CAAA;IACD,oBAAoB,EAAE;QACpB,UAAU,EAAE,UAAU,CAAA;KACvB,CAAA;IACD,mBAAmB,EAAE;QACnB,UAAU,EAAE,UAAU,CAAA;QACtB,QAAQ,EAAE,QAAQ,CAAA;KACnB,CAAA;CACF,CAAA;AAwBD,eAAO,MAAM,wBAAwB,SAAS,CAAA;AA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WAAW,GAAG,IAAI;cACpB,OAAO,EAAE,GAAG,SAAS;MAC7B,uBAqHH,CAAA"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Box/components/Placeholder/index.tsx"],"names":[],"mappings":";AAWA,aAAK,KAAK,GAAG;IAAE,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAA;;AAE/B,wBA2BE"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from './Box';
|
|
1
|
+
export { default, registerComponent } from './Box';
|
|
2
2
|
export { DEFAULT_BOX_ANIMATE_TYPE, DEFAULT_BOX_ANIMATE_DELAY, DEFAULT_BOX_ANIMATE_DURATION, DEFAULT_ITEM_ANIMATE_TYPE, DEFAULT_ITEM_ANIMATE_DELAY, DEFAULT_ITEM_ANIMATE_DURATION, DEFAULT_ITEM_STAGGER_DURATION, } from './animations';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Box/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAClD,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,6BAA6B,GAC9B,MAAM,cAAc,CAAA"}
|
|
@@ -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,OAAO,EAAE,YAAY,EAAE,wBAAwB,EAAc,MAAM,OAAO,CAAA;AAK1E,OAAO,EACL,eAAe,EACf,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,6BAA6B,EAC7B,cAAc,EACd,SAAS,EACT,UAAU,EACX,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,UAAU,IAAI,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAIvD,OAAO,EAAE,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GAAG,MAAM,CAAA;IAChC,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACpC,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;IACxC,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;IAChC,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAA;IACxC,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,eAAe,CAAC,QAAQ,CAAC,CAAA;CACnC,CAAA;AAED,aAAK,KAAK,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC,OAAO,YAAY,CAAC,EAAE,MAAM,SAAS,CAAC,CAAA;AAE7F,QAAA,MAAM,MAAM,qIAoCV,CAAA;AAEF,eAAe,MAAM,CAAA;AAErB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA6DtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -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,OAAO,EAEL,cAAc,EACd,WAAW,EACX,WAAW,EACX,qBAAqB,EACrB,UAAU,EACV,6BAA6B,EAC7B,SAAS,EACT,aAAa,EACb,WAAW,EACX,oBAAoB,EACpB,WAAW,EACX,iBAAiB,EAClB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAgCjD,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,QAAQ,CAAC,EAAE,qBAAqB,CAAA;IAChC,IAAI,CAAC,EAAE,qBAAqB,CAAA;IAC5B,cAAc,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IACpF,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,UAAU,CAAC,EAAE,aAAa,CAAA;IAC1B,aAAa,CAAC,EAAE,6BAA6B,CAAC,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC,CAAA;IAC9E,UAAU,CAAC,EAAE,oBAAoB,CAAA;IACjC,eAAe,CAAC,EAAE,oBAAoB,CAAA;IACtC,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB,QAAQ,CAAC,EAAE,oBAAoB,CAAA;IAC/B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACtC,CAAA;AAmND,QAAA,MAAM,QAAQ,kGAuKZ,CAAA;AAEF,eAAe,QAAQ,CAAA;AAEvB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAoFtD"}
|
|
@@ -0,0 +1 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"Countdown.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Countdown/Countdown.tsx"],"names":[],"mappings":";AAOA,OAAO,EAEL,SAAS,EACT,cAAc,EACd,SAAS,EACT,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,6BAA6B,EAC7B,cAAc,EACd,UAAU,EACX,MAAM,uCAAuC,CAAA;AAC9C,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,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,OAAO,CAAC,EAAE,6BAA6B,CACrC,QAAQ,GAAG,cAAc,GAAG,SAAS,GAAG,eAAe,GAAG,OAAO,CAClE,CAAA;IACD,KAAK,CAAC,EAAE,6BAA6B,CAAC,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAA;IACpE,IAAI,CAAC,EAAE,6BAA6B,CAAC,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IAClE,GAAG,CAAC,EAAE,SAAS,CAAA;IACf,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,WAAW,CAAC,EAAE,oBAAoB,CAAA;IAClC,UAAU,CAAC,EAAE,oBAAoB,CAAA;IACjC,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,UAAU,CAAC,EAAE,oBAAoB,CAAA;IACjC,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,YAAY,CAAC,EAAE,cAAc,CAAA;IAC7B,YAAY,CAAC,EAAE,cAAc,CAAA;CAC9B,CAAA;AAuOD,QAAA,MAAM,SAAS,kGA4Eb,CAAA;AAEF,eAAe,SAAS,CAAA;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"}
|