@secretstache/wordpress-gutenberg 0.5.15 → 0.6.0
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/editor-canvas.css +1 -0
- package/build/editor-ui.css +1 -0
- package/build/index.js +7955 -3
- package/build/index.js.map +1 -1
- package/package.json +13 -13
- package/src/components/{DataQueryControls.js → DataQueryControls.jsx} +1 -1
- package/src/components/{IconPicker.js → IconPicker.jsx} +2 -1
- package/src/components/{MediaControl.js → MediaControl.jsx} +1 -1
- package/src/components/{MediaTypeControl.js → MediaTypeControl.jsx} +1 -1
- package/src/components/{MediaWithFocalPointControl.js → MediaWithFocalPointControl.jsx} +1 -1
- package/src/components/{ResponsiveSpacingControl.js → ResponsiveSpacingControl.jsx} +1 -1
- package/src/components/{SpacingControl.js → SpacingControl.jsx} +6 -5
- package/src/components/index.js +16 -16
- package/src/hooks/index.js +4 -5
- package/src/hooks/{usePreviewControl.js → usePreviewControl.jsx} +1 -1
- package/src/hooks/{useTabs.js → useTabs.jsx} +2 -2
- package/src/icons/index.jsx +38 -0
- package/src/index.js +3 -5
- package/src/styles/editor-canvas.scss +59 -0
- package/src/styles/editor-ui.scss +28 -0
- package/src/styles/styles.scss +1 -1
- package/src/utils/index.js +1 -1
- package/build/styles.css +0 -306
- package/src/hooks/useColorChange.js +0 -22
- /package/src/components/{ColorPaletteControl.js → ColorPaletteControl.jsx} +0 -0
- /package/src/components/{DividersControl.js → DividersControl.jsx} +0 -0
- /package/src/components/{EmptyBlockAppender.js → EmptyBlockAppender.jsx} +0 -0
- /package/src/components/{ImageActions.js → ImageActions.jsx} +0 -0
- /package/src/components/{InsertBlockToolbar.js → InsertBlockToolbar.jsx} +0 -0
- /package/src/components/{LinkControl.js → LinkControl.jsx} +0 -0
- /package/src/components/{PreviewControl.js → PreviewControl.jsx} +0 -0
- /package/src/components/{ResourcesWrapper.js → ResourcesWrapper.jsx} +0 -0
- /package/src/components/{SortableSelect.js → SortableSelect.jsx} +0 -0
- /package/src/utils/{filters.js → filters.jsx} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
.editor-styles-wrapper::after{display:none}.editor-styles-wrapper .editor-visual-editor__post-title-wrapper{margin-top:10px !important;margin-bottom:10px !important}.editor-styles-wrapper .editor-visual-editor__post-title-wrapper h1.editor-post-title{margin:0;border-bottom:1px dashed #ddd;padding-bottom:10px;font-weight:normal;font-size:30px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;text-align:center}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container{margin-bottom:0;padding-bottom:0}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .root-block-appender{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);width:calc(100% - var(--content-padding)*2)}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .root-block-appender::after{content:attr(data-tooltip);position:absolute;left:50%;bottom:-30px;transform:translateX(-50%);z-index:1;visibility:hidden;opacity:0;transition:opacity .3s;width:max-content;max-width:200px;white-space:nowrap;background:#000;border-radius:2px;color:#f0f0f0;font-size:12px;line-height:1.4;padding:4px 8px;text-align:center;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .root-block-appender:hover::after{visibility:visible;opacity:1}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .root-block-appender~.block-list-appender.wp-block{display:none}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender{--button-color: #192f5f;--button-color-hover: var(--wp-admin-theme-color);--button-border: #192f5f;--button-border-hover: var(--wp-admin-theme-color);--button-background: transparent;--button-background-hover: transparent;--text-color: #192f5f;--tr: .3s;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender--light{--button-color: #fff;--button-color-hover: #192f5f;--button-border: #fff;--button-border-hover: #fff;--button-background: transparent;--button-background-hover: #fff;--text-color: #fff}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__content{display:flex;flex-direction:column;align-items:center;text-align:center}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__icon{width:48px;height:48px;color:var(--text-color);margin-bottom:16px}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__title{font-size:32px;font-weight:600;line-height:110%;color:var(--text-color);margin-bottom:.5rem}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__text{font-size:1rem;font-weight:400;color:var(--text-color);margin-bottom:1.5rem}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender{display:inline-flex;justify-content:center;align-items:center;transition:color var(--tr),border-color var(--tr);cursor:pointer;border:2px solid var(--button-border) !important;box-shadow:none;border-radius:10px;background:var(--button-background) !important;padding:12px 24px;min-height:50px;min-width:200px;color:var(--button-color);font-weight:600;font-size:22px}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender:hover,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender:focus{color:var(--button-color-hover) !important;border-color:var(--button-border-hover) !important;outline:none !important;box-shadow:none !important;background:var(--button-background-hover) !important}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender::before,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender::after{display:none !important}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .empty-block-appender__button .block-editor-button-block-appender .block-editor-button-block-appender__content{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-add-new-child-btn{display:flex;margin:20px auto !important;align-items:center;flex-direction:column;height:50px;justify-content:center;width:100%;user-select:text;font-family:inherit;font-size:100%;padding:12px !important;box-shadow:inset 0 0 0 1px #1e1e1e;color:#1e1e1e}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper{position:relative;height:auto;align-self:start}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__actions{display:none;position:absolute;top:0;left:0;right:0;bottom:0;flex-wrap:nowrap;justify-content:center;align-items:center;gap:20px;padding:5px 15px;z-index:20}@media screen and (max-width: 768px){.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__actions{gap:15px}}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__btn{font-size:14px !important;backdrop-filter:blur(16px) saturate(180%);background:hsla(0,0%,100%,.75);flex-grow:1;justify-content:center;max-width:130px}@media screen and (max-width: 768px){.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__btn{padding:5px}}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper__overlay{display:none;position:absolute;top:0;left:0;right:0;bottom:0;z-index:10;background:hsla(0,0%,100%,.3);backdrop-filter:blur(3px)}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper:hover .bc-image-wrapper__actions{display:flex}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .bc-image-wrapper:hover .bc-image-wrapper__overlay{display:block}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container:has(.root-block-appender){margin-bottom:3rem;padding-bottom:200px}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container.has-background{transition:background 1s,color 1s}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container>.block-list-appender.wp-block:only-child p{margin-top:0;margin-bottom:0}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container>.block-list-appender.wp-block:only-child,.editor-styles-wrapper .block-editor-block-list__layout.is-root-container>p.wp-block:only-child{margin:2rem 0}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container .components-notice{color:#000}
|
@@ -0,0 +1 @@
|
|
1
|
+
.editor-sidebar .bc-url-input{min-width:100%}.editor-sidebar .bc-url-input input{width:100%;border:1px solid #949494}.editor-sidebar .bc-url-input__suggestions{max-width:245px}.editor-sidebar .components-base-control .block-editor-link-control .block-editor-url-input{margin-top:0}.editor-sidebar .components-base-control .block-editor-link-control .block-editor-link-control__search-item{padding-top:0}.editor-sidebar .block-editor-link-control{min-width:100%;width:100%}.editor-sidebar .block-editor-link-control .block-editor-url-input{min-width:100%}.editor-sidebar .block-editor-link-control .block-editor-url-input__input{width:100%}.editor-sidebar .block-editor-link-control .components-base-control{margin-left:0;margin-right:0}.editor-sidebar .block-editor-link-control .block-editor-link-control__search-enter{right:5px}.editor-sidebar .block-editor-link-control .components-spinner{top:50%;transform:translateY(-50%)}.editor-sidebar .block-editor-link-control .block-editor-link-control__tools,.editor-sidebar .block-editor-link-control .block-editor-link-control__search-actions,.editor-sidebar .block-editor-link-control .block-editor-link-control__search-results,.editor-sidebar .block-editor-link-control .block-editor-link-control__search-item{padding-left:0;padding-right:0}.editor-sidebar .block-editor-link-control .components-menu-item__item{min-width:unset}.editor-sidebar .block-editor-link-control .components-button.block-editor-link-control__drawer-toggle{box-shadow:none;outline:none}.editor-sidebar .bc-animation-block-json-file{display:flex;align-items:center;cursor:pointer}.editor-sidebar .bc-remove-btn{margin-top:15px;margin-bottom:15px;display:flex}.editor-sidebar .svg-container{width:100%;height:auto}.editor-sidebar .bc-selected-media-wrapper{max-width:200px;cursor:pointer;background:rgba(0,0,0,.3)}.editor-sidebar .bc-selected-media{display:block;width:100%}.editor-sidebar .bc-selected-media--image{max-height:300px}.editor-sidebar .bc-select-btn,.editor-sidebar .bc-remove-btn{margin-top:15px;margin-bottom:15px;display:flex}.editor-sidebar .react-select__input{box-shadow:none !important}.editor-sidebar .bc-responsive-spacing-tab:last-child{margin-bottom:2rem}.editor-sidebar .bc-spacing-control-wrapper{margin-bottom:35px}.editor-sidebar .bc-spacing-range-control{padding:0 6px}.editor-sidebar .bc-spacing-range-control .components-base-control__label{margin-left:-9px}.editor-sidebar .bc-spacing-range-control .components-range-control__root .components-range-control__wrapper{margin-bottom:0}.editor-sidebar .bc-spacing-range-control .components-range-control__root .components-range-control__wrapper .components-range-control__marks .components-range-control__mark-label{left:8px !important;margin-top:7px !important}.editor-sidebar .bc-spacing-range-control .components-base-control__help{margin-left:-11px}.editor-sidebar .bc-image-wrapper{position:relative;height:auto;align-self:start}.editor-sidebar .bc-image-wrapper__actions{display:none;position:absolute;top:0;left:0;right:0;bottom:0;flex-wrap:nowrap;justify-content:center;align-items:center;gap:20px;padding:5px 15px;z-index:20}@media screen and (max-width: 768px){.editor-sidebar .bc-image-wrapper__actions{gap:15px}}.editor-sidebar .bc-image-wrapper__btn{font-size:14px !important;backdrop-filter:blur(16px) saturate(180%);background:hsla(0,0%,100%,.75);flex-grow:1;justify-content:center;max-width:130px}@media screen and (max-width: 768px){.editor-sidebar .bc-image-wrapper__btn{padding:5px}}.editor-sidebar .bc-image-wrapper__overlay{display:none;position:absolute;top:0;left:0;right:0;bottom:0;z-index:10;background:hsla(0,0%,100%,.3);backdrop-filter:blur(3px)}.editor-sidebar .bc-image-wrapper:hover .bc-image-wrapper__actions{display:flex}.editor-sidebar .bc-image-wrapper:hover .bc-image-wrapper__overlay{display:block}.editor-visual-editor{z-index:1}.editor-visual-editor.is-resizable+.edit-post-layout__metaboxes{display:none}.block-editor-block-types-list>[role=presentation]{justify-content:center}.block-editor-inserter__insertable-blocks-at-selection+.block-editor-inserter__all-blocks{display:none}
|