@makeswift/runtime 0.0.0-1faafb3 → 0.0.0-20221019211549
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/controls.js +1 -0
- package/dist/Box.cjs.js +507 -0
- package/dist/Box.cjs.js.map +1 -0
- package/dist/Box.es.js +501 -0
- package/dist/Box.es.js.map +1 -0
- package/dist/Button.cjs.js +315 -0
- package/dist/Button.cjs.js.map +1 -0
- package/dist/Button.es.js +308 -0
- package/dist/Button.es.js.map +1 -0
- package/dist/Carousel.cjs.js +493 -0
- package/dist/Carousel.cjs.js.map +1 -0
- package/dist/Carousel.es.js +487 -0
- package/dist/Carousel.es.js.map +1 -0
- package/dist/Countdown.cjs.js +347 -0
- package/dist/Countdown.cjs.js.map +1 -0
- package/dist/Countdown.es.js +341 -0
- package/dist/Countdown.es.js.map +1 -0
- package/dist/Divider.cjs.js +122 -0
- package/dist/Divider.cjs.js.map +1 -0
- package/dist/Divider.es.js +116 -0
- package/dist/Divider.es.js.map +1 -0
- package/dist/Embed.cjs.js +136 -0
- package/dist/Embed.cjs.js.map +1 -0
- package/dist/Embed.es.js +130 -0
- package/dist/Embed.es.js.map +1 -0
- package/dist/Form.cjs.js +1731 -0
- package/dist/Form.cjs.js.map +1 -0
- package/dist/Form.es.js +1704 -0
- package/dist/Form.es.js.map +1 -0
- package/dist/Image.cjs2.js +155 -0
- package/dist/Image.cjs2.js.map +1 -0
- package/dist/Image.es2.js +148 -0
- package/dist/Image.es2.js.map +1 -0
- package/dist/Navigation.cjs.js +742 -0
- package/dist/Navigation.cjs.js.map +1 -0
- package/dist/Navigation.es.js +716 -0
- package/dist/Navigation.es.js.map +1 -0
- package/dist/Root.cjs.js +149 -0
- package/dist/Root.cjs.js.map +1 -0
- package/dist/Root.es.js +143 -0
- package/dist/Root.es.js.map +1 -0
- package/dist/SocialLinks.cjs.js +906 -0
- package/dist/SocialLinks.cjs.js.map +1 -0
- package/dist/SocialLinks.es.js +880 -0
- package/dist/SocialLinks.es.js.map +1 -0
- package/dist/Text.cjs.js +482 -0
- package/dist/Text.cjs.js.map +1 -0
- package/dist/Text.es.js +474 -0
- package/dist/Text.es.js.map +1 -0
- package/dist/Video.cjs.js +128 -0
- package/dist/Video.cjs.js.map +1 -0
- package/dist/Video.es.js +121 -0
- package/dist/Video.es.js.map +1 -0
- package/dist/actions.cjs.js +140 -17
- package/dist/actions.cjs.js.map +1 -1
- package/dist/actions.es.js +122 -16
- package/dist/actions.es.js.map +1 -1
- package/dist/api.cjs.js +6 -0
- package/dist/api.cjs.js.map +1 -0
- package/dist/api.es.js +3 -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 +13 -0
- package/dist/builder.cjs.js.map +1 -0
- package/dist/builder.es.js +4 -0
- package/dist/builder.es.js.map +1 -0
- package/dist/color.cjs.js +8 -0
- package/dist/color.cjs.js.map +1 -0
- package/dist/color.es.js +6 -0
- package/dist/color.es.js.map +1 -0
- package/dist/components.cjs.js +107 -6901
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +66 -6866
- package/dist/components.es.js.map +1 -1
- package/dist/constants.cjs.js +15 -0
- package/dist/constants.cjs.js.map +1 -0
- package/dist/constants.es.js +14 -0
- package/dist/constants.es.js.map +1 -0
- package/dist/control-serialization.cjs.js +485 -0
- package/dist/control-serialization.cjs.js.map +1 -0
- package/dist/control-serialization.es.js +478 -0
- package/dist/control-serialization.es.js.map +1 -0
- package/dist/controls.cjs.js +38 -0
- package/dist/controls.cjs.js.map +1 -0
- package/dist/controls.es.js +6 -0
- package/dist/controls.es.js.map +1 -0
- package/dist/cssMediaRules.cjs.js +210 -0
- package/dist/cssMediaRules.cjs.js.map +1 -0
- package/dist/cssMediaRules.es.js +201 -0
- package/dist/cssMediaRules.es.js.map +1 -0
- package/dist/graphql.cjs.js +365 -0
- package/dist/graphql.cjs.js.map +1 -0
- package/dist/graphql.es.js +356 -0
- package/dist/graphql.es.js.map +1 -0
- package/dist/image.cjs.js +282 -0
- package/dist/image.cjs.js.map +1 -0
- package/dist/image.es.js +240 -0
- package/dist/image.es.js.map +1 -0
- package/dist/index.cjs.js +3211 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.cjs2.js +522 -0
- package/dist/index.cjs2.js.map +1 -0
- package/dist/index.cjs3.js +146 -0
- package/dist/index.cjs3.js.map +1 -0
- package/dist/index.cjs4.js +18 -0
- package/dist/index.cjs4.js.map +1 -0
- package/dist/index.es.js +3104 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.es2.js +514 -0
- package/dist/index.es2.js.map +1 -0
- package/dist/index.es3.js +140 -0
- package/dist/index.es3.js.map +1 -0
- package/dist/index.es4.js +13 -0
- package/dist/index.es4.js.map +1 -0
- package/dist/main.cjs.js +16 -2
- package/dist/main.cjs.js.map +1 -1
- package/dist/main.es.js +7 -1
- package/dist/main.es.js.map +1 -1
- package/dist/next.cjs.js +432 -0
- package/dist/next.cjs.js.map +1 -0
- package/dist/next.es.js +416 -0
- package/dist/next.es.js.map +1 -0
- package/dist/placeholders.cjs.js +13 -0
- package/dist/placeholders.cjs.js.map +1 -0
- package/dist/placeholders.es.js +12 -0
- package/dist/placeholders.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 +257 -4138
- package/dist/react-builder-preview.cjs.js.map +1 -1
- package/dist/react-builder-preview.es.js +249 -4134
- package/dist/react-builder-preview.es.js.map +1 -1
- package/dist/react-page.cjs.js +602 -0
- package/dist/react-page.cjs.js.map +1 -0
- package/dist/react-page.es.js +566 -0
- package/dist/react-page.es.js.map +1 -0
- package/dist/react.cjs.js +41 -7
- package/dist/react.cjs.js.map +1 -1
- package/dist/react.es.js +33 -1
- package/dist/react.es.js.map +1 -1
- package/dist/shape.cjs.js +20 -0
- package/dist/shape.cjs.js.map +1 -0
- package/dist/shape.es.js +14 -0
- package/dist/shape.es.js.map +1 -0
- package/dist/slot.cjs.js +130 -0
- package/dist/slot.cjs.js.map +1 -0
- package/dist/slot.es.js +123 -0
- package/dist/slot.es.js.map +1 -0
- package/dist/text-input.cjs.js +38 -0
- package/dist/text-input.cjs.js.map +1 -0
- package/dist/text-input.es.js +26 -0
- package/dist/text-input.es.js.map +1 -0
- package/dist/types/src/api/constants.d.ts +4 -0
- package/dist/types/src/api/constants.d.ts.map +1 -0
- package/dist/types/src/api/generated/graphql.d.ts +175 -0
- package/dist/types/src/api/generated/graphql.d.ts.map +1 -0
- package/dist/types/src/api/index.d.ts +3 -0
- package/dist/types/src/api/index.d.ts.map +1 -0
- package/dist/types/src/api/introspection.d.ts +10 -0
- package/dist/types/src/api/introspection.d.ts.map +1 -0
- package/dist/types/src/api/react.d.ts +27 -0
- package/dist/types/src/api/react.d.ts.map +1 -0
- package/dist/types/src/api/types.d.ts +4 -0
- package/dist/types/src/api/types.d.ts.map +1 -0
- package/dist/types/src/box-model.d.ts +3 -0
- package/dist/types/src/box-model.d.ts.map +1 -0
- package/dist/types/src/builder/index.d.ts +2 -0
- package/dist/types/src/builder/index.d.ts.map +1 -0
- package/dist/types/src/builder/serialization/control-serialization.d.ts +301 -0
- package/dist/types/src/builder/serialization/control-serialization.d.ts.map +1 -0
- package/dist/types/src/builder/serialization/controls/combobox.d.ts +5 -0
- package/dist/types/src/builder/serialization/controls/combobox.d.ts.map +1 -0
- package/dist/types/src/builder/serialization/controls/list.d.ts +5 -0
- package/dist/types/src/builder/serialization/controls/list.d.ts.map +1 -0
- package/dist/types/src/builder/serialization/controls/shape.d.ts +5 -0
- package/dist/types/src/builder/serialization/controls/shape.d.ts.map +1 -0
- package/dist/types/src/builder/serialization/controls/types.d.ts +10 -0
- package/dist/types/src/builder/serialization/controls/types.d.ts.map +1 -0
- package/dist/types/src/builder/serialization/function-serialization.d.ts +12 -0
- package/dist/types/src/builder/serialization/function-serialization.d.ts.map +1 -0
- package/dist/types/src/builder/serialization/index.d.ts +4 -0
- package/dist/types/src/builder/serialization/index.d.ts.map +1 -0
- package/dist/types/{components → src/components/builtin}/Box/Box.d.ts +8 -5
- package/dist/types/src/components/builtin/Box/Box.d.ts.map +1 -0
- package/dist/types/{components → src/components/builtin}/Box/animations.d.ts +3 -10
- package/dist/types/src/components/builtin/Box/animations.d.ts.map +1 -0
- package/dist/types/{components → src/components/builtin}/Box/components/Placeholder/index.d.ts +0 -0
- package/dist/types/src/components/builtin/Box/components/Placeholder/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Box/constants.d.ts +9 -0
- package/dist/types/src/components/builtin/Box/constants.d.ts.map +1 -0
- package/dist/types/{components → src/components/builtin}/Box/index.d.ts +1 -1
- package/dist/types/src/components/builtin/Box/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Box/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Box/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Button/Button.d.ts +117 -0
- package/dist/types/src/components/builtin/Button/Button.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Button/contants.d.ts +2 -0
- package/dist/types/src/components/builtin/Button/contants.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Button/index.d.ts +2 -0
- package/dist/types/src/components/builtin/Button/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Button/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Button/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Carousel/Carousel.d.ts +26 -0
- package/dist/types/src/components/builtin/Carousel/Carousel.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Carousel/index.d.ts +2 -0
- package/dist/types/src/components/builtin/Carousel/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Carousel/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Carousel/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Countdown/Countdown.d.ts +25 -0
- package/dist/types/src/components/builtin/Countdown/Countdown.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Countdown/index.d.ts +2 -0
- package/dist/types/src/components/builtin/Countdown/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Countdown/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Countdown/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Divider/Divider.d.ts +15 -0
- package/dist/types/src/components/builtin/Divider/Divider.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Divider/index.d.ts +2 -0
- package/dist/types/src/components/builtin/Divider/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Divider/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Divider/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Embed/Embed.d.ts +11 -0
- package/dist/types/src/components/builtin/Embed/Embed.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Embed/index.d.ts +2 -0
- package/dist/types/src/components/builtin/Embed/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Embed/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Embed/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/Form.d.ts +33 -0
- package/dist/types/src/components/builtin/Form/Form.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/Checkbox/index.d.ts +15 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/Checkbox/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts +15 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/CheckboxTableField/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts +11 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/EmailTableField/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/Input/index.d.ts +14 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/Input/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/Label/index.d.ts +16 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/Label/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts +10 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/LongTextTableField/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts +23 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/MultipleSelectTableField/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts +11 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/NumberTableField/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts +11 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/PhoneNumberTableField/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts +3 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/PlaceholderTableField/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/RadioButton/index.d.ts +17 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/RadioButton/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts +11 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/SingleLineTextTableField/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts +23 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnRadioButtonGroup/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts +19 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/components/TableColumnSingleSelect/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/index.d.ts +24 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/SingleSelectTableField/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/TextArea/index.d.ts +13 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/TextArea/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/URLTableField/index.d.ts +11 -0
- package/dist/types/src/components/builtin/Form/components/Field/components/URLTableField/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/index.d.ts +19 -0
- package/dist/types/src/components/builtin/Form/components/Field/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Field/services/cssField.d.ts +11 -0
- package/dist/types/src/components/builtin/Form/components/Field/services/cssField.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Placeholder/index.d.ts +10 -0
- package/dist/types/src/components/builtin/Form/components/Placeholder/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/components/Spinner/index.d.ts +3 -0
- package/dist/types/src/components/builtin/Form/components/Spinner/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/context/FormContext.d.ts +39 -0
- package/dist/types/src/components/builtin/Form/context/FormContext.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/index.d.ts +2 -0
- package/dist/types/src/components/builtin/Form/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Form/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Form/types.d.ts +62 -0
- package/dist/types/src/components/builtin/Form/types.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Image/Image.d.ts +26 -0
- package/dist/types/src/components/builtin/Image/Image.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Image/index.d.ts +2 -0
- package/dist/types/src/components/builtin/Image/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Image/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Image/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Navigation/Navigation.d.ts +24 -0
- package/dist/types/src/components/builtin/Navigation/Navigation.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Navigation/components/DropDownButton/index.d.ts +100 -0
- package/dist/types/src/components/builtin/Navigation/components/DropDownButton/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts +8 -0
- package/dist/types/src/components/builtin/Navigation/components/LinksPlaceholder/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts +101 -0
- package/dist/types/src/components/builtin/Navigation/components/MobileMenu/components/MobileDropDownButton/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Navigation/components/MobileMenu/index.d.ts +14 -0
- package/dist/types/src/components/builtin/Navigation/components/MobileMenu/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Navigation/index.d.ts +2 -0
- package/dist/types/src/components/builtin/Navigation/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Navigation/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Navigation/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Root/Root.d.ts +12 -0
- package/dist/types/src/components/builtin/Root/Root.d.ts.map +1 -0
- package/dist/types/{components → src/components/builtin}/Root/components/Placeholder/index.d.ts +0 -0
- package/dist/types/src/components/builtin/Root/components/Placeholder/index.d.ts.map +1 -0
- package/dist/types/{components → src/components/builtin}/Root/index.d.ts +0 -0
- package/dist/types/src/components/builtin/Root/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Root/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Root/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/SocialLinks/SocialLinks.d.ts +19 -0
- package/dist/types/src/components/builtin/SocialLinks/SocialLinks.d.ts.map +1 -0
- package/dist/types/src/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts +8 -0
- package/dist/types/src/components/builtin/SocialLinks/components/SocialLinksPlaceholder/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/SocialLinks/index.d.ts +2 -0
- package/dist/types/src/components/builtin/SocialLinks/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/SocialLinks/options.d.ts +118 -0
- package/dist/types/src/components/builtin/SocialLinks/options.d.ts.map +1 -0
- package/dist/types/src/components/builtin/SocialLinks/register.d.ts +3 -0
- package/dist/types/src/components/builtin/SocialLinks/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/Text.d.ts +16 -0
- package/dist/types/src/components/builtin/Text/Text.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts +13 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/components/Block/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts +25 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/components/Mark/hooks/useTypographyMark.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/components/Mark/index.d.ts +13 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/components/Mark/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/index.d.ts +5 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts +3 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesBlocks.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesMarks.d.ts +3 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/plugins/DeviceOverridesMarks.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/plugins/Inlines.d.ts +3 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/plugins/Inlines.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/plugins/Link.d.ts +3 -0
- package/dist/types/src/components/builtin/Text/components/RichTextEditor/plugins/Link.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/index.d.ts +2 -0
- package/dist/types/src/components/builtin/Text/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Text/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Text/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Video/Video.d.ts +12 -0
- package/dist/types/src/components/builtin/Video/Video.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Video/index.d.ts +2 -0
- package/dist/types/src/components/builtin/Video/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/Video/register.d.ts +3 -0
- package/dist/types/src/components/builtin/Video/register.d.ts.map +1 -0
- package/dist/types/src/components/builtin/constants.d.ts +20 -0
- package/dist/types/src/components/builtin/constants.d.ts.map +1 -0
- package/dist/types/src/components/builtin/index.d.ts +16 -0
- package/dist/types/src/components/builtin/index.d.ts.map +1 -0
- package/dist/types/src/components/builtin/register.d.ts +3 -0
- package/dist/types/src/components/builtin/register.d.ts.map +1 -0
- package/dist/types/src/components/hooks/index.d.ts +8 -0
- package/dist/types/src/components/hooks/index.d.ts.map +1 -0
- package/dist/types/src/components/hooks/useBackgrounds.d.ts +59 -0
- package/dist/types/src/components/hooks/useBackgrounds.d.ts.map +1 -0
- package/dist/types/src/components/hooks/useBorder.d.ts +19 -0
- package/dist/types/src/components/hooks/useBorder.d.ts.map +1 -0
- package/dist/types/src/components/hooks/useBoxShadow.d.ts +19 -0
- package/dist/types/src/components/hooks/useBoxShadow.d.ts.map +1 -0
- package/dist/types/src/components/hooks/useFile.d.ts +13 -0
- package/dist/types/src/components/hooks/useFile.d.ts.map +1 -0
- package/dist/types/src/components/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/dist/types/src/components/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -0
- package/dist/types/{components → src/components}/hooks/useMediaQuery.d.ts +0 -0
- package/dist/types/src/components/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/types/src/components/hooks/usePage.d.ts +7 -0
- package/dist/types/src/components/hooks/usePage.d.ts.map +1 -0
- package/dist/types/src/components/hooks/useResponsiveColor.d.ts +7 -0
- package/dist/types/src/components/hooks/useResponsiveColor.d.ts.map +1 -0
- package/dist/types/src/components/hooks/useTableFormFieldRefs.d.ts +8 -0
- package/dist/types/src/components/hooks/useTableFormFieldRefs.d.ts.map +1 -0
- package/dist/types/src/components/hooks/useTypography.d.ts +24 -0
- package/dist/types/src/components/hooks/useTypography.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +5 -0
- package/dist/types/src/components/index.d.ts.map +1 -0
- package/dist/types/src/components/page/BodySnippet.d.ts +7 -0
- package/dist/types/src/components/page/BodySnippet.d.ts.map +1 -0
- package/dist/types/src/components/page/Page.d.ts +28 -0
- package/dist/types/src/components/page/Page.d.ts.map +1 -0
- package/dist/types/src/components/page/index.d.ts +2 -0
- package/dist/types/src/components/page/index.d.ts.map +1 -0
- package/dist/types/src/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts +11 -0
- package/dist/types/src/components/shared/BackgroundsContainer/components/BackgroundVideo/index.d.ts.map +1 -0
- package/dist/types/src/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts +8 -0
- package/dist/types/src/components/shared/BackgroundsContainer/components/Backgrounds/index.d.ts.map +1 -0
- package/dist/types/src/components/shared/BackgroundsContainer/components/Parallax/index.d.ts +11 -0
- package/dist/types/src/components/shared/BackgroundsContainer/components/Parallax/index.d.ts.map +1 -0
- package/dist/types/src/components/shared/BackgroundsContainer/index.d.ts +11 -0
- package/dist/types/src/components/shared/BackgroundsContainer/index.d.ts.map +1 -0
- package/dist/types/src/components/shared/FallbackComponent/FallbackComponent.d.ts +7 -0
- package/dist/types/src/components/shared/FallbackComponent/FallbackComponent.d.ts.map +1 -0
- package/dist/types/src/components/shared/FallbackComponent/index.d.ts +2 -0
- package/dist/types/src/components/shared/FallbackComponent/index.d.ts.map +1 -0
- package/dist/types/src/components/shared/GutterContainer/index.d.ts +8 -0
- package/dist/types/src/components/shared/GutterContainer/index.d.ts.map +1 -0
- package/dist/types/src/components/shared/Link/index.d.ts +9 -0
- package/dist/types/src/components/shared/Link/index.d.ts.map +1 -0
- package/dist/types/src/components/utils/colorToString.d.ts +3 -0
- package/dist/types/src/components/utils/colorToString.d.ts.map +1 -0
- package/dist/types/{components → src/components}/utils/columns.d.ts +0 -0
- package/dist/types/src/components/utils/columns.d.ts.map +1 -0
- package/dist/types/{components → src/components}/utils/cssMediaRules.d.ts +23 -1
- package/dist/types/src/components/utils/cssMediaRules.d.ts.map +1 -0
- package/dist/types/{components → src/components}/utils/devices.d.ts +1 -0
- package/dist/types/src/components/utils/devices.d.ts.map +1 -0
- package/dist/types/src/components/utils/isNonNullable.d.ts +2 -0
- package/dist/types/src/components/utils/isNonNullable.d.ts.map +1 -0
- package/dist/types/src/components/utils/placeholders.d.ts +17 -0
- package/dist/types/src/components/utils/placeholders.d.ts.map +1 -0
- package/dist/types/src/components/utils/queries.d.ts +10 -0
- package/dist/types/src/components/utils/queries.d.ts.map +1 -0
- package/dist/types/src/components/utils/responsive-style.d.ts +9 -0
- package/dist/types/src/components/utils/responsive-style.d.ts.map +1 -0
- package/dist/types/src/components/utils/types.d.ts +10 -0
- package/dist/types/src/components/utils/types.d.ts.map +1 -0
- package/dist/types/src/controls/checkbox.d.ts +13 -0
- package/dist/types/src/controls/checkbox.d.ts.map +1 -0
- package/dist/types/src/controls/color.d.ts +16 -0
- package/dist/types/src/controls/color.d.ts.map +1 -0
- package/dist/types/src/controls/combobox.d.ts +22 -0
- package/dist/types/src/controls/combobox.d.ts.map +1 -0
- package/dist/types/src/controls/control.d.ts +14 -0
- package/dist/types/src/controls/control.d.ts.map +1 -0
- package/dist/types/src/controls/image.d.ts +24 -0
- package/dist/types/src/controls/image.d.ts.map +1 -0
- package/dist/types/src/controls/index.d.ts +15 -0
- package/dist/types/src/controls/index.d.ts.map +1 -0
- package/dist/types/src/controls/link.d.ts +50 -0
- package/dist/types/src/controls/link.d.ts.map +1 -0
- package/dist/types/src/controls/list.d.ts +26 -0
- package/dist/types/src/controls/list.d.ts.map +1 -0
- package/dist/types/src/controls/number.d.ts +18 -0
- package/dist/types/src/controls/number.d.ts.map +1 -0
- package/dist/types/src/controls/select.d.ts +22 -0
- package/dist/types/src/controls/select.d.ts.map +1 -0
- package/dist/types/src/controls/shape.d.ts +15 -0
- package/dist/types/src/controls/shape.d.ts.map +1 -0
- package/dist/types/src/controls/slot.d.ts +42 -0
- package/dist/types/src/controls/slot.d.ts.map +1 -0
- package/dist/types/src/controls/style.d.ts +206 -0
- package/dist/types/src/controls/style.d.ts.map +1 -0
- package/dist/types/src/controls/text-area.d.ts +14 -0
- package/dist/types/src/controls/text-area.d.ts.map +1 -0
- package/dist/types/src/controls/text-input.d.ts +13 -0
- package/dist/types/src/controls/text-input.d.ts.map +1 -0
- package/dist/types/src/controls/types.d.ts +14 -0
- package/dist/types/src/controls/types.d.ts.map +1 -0
- package/dist/types/{index.d.ts → src/index.d.ts} +3 -1
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/src/next/api-handler.d.ts +31 -0
- package/dist/types/src/next/api-handler.d.ts.map +1 -0
- package/dist/types/src/next/client.d.ts +68 -0
- package/dist/types/src/next/client.d.ts.map +1 -0
- package/dist/types/src/next/document.d.ts +7 -0
- package/dist/types/src/next/document.d.ts.map +1 -0
- package/dist/types/src/next/dynamic.d.ts +13 -0
- package/dist/types/src/next/dynamic.d.ts.map +1 -0
- package/dist/types/src/next/index.d.ts +24 -0
- package/dist/types/src/next/index.d.ts.map +1 -0
- package/dist/types/src/next/preview-mode.d.ts +11 -0
- package/dist/types/src/next/preview-mode.d.ts.map +1 -0
- package/dist/types/{prop-controllers → src/prop-controllers}/descriptors.d.ts +132 -45
- package/dist/types/src/prop-controllers/descriptors.d.ts.map +1 -0
- package/dist/types/src/prop-controllers/index.d.ts +5 -0
- package/dist/types/src/prop-controllers/index.d.ts.map +1 -0
- package/dist/types/src/prop-controllers/instances.d.ts +102 -0
- package/dist/types/src/prop-controllers/instances.d.ts.map +1 -0
- package/dist/types/src/prop-controllers/introspection.d.ts +10 -0
- package/dist/types/src/prop-controllers/introspection.d.ts.map +1 -0
- package/dist/types/src/react.d.ts +4 -0
- package/dist/types/src/react.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/components/index.d.ts +2 -0
- package/dist/types/src/runtimes/react/components/index.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/components/render-hook.d.ts +14 -0
- package/dist/types/src/runtimes/react/components/render-hook.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/checkbox.d.ts +4 -0
- package/dist/types/src/runtimes/react/controls/checkbox.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/color.d.ts +4 -0
- package/dist/types/src/runtimes/react/controls/color.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/combobox.d.ts +4 -0
- package/dist/types/src/runtimes/react/controls/combobox.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/control.d.ts +22 -0
- package/dist/types/src/runtimes/react/controls/control.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/image.d.ts +13 -0
- package/dist/types/src/runtimes/react/controls/image.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/link.d.ts +11 -0
- package/dist/types/src/runtimes/react/controls/link.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/list.d.ts +13 -0
- package/dist/types/src/runtimes/react/controls/list.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/number.d.ts +4 -0
- package/dist/types/src/runtimes/react/controls/number.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/select.d.ts +4 -0
- package/dist/types/src/runtimes/react/controls/select.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/shape.d.ts +14 -0
- package/dist/types/src/runtimes/react/controls/shape.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/slot.d.ts +30 -0
- package/dist/types/src/runtimes/react/controls/slot.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/style.d.ts +4 -0
- package/dist/types/src/runtimes/react/controls/style.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/text-area.d.ts +4 -0
- package/dist/types/src/runtimes/react/controls/text-area.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls/text-input.d.ts +4 -0
- package/dist/types/src/runtimes/react/controls/text-input.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/controls.d.ts +13 -0
- package/dist/types/src/runtimes/react/controls.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/find-dom-node.d.ts +7 -0
- package/dist/types/src/runtimes/react/find-dom-node.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/index.d.ts +48 -0
- package/dist/types/src/runtimes/react/index.d.ts.map +1 -0
- package/dist/types/src/runtimes/react/use-style.d.ts +3 -0
- package/dist/types/src/runtimes/react/use-style.d.ts.map +1 -0
- package/dist/types/src/state/actions.d.ts +291 -0
- package/dist/types/src/state/actions.d.ts.map +1 -0
- package/dist/types/{state → src/state}/modules/box-models.d.ts +5 -5
- package/dist/types/src/state/modules/box-models.d.ts.map +1 -0
- package/dist/types/{state → src/state}/modules/components-meta.d.ts +0 -0
- package/dist/types/src/state/modules/components-meta.d.ts.map +1 -0
- package/dist/types/src/state/modules/is-in-builder.d.ts +6 -0
- package/dist/types/src/state/modules/is-in-builder.d.ts.map +1 -0
- package/dist/types/src/state/modules/prop-controller-handles.d.ts +17 -0
- package/dist/types/src/state/modules/prop-controller-handles.d.ts.map +1 -0
- package/dist/types/{state → src/state}/modules/prop-controllers.d.ts +1 -0
- package/dist/types/src/state/modules/prop-controllers.d.ts.map +1 -0
- package/dist/types/{state → src/state}/modules/react-components.d.ts +4 -2
- package/dist/types/src/state/modules/react-components.d.ts.map +1 -0
- package/dist/types/{state → src/state}/modules/read-only-documents.d.ts +8 -4
- package/dist/types/src/state/modules/read-only-documents.d.ts.map +1 -0
- package/dist/types/{state → src/state}/modules/read-write-documents.d.ts +1 -1
- package/dist/types/src/state/modules/read-write-documents.d.ts.map +1 -0
- package/dist/types/{state → src/state}/react-builder-preview.d.ts +16 -11
- package/dist/types/src/state/react-builder-preview.d.ts.map +1 -0
- package/dist/types/src/state/react-page.d.ts +38 -0
- package/dist/types/src/state/react-page.d.ts.map +1 -0
- package/dist/types/src/utils/clamp.d.ts +3 -0
- package/dist/types/src/utils/clamp.d.ts.map +1 -0
- package/dist/types/src/utils/coalesce.d.ts +3 -0
- package/dist/types/src/utils/coalesce.d.ts.map +1 -0
- package/dist/types/src/utils/constants.d.ts +6 -0
- package/dist/types/src/utils/constants.d.ts.map +1 -0
- package/dist/types/{utils → src/utils}/deepEqual.d.ts +0 -0
- package/dist/types/src/utils/deepEqual.d.ts.map +1 -0
- package/dist/types/src/utils/intersection.d.ts +4 -0
- package/dist/types/src/utils/intersection.d.ts.map +1 -0
- package/dist/types/{utils → src/utils}/is.d.ts +0 -0
- package/dist/types/src/utils/is.d.ts.map +1 -0
- package/dist/types/src/utils/keys.d.ts +5 -0
- package/dist/types/src/utils/keys.d.ts.map +1 -0
- package/dist/types/{utils → src/utils}/shallowEqual.d.ts +0 -0
- package/dist/types/src/utils/shallowEqual.d.ts.map +1 -0
- package/dist/types/src/utils/shallowMerge.d.ts +2 -0
- package/dist/types/src/utils/shallowMerge.d.ts.map +1 -0
- package/dist/useBoxShadow.cjs.js +78 -0
- package/dist/useBoxShadow.cjs.js.map +1 -0
- package/dist/useBoxShadow.es.js +77 -0
- package/dist/useBoxShadow.es.js.map +1 -0
- package/dist/useMediaQuery.cjs.js +26 -0
- package/dist/useMediaQuery.cjs.js.map +1 -0
- package/dist/useMediaQuery.es.js +25 -0
- package/dist/useMediaQuery.es.js.map +1 -0
- package/next/plugin.js +1 -0
- package/next.js +1 -0
- package/package.json +105 -24
- package/prop-controllers.js +1 -0
- package/react.js +1 -0
- package/dist/react.cjs2.js +0 -835
- package/dist/react.cjs2.js.map +0 -1
- package/dist/react.es2.js +0 -810
- package/dist/react.es2.js.map +0 -1
- package/dist/types/box-model.d.ts +0 -3
- package/dist/types/box-model.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/types/components/hooks/index.d.ts +0 -2
- package/dist/types/components/hooks/index.d.ts.map +0 -1
- package/dist/types/components/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/types/components/index.d.ts +0 -4
- package/dist/types/components/index.d.ts.map +0 -1
- package/dist/types/components/utils/columns.d.ts.map +0 -1
- package/dist/types/components/utils/cssMediaRules.d.ts.map +0 -1
- package/dist/types/components/utils/devices.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/prop-controllers/descriptors.d.ts.map +0 -1
- package/dist/types/prop-controllers/index.d.ts +0 -3
- package/dist/types/prop-controllers/index.d.ts.map +0 -1
- package/dist/types/react.d.ts +0 -4
- package/dist/types/react.d.ts.map +0 -1
- package/dist/types/runtimes/react.d.ts +0 -28
- package/dist/types/runtimes/react.d.ts.map +0 -1
- package/dist/types/state/actions.d.ts +0 -124
- package/dist/types/state/actions.d.ts.map +0 -1
- package/dist/types/state/modules/box-models.d.ts.map +0 -1
- package/dist/types/state/modules/components-meta.d.ts.map +0 -1
- package/dist/types/state/modules/prop-controllers.d.ts.map +0 -1
- package/dist/types/state/modules/react-components.d.ts.map +0 -1
- package/dist/types/state/modules/read-only-documents.d.ts.map +0 -1
- package/dist/types/state/modules/read-write-documents.d.ts.map +0 -1
- package/dist/types/state/react-builder-preview.d.ts.map +0 -1
- package/dist/types/state/react-page.d.ts +0 -28
- package/dist/types/state/react-page.d.ts.map +0 -1
- package/dist/types/utils/deepEqual.d.ts.map +0 -1
- package/dist/types/utils/is.d.ts.map +0 -1
- package/dist/types/utils/shallowEqual.d.ts.map +0 -1
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
import type * as Slate from 'slate';
|
|
2
|
+
import { StyleControlDefinition } from '../controls/style';
|
|
3
|
+
import { ResolveWidthControlValue } from '../runtimes/react/controls';
|
|
4
|
+
import { StyleControlFormattedValue } from '../runtimes/react/controls/style';
|
|
2
5
|
import type { Element, Data } from '../state/react-page';
|
|
6
|
+
import type { ResponsiveColor } from '../runtimes/react/controls';
|
|
7
|
+
import { NumberControlDefinition } from '../controls/number';
|
|
8
|
+
import { NumberControlValue } from '../runtimes/react/controls/number';
|
|
9
|
+
import { CheckboxControlDefinition, ColorControlDefinition, ComboboxControlDefinition, ImageControlDefinition, LinkControlDefinition, ListControlDefinition, SelectControlDefinition, ShapeControlDefinition, SlotControlDefinition, TextAreaControlDefinition, TextInputControlDefinition } from '../controls';
|
|
10
|
+
import { TextInputControlValue } from '../runtimes/react/controls/text-input';
|
|
11
|
+
import { TextAreaControlValue } from '../runtimes/react/controls/text-area';
|
|
12
|
+
import { ColorControlValue } from '../runtimes/react/controls/color';
|
|
13
|
+
import { SelectControlValue } from '../runtimes/react/controls/select';
|
|
14
|
+
import { CheckboxControlValue } from '../runtimes/react/controls/checkbox';
|
|
15
|
+
import { ResolveImageControlValue } from '../runtimes/react/controls/image';
|
|
16
|
+
import { ShapeControlValue } from '../runtimes/react/controls/shape';
|
|
17
|
+
import { ListControlValue } from '../runtimes/react/controls/list';
|
|
18
|
+
import { ComboboxControlValue } from '../runtimes/react/controls/combobox';
|
|
19
|
+
import { LinkControlValue } from '../runtimes/react/controls/link';
|
|
20
|
+
import { SlotControlValue } from '../runtimes/react/controls/slot';
|
|
21
|
+
export type { Data };
|
|
3
22
|
export declare type IndexSignatureHack<T> = T extends Record<string, any> ? {
|
|
4
23
|
[K in keyof T]: IndexSignatureHack<T[K]>;
|
|
5
24
|
} : T;
|
|
@@ -15,7 +34,7 @@ declare type Color = {
|
|
|
15
34
|
alpha: number;
|
|
16
35
|
};
|
|
17
36
|
declare type IconName = 'HeightAuto16' | 'HeightMatch16' | 'VerticalAlignStart16' | 'VerticalAlignMiddle16' | 'VerticalAlignEnd16' | 'VerticalAlignSpaceBetween16' | 'ButtonPill16' | 'ButtonRounded16' | 'ButtonSquare16' | 'SizeSmall16' | 'SizeMedium16' | 'SizeLarge16' | 'ArrowInside16' | 'ArrowCenter16' | 'ArrowOutside16' | 'CountdownSolid16' | 'CountdownSolidSplit16' | 'CountdownOutline16' | 'CountdownOutlineSplit16' | 'CountdownNaked16' | 'Sun16' | 'Moon16' | 'AlignLeft16' | 'AlignCenter16' | 'AlignRight16' | 'Star16' | 'StarCircle16' | 'StarRoundedSquare16' | 'StarSquare16';
|
|
18
|
-
declare type Gap = {
|
|
37
|
+
export declare type Gap = {
|
|
19
38
|
value: number;
|
|
20
39
|
unit: 'px';
|
|
21
40
|
};
|
|
@@ -87,6 +106,7 @@ export declare const Types: {
|
|
|
87
106
|
readonly Image: "Image";
|
|
88
107
|
readonly Images: "Images";
|
|
89
108
|
readonly Link: "Link";
|
|
109
|
+
readonly List: "List";
|
|
90
110
|
readonly Margin: "Margin";
|
|
91
111
|
readonly NavigationLinks: "NavigationLinks";
|
|
92
112
|
readonly Number: "Number";
|
|
@@ -99,16 +119,20 @@ export declare const Types: {
|
|
|
99
119
|
readonly ResponsiveSelect: "ResponsiveSelect";
|
|
100
120
|
readonly RichText: "RichText";
|
|
101
121
|
readonly Shadows: "Shadows";
|
|
122
|
+
readonly Shape: "Shape";
|
|
102
123
|
readonly SocialLinks: "SocialLinks";
|
|
103
124
|
readonly Table: "Table";
|
|
104
125
|
readonly TableFormFields: "TableFormFields";
|
|
126
|
+
readonly Typeahead: "Typeahead";
|
|
105
127
|
readonly TextArea: "TextArea";
|
|
106
128
|
readonly TextInput: "TextInput";
|
|
107
129
|
readonly TextStyle: "TextStyle";
|
|
108
130
|
readonly Video: "Video";
|
|
109
131
|
readonly Width: "Width";
|
|
132
|
+
readonly Style: "makeswift::controls::style";
|
|
110
133
|
};
|
|
111
|
-
declare type Options<T> = T | ((props: Record<string, unknown>,
|
|
134
|
+
declare type Options<T> = T | ((props: Record<string, unknown>, deviceMode: Device) => T);
|
|
135
|
+
export declare type ResolveOptions<T extends Options<unknown>> = T extends Options<infer U> ? U : never;
|
|
112
136
|
declare type ColorBackground = {
|
|
113
137
|
type: 'color';
|
|
114
138
|
id: string;
|
|
@@ -197,21 +221,21 @@ declare type BorderRadiusDescriptor<_T = BorderRadiusValue> = {
|
|
|
197
221
|
};
|
|
198
222
|
export declare function BorderRadius(options?: BorderRadiusOptions): BorderRadiusDescriptor;
|
|
199
223
|
export declare type CheckboxValue = boolean;
|
|
200
|
-
declare type CheckboxOptions = Options<{
|
|
224
|
+
export declare type CheckboxOptions = Options<{
|
|
201
225
|
preset?: CheckboxValue;
|
|
202
226
|
label: string;
|
|
203
227
|
hidden?: boolean;
|
|
204
228
|
}>;
|
|
205
|
-
declare type CheckboxDescriptor<_T = CheckboxValue> = {
|
|
229
|
+
export declare type CheckboxDescriptor<_T = CheckboxValue> = {
|
|
206
230
|
type: typeof Types.Checkbox;
|
|
207
231
|
options: CheckboxOptions;
|
|
208
232
|
};
|
|
209
233
|
export declare function Checkbox(options: CheckboxOptions): CheckboxDescriptor;
|
|
210
234
|
export declare type DateValue = string;
|
|
211
|
-
declare type DateOptions = Options<{
|
|
235
|
+
export declare type DateOptions = Options<{
|
|
212
236
|
preset?: DateValue;
|
|
213
237
|
}>;
|
|
214
|
-
declare type DateDescriptor<_T = DateValue> = {
|
|
238
|
+
export declare type DateDescriptor<_T = DateValue> = {
|
|
215
239
|
type: typeof Types.Date;
|
|
216
240
|
options: DateOptions;
|
|
217
241
|
};
|
|
@@ -234,7 +258,7 @@ declare type FontDescriptor<_T = FontValue> = {
|
|
|
234
258
|
};
|
|
235
259
|
export declare function Font(options?: FontOptions): FontDescriptor;
|
|
236
260
|
export declare type GapXValue = ResponsiveValue<Gap>;
|
|
237
|
-
declare type GapXOptions = Options<{
|
|
261
|
+
export declare type GapXOptions = Options<{
|
|
238
262
|
preset?: GapXValue;
|
|
239
263
|
label?: string;
|
|
240
264
|
defaultValue?: Gap;
|
|
@@ -243,13 +267,13 @@ declare type GapXOptions = Options<{
|
|
|
243
267
|
step?: number;
|
|
244
268
|
hidden?: boolean;
|
|
245
269
|
}>;
|
|
246
|
-
declare type GapXDescriptor<_T = GapXValue> = {
|
|
270
|
+
export declare type GapXDescriptor<_T = GapXValue> = {
|
|
247
271
|
type: typeof Types.GapX;
|
|
248
272
|
options: GapXOptions;
|
|
249
273
|
};
|
|
250
274
|
export declare function GapX(options?: GapXOptions): GapXDescriptor;
|
|
251
275
|
export declare type GapYValue = ResponsiveValue<Gap>;
|
|
252
|
-
declare type GapYOptions = Options<{
|
|
276
|
+
export declare type GapYOptions = Options<{
|
|
253
277
|
preset?: GapYValue;
|
|
254
278
|
label?: string;
|
|
255
279
|
defaultValue?: Gap;
|
|
@@ -258,7 +282,7 @@ declare type GapYOptions = Options<{
|
|
|
258
282
|
max?: number;
|
|
259
283
|
hidden?: boolean;
|
|
260
284
|
}>;
|
|
261
|
-
declare type GapYDescriptor<_T = GapYValue> = {
|
|
285
|
+
export declare type GapYDescriptor<_T = GapYValue> = {
|
|
262
286
|
type: typeof Types.GapY;
|
|
263
287
|
options: GapYOptions;
|
|
264
288
|
};
|
|
@@ -278,11 +302,11 @@ declare type GridDescriptor<_T = GridValue> = {
|
|
|
278
302
|
};
|
|
279
303
|
export declare function Grid(options?: GridOptions): GridDescriptor;
|
|
280
304
|
export declare type ImageValue = string;
|
|
281
|
-
declare type ImageOptions = Options<{
|
|
305
|
+
export declare type ImageOptions = Options<{
|
|
282
306
|
label?: string;
|
|
283
307
|
hidden?: boolean;
|
|
284
308
|
}>;
|
|
285
|
-
declare type ImageDescriptor<_T = ImageValue> = {
|
|
309
|
+
export declare type ImageDescriptor<_T = ImageValue> = {
|
|
286
310
|
type: typeof Types.Image;
|
|
287
311
|
options: ImageOptions;
|
|
288
312
|
};
|
|
@@ -304,7 +328,7 @@ declare type ImagesDescriptor<_T = ImagesValue> = {
|
|
|
304
328
|
};
|
|
305
329
|
export declare function Images(options?: ImagesOptions): ImagesDescriptor;
|
|
306
330
|
export declare type LinkValue = Link;
|
|
307
|
-
declare type LinkOptions = Options<{
|
|
331
|
+
export declare type LinkOptions = Options<{
|
|
308
332
|
preset?: LinkValue;
|
|
309
333
|
label?: string;
|
|
310
334
|
defaultValue?: Link;
|
|
@@ -314,11 +338,28 @@ declare type LinkOptions = Options<{
|
|
|
314
338
|
}[];
|
|
315
339
|
hidden?: boolean;
|
|
316
340
|
}>;
|
|
317
|
-
declare type LinkDescriptor<_T = LinkValue> = {
|
|
341
|
+
export declare type LinkDescriptor<_T = LinkValue> = {
|
|
318
342
|
type: typeof Types.Link;
|
|
319
343
|
options: LinkOptions;
|
|
320
344
|
};
|
|
321
345
|
export declare function Link(options?: LinkOptions): LinkDescriptor;
|
|
346
|
+
declare type ListValueItem<T extends Data> = {
|
|
347
|
+
id: string;
|
|
348
|
+
value?: T;
|
|
349
|
+
};
|
|
350
|
+
export declare type ListValue<T extends Data = Data> = ListValueItem<T>[];
|
|
351
|
+
export declare type ListOptions<T extends Data> = {
|
|
352
|
+
type: PanelDescriptor<T>;
|
|
353
|
+
label?: string;
|
|
354
|
+
getItemLabel?: ((value: T | undefined) => string) | ((value: T | undefined) => Promise<string>);
|
|
355
|
+
preset?: ListValue<T>;
|
|
356
|
+
defaultValue?: ListValue<T>;
|
|
357
|
+
};
|
|
358
|
+
export declare type ListDescriptor<T extends ListValue = ListValue> = {
|
|
359
|
+
type: typeof Types.List;
|
|
360
|
+
options: ListOptions<T extends ListValue<infer U> ? U : never>;
|
|
361
|
+
};
|
|
362
|
+
export declare function List<T extends Data>(options: ListOptions<T>): ListDescriptor<ListValue<T>>;
|
|
322
363
|
declare type MarginSide = {
|
|
323
364
|
value: number;
|
|
324
365
|
unit: 'px';
|
|
@@ -338,7 +379,7 @@ export declare function Margin(options?: MarginOptions): MarginDescriptor;
|
|
|
338
379
|
declare type ButtonVariant = 'flat' | 'outline' | 'shadow' | 'clear' | 'blocky' | 'bubbly' | 'skewed';
|
|
339
380
|
declare type ButtonShape = 'pill' | 'rounded' | 'square';
|
|
340
381
|
declare type ButtonSize = 'small' | 'medium' | 'large';
|
|
341
|
-
declare type NavigationButton = {
|
|
382
|
+
export declare type NavigationButton = {
|
|
342
383
|
id: string;
|
|
343
384
|
type: 'button';
|
|
344
385
|
payload: {
|
|
@@ -385,7 +426,7 @@ declare type NavigationLinksDescriptor<_T = NavigationLinksValue> = {
|
|
|
385
426
|
};
|
|
386
427
|
export declare function NavigationLinks(options?: NavigationLinksOptions): NavigationLinksDescriptor;
|
|
387
428
|
export declare type NumberValue = number;
|
|
388
|
-
declare type NumberOptions = Options<{
|
|
429
|
+
export declare type NumberOptions = Options<{
|
|
389
430
|
preset?: NumberValue;
|
|
390
431
|
label?: string;
|
|
391
432
|
defaultValue?: number;
|
|
@@ -395,7 +436,7 @@ declare type NumberOptions = Options<{
|
|
|
395
436
|
suffix?: string;
|
|
396
437
|
hidden?: boolean;
|
|
397
438
|
}>;
|
|
398
|
-
declare type NumberDescriptor<_T = NumberValue> = {
|
|
439
|
+
export declare type NumberDescriptor<_T = NumberValue> = {
|
|
399
440
|
type: typeof Types.Number;
|
|
400
441
|
options: NumberOptions;
|
|
401
442
|
};
|
|
@@ -422,30 +463,30 @@ declare type ResponsiveColorOptions = Options<{
|
|
|
422
463
|
placeholder?: string;
|
|
423
464
|
hidden?: boolean;
|
|
424
465
|
}>;
|
|
425
|
-
declare type ResponsiveColorDescriptor<_T = ResponsiveColorValue> = {
|
|
466
|
+
export declare type ResponsiveColorDescriptor<_T = ResponsiveColorValue> = {
|
|
426
467
|
type: typeof Types.ResponsiveColor;
|
|
427
468
|
options: ResponsiveColorOptions;
|
|
428
469
|
};
|
|
429
470
|
export declare function ResponsiveColor(options?: ResponsiveColorOptions): ResponsiveColorDescriptor;
|
|
430
|
-
declare type IconRadioGroupOption<T extends string> = {
|
|
471
|
+
export declare type IconRadioGroupOption<T extends string> = {
|
|
431
472
|
value: T;
|
|
432
473
|
label: string;
|
|
433
474
|
icon: IconName;
|
|
434
475
|
};
|
|
435
|
-
export declare type ResponsiveIconRadioGroupValue<T extends string> = ResponsiveValue<T>;
|
|
436
|
-
declare type ResponsiveIconRadioGroupOptions<T extends string, U extends T = T> = Options<{
|
|
476
|
+
export declare type ResponsiveIconRadioGroupValue<T extends string = string> = ResponsiveValue<T>;
|
|
477
|
+
export declare type ResponsiveIconRadioGroupOptions<T extends string = string, U extends T = T> = Options<{
|
|
437
478
|
label?: string;
|
|
438
479
|
options: IconRadioGroupOption<T>[];
|
|
439
480
|
defaultValue?: U;
|
|
440
481
|
hidden?: boolean;
|
|
441
482
|
}>;
|
|
442
|
-
declare type ResponsiveIconRadioGroupDescriptor<T extends ResponsiveIconRadioGroupValue<string>> = {
|
|
483
|
+
export declare type ResponsiveIconRadioGroupDescriptor<T extends ResponsiveIconRadioGroupValue<string> = ResponsiveIconRadioGroupValue<string>> = {
|
|
443
484
|
type: typeof Types.ResponsiveIconRadioGroup;
|
|
444
485
|
options: ResponsiveIconRadioGroupOptions<ResponsiveValueType<T>>;
|
|
445
486
|
};
|
|
446
487
|
export declare function ResponsiveIconRadioGroup<_T extends string, T extends _T, U extends T>(options: ResponsiveIconRadioGroupOptions<T, U>): ResponsiveIconRadioGroupDescriptor<ResponsiveIconRadioGroupValue<T>>;
|
|
447
488
|
export declare type ResponsiveLengthValue = ResponsiveValue<Length>;
|
|
448
|
-
declare type LengthOption = {
|
|
489
|
+
export declare type LengthOption = {
|
|
449
490
|
value: 'px';
|
|
450
491
|
label: 'Pixels';
|
|
451
492
|
icon: 'Px16';
|
|
@@ -454,19 +495,19 @@ declare type LengthOption = {
|
|
|
454
495
|
label: 'Percentage';
|
|
455
496
|
icon: 'Percent16';
|
|
456
497
|
};
|
|
457
|
-
declare type ResponsiveLengthOptions = Options<{
|
|
498
|
+
export declare type ResponsiveLengthOptions = Options<{
|
|
458
499
|
label?: string;
|
|
459
500
|
options?: LengthOption[];
|
|
460
501
|
defaultValue?: Length;
|
|
461
502
|
hidden?: boolean;
|
|
462
503
|
}>;
|
|
463
|
-
declare type ResponsiveLengthDescriptor<_T = ResponsiveLengthValue> = {
|
|
504
|
+
export declare type ResponsiveLengthDescriptor<_T = ResponsiveLengthValue> = {
|
|
464
505
|
type: typeof Types.ResponsiveLength;
|
|
465
506
|
options: ResponsiveLengthOptions;
|
|
466
507
|
};
|
|
467
508
|
export declare function ResponsiveLength(options?: ResponsiveLengthOptions): ResponsiveLengthDescriptor;
|
|
468
509
|
export declare type ResponsiveNumberValue = ResponsiveValue<number>;
|
|
469
|
-
declare type ResponsiveNumberOptions = Options<{
|
|
510
|
+
export declare type ResponsiveNumberOptions = Options<{
|
|
470
511
|
label?: string;
|
|
471
512
|
defaultValue?: number;
|
|
472
513
|
min?: number;
|
|
@@ -475,7 +516,7 @@ declare type ResponsiveNumberOptions = Options<{
|
|
|
475
516
|
suffix?: string;
|
|
476
517
|
hidden?: boolean;
|
|
477
518
|
}>;
|
|
478
|
-
declare type ResponsiveNumberDescriptor<_T = ResponsiveNumberValue> = {
|
|
519
|
+
export declare type ResponsiveNumberDescriptor<_T = ResponsiveNumberValue> = {
|
|
479
520
|
type: typeof Types.ResponsiveNumber;
|
|
480
521
|
options: ResponsiveNumberOptions;
|
|
481
522
|
};
|
|
@@ -487,29 +528,29 @@ declare type ResponsiveOpacityDescriptor<_T = ResponsiveOpacityValue> = {
|
|
|
487
528
|
options: ResponsiveOpacityOptions;
|
|
488
529
|
};
|
|
489
530
|
export declare function ResponsiveOpacity(options?: ResponsiveOpacityOptions): ResponsiveOpacityDescriptor;
|
|
490
|
-
export declare type ResponsiveSelectValue<T extends string> = ResponsiveValue<T>;
|
|
491
|
-
declare type SelectLabelOrientation = 'vertical' | 'horizontal';
|
|
492
|
-
declare type SelectOption<T extends string> = {
|
|
531
|
+
export declare type ResponsiveSelectValue<T extends string = string> = ResponsiveValue<T>;
|
|
532
|
+
export declare type SelectLabelOrientation = 'vertical' | 'horizontal';
|
|
533
|
+
export declare type SelectOption<T extends string> = {
|
|
493
534
|
value: T;
|
|
494
535
|
label: string;
|
|
495
536
|
};
|
|
496
|
-
declare type ResponsiveSelectOptions<T extends string, U extends T = T> = Options<{
|
|
537
|
+
export declare type ResponsiveSelectOptions<T extends string = string, U extends T = T> = Options<{
|
|
497
538
|
label?: string;
|
|
498
539
|
labelOrientation?: SelectLabelOrientation;
|
|
499
540
|
options: SelectOption<T>[];
|
|
500
541
|
defaultValue?: U;
|
|
501
542
|
hidden?: boolean;
|
|
502
543
|
}>;
|
|
503
|
-
declare type ResponsiveSelectDescriptor<T extends ResponsiveSelectValue<string>> = {
|
|
544
|
+
export declare type ResponsiveSelectDescriptor<T extends ResponsiveSelectValue<string> = ResponsiveSelectValue<string>> = {
|
|
504
545
|
type: typeof Types.ResponsiveSelect;
|
|
505
546
|
options: ResponsiveSelectOptions<ResponsiveValueType<T>>;
|
|
506
547
|
};
|
|
507
548
|
export declare function ResponsiveSelect<_T extends string, T extends _T, U extends T>(options: ResponsiveSelectOptions<T, U>): ResponsiveSelectDescriptor<ResponsiveSelectValue<T>>;
|
|
508
549
|
export declare type RichTextValue = IndexSignatureHack<Slate.ValueJSON>;
|
|
509
|
-
declare type RichTextOptions = Options<{
|
|
550
|
+
export declare type RichTextOptions = Options<{
|
|
510
551
|
preset?: RichTextValue;
|
|
511
552
|
}>;
|
|
512
|
-
declare type RichTextDescriptor<_T extends Data = RichTextValue> = {
|
|
553
|
+
export declare type RichTextDescriptor<_T extends Data = RichTextValue> = {
|
|
513
554
|
type: typeof Types.RichText;
|
|
514
555
|
options: RichTextOptions;
|
|
515
556
|
};
|
|
@@ -533,6 +574,20 @@ declare type ShadowsDescriptor<_T = ShadowsValue> = {
|
|
|
533
574
|
options: ShadowsOptions;
|
|
534
575
|
};
|
|
535
576
|
export declare function Shadows(options?: ShadowsOptions): ShadowsDescriptor;
|
|
577
|
+
export declare type ShapeValue<T extends Data = Data> = Record<string, T>;
|
|
578
|
+
declare type ShapeOptions<T extends Record<string, PanelDescriptor>> = {
|
|
579
|
+
type: T;
|
|
580
|
+
preset?: {
|
|
581
|
+
[K in keyof T]?: DescriptorValueType<T[K]>;
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
export declare type ShapeDescriptor<_T extends Record<string, Data>, U extends Record<string, PanelDescriptor>> = {
|
|
585
|
+
type: typeof Types.Shape;
|
|
586
|
+
options: ShapeOptions<U>;
|
|
587
|
+
};
|
|
588
|
+
export declare function Shape<T extends Record<string, PanelDescriptor>>(options: ShapeOptions<T>): ShapeDescriptor<{
|
|
589
|
+
[K in keyof T]?: DescriptorValueType<T[K]>;
|
|
590
|
+
}, T>;
|
|
536
591
|
declare type SocialLinkType = 'angellist' | 'codepen' | 'dribbble' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'medium' | 'pinterest' | 'reddit' | 'rss' | 'snapchat' | 'soundcloud' | 'spotify' | 'telegram' | 'tumblr' | 'twitch' | 'twitter' | 'vimeo' | 'whatsapp' | 'yelp' | 'youtube';
|
|
537
592
|
declare type SocialLink = {
|
|
538
593
|
type: SocialLinkType;
|
|
@@ -586,11 +641,27 @@ export declare type TableFormFieldsValue = {
|
|
|
586
641
|
declare type TableFormFieldsOptions = Options<{
|
|
587
642
|
preset?: TableFormFieldsValue;
|
|
588
643
|
}>;
|
|
589
|
-
declare type TableFormFieldsDescriptor<_T = TableFormFieldsValue> = {
|
|
644
|
+
export declare type TableFormFieldsDescriptor<_T = TableFormFieldsValue> = {
|
|
590
645
|
type: typeof Types.TableFormFields;
|
|
591
646
|
options: TableFormFieldsOptions;
|
|
592
647
|
};
|
|
593
648
|
export declare function TableFormFields(options?: TableFormFieldsOptions): TableFormFieldsDescriptor;
|
|
649
|
+
export declare type TypeaheadValue<T extends Data = Data> = {
|
|
650
|
+
id: string;
|
|
651
|
+
label: string;
|
|
652
|
+
value: T;
|
|
653
|
+
};
|
|
654
|
+
export declare type TypeaheadOptions<T extends Data> = {
|
|
655
|
+
getItems: (query: string) => Promise<TypeaheadValue<T>[]>;
|
|
656
|
+
label?: string;
|
|
657
|
+
preset?: TypeaheadValue<T>;
|
|
658
|
+
defaultValue?: TypeaheadValue<T>;
|
|
659
|
+
};
|
|
660
|
+
export declare type TypeaheadDescriptor<T extends TypeaheadValue = TypeaheadValue> = {
|
|
661
|
+
type: typeof Types.Typeahead;
|
|
662
|
+
options: TypeaheadOptions<T extends TypeaheadValue<infer U> ? U : never>;
|
|
663
|
+
};
|
|
664
|
+
export declare function Typeahead<T extends Data>(options: TypeaheadOptions<T>): TypeaheadDescriptor<TypeaheadValue<T>>;
|
|
594
665
|
export declare type TextAreaValue = string;
|
|
595
666
|
declare type TextAreaOptions = Options<{
|
|
596
667
|
preset?: TextAreaValue;
|
|
@@ -603,23 +674,23 @@ declare type TextAreaDescriptor<_T = TextAreaValue> = {
|
|
|
603
674
|
};
|
|
604
675
|
export declare function TextArea(options?: TextAreaOptions): TextAreaDescriptor;
|
|
605
676
|
export declare type TextInputValue = string;
|
|
606
|
-
declare type TextInputOptions = Options<{
|
|
677
|
+
export declare type TextInputOptions = Options<{
|
|
607
678
|
label?: string;
|
|
608
679
|
placeholder?: string;
|
|
609
680
|
hidden?: boolean;
|
|
610
681
|
}>;
|
|
611
|
-
declare type TextInputDescriptor<_T = TextInputValue> = {
|
|
682
|
+
export declare type TextInputDescriptor<_T = TextInputValue> = {
|
|
612
683
|
type: typeof Types.TextInput;
|
|
613
684
|
options: TextInputOptions;
|
|
614
685
|
};
|
|
615
686
|
export declare function TextInput(options?: TextInputOptions): TextInputDescriptor;
|
|
616
687
|
export declare type TextStyleValue = ResponsiveValue<TextStyle>;
|
|
617
|
-
declare type TextStyleOptions = Options<{
|
|
688
|
+
export declare type TextStyleOptions = Options<{
|
|
618
689
|
preset?: TextStyleValue;
|
|
619
690
|
label?: string;
|
|
620
691
|
hidden?: boolean;
|
|
621
692
|
}>;
|
|
622
|
-
declare type TextStyleDescriptor<_T = TextStyleValue> = {
|
|
693
|
+
export declare type TextStyleDescriptor<_T = TextStyleValue> = {
|
|
623
694
|
type: typeof Types.TextStyle;
|
|
624
695
|
options: TextStyleOptions;
|
|
625
696
|
};
|
|
@@ -641,16 +712,32 @@ declare type VideoDescriptor<_T = VideoValue> = {
|
|
|
641
712
|
};
|
|
642
713
|
export declare function Video(options?: VideoOptions): VideoDescriptor;
|
|
643
714
|
export declare type WidthValue = ResponsiveValue<Length>;
|
|
715
|
+
export declare const WidthControlValueFormats: {
|
|
716
|
+
readonly ClassName: "ClassName";
|
|
717
|
+
readonly ResponsiveValue: "ResponsiveValue";
|
|
718
|
+
};
|
|
719
|
+
declare type WidthControlValueFormat = typeof WidthControlValueFormats[keyof typeof WidthControlValueFormats];
|
|
644
720
|
declare type WidthOptions = Options<{
|
|
645
721
|
preset?: WidthValue;
|
|
646
722
|
defaultValue?: Length;
|
|
723
|
+
format?: WidthControlValueFormat;
|
|
647
724
|
}>;
|
|
648
|
-
declare type WidthDescriptor<_T = WidthValue> = {
|
|
725
|
+
export declare type WidthDescriptor<_T = WidthValue, U extends WidthOptions = WidthOptions> = {
|
|
649
726
|
type: typeof Types.Width;
|
|
650
|
-
options:
|
|
727
|
+
options: U;
|
|
651
728
|
};
|
|
652
|
-
export declare function Width(options?: WidthOptions): WidthDescriptor
|
|
653
|
-
export declare
|
|
654
|
-
|
|
655
|
-
|
|
729
|
+
export declare function Width<T extends WidthOptions>(options?: T & WidthOptions): WidthDescriptor<WidthValue, T>;
|
|
730
|
+
export declare namespace Width {
|
|
731
|
+
var Formats: {
|
|
732
|
+
readonly ClassName: "ClassName";
|
|
733
|
+
readonly ResponsiveValue: "ResponsiveValue";
|
|
734
|
+
};
|
|
735
|
+
}
|
|
736
|
+
export declare type Descriptor<T extends Data = Data> = BackgroundsDescriptor<T> | BorderDescriptor<T> | BorderRadiusDescriptor<T> | CheckboxDescriptor<T> | DateDescriptor<T> | ElementIDDescriptor<T> | FontDescriptor<T> | GapXDescriptor<T> | GapYDescriptor<T> | GridDescriptor<T> | ImageDescriptor<T> | ImagesDescriptor<T> | LinkDescriptor<T> | ListDescriptor<T extends ListValue ? T : ListValue> | MarginDescriptor<T> | NavigationLinksDescriptor<T> | NumberDescriptor<T> | PaddingDescriptor<T> | ResponsiveColorDescriptor<T> | ResponsiveIconRadioGroupDescriptor<T extends ResponsiveIconRadioGroupValue<string> ? T : ResponsiveIconRadioGroupValue<string>> | ResponsiveLengthDescriptor<T> | ResponsiveNumberDescriptor<T> | ResponsiveOpacityDescriptor<T> | ResponsiveSelectDescriptor<T extends ResponsiveSelectValue<string> ? T : ResponsiveSelectValue<string>> | RichTextDescriptor<T> | ShadowsDescriptor<T> | ShapeDescriptor<T extends ShapeValue ? T : ShapeValue, any> | SocialLinksDescriptor<T> | TableDescriptor<T> | TableFormFieldsDescriptor<T> | TypeaheadDescriptor<T extends TypeaheadValue ? T : TypeaheadValue> | TextAreaDescriptor<T> | TextInputDescriptor<T> | TextStyleDescriptor<T> | VideoDescriptor<T> | WidthDescriptor<T> | StyleControlDefinition | NumberControlDefinition | CheckboxControlDefinition | TextInputControlDefinition | TextAreaControlDefinition | SelectControlDefinition | ColorControlDefinition | ImageControlDefinition | ComboboxControlDefinition | ShapeControlDefinition | ListControlDefinition | LinkControlDefinition | SlotControlDefinition;
|
|
737
|
+
export declare type PanelDescriptorType = typeof Types.Backgrounds | typeof Types.ResponsiveIconRadioGroup | typeof Types.Margin | typeof Types.Padding | typeof Types.Border | typeof Types.Shadows | typeof Types.GapY | typeof Types.GapX | typeof Types.BorderRadius | typeof Types.Checkbox | typeof Types.TextInput | typeof Types.Link | typeof Types.List | typeof Types.Shape | typeof Types.ResponsiveSelect | typeof Types.ResponsiveColor | typeof Types.TextStyle | typeof Types.Images | typeof Types.ResponsiveNumber | typeof Types.Number | typeof Types.Date | typeof Types.Font | typeof Types.TextArea | typeof Types.Table | typeof Types.Typeahead | typeof Types.RichText | typeof Types.Image | typeof Types.ResponsiveOpacity | typeof Types.SocialLinks | typeof Types.Video | typeof Types.NavigationLinks;
|
|
738
|
+
export declare type PanelDescriptor<T extends Data = Data> = Extract<Descriptor<T>, {
|
|
739
|
+
type: PanelDescriptorType;
|
|
740
|
+
}>;
|
|
741
|
+
export declare type DescriptorValueType<T extends Descriptor> = T extends NumberControlDefinition ? NumberControlValue<T> : T extends CheckboxControlDefinition ? CheckboxControlValue<T> : T extends TextInputControlDefinition ? TextInputControlValue<T> : T extends TextAreaControlDefinition ? TextAreaControlValue<T> : T extends SelectControlDefinition ? SelectControlValue<T> : T extends ColorControlDefinition ? ColorControlValue<T> : T extends StyleControlDefinition ? StyleControlFormattedValue : T extends ImageControlDefinition ? ResolveImageControlValue<T> : T extends ComboboxControlDefinition ? ComboboxControlValue<T> : T extends ShapeControlDefinition ? ShapeControlValue<T> : T extends ListControlDefinition ? ListControlValue<T> : T extends LinkControlDefinition ? LinkControlValue<T> : T extends SlotControlDefinition ? SlotControlValue : T['type'] extends typeof Types.ResponsiveColor ? ResponsiveColor | null | undefined : T['type'] extends typeof Types.Width ? ResolveWidthControlValue<T> : T extends Descriptor<infer U> ? U | undefined : never;
|
|
742
|
+
export declare type PanelDescriptorValueType<T extends PanelDescriptor> = T extends PanelDescriptor<infer U> ? U : never;
|
|
656
743
|
//# sourceMappingURL=descriptors.d.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C,CAAC,GACrB,CAAC,SAAS,sBAAsB,GAChC,iBAAiB,CAAC,CAAC,CAAC,GACpB,CAAC,SAAS,sBAAsB,GAChC,0BAA0B,GAC1B,CAAC,SAAS,sBAAsB,GAChC,wBAAwB,CAAC,CAAC,CAAC,GAC3B,CAAC,SAAS,yBAAyB,GACnC,oBAAoB,CAAC,CAAC,CAAC,GACvB,CAAC,SAAS,sBAAsB,GAChC,iBAAiB,CAAC,CAAC,CAAC,GACpB,CAAC,SAAS,qBAAqB,GAC/B,gBAAgB,CAAC,CAAC,CAAC,GACnB,CAAC,SAAS,qBAAqB,GAC/B,gBAAgB,CAAC,CAAC,CAAC,GACnB,CAAC,SAAS,qBAAqB,GAC/B,gBAAgB,GAChB,CAAC,CAAC,MAAM,CAAC,SAAS,OAAO,KAAK,CAAC,eAAe,GAC9C,eAAe,GAAG,IAAI,GAAG,SAAS,GAClC,CAAC,CAAC,MAAM,CAAC,SAAS,OAAO,KAAK,CAAC,KAAK,GACpC,wBAAwB,CAAC,CAAC,CAAC,GAC3B,CAAC,SAAS,UAAU,CAAC,MAAM,CAAC,CAAC,GAC7B,CAAC,GAAG,SAAS,GACb,KAAK,CAAA;AAET,oBAAY,wBAAwB,CAAC,CAAC,SAAS,eAAe,IAAI,CAAC,SAAS,eAAe,CAAC,MAAM,CAAC,CAAC,GAChG,CAAC,GACD,KAAK,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { CheckboxDescriptor, CheckboxOptions, CheckboxValue, Data, Descriptor as PropControllerDescriptor, DescriptorValueType as PropControllerDescriptorValueType, Device, DeviceOverride, Gap, DateDescriptor, DateValue, GapXDescriptor, GapXOptions, GapXValue, GapYDescriptor, GapYOptions, GapYValue, NumberDescriptor, NumberValue, ResponsiveColorDescriptor, ResponsiveColorValue, ResponsiveNumberDescriptor, ResponsiveNumberOptions, ResponsiveNumberValue, ResponsiveIconRadioGroupDescriptor, ResponsiveIconRadioGroupValue, ResponsiveSelectDescriptor, ResponsiveSelectValue, ResponsiveLengthDescriptor, ResponsiveLengthValue, Length, ImageDescriptor, ImageValue, LinkDescriptor, LinkValue, ListDescriptor, ListValue, ListOptions, RichTextDescriptor, RichTextValue, ShapeDescriptor, ShapeValue, TextInputDescriptor, TextInputValue, TextStyleDescriptor, TextStyleValue, TypeaheadDescriptor, TypeaheadValue, TypeaheadOptions, PanelDescriptor, PanelDescriptorType, PanelDescriptorValueType, ResponsiveValue, ResponsiveValueType, } from './descriptors';
|
|
2
|
+
export * as Props from './descriptors';
|
|
3
|
+
export type { PropControllerMessage, RichTextPropControllerMessage, TableFormFieldsMessage, } from './instances';
|
|
4
|
+
export { RichTextPropControllerMessageType, TableFormFieldsMessageType } from './instances';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/prop-controllers/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,eAAe,EACf,aAAa,EACb,IAAI,EACJ,UAAU,IAAI,wBAAwB,EACtC,mBAAmB,IAAI,iCAAiC,EACxD,MAAM,EACN,cAAc,EACd,GAAG,EACH,cAAc,EACd,SAAS,EACT,cAAc,EACd,WAAW,EACX,SAAS,EACT,cAAc,EACd,WAAW,EACX,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,kCAAkC,EAClC,6BAA6B,EAC7B,0BAA0B,EAC1B,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAqB,EACrB,MAAM,EACN,eAAe,EACf,UAAU,EACV,cAAc,EACd,SAAS,EACT,cAAc,EACd,SAAS,EACT,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACxB,eAAe,EACf,mBAAmB,GACpB,MAAM,eAAe,CAAA;AACtB,OAAO,KAAK,KAAK,MAAM,eAAe,CAAA;AACtC,YAAY,EACV,qBAAqB,EACrB,6BAA6B,EAC7B,sBAAsB,GACvB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,iCAAiC,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Editor } from 'slate-react';
|
|
2
|
+
import { ValueJSON } from 'slate';
|
|
3
|
+
import { OnChangeParam } from 'slate-react';
|
|
4
|
+
import { Descriptor, RichTextDescriptor, TableFormFieldsDescriptor, Types } from './descriptors';
|
|
5
|
+
import { BuilderEditMode } from '../utils/constants';
|
|
6
|
+
import { BoxModel } from '../state/modules/box-models';
|
|
7
|
+
import { SlotControlMessage } from '../controls';
|
|
8
|
+
export declare const RichTextPropControllerMessageType: {
|
|
9
|
+
readonly CHANGE_BUILDER_EDIT_MODE: "CHANGE_BUILDER_EDIT_MODE";
|
|
10
|
+
readonly INITIALIZE_EDITOR: "INITIALIZE_EDITOR";
|
|
11
|
+
readonly CHANGE_EDITOR_VALUE: "CHANGE_EDITOR_VALUE";
|
|
12
|
+
readonly FOCUS: "FOCUS";
|
|
13
|
+
readonly BLUR: "BLUR";
|
|
14
|
+
readonly UNDO: "UNDO";
|
|
15
|
+
readonly REDO: "REDO";
|
|
16
|
+
};
|
|
17
|
+
declare type ChangeBuilderEditModeRichTextPropControllerMessage = {
|
|
18
|
+
type: typeof RichTextPropControllerMessageType.CHANGE_BUILDER_EDIT_MODE;
|
|
19
|
+
editMode: BuilderEditMode;
|
|
20
|
+
};
|
|
21
|
+
declare type InitializeEditorRichTextPropControllerMessage = {
|
|
22
|
+
type: typeof RichTextPropControllerMessageType.INITIALIZE_EDITOR;
|
|
23
|
+
value: ValueJSON;
|
|
24
|
+
};
|
|
25
|
+
declare type ChangeEditorValueRichTextPropControllerMessage = {
|
|
26
|
+
type: typeof RichTextPropControllerMessageType.CHANGE_EDITOR_VALUE;
|
|
27
|
+
value: ValueJSON;
|
|
28
|
+
};
|
|
29
|
+
declare type FocusRichTextPropControllerMessage = {
|
|
30
|
+
type: typeof RichTextPropControllerMessageType.FOCUS;
|
|
31
|
+
};
|
|
32
|
+
declare type BlurRichTextPropControllerMessage = {
|
|
33
|
+
type: typeof RichTextPropControllerMessageType.BLUR;
|
|
34
|
+
};
|
|
35
|
+
declare type UndoRichTextPropControllerMessage = {
|
|
36
|
+
type: typeof RichTextPropControllerMessageType.UNDO;
|
|
37
|
+
};
|
|
38
|
+
declare type RedoRichTextPropControllerMessage = {
|
|
39
|
+
type: typeof RichTextPropControllerMessageType.REDO;
|
|
40
|
+
};
|
|
41
|
+
export declare type RichTextPropControllerMessage = ChangeBuilderEditModeRichTextPropControllerMessage | InitializeEditorRichTextPropControllerMessage | ChangeEditorValueRichTextPropControllerMessage | FocusRichTextPropControllerMessage | BlurRichTextPropControllerMessage | UndoRichTextPropControllerMessage | RedoRichTextPropControllerMessage;
|
|
42
|
+
export declare type PropControllerMessage = RichTextPropControllerMessage | TableFormFieldsMessage | SlotControlMessage;
|
|
43
|
+
export declare type Send<T = PropControllerMessage> = (message: T) => void;
|
|
44
|
+
export declare abstract class PropController<T = PropControllerMessage> {
|
|
45
|
+
protected send: Send<T>;
|
|
46
|
+
constructor(send: Send<T>);
|
|
47
|
+
abstract recv(message: T): void;
|
|
48
|
+
}
|
|
49
|
+
declare class DefaultPropController extends PropController {
|
|
50
|
+
recv(_message: PropControllerMessage): void;
|
|
51
|
+
}
|
|
52
|
+
declare class RichTextPropController extends PropController<RichTextPropControllerMessage> {
|
|
53
|
+
private editor;
|
|
54
|
+
recv(message: RichTextPropControllerMessage): void;
|
|
55
|
+
setSlateEditor(editor: Editor): void;
|
|
56
|
+
onChange(change: OnChangeParam): void;
|
|
57
|
+
focus(): void;
|
|
58
|
+
blur(): void;
|
|
59
|
+
undo(): void;
|
|
60
|
+
redo(): void;
|
|
61
|
+
}
|
|
62
|
+
export declare const TableFormFieldsMessageType: {
|
|
63
|
+
readonly TABLE_FORM_LAYOUT_CHANGE: "TABLE_FORM_LAYOUT_CHANGE";
|
|
64
|
+
readonly TABLE_FORM_FIELD_LAYOUT_CHANGE: "TABLE_FORM_FIELD_LAYOUT_CHANGE";
|
|
65
|
+
};
|
|
66
|
+
declare type TableLayoutTableFormFieldsMessage = {
|
|
67
|
+
type: typeof TableFormFieldsMessageType.TABLE_FORM_LAYOUT_CHANGE;
|
|
68
|
+
payload: {
|
|
69
|
+
layout: BoxModel;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
declare type TableFieldLayoutTableFormFieldsMessage = {
|
|
73
|
+
type: typeof TableFormFieldsMessageType.TABLE_FORM_FIELD_LAYOUT_CHANGE;
|
|
74
|
+
payload: {
|
|
75
|
+
layout: BoxModel;
|
|
76
|
+
index: number;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export declare type TableFormFieldsMessage = TableLayoutTableFormFieldsMessage | TableFieldLayoutTableFormFieldsMessage;
|
|
80
|
+
export declare class TableFormFieldsPropController extends PropController<TableFormFieldsMessage> {
|
|
81
|
+
recv(): void;
|
|
82
|
+
tableFormLayoutChange(payload: {
|
|
83
|
+
layout: BoxModel;
|
|
84
|
+
}): void;
|
|
85
|
+
tableFormFieldLayoutChange(payload: {
|
|
86
|
+
layout: BoxModel;
|
|
87
|
+
index: number;
|
|
88
|
+
}): void;
|
|
89
|
+
}
|
|
90
|
+
declare type DescriptorPropController<T extends Descriptor> = T extends {
|
|
91
|
+
type: typeof Types.RichText;
|
|
92
|
+
} ? RichTextPropController : T extends {
|
|
93
|
+
type: typeof Types.TableFormFields;
|
|
94
|
+
} ? TableFormFieldsPropController : DefaultPropController;
|
|
95
|
+
export declare type DescriptorsPropControllers<T extends Record<string, Descriptor>> = {
|
|
96
|
+
[K in keyof T]: undefined extends T[K] ? DescriptorPropController<Exclude<T[K], undefined>> : DescriptorPropController<T[K]>;
|
|
97
|
+
};
|
|
98
|
+
export declare function createPropController(descriptor: RichTextDescriptor, send: Send<RichTextPropControllerMessage>): RichTextPropController;
|
|
99
|
+
export declare function createPropController(descriptor: TableFormFieldsDescriptor, send: Send<TableFormFieldsMessage>): TableFormFieldsPropController;
|
|
100
|
+
export declare function createPropController(descriptor: Descriptor, send: Send): DefaultPropController;
|
|
101
|
+
export {};
|
|
102
|
+
//# sourceMappingURL=instances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instances.d.ts","sourceRoot":"","sources":["../../../../src/prop-controllers/instances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAChG,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AACtD,OAAO,EAAe,kBAAkB,EAAmB,MAAM,aAAa,CAAA;AAE9E,eAAO,MAAM,iCAAiC;;;;;;;;CAQpC,CAAA;AAEV,aAAK,kDAAkD,GAAG;IACxD,IAAI,EAAE,OAAO,iCAAiC,CAAC,wBAAwB,CAAA;IACvE,QAAQ,EAAE,eAAe,CAAA;CAC1B,CAAA;AAED,aAAK,6CAA6C,GAAG;IACnD,IAAI,EAAE,OAAO,iCAAiC,CAAC,iBAAiB,CAAA;IAChE,KAAK,EAAE,SAAS,CAAA;CACjB,CAAA;AAED,aAAK,8CAA8C,GAAG;IACpD,IAAI,EAAE,OAAO,iCAAiC,CAAC,mBAAmB,CAAA;IAClE,KAAK,EAAE,SAAS,CAAA;CACjB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CAAC;CACnC,CAAA;AAQD,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,kBAAkB,EAC9B,IAAI,EAAE,IAAI,CAAC,6BAA6B,CAAC,GACxC,sBAAsB,CAAA;AACzB,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,yBAAyB,EACrC,IAAI,EAAE,IAAI,CAAC,sBAAsB,CAAC,GACjC,6BAA6B,CAAA;AAChC,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,GAAG,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Descriptor } from './descriptors';
|
|
2
|
+
import { Data, Element } from '../state/react-page';
|
|
3
|
+
export declare function getElementChildren<T extends Data>(descriptor: Descriptor<T>, prop: T | undefined): Element[];
|
|
4
|
+
export declare function getElementId<T extends Data>(descriptor: Descriptor<T>, prop: T | undefined): string | null;
|
|
5
|
+
export declare function getElementSwatchIds<T extends Data>(descriptor: Descriptor<T>, prop: T | undefined): string[];
|
|
6
|
+
export declare function getFileIds<T extends Data>(descriptor: Descriptor<T>, prop: T | undefined): string[];
|
|
7
|
+
export declare function getTypographyIds<T extends Data>(descriptor: Descriptor<T>, prop: T | undefined): string[];
|
|
8
|
+
export declare function getTableIds<T extends Data>(descriptor: Descriptor<T>, prop: T | undefined): string[];
|
|
9
|
+
export declare function getPageIds<T extends Data>(descriptor: Descriptor<T>, prop: T | undefined): string[];
|
|
10
|
+
//# sourceMappingURL=introspection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"introspection.d.ts","sourceRoot":"","sources":["../../../../src/prop-controllers/introspection.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAYX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAUnD,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,IAAI,EAC/C,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,EACzB,IAAI,EAAE,CAAC,GAAG,SAAS,GAClB,OAAO,EAAE,CAaX;AAED,wBAAgB,YAAY,CAAC,CAAC,SAAS,IAAI,EACzC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,EACzB,IAAI,EAAE,CAAC,GAAG,SAAS,GAClB,MAAM,GAAG,IAAI,CAUf;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,IAAI,EAChD,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,EACzB,IAAI,EAAE,CAAC,GAAG,SAAS,GAClB,MAAM,EAAE,CAuHV;AAED,wBAAgB,UAAU,CAAC,CAAC,SAAS,IAAI,EACvC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,EACzB,IAAI,EAAE,CAAC,GAAG,SAAS,GAClB,MAAM,EAAE,CAuCV;AAED,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,IAAI,EAC7C,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,EACzB,IAAI,EAAE,CAAC,GAAG,SAAS,GAClB,MAAM,EAAE,CAiCV;AAED,wBAAgB,WAAW,CAAC,CAAC,SAAS,IAAI,EACxC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,EACzB,IAAI,EAAE,CAAC,GAAG,SAAS,GAClB,MAAM,EAAE,CAYV;AAED,wBAAgB,UAAU,CAAC,CAAC,SAAS,IAAI,EACvC,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC,EACzB,IAAI,EAAE,CAAC,GAAG,SAAS,GAClB,MAAM,EAAE,CA4GV"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { Action } from './state/actions';
|
|
2
|
+
export { ActionTypes, changeDocument } from './state/actions';
|
|
3
|
+
export { Element, RuntimeProvider, ReactRuntime, useIsInBuilder, DocumentReference, PageProvider, usePageId, } from './runtimes/react';
|
|
4
|
+
//# sourceMappingURL=react.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../src/react.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC7D,OAAO,EACL,OAAO,EACP,eAAe,EACf,YAAY,EACZ,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,SAAS,GACV,MAAM,kBAAkB,CAAA"}
|