From 93ec41440e75d4a4d27898b85ebafe4a4c5253f1 Mon Sep 17 00:00:00 2001 From: Bagus <25834188+contactjavas@users.noreply.github.com> Date: Fri, 11 Feb 2022 23:20:04 +0700 Subject: [PATCH] update package: module-css --- composer.lock | 12 ++++++------ packages/composer/autoload_psr4.php | 2 +- packages/composer/autoload_static.php | 18 +++++++++--------- packages/composer/installed.json | 14 +++++++------- packages/composer/installed.php | 10 +++++----- .../module-css/src/CSS/Output.php | 2 ++ 6 files changed, 30 insertions(+), 28 deletions(-) diff --git a/composer.lock b/composer.lock index d50918bbf..6722ff023 100644 --- a/composer.lock +++ b/composer.lock @@ -1603,16 +1603,16 @@ }, { "name": "kirki-framework/module-css", - "version": "v1.0.8", + "version": "v1.0.9", "source": { "type": "git", "url": "https://github.com/kirki-framework/module-css.git", - "reference": "8684b335be44382c52a61e7eda3bf0cfdfabbc2f" + "reference": "96645a327b1a60e1d29fd0193e85f1346b9b268f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kirki-framework/module-css/zipball/8684b335be44382c52a61e7eda3bf0cfdfabbc2f", - "reference": "8684b335be44382c52a61e7eda3bf0cfdfabbc2f", + "url": "https://api.github.com/repos/kirki-framework/module-css/zipball/96645a327b1a60e1d29fd0193e85f1346b9b268f", + "reference": "96645a327b1a60e1d29fd0193e85f1346b9b268f", "shasum": "" }, "require": { @@ -1644,9 +1644,9 @@ ], "support": { "issues": "https://github.com/kirki-framework/module-css/issues", - "source": "https://github.com/kirki-framework/module-css/tree/v1.0.8" + "source": "https://github.com/kirki-framework/module-css/tree/v1.0.9" }, - "time": "2022-02-09T12:32:40+00:00" + "time": "2022-02-11T16:17:00+00:00" }, { "name": "kirki-framework/module-editor-styles", diff --git a/packages/composer/autoload_psr4.php b/packages/composer/autoload_psr4.php index 125484e40..9caf1d2d9 100644 --- a/packages/composer/autoload_psr4.php +++ b/packages/composer/autoload_psr4.php @@ -8,7 +8,7 @@ return array( 'Kirki\\Util\\' => array($vendorDir . '/kirki-framework/control-dashicons/src/Util', $vendorDir . '/kirki-framework/util/src'), 'Kirki\\Settings\\' => array($vendorDir . '/kirki-framework/control-repeater/src/Settings'), - 'Kirki\\Module\\' => array($vendorDir . '/kirki-framework/module-css/src', $vendorDir . '/kirki-framework/module-editor-styles/src', $vendorDir . '/kirki-framework/module-field-dependencies/src', $vendorDir . '/kirki-framework/module-postmessage/src', $vendorDir . '/kirki-framework/module-preset/src', $vendorDir . '/kirki-framework/module-section-icons/src', $vendorDir . '/kirki-framework/module-selective-refresh/src', $vendorDir . '/kirki-framework/module-tooltips/src', $vendorDir . '/kirki-framework/module-webfonts/src'), + 'Kirki\\Module\\' => array($vendorDir . '/kirki-framework/module-editor-styles/src', $vendorDir . '/kirki-framework/module-field-dependencies/src', $vendorDir . '/kirki-framework/module-postmessage/src', $vendorDir . '/kirki-framework/module-preset/src', $vendorDir . '/kirki-framework/module-section-icons/src', $vendorDir . '/kirki-framework/module-selective-refresh/src', $vendorDir . '/kirki-framework/module-tooltips/src', $vendorDir . '/kirki-framework/module-webfonts/src', $vendorDir . '/kirki-framework/module-css/src'), 'Kirki\\Field\\' => array($vendorDir . '/kirki-framework/control-checkbox/src/Field', $vendorDir . '/kirki-framework/control-code/src/Field', $vendorDir . '/kirki-framework/control-color/src/Field', $vendorDir . '/kirki-framework/control-color-palette/src/Field', $vendorDir . '/kirki-framework/control-custom/src/Field', $vendorDir . '/kirki-framework/control-dashicons/src/Field', $vendorDir . '/kirki-framework/control-date/src/Field', $vendorDir . '/kirki-framework/control-dimension/src/Field', $vendorDir . '/kirki-framework/control-editor/src/Field', $vendorDir . '/kirki-framework/control-generic/src/Field', $vendorDir . '/kirki-framework/control-image/src/Field', $vendorDir . '/kirki-framework/control-multicheck/src/Field', $vendorDir . '/kirki-framework/control-palette/src/Field', $vendorDir . '/kirki-framework/control-radio/src/Field', $vendorDir . '/kirki-framework/control-react-colorful/src/Field', $vendorDir . '/kirki-framework/control-react-select/src/Field', $vendorDir . '/kirki-framework/control-repeater/src/Field', $vendorDir . '/kirki-framework/control-select/src/Field', $vendorDir . '/kirki-framework/control-slider/src/Field', $vendorDir . '/kirki-framework/control-sortable/src/Field', $vendorDir . '/kirki-framework/control-upload/src/Field', $vendorDir . '/kirki-framework/field-background/src', $vendorDir . '/kirki-framework/field-dimensions/src', $vendorDir . '/kirki-framework/field-fontawesome/src/Field', $vendorDir . '/kirki-framework/field-multicolor/src/Field', $vendorDir . '/kirki-framework/field-typography/src/Field'), 'Kirki\\Data\\' => array($vendorDir . '/kirki-framework/data-option/src'), 'Kirki\\Control\\' => array($vendorDir . '/kirki-framework/control-base/src/Control', $vendorDir . '/kirki-framework/control-checkbox/src/Control', $vendorDir . '/kirki-framework/control-code/src/Control', $vendorDir . '/kirki-framework/control-color/src/Control', $vendorDir . '/kirki-framework/control-color-palette/src/Control', $vendorDir . '/kirki-framework/control-cropped-image/src', $vendorDir . '/kirki-framework/control-custom/src/Control', $vendorDir . '/kirki-framework/control-dashicons/src/Control', $vendorDir . '/kirki-framework/control-date/src/Control', $vendorDir . '/kirki-framework/control-dimension/src/Control', $vendorDir . '/kirki-framework/control-editor/src/Control', $vendorDir . '/kirki-framework/control-generic/src/Control', $vendorDir . '/kirki-framework/control-image/src/Control', $vendorDir . '/kirki-framework/control-multicheck/src/Control', $vendorDir . '/kirki-framework/control-palette/src/Control', $vendorDir . '/kirki-framework/control-radio/src/Control', $vendorDir . '/kirki-framework/control-react-colorful/src/Control', $vendorDir . '/kirki-framework/control-react-select/src/Control', $vendorDir . '/kirki-framework/control-repeater/src/Control', $vendorDir . '/kirki-framework/control-select/src/Control', $vendorDir . '/kirki-framework/control-slider/src/Control', $vendorDir . '/kirki-framework/control-sortable/src/Control', $vendorDir . '/kirki-framework/control-upload/src/Control', $vendorDir . '/kirki-framework/field-multicolor/src/Control', $vendorDir . '/kirki-framework/field-typography/src/Control'), diff --git a/packages/composer/autoload_static.php b/packages/composer/autoload_static.php index 6486b9fef..ee03e9bd3 100644 --- a/packages/composer/autoload_static.php +++ b/packages/composer/autoload_static.php @@ -40,15 +40,15 @@ class ComposerStaticInitc56aa391ac498061f8d648878e0e6144 ), 'Kirki\\Module\\' => array ( - 0 => __DIR__ . '/..' . '/kirki-framework/module-css/src', - 1 => __DIR__ . '/..' . '/kirki-framework/module-editor-styles/src', - 2 => __DIR__ . '/..' . '/kirki-framework/module-field-dependencies/src', - 3 => __DIR__ . '/..' . '/kirki-framework/module-postmessage/src', - 4 => __DIR__ . '/..' . '/kirki-framework/module-preset/src', - 5 => __DIR__ . '/..' . '/kirki-framework/module-section-icons/src', - 6 => __DIR__ . '/..' . '/kirki-framework/module-selective-refresh/src', - 7 => __DIR__ . '/..' . '/kirki-framework/module-tooltips/src', - 8 => __DIR__ . '/..' . '/kirki-framework/module-webfonts/src', + 0 => __DIR__ . '/..' . '/kirki-framework/module-editor-styles/src', + 1 => __DIR__ . '/..' . '/kirki-framework/module-field-dependencies/src', + 2 => __DIR__ . '/..' . '/kirki-framework/module-postmessage/src', + 3 => __DIR__ . '/..' . '/kirki-framework/module-preset/src', + 4 => __DIR__ . '/..' . '/kirki-framework/module-section-icons/src', + 5 => __DIR__ . '/..' . '/kirki-framework/module-selective-refresh/src', + 6 => __DIR__ . '/..' . '/kirki-framework/module-tooltips/src', + 7 => __DIR__ . '/..' . '/kirki-framework/module-webfonts/src', + 8 => __DIR__ . '/..' . '/kirki-framework/module-css/src', ), 'Kirki\\Field\\' => array ( diff --git a/packages/composer/installed.json b/packages/composer/installed.json index 541d1c31b..153a0a227 100644 --- a/packages/composer/installed.json +++ b/packages/composer/installed.json @@ -1920,24 +1920,24 @@ }, { "name": "kirki-framework/module-css", - "version": "v1.0.8", - "version_normalized": "1.0.8.0", + "version": "v1.0.9", + "version_normalized": "1.0.9.0", "source": { "type": "git", "url": "https://github.com/kirki-framework/module-css.git", - "reference": "8684b335be44382c52a61e7eda3bf0cfdfabbc2f" + "reference": "96645a327b1a60e1d29fd0193e85f1346b9b268f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kirki-framework/module-css/zipball/8684b335be44382c52a61e7eda3bf0cfdfabbc2f", - "reference": "8684b335be44382c52a61e7eda3bf0cfdfabbc2f", + "url": "https://api.github.com/repos/kirki-framework/module-css/zipball/96645a327b1a60e1d29fd0193e85f1346b9b268f", + "reference": "96645a327b1a60e1d29fd0193e85f1346b9b268f", "shasum": "" }, "require": { "kirki-framework/util": "*", "php": ">=7.0" }, - "time": "2022-02-09T12:32:40+00:00", + "time": "2022-02-11T16:17:00+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -1964,7 +1964,7 @@ ], "support": { "issues": "https://github.com/kirki-framework/module-css/issues", - "source": "https://github.com/kirki-framework/module-css/tree/v1.0.8" + "source": "https://github.com/kirki-framework/module-css/tree/v1.0.9" }, "install-path": "../kirki-framework/module-css" }, diff --git a/packages/composer/installed.php b/packages/composer/installed.php index bc411d48e..5489d1285 100644 --- a/packages/composer/installed.php +++ b/packages/composer/installed.php @@ -5,7 +5,7 @@ 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '29c068f623be7472286f956aab899587acdff159', + 'reference' => '7ae106fdc231ca01a302d0dfd39baf61c3356aec', 'name' => 'kirki-framework/kirki', 'dev' => true, ), @@ -322,7 +322,7 @@ 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '29c068f623be7472286f956aab899587acdff159', + 'reference' => '7ae106fdc231ca01a302d0dfd39baf61c3356aec', 'dev_requirement' => false, ), 'kirki-framework/l10n' => array( @@ -335,12 +335,12 @@ 'dev_requirement' => false, ), 'kirki-framework/module-css' => array( - 'pretty_version' => 'v1.0.8', - 'version' => '1.0.8.0', + 'pretty_version' => 'v1.0.9', + 'version' => '1.0.9.0', 'type' => 'library', 'install_path' => __DIR__ . '/../kirki-framework/module-css', 'aliases' => array(), - 'reference' => '8684b335be44382c52a61e7eda3bf0cfdfabbc2f', + 'reference' => '96645a327b1a60e1d29fd0193e85f1346b9b268f', 'dev_requirement' => false, ), 'kirki-framework/module-editor-styles' => array( diff --git a/packages/kirki-framework/module-css/src/CSS/Output.php b/packages/kirki-framework/module-css/src/CSS/Output.php index 0db52b878..b39cda99c 100644 --- a/packages/kirki-framework/module-css/src/CSS/Output.php +++ b/packages/kirki-framework/module-css/src/CSS/Output.php @@ -264,12 +264,14 @@ protected function parse_output() { foreach ( $elms as $index => $elm ) { if ( ! empty( $elm ) ) { $elms[ $index ] = '.editor-styles-wrapper ' . $elm; + $elms[ $index ] = str_ireplace( '.editor-styles-wrapper :root', '.editor-styles-wrapper', $elms[ $index ] ); } } $output['element'] = implode( ',', $elms ); } else { $output['element'] = '.editor-styles-wrapper ' . $output['element']; + $output['element'] = str_ireplace( '.editor-styles-wrapper :root', '.editor-styles-wrapper', $output['element'] ); } } }