@social-mail/social-mail-client 1.4.224 → 1.5.3
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/build.jsx +1 -0
- package/content/templates/plain/index.html +1 -1
- package/dist/site-editor/blocks/Banner.d.ts.map +1 -1
- package/dist/site-editor/blocks/Banner.js +2 -19
- package/dist/site-editor/blocks/Banner.js.map +1 -1
- package/dist/site-editor/blocks/Billboard.d.ts.map +1 -1
- package/dist/site-editor/blocks/Billboard.js +2 -35
- package/dist/site-editor/blocks/Billboard.js.map +1 -1
- package/dist/site-editor/blocks/Block.d.ts +0 -1
- package/dist/site-editor/blocks/Block.d.ts.map +1 -1
- package/dist/site-editor/blocks/Block.js +4 -14
- package/dist/site-editor/blocks/Block.js.map +1 -1
- package/dist/site-editor/blocks/BodyStyles.d.ts +0 -1
- package/dist/site-editor/blocks/BodyStyles.js +3 -352
- package/dist/site-editor/blocks/BodyStyles.js.map +1 -1
- package/dist/site-editor/blocks/BoxFrame.d.ts.map +1 -1
- package/dist/site-editor/blocks/BoxFrame.js +2 -43
- package/dist/site-editor/blocks/BoxFrame.js.map +1 -1
- package/dist/site-editor/blocks/Buttons.d.ts.map +1 -1
- package/dist/site-editor/blocks/Buttons.js +2 -61
- package/dist/site-editor/blocks/Buttons.js.map +1 -1
- package/dist/site-editor/blocks/Card.d.ts.map +1 -1
- package/dist/site-editor/blocks/Card.js +2 -37
- package/dist/site-editor/blocks/Card.js.map +1 -1
- package/dist/site-editor/blocks/Carousel.d.ts.map +1 -1
- package/dist/site-editor/blocks/Carousel.js +2 -11
- package/dist/site-editor/blocks/Carousel.js.map +1 -1
- package/dist/site-editor/blocks/ColumnBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/ColumnBox.js +2 -19
- package/dist/site-editor/blocks/ColumnBox.js.map +1 -1
- package/dist/site-editor/blocks/Columns2.d.ts.map +1 -1
- package/dist/site-editor/blocks/Columns2.js +2 -31
- package/dist/site-editor/blocks/Columns2.js.map +1 -1
- package/dist/site-editor/blocks/Columns3.d.ts.map +1 -1
- package/dist/site-editor/blocks/Columns3.js +2 -41
- package/dist/site-editor/blocks/Columns3.js.map +1 -1
- package/dist/site-editor/blocks/Components.d.ts.map +1 -1
- package/dist/site-editor/blocks/Components.js +2 -34
- package/dist/site-editor/blocks/Components.js.map +1 -1
- package/dist/site-editor/blocks/GridBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/GridBox.js +2 -37
- package/dist/site-editor/blocks/GridBox.js.map +1 -1
- package/dist/site-editor/blocks/ImageBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/ImageBox.js +2 -52
- package/dist/site-editor/blocks/ImageBox.js.map +1 -1
- package/dist/site-editor/blocks/ImageCard.d.ts.map +1 -1
- package/dist/site-editor/blocks/ImageCard.js +2 -69
- package/dist/site-editor/blocks/ImageCard.js.map +1 -1
- package/dist/site-editor/blocks/ImageGallery.d.ts.map +1 -1
- package/dist/site-editor/blocks/ImageGallery.js +2 -41
- package/dist/site-editor/blocks/ImageGallery.js.map +1 -1
- package/dist/site-editor/blocks/ImageGrid.d.ts.map +1 -1
- package/dist/site-editor/blocks/ImageGrid.js +2 -51
- package/dist/site-editor/blocks/ImageGrid.js.map +1 -1
- package/dist/site-editor/blocks/InjectBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/InjectBox.js +2 -15
- package/dist/site-editor/blocks/InjectBox.js.map +1 -1
- package/dist/site-editor/blocks/OutlineText.d.ts +1 -0
- package/dist/site-editor/blocks/OutlineText.d.ts.map +1 -1
- package/dist/site-editor/blocks/OutlineText.js +3 -17
- package/dist/site-editor/blocks/OutlineText.js.map +1 -1
- package/dist/site-editor/blocks/OutlineText.local.less.css +13 -0
- package/dist/site-editor/blocks/OutlineText.local.less.css.map +1 -0
- package/dist/site-editor/blocks/PDFFlipBook.d.ts.map +1 -1
- package/dist/site-editor/blocks/PDFFlipBook.js.map +1 -1
- package/dist/site-editor/blocks/PDFViewer.d.ts.map +1 -1
- package/dist/site-editor/blocks/PDFViewer.js +2 -43
- package/dist/site-editor/blocks/PDFViewer.js.map +1 -1
- package/dist/site-editor/blocks/PriceBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/PriceBox.js +2 -82
- package/dist/site-editor/blocks/PriceBox.js.map +1 -1
- package/dist/site-editor/blocks/RightImageBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/RightImageBox.js +2 -52
- package/dist/site-editor/blocks/RightImageBox.js.map +1 -1
- package/dist/site-editor/blocks/RowBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/RowBox.js +2 -32
- package/dist/site-editor/blocks/RowBox.js.map +1 -1
- package/dist/site-editor/blocks/TextBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/TextBox.js +2 -19
- package/dist/site-editor/blocks/TextBox.js.map +1 -1
- package/dist/site-editor/blocks/TextMask.d.ts.map +1 -1
- package/dist/site-editor/blocks/TextMask.js +2 -11
- package/dist/site-editor/blocks/TextMask.js.map +1 -1
- package/dist/site-editor/blocks/VerticalImageBox.d.ts.map +1 -1
- package/dist/site-editor/blocks/VerticalImageBox.js +2 -37
- package/dist/site-editor/blocks/VerticalImageBox.js.map +1 -1
- package/dist/site-editor/blocks/VideoPlayer.d.ts.map +1 -1
- package/dist/site-editor/blocks/VideoPlayer.js +2 -42
- package/dist/site-editor/blocks/VideoPlayer.js.map +1 -1
- package/dist/site-editor/blocks/WrapGrid.d.ts.map +1 -1
- package/dist/site-editor/blocks/WrapGrid.js +2 -17
- package/dist/site-editor/blocks/WrapGrid.js.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.d.ts +2 -3
- package/dist/site-editor/editor/HtmlPageEditor.d.ts.map +1 -1
- package/dist/site-editor/{styles/html-page-editor.global.less.css → editor/HtmlPageEditor.global.less.css} +8 -1
- package/dist/site-editor/editor/HtmlPageEditor.global.less.css.map +1 -0
- package/dist/site-editor/editor/HtmlPageEditor.js +5 -8
- package/dist/site-editor/editor/HtmlPageEditor.js.map +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.js +13 -19
- package/dist/site-editor/editor/WebSitePageEditor.js.map +1 -1
- package/dist/site-editor/properties/controls/LinkProperty.d.ts +1 -3
- package/dist/site-editor/properties/controls/LinkProperty.d.ts.map +1 -1
- package/dist/site-editor/properties/controls/LinkProperty.js +2 -4
- package/dist/site-editor/properties/controls/LinkProperty.js.map +1 -1
- package/dist/site-editor/properties/controls/PropertyEditor.d.ts +5 -11
- package/dist/site-editor/properties/controls/PropertyEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/controls/PropertyEditor.js +26 -41
- package/dist/site-editor/properties/controls/PropertyEditor.js.map +1 -1
- package/dist/site-editor/properties/controls/SizeEditorControl.d.ts.map +1 -1
- package/dist/site-editor/properties/controls/SizeEditorControl.js.map +1 -1
- package/dist/site-editor/properties/groups/BackgroundGroupEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/BackgroundGroupEditor.js +15 -19
- package/dist/site-editor/properties/groups/BackgroundGroupEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/BorderGroupEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/BorderGroupEditor.js +7 -13
- package/dist/site-editor/properties/groups/BorderGroupEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/ChildSizeGroupEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/ChildSizeGroupEditor.js +21 -27
- package/dist/site-editor/properties/groups/ChildSizeGroupEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/EffectGroup.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/EffectGroup.js +7 -11
- package/dist/site-editor/properties/groups/EffectGroup.js.map +1 -1
- package/dist/site-editor/properties/groups/ImageEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/ImageEditor.js +7 -13
- package/dist/site-editor/properties/groups/ImageEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/LayoutEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/LayoutEditor.js +24 -28
- package/dist/site-editor/properties/groups/LayoutEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/PositionGroupEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/PositionGroupEditor.js +9 -15
- package/dist/site-editor/properties/groups/PositionGroupEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/ScrollGroupEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/ScrollGroupEditor.js +6 -10
- package/dist/site-editor/properties/groups/ScrollGroupEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/SizeGroupEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/SizeGroupEditor.js +9 -15
- package/dist/site-editor/properties/groups/SizeGroupEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/SpaceGroupEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/SpaceGroupEditor.js +13 -19
- package/dist/site-editor/properties/groups/SpaceGroupEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/TextPropertyEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/TextPropertyEditor.js +18 -22
- package/dist/site-editor/properties/groups/TextPropertyEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/TransformGroupEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/TransformGroupEditor.js +9 -15
- package/dist/site-editor/properties/groups/TransformGroupEditor.js.map +1 -1
- package/dist/site-editor/styler/body.less.css +15 -0
- package/dist/site-editor/styler/body.less.css.map +1 -0
- package/dist/site-editor/styler/end.less.css +87 -0
- package/dist/site-editor/styler/end.less.css.map +1 -0
- package/dist/site-editor/styler/init.less.css +10 -0
- package/dist/site-editor/styler/init.less.css.map +1 -0
- package/dist/site-editor/styler/styler.less.css +15213 -0
- package/dist/site-editor/styler/styler.less.css.map +1 -0
- package/dist/site-editor/styler/styles/elements/image-link.less.css +11 -0
- package/dist/site-editor/styler/styles/elements/image-link.less.css.map +1 -0
- package/dist/site-editor/styler/styles/elements/link-button.less.css +20 -0
- package/dist/site-editor/styler/styles/elements/link-button.less.css.map +1 -0
- package/dist/site-editor/styler/styles/elements/link-icon-button.less.css +19 -0
- package/dist/site-editor/styler/styles/elements/link-icon-button.less.css.map +1 -0
- package/dist/site-editor/styler/styles/elements/pdf-viewer.less.css +33 -0
- package/dist/site-editor/styler/styles/elements/pdf-viewer.less.css.map +1 -0
- package/dist/site-editor/styler/styles/elements/video-player.less.css +33 -0
- package/dist/site-editor/styler/styles/elements/video-player.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/banner.less.css +13 -0
- package/dist/site-editor/styler/styles/layouts/banner.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/billboard.less.css +27 -0
- package/dist/site-editor/styler/styles/layouts/billboard.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/box-frame.less.css +35 -0
- package/dist/site-editor/styler/styles/layouts/box-frame.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/card.less.css +28 -0
- package/dist/site-editor/styler/styles/layouts/card.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/column-2.less.css +21 -0
- package/dist/site-editor/styler/styles/layouts/column-2.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/column-3.less.css +29 -0
- package/dist/site-editor/styler/styles/layouts/column-3.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/column.less.css +11 -0
- package/dist/site-editor/styler/styles/layouts/column.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/component.less.css +25 -0
- package/dist/site-editor/styler/styles/layouts/component.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/floating-nav-bar.less.css +92 -0
- package/dist/site-editor/styler/styles/layouts/floating-nav-bar.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/grid.less.css +10 -0
- package/dist/site-editor/styler/styles/layouts/grid.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/grid1x1.less.css +19 -0
- package/dist/site-editor/styler/styles/layouts/grid1x1.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/image-box.less.css +37 -0
- package/dist/site-editor/styler/styles/layouts/image-box.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/image-card.less.css +57 -0
- package/dist/site-editor/styler/styles/layouts/image-card.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/image-gallery.less.css +52 -0
- package/dist/site-editor/styler/styles/layouts/image-gallery.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/inject.less.css +5 -0
- package/dist/site-editor/styler/styles/layouts/inject.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/link.less.css +7 -0
- package/dist/site-editor/styler/styles/layouts/link.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/main.less.css +48 -0
- package/dist/site-editor/styler/styles/layouts/main.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/nav-bar.less.css +83 -0
- package/dist/site-editor/styler/styles/layouts/nav-bar.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/price-box.less.css +63 -0
- package/dist/site-editor/styler/styles/layouts/price-box.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/right-image-box.less.css +37 -0
- package/dist/site-editor/styler/styles/layouts/right-image-box.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/row.less.css +22 -0
- package/dist/site-editor/styler/styles/layouts/row.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/text-box.less.css +11 -0
- package/dist/site-editor/styler/styles/layouts/text-box.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/vertical-image-box.less.css +24 -0
- package/dist/site-editor/styler/styles/layouts/vertical-image-box.less.css.map +1 -0
- package/dist/site-editor/styler/styles/layouts/wrap-list.less.css +10 -0
- package/dist/site-editor/styler/styles/layouts/wrap-list.less.css.map +1 -0
- package/dist/site-editor/styler/styles/lists/color-list.less.css +0 -0
- package/dist/site-editor/styler/styles/lists/color-list.less.css.map +0 -0
- package/dist/site-editor/styler/styles/lists/size-list.less.css +0 -0
- package/dist/site-editor/styler/styles/lists/size-list.less.css.map +0 -0
- package/dist/site-editor/styler/styles/properties/background/background-clip.less.css +4 -0
- package/dist/site-editor/styler/styles/properties/background/background-clip.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/background/background.less.css +809 -0
- package/dist/site-editor/styler/styles/properties/background/background.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/border/border.less.css +694 -0
- package/dist/site-editor/styler/styles/properties/border/border.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/child-size/child-size.less.css +4379 -0
- package/dist/site-editor/styler/styles/properties/child-size/child-size.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/colors/color-sets.less.css +76 -0
- package/dist/site-editor/styler/styles/properties/colors/color-sets.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/effects/cursor.less.css +127 -0
- package/dist/site-editor/styler/styles/properties/effects/cursor.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/effects/effects.less.css +94 -0
- package/dist/site-editor/styler/styles/properties/effects/effects.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/effects/overflow.less.css +91 -0
- package/dist/site-editor/styler/styles/properties/effects/overflow.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/effects/transform.less.css +113 -0
- package/dist/site-editor/styler/styles/properties/effects/transform.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/grid/grid.less.css +211 -0
- package/dist/site-editor/styler/styles/properties/grid/grid.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/image/image.less.css +115 -0
- package/dist/site-editor/styler/styles/properties/image/image.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/layouts/layouts.less.css +40 -0
- package/dist/site-editor/styler/styles/properties/layouts/layouts.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/position/align.less.css +445 -0
- package/dist/site-editor/styler/styles/properties/position/align.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/position/gap.less.css +730 -0
- package/dist/site-editor/styler/styles/properties/position/gap.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/position/position.less.css +1027 -0
- package/dist/site-editor/styler/styles/properties/position/position.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/size/size.less.css +1459 -0
- package/dist/site-editor/styler/styles/properties/size/size.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/space/space.less.css +2431 -0
- package/dist/site-editor/styler/styles/properties/space/space.less.css.map +1 -0
- package/dist/site-editor/styler/styles/properties/text/text.less.css +1279 -0
- package/dist/site-editor/styler/styles/properties/text/text.less.css.map +1 -0
- package/dist/site-editor/styler/styles/ref.less.css +0 -0
- package/dist/site-editor/styler/styles/ref.less.css.map +0 -0
- package/dist/site-editor/styler/vars.less.css +145 -0
- package/dist/site-editor/styler/vars.less.css.map +1 -0
- package/dist/site-editor-app/SiteEditorApp.pack.global.less +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.global.less.css +7 -0
- package/dist/site-editor-app/SiteEditorApp.pack.global.less.css.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +276 -3085
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.local.less +1 -0
- package/dist/site-editor-app/SiteEditorApp.pack.local.less.css +12 -0
- package/dist/site-editor-app/SiteEditorApp.pack.local.less.css.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1216
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/pages/store/products/html/ProductHtmlEditorPage.d.ts.map +1 -1
- package/dist/site-editor-app/pages/store/products/html/ProductHtmlEditorPage.js +4 -8
- package/dist/site-editor-app/pages/store/products/html/ProductHtmlEditorPage.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/src/site-editor/blocks/Banner.tsx +0 -18
- package/src/site-editor/blocks/Billboard.tsx +0 -32
- package/src/site-editor/blocks/Block.tsx +0 -12
- package/src/site-editor/blocks/BodyStyles.tsx +0 -358
- package/src/site-editor/blocks/BoxFrame.tsx +0 -41
- package/src/site-editor/blocks/Buttons.tsx +0 -64
- package/src/site-editor/blocks/Card.tsx +0 -34
- package/src/site-editor/blocks/Carousel.tsx +0 -8
- package/src/site-editor/blocks/ColumnBox.tsx +0 -16
- package/src/site-editor/blocks/Columns2.tsx +0 -28
- package/src/site-editor/blocks/Columns3.tsx +0 -38
- package/src/site-editor/blocks/Components.tsx +0 -31
- package/src/site-editor/blocks/GridBox.tsx +0 -37
- package/src/site-editor/blocks/ImageBox.tsx +0 -49
- package/src/site-editor/blocks/ImageCard.tsx +0 -66
- package/src/site-editor/blocks/ImageGallery.tsx +0 -38
- package/src/site-editor/blocks/ImageGrid.tsx +0 -49
- package/src/site-editor/blocks/InjectBox.tsx +0 -11
- package/src/site-editor/blocks/OutlineText.local.less +12 -0
- package/src/site-editor/blocks/OutlineText.tsx +1 -14
- package/src/site-editor/blocks/PDFFlipBook.tsx +0 -3
- package/src/site-editor/blocks/PDFViewer.tsx +0 -41
- package/src/site-editor/blocks/PriceBox.tsx +0 -79
- package/src/site-editor/blocks/RightImageBox.tsx +0 -50
- package/src/site-editor/blocks/RowBox.tsx +0 -29
- package/src/site-editor/blocks/TextBox.tsx +0 -18
- package/src/site-editor/blocks/TextMask.tsx +0 -8
- package/src/site-editor/blocks/VerticalImageBox.tsx +0 -35
- package/src/site-editor/blocks/VideoPlayer.tsx +0 -41
- package/src/site-editor/blocks/WrapGrid.tsx +0 -14
- package/src/site-editor/{styles/html-page-editor.global.less → editor/HtmlPageEditor.global.less} +9 -0
- package/src/site-editor/editor/HtmlPageEditor.tsx +4 -7
- package/src/site-editor/editor/WebSitePageEditor.tsx +15 -18
- package/src/site-editor/properties/controls/LinkProperty.tsx +2 -4
- package/src/site-editor/properties/controls/PropertyEditor.tsx +26 -35
- package/src/site-editor/properties/controls/SizeEditorControl.tsx +0 -7
- package/src/site-editor/properties/groups/BackgroundGroupEditor.tsx +12 -15
- package/src/site-editor/properties/groups/BorderGroupEditor.tsx +4 -7
- package/src/site-editor/properties/groups/ChildSizeGroupEditor.tsx +41 -26
- package/src/site-editor/properties/groups/EffectGroup.tsx +4 -7
- package/src/site-editor/properties/groups/ImageEditor.tsx +4 -7
- package/src/site-editor/properties/groups/LayoutEditor.tsx +27 -24
- package/src/site-editor/properties/groups/PositionGroupEditor.tsx +6 -9
- package/src/site-editor/properties/groups/ScrollGroupEditor.tsx +3 -7
- package/src/site-editor/properties/groups/SizeGroupEditor.tsx +6 -9
- package/src/site-editor/properties/groups/SpaceGroupEditor.tsx +11 -13
- package/src/site-editor/properties/groups/TextPropertyEditor.tsx +15 -18
- package/src/site-editor/properties/groups/TransformGroupEditor.tsx +6 -9
- package/src/site-editor/styler/body.less +17 -0
- package/src/site-editor/styler/end.less +107 -0
- package/src/site-editor/styler/init.less +9 -0
- package/src/site-editor/styler/styler.less +10 -0
- package/src/site-editor/styler/styles/elements/image-link.less +10 -0
- package/src/site-editor/styler/styles/elements/link-button.less +19 -0
- package/src/site-editor/styler/styles/elements/link-icon-button.less +18 -0
- package/src/site-editor/styler/styles/elements/pdf-viewer.less +37 -0
- package/src/site-editor/styler/styles/elements/video-player.less +35 -0
- package/src/site-editor/styler/styles/layouts/banner.less +13 -0
- package/src/site-editor/styler/styles/layouts/billboard.less +26 -0
- package/src/site-editor/styler/styles/layouts/box-frame.less +37 -0
- package/src/site-editor/styler/styles/layouts/card.less +29 -0
- package/src/site-editor/styler/styles/layouts/check.svg +1 -0
- package/src/site-editor/styler/styles/layouts/column-2.less +22 -0
- package/src/site-editor/styler/styles/layouts/column-3.less +32 -0
- package/src/site-editor/styler/styles/layouts/column.less +10 -0
- package/src/site-editor/styler/styles/layouts/component.less +26 -0
- package/src/site-editor/styler/styles/layouts/floating-nav-bar.less +86 -0
- package/src/site-editor/styler/styles/layouts/grid.less +9 -0
- package/src/site-editor/styler/styles/layouts/grid1x1.less +19 -0
- package/src/site-editor/styler/styles/layouts/image-box.less +44 -0
- package/src/site-editor/styler/styles/layouts/image-card.less +61 -0
- package/src/site-editor/styler/styles/layouts/image-gallery.less +58 -0
- package/src/site-editor/styler/styles/layouts/inject.less +8 -0
- package/src/site-editor/styler/styles/layouts/link.less +6 -0
- package/src/site-editor/styler/styles/layouts/main.less +60 -0
- package/src/site-editor/styler/styles/layouts/nav-bar.less +87 -0
- package/src/site-editor/styler/styles/layouts/price-box.less +69 -0
- package/src/site-editor/styler/styles/layouts/right-image-box.less +44 -0
- package/src/site-editor/styler/styles/layouts/row.less +24 -0
- package/src/site-editor/styler/styles/layouts/svgs/bars.svg +1 -0
- package/src/site-editor/styler/styles/layouts/svgs/cross.svg +1 -0
- package/src/site-editor/styler/styles/layouts/text-box.less +10 -0
- package/src/site-editor/styler/styles/layouts/vertical-image-box.less +28 -0
- package/src/site-editor/styler/styles/layouts/wrap-list.less +9 -0
- package/src/site-editor/styler/styles/lists/color-list.less +63 -0
- package/src/site-editor/styler/styles/lists/size-list.less +108 -0
- package/src/site-editor/styler/styles/properties/background/background-clip.less +5 -0
- package/src/site-editor/styler/styles/properties/background/background.less +83 -0
- package/src/site-editor/styler/styles/properties/border/border.less +23 -0
- package/src/site-editor/styler/styles/properties/child-size/child-size.less +79 -0
- package/src/site-editor/styler/styles/properties/colors/color-sets.less +89 -0
- package/src/site-editor/styler/styles/properties/effects/cursor.less +44 -0
- package/src/site-editor/styler/styles/properties/effects/effects.less +59 -0
- package/src/site-editor/styler/styles/properties/effects/overflow.less +13 -0
- package/src/site-editor/styler/styles/properties/effects/transform.less +119 -0
- package/src/site-editor/styler/styles/properties/grid/grid.less +267 -0
- package/src/site-editor/styler/styles/properties/image/image.less +14 -0
- package/src/site-editor/styler/styles/properties/layouts/layouts.less +8 -0
- package/src/site-editor/styler/styles/properties/position/align.less +40 -0
- package/src/site-editor/styler/styles/properties/position/gap.less +5 -0
- package/src/site-editor/styler/styles/properties/position/position.less +37 -0
- package/src/site-editor/styler/styles/properties/size/size.less +9 -0
- package/src/site-editor/styler/styles/properties/space/space.less +13 -0
- package/src/site-editor/styler/styles/properties/text/text.less +96 -0
- package/src/site-editor/styler/styles/ref.less +35 -0
- package/src/site-editor/styler/vars.less +144 -0
- package/src/site-editor-app/pages/store/products/html/ProductHtmlEditorPage.tsx +2 -6
- package/dist/site-editor/styler/Styler.d.ts +0 -632
- package/dist/site-editor/styler/Styler.d.ts.map +0 -1
- package/dist/site-editor/styler/Styler.js +0 -312
- package/dist/site-editor/styler/Styler.js.map +0 -1
- package/dist/site-editor/styler/StylerSet.d.ts +0 -121
- package/dist/site-editor/styler/StylerSet.d.ts.map +0 -1
- package/dist/site-editor/styler/StylerSet.js +0 -121
- package/dist/site-editor/styler/StylerSet.js.map +0 -1
- package/dist/site-editor/styler/StylerSets.d.ts +0 -6
- package/dist/site-editor/styler/StylerSets.d.ts.map +0 -1
- package/dist/site-editor/styler/StylerSets.js +0 -23
- package/dist/site-editor/styler/StylerSets.js.map +0 -1
- package/dist/site-editor/styler/properties/child-size/stylerChildSize.d.ts +0 -22
- package/dist/site-editor/styler/properties/child-size/stylerChildSize.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/child-size/stylerChildSize.js +0 -38
- package/dist/site-editor/styler/properties/child-size/stylerChildSize.js.map +0 -1
- package/dist/site-editor/styler/properties/color-sets/stylerColorSets.d.ts +0 -3
- package/dist/site-editor/styler/properties/color-sets/stylerColorSets.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/color-sets/stylerColorSets.js +0 -104
- package/dist/site-editor/styler/properties/color-sets/stylerColorSets.js.map +0 -1
- package/dist/site-editor/styler/properties/cursor.d.ts +0 -3
- package/dist/site-editor/styler/properties/cursor.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/cursor.js +0 -20
- package/dist/site-editor/styler/properties/cursor.js.map +0 -1
- package/dist/site-editor/styler/properties/effects.d.ts +0 -8
- package/dist/site-editor/styler/properties/effects.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/effects.js +0 -47
- package/dist/site-editor/styler/properties/effects.js.map +0 -1
- package/dist/site-editor/styler/properties/img/stylerImage.d.ts +0 -8
- package/dist/site-editor/styler/properties/img/stylerImage.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/img/stylerImage.js +0 -20
- package/dist/site-editor/styler/properties/img/stylerImage.js.map +0 -1
- package/dist/site-editor/styler/properties/layouts/display.d.ts +0 -3
- package/dist/site-editor/styler/properties/layouts/display.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/layouts/display.js +0 -15
- package/dist/site-editor/styler/properties/layouts/display.js.map +0 -1
- package/dist/site-editor/styler/properties/layouts/flex/flex.d.ts +0 -3
- package/dist/site-editor/styler/properties/layouts/flex/flex.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/layouts/flex/flex.js +0 -15
- package/dist/site-editor/styler/properties/layouts/flex/flex.js.map +0 -1
- package/dist/site-editor/styler/properties/layouts/items-position/itemsPosition.d.ts +0 -22
- package/dist/site-editor/styler/properties/layouts/items-position/itemsPosition.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/layouts/items-position/itemsPosition.js +0 -117
- package/dist/site-editor/styler/properties/layouts/items-position/itemsPosition.js.map +0 -1
- package/dist/site-editor/styler/properties/layouts/layout.d.ts +0 -3
- package/dist/site-editor/styler/properties/layouts/layout.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/layouts/layout.js +0 -14
- package/dist/site-editor/styler/properties/layouts/layout.js.map +0 -1
- package/dist/site-editor/styler/properties/scroll/stylerOverflow.d.ts +0 -7
- package/dist/site-editor/styler/properties/scroll/stylerOverflow.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/scroll/stylerOverflow.js +0 -19
- package/dist/site-editor/styler/properties/scroll/stylerOverflow.js.map +0 -1
- package/dist/site-editor/styler/properties/stylerBackground.d.ts +0 -18
- package/dist/site-editor/styler/properties/stylerBackground.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/stylerBackground.js +0 -86
- package/dist/site-editor/styler/properties/stylerBackground.js.map +0 -1
- package/dist/site-editor/styler/properties/stylerBorder.d.ts +0 -8
- package/dist/site-editor/styler/properties/stylerBorder.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/stylerBorder.js +0 -31
- package/dist/site-editor/styler/properties/stylerBorder.js.map +0 -1
- package/dist/site-editor/styler/properties/stylerPosition.d.ts +0 -10
- package/dist/site-editor/styler/properties/stylerPosition.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/stylerPosition.js +0 -46
- package/dist/site-editor/styler/properties/stylerPosition.js.map +0 -1
- package/dist/site-editor/styler/properties/stylerSizes.d.ts +0 -10
- package/dist/site-editor/styler/properties/stylerSizes.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/stylerSizes.js +0 -23
- package/dist/site-editor/styler/properties/stylerSizes.js.map +0 -1
- package/dist/site-editor/styler/properties/stylerSpace.d.ts +0 -14
- package/dist/site-editor/styler/properties/stylerSpace.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/stylerSpace.js +0 -27
- package/dist/site-editor/styler/properties/stylerSpace.js.map +0 -1
- package/dist/site-editor/styler/properties/text/stylerText.d.ts +0 -19
- package/dist/site-editor/styler/properties/text/stylerText.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/text/stylerText.js +0 -87
- package/dist/site-editor/styler/properties/text/stylerText.js.map +0 -1
- package/dist/site-editor/styler/properties/transform/stylerTransform.d.ts +0 -10
- package/dist/site-editor/styler/properties/transform/stylerTransform.d.ts.map +0 -1
- package/dist/site-editor/styler/properties/transform/stylerTransform.js +0 -33
- package/dist/site-editor/styler/properties/transform/stylerTransform.js.map +0 -1
- package/dist/site-editor/styles/html-page-editor.global.less.css.map +0 -1
- package/src/site-editor/styler/Styler.ts +0 -484
- package/src/site-editor/styler/StylerSet.ts +0 -109
- package/src/site-editor/styler/StylerSets.ts +0 -13
- package/src/site-editor/styler/properties/child-size/stylerChildSize.ts +0 -46
- package/src/site-editor/styler/properties/color-sets/stylerColorSets.ts +0 -94
- package/src/site-editor/styler/properties/cursor.ts +0 -49
- package/src/site-editor/styler/properties/effects.ts +0 -46
- package/src/site-editor/styler/properties/img/stylerImage.ts +0 -14
- package/src/site-editor/styler/properties/layouts/display.ts +0 -12
- package/src/site-editor/styler/properties/layouts/flex/flex.ts +0 -12
- package/src/site-editor/styler/properties/layouts/items-position/itemsPosition.ts +0 -153
- package/src/site-editor/styler/properties/layouts/layout.ts +0 -4
- package/src/site-editor/styler/properties/scroll/stylerOverflow.ts +0 -23
- package/src/site-editor/styler/properties/stylerBackground.ts +0 -110
- package/src/site-editor/styler/properties/stylerBorder.ts +0 -18
- package/src/site-editor/styler/properties/stylerPosition.ts +0 -23
- package/src/site-editor/styler/properties/stylerSizes.ts +0 -10
- package/src/site-editor/styler/properties/stylerSpace.ts +0 -15
- package/src/site-editor/styler/properties/text/stylerText.ts +0 -135
- package/src/site-editor/styler/properties/transform/stylerTransform.ts +0 -51
package/build.jsx
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
|
|
8
8
|
}
|
|
9
9
|
</style>
|
|
10
|
-
<link rel="stylesheet" styler-css="styler.css" href="
|
|
10
|
+
<link rel="stylesheet" styler-css="styler.css" href="//cdn.jsdelivr.net/npm/@social-mail/social-mail-client@latest/dist/site-editor/styler/styler.less.css">
|
|
11
11
|
<link rel="stylesheet" styler-css="vars.css" href="./styles/vars.css">
|
|
12
12
|
<script web-components="social" async="true" defer="true" src="//cdn.jsdelivr.net/npm/@social-mail/web-components@latest/dist/main.js"></script>
|
|
13
13
|
<script src="https://cdn.jsdelivr.net/npm/@social-mail/social-mail-client@latest/component.js" styler-component-script="component-script"></script>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/Banner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/Banner.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,WAKjB,CAAC"}
|
|
@@ -1,31 +1,14 @@
|
|
|
1
|
-
System.register(["@web-atoms/core/dist/core/XNode", "./Block"
|
|
1
|
+
System.register(["@web-atoms/core/dist/core/XNode", "./Block"], function (_export, _context) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var XNode, Block,
|
|
4
|
+
var XNode, Block, Banner;
|
|
5
5
|
return {
|
|
6
6
|
setters: [function (_webAtomsCoreDistCoreXNode) {
|
|
7
7
|
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
8
8
|
}, function (_Block) {
|
|
9
9
|
Block = _Block.Block;
|
|
10
|
-
}, function (_stylerStylerSets) {
|
|
11
|
-
StylerSets = _stylerStylerSets.StylerSets;
|
|
12
|
-
}, function (_webAtomsCoreDistStyleStyled) {
|
|
13
|
-
styled = _webAtomsCoreDistStyleStyled.default;
|
|
14
10
|
}],
|
|
15
11
|
execute: function () {
|
|
16
|
-
StylerSets.register("low", styled.css`
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
width: 100vw;
|
|
20
|
-
align-self: center;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
z-index: 20;
|
|
24
|
-
|
|
25
|
-
& > * {
|
|
26
|
-
width: var(--children-width, 100%);
|
|
27
|
-
}
|
|
28
|
-
`.expand("[styler-layout=banner]"));
|
|
29
12
|
_export("Banner", Banner = Block({
|
|
30
13
|
className: "fad fa-rectangle",
|
|
31
14
|
title: "Add Banner",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["XNode","_webAtomsCoreDistCoreXNode","default","_Block","Block","
|
|
1
|
+
{"version":3,"names":["XNode","_webAtomsCoreDistCoreXNode","default","_Block","Block","execute","_export","Banner","className","title","factory","create"],"sources":["../../../src/site-editor/blocks/Banner.tsx"],"sourcesContent":[null],"mappings":";;;;;;MAAOA,KAAK,GAAAC,0BAAA,CAAAC,OAAA;IAAA,aAAAC,MAAA;MACHC,KAAK,GAAAD,MAAA,CAALC,KAAK;IAAA;IAAAC,OAAA,WAAAA,CAAA;MAAAC,OAAA,WAEDC,MAAM,GAAGH,KAAK,CAAC;QACxBI,SAAS,EAAE,kBAAkB;QAC7BC,KAAK,EAAE,YAAY;QACnBC,OAAO,EAAEA,CAAA,KAAMV,KAAA,CAAAW,MAAA;UAAA,iBAAuB;QAAQ;OAEjD,CAAC;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Billboard.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/Billboard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Billboard.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/Billboard.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,WAOpB,CAAC"}
|
|
@@ -1,47 +1,14 @@
|
|
|
1
|
-
System.register(["@web-atoms/core/dist/core/XNode", "./Block"
|
|
1
|
+
System.register(["@web-atoms/core/dist/core/XNode", "./Block"], function (_export, _context) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var XNode, Block,
|
|
4
|
+
var XNode, Block, Billboard;
|
|
5
5
|
return {
|
|
6
6
|
setters: [function (_webAtomsCoreDistCoreXNode) {
|
|
7
7
|
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
8
8
|
}, function (_Block) {
|
|
9
9
|
Block = _Block.Block;
|
|
10
|
-
}, function (_stylerStylerSets) {
|
|
11
|
-
StylerSets = _stylerStylerSets.StylerSets;
|
|
12
|
-
}, function (_webAtomsCoreDistStyleStyled) {
|
|
13
|
-
styled = _webAtomsCoreDistStyleStyled.default;
|
|
14
|
-
}, function (_stylerStyler) {
|
|
15
|
-
stylerVars = _stylerStyler.stylerVars;
|
|
16
10
|
}],
|
|
17
11
|
execute: function () {
|
|
18
|
-
StylerSets.register("low", styled.css`
|
|
19
|
-
display: grid;
|
|
20
|
-
grid-template-columns: 1fr auto 1fr;
|
|
21
|
-
grid-template-rows: 1fr auto 1fr;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-items: center;
|
|
25
|
-
margin: ${stylerVars.sizeDefault};
|
|
26
|
-
& > h1 {
|
|
27
|
-
grid-row: 1 / span 3;
|
|
28
|
-
grid-column: 1 / span 3;
|
|
29
|
-
margin-block-start: 0;
|
|
30
|
-
margin-block-end: 0;
|
|
31
|
-
font-size: 5rem;
|
|
32
|
-
-webkit-text-stroke-color: currentColor;
|
|
33
|
-
-webkit-text-stroke-width: 1px;
|
|
34
|
-
-webkit-text-fill-color: transparent;
|
|
35
|
-
}
|
|
36
|
-
& > h4 {
|
|
37
|
-
grid-row: 2;
|
|
38
|
-
grid-column: 2;
|
|
39
|
-
margin-block-start: 0;
|
|
40
|
-
margin-block-end: 0;
|
|
41
|
-
font-size: 2rem;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
`.expand("[styler-layout=billboard]"));
|
|
45
12
|
_export("Billboard", Billboard = Block({
|
|
46
13
|
className: "fad fa-text-size",
|
|
47
14
|
title: "Add Billboard",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["XNode","_webAtomsCoreDistCoreXNode","default","_Block","Block","
|
|
1
|
+
{"version":3,"names":["XNode","_webAtomsCoreDistCoreXNode","default","_Block","Block","execute","_export","Billboard","className","title","factory","create"],"sources":["../../../src/site-editor/blocks/Billboard.tsx"],"sourcesContent":[null],"mappings":";;;;;;MAAOA,KAAK,GAAAC,0BAAA,CAAAC,OAAA;IAAA,aAAAC,MAAA;MACHC,KAAK,GAAAD,MAAA,CAALC,KAAK;IAAA;IAAAC,OAAA,WAAAA,CAAA;MAAAC,OAAA,cAEDC,SAAS,GAAGH,KAAK,CAAC;QAC3BI,SAAS,EAAE,kBAAkB;QAC7BC,KAAK,EAAE,eAAe;QACtBC,OAAO,EAAEA,CAAA,KAAMV,KAAA,CAAAW,MAAA;UAAA,iBAAuB;QAAW,GAC7CX,KAAA,CAAAW,MAAA;UAAA,gBAAiB;QAAc,eAAe,EAC9CX,KAAA,CAAAW,MAAA,yBAAkB;OAEzB,CAAC;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/Block.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/Block.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,iCAAiC,CAAC;AAIpD,wBAAgB,KAAK,CAAC,EAClB,SAAS,EACT,KAAK,EACL,IAAI,EACJ,MAAM,EACN,GAAG,EACH,OAAO,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAC,MAAM,KAAK,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,aAyCvH"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/controls/AtomControl"
|
|
1
|
+
System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/controls/AtomControl"], function (_export, _context) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var XNode, AtomControl
|
|
4
|
+
var XNode, AtomControl;
|
|
5
5
|
function Block({
|
|
6
6
|
className,
|
|
7
7
|
title,
|
|
@@ -52,18 +52,8 @@ System.register(["@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/co
|
|
|
52
52
|
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
53
53
|
}, function (_webAtomsCoreDistWebControlsAtomControl) {
|
|
54
54
|
AtomControl = _webAtomsCoreDistWebControlsAtomControl.AtomControl;
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
}, function (_BodyStyles) {}],
|
|
58
|
-
execute: function () {
|
|
59
|
-
styled.css`
|
|
60
|
-
padding: 5px;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
&:hover {
|
|
63
|
-
background-color: #00800080;
|
|
64
|
-
}
|
|
65
|
-
`.installGlobal("[data-html-editor-element=block]");
|
|
66
|
-
}
|
|
55
|
+
}],
|
|
56
|
+
execute: function () {}
|
|
67
57
|
};
|
|
68
58
|
});
|
|
69
59
|
//# sourceMappingURL=Block.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Block","className","title","text","rotate","src","factory","onClick","e","editor","AtomControl","from","target","element","buildXNode","insertElement","onDragStart","ne","dataTransfer","setDragImage","setData","outerHTML","XNode","create","class","draggable","_export","setters","_webAtomsCoreDistCoreXNode","default","_webAtomsCoreDistWebControlsAtomControl","
|
|
1
|
+
{"version":3,"names":["Block","className","title","text","rotate","src","factory","onClick","e","editor","AtomControl","from","target","element","buildXNode","insertElement","onDragStart","ne","dataTransfer","setDragImage","setData","outerHTML","XNode","create","class","draggable","_export","setters","_webAtomsCoreDistCoreXNode","default","_webAtomsCoreDistWebControlsAtomControl","execute"],"sources":["../../../src/site-editor/blocks/Block.tsx"],"sourcesContent":[null],"mappings":";;;;EAIM,SAAUA,KAAKA,CAAC;IAClBC,SAAS;IACTC,KAAK;IACLC,IAAI;IACJC,MAAM;IACNC,GAAG;IACHC;EAAO,CAA6G;IAEpH,OAAO,MAAK;MAER,MAAMC,OAAO,GAAIC,CAAa,IAAI;QAC9B,MAAMC,MAAM,GAAIC,WAAW,CAACC,IAAI,CAACH,CAAC,CAACI,MAAM,CAAoB;QAC7D,MAAMC,OAAO,GAAGJ,MAAM,CAACK,UAAU,CAACR,OAAO,EAAE,CAAC;QAC5CG,MAAM,CAACM,aAAa,CAACF,OAAO,EAAE,KAAK,CAAC,EAAE,IAAI,CAAC;MAC/C,CAAC;MAED,MAAMG,WAAW,GAAIR,CAAY,IAAI;QACjC,MAAMC,MAAM,GAAIC,WAAW,CAACC,IAAI,CAACH,CAAC,CAACI,MAAM,CAAoB;QAC7D,MAAMK,EAAE,GAAGR,MAAM,CAACK,UAAU,CAACR,OAAO,EAAE,CAAC;QACvCE,CAAC,CAACU,YAAY,CAACC,YAAY,CAACF,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;QACrCT,CAAC,CAACU,YAAY,CAACE,OAAO,CAAC,WAAW,EAAEH,EAAE,CAACI,SAAS,CAAC;MACrD,CAAC;MAED,IAAIhB,GAAG,EAAE;QACL,OAAOiB,KAAA,CAAAC,MAAA;UAAA,4BACkB,OAAO;UAChCC,KAAK,EAAEvB,SAAS;UAChBC,KAAK,EAAEA,KAAK;UACZG,GAAG,EAAEA,GAAG;UACRoB,SAAS,EAAE,IAAI;UACftB,IAAI,EAAEA,IAAI;UAAA,eACGI,OAAO;UAAA,mBACHS;QAAW,EAC9B;;MAGF,OAAOM,KAAA,CAAAC,MAAA;QAAA,4BACsB,OAAO;QAChCC,KAAK,EAAEvB,SAAS;QAChBC,KAAK,EAAEA,KAAK;QACZuB,SAAS,EAAE,IAAI;QACftB,IAAI,EAAEA,IAAI;QAAA,gBACIC,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC;QAAA,eAC1BG,OAAO;QAAA,mBACHS;MAAW,EAC9B;IACN,CAAC;EACL;EAACU,OAAA,UA/Ce1B,KAAK;EAAA;IAAA2B,OAAA,aAAAC,0BAAA;MAJdN,KAAK,GAAAM,0BAAA,CAAAC,OAAA;IAAA,aAAAC,uCAAA;MACHpB,WAAW,GAAAoB,uCAAA,CAAXpB,WAAW;IAAA;IAAAqB,OAAA,WAAAA,CAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -1,358 +1,9 @@
|
|
|
1
|
-
System.register([
|
|
1
|
+
System.register([], function (_export, _context) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var styled, StylerSets, stylerVars, svg, svgCross;
|
|
5
4
|
return {
|
|
6
|
-
setters: [
|
|
7
|
-
|
|
8
|
-
}, function (_stylerStylerSets) {
|
|
9
|
-
StylerSets = _stylerStylerSets.StylerSets;
|
|
10
|
-
}, function (_stylerStyler) {
|
|
11
|
-
stylerVars = _stylerStyler.stylerVars;
|
|
12
|
-
}],
|
|
13
|
-
execute: function () {
|
|
14
|
-
StylerSets.register("low", styled.css`
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
align-items: stretch;
|
|
18
|
-
justify-items: start;
|
|
19
|
-
padding: ${stylerVars.sizeDefault};
|
|
20
|
-
margin: ${stylerVars.sizeDefault};
|
|
21
|
-
line-height: 30px;
|
|
22
|
-
|
|
23
|
-
gap: ${stylerVars.sizeLarge};
|
|
24
|
-
|
|
25
|
-
--children-width: 100%;
|
|
26
|
-
--children-padding: ${stylerVars.sizeLarge};
|
|
27
|
-
|
|
28
|
-
@media (max-width: 899px) {
|
|
29
|
-
& {
|
|
30
|
-
margin: 0;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@media (min-width: 900px) {
|
|
35
|
-
& {
|
|
36
|
-
width: 900px;
|
|
37
|
-
--children-width: 900px;
|
|
38
|
-
margin-left: auto;
|
|
39
|
-
margin-right: auto;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@media (min-width: 1200px) {
|
|
44
|
-
& {
|
|
45
|
-
width: 1200px;
|
|
46
|
-
--children-width: 1200px;
|
|
47
|
-
margin-left: auto;
|
|
48
|
-
margin-right: auto;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&[styler-full-screen] {
|
|
53
|
-
width: 100%;
|
|
54
|
-
max-width: 100%;
|
|
55
|
-
padding: 0;
|
|
56
|
-
margin: 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
& > [styler-background-mode=extend] {
|
|
60
|
-
align-self: center;
|
|
61
|
-
width: 100vw;
|
|
62
|
-
border-radius: 0;
|
|
63
|
-
&:not([styler-padding]) {
|
|
64
|
-
padding: 10px calc(50vw - var(--children-width) / 2 + 20px);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
`.expand("[styler-layout=main]"));
|
|
69
|
-
StylerSets.register("high", styled.css`
|
|
70
|
-
|
|
71
|
-
& menu-bar {
|
|
72
|
-
& menu-item {
|
|
73
|
-
& nav {
|
|
74
|
-
display: none;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
& [styler-layout] {
|
|
80
|
-
|
|
81
|
-
&:empty:before {
|
|
82
|
-
background-color: #ddd;
|
|
83
|
-
color: #000;
|
|
84
|
-
font-size: 16px;
|
|
85
|
-
font-weight: bold;
|
|
86
|
-
font-family: 'Courier New', Courier, monospace;
|
|
87
|
-
display: flex;
|
|
88
|
-
justify-items: center;
|
|
89
|
-
align-items: center;
|
|
90
|
-
min-height: 30px;
|
|
91
|
-
height: 100%;
|
|
92
|
-
opacity: 0.3;
|
|
93
|
-
border-radius: 3px;
|
|
94
|
-
white-space: nowrap;
|
|
95
|
-
overflow: hidden;
|
|
96
|
-
text-overflow: ellipsis;
|
|
97
|
-
content: "Container";
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
& > :not(img,::-webkit-validation-bubble,inline-svg[status]):not([is-web-component]):empty:before {
|
|
101
|
-
background-color: #ddd;
|
|
102
|
-
color: #000;
|
|
103
|
-
font-size: 16px;
|
|
104
|
-
font-weight: bold;
|
|
105
|
-
font-family: 'Courier New', Courier, monospace;
|
|
106
|
-
display: flex;
|
|
107
|
-
justify-items: center;
|
|
108
|
-
align-items: center;
|
|
109
|
-
min-height: 30px;
|
|
110
|
-
height: 100%;
|
|
111
|
-
opacity: 0.3;
|
|
112
|
-
border-radius: 3px;
|
|
113
|
-
white-space: nowrap;
|
|
114
|
-
overflow: hidden;
|
|
115
|
-
text-overflow: ellipsis;
|
|
116
|
-
content: "Container";
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
& > h1, & > h2, & > h3, & > h4, & > h5, & > h6 {
|
|
120
|
-
&:empty:before {
|
|
121
|
-
content: "Title";
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
& marquee-text:empty:before {
|
|
126
|
-
content: "Marquee Text";
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
& inject {
|
|
130
|
-
display: flex;
|
|
131
|
-
flex-direction: column;
|
|
132
|
-
width: 100vw;
|
|
133
|
-
padding: 0;
|
|
134
|
-
margin: 0;
|
|
135
|
-
align-self: center;
|
|
136
|
-
align-items: center;
|
|
137
|
-
justify-content: center;
|
|
138
|
-
|
|
139
|
-
& > :not([styler-layout=banner]) {
|
|
140
|
-
width: var(--children-width, 100%);
|
|
141
|
-
}
|
|
142
|
-
& * {
|
|
143
|
-
user-select: none;
|
|
144
|
-
pointer-events: none;
|
|
145
|
-
}
|
|
146
|
-
&:empty:before {
|
|
147
|
-
content: "Inject Not Set";
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
& > [styler-background-mode=extend] {
|
|
151
|
-
align-self: center;
|
|
152
|
-
width: 100vw;
|
|
153
|
-
padding: 10px calc(50vw - var(--children-width) / 2 + 20px);
|
|
154
|
-
border-radius: 0;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
& video-player {
|
|
160
|
-
&:empty:before {
|
|
161
|
-
content: "Video Player";
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
& pdf-flip-book {
|
|
167
|
-
& * {
|
|
168
|
-
user-select: none;
|
|
169
|
-
pointer-events: none;
|
|
170
|
-
}
|
|
171
|
-
&:empty:before {
|
|
172
|
-
content: "PDF Flip Book";
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
`.expand("body[editing]"));
|
|
179
|
-
svg = `<svg xmlns="http://www.w3.org/2000/svg" height="16" width="14" viewBox="0 0 448 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg>`;
|
|
180
|
-
svgCross = `<svg xmlns="http://www.w3.org/2000/svg" height="16" width="12" viewBox="0 0 384 512"><!--!Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--><path class="fa-secondary" opacity=".4" d="M297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6z"/><path class="fa-primary" d=""/></svg>`;
|
|
181
|
-
StylerSets.register("low", styled.css`
|
|
182
|
-
display: flex;
|
|
183
|
-
padding: ${stylerVars.sizeSmall};
|
|
184
|
-
padding-left: ${stylerVars.sizeLarge};
|
|
185
|
-
padding-right: ${stylerVars.sizeLarge};
|
|
186
|
-
margin: ${stylerVars.sizeDefault};
|
|
187
|
-
position: sticky;
|
|
188
|
-
top: ${stylerVars.sizeDefault};
|
|
189
|
-
border-radius: ${stylerVars.sizeLarge};
|
|
190
|
-
border: solid 1px ${stylerVars.borderColor};
|
|
191
|
-
background: ${stylerVars.navBarBackground};
|
|
192
|
-
backdrop-filter: ${stylerVars.navBarBackDropFilter};
|
|
193
|
-
align-items: center;
|
|
194
|
-
justify-content: space-between;
|
|
195
|
-
z-index: 20;
|
|
196
|
-
& > h1, & > h2, & > h3, & > h5, & > h6 {
|
|
197
|
-
margin-block-start: 0;
|
|
198
|
-
margin-block-end: 0;
|
|
199
|
-
& a {
|
|
200
|
-
text-decoration: none;
|
|
201
|
-
color: ${stylerVars.defaultTextColor};
|
|
202
|
-
&:hover {
|
|
203
|
-
color: ${stylerVars.accentColor};
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
& > [styler-element=navbar] {
|
|
208
|
-
display: flex;
|
|
209
|
-
gap: 5px;
|
|
210
|
-
position: relative;
|
|
211
|
-
& > input[type=checkbox][styler-element=drawer] {
|
|
212
|
-
color: transparent;
|
|
213
|
-
display: none;
|
|
214
|
-
}
|
|
215
|
-
& > nav {
|
|
216
|
-
display: flex;
|
|
217
|
-
gap: ${stylerVars.sizeDefault};
|
|
218
|
-
flex-wrap: wrap;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
@media (max-width: 500px) {
|
|
223
|
-
& > [styler-element=navbar] {
|
|
224
|
-
|
|
225
|
-
& > nav {
|
|
226
|
-
display: none;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
& > input[type=checkbox][styler-element=drawer] {
|
|
230
|
-
display: inline-block;
|
|
231
|
-
background-color: white;
|
|
232
|
-
background-image: url('data:image/svg+xml,${svg}');
|
|
233
|
-
background-position: 2px 2px;
|
|
234
|
-
border-radius: 2px;
|
|
235
|
-
background-repeat: no-repeat;
|
|
236
|
-
border-width: 1px;
|
|
237
|
-
border-style: solid;
|
|
238
|
-
border-color: transparent;
|
|
239
|
-
width: 21px;
|
|
240
|
-
height: 22px;
|
|
241
|
-
appearance: none;
|
|
242
|
-
outline: none;
|
|
243
|
-
&:checked {
|
|
244
|
-
background-image: url('data:image/svg+xml,${svgCross}');
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
&:checked ~ nav {
|
|
248
|
-
display: flex;
|
|
249
|
-
gap: var(--size-default);
|
|
250
|
-
flex-direction: column;
|
|
251
|
-
position: absolute;
|
|
252
|
-
right: 10px;
|
|
253
|
-
top: 40px;
|
|
254
|
-
background: ${stylerVars.primarySurface};
|
|
255
|
-
color: ${stylerVars.primaryAccentText};
|
|
256
|
-
padding: var(--size-default);
|
|
257
|
-
border-radius: var(--size-default);
|
|
258
|
-
box-shadow: 0 0 8px 2px gray;
|
|
259
|
-
min-width: 200px;
|
|
260
|
-
min-height: 300px;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
`.expand("[styler-layout=floating-nav-bar]"));
|
|
267
|
-
StylerSets.register("low", styled.css`
|
|
268
|
-
display: flex;
|
|
269
|
-
padding: ${stylerVars.sizeSmall};
|
|
270
|
-
padding-left: ${stylerVars.sizeLarge};
|
|
271
|
-
padding-right: ${stylerVars.sizeLarge};
|
|
272
|
-
border-radius: ${stylerVars.sizeDefault};
|
|
273
|
-
margin: ${stylerVars.sizeDefault};
|
|
274
|
-
border-radius: ${stylerVars.sizeLarge};
|
|
275
|
-
align-items: center;
|
|
276
|
-
justify-content: space-between;
|
|
277
|
-
& > h1, & > h2, & > h3, & > h5, & > h6 {
|
|
278
|
-
margin-block-start: 0;
|
|
279
|
-
margin-block-end: 0;
|
|
280
|
-
& a {
|
|
281
|
-
text-decoration: none;
|
|
282
|
-
color: ${stylerVars.defaultTextColor};
|
|
283
|
-
&:hover {
|
|
284
|
-
color: ${stylerVars.accentColor};
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
`.expand("[styler-layout=nav-bar]"));
|
|
289
|
-
StylerSets.register("low", styled.css`
|
|
290
|
-
|
|
291
|
-
& nav {
|
|
292
|
-
|
|
293
|
-
input:not(:checked)+nav menu {
|
|
294
|
-
position: relative;
|
|
295
|
-
padding-inline-start: 0;
|
|
296
|
-
margin: 0;
|
|
297
|
-
&:not(:hover) > ul:not(:hover) {
|
|
298
|
-
display: none;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
& > ul {
|
|
302
|
-
position: absolute;
|
|
303
|
-
left: 5px;
|
|
304
|
-
top: 1ch;
|
|
305
|
-
background-color: canvas;
|
|
306
|
-
margin: 10px;
|
|
307
|
-
border-radius: 5px;
|
|
308
|
-
border: solid 1px lightgray;
|
|
309
|
-
padding-inline-start: 0;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
& li {
|
|
313
|
-
list-style-type: none;
|
|
314
|
-
|
|
315
|
-
padding: 10px;
|
|
316
|
-
margin: 5px;
|
|
317
|
-
|
|
318
|
-
&:hover {
|
|
319
|
-
background-color: var(--hover-color);
|
|
320
|
-
color: var(--hover-text-color);
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
input:checked+nav > menu {
|
|
326
|
-
position: relative;
|
|
327
|
-
padding-inline-start: 0;
|
|
328
|
-
margin: 0;
|
|
329
|
-
|
|
330
|
-
& > ul {
|
|
331
|
-
background-color: canvas;
|
|
332
|
-
margin: 10px;
|
|
333
|
-
border-radius: 5px;
|
|
334
|
-
border: solid 1px lightgray;
|
|
335
|
-
padding-inline-start: 0;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
& li {
|
|
339
|
-
list-style-type: none;
|
|
340
|
-
|
|
341
|
-
padding: 10px;
|
|
342
|
-
margin: 5px;
|
|
343
|
-
|
|
344
|
-
&:hover {
|
|
345
|
-
background-color: var(--hover-color);
|
|
346
|
-
color: var(--hover-text-color);
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
`.expand("[styler-element=navbar]"));
|
|
355
|
-
}
|
|
5
|
+
setters: [],
|
|
6
|
+
execute: function () {}
|
|
356
7
|
};
|
|
357
8
|
});
|
|
358
9
|
//# sourceMappingURL=BodyStyles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/site-editor/blocks/BodyStyles.tsx"],"sourcesContent":[null],"mappings":"","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BoxFrame.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/BoxFrame.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BoxFrame.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/BoxFrame.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,QAAQ,WAOnB,CAAC"}
|
|
@@ -1,55 +1,14 @@
|
|
|
1
|
-
System.register(["@web-atoms/core/dist/core/XNode", "
|
|
1
|
+
System.register(["@web-atoms/core/dist/core/XNode", "./Block"], function (_export, _context) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var XNode,
|
|
4
|
+
var XNode, Block, BoxFrame;
|
|
5
5
|
return {
|
|
6
6
|
setters: [function (_webAtomsCoreDistCoreXNode) {
|
|
7
7
|
XNode = _webAtomsCoreDistCoreXNode.default;
|
|
8
|
-
}, function (_webAtomsCoreDistStyleStyled) {
|
|
9
|
-
styled = _webAtomsCoreDistStyleStyled.default;
|
|
10
|
-
}, function (_stylerStylerSets) {
|
|
11
|
-
StylerSets = _stylerStylerSets.StylerSets;
|
|
12
8
|
}, function (_Block) {
|
|
13
9
|
Block = _Block.Block;
|
|
14
10
|
}],
|
|
15
11
|
execute: function () {
|
|
16
|
-
StylerSets.register("low", styled.css`
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
resize: none;
|
|
19
|
-
width: 500px;
|
|
20
|
-
min-height: 500px;
|
|
21
|
-
position: relative;
|
|
22
|
-
max-width: 80vw;
|
|
23
|
-
& > * {
|
|
24
|
-
border: none;
|
|
25
|
-
position: absolute;
|
|
26
|
-
left: 0;
|
|
27
|
-
top: 0;
|
|
28
|
-
width: 100%;
|
|
29
|
-
height: 100%;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
`.expand("[styler-layout=box-frame]"));
|
|
33
|
-
StylerSets.register("low", styled.css`
|
|
34
|
-
&:before {
|
|
35
|
-
background-color: #ddd;
|
|
36
|
-
color: #000;
|
|
37
|
-
font-size: 16px;
|
|
38
|
-
font-weight: bold;
|
|
39
|
-
font-family: 'Courier New', Courier, monospace;
|
|
40
|
-
height: 100%;
|
|
41
|
-
display: flex;
|
|
42
|
-
justify-items: center;
|
|
43
|
-
align-items: center;
|
|
44
|
-
min-height: 30px;
|
|
45
|
-
opacity: 0.3;
|
|
46
|
-
border-radius: 3px;
|
|
47
|
-
white-space: nowrap;
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
text-overflow: ellipsis;
|
|
50
|
-
content: "IFRAME CONTENT";
|
|
51
|
-
}
|
|
52
|
-
`.expand("body[editing] [styler-layout=box-frame]"));
|
|
53
12
|
_export("BoxFrame", BoxFrame = Block({
|
|
54
13
|
title: "Add Box with IFrame",
|
|
55
14
|
factory: () => XNode.create("section", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["XNode","_webAtomsCoreDistCoreXNode","default","
|
|
1
|
+
{"version":3,"names":["XNode","_webAtomsCoreDistCoreXNode","default","_Block","Block","execute","_export","BoxFrame","title","factory","create","src"],"sources":["../../../src/site-editor/blocks/BoxFrame.tsx"],"sourcesContent":[null],"mappings":";;;;;;MAAOA,KAAK,GAAAC,0BAAA,CAAAC,OAAA;IAAA,aAAAC,MAAA;MACHC,KAAK,GAAAD,MAAA,CAALC,KAAK;IAAA;IAAAC,OAAA,WAAAA,CAAA;MAAAC,OAAA,aAIDC,QAAQ,GAAGH,KAAK,CAAC;QAE1BI,KAAK,EAAE,qBAAqB;QAE5BC,OAAO,EAAEA,CAAA,KAAMT,KAAA,CAAAU,MAAA;UAAA,iBAAuB;QAAW,GAC7CV,KAAA,CAAAU,MAAA;UAAQC,GAAG,EAAC;QAAY,EAAE;OAEjC,CAAC;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Buttons.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/Buttons.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Buttons.d.ts","sourceRoot":"","sources":["../../../src/site-editor/blocks/Buttons.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,WAIpB,CAAC;AAEH,eAAO,MAAM,UAAU,WAIrB,CAAC;AAEH,eAAO,MAAM,cAAc,WAIzB,CAAC"}
|