diff --git a/.babelrc b/.babelrc index 6fc6678e..ebc6f808 100644 --- a/.babelrc +++ b/.babelrc @@ -4,12 +4,6 @@ "@babel/preset-react" ], "plugins": [ - "@babel/plugin-proposal-class-properties"/*, - [ - "@wordpress/babel-plugin-makepot", - { - "output": "languages/ang-js.pot" - } - ]*/ + "@babel/plugin-proposal-class-properties" ] } diff --git a/.nvmrc b/.nvmrc index f599e28b..8351c193 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -10 +14 diff --git a/analogwp-templates.php b/analogwp-templates.php index 47f507db..7eaa2095 100644 --- a/analogwp-templates.php +++ b/analogwp-templates.php @@ -10,14 +10,14 @@ * Plugin Name: Style Kits for Elementor * Plugin URI: https://analogwp.com/ * Description: Style Kits extends the Elementor theme styles editor with more global styling options. Boost your design workflow in Elementor with intuitive global controls and theme style presets. - * Version: 2.0.9 + * Version: 2.1.0 * Author: AnalogWP * Author URI: https://analogwp.com/ * License: GPL2 * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: ang - * Elementor tested up to: 3.21.1 - * Elementor Pro tested up to: 3.21.0 + * Elementor tested up to: 3.23.4 + * Elementor Pro tested up to: 3.23.3 */ defined( 'ABSPATH' ) || exit; @@ -25,7 +25,7 @@ define( 'ANG_ELEMENTOR_MINIMUM', '3.10.0' ); define( 'ANG_PHP_MINIMUM', '7.0' ); define( 'ANG_WP_MINIMUM', '6.0' ); -define( 'ANG_VERSION', '2.0.9' ); +define( 'ANG_VERSION', '2.1.0' ); define( 'ANG_PLUGIN_FILE', __FILE__ ); define( 'ANG_PLUGIN_URL', plugin_dir_url( ANG_PLUGIN_FILE ) ); define( 'ANG_PLUGIN_DIR', plugin_dir_path( ANG_PLUGIN_FILE ) ); diff --git a/client/App.js b/client/App.js index 8d29fbea..6fb3a5b7 100644 --- a/client/App.js +++ b/client/App.js @@ -6,6 +6,7 @@ import Header from './Header'; import Notifications from './Notifications'; import { getTime, getPageComponents, hasProTemplates } from './utils'; const { apiFetch } = wp; +import 'regenerator-runtime/runtime'; const Analog = styled.div` margin: 0 0 0 -20px; diff --git a/client/api.js b/client/api.js index 1456ea35..b8b91651 100644 --- a/client/api.js +++ b/client/api.js @@ -1,6 +1,7 @@ /* global elementorCommon, analog */ const { apiFetch } = wp; const { __ } = wp.i18n; +import 'regenerator-runtime/runtime'; export async function markFavorite( id, favorite = true, type = 'template' ) { return await apiFetch( { diff --git a/inc/Database_Upgrader.php b/inc/Database_Upgrader.php index 3bb7eec6..0f6803e8 100644 --- a/inc/Database_Upgrader.php +++ b/inc/Database_Upgrader.php @@ -7,6 +7,8 @@ namespace Analog; +use Analog\API\Remote; + /** * Class Database_Upgrader */ @@ -38,6 +40,7 @@ public function init() { '2.0.0' => 'upgrade_2_0', '2.0.5' => 'upgrade_2_0_5', '2.0.6' => 'upgrade_2_0_6', + '2.1.0' => 'upgrade_2_1', ); $version = get_option( self::OPTION, '0.0.0' ); @@ -182,4 +185,14 @@ protected function upgrade_2_0_6() { // Regenerate Elementor CSS. Utils::clear_elementor_cache(); } + + /** + * Refresh the templates library. + * + * @return void + */ + protected function upgrade_2_1() { + // Refresh templates library. + Remote::get_instance()->get_templates_info( true ); + } } diff --git a/inc/elementor/Google_Fonts.php b/inc/elementor/Google_Fonts.php index 6078e33f..9449ec20 100644 --- a/inc/elementor/Google_Fonts.php +++ b/inc/elementor/Google_Fonts.php @@ -57,7 +57,7 @@ public function add_fonts_to_elementor( $additional_fonts ) { if ( $fonts ) { $fonts = json_decode( $fonts, true ); - if ( count( $fonts ) ) { + if ( is_array( $fonts ) && count( $fonts ) ) { $formatted_fonts = array(); foreach ( $fonts as $font ) { diff --git a/inc/settings/views/html-admin-settings.php b/inc/settings/views/html-admin-settings.php index 25988785..37f754ea 100644 --- a/inc/settings/views/html-admin-settings.php +++ b/inc/settings/views/html-admin-settings.php @@ -91,13 +91,6 @@

-
-

-

- - -

-

diff --git a/languages/ang-analogwp-app.json b/languages/ang-analogwp-app.json index 96379b9f..f229046c 100644 --- a/languages/ang-analogwp-app.json +++ b/languages/ang-analogwp-app.json @@ -1 +1 @@ -{"domain":"messages","locale_data":{"messages":{"":{"domain":"messages"},"Style Kits for Elementor":[""],"https://analogwp.com/":[""],"Style Kits extends the Elementor theme styles editor with more global styling options. Boost your design workflow in Elementor with intuitive global controls and theme style presets.":[""],"AnalogWP":[""],"Style Kit for Elementor requires PHP version %s":[""],"Error Activating":[""],"Style Kits requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.":[""],"Style Kits requires Elementor v%s or newer in order to work. Please update Elementor to the latest version.":[""],"Update Elementor Now":[""],"Rollback to v%s":[""],"Style Kits is not working because you need to activate the Elementor plugin.":[""],"Activate Elementor Now":[""],"Style Kits is not working because you need to install the Elementor plugin.":[""],"Install Elementor Now":[""],"Enjoyed %1$s? Please leave us a %2$s rating. We really appreciate your support!":[""],"View Documentation":[""],"Documentation":[""],"Get Support":[""],"Style Kits for Elementor Logo":[""],"Invalid or expired license provided.":[""],"No options key provided.":[""],"Setting updated.":[""],"Invalid param(s).":[""],"Please provide a title.":[""],"Unable to create a Kit":[""],"The new Theme Style Kit has been saved and applied on this page.":[""],"Please provide a valid post ID.":[""],"Invalid Post ID":[""],"Invalid Style Kit ID.":[""],"Invalid license provided.":[""],"Invalid token data returned":[""],"Invalid Block ID.":[""],"Your settings have been saved.":[""],"The changes you made will be lost if you navigate away from this page.":[""],"Template Kit file downloaded.":[""],"Import it into Elementor":[""],"Toggle":[""],"Refresh":[""],"Something went wrong.":[""],"Once Weekly":[""],"AnalogWP Classes":[""],"Welcome to Style Kits":[""],"Working...":[""],"Install and Activate Elementor":[""],"This will install and activate Elementor from the WordPress repository":[""],"Elementor is installed and activated":[""],"Failed to install and activate Elementor":[""],"Enable Elementor container feature":[""],"The latest Style Kits version works best with flexbox containers. We will enable the Containers feature in Elementor.":[""],"Container feature is now active":[""],"Failed to activate Elementor container experiment":[""],"Disable Elementor default colors and fonts":[""],"For Global Styles to work properly, Elementor default fonts and colors need to be disabled":[""],"Elementor default colors and fonts are disabled":[""],"Failed to disable Elementor default colors and fonts":[""],"Install and activate Hello Elementor Theme":[""],"Style Kits works best with Elementor Hello theme. This will replace your currently active theme":[""],"Hello Elementor theme is installed and activated":[""],"Failed to install and activate Hello Elementor":[""],"Import a starter theme style preset":[""],"Use a basic Style Kit as your starting point. This will replace your site’s default kit but you can always revert back to it later.":[""],"A theme style preset \"Style Kit: Base\" has been imported":[""],"Failed to import a kit":[""],"Docs":[""],"Setup Elementor properly for a seamless Style Kits Experience.":[""],"Learn more":[""],"Looks like you have everything in place.":[""],"Skip wizard":[""],"Apply":[""],"Go to Dashboard":[""],"Open a new template":[""],"Style Kit: Test Page":[""],"Oops, something went wrong at action: ":[""],"Style Kit":[""],"Hey! You have been using %1$s for over 2 weeks, we hope you enjoy it! If so, please leave a positive %2$s.":[""],"review on WordPress.org":[""],"Unable to sanitize this file hence it wasn't uploaded!":[""],"Full Size":[""],"Thumbnail":[""],"Medium":[""],"Large":[""],"This will clean-up all the values from the current Theme Style kit. If you need to revert, you can do so at the Revisions tab.":[""],"Are you sure?":[""],"Clone Style Kit":[""],"Save":[""],"Cancel":[""],"Style Kit name":[""],"Insert Style Kit":[""],"Please select a Style Kit first.":[""],"— Select a Style Kit —":[""],"Style Kit Updated.":[""],"Update Style Kit":[""],"This action will update the Style Kit with the latest changes, and will affect all the pages that the style kit is used on. Do you wish to proceed?":[""],"Meet Style Kits for Elementor":[""],"Take control of your design in the macro level, with local or global settings for typography and spacing. %s.":[""],"View Styles":[""],"Style Kits":[""],"Export CSS":[""],"Copy CSS":[""],"CSS copied":[""],"Style Kit Update Detected":[""],"

The Style kit used by this page has been updated, click ‘Apply Changes’ to apply the latest changes.

Click Discard to keep your current page styles and detach the page from the Style Kit

":[""],"Discard":[""],"Apply Changes":[""],"Ok, got it.":[""],"Go to Page Style":[""],"This template offers global typography and spacing control, through the Page Style tab.":[""],"Typography, column gaps and more, are controlled layout-wide at Page Styles Panel, giving you the flexibility you need over the design of this template. You can save the styles and apply them to any other page. Learn More.":[""],"CSS Variables":[""],"Remove Page ID from the CSS":[""],"This will revert the color palette and the color labels to their defaults. You can undo this action from the revisions tab.":[""],"This will revert the global font labels & values to their defaults. You can undo this action from the revisions tab.":[""],"This will revert the container preset labels & values to their defaults. You can undo this action from the revisions tab.":[""],"This will revert the box shadow presets to their defaults. You can undo this action from the revisions tab.":[""],"All good. The new Style Kit has been applied on this page!":[""],"Switch Style Kit":[""],"Back to Editor":[""],"Set the accent colors of your layout.":[""],"Learn more.":[""],"The primary accent color applies on links, icons, and other elements. You can also define the text link color in the Typography panel.":[""],"Primary Accent":[""],"The default button color. You can also define button colors under the Buttons panel, and individually for each button size under Buttons Sizes panel.":[""],"Secondary Accent":[""],"Style Kit Colors":[""],"The Style Kit's color palette.":[""],"Read more":[""],"1-16":[""],"Site background":[""],"Light background":[""],"Dark background":[""],"Background 4":[""],"Accent 1":[""],"Accent 2":[""],"Accent 3":[""],"Accent 4":[""],"Titles":[""],"Normal text":[""],"Secondary text":[""],"Inverted text":[""],"Border":[""],"Color Style 14":[""],"Color Style 15":[""],"Color Style 16":[""],"Reset labels & colors":[""],"Reset":[""],"Style Kits for Elementor Shortcuts":[""],"Templates Library":[""],"Settings":[""],"Theme Style Kits":[""],"Add New Style Kit":[""],"New Style Kit":[""],"Edit Style Kit":[""],"View Style Kit":[""],"Search Style Kits":[""],"Parent Style Kits:":[""],"No Style Kit found.":[""],"No Style Kit found in Trash.":[""],"Sorry, you are not allowed to rollback Style Kits plugin for this site.":[""],"Error occurred, the version selected is invalid. Try selecting different version.":[""],"Rollback to Previous Version":[""],"Style Kit: %s ":[""],"Apply Global Style Kit":[""],"Headings Typography":[""],"These settings apply to all Headings in your layout. You can still override individual values at each element.":[""],"Heading %s":[""],"Body Typography":[""],"Recently Imported":[""],"Typographic Sizes":[""],"Heading Sizes":[""],"Edit the available sizes for the Heading Element.":[""],"XXL":[""],"XL":[""],"Small":[""],"Heading":[""],"Text Sizes":[""],"Edit the available sizes for the p, span, and div tags of the Heading Element.":[""],"Text":[""],"Container Spacing":[""],"The default container padding is set in Elementor Theme Styles > Layout Settings > ":[""],"Container padding":[""],"Create additional spacing presets.":[""],"No Padding Styles":[""],"1-8":[""],"XXL - Hero Section":[""],"XL - Primary Section":[""],"Large - Box":[""],"Medium - Box":[""],"Small - Box":[""],"Padding 6":[""],"Padding 7":[""],"Padding 8":[""],"Reset labels and values to default":[""],"Create additional spacing presets in ":[""],"Default":[""],"Normal":[""],"Extra Large":[""],"Outer Section Padding":[""],"Add padding to the outer sections of your layouts by using these controls.":[""],"Default Padding":[""],"Narrow Padding":[""],"Extended Padding":[""],"Wide Padding":[""],"Wider Padding":[""],"Column Gaps":[""],"Column Gap presets add padding to the columns of a section.":[""],"Space Between Widgets":[""],"Sets the default space between widgets, overrides the default value set in Elementor > Style > Space Between Widgets.":[""],"Button Sizes":[""],"Heads-up! This is a legacy feature, no longer supported in Elementor.":[""],"Define the default styles for every button size.":[""],"XS":[""],"S":[""],"M":[""],"L":[""],"Typography":[""],"Normal Styling":[""],"Text Color":[""],"Background Color":[""],"Border Radius":[""],"Hover Styling":[""],"Padding":[""],"Select a different Style Kit to be applied on this page. The page will reload after your selection.":[""],"Select Style Kit":[""],"This will override your site's Global Style Kit for this page.":[""],"Page Style Kit":[""],"Set your Global Style Kit here":[""],"Manage Style Kit":[""],"This will reset the Theme Style Kit and clean up any values.":[""],"Reset Theme Style Kit":[""],"Save the current styles as a different Theme Style Kit. You can then apply it on other pages, or globally.":[""],"Clone":[""],"Export Theme Style Kit CSS":[""],"Export":[""],"No Padding":[""],"Spacing Preset":[""],"Edit in Style Kits":[""],"None":[""],"Light Background":[""],"Accent Background":[""],"Background presets":[""],"Headings":[""],"Headings Color":[""],"Headings Font":[""],"You can set individual heading font and colors below.":[""],"Style Kit Fonts":[""],"The Style Kit's typographic styles.":[""],"Display title":[""],"Title 1":[""],"Title 2":[""],"Title 3":[""],"Title 4":[""],"Title 5":[""],"Title 6":[""],"Overline / Subheader":[""],"Display text":[""],"Large text":[""],"Small text":[""],"Caption":[""],"Button text":[""],"Form label":[""],"Font Style 16":[""],"Reset labels & fonts":[""],"Shadows":[""],"Add global shadow presets by using these controls.":[""],"Shadow 1":[""],"Shadow 2":[""],"Shadow 3":[""],"Shadow 4":[""],"Shadow 5":[""],"Shadow 6":[""],"Shadow 7":[""],"Shadow 8":[""],"Reset to default":[""],"Box Shadow Preset":[""],"No posts found.":[""],"%s ago":[""],"Published":[""],"Title":[""],"Type":[""],"Kit":[""],"Author":[""],"Date":[""],"%s (Edit)":[""],"Edit":[""],"Trash":[""],"View":[""],"Edit with Elementor":[""],"Move to Trash":[""],"Filter by Style Kit":[""],"Filter":[""],"Instance List":[""],"No Kits found.":[""],"Entire Site":[""],"Instances":[""],"Draft":[""],"Global Style Kit":[""],"Export Theme Style Kit":[""],"Local Style Kits":[""],"Choose an Elementor template JSON file or a .zip archive of Elementor templates, and add them to the list of templates available in your library.":[""],"Import Now":[""],"A list of all the imported and custom Style Kits. A global Style Kit is the one that applies globally on your site. You can set a Global Style Kit below.":[""],"Error occured while requesting Style Kit data.":[""],"Style Kit imported":[""],"All good! The Style Kit has been set as Global.":[""],"View site":[""],"Are you sure you want to delete this Style Kit?":[""],"By removing this template you will delete the entire Style Kit, and all the related global style settings.":[""],"Delete Style Kit":[""],"Layout Tools":[""],"Handy tools to clean inline styles from your existing layouts and make them global-design-ready. Highlight elements that have Classes or custom CSS.":[""],"Advanced Form Controls":[""],"Offers controls to customize form column/rows gap, label spacing, and form messages colors.":[""],"Go Pro":[""],"Learn More":[""],"Accent":[""],"Accent Background Color":[""],"Enjoy better background color control in your layouts by adding a third background color class. Available in Style Kits Pro.":[""],"9-16":[""],"Extend your container spacing system with more variables, plus many more features with Style Kits Pro.":[""],"17-24":[""],"17-32":[""],"Extend your color system with more variables, plus many more features with Style Kits Pro.":[""],"33-48":[""],"Extend your typography system with more variables, plus many more features with Style Kits Pro.":[""],"Extend your shadows system with more variables, plus many more features with Style Kits Pro.":[""],"Light":[""],"Add the class sk-light-bg to a section or column to apply these colors.":[""],"Dark":[""],"Add the class sk-dark-bg to a section or column to apply these colors.":[""],"Dark Background":[""],"Style Kits Library":[""],"Library":[""],"Style Kits Settings":[""],"Experiments":[""],"Active":[""],"Inactive":[""],"Style Kits Experiments":[""],"Below you can activate experimental features for Style Kits and Style Kits Pro. We suggest you to turn on backups while using these experiments. %s about how this works.":[""],"Container-based Library":[""],"Get access to the container-based library of Patterns. You need to have the Containers Feature activated in Elementor, to test the new library.":[""],"Extensions":[""],"General":[""],"Starter Kit":[""],"Always import templates using the Global Style Kit. %s":[""],"This option is now in %s page.":[""],"Helps importing SVGs in templates. %s":[""],"Hide legacy features from the Style Kit panel. %s":[""],"Trigger the setup wizard manually":[""],"Restart wizard":[""],"Download Starter Kit":[""],"Download ZIP":[""],"View Demo":[""],"Style Kits Pro":[""],"Misc":[""],"Usage Data Tracking":[""],"Opt-in to our anonymous plugin data collection and to updates":[""],"We guarantee no sensitive data is collected. ":[""],"More Info":[""],"Remove Data on Uninstall":[""],"Check this box to remove all data stored by Style Kit for Elementor plugin, including license info, user settings, import history etc. Any imported or manually saved Style Kits are not removed.":[""],"Version Control":[""],"Rollback Versions":[""],"If you are having issues with current version of Style Kits for Elementor, you can rollback to a previous stable version.":[""],"Rollback Style Kits":[""],"Reinstall this version":[""],"Beta Features":[""],"Become a beta tester":[""],"Check this box to turn on beta updates for Style Kits and Style Kits Pro. The update will not be installed automatically, you always have the option to ignore it.":[""],"Transform your design workflow in Elementor with Style Kits PRO":[""],"Unlimited access to the container-based pattern library":[""],"Unlimited access to the entire collection of Global theme style presets":[""],"Unlock up to 48 Global Style Kit Fonts and Colors":[""],"Unlock up to 24 container spacing presets":[""],"Hide any Style Kit reference from your clients, based on user roles":[""],"Style Kits front-end switcher":[""],"Selectively de-activate Style Kits Panels from the site settings sidebar":[""],".. and much more.":[""],"Explore Style Kits Pro":[""],"Save changes":[""],"Upgrade to Style Kits Pro with a 15% discount":[""],"Your Email":[""],"First Name":[""],"Send me the coupon":[""],"By submitting your details, you agree to our %s.":[""],"privacy policy":[""],"Need help with Style Kits?":[""],"Visit the online docs":[""],"Join our Facebook group":[""],"Get insights, tips and updates in our facebook community.":[""],"Join now":[""],"Sign up for email updates":[""],"Stay in the loop with Style Kits development by signing up to our newsletter.":[""],"Sign me up":[""],"By signing up you agree to our":[""],"privacy and terms":[""],"Welcome to Style Kits 1.9.5. This version includes a brand new container-based pattern library, and a lot of other improvements.":[""],"See what’s new.":[""],"The New version of Style Kits introduces a setup wizard. You can trigger it at any time under Style Kits Settings.":[""],"Global: %s":[""],"Subscribing":[""],"Failed":[""],"Subscribe up to newsletter":[""],"Subscribed":[""],"Template":[""],"Block":[""],"Add Style Kits":[""],"Get unlimited access to the Style Kits library and features with the PRO version.":[""],"View Plans":[""],"New":[""],"Preview":[""],"Import":[""],"Pro":[""],"Patterns":[""],"Blocks":[""],"Templates":[""],"Styles":[""],"Library is now synced":[""],"Something is not right, please try again.":[""],"Syncing...":[""],"Sync Library":[""],"Close":[""],"All template types":[""],"Newest first":[""],"Popular":[""],"Both Free and Pro":[""],"Free":[""],"Template Kit":[""],"Back to all Kits":[""],"Back to all":[""],"Favorites":[""],"Search templates...":[""],"%s in WordPress dashboard.":[""],"Manage your Style Kits":[""]," Imported!":[""],"Style Kits are ready-made configurations of theme styles. When you import a Style Kit, it will be available in the":[""],"page":[""],"You will then be able apply it globally, or on any page.":[""],"Import Style Kit":[""],"A Style Kit named ":[""]," already exists in your website. To import it again please use a different name.":[""],"Please try a different as a Style Kit with same name already exists.":[""],"Enter a Style Kit Name":[""]," has been successfully imported. You can now find it in the ":[""],"Stay on this page":[""],"View local Style Kits":[""],"Importing ":[""],"Back to Library":[""],"Open in new tab":[""],"Import Template":[""],"Loading icon":[""],"The %s has been imported and is now available in the":[""],"Elementor %s library":[""],"Ok, thanks":[""],"No patterns found":[""],"No blocks found":[""],"Loading Patterns...":[""],"Loading Blocks...":[""],"Search Patterns":[""],"Search Blocks":[""],"Show Pro Patterns":[""],"Show Pro Blocks":[""],"This template requires an updated version, please update your plugin to latest version.":[""],"View Templates":[""],"Exit preview":[""],"Import template":[""],"Global":[""],"Installed":[""],"Learn more about this in %s.":[""],"Style Kits Docs":[""],"The Global Style Kit will be applied on this template":[""],"Choose a Theme Style Kit to apply on the page.":[""],"%1$s":[""],"The original Style Kit is pre-selected for you.":[""],"Choose a Style Kit...":[""],"You can change the default import method at the ":[""],"Settings Page":[""],"You can manage and set a Global Style Kit at the ":[""],"Import the template in the current page.":[""],"Import to current page":[""],"Import this template to your library to make it available in your Elementor ":[""],"Saved Templates":[""]," list for future use.":[""],"Import to Library":[""],"Import to a new page":[""],"Create a new page from this template to make it available as a draft page in your Pages list.":[""],"Enter a Page Name":[""],"Import to page":[""],"All done! The template has been imported.":[""],"Section Title\u0004Accent Colors":[""],"Section Title\u0004Layout Tools":[""],"Section Title\u0004Elementor Forms":[""],"Section Title\u0004Background Color Classes":[""],"admin menu\u0004Style Kits":[""],"add new on admin bar\u0004Style Kit":[""],"book\u0004Add New":[""],"posts\u0004All (%s)":["","All (%s)"],"settings title\u0004Template import method":[""],"settings title\u0004Global Style Kit":[""],"settings title\u0004Enable SVG Uploads":[""],"settings title\u0004Hide legacy features":[""],"settings title\u0004Setup":[""]}}} \ No newline at end of file +{"domain":"messages","locale_data":{"messages":{"":{"domain":"messages"},"Style Kits for Elementor":[""],"https://analogwp.com/":[""],"Style Kits extends the Elementor theme styles editor with more global styling options. Boost your design workflow in Elementor with intuitive global controls and theme style presets.":[""],"AnalogWP":[""],"Style Kit for Elementor requires PHP version %s":[""],"Error Activating":[""],"Style Kits requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT RUNNING.":[""],"Style Kits requires Elementor v%s or newer in order to work. Please update Elementor to the latest version.":[""],"Update Elementor Now":[""],"Rollback to v%s":[""],"Style Kits is not working because you need to activate the Elementor plugin.":[""],"Activate Elementor Now":[""],"Style Kits is not working because you need to install the Elementor plugin.":[""],"Install Elementor Now":[""],"Enjoyed %1$s? Please leave us a %2$s rating. We really appreciate your support!":[""],"View Documentation":[""],"Documentation":[""],"Get Support":[""],"Style Kits for Elementor Logo":[""],"Invalid or expired license provided.":[""],"No options key provided.":[""],"Setting updated.":[""],"Invalid param(s).":[""],"Please provide a title.":[""],"Unable to create a Kit":[""],"The new Theme Style Kit has been saved and applied on this page.":[""],"Please provide a valid post ID.":[""],"Invalid Post ID":[""],"Invalid Style Kit ID.":[""],"Invalid license provided.":[""],"Invalid token data returned":[""],"Invalid Block ID.":[""],"Your settings have been saved.":[""],"The changes you made will be lost if you navigate away from this page.":[""],"Template Kit file downloaded.":[""],"Import it into Elementor":[""],"Toggle":[""],"Refresh":[""],"Something went wrong.":[""],"Once Weekly":[""],"AnalogWP Classes":[""],"Welcome to Style Kits":[""],"Working...":[""],"Install and Activate Elementor":[""],"This will install and activate Elementor from the WordPress repository":[""],"Elementor is installed and activated":[""],"Failed to install and activate Elementor":[""],"Enable Elementor container feature":[""],"The latest Style Kits version works best with flexbox containers. We will enable the Containers feature in Elementor.":[""],"Container feature is now active":[""],"Failed to activate Elementor container experiment":[""],"Disable Elementor default colors and fonts":[""],"For Global Styles to work properly, Elementor default fonts and colors need to be disabled":[""],"Elementor default colors and fonts are disabled":[""],"Failed to disable Elementor default colors and fonts":[""],"Install and activate Hello Elementor Theme":[""],"Style Kits works best with Elementor Hello theme. This will replace your currently active theme":[""],"Hello Elementor theme is installed and activated":[""],"Failed to install and activate Hello Elementor":[""],"Import a starter theme style preset":[""],"Use a basic Style Kit as your starting point. This will replace your site’s default kit but you can always revert back to it later.":[""],"A theme style preset \"Style Kit: Base\" has been imported":[""],"Failed to import a kit":[""],"Docs":[""],"Setup Elementor properly for a seamless Style Kits Experience.":[""],"Learn more":[""],"Looks like you have everything in place.":[""],"Skip wizard":[""],"Apply":[""],"Go to Dashboard":[""],"Open a new template":[""],"Style Kit: Test Page":[""],"Oops, something went wrong at action: ":[""],"Style Kit":[""],"Hey! You have been using %1$s for over 2 weeks, we hope you enjoy it! If so, please leave a positive %2$s.":[""],"review on WordPress.org":[""],"Unable to sanitize this file hence it wasn't uploaded!":[""],"Full Size":[""],"Thumbnail":[""],"Medium":[""],"Large":[""],"This will clean-up all the values from the current Theme Style kit. If you need to revert, you can do so at the Revisions tab.":[""],"Are you sure?":[""],"Clone Style Kit":[""],"Save":[""],"Cancel":[""],"Style Kit name":[""],"Insert Style Kit":[""],"Please select a Style Kit first.":[""],"— Select a Style Kit —":[""],"Style Kit Updated.":[""],"Update Style Kit":[""],"This action will update the Style Kit with the latest changes, and will affect all the pages that the style kit is used on. Do you wish to proceed?":[""],"Meet Style Kits for Elementor":[""],"Take control of your design in the macro level, with local or global settings for typography and spacing. %s.":[""],"View Styles":[""],"Style Kits":[""],"Export CSS":[""],"Copy CSS":[""],"CSS copied":[""],"Style Kit Update Detected":[""],"

The Style kit used by this page has been updated, click ‘Apply Changes’ to apply the latest changes.

Click Discard to keep your current page styles and detach the page from the Style Kit

":[""],"Discard":[""],"Apply Changes":[""],"Ok, got it.":[""],"Go to Page Style":[""],"This template offers global typography and spacing control, through the Page Style tab.":[""],"Typography, column gaps and more, are controlled layout-wide at Page Styles Panel, giving you the flexibility you need over the design of this template. You can save the styles and apply them to any other page. Learn More.":[""],"CSS Variables":[""],"Remove Page ID from the CSS":[""],"This will revert the color palette and the color labels to their defaults. You can undo this action from the revisions tab.":[""],"This will revert the global font labels & values to their defaults. You can undo this action from the revisions tab.":[""],"This will revert the container preset labels & values to their defaults. You can undo this action from the revisions tab.":[""],"This will revert the box shadow presets to their defaults. You can undo this action from the revisions tab.":[""],"All good. The new Style Kit has been applied on this page!":[""],"Switch Style Kit":[""],"Back to Editor":[""],"Set the accent colors of your layout.":[""],"Learn more.":[""],"The primary accent color applies on links, icons, and other elements. You can also define the text link color in the Typography panel.":[""],"Primary Accent":[""],"The default button color. You can also define button colors under the Buttons panel, and individually for each button size under Buttons Sizes panel.":[""],"Secondary Accent":[""],"Style Kit Colors":[""],"The Style Kit's color palette.":[""],"Read more":[""],"1-16":[""],"Site background":[""],"Light background":[""],"Dark background":[""],"Background 4":[""],"Accent 1":[""],"Accent 2":[""],"Accent 3":[""],"Accent 4":[""],"Titles":[""],"Normal text":[""],"Secondary text":[""],"Inverted text":[""],"Border":[""],"Color Style 14":[""],"Color Style 15":[""],"Color Style 16":[""],"Reset labels & colors":[""],"Reset":[""],"Style Kits for Elementor Shortcuts":[""],"Templates Library":[""],"Settings":[""],"Theme Style Kits":[""],"Add New Style Kit":[""],"New Style Kit":[""],"Edit Style Kit":[""],"View Style Kit":[""],"Search Style Kits":[""],"Parent Style Kits:":[""],"No Style Kit found.":[""],"No Style Kit found in Trash.":[""],"Sorry, you are not allowed to rollback Style Kits plugin for this site.":[""],"Error occurred, the version selected is invalid. Try selecting different version.":[""],"Rollback to Previous Version":[""],"Style Kit: %s ":[""],"Apply Global Style Kit":[""],"Headings Typography":[""],"These settings apply to all Headings in your layout. You can still override individual values at each element.":[""],"Heading %s":[""],"Body Typography":[""],"Recently Imported":[""],"Typographic Sizes":[""],"Heading Sizes":[""],"Edit the available sizes for the Heading Element.":[""],"XXL":[""],"XL":[""],"Small":[""],"Heading":[""],"Text Sizes":[""],"Edit the available sizes for the p, span, and div tags of the Heading Element.":[""],"Text":[""],"Container Spacing":[""],"The default container padding is set in Elementor Theme Styles > Layout Settings > ":[""],"Container padding":[""],"Create additional spacing presets.":[""],"No Padding Styles":[""],"1-8":[""],"XXL - Hero Section":[""],"XL - Primary Section":[""],"Large - Box":[""],"Medium - Box":[""],"Small - Box":[""],"Padding 6":[""],"Padding 7":[""],"Padding 8":[""],"Reset labels and values to default":[""],"Create additional spacing presets in ":[""],"Default":[""],"Normal":[""],"Extra Large":[""],"Outer Section Padding":[""],"Add padding to the outer sections of your layouts by using these controls.":[""],"Default Padding":[""],"Narrow Padding":[""],"Extended Padding":[""],"Wide Padding":[""],"Wider Padding":[""],"Column Gaps":[""],"Column Gap presets add padding to the columns of a section.":[""],"Space Between Widgets":[""],"Sets the default space between widgets, overrides the default value set in Elementor > Style > Space Between Widgets.":[""],"Button Sizes":[""],"Heads-up! This is a legacy feature, no longer supported in Elementor.":[""],"Define the default styles for every button size.":[""],"XS":[""],"S":[""],"M":[""],"L":[""],"Typography":[""],"Normal Styling":[""],"Text Color":[""],"Background Color":[""],"Border Radius":[""],"Hover Styling":[""],"Padding":[""],"Select a different Style Kit to be applied on this page. The page will reload after your selection.":[""],"Select Style Kit":[""],"This will override your site's Global Style Kit for this page.":[""],"Page Style Kit":[""],"Set your Global Style Kit here":[""],"Manage Style Kit":[""],"This will reset the Theme Style Kit and clean up any values.":[""],"Reset Theme Style Kit":[""],"Save the current styles as a different Theme Style Kit. You can then apply it on other pages, or globally.":[""],"Clone":[""],"Export Theme Style Kit CSS":[""],"Export":[""],"No Padding":[""],"Spacing Preset":[""],"Edit in Style Kits":[""],"None":[""],"Light Background":[""],"Accent Background":[""],"Background presets":[""],"Headings":[""],"Headings Color":[""],"Headings Font":[""],"You can set individual heading font and colors below.":[""],"Style Kit Fonts":[""],"The Style Kit's typographic styles.":[""],"Display title":[""],"Title 1":[""],"Title 2":[""],"Title 3":[""],"Title 4":[""],"Title 5":[""],"Title 6":[""],"Overline / Subheader":[""],"Display text":[""],"Large text":[""],"Small text":[""],"Caption":[""],"Button text":[""],"Form label":[""],"Font Style 16":[""],"Reset labels & fonts":[""],"Shadows":[""],"Add global shadow presets by using these controls.":[""],"Shadow 1":[""],"Shadow 2":[""],"Shadow 3":[""],"Shadow 4":[""],"Shadow 5":[""],"Shadow 6":[""],"Shadow 7":[""],"Shadow 8":[""],"Reset to default":[""],"Box Shadow Preset":[""],"No posts found.":[""],"%s ago":[""],"Published":[""],"Title":[""],"Type":[""],"Kit":[""],"Author":[""],"Date":[""],"%s (Edit)":[""],"Edit":[""],"Trash":[""],"View":[""],"Edit with Elementor":[""],"Move to Trash":[""],"Filter by Style Kit":[""],"Filter":[""],"Instance List":[""],"No Kits found.":[""],"Entire Site":[""],"Instances":[""],"Draft":[""],"Global Style Kit":[""],"Export Theme Style Kit":[""],"Local Style Kits":[""],"Choose an Elementor template JSON file or a .zip archive of Elementor templates, and add them to the list of templates available in your library.":[""],"Import Now":[""],"A list of all the imported and custom Style Kits. A global Style Kit is the one that applies globally on your site. You can set a Global Style Kit below.":[""],"Error occured while requesting Style Kit data.":[""],"Style Kit imported":[""],"All good! The Style Kit has been set as Global.":[""],"View site":[""],"Are you sure you want to delete this Style Kit?":[""],"By removing this template you will delete the entire Style Kit, and all the related global style settings.":[""],"Delete Style Kit":[""],"Layout Tools":[""],"Handy tools to clean inline styles from your existing layouts and make them global-design-ready. Highlight elements that have Classes or custom CSS.":[""],"Advanced Form Controls":[""],"Offers controls to customize form column/rows gap, label spacing, and form messages colors.":[""],"Go Pro":[""],"Learn More":[""],"Accent":[""],"Accent Background Color":[""],"Enjoy better background color control in your layouts by adding a third background color class. Available in Style Kits Pro.":[""],"9-16":[""],"Extend your container spacing system with more variables, plus many more features with Style Kits Pro.":[""],"17-24":[""],"17-32":[""],"Extend your color system with more variables, plus many more features with Style Kits Pro.":[""],"33-48":[""],"Extend your typography system with more variables, plus many more features with Style Kits Pro.":[""],"Extend your shadows system with more variables, plus many more features with Style Kits Pro.":[""],"Light":[""],"Add the class sk-light-bg to a section or column to apply these colors.":[""],"Dark":[""],"Add the class sk-dark-bg to a section or column to apply these colors.":[""],"Dark Background":[""],"Style Kits Library":[""],"Library":[""],"Style Kits Settings":[""],"Experiments":[""],"Active":[""],"Inactive":[""],"Style Kits Experiments":[""],"Below you can activate experimental features for Style Kits and Style Kits Pro. We suggest you to turn on backups while using these experiments. %s about how this works.":[""],"Container-based Library":[""],"Get access to the container-based library of Patterns. You need to have the Containers Feature activated in Elementor, to test the new library.":[""],"Extensions":[""],"General":[""],"Starter Kit":[""],"Always import templates using the Global Style Kit. %s":[""],"This option is now in %s page.":[""],"Helps importing SVGs in templates. %s":[""],"Hide legacy features from the Style Kit panel. %s":[""],"Trigger the setup wizard manually":[""],"Restart wizard":[""],"Download Starter Kit":[""],"Download ZIP":[""],"View Demo":[""],"Style Kits Pro":[""],"Misc":[""],"Usage Data Tracking":[""],"Opt-in to our anonymous plugin data collection and to updates":[""],"We guarantee no sensitive data is collected. ":[""],"More Info":[""],"Remove Data on Uninstall":[""],"Check this box to remove all data stored by Style Kit for Elementor plugin, including license info, user settings, import history etc. Any imported or manually saved Style Kits are not removed.":[""],"Version Control":[""],"Rollback Versions":[""],"If you are having issues with current version of Style Kits for Elementor, you can rollback to a previous stable version.":[""],"Rollback Style Kits":[""],"Reinstall this version":[""],"Beta Features":[""],"Become a beta tester":[""],"Check this box to turn on beta updates for Style Kits and Style Kits Pro. The update will not be installed automatically, you always have the option to ignore it.":[""],"Transform your design workflow in Elementor with Style Kits PRO":[""],"Unlimited access to the container-based pattern library":[""],"Unlimited access to the entire collection of Global theme style presets":[""],"Unlock up to 48 Global Style Kit Fonts and Colors":[""],"Unlock up to 24 container spacing presets":[""],"Hide any Style Kit reference from your clients, based on user roles":[""],"Style Kits front-end switcher":[""],"Selectively de-activate Style Kits Panels from the site settings sidebar":[""],".. and much more.":[""],"Explore Style Kits Pro":[""],"Save changes":[""],"Upgrade to Style Kits Pro with a 15% discount":[""],"Your Email":[""],"First Name":[""],"Send me the coupon":[""],"By submitting your details, you agree to our %s.":[""],"privacy policy":[""],"Need help with Style Kits?":[""],"Visit the online docs":[""],"Sign up for email updates":[""],"Stay in the loop with Style Kits development by signing up to our newsletter.":[""],"Sign me up":[""],"By signing up you agree to our":[""],"privacy and terms":[""],"Welcome to Style Kits 1.9.5. This version includes a brand new container-based pattern library, and a lot of other improvements.":[""],"See what’s new.":[""],"The New version of Style Kits introduces a setup wizard. You can trigger it at any time under Style Kits Settings.":[""],"Global: %s":[""],"Subscribing":[""],"Failed":[""],"Subscribe up to newsletter":[""],"Subscribed":[""],"Template":[""],"Block":[""],"Add Style Kits":[""],"Get unlimited access to the Style Kits library and features with the PRO version.":[""],"View Plans":[""],"New":[""],"Preview":[""],"Import":[""],"Pro":[""],"Patterns":[""],"Blocks":[""],"Templates":[""],"Styles":[""],"Library is now synced":[""],"Something is not right, please try again.":[""],"Syncing...":[""],"Sync Library":[""],"Close":[""],"All template types":[""],"Newest first":[""],"Popular":[""],"Both Free and Pro":[""],"Free":[""],"Template Kit":[""],"Back to all Kits":[""],"Back to all":[""],"Favorites":[""],"Search templates...":[""],"%s in WordPress dashboard.":[""],"Manage your Style Kits":[""]," Imported!":[""],"Style Kits are ready-made configurations of theme styles. When you import a Style Kit, it will be available in the":[""],"page":[""],"You will then be able apply it globally, or on any page.":[""],"Import Style Kit":[""],"A Style Kit named ":[""]," already exists in your website. To import it again please use a different name.":[""],"Please try a different as a Style Kit with same name already exists.":[""],"Enter a Style Kit Name":[""]," has been successfully imported. You can now find it in the ":[""],"Stay on this page":[""],"View local Style Kits":[""],"Importing ":[""],"Back to Library":[""],"Open in new tab":[""],"Import Template":[""],"Loading icon":[""],"The %s has been imported and is now available in the":[""],"Elementor %s library":[""],"Ok, thanks":[""],"No patterns found":[""],"No blocks found":[""],"Loading Patterns...":[""],"Loading Blocks...":[""],"Search Patterns":[""],"Search Blocks":[""],"Show Pro Patterns":[""],"Show Pro Blocks":[""],"This template requires an updated version, please update your plugin to latest version.":[""],"View Templates":[""],"Exit preview":[""],"Import template":[""],"Global":[""],"Installed":[""],"Learn more about this in %s.":[""],"Style Kits Docs":[""],"The Global Style Kit will be applied on this template":[""],"Choose a Theme Style Kit to apply on the page.":[""],"%1$s":[""],"The original Style Kit is pre-selected for you.":[""],"Choose a Style Kit...":[""],"You can change the default import method at the ":[""],"Settings Page":[""],"You can manage and set a Global Style Kit at the ":[""],"Import the template in the current page.":[""],"Import to current page":[""],"Import this template to your library to make it available in your Elementor ":[""],"Saved Templates":[""]," list for future use.":[""],"Import to Library":[""],"Import to a new page":[""],"Create a new page from this template to make it available as a draft page in your Pages list.":[""],"Enter a Page Name":[""],"Import to page":[""],"All done! The template has been imported.":[""],"Section Title\u0004Accent Colors":[""],"Section Title\u0004Layout Tools":[""],"Section Title\u0004Elementor Forms":[""],"Section Title\u0004Background Color Classes":[""],"admin menu\u0004Style Kits":[""],"add new on admin bar\u0004Style Kit":[""],"book\u0004Add New":[""],"posts\u0004All (%s)":["","All (%s)"],"settings title\u0004Template import method":[""],"settings title\u0004Global Style Kit":[""],"settings title\u0004Enable SVG Uploads":[""],"settings title\u0004Hide legacy features":[""],"settings title\u0004Setup":[""]}}} \ No newline at end of file diff --git a/languages/ang.pot b/languages/ang.pot index f1b5c5eb..a6624b16 100644 --- a/languages/ang.pot +++ b/languages/ang.pot @@ -2,19 +2,20 @@ # This file is distributed under the GPL2. msgid "" msgstr "" -"Project-Id-Version: Style Kits for Elementor 2.0.9\n" +"Project-Id-Version: Style Kits for Elementor 2.1.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/analogwp-templates\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-04-11T06:54:56+00:00\n" +"POT-Creation-Date: 2024-08-22T09:30:19+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.8.1\n" +"X-Generator: WP-CLI 2.10.0\n" "X-Domain: ang\n" #. Plugin Name of the plugin +#: analogwp-templates.php #: inc/admin/class-admin.php:44 #: inc/class-tracker.php:131 #: inc/register-settings.php:27 @@ -23,14 +24,17 @@ msgstr "" #. Plugin URI of the plugin #. Author URI of the plugin +#: analogwp-templates.php msgid "https://analogwp.com/" msgstr "" #. Description of the plugin +#: analogwp-templates.php msgid "Style Kits extends the Elementor theme styles editor with more global styling options. Boost your design workflow in Elementor with intuitive global controls and theme style presets." msgstr "" #. Author of the plugin +#: analogwp-templates.php msgid "AnalogWP" msgstr "" @@ -1791,34 +1795,22 @@ msgid "Visit the online docs" msgstr "" #: inc/settings/views/html-admin-settings.php:95 -msgid "Join our Facebook group" -msgstr "" - -#: inc/settings/views/html-admin-settings.php:97 -msgid "Get insights, tips and updates in our facebook community." -msgstr "" - -#: inc/settings/views/html-admin-settings.php:98 -msgid "Join now" -msgstr "" - -#: inc/settings/views/html-admin-settings.php:102 msgid "Sign up for email updates" msgstr "" -#: inc/settings/views/html-admin-settings.php:103 +#: inc/settings/views/html-admin-settings.php:96 msgid "Stay in the loop with Style Kits development by signing up to our newsletter." msgstr "" -#: inc/settings/views/html-admin-settings.php:106 +#: inc/settings/views/html-admin-settings.php:99 msgid "Sign me up" msgstr "" -#: inc/settings/views/html-admin-settings.php:108 +#: inc/settings/views/html-admin-settings.php:101 msgid "By signing up you agree to our" msgstr "" -#: inc/settings/views/html-admin-settings.php:108 +#: inc/settings/views/html-admin-settings.php:101 msgid "privacy and terms" msgstr "" @@ -1857,17 +1849,17 @@ msgid "Subscribed" msgstr "" #: assets/js/app.js:1 -#: client/api.js:213 +#: client/api.js:214 msgid "Template" msgstr "" #: assets/js/app.js:1 -#: client/api.js:216 +#: client/api.js:217 msgid "Block" msgstr "" #: assets/js/app.js:1 -#: client/api.js:224 +#: client/api.js:225 msgid "Add Style Kits" msgstr "" diff --git a/package.json b/package.json index e1ab469d..2128f374 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "analogwp-templates", - "version": "2.0.9", + "version": "2.1.0", "description": "Handfully crafted Elementor templates packs.", "main": "/client/index.js", "private": true, @@ -30,6 +30,7 @@ "react-masonry-css": "^1.0.14", "react-select": "3.0.8", "react-waypoint": "^9.0.0", + "regenerator-runtime": "^0.14.1", "styled-components": "^4.1.3" }, "devDependencies": { diff --git a/readme.txt b/readme.txt index c5ec4bdf..3ce9f6b4 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: analogwp, mauryaratan Requires at least: 6.0 Requires PHP: 7.0 -Tested up to: 6.5.2 -Stable tag: 2.0.9 +Tested up to: 6.6.1 +Stable tag: 2.1.0 Tags: elementor, patterns, global styles, elementor addons, design system License: GPLv2 License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -62,7 +62,6 @@ Style Kits for Elementor adds a set of extra UI controls to Theme Styles editor, - [Visit the AnalogWP Website](https://analogwp.com/?utm_medium=wp.org&utm_source=wordpressorg&utm_campaign=readme&utm_content=analogwp) - [Follow on Twitter](https://twitter.com/AnalogWP/) - [Like us on Facebook](https://www.facebook.com/analogwp) -- [Join our Facebook community](https://www.facebook.com/groups/analogwp/) - [Documentation](https://analogwp.com/docs/) == Installation == @@ -102,6 +101,19 @@ We offer high-level support for all Style Kits users. Reach out to https://analo == Changelog == += 2.1.0 - August 22, 2024 = +* Fix: Fixed an issue where in some cases the patterns would not load in the library +* Fix: React throwing `regenerator-runtime` issue at pattern library +* Fix: Fixed an issue with google fonts causing a fatal error +* Fix: Fix `count` function throwing an error on null values +* Improvements: Changed the way that pattern thumbnails are served +* Improvements: Includes a migration upgrader to sync library +* Improvements: Compatibility with latest elementor version +* Improvements: Compatibility with WordPress v6.6.1 +* Improvements: Compatibility with Elementor v3.23.4 and Elementor Pro v3.23.3 +* Improvements: Updated translation files +* Improvements: Other minor code changes + = 2.0.9 - April 19, 2024 = * New: Deprecate Button Sizes Panel in support of new changes from Elementor v3.20.0 * New: Move Button sizes at Style Kits Panel to legacy section diff --git a/third-party/vendor/autoload.php b/third-party/vendor/autoload.php index 42761395..17fa9630 100644 --- a/third-party/vendor/autoload.php +++ b/third-party/vendor/autoload.php @@ -22,4 +22,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit54deff4314ded4c31b4ecade25c3a7ab::getLoader(); +return ComposerAutoloaderInit5f9a32d71cfe477e9a78354aa89ae8d2::getLoader(); diff --git a/third-party/vendor/composer/autoload_real.php b/third-party/vendor/composer/autoload_real.php index 53853658..d8e22f9f 100644 --- a/third-party/vendor/composer/autoload_real.php +++ b/third-party/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit54deff4314ded4c31b4ecade25c3a7ab +class ComposerAutoloaderInit5f9a32d71cfe477e9a78354aa89ae8d2 { private static $loader; @@ -22,12 +22,12 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit54deff4314ded4c31b4ecade25c3a7ab', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit5f9a32d71cfe477e9a78354aa89ae8d2', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit54deff4314ded4c31b4ecade25c3a7ab', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit5f9a32d71cfe477e9a78354aa89ae8d2', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit54deff4314ded4c31b4ecade25c3a7ab::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit5f9a32d71cfe477e9a78354aa89ae8d2::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); diff --git a/third-party/vendor/composer/autoload_static.php b/third-party/vendor/composer/autoload_static.php index a32bccfd..0bc326f4 100644 --- a/third-party/vendor/composer/autoload_static.php +++ b/third-party/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit54deff4314ded4c31b4ecade25c3a7ab +class ComposerStaticInit5f9a32d71cfe477e9a78354aa89ae8d2 { public static $classMap = array ( 'Analog\\Dependencies\\enshrined\\svgSanitize\\ElementReference\\Resolver' => __DIR__ . '/..' . '/enshrined/svg-sanitize/src/ElementReference/Resolver.php', @@ -24,7 +24,7 @@ class ComposerStaticInit54deff4314ded4c31b4ecade25c3a7ab public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->classMap = ComposerStaticInit54deff4314ded4c31b4ecade25c3a7ab::$classMap; + $loader->classMap = ComposerStaticInit5f9a32d71cfe477e9a78354aa89ae8d2::$classMap; }, null, ClassLoader::class); } diff --git a/webpack.config.js b/webpack.config.js index 836f670f..0655386b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -17,7 +17,7 @@ const externals = { // Webpack config const config = { - entry: './client/index.js', + entry: ['regenerator-runtime/runtime.js', './client/index.js'], externals, output: { filename: 'assets/js/app.js', diff --git a/yarn.lock b/yarn.lock index 015a112f..070edb70 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7257,6 +7257,11 @@ regenerator-runtime@^0.13.2: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5" integrity sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw== +regenerator-runtime@^0.14.1: + version "0.14.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== + regenerator-transform@^0.14.0: version "0.14.1" resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb"