@makeswift/runtime 0.0.0-e7e30fa → 0.0.0-f5b044f
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/Page.cjs.js +215 -0
- package/dist/Page.cjs.js.map +1 -0
- package/dist/Page.es.js +209 -0
- package/dist/Page.es.js.map +1 -0
- package/dist/actions.cjs.js +130 -17
- package/dist/actions.cjs.js.map +1 -1
- package/dist/actions.es.js +114 -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 +10 -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 +73 -6901
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +33 -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 +223 -0
- package/dist/control-serialization.cjs.js.map +1 -0
- package/dist/control-serialization.es.js +218 -0
- package/dist/control-serialization.es.js.map +1 -0
- package/dist/descriptors.cjs.js +230 -0
- package/dist/descriptors.cjs.js.map +1 -0
- package/dist/descriptors.es.js +194 -0
- package/dist/descriptors.es.js.map +1 -0
- package/dist/index.cjs.js +8037 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.es.js +7956 -0
- package/dist/index.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 +210 -0
- package/dist/next.cjs.js.map +1 -0
- package/dist/next.es.js +199 -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 +263 -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 +39 -7
- package/dist/react.cjs.js.map +1 -1
- package/dist/react.cjs2.js +7847 -690
- package/dist/react.cjs2.js.map +1 -1
- package/dist/react.es.js +31 -1
- package/dist/react.es.js.map +1 -1
- package/dist/react.es2.js +7767 -666
- 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 +28 -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 +144 -0
- package/dist/types/builder/serialization/control-serialization.d.ts.map +1 -0
- package/dist/types/builder/serialization/function-serialization.d.ts +12 -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 +11 -5
- 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 +29 -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 +28 -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 +18 -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 +42 -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 +33 -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 +27 -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 +14 -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 +22 -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 +4 -3
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/page/BodySnippet.d.ts +7 -0
- package/dist/types/components/page/BodySnippet.d.ts.map +1 -0
- package/dist/types/components/page/Page.d.ts +43 -0
- package/dist/types/components/page/Page.d.ts.map +1 -0
- package/dist/types/components/page/index.d.ts +2 -0
- package/dist/types/components/page/index.d.ts.map +1 -0
- 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/FallbackComponent/FallbackComponent.d.ts +7 -0
- package/dist/types/components/shared/FallbackComponent/FallbackComponent.d.ts.map +1 -0
- package/dist/types/components/shared/FallbackComponent/index.d.ts +2 -0
- package/dist/types/components/shared/FallbackComponent/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/responsive-style.d.ts +9 -0
- package/dist/types/components/utils/responsive-style.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/controls/select.d.ts +19 -0
- package/dist/types/controls/select.d.ts.map +1 -0
- package/dist/types/controls.d.ts +4 -0
- package/dist/types/controls.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 +24 -0
- package/dist/types/next.d.ts.map +1 -0
- package/dist/types/prop-controllers/descriptors.d.ts +86 -18
- 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/slot.d.ts +2 -0
- package/dist/types/prop-controllers/instances/slot.d.ts.map +1 -0
- 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/index.d.ts +43 -0
- package/dist/types/runtimes/index.d.ts.map +1 -0
- package/dist/types/runtimes/react/controls.d.ts +10 -0
- package/dist/types/runtimes/react/controls.d.ts.map +1 -0
- package/dist/types/runtimes/react/index.d.ts +45 -0
- package/dist/types/runtimes/react/index.d.ts.map +1 -0
- package/dist/types/runtimes/react/react.d.ts +43 -0
- package/dist/types/runtimes/react/react.d.ts.map +1 -0
- package/dist/types/runtimes/react.d.ts +28 -13
- 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 +9 -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 +75 -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,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ResponsiveValue, TextStyleValue } from '../../../../prop-controllers/descriptors';
|
|
3
|
+
import { ResponsiveColor } from '../../../../runtimes/react/controls';
|
|
4
|
+
import { ColorValue } from '../../../utils/types';
|
|
5
|
+
export declare const Shapes: Readonly<{
|
|
6
|
+
readonly SQUARE: "square";
|
|
7
|
+
readonly ROUNDED: "rounded";
|
|
8
|
+
readonly PILL: "pill";
|
|
9
|
+
}>;
|
|
10
|
+
export declare type Shape = typeof Shapes[keyof typeof Shapes];
|
|
11
|
+
export declare const Sizes: Readonly<{
|
|
12
|
+
readonly SMALL: "small";
|
|
13
|
+
readonly MEDIUM: "medium";
|
|
14
|
+
readonly LARGE: "large";
|
|
15
|
+
}>;
|
|
16
|
+
export declare type Size = typeof Sizes[keyof typeof Sizes];
|
|
17
|
+
export declare const Contrasts: Readonly<{
|
|
18
|
+
readonly LIGHT: "light";
|
|
19
|
+
readonly DARK: "dark";
|
|
20
|
+
}>;
|
|
21
|
+
export declare type Contrast = typeof Contrasts[keyof typeof Contrasts];
|
|
22
|
+
export declare type Value = {
|
|
23
|
+
shape: ResponsiveValue<Shape> | null | undefined;
|
|
24
|
+
size: ResponsiveValue<Size> | null | undefined;
|
|
25
|
+
contrast: ResponsiveValue<Contrast> | null | undefined;
|
|
26
|
+
brandColor: ResponsiveValue<ColorValue> | null | undefined;
|
|
27
|
+
labelTextStyle?: TextStyleValue;
|
|
28
|
+
labelTextColor?: ResponsiveColor;
|
|
29
|
+
};
|
|
30
|
+
export declare function useFormContext(): Value;
|
|
31
|
+
declare const Provider: import("react").Provider<Value>;
|
|
32
|
+
export { Provider };
|
|
33
|
+
//# sourceMappingURL=FormContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormContext.d.ts","sourceRoot":"","sources":["../../../../../../src/components/builtin/Form/context/FormContext.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAA;AAC1F,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAA;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,eAAO,MAAM,MAAM;;;;EAIR,CAAA;AAEX,oBAAY,KAAK,GAAG,OAAO,MAAM,CAAC,MAAM,OAAO,MAAM,CAAC,CAAA;AAEtD,eAAO,MAAM,KAAK;;;;EAIP,CAAA;AAEX,oBAAY,IAAI,GAAG,OAAO,KAAK,CAAC,MAAM,OAAO,KAAK,CAAC,CAAA;AAEnD,eAAO,MAAM,SAAS;;;EAGX,CAAA;AAEX,oBAAY,QAAQ,GAAG,OAAO,SAAS,CAAC,MAAM,OAAO,SAAS,CAAC,CAAA;AAE/D,oBAAY,KAAK,GAAG;IAClB,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IAChD,IAAI,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IAC9C,QAAQ,EAAE,eAAe,CAAC,QAAQ,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IACtD,UAAU,EAAE,eAAe,CAAC,UAAU,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA;IAC1D,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,cAAc,CAAC,EAAE,eAAe,CAAA;CACjC,CAAA;AAID,wBAAgB,cAAc,IAAI,KAAK,CAEtC;AAED,QAAA,MAAQ,QAAQ,iCAAY,CAAA;AAE5B,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Form/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,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":";AAKA,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;AAkB9C,OAAO,EAAE,YAAY,EAAkB,MAAM,gBAAgB,CAAA;AAE7D,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAIjD,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;AA+DD,QAAA,MAAM,cAAc,oGAiFlB,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,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CheckboxValue, ElementIDValue, GapXValue, ImageValue, LinkValue, MarginValue, NavigationLinksValue, ResponsiveIconRadioGroupValue, ResponsiveLengthValue, ResponsiveSelectValue, TextInputValue, TextStyleValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ReactRuntime } from '../../../react';
|
|
4
|
+
import { Props } from '../../../prop-controllers';
|
|
5
|
+
import { ResponsiveColor } from '../../../runtimes/react/controls';
|
|
6
|
+
declare type Props = {
|
|
7
|
+
id?: ElementIDValue;
|
|
8
|
+
links?: NavigationLinksValue;
|
|
9
|
+
linkTextStyle?: TextStyleValue;
|
|
10
|
+
showLogo?: CheckboxValue;
|
|
11
|
+
logoFile?: ImageValue;
|
|
12
|
+
logoWidth?: ResponsiveLengthValue;
|
|
13
|
+
logoAltText?: TextInputValue;
|
|
14
|
+
logoLink?: LinkValue;
|
|
15
|
+
alignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>;
|
|
16
|
+
gutter?: GapXValue;
|
|
17
|
+
mobileMenuAnimation?: ResponsiveSelectValue<'coverRight' | 'coverLeft'>;
|
|
18
|
+
mobileMenuOpenIconColor?: ResponsiveColor;
|
|
19
|
+
mobileMenuCloseIconColor?: ResponsiveColor;
|
|
20
|
+
mobileMenuBackgroundColor?: ResponsiveColor;
|
|
21
|
+
width?: string;
|
|
22
|
+
margin?: MarginValue;
|
|
23
|
+
};
|
|
24
|
+
declare const Navigation: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export default Navigation;
|
|
26
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
27
|
+
//# 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":";AAYA,OAAO,EAEL,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,EACV,SAAS,EACT,WAAW,EACX,oBAAoB,EACpB,6BAA6B,EAC7B,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,cAAc,EACf,MAAM,uCAAuC,CAAA;AAI9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAElE,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,eAAe,CAAA;IACzC,wBAAwB,CAAC,EAAE,eAAe,CAAA;IAC1C,yBAAyB,CAAC,EAAE,eAAe,CAAA;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAuDD,QAAA,MAAM,UAAU,kGAwEd,CAAA;AAEF,eAAe,UAAU,CAAA;AAEzB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cA+EtD"}
|
|
@@ -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,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ResponsiveValue, NavigationLinksValue } from '../../../../../prop-controllers/descriptors';
|
|
3
|
+
import { ResponsiveColor } from '../../../../../runtimes/react/controls';
|
|
4
|
+
declare type Props = {
|
|
5
|
+
animation?: ResponsiveValue<'coverRight' | 'coverLeft'>;
|
|
6
|
+
backgroundColor?: ResponsiveColor;
|
|
7
|
+
closeIconColor?: ResponsiveColor;
|
|
8
|
+
links?: NavigationLinksValue;
|
|
9
|
+
onClose?: () => unknown;
|
|
10
|
+
open?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export default function MobileMenu({ animation, backgroundColor, open, closeIconColor, links, onClose, }: Props): JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# 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,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAA;AAOnG,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAA;AAyDxE,aAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,eAAe,CAAC,YAAY,GAAG,WAAW,CAAC,CAAA;IACvD,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,cAAc,CAAC,EAAE,eAAe,CAAA;IAChC,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"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/Root/components/Placeholder/index.tsx"],"names":[],"mappings":";AAUA,aAAK,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;;AAElC,wBAwBE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Root/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ElementIDValue, SocialLinksValue, ResponsiveIconRadioGroupValue, ResponsiveSelectValue, GapXValue, MarginValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { ReactRuntime } from '../../../react';
|
|
4
|
+
import { Props } from '../../../prop-controllers';
|
|
5
|
+
import { ResponsiveColor } from '../../../runtimes/react/controls';
|
|
6
|
+
declare type Props = {
|
|
7
|
+
id?: ElementIDValue;
|
|
8
|
+
links?: SocialLinksValue;
|
|
9
|
+
shape?: ResponsiveIconRadioGroupValue<'naked' | 'circle' | 'rounded' | 'square'>;
|
|
10
|
+
size?: ResponsiveIconRadioGroupValue<'small' | 'medium' | 'large'>;
|
|
11
|
+
hoverStyle?: ResponsiveSelectValue<'none' | 'grow' | 'shrink' | 'fade'>;
|
|
12
|
+
fill?: ResponsiveColor;
|
|
13
|
+
backgroundColor?: ResponsiveColor;
|
|
14
|
+
alignment?: ResponsiveIconRadioGroupValue<'flex-start' | 'center' | 'flex-end'>;
|
|
15
|
+
gutter?: GapXValue;
|
|
16
|
+
width?: string;
|
|
17
|
+
margin?: MarginValue;
|
|
18
|
+
};
|
|
19
|
+
declare const SocialLinks: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
20
|
+
export default SocialLinks;
|
|
21
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
22
|
+
//# sourceMappingURL=SocialLinks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SocialLinks.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/SocialLinks.tsx"],"names":[],"mappings":";AAWA,OAAO,EAEL,cAAc,EACd,gBAAgB,EAChB,6BAA6B,EAC7B,qBAAqB,EACrB,SAAS,EACT,WAAW,EACZ,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAElE,aAAK,KAAK,GAAG;IACX,EAAE,CAAC,EAAE,cAAc,CAAA;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,KAAK,CAAC,EAAE,6BAA6B,CAAC,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC,CAAA;IAChF,IAAI,CAAC,EAAE,6BAA6B,CAAC,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAA;IAClE,UAAU,CAAC,EAAE,qBAAqB,CAAC,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC,CAAA;IACvE,IAAI,CAAC,EAAE,eAAe,CAAA;IACtB,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,SAAS,CAAC,EAAE,6BAA6B,CAAC,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC,CAAA;IAC/E,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AA2ED,QAAA,MAAM,WAAW,kGAkDf,CAAA;AAEF,eAAe,WAAW,CAAA;AAE1B,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAuGtD"}
|
package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ResponsiveValue, Length } from '../../../../../prop-controllers/descriptors';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
gutter?: ResponsiveValue<Length>;
|
|
5
|
+
};
|
|
6
|
+
export default function SocialLinksPlaceholder({ gutter }: Props): JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,6CAA6C,CAAA;AAarF,aAAK,KAAK,GAAG;IAAE,MAAM,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;CAAE,CAAA;AAEjD,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,GAAG,GAAG,CAAC,OAAO,CAe7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SocialLinksOptions: readonly [{
|
|
3
|
+
readonly type: "angellist";
|
|
4
|
+
readonly label: "AngelList";
|
|
5
|
+
readonly icon: JSX.Element;
|
|
6
|
+
readonly brandColor: "black";
|
|
7
|
+
}, {
|
|
8
|
+
readonly type: "codepen";
|
|
9
|
+
readonly label: "CodePen";
|
|
10
|
+
readonly icon: JSX.Element;
|
|
11
|
+
readonly brandColor: "black";
|
|
12
|
+
}, {
|
|
13
|
+
readonly type: "dribbble";
|
|
14
|
+
readonly label: "Dribbble";
|
|
15
|
+
readonly icon: JSX.Element;
|
|
16
|
+
readonly brandColor: "#ea4c89";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "facebook";
|
|
19
|
+
readonly label: "Facebook";
|
|
20
|
+
readonly icon: JSX.Element;
|
|
21
|
+
readonly brandColor: "#3b5998";
|
|
22
|
+
}, {
|
|
23
|
+
readonly type: "github";
|
|
24
|
+
readonly label: "GitHub";
|
|
25
|
+
readonly icon: JSX.Element;
|
|
26
|
+
readonly brandColor: "black";
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: "instagram";
|
|
29
|
+
readonly label: "Instagram";
|
|
30
|
+
readonly icon: JSX.Element;
|
|
31
|
+
readonly brandColor: "black";
|
|
32
|
+
}, {
|
|
33
|
+
readonly type: "linkedin";
|
|
34
|
+
readonly label: "LinkedIn";
|
|
35
|
+
readonly icon: JSX.Element;
|
|
36
|
+
readonly brandColor: "#0077b5";
|
|
37
|
+
}, {
|
|
38
|
+
readonly type: "medium";
|
|
39
|
+
readonly label: "Medium";
|
|
40
|
+
readonly icon: JSX.Element;
|
|
41
|
+
readonly brandColor: "black";
|
|
42
|
+
}, {
|
|
43
|
+
readonly type: "pinterest";
|
|
44
|
+
readonly label: "Pinterest";
|
|
45
|
+
readonly icon: JSX.Element;
|
|
46
|
+
readonly brandColor: "#bd081c";
|
|
47
|
+
}, {
|
|
48
|
+
readonly type: "reddit";
|
|
49
|
+
readonly label: "Reddit";
|
|
50
|
+
readonly icon: JSX.Element;
|
|
51
|
+
readonly brandColor: "#ff4500";
|
|
52
|
+
}, {
|
|
53
|
+
readonly type: "rss";
|
|
54
|
+
readonly label: "RSS";
|
|
55
|
+
readonly icon: JSX.Element;
|
|
56
|
+
readonly brandColor: "black";
|
|
57
|
+
}, {
|
|
58
|
+
readonly type: "snapchat";
|
|
59
|
+
readonly label: "Snapchat";
|
|
60
|
+
readonly icon: JSX.Element;
|
|
61
|
+
readonly brandColor: "#fffc00";
|
|
62
|
+
}, {
|
|
63
|
+
readonly type: "soundcloud";
|
|
64
|
+
readonly label: "SoundCloud";
|
|
65
|
+
readonly icon: JSX.Element;
|
|
66
|
+
readonly brandColor: "#ff3300";
|
|
67
|
+
}, {
|
|
68
|
+
readonly type: "spotify";
|
|
69
|
+
readonly label: "Spotify";
|
|
70
|
+
readonly icon: JSX.Element;
|
|
71
|
+
readonly brandColor: "#1db954";
|
|
72
|
+
}, {
|
|
73
|
+
readonly type: "telegram";
|
|
74
|
+
readonly label: "Telegram";
|
|
75
|
+
readonly icon: JSX.Element;
|
|
76
|
+
readonly brandColor: "#0088cc";
|
|
77
|
+
}, {
|
|
78
|
+
readonly type: "tumblr";
|
|
79
|
+
readonly label: "Tumblr";
|
|
80
|
+
readonly icon: JSX.Element;
|
|
81
|
+
readonly brandColor: "#35465c";
|
|
82
|
+
}, {
|
|
83
|
+
readonly type: "twitch";
|
|
84
|
+
readonly label: "Twitch";
|
|
85
|
+
readonly icon: JSX.Element;
|
|
86
|
+
readonly brandColor: "#6441A4";
|
|
87
|
+
}, {
|
|
88
|
+
readonly type: "twitter";
|
|
89
|
+
readonly label: "Twitter";
|
|
90
|
+
readonly icon: JSX.Element;
|
|
91
|
+
readonly brandColor: "#1da1f2";
|
|
92
|
+
}, {
|
|
93
|
+
readonly type: "whatsapp";
|
|
94
|
+
readonly label: "WhatsApp";
|
|
95
|
+
readonly icon: JSX.Element;
|
|
96
|
+
readonly brandColor: "#25d366";
|
|
97
|
+
}, {
|
|
98
|
+
readonly type: "vimeo";
|
|
99
|
+
readonly label: "Vimeo";
|
|
100
|
+
readonly icon: JSX.Element;
|
|
101
|
+
readonly brandColor: "#1ab7ea";
|
|
102
|
+
}, {
|
|
103
|
+
readonly type: "yelp";
|
|
104
|
+
readonly label: "Yelp";
|
|
105
|
+
readonly icon: JSX.Element;
|
|
106
|
+
readonly brandColor: "#af0606";
|
|
107
|
+
}, {
|
|
108
|
+
readonly type: "youtube";
|
|
109
|
+
readonly label: "YouTube";
|
|
110
|
+
readonly icon: JSX.Element;
|
|
111
|
+
readonly brandColor: "#ff0000";
|
|
112
|
+
}];
|
|
113
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/SocialLinks/options.tsx"],"names":[],"mappings":";AAuBA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBrB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ElementIDValue, MarginValue, RichTextDescriptor, RichTextValue } from '../../../prop-controllers/descriptors';
|
|
3
|
+
import { BoxModelHandle } from '../../../box-model';
|
|
4
|
+
import { PropControllersHandle } from '../../../state/modules/prop-controller-handles';
|
|
5
|
+
import { ReactRuntime } from '../../../react';
|
|
6
|
+
import { Props } from '../../../prop-controllers';
|
|
7
|
+
declare type Props = {
|
|
8
|
+
id?: ElementIDValue;
|
|
9
|
+
text?: RichTextValue;
|
|
10
|
+
width?: string;
|
|
11
|
+
margin?: MarginValue;
|
|
12
|
+
};
|
|
13
|
+
declare type Descriptors = {
|
|
14
|
+
text?: RichTextDescriptor;
|
|
15
|
+
};
|
|
16
|
+
declare const Text: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<BoxModelHandle & PropControllersHandle<Descriptors>>>;
|
|
17
|
+
export default Text;
|
|
18
|
+
export declare function registerComponent(runtime: ReactRuntime): () => void;
|
|
19
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/builtin/Text/Text.tsx"],"names":[],"mappings":";AAmBA,OAAO,EACL,cAAc,EACd,WAAW,EACX,kBAAkB,EAClB,aAAa,EACd,MAAM,uCAAuC,CAAA;AAE9C,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAA;AAEtF,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,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB,CAAA;AAaD,aAAK,WAAW,GAAG;IAAE,IAAI,CAAC,EAAE,kBAAkB,CAAA;CAAE,CAAA;AAEhD,QAAA,MAAM,IAAI,uIA8HR,CAAA;AAEF,eAAe,IAAI,CAAA;AAEnB,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,YAAY,cAsEtD"}
|
package/dist/types/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: import("react").ForwardRefExoticComponent<(Pick<Pick<{
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
[x: number]: any;
|
|
5
|
+
[x: symbol]: any;
|
|
6
|
+
} & {
|
|
7
|
+
theme?: any;
|
|
8
|
+
} & {
|
|
9
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
10
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
11
|
+
}, string | number | symbol>, string | number | symbol> | Pick<Pick<{
|
|
12
|
+
[x: string]: any;
|
|
13
|
+
[x: number]: any;
|
|
14
|
+
[x: symbol]: any;
|
|
15
|
+
} & {
|
|
16
|
+
theme?: any;
|
|
17
|
+
} & {
|
|
18
|
+
children?: import("react").ReactNode;
|
|
19
|
+
} & {
|
|
20
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
21
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
22
|
+
}, string | number | symbol>, string | number | symbol>) & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/types/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/builtin/Text/components/RichTextEditor/components/Block/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmCA,wBAKE"}
|