@wordpress/global-styles-ui 1.1.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/LICENSE.md +788 -0
- package/README.md +48 -0
- package/build/background-panel.js +62 -0
- package/build/background-panel.js.map +7 -0
- package/build/block-preview-panel.js +90 -0
- package/build/block-preview-panel.js.map +7 -0
- package/build/color-indicator-wrapper.js +55 -0
- package/build/color-indicator-wrapper.js.map +7 -0
- package/build/color-palette-panel.js +123 -0
- package/build/color-palette-panel.js.map +7 -0
- package/build/color-preview.js +94 -0
- package/build/color-preview.js.map +7 -0
- package/build/color-variations.js +41 -0
- package/build/color-variations.js.map +7 -0
- package/build/confirm-reset-shadow-dialog.js +55 -0
- package/build/confirm-reset-shadow-dialog.js.map +7 -0
- package/build/context.js +37 -0
- package/build/context.js.map +7 -0
- package/build/dimensions-panel.js +89 -0
- package/build/dimensions-panel.js.map +7 -0
- package/build/font-families.js +114 -0
- package/build/font-families.js.map +7 -0
- package/build/font-family-item.js +48 -0
- package/build/font-family-item.js.map +7 -0
- package/build/font-library-modal/collection-font-variant.js +75 -0
- package/build/font-library-modal/collection-font-variant.js.map +7 -0
- package/build/font-library-modal/context.js +386 -0
- package/build/font-library-modal/context.js.map +7 -0
- package/build/font-library-modal/font-card.js +81 -0
- package/build/font-library-modal/font-card.js.map +7 -0
- package/build/font-library-modal/font-collection.js +510 -0
- package/build/font-library-modal/font-collection.js.map +7 -0
- package/build/font-library-modal/font-demo.js +111 -0
- package/build/font-library-modal/font-demo.js.map +7 -0
- package/build/font-library-modal/google-fonts-confirm-dialog.js +58 -0
- package/build/font-library-modal/google-fonts-confirm-dialog.js.map +7 -0
- package/build/font-library-modal/index.js +110 -0
- package/build/font-library-modal/index.js.map +7 -0
- package/build/font-library-modal/installed-fonts.js +453 -0
- package/build/font-library-modal/installed-fonts.js.map +7 -0
- package/build/font-library-modal/lib/inflate.js +2628 -0
- package/build/font-library-modal/lib/inflate.js.map +7 -0
- package/build/font-library-modal/lib/lib-font.browser.d.js +33 -0
- package/build/font-library-modal/lib/lib-font.browser.d.js.map +7 -0
- package/build/font-library-modal/lib/lib-font.browser.js +3788 -0
- package/build/font-library-modal/lib/lib-font.browser.js.map +7 -0
- package/build/font-library-modal/lib/unbrotli.js +3678 -0
- package/build/font-library-modal/lib/unbrotli.js.map +7 -0
- package/build/font-library-modal/library-font-details.js +63 -0
- package/build/font-library-modal/library-font-details.js.map +7 -0
- package/build/font-library-modal/library-font-variant.js +81 -0
- package/build/font-library-modal/library-font-variant.js.map +7 -0
- package/build/font-library-modal/resolvers.js +115 -0
- package/build/font-library-modal/resolvers.js.map +7 -0
- package/build/font-library-modal/types.js +17 -0
- package/build/font-library-modal/types.js.map +7 -0
- package/build/font-library-modal/upload-fonts.js +207 -0
- package/build/font-library-modal/upload-fonts.js.map +7 -0
- package/build/font-library-modal/utils/constants.js +49 -0
- package/build/font-library-modal/utils/constants.js.map +7 -0
- package/build/font-library-modal/utils/filter-fonts.js +39 -0
- package/build/font-library-modal/utils/filter-fonts.js.map +7 -0
- package/build/font-library-modal/utils/fonts-outline.js +51 -0
- package/build/font-library-modal/utils/fonts-outline.js.map +7 -0
- package/build/font-library-modal/utils/index.js +274 -0
- package/build/font-library-modal/utils/index.js.map +7 -0
- package/build/font-library-modal/utils/make-families-from-faces.js +45 -0
- package/build/font-library-modal/utils/make-families-from-faces.js.map +7 -0
- package/build/font-library-modal/utils/preview-styles.js +119 -0
- package/build/font-library-modal/utils/preview-styles.js.map +7 -0
- package/build/font-library-modal/utils/set-immutably.js +40 -0
- package/build/font-library-modal/utils/set-immutably.js.map +7 -0
- package/build/font-library-modal/utils/sort-font-faces.js +59 -0
- package/build/font-library-modal/utils/sort-font-faces.js.map +7 -0
- package/build/font-library-modal/utils/toggleFont.js +67 -0
- package/build/font-library-modal/utils/toggleFont.js.map +7 -0
- package/build/font-sizes/confirm-delete-font-size-dialog.js +60 -0
- package/build/font-sizes/confirm-delete-font-size-dialog.js.map +7 -0
- package/build/font-sizes/confirm-reset-font-sizes-dialog.js +55 -0
- package/build/font-sizes/confirm-reset-font-sizes-dialog.js.map +7 -0
- package/build/font-sizes/font-size-preview.js +50 -0
- package/build/font-sizes/font-size-preview.js.map +7 -0
- package/build/font-sizes/font-size.js +261 -0
- package/build/font-sizes/font-size.js.map +7 -0
- package/build/font-sizes/font-sizes-count.js +40 -0
- package/build/font-sizes/font-sizes-count.js.map +7 -0
- package/build/font-sizes/font-sizes.js +215 -0
- package/build/font-sizes/font-sizes.js.map +7 -0
- package/build/font-sizes/rename-font-size-dialog.js +96 -0
- package/build/font-sizes/rename-font-size-dialog.js.map +7 -0
- package/build/global-styles-ui.js +213 -0
- package/build/global-styles-ui.js.map +7 -0
- package/build/gradients-palette-panel.js +133 -0
- package/build/gradients-palette-panel.js.map +7 -0
- package/build/highlighted-colors.js +57 -0
- package/build/highlighted-colors.js.map +7 -0
- package/build/hooks.js +176 -0
- package/build/hooks.js.map +7 -0
- package/build/icon-with-current-color.js +56 -0
- package/build/icon-with-current-color.js.map +7 -0
- package/build/index.js +51 -0
- package/build/index.js.map +7 -0
- package/build/lock-unlock.js +35 -0
- package/build/lock-unlock.js.map +7 -0
- package/build/navigation-button.js +52 -0
- package/build/navigation-button.js.map +7 -0
- package/build/pagination/index.js +133 -0
- package/build/pagination/index.js.map +7 -0
- package/build/palette.js +93 -0
- package/build/palette.js.map +7 -0
- package/build/preset-colors.js +40 -0
- package/build/preset-colors.js.map +7 -0
- package/build/preview-colors.js +86 -0
- package/build/preview-colors.js.map +7 -0
- package/build/preview-hooks.js +60 -0
- package/build/preview-hooks.js.map +7 -0
- package/build/preview-styles.js +219 -0
- package/build/preview-styles.js.map +7 -0
- package/build/preview-typography.js +72 -0
- package/build/preview-typography.js.map +7 -0
- package/build/preview-wrapper.js +102 -0
- package/build/preview-wrapper.js.map +7 -0
- package/build/provider.js +54 -0
- package/build/provider.js.map +7 -0
- package/build/root-menu.js +72 -0
- package/build/root-menu.js.map +7 -0
- package/build/screen-background.js +58 -0
- package/build/screen-background.js.map +7 -0
- package/build/screen-block-list.js +160 -0
- package/build/screen-block-list.js.map +7 -0
- package/build/screen-block.js +316 -0
- package/build/screen-block.js.map +7 -0
- package/build/screen-color-palette.js +64 -0
- package/build/screen-color-palette.js.map +7 -0
- package/build/screen-colors.js +85 -0
- package/build/screen-colors.js.map +7 -0
- package/build/screen-css.js +68 -0
- package/build/screen-css.js.map +7 -0
- package/build/screen-header.js +61 -0
- package/build/screen-header.js.map +7 -0
- package/build/screen-layout.js +54 -0
- package/build/screen-layout.js.map +7 -0
- package/build/screen-revisions/index.js +147 -0
- package/build/screen-revisions/index.js.map +7 -0
- package/build/screen-revisions/revisions-buttons.js +198 -0
- package/build/screen-revisions/revisions-buttons.js.map +7 -0
- package/build/screen-revisions/types.js +17 -0
- package/build/screen-revisions/types.js.map +7 -0
- package/build/screen-revisions/use-global-styles-revisions.js +163 -0
- package/build/screen-revisions/use-global-styles-revisions.js.map +7 -0
- package/build/screen-root.js +134 -0
- package/build/screen-root.js.map +7 -0
- package/build/screen-shadows.js +49 -0
- package/build/screen-shadows.js.map +7 -0
- package/build/screen-style-variations.js +52 -0
- package/build/screen-style-variations.js.map +7 -0
- package/build/screen-typography-element.js +167 -0
- package/build/screen-typography-element.js.map +7 -0
- package/build/screen-typography.js +65 -0
- package/build/screen-typography.js.map +7 -0
- package/build/shadow-utils.js +125 -0
- package/build/shadow-utils.js.map +7 -0
- package/build/shadows-edit-panel.js +503 -0
- package/build/shadows-edit-panel.js.map +7 -0
- package/build/shadows-panel.js +203 -0
- package/build/shadows-panel.js.map +7 -0
- package/build/size-control/index.js +86 -0
- package/build/size-control/index.js.map +7 -0
- package/build/style-variations-container.js +130 -0
- package/build/style-variations-container.js.map +7 -0
- package/build/style-variations-content.js +52 -0
- package/build/style-variations-content.js.map +7 -0
- package/build/style-variations.js +41 -0
- package/build/style-variations.js.map +7 -0
- package/build/subtitle.js +33 -0
- package/build/subtitle.js.map +7 -0
- package/build/typography-elements.js +117 -0
- package/build/typography-elements.js.map +7 -0
- package/build/typography-example.js +79 -0
- package/build/typography-example.js.map +7 -0
- package/build/typography-panel.js +64 -0
- package/build/typography-panel.js.map +7 -0
- package/build/typography-preview.js +70 -0
- package/build/typography-preview.js.map +7 -0
- package/build/typography-variations.js +41 -0
- package/build/typography-variations.js.map +7 -0
- package/build/utils.js +210 -0
- package/build/utils.js.map +7 -0
- package/build/variations/variation.js +116 -0
- package/build/variations/variation.js.map +7 -0
- package/build/variations/variations-color.js +64 -0
- package/build/variations/variations-color.js.map +7 -0
- package/build/variations/variations-panel.js +69 -0
- package/build/variations/variations-panel.js.map +7 -0
- package/build/variations/variations-typography.js +80 -0
- package/build/variations/variations-typography.js.map +7 -0
- package/build/with-global-styles-provider.js +48 -0
- package/build/with-global-styles-provider.js.map +7 -0
- package/build-module/background-panel.js +38 -0
- package/build-module/background-panel.js.map +7 -0
- package/build-module/block-preview-panel.js +70 -0
- package/build-module/block-preview-panel.js.map +7 -0
- package/build-module/color-indicator-wrapper.js +25 -0
- package/build-module/color-indicator-wrapper.js.map +7 -0
- package/build-module/color-palette-panel.js +97 -0
- package/build-module/color-palette-panel.js.map +7 -0
- package/build-module/color-preview.js +70 -0
- package/build-module/color-preview.js.map +7 -0
- package/build-module/color-variations.js +7 -0
- package/build-module/color-variations.js.map +7 -0
- package/build-module/confirm-reset-shadow-dialog.js +35 -0
- package/build-module/confirm-reset-shadow-dialog.js.map +7 -0
- package/build-module/context.js +13 -0
- package/build-module/context.js.map +7 -0
- package/build-module/dimensions-panel.js +69 -0
- package/build-module/dimensions-panel.js.map +7 -0
- package/build-module/font-families.js +92 -0
- package/build-module/font-families.js.map +7 -0
- package/build-module/font-family-item.js +32 -0
- package/build-module/font-family-item.js.map +7 -0
- package/build-module/font-library-modal/collection-font-variant.js +45 -0
- package/build-module/font-library-modal/collection-font-variant.js.map +7 -0
- package/build-module/font-library-modal/context.js +382 -0
- package/build-module/font-library-modal/context.js.map +7 -0
- package/build-module/font-library-modal/font-card.js +57 -0
- package/build-module/font-library-modal/font-card.js.map +7 -0
- package/build-module/font-library-modal/font-collection.js +510 -0
- package/build-module/font-library-modal/font-collection.js.map +7 -0
- package/build-module/font-library-modal/font-demo.js +94 -0
- package/build-module/font-library-modal/font-demo.js.map +7 -0
- package/build-module/font-library-modal/google-fonts-confirm-dialog.js +45 -0
- package/build-module/font-library-modal/google-fonts-confirm-dialog.js.map +7 -0
- package/build-module/font-library-modal/index.js +83 -0
- package/build-module/font-library-modal/index.js.map +7 -0
- package/build-module/font-library-modal/installed-fonts.js +442 -0
- package/build-module/font-library-modal/installed-fonts.js.map +7 -0
- package/build-module/font-library-modal/lib/inflate.js +2636 -0
- package/build-module/font-library-modal/lib/inflate.js.map +7 -0
- package/build-module/font-library-modal/lib/lib-font.browser.d.js +9 -0
- package/build-module/font-library-modal/lib/lib-font.browser.d.js.map +7 -0
- package/build-module/font-library-modal/lib/lib-font.browser.js +3754 -0
- package/build-module/font-library-modal/lib/lib-font.browser.js.map +7 -0
- package/build-module/font-library-modal/lib/unbrotli.js +3686 -0
- package/build-module/font-library-modal/lib/unbrotli.js.map +7 -0
- package/build-module/font-library-modal/library-font-details.js +36 -0
- package/build-module/font-library-modal/library-font-details.js.map +7 -0
- package/build-module/font-library-modal/library-font-variant.js +51 -0
- package/build-module/font-library-modal/library-font-variant.js.map +7 -0
- package/build-module/font-library-modal/resolvers.js +76 -0
- package/build-module/font-library-modal/resolvers.js.map +7 -0
- package/build-module/font-library-modal/types.js +1 -0
- package/build-module/font-library-modal/types.js.map +7 -0
- package/build-module/font-library-modal/upload-fonts.js +187 -0
- package/build-module/font-library-modal/upload-fonts.js.map +7 -0
- package/build-module/font-library-modal/utils/constants.js +23 -0
- package/build-module/font-library-modal/utils/constants.js.map +7 -0
- package/build-module/font-library-modal/utils/filter-fonts.js +19 -0
- package/build-module/font-library-modal/utils/filter-fonts.js.map +7 -0
- package/build-module/font-library-modal/utils/fonts-outline.js +26 -0
- package/build-module/font-library-modal/utils/fonts-outline.js.map +7 -0
- package/build-module/font-library-modal/utils/index.js +238 -0
- package/build-module/font-library-modal/utils/index.js.map +7 -0
- package/build-module/font-library-modal/utils/make-families-from-faces.js +25 -0
- package/build-module/font-library-modal/utils/make-families-from-faces.js.map +7 -0
- package/build-module/font-library-modal/utils/preview-styles.js +92 -0
- package/build-module/font-library-modal/utils/preview-styles.js.map +7 -0
- package/build-module/font-library-modal/utils/set-immutably.js +16 -0
- package/build-module/font-library-modal/utils/set-immutably.js.map +7 -0
- package/build-module/font-library-modal/utils/sort-font-faces.js +35 -0
- package/build-module/font-library-modal/utils/sort-font-faces.js.map +7 -0
- package/build-module/font-library-modal/utils/toggleFont.js +43 -0
- package/build-module/font-library-modal/utils/toggleFont.js.map +7 -0
- package/build-module/font-sizes/confirm-delete-font-size-dialog.js +40 -0
- package/build-module/font-sizes/confirm-delete-font-size-dialog.js.map +7 -0
- package/build-module/font-sizes/confirm-reset-font-sizes-dialog.js +35 -0
- package/build-module/font-sizes/confirm-reset-font-sizes-dialog.js.map +7 -0
- package/build-module/font-sizes/font-size-preview.js +30 -0
- package/build-module/font-sizes/font-size-preview.js.map +7 -0
- package/build-module/font-sizes/font-size.js +241 -0
- package/build-module/font-sizes/font-size.js.map +7 -0
- package/build-module/font-sizes/font-sizes-count.js +25 -0
- package/build-module/font-sizes/font-sizes-count.js.map +7 -0
- package/build-module/font-sizes/font-sizes.js +200 -0
- package/build-module/font-sizes/font-sizes.js.map +7 -0
- package/build-module/font-sizes/rename-font-size-dialog.js +82 -0
- package/build-module/font-sizes/rename-font-size-dialog.js.map +7 -0
- package/build-module/global-styles-ui.js +182 -0
- package/build-module/global-styles-ui.js.map +7 -0
- package/build-module/gradients-palette-panel.js +118 -0
- package/build-module/gradients-palette-panel.js.map +7 -0
- package/build-module/highlighted-colors.js +37 -0
- package/build-module/highlighted-colors.js.map +7 -0
- package/build-module/hooks.js +144 -0
- package/build-module/hooks.js.map +7 -0
- package/build-module/icon-with-current-color.js +22 -0
- package/build-module/icon-with-current-color.js.map +7 -0
- package/build-module/index.js +13 -0
- package/build-module/index.js.map +7 -0
- package/build-module/lock-unlock.js +10 -0
- package/build-module/lock-unlock.js.map +7 -0
- package/build-module/navigation-button.js +32 -0
- package/build-module/navigation-button.js.map +7 -0
- package/build-module/pagination/index.js +107 -0
- package/build-module/pagination/index.js.map +7 -0
- package/build-module/palette.js +70 -0
- package/build-module/palette.js.map +7 -0
- package/build-module/preset-colors.js +20 -0
- package/build-module/preset-colors.js.map +7 -0
- package/build-module/preview-colors.js +59 -0
- package/build-module/preview-colors.js.map +7 -0
- package/build-module/preview-hooks.js +36 -0
- package/build-module/preview-hooks.js.map +7 -0
- package/build-module/preview-styles.js +193 -0
- package/build-module/preview-styles.js.map +7 -0
- package/build-module/preview-typography.js +42 -0
- package/build-module/preview-typography.js.map +7 -0
- package/build-module/preview-wrapper.js +86 -0
- package/build-module/preview-wrapper.js.map +7 -0
- package/build-module/provider.js +30 -0
- package/build-module/provider.js.map +7 -0
- package/build-module/root-menu.js +58 -0
- package/build-module/root-menu.js.map +7 -0
- package/build-module/screen-background.js +28 -0
- package/build-module/screen-background.js.map +7 -0
- package/build-module/screen-block-list.js +150 -0
- package/build-module/screen-block-list.js.map +7 -0
- package/build-module/screen-block.js +293 -0
- package/build-module/screen-block.js.map +7 -0
- package/build-module/screen-color-palette.js +34 -0
- package/build-module/screen-color-palette.js.map +7 -0
- package/build-module/screen-colors.js +55 -0
- package/build-module/screen-colors.js.map +7 -0
- package/build-module/screen-css.js +48 -0
- package/build-module/screen-css.js.map +7 -0
- package/build-module/screen-header.js +44 -0
- package/build-module/screen-header.js.map +7 -0
- package/build-module/screen-layout.js +24 -0
- package/build-module/screen-layout.js.map +7 -0
- package/build-module/screen-revisions/index.js +121 -0
- package/build-module/screen-revisions/index.js.map +7 -0
- package/build-module/screen-revisions/revisions-buttons.js +178 -0
- package/build-module/screen-revisions/revisions-buttons.js.map +7 -0
- package/build-module/screen-revisions/types.js +1 -0
- package/build-module/screen-revisions/types.js.map +7 -0
- package/build-module/screen-revisions/use-global-styles-revisions.js +145 -0
- package/build-module/screen-revisions/use-global-styles-revisions.js.map +7 -0
- package/build-module/screen-root.js +114 -0
- package/build-module/screen-root.js.map +7 -0
- package/build-module/screen-shadows.js +14 -0
- package/build-module/screen-shadows.js.map +7 -0
- package/build-module/screen-style-variations.js +32 -0
- package/build-module/screen-style-variations.js.map +7 -0
- package/build-module/screen-typography-element.js +141 -0
- package/build-module/screen-typography-element.js.map +7 -0
- package/build-module/screen-typography.js +35 -0
- package/build-module/screen-typography.js.map +7 -0
- package/build-module/shadow-utils.js +98 -0
- package/build-module/shadow-utils.js.map +7 -0
- package/build-module/shadows-edit-panel.js +502 -0
- package/build-module/shadows-edit-panel.js.map +7 -0
- package/build-module/shadows-panel.js +182 -0
- package/build-module/shadows-panel.js.map +7 -0
- package/build-module/size-control/index.js +72 -0
- package/build-module/size-control/index.js.map +7 -0
- package/build-module/style-variations-container.js +100 -0
- package/build-module/style-variations-container.js.map +7 -0
- package/build-module/style-variations-content.js +18 -0
- package/build-module/style-variations-content.js.map +7 -0
- package/build-module/style-variations.js +7 -0
- package/build-module/style-variations.js.map +7 -0
- package/build-module/subtitle.js +9 -0
- package/build-module/subtitle.js.map +7 -0
- package/build-module/typography-elements.js +102 -0
- package/build-module/typography-elements.js.map +7 -0
- package/build-module/typography-example.js +59 -0
- package/build-module/typography-example.js.map +7 -0
- package/build-module/typography-panel.js +44 -0
- package/build-module/typography-panel.js.map +7 -0
- package/build-module/typography-preview.js +50 -0
- package/build-module/typography-preview.js.map +7 -0
- package/build-module/typography-variations.js +7 -0
- package/build-module/typography-variations.js.map +7 -0
- package/build-module/utils.js +179 -0
- package/build-module/utils.js.map +7 -0
- package/build-module/variations/variation.js +86 -0
- package/build-module/variations/variation.js.map +7 -0
- package/build-module/variations/variations-color.js +37 -0
- package/build-module/variations/variations-color.js.map +7 -0
- package/build-module/variations/variations-panel.js +44 -0
- package/build-module/variations/variations-panel.js.map +7 -0
- package/build-module/variations/variations-typography.js +53 -0
- package/build-module/variations/variations-typography.js.map +7 -0
- package/build-module/with-global-styles-provider.js +24 -0
- package/build-module/with-global-styles-provider.js.map +7 -0
- package/build-style/style-rtl.css +717 -0
- package/build-style/style.css +718 -0
- package/build-types/background-panel.d.ts +10 -0
- package/build-types/background-panel.d.ts.map +1 -0
- package/build-types/block-preview-panel.d.ts +7 -0
- package/build-types/block-preview-panel.d.ts.map +1 -0
- package/build-types/color-indicator-wrapper.d.ts +7 -0
- package/build-types/color-indicator-wrapper.d.ts.map +1 -0
- package/build-types/color-palette-panel.d.ts +6 -0
- package/build-types/color-palette-panel.d.ts.map +1 -0
- package/build-types/color-preview.d.ts +2 -0
- package/build-types/color-preview.d.ts.map +1 -0
- package/build-types/color-variations.d.ts +27 -0
- package/build-types/color-variations.d.ts.map +1 -0
- package/build-types/confirm-reset-shadow-dialog.d.ts +10 -0
- package/build-types/confirm-reset-shadow-dialog.d.ts.map +1 -0
- package/build-types/context.d.ts +10 -0
- package/build-types/context.d.ts.map +1 -0
- package/build-types/dimensions-panel.d.ts +2 -0
- package/build-types/dimensions-panel.d.ts.map +1 -0
- package/build-types/font-families.d.ts +4 -0
- package/build-types/font-families.d.ts.map +1 -0
- package/build-types/font-family-item.d.ts +7 -0
- package/build-types/font-family-item.d.ts.map +1 -0
- package/build-types/font-library-modal/collection-font-variant.d.ts +4 -0
- package/build-types/font-library-modal/collection-font-variant.d.ts.map +1 -0
- package/build-types/font-library-modal/context.d.ts +7 -0
- package/build-types/font-library-modal/context.d.ts.map +1 -0
- package/build-types/font-library-modal/font-card.d.ts +9 -0
- package/build-types/font-library-modal/font-card.d.ts.map +1 -0
- package/build-types/font-library-modal/font-collection.d.ts +5 -0
- package/build-types/font-library-modal/font-collection.d.ts.map +1 -0
- package/build-types/font-library-modal/font-demo.d.ts +4 -0
- package/build-types/font-library-modal/font-demo.d.ts.map +1 -0
- package/build-types/font-library-modal/google-fonts-confirm-dialog.d.ts +3 -0
- package/build-types/font-library-modal/google-fonts-confirm-dialog.d.ts.map +1 -0
- package/build-types/font-library-modal/index.d.ts +6 -0
- package/build-types/font-library-modal/index.d.ts.map +1 -0
- package/build-types/font-library-modal/installed-fonts.d.ts +3 -0
- package/build-types/font-library-modal/installed-fonts.d.ts.map +1 -0
- package/build-types/font-library-modal/library-font-details.d.ts +6 -0
- package/build-types/font-library-modal/library-font-details.d.ts.map +1 -0
- package/build-types/font-library-modal/library-font-variant.d.ts +7 -0
- package/build-types/font-library-modal/library-font-variant.d.ts.map +1 -0
- package/build-types/font-library-modal/resolvers.d.ts +43 -0
- package/build-types/font-library-modal/resolvers.d.ts.map +1 -0
- package/build-types/font-library-modal/types.d.ts +133 -0
- package/build-types/font-library-modal/types.d.ts.map +1 -0
- package/build-types/font-library-modal/upload-fonts.d.ts +3 -0
- package/build-types/font-library-modal/upload-fonts.d.ts.map +1 -0
- package/build-types/font-library-modal/utils/constants.d.ts +4 -0
- package/build-types/font-library-modal/utils/constants.d.ts.map +1 -0
- package/build-types/font-library-modal/utils/filter-fonts.d.ts +25 -0
- package/build-types/font-library-modal/utils/filter-fonts.d.ts.map +1 -0
- package/build-types/font-library-modal/utils/fonts-outline.d.ts +7 -0
- package/build-types/font-library-modal/utils/fonts-outline.d.ts.map +1 -0
- package/build-types/font-library-modal/utils/index.d.ts +21 -0
- package/build-types/font-library-modal/utils/index.d.ts.map +1 -0
- package/build-types/font-library-modal/utils/make-families-from-faces.d.ts +6 -0
- package/build-types/font-library-modal/utils/make-families-from-faces.d.ts.map +1 -0
- package/build-types/font-library-modal/utils/preview-styles.d.ts +13 -0
- package/build-types/font-library-modal/utils/preview-styles.d.ts.map +1 -0
- package/build-types/font-library-modal/utils/set-immutably.d.ts +13 -0
- package/build-types/font-library-modal/utils/set-immutably.d.ts.map +1 -0
- package/build-types/font-library-modal/utils/sort-font-faces.d.ts +6 -0
- package/build-types/font-library-modal/utils/sort-font-faces.d.ts.map +1 -0
- package/build-types/font-library-modal/utils/toggleFont.d.ts +38 -0
- package/build-types/font-library-modal/utils/toggleFont.d.ts.map +1 -0
- package/build-types/font-sizes/confirm-delete-font-size-dialog.d.ts +10 -0
- package/build-types/font-sizes/confirm-delete-font-size-dialog.d.ts.map +1 -0
- package/build-types/font-sizes/confirm-reset-font-sizes-dialog.d.ts +10 -0
- package/build-types/font-sizes/confirm-reset-font-sizes-dialog.d.ts.map +1 -0
- package/build-types/font-sizes/font-size-preview.d.ts +7 -0
- package/build-types/font-sizes/font-size-preview.d.ts.map +1 -0
- package/build-types/font-sizes/font-size.d.ts +4 -0
- package/build-types/font-sizes/font-size.d.ts.map +1 -0
- package/build-types/font-sizes/font-sizes-count.d.ts +3 -0
- package/build-types/font-sizes/font-sizes-count.d.ts.map +1 -0
- package/build-types/font-sizes/font-sizes.d.ts +3 -0
- package/build-types/font-sizes/font-sizes.d.ts.map +1 -0
- package/build-types/font-sizes/rename-font-size-dialog.d.ts +9 -0
- package/build-types/font-sizes/rename-font-size-dialog.d.ts.map +1 -0
- package/build-types/global-styles-ui.d.ts +26 -0
- package/build-types/global-styles-ui.d.ts.map +1 -0
- package/build-types/gradients-palette-panel.d.ts +6 -0
- package/build-types/gradients-palette-panel.d.ts.map +1 -0
- package/build-types/highlighted-colors.d.ts +7 -0
- package/build-types/highlighted-colors.d.ts.map +1 -0
- package/build-types/hooks.d.ts +46 -0
- package/build-types/hooks.d.ts.map +1 -0
- package/build-types/icon-with-current-color.d.ts +9 -0
- package/build-types/icon-with-current-color.d.ts.map +1 -0
- package/build-types/index.d.ts +6 -0
- package/build-types/index.d.ts.map +1 -0
- package/build-types/lock-unlock.d.ts +2 -0
- package/build-types/lock-unlock.d.ts.map +1 -0
- package/build-types/navigation-button.d.ts +10 -0
- package/build-types/navigation-button.d.ts.map +1 -0
- package/build-types/pagination/index.d.ts +13 -0
- package/build-types/pagination/index.d.ts.map +1 -0
- package/build-types/palette.d.ts +6 -0
- package/build-types/palette.d.ts.map +1 -0
- package/build-types/preset-colors.d.ts +2 -0
- package/build-types/preset-colors.d.ts.map +1 -0
- package/build-types/preview-colors.d.ts +8 -0
- package/build-types/preview-colors.d.ts.map +1 -0
- package/build-types/preview-hooks.d.ts +9 -0
- package/build-types/preview-hooks.d.ts.map +1 -0
- package/build-types/preview-styles.d.ts +9 -0
- package/build-types/preview-styles.d.ts.map +1 -0
- package/build-types/preview-typography.d.ts +8 -0
- package/build-types/preview-typography.d.ts.map +1 -0
- package/build-types/preview-wrapper.d.ts +15 -0
- package/build-types/preview-wrapper.d.ts.map +1 -0
- package/build-types/provider.d.ts +15 -0
- package/build-types/provider.d.ts.map +1 -0
- package/build-types/root-menu.d.ts +3 -0
- package/build-types/root-menu.d.ts.map +1 -0
- package/build-types/screen-background.d.ts +3 -0
- package/build-types/screen-background.d.ts.map +1 -0
- package/build-types/screen-block-list.d.ts +4 -0
- package/build-types/screen-block-list.d.ts.map +1 -0
- package/build-types/screen-block.d.ts +7 -0
- package/build-types/screen-block.d.ts.map +1 -0
- package/build-types/screen-color-palette.d.ts +5 -0
- package/build-types/screen-color-palette.d.ts.map +1 -0
- package/build-types/screen-colors.d.ts +3 -0
- package/build-types/screen-colors.d.ts.map +1 -0
- package/build-types/screen-css.d.ts +3 -0
- package/build-types/screen-css.d.ts.map +1 -0
- package/build-types/screen-header.d.ts +8 -0
- package/build-types/screen-header.d.ts.map +1 -0
- package/build-types/screen-layout.d.ts +3 -0
- package/build-types/screen-layout.d.ts.map +1 -0
- package/build-types/screen-revisions/index.d.ts +6 -0
- package/build-types/screen-revisions/index.d.ts.map +1 -0
- package/build-types/screen-revisions/revisions-buttons.d.ts +23 -0
- package/build-types/screen-revisions/revisions-buttons.d.ts.map +1 -0
- package/build-types/screen-revisions/types.d.ts +17 -0
- package/build-types/screen-revisions/types.d.ts.map +1 -0
- package/build-types/screen-revisions/use-global-styles-revisions.d.ts +17 -0
- package/build-types/screen-revisions/use-global-styles-revisions.d.ts.map +1 -0
- package/build-types/screen-root.d.ts +3 -0
- package/build-types/screen-root.d.ts.map +1 -0
- package/build-types/screen-shadows.d.ts +3 -0
- package/build-types/screen-shadows.d.ts.map +1 -0
- package/build-types/screen-style-variations.d.ts +3 -0
- package/build-types/screen-style-variations.d.ts.map +1 -0
- package/build-types/screen-typography-element.d.ts +28 -0
- package/build-types/screen-typography-element.d.ts.map +1 -0
- package/build-types/screen-typography.d.ts +3 -0
- package/build-types/screen-typography.d.ts.map +1 -0
- package/build-types/shadow-utils.d.ts +126 -0
- package/build-types/shadow-utils.d.ts.map +1 -0
- package/build-types/shadows-edit-panel.d.ts +2 -0
- package/build-types/shadows-edit-panel.d.ts.map +1 -0
- package/build-types/shadows-panel.d.ts +3 -0
- package/build-types/shadows-panel.d.ts.map +1 -0
- package/build-types/size-control/index.d.ts +11 -0
- package/build-types/size-control/index.d.ts.map +1 -0
- package/build-types/stories/index.story.d.ts +6 -0
- package/build-types/stories/index.story.d.ts.map +1 -0
- package/build-types/style-variations-container.d.ts +6 -0
- package/build-types/style-variations-container.d.ts.map +1 -0
- package/build-types/style-variations-content.d.ts +2 -0
- package/build-types/style-variations-content.d.ts.map +1 -0
- package/build-types/style-variations.d.ts +25 -0
- package/build-types/style-variations.d.ts.map +1 -0
- package/build-types/subtitle.d.ts +7 -0
- package/build-types/subtitle.d.ts.map +1 -0
- package/build-types/test/shadow-utils.spec.d.ts +2 -0
- package/build-types/test/shadow-utils.spec.d.ts.map +1 -0
- package/build-types/test/utils.spec.d.ts +2 -0
- package/build-types/test/utils.spec.d.ts.map +1 -0
- package/build-types/typography-elements.d.ts +3 -0
- package/build-types/typography-elements.d.ts.map +1 -0
- package/build-types/typography-example.d.ts +7 -0
- package/build-types/typography-example.d.ts.map +1 -0
- package/build-types/typography-panel.d.ts +7 -0
- package/build-types/typography-panel.d.ts.map +1 -0
- package/build-types/typography-preview.d.ts +8 -0
- package/build-types/typography-preview.d.ts.map +1 -0
- package/build-types/typography-variations.d.ts +27 -0
- package/build-types/typography-variations.d.ts.map +1 -0
- package/build-types/utils.d.ts +63 -0
- package/build-types/utils.d.ts.map +1 -0
- package/build-types/variations/variation.d.ts +10 -0
- package/build-types/variations/variation.d.ts.map +1 -0
- package/build-types/variations/variations-color.d.ts +7 -0
- package/build-types/variations/variations-color.d.ts.map +1 -0
- package/build-types/variations/variations-panel.d.ts +13 -0
- package/build-types/variations/variations-panel.d.ts.map +1 -0
- package/build-types/variations/variations-typography.d.ts +7 -0
- package/build-types/variations/variations-typography.d.ts.map +1 -0
- package/build-types/with-global-styles-provider.d.ts +20 -0
- package/build-types/with-global-styles-provider.d.ts.map +1 -0
- package/package.json +67 -0
- package/src/README.md +99 -0
- package/src/background-panel.tsx +56 -0
- package/src/block-preview-panel.tsx +91 -0
- package/src/color-indicator-wrapper.tsx +34 -0
- package/src/color-palette-panel.tsx +111 -0
- package/src/color-preview.tsx +78 -0
- package/src/color-variations.tsx +35 -0
- package/src/confirm-reset-shadow-dialog.tsx +45 -0
- package/src/context.ts +21 -0
- package/src/dimensions-panel.tsx +85 -0
- package/src/font-families.tsx +127 -0
- package/src/font-family-item.tsx +52 -0
- package/src/font-library-modal/collection-font-variant.tsx +52 -0
- package/src/font-library-modal/context.tsx +591 -0
- package/src/font-library-modal/font-card.tsx +77 -0
- package/src/font-library-modal/font-collection.tsx +592 -0
- package/src/font-library-modal/font-demo.tsx +123 -0
- package/src/font-library-modal/google-fonts-confirm-dialog.tsx +57 -0
- package/src/font-library-modal/index.tsx +110 -0
- package/src/font-library-modal/installed-fonts.tsx +547 -0
- package/src/font-library-modal/lib/inflate.js +4112 -0
- package/src/font-library-modal/lib/lib-font.browser.d.ts +11 -0
- package/src/font-library-modal/lib/lib-font.browser.js +3861 -0
- package/src/font-library-modal/lib/unbrotli.js +2706 -0
- package/src/font-library-modal/library-font-details.tsx +46 -0
- package/src/font-library-modal/library-font-variant.tsx +67 -0
- package/src/font-library-modal/resolvers.tsx +100 -0
- package/src/font-library-modal/style.scss +222 -0
- package/src/font-library-modal/types.ts +176 -0
- package/src/font-library-modal/upload-fonts.tsx +269 -0
- package/src/font-library-modal/utils/constants.ts +23 -0
- package/src/font-library-modal/utils/filter-fonts.ts +47 -0
- package/src/font-library-modal/utils/fonts-outline.ts +33 -0
- package/src/font-library-modal/utils/index.ts +368 -0
- package/src/font-library-modal/utils/make-families-from-faces.ts +34 -0
- package/src/font-library-modal/utils/preview-styles.ts +167 -0
- package/src/font-library-modal/utils/set-immutably.ts +37 -0
- package/src/font-library-modal/utils/sort-font-faces.ts +46 -0
- package/src/font-library-modal/utils/toggleFont.ts +109 -0
- package/src/font-sizes/confirm-delete-font-size-dialog.tsx +51 -0
- package/src/font-sizes/confirm-reset-font-sizes-dialog.tsx +45 -0
- package/src/font-sizes/font-size-preview.tsx +47 -0
- package/src/font-sizes/font-size.tsx +289 -0
- package/src/font-sizes/font-sizes-count.tsx +37 -0
- package/src/font-sizes/font-sizes.tsx +265 -0
- package/src/font-sizes/rename-font-size-dialog.tsx +83 -0
- package/src/global-styles-ui.tsx +292 -0
- package/src/gradients-palette-panel.tsx +126 -0
- package/src/highlighted-colors.tsx +44 -0
- package/src/hooks.ts +251 -0
- package/src/icon-with-current-color.tsx +31 -0
- package/src/index.ts +7 -0
- package/src/lock-unlock.ts +10 -0
- package/src/navigation-button.tsx +53 -0
- package/src/pagination/index.tsx +107 -0
- package/src/pagination/style.scss +7 -0
- package/src/palette.tsx +101 -0
- package/src/preset-colors.tsx +18 -0
- package/src/preview-colors.tsx +68 -0
- package/src/preview-hooks.tsx +58 -0
- package/src/preview-styles.tsx +196 -0
- package/src/preview-typography.tsx +49 -0
- package/src/preview-wrapper.tsx +137 -0
- package/src/provider.tsx +54 -0
- package/src/root-menu.tsx +87 -0
- package/src/screen-background.tsx +37 -0
- package/src/screen-block-list.tsx +198 -0
- package/src/screen-block.tsx +370 -0
- package/src/screen-color-palette.tsx +47 -0
- package/src/screen-colors.tsx +67 -0
- package/src/screen-css.tsx +56 -0
- package/src/screen-header.tsx +56 -0
- package/src/screen-layout.tsx +34 -0
- package/src/screen-revisions/index.tsx +158 -0
- package/src/screen-revisions/revisions-buttons.tsx +259 -0
- package/src/screen-revisions/style.scss +194 -0
- package/src/screen-revisions/types.ts +18 -0
- package/src/screen-revisions/use-global-styles-revisions.tsx +204 -0
- package/src/screen-root.tsx +146 -0
- package/src/screen-shadows.tsx +13 -0
- package/src/screen-style-variations.tsx +36 -0
- package/src/screen-typography-element.tsx +127 -0
- package/src/screen-typography.tsx +41 -0
- package/src/shadow-utils.ts +167 -0
- package/src/shadows-edit-panel.tsx +559 -0
- package/src/shadows-panel.tsx +207 -0
- package/src/size-control/index.tsx +97 -0
- package/src/size-control/style.scss +7 -0
- package/src/stories/index.story.js +410 -0
- package/src/style-variations-container.tsx +153 -0
- package/src/style-variations-content.tsx +24 -0
- package/src/style-variations.tsx +33 -0
- package/src/style.scss +287 -0
- package/src/subtitle.tsx +17 -0
- package/src/test/shadow-utils.spec.js +251 -0
- package/src/test/utils.spec.js +59 -0
- package/src/typography-elements.tsx +113 -0
- package/src/typography-example.tsx +78 -0
- package/src/typography-panel.tsx +56 -0
- package/src/typography-preview.tsx +61 -0
- package/src/typography-variations.tsx +35 -0
- package/src/utils.ts +301 -0
- package/src/variations/style.scss +43 -0
- package/src/variations/variation.tsx +113 -0
- package/src/variations/variations-color.tsx +54 -0
- package/src/variations/variations-panel.tsx +79 -0
- package/src/variations/variations-typography.tsx +65 -0
- package/src/with-global-styles-provider.tsx +44 -0
- package/tsconfig.json +26 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,718 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SCSS Variables.
|
|
3
|
+
*
|
|
4
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
5
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
6
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Colors
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Fonts & basic variables.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Typography
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Grid System.
|
|
19
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Radius scale.
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Elevation scale.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Dimensions.
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Mobile specific styles
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Editor styles.
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Block & Editor UI.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Block paddings.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* React Native specific.
|
|
44
|
+
* These variables do not appear to be used anywhere else.
|
|
45
|
+
*/
|
|
46
|
+
/**
|
|
47
|
+
* Typography
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Breakpoints & Media Queries
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Converts a hex value into the rgb equivalent.
|
|
54
|
+
*
|
|
55
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
56
|
+
* @return {string} comma separated rgb values
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Long content fade mixin
|
|
60
|
+
*
|
|
61
|
+
* Creates a fading overlay to signify that the content is longer
|
|
62
|
+
* than the space allows.
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Breakpoint mixins
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* Focus styles.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Applies editor left position to the selector passed as argument
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* Styles that are reused verbatim in a few places
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* Reset default styles for JavaScript UI based pages.
|
|
81
|
+
* This is a WP-admin agnostic reset
|
|
82
|
+
*/
|
|
83
|
+
/**
|
|
84
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
85
|
+
*/
|
|
86
|
+
@media (min-width: 782px) {
|
|
87
|
+
.font-library-modal.font-library-modal {
|
|
88
|
+
width: 65vw;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
.font-library-modal .components-modal__header {
|
|
92
|
+
border-bottom: none;
|
|
93
|
+
}
|
|
94
|
+
.font-library-modal .components-modal__content {
|
|
95
|
+
padding-top: 0;
|
|
96
|
+
margin-bottom: 70px;
|
|
97
|
+
}
|
|
98
|
+
.font-library-modal .font-library-modal__subtitle {
|
|
99
|
+
text-transform: uppercase;
|
|
100
|
+
font-weight: 499;
|
|
101
|
+
font-size: 11px;
|
|
102
|
+
}
|
|
103
|
+
.font-library-modal .components-navigator-screen {
|
|
104
|
+
padding: 3px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.font-library-modal__tabpanel-layout {
|
|
108
|
+
margin-top: 32px;
|
|
109
|
+
}
|
|
110
|
+
.font-library-modal__tabpanel-layout .font-library-modal__loading {
|
|
111
|
+
width: 100%;
|
|
112
|
+
height: 100%;
|
|
113
|
+
display: flex;
|
|
114
|
+
position: absolute;
|
|
115
|
+
left: 0;
|
|
116
|
+
top: 0;
|
|
117
|
+
align-items: center;
|
|
118
|
+
justify-content: center;
|
|
119
|
+
padding-top: 124px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.font-library-modal__footer {
|
|
123
|
+
border-top: 1px solid #ddd;
|
|
124
|
+
margin: 0 -32px -32px;
|
|
125
|
+
padding: 16px 32px;
|
|
126
|
+
position: absolute;
|
|
127
|
+
bottom: 32px;
|
|
128
|
+
width: 100%;
|
|
129
|
+
height: 70px;
|
|
130
|
+
background-color: #fff;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.font-library-modal__category-select {
|
|
134
|
+
min-width: 40%;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.font-library-modal__page-selection {
|
|
138
|
+
font-size: 11px;
|
|
139
|
+
font-weight: 499;
|
|
140
|
+
text-transform: uppercase;
|
|
141
|
+
}
|
|
142
|
+
@media (min-width: 600px) {
|
|
143
|
+
.font-library-modal__page-selection .font-library-modal__page-selection-trigger {
|
|
144
|
+
font-size: 11px !important;
|
|
145
|
+
font-weight: 499;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.font-library-modal__fonts-title {
|
|
150
|
+
text-transform: uppercase;
|
|
151
|
+
font-size: 11px;
|
|
152
|
+
font-weight: 600;
|
|
153
|
+
margin-top: 0;
|
|
154
|
+
margin-bottom: 0;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.font-library-modal__fonts-list {
|
|
158
|
+
list-style: none;
|
|
159
|
+
padding: 0;
|
|
160
|
+
margin-top: 0;
|
|
161
|
+
margin-bottom: 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.font-library-modal__fonts-list-item {
|
|
165
|
+
margin-bottom: 0;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.font-library-modal__font-card {
|
|
169
|
+
border: 1px solid #ddd;
|
|
170
|
+
width: 100%;
|
|
171
|
+
height: auto !important;
|
|
172
|
+
padding: 16px;
|
|
173
|
+
margin-top: -1px; /* To collapse the margin with the previous element */
|
|
174
|
+
background-color: #f0f0f0;
|
|
175
|
+
}
|
|
176
|
+
.font-library-modal__font-card:hover {
|
|
177
|
+
background-color: #f0f0f0;
|
|
178
|
+
}
|
|
179
|
+
.font-library-modal__font-card .font-library-modal__font-card__name {
|
|
180
|
+
font-weight: bold;
|
|
181
|
+
}
|
|
182
|
+
.font-library-modal__font-card .font-library-modal__font-card__count {
|
|
183
|
+
color: #757575;
|
|
184
|
+
}
|
|
185
|
+
.font-library-modal__font-card .font-library-modal__font-variant_demo-image {
|
|
186
|
+
display: block;
|
|
187
|
+
height: 24px;
|
|
188
|
+
width: auto;
|
|
189
|
+
}
|
|
190
|
+
.font-library-modal__font-card .font-library-modal__font-variant_demo-text {
|
|
191
|
+
white-space: nowrap;
|
|
192
|
+
flex-shrink: 0;
|
|
193
|
+
}
|
|
194
|
+
@media not (prefers-reduced-motion) {
|
|
195
|
+
.font-library-modal__font-card .font-library-modal__font-variant_demo-text {
|
|
196
|
+
transition: opacity 0.3s ease-in-out;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.font-library-modal__tablist-container {
|
|
201
|
+
position: sticky;
|
|
202
|
+
top: 0;
|
|
203
|
+
border-bottom: 1px solid #ddd;
|
|
204
|
+
background: #fff;
|
|
205
|
+
margin: 0 -32px;
|
|
206
|
+
padding: 0 16px;
|
|
207
|
+
z-index: 1;
|
|
208
|
+
}
|
|
209
|
+
.font-library-modal__tablist-container [role=tablist] {
|
|
210
|
+
margin-bottom: -1px;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.font-library-modal__upload-area {
|
|
214
|
+
align-items: center;
|
|
215
|
+
display: flex;
|
|
216
|
+
justify-content: center;
|
|
217
|
+
height: 256px !important;
|
|
218
|
+
width: 100%;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
button.font-library-modal__upload-area {
|
|
222
|
+
background-color: #f0f0f0;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.font-library-modal__local-fonts {
|
|
226
|
+
margin: 0 auto;
|
|
227
|
+
width: 80%;
|
|
228
|
+
}
|
|
229
|
+
.font-library-modal__local-fonts .font-library-modal__upload-area__text {
|
|
230
|
+
color: #757575;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.font-library__google-fonts-confirm {
|
|
234
|
+
display: flex;
|
|
235
|
+
justify-content: center;
|
|
236
|
+
align-items: center;
|
|
237
|
+
margin-top: 64px;
|
|
238
|
+
}
|
|
239
|
+
.font-library__google-fonts-confirm p {
|
|
240
|
+
line-height: 1.4;
|
|
241
|
+
}
|
|
242
|
+
.font-library__google-fonts-confirm h2 {
|
|
243
|
+
font-size: 1.2rem;
|
|
244
|
+
font-weight: 400;
|
|
245
|
+
}
|
|
246
|
+
.font-library__google-fonts-confirm .components-card {
|
|
247
|
+
padding: 16px;
|
|
248
|
+
width: 400px;
|
|
249
|
+
}
|
|
250
|
+
.font-library__google-fonts-confirm .components-button {
|
|
251
|
+
width: 100%;
|
|
252
|
+
justify-content: center;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.font-library-modal__select-all {
|
|
256
|
+
padding: 16px 16px 16px 17px;
|
|
257
|
+
}
|
|
258
|
+
.font-library-modal__select-all .components-checkbox-control__label {
|
|
259
|
+
padding-left: 16px;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.global-styles-ui-pagination .components-button.is-tertiary {
|
|
263
|
+
width: 32px;
|
|
264
|
+
height: 32px;
|
|
265
|
+
justify-content: center;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.global-styles-ui-screen-revisions__revisions-list {
|
|
269
|
+
list-style: none;
|
|
270
|
+
margin: 0 16px 16px 16px;
|
|
271
|
+
flex-grow: 1;
|
|
272
|
+
}
|
|
273
|
+
.global-styles-ui-screen-revisions__revisions-list li {
|
|
274
|
+
margin-bottom: 0;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.global-styles-ui-screen-revisions__revision-item {
|
|
278
|
+
position: relative;
|
|
279
|
+
cursor: pointer;
|
|
280
|
+
display: flex;
|
|
281
|
+
flex-direction: column;
|
|
282
|
+
}
|
|
283
|
+
.global-styles-ui-screen-revisions__revision-item[role=option]:active, .global-styles-ui-screen-revisions__revision-item[role=option]:focus {
|
|
284
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
285
|
+
outline: 2px solid transparent;
|
|
286
|
+
}
|
|
287
|
+
.global-styles-ui-screen-revisions__revision-item:hover {
|
|
288
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
289
|
+
}
|
|
290
|
+
.global-styles-ui-screen-revisions__revision-item:hover .global-styles-ui-screen-revisions__date {
|
|
291
|
+
color: var(--wp-admin-theme-color);
|
|
292
|
+
}
|
|
293
|
+
.global-styles-ui-screen-revisions__revision-item::before, .global-styles-ui-screen-revisions__revision-item::after {
|
|
294
|
+
position: absolute;
|
|
295
|
+
content: "\a";
|
|
296
|
+
display: block;
|
|
297
|
+
}
|
|
298
|
+
.global-styles-ui-screen-revisions__revision-item::before {
|
|
299
|
+
background: #ddd;
|
|
300
|
+
border-radius: 50%;
|
|
301
|
+
height: 8px;
|
|
302
|
+
width: 8px;
|
|
303
|
+
top: 18px;
|
|
304
|
+
left: 17px;
|
|
305
|
+
transform: translate(-50%, -50%);
|
|
306
|
+
z-index: 1;
|
|
307
|
+
border: 4px solid transparent;
|
|
308
|
+
}
|
|
309
|
+
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] {
|
|
310
|
+
border-radius: 2px;
|
|
311
|
+
outline: 3px solid transparent;
|
|
312
|
+
outline-offset: -2px;
|
|
313
|
+
color: var(--wp-admin-theme-color);
|
|
314
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
315
|
+
}
|
|
316
|
+
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__date {
|
|
317
|
+
color: var(--wp-admin-theme-color);
|
|
318
|
+
}
|
|
319
|
+
.global-styles-ui-screen-revisions__revision-item[aria-selected=true]::before {
|
|
320
|
+
background: var(--wp-admin-theme-color);
|
|
321
|
+
}
|
|
322
|
+
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__changes > li,
|
|
323
|
+
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__meta,
|
|
324
|
+
.global-styles-ui-screen-revisions__revision-item[aria-selected=true] .global-styles-ui-screen-revisions__applied-text {
|
|
325
|
+
color: #1e1e1e;
|
|
326
|
+
}
|
|
327
|
+
.global-styles-ui-screen-revisions__revision-item::after {
|
|
328
|
+
height: 100%;
|
|
329
|
+
left: 16px;
|
|
330
|
+
top: 0;
|
|
331
|
+
width: 0;
|
|
332
|
+
border: 0.5px solid #ddd;
|
|
333
|
+
}
|
|
334
|
+
.global-styles-ui-screen-revisions__revision-item:first-child::after {
|
|
335
|
+
top: 18px;
|
|
336
|
+
}
|
|
337
|
+
.global-styles-ui-screen-revisions__revision-item:last-child::after {
|
|
338
|
+
height: 18px;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.global-styles-ui-screen-revisions__revision-item-wrapper {
|
|
342
|
+
display: block;
|
|
343
|
+
padding: 12px 12px 4px 40px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.global-styles-ui-screen-revisions__apply-button.is-primary,
|
|
347
|
+
.global-styles-ui-screen-revisions__applied-text {
|
|
348
|
+
align-self: flex-start;
|
|
349
|
+
margin: 4px 12px 12px 40px;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.global-styles-ui-screen-revisions__changes,
|
|
353
|
+
.global-styles-ui-screen-revisions__meta,
|
|
354
|
+
.global-styles-ui-screen-revisions__applied-text {
|
|
355
|
+
color: #757575;
|
|
356
|
+
font-size: 12px;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.global-styles-ui-screen-revisions__description {
|
|
360
|
+
display: flex;
|
|
361
|
+
flex-direction: column;
|
|
362
|
+
align-items: flex-start;
|
|
363
|
+
gap: 8px;
|
|
364
|
+
}
|
|
365
|
+
.global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
|
|
366
|
+
text-transform: uppercase;
|
|
367
|
+
font-weight: 600;
|
|
368
|
+
font-size: 12px;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.global-styles-ui-screen-revisions__meta {
|
|
372
|
+
display: flex;
|
|
373
|
+
justify-content: start;
|
|
374
|
+
width: 100%;
|
|
375
|
+
align-items: flex-start;
|
|
376
|
+
text-align: left;
|
|
377
|
+
margin-bottom: 4px;
|
|
378
|
+
}
|
|
379
|
+
.global-styles-ui-screen-revisions__meta img {
|
|
380
|
+
width: 16px;
|
|
381
|
+
height: 16px;
|
|
382
|
+
border-radius: 100%;
|
|
383
|
+
margin-right: 8px;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.global-styles-ui-screen-revisions__loading {
|
|
387
|
+
margin: 24px auto !important;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.global-styles-ui-screen-revisions__changes {
|
|
391
|
+
text-align: left;
|
|
392
|
+
line-height: 1.4;
|
|
393
|
+
margin-left: 12px;
|
|
394
|
+
list-style: disc;
|
|
395
|
+
}
|
|
396
|
+
.global-styles-ui-screen-revisions__changes li {
|
|
397
|
+
margin-bottom: 4px;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination {
|
|
401
|
+
justify-content: space-between;
|
|
402
|
+
gap: 2px;
|
|
403
|
+
}
|
|
404
|
+
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .edit-site-pagination__total {
|
|
405
|
+
position: absolute;
|
|
406
|
+
left: -1000px;
|
|
407
|
+
height: 1px;
|
|
408
|
+
margin: -1px;
|
|
409
|
+
overflow: hidden;
|
|
410
|
+
}
|
|
411
|
+
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-text {
|
|
412
|
+
font-size: 12px;
|
|
413
|
+
will-change: opacity;
|
|
414
|
+
}
|
|
415
|
+
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary {
|
|
416
|
+
color: #1e1e1e;
|
|
417
|
+
}
|
|
418
|
+
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary:disabled,
|
|
419
|
+
.global-styles-ui-screen-revisions__pagination.global-styles-ui-screen-revisions__pagination .components-button.is-tertiary[aria-disabled=true] {
|
|
420
|
+
color: #949494;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.global-styles-ui-screen-revisions__footer {
|
|
424
|
+
height: 56px;
|
|
425
|
+
z-index: 1;
|
|
426
|
+
position: sticky;
|
|
427
|
+
min-width: 100%;
|
|
428
|
+
bottom: 0;
|
|
429
|
+
background: #fff;
|
|
430
|
+
padding: 12px;
|
|
431
|
+
border-top: 1px solid #ddd;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.global-styles-ui-variations_item {
|
|
435
|
+
box-sizing: border-box;
|
|
436
|
+
cursor: pointer;
|
|
437
|
+
}
|
|
438
|
+
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
|
|
439
|
+
border-radius: 2px;
|
|
440
|
+
outline: 1px solid rgba(0, 0, 0, 0.1);
|
|
441
|
+
outline-offset: -1px;
|
|
442
|
+
overflow: hidden;
|
|
443
|
+
position: relative;
|
|
444
|
+
}
|
|
445
|
+
@media not (prefers-reduced-motion) {
|
|
446
|
+
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview {
|
|
447
|
+
transition: outline 0.1s linear;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview.is-pill {
|
|
451
|
+
height: 32px;
|
|
452
|
+
}
|
|
453
|
+
.global-styles-ui-variations_item .global-styles-ui-variations_item-preview.is-pill .block-editor-iframe__scale-container {
|
|
454
|
+
overflow: hidden;
|
|
455
|
+
}
|
|
456
|
+
.global-styles-ui-variations_item:not(.is-active):hover .global-styles-ui-variations_item-preview {
|
|
457
|
+
outline-color: rgba(0, 0, 0, 0.3);
|
|
458
|
+
}
|
|
459
|
+
.global-styles-ui-variations_item.is-active .global-styles-ui-variations_item-preview, .global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
|
|
460
|
+
outline-color: #1e1e1e;
|
|
461
|
+
outline-offset: 1px;
|
|
462
|
+
outline-width: var(--wp-admin-border-width-focus);
|
|
463
|
+
}
|
|
464
|
+
.global-styles-ui-variations_item:focus-visible .global-styles-ui-variations_item-preview {
|
|
465
|
+
outline-color: var(--wp-admin-theme-color);
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.global-styles-ui-preview {
|
|
469
|
+
display: flex;
|
|
470
|
+
align-items: center;
|
|
471
|
+
justify-content: center;
|
|
472
|
+
line-height: 1;
|
|
473
|
+
cursor: pointer;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.global-styles-ui-preview__wrapper {
|
|
477
|
+
max-width: 100%;
|
|
478
|
+
display: block;
|
|
479
|
+
width: 100%;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.global-styles-ui-typography-preview {
|
|
483
|
+
display: flex;
|
|
484
|
+
align-items: center;
|
|
485
|
+
justify-content: center;
|
|
486
|
+
min-height: 100px;
|
|
487
|
+
margin-bottom: 20px;
|
|
488
|
+
background: #f0f0f0;
|
|
489
|
+
border-radius: 2px;
|
|
490
|
+
overflow: hidden;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.global-styles-ui-font-size__item {
|
|
494
|
+
white-space: nowrap;
|
|
495
|
+
text-overflow: ellipsis;
|
|
496
|
+
overflow: hidden;
|
|
497
|
+
line-break: anywhere;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.global-styles-ui-font-size__item-value {
|
|
501
|
+
color: #757575;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.global-styles-ui-screen {
|
|
505
|
+
margin: 12px 16px 16px;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.global-styles-ui-screen-typography__indicator {
|
|
509
|
+
height: 24px;
|
|
510
|
+
width: 24px;
|
|
511
|
+
font-size: 14px;
|
|
512
|
+
display: flex !important;
|
|
513
|
+
align-items: center;
|
|
514
|
+
justify-content: center;
|
|
515
|
+
border-radius: 2px;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.global-styles-ui-block-types-search {
|
|
519
|
+
margin-bottom: 10px;
|
|
520
|
+
padding: 0 20px;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.global-styles-ui-screen-typography__font-variants-count {
|
|
524
|
+
color: #757575;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.global-styles-ui-font-families__manage-fonts {
|
|
528
|
+
justify-content: center;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.global-styles-ui-screen .color-block-support-panel {
|
|
532
|
+
padding-left: 0;
|
|
533
|
+
padding-right: 0;
|
|
534
|
+
padding-top: 0;
|
|
535
|
+
border-top: none;
|
|
536
|
+
row-gap: 12px;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.global-styles-ui-header__description {
|
|
540
|
+
padding: 0 16px;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.global-styles-ui-header {
|
|
544
|
+
margin-bottom: 0 !important;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.global-styles-ui-subtitle {
|
|
548
|
+
margin-bottom: 0 !important;
|
|
549
|
+
text-transform: uppercase;
|
|
550
|
+
font-weight: 499 !important;
|
|
551
|
+
font-size: 11px !important;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.global-styles-ui-section-title {
|
|
555
|
+
color: #2f2f2f;
|
|
556
|
+
font-weight: 600;
|
|
557
|
+
line-height: 1.2;
|
|
558
|
+
padding: 16px 16px 0;
|
|
559
|
+
margin: 0;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.global-styles-ui-icon-with-current-color {
|
|
563
|
+
fill: currentColor;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.global-styles-ui__color-indicator-wrapper {
|
|
567
|
+
height: 24px;
|
|
568
|
+
flex-shrink: 0;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
.global-styles-ui__shadows-panel__options-container,
|
|
572
|
+
.global-styles-ui__typography-panel__options-container {
|
|
573
|
+
height: 24px;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.global-styles-ui__block-preview-panel {
|
|
577
|
+
position: relative;
|
|
578
|
+
width: 100%;
|
|
579
|
+
border: #ddd 1px solid;
|
|
580
|
+
border-radius: 2px;
|
|
581
|
+
overflow: hidden;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.global-styles-ui__shadow-preview-panel {
|
|
585
|
+
height: 144px;
|
|
586
|
+
border: #ddd 1px solid;
|
|
587
|
+
border-radius: 2px;
|
|
588
|
+
overflow: auto;
|
|
589
|
+
background-image: repeating-linear-gradient(45deg, #f5f5f5 25%, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 75%, #f5f5f5 0, #f5f5f5), repeating-linear-gradient(45deg, #f5f5f5 25%, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 75%, #f5f5f5 0, #f5f5f5);
|
|
590
|
+
background-position: 0 0, 8px 8px;
|
|
591
|
+
background-size: 16px 16px;
|
|
592
|
+
}
|
|
593
|
+
.global-styles-ui__shadow-preview-panel .global-styles-ui__shadow-preview-block {
|
|
594
|
+
border: #ddd 1px solid;
|
|
595
|
+
border-radius: 2px;
|
|
596
|
+
background-color: #fff;
|
|
597
|
+
width: 60%;
|
|
598
|
+
height: 60px;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.global-styles-ui__shadow-editor__dropdown-content {
|
|
602
|
+
width: 280px;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.global-styles-ui__shadow-editor-panel {
|
|
606
|
+
margin-bottom: 4px;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.global-styles-ui__shadow-editor__dropdown {
|
|
610
|
+
width: 100%;
|
|
611
|
+
position: relative;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.global-styles-ui__shadow-editor__dropdown-toggle {
|
|
615
|
+
width: 100%;
|
|
616
|
+
height: auto;
|
|
617
|
+
padding-top: 8px;
|
|
618
|
+
padding-bottom: 8px;
|
|
619
|
+
text-align: left;
|
|
620
|
+
border-radius: inherit;
|
|
621
|
+
}
|
|
622
|
+
.global-styles-ui__shadow-editor__dropdown-toggle.is-open {
|
|
623
|
+
background: #f0f0f0;
|
|
624
|
+
color: var(--wp-admin-theme-color);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.global-styles-ui__shadow-editor__remove-button {
|
|
628
|
+
position: absolute;
|
|
629
|
+
right: 8px;
|
|
630
|
+
top: 8px;
|
|
631
|
+
opacity: 0;
|
|
632
|
+
}
|
|
633
|
+
.global-styles-ui__shadow-editor__remove-button.global-styles-ui__shadow-editor__remove-button {
|
|
634
|
+
border: none;
|
|
635
|
+
}
|
|
636
|
+
.global-styles-ui__shadow-editor__dropdown-toggle:hover + .global-styles-ui__shadow-editor__remove-button, .global-styles-ui__shadow-editor__remove-button:focus, .global-styles-ui__shadow-editor__remove-button:hover {
|
|
637
|
+
opacity: 1;
|
|
638
|
+
}
|
|
639
|
+
@media (hover: none) {
|
|
640
|
+
.global-styles-ui__shadow-editor__remove-button {
|
|
641
|
+
opacity: 1;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.global-styles-ui-screen-css {
|
|
646
|
+
flex: 1 1 auto;
|
|
647
|
+
display: flex;
|
|
648
|
+
flex-direction: column;
|
|
649
|
+
margin: 16px;
|
|
650
|
+
}
|
|
651
|
+
.global-styles-ui-screen-css .components-v-stack {
|
|
652
|
+
flex: 1 1 auto;
|
|
653
|
+
}
|
|
654
|
+
.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input {
|
|
655
|
+
flex: 1 1 auto;
|
|
656
|
+
display: flex;
|
|
657
|
+
flex-direction: column;
|
|
658
|
+
}
|
|
659
|
+
.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field {
|
|
660
|
+
flex: 1 1 auto;
|
|
661
|
+
display: flex;
|
|
662
|
+
flex-direction: column;
|
|
663
|
+
}
|
|
664
|
+
.global-styles-ui-screen-css .components-v-stack .block-editor-global-styles-advanced-panel__custom-css-input .components-base-control__field .components-textarea-control__input {
|
|
665
|
+
flex: 1 1 auto;
|
|
666
|
+
/*rtl:ignore*/
|
|
667
|
+
direction: ltr;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
.global-styles-ui-screen-css-help-link {
|
|
671
|
+
display: inline-block;
|
|
672
|
+
margin-top: 8px;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.global-styles-ui-screen-variations {
|
|
676
|
+
margin-top: 16px;
|
|
677
|
+
border-top: 1px solid #ddd;
|
|
678
|
+
}
|
|
679
|
+
.global-styles-ui-screen-variations > * {
|
|
680
|
+
margin: 24px 16px;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.global-styles-ui-sidebar__navigator-provider {
|
|
684
|
+
height: 100%;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.global-styles-ui-sidebar__navigator-screen {
|
|
688
|
+
display: flex;
|
|
689
|
+
flex-direction: column;
|
|
690
|
+
height: 100%;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.global-styles-ui-sidebar__navigator-screen .single-column {
|
|
694
|
+
grid-column: span 1;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.global-styles-ui-screen-root.global-styles-ui-screen-root,
|
|
698
|
+
.global-styles-ui-screen-style-variations.global-styles-ui-screen-style-variations {
|
|
699
|
+
background: unset;
|
|
700
|
+
color: inherit;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.global-styles-ui-sidebar__panel .block-editor-block-icon svg {
|
|
704
|
+
fill: currentColor;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.global-styles-ui-screen-root__active-style-tile.global-styles-ui-screen-root__active-style-tile, .global-styles-ui-screen-root__active-style-tile.global-styles-ui-screen-root__active-style-tile .global-styles-ui-screen-root__active-style-tile-preview {
|
|
708
|
+
border-radius: 2px;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.global-styles-ui-color-palette-panel,
|
|
712
|
+
.global-styles-ui-gradient-palette-panel {
|
|
713
|
+
padding: 16px;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.components-navigator-screen {
|
|
717
|
+
padding: 12px;
|
|
718
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if there is a current value in the background image block support
|
|
3
|
+
* attributes.
|
|
4
|
+
*
|
|
5
|
+
* @param style Style attribute.
|
|
6
|
+
* @return Whether the block has a background image value set.
|
|
7
|
+
*/
|
|
8
|
+
export declare function hasBackgroundImageValue(style: any): boolean;
|
|
9
|
+
export default function BackgroundPanel(): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=background-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background-panel.d.ts","sourceRoot":"","sources":["../src/background-panel.tsx"],"names":[],"mappings":"AAqBA;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAE,KAAK,EAAE,GAAG,GAAI,OAAO,CAM7D;AAED,MAAM,CAAC,OAAO,UAAU,eAAe,gCAmBtC"}
|