-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style engine: enqueue block support styles #42452
Style engine: enqueue block support styles #42452
Commits on Jul 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0840074 - Browse repository at this point
Copy the full SHA 0840074View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a42821 - Browse repository at this point
Copy the full SHA 6a42821View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f2b4a8 - Browse repository at this point
Copy the full SHA 1f2b4a8View commit details -
Removed spacing around curly braces in CSS rules. Updated tests.
We could maybe add a prettify option down the road. Juggling methods around to cater for adding styles to (any) store. Also making return values consistent.
Configuration menu - View commit details
-
Copy full SHA for 5a51073 - Browse repository at this point
Copy the full SHA 5a51073View commit details -
Splitting
wp_style_engine_enqueue_block_supports_styles
and `wp_sty……le_engine_get_block_supports_styles` so we can enqueue styles that don't need parsing, e.g., layout
Configuration menu - View commit details
-
Copy full SHA for 55576b9 - Browse repository at this point
Copy the full SHA 55576b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for acc6209 - Browse repository at this point
Copy the full SHA acc6209View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a22c5b - Browse repository at this point
Copy the full SHA 7a22c5bView commit details -
Update packages/style-engine/class-wp-style-engine.php
Co-authored-by: Ari Stathopoulos <aristath@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7a6aa60 - Browse repository at this point
Copy the full SHA 7a6aa60View commit details -
* abstract stores * "else" not needed * compile_classnames method not needed * we have a method to get the store here * Make the wp_style_engine_add_to_store function always return a store * wp_style_engine_get_stylesheet - always return string * Merged with base branch. Added test for new method. Co-authored-by: ramonjd <ramonjd@gmail.com> Co-authored-by: Ramon <ramonjd@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 49b1433 - Browse repository at this point
Copy the full SHA 49b1433View commit details -
Adding check for the context argument.
Adding tests.
Configuration menu - View commit details
-
Copy full SHA for d7893a6 - Browse repository at this point
Copy the full SHA d7893a6View commit details -
Updating the processor so that it's ignorant of stores. Why? So that …
…it can be used to process any CSS and not just stored CSS. Updating layout for backwards compatibility in gutenberg_get_layout_style (returning the styles that are collected in the function body only) Created a new mode for incoming $css_rules to be a collection of selector + css_declaration keys. Removed wp_style_engine_get_stylesheet (from store) since we don't use it yet Added a new function wp_style_engine_get_stylesheet_from_css_rules() that will process and compile a collection of CSS rules, and not store them.
Configuration menu - View commit details
-
Copy full SHA for bc6e39a - Browse repository at this point
Copy the full SHA bc6e39aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8a621d - Browse repository at this point
Copy the full SHA e8a621dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ba5232 - Browse repository at this point
Copy the full SHA 9ba5232View commit details -
Configuration menu - View commit details
-
Copy full SHA for b41af7d - Browse repository at this point
Copy the full SHA b41af7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ccf650 - Browse repository at this point
Copy the full SHA 4ccf650View commit details
Commits on Aug 1, 2022
-
Removing unused function wp_style_engine_get_stylesheet_from_store Updating tests to check for merging and deduping
Configuration menu - View commit details
-
Copy full SHA for e30e4fb - Browse repository at this point
Copy the full SHA e30e4fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 062b920 - Browse repository at this point
Copy the full SHA 062b920View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e4164a - Browse repository at this point
Copy the full SHA 5e4164aView commit details -
Revert get_instance() in wp_style_engine_add_to_store because we want…
… to ensure the hook is enqueued here.
Configuration menu - View commit details
-
Copy full SHA for fcebf93 - Browse repository at this point
Copy the full SHA fcebf93View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0d5fe5 - Browse repository at this point
Copy the full SHA d0d5fe5View commit details -
Update lib/block-supports/layout.php
Co-authored-by: Andrew Serong <14988353+andrewserong@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e59eb10 - Browse repository at this point
Copy the full SHA e59eb10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d7b827 - Browse repository at this point
Copy the full SHA 5d7b827View commit details -
Merge branch 'try/style-engine-enqueue-block-supports-styles' of gith…
…ub.com:WordPress/gutenberg into try/style-engine-enqueue-block-supports-styles
Configuration menu - View commit details
-
Copy full SHA for 4d9f6c8 - Browse repository at this point
Copy the full SHA 4d9f6c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d021ee - Browse repository at this point
Copy the full SHA 8d021eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f60026 - Browse repository at this point
Copy the full SHA 5f60026View commit details -
Configuration menu - View commit details
-
Copy full SHA for a63f9cb - Browse repository at this point
Copy the full SHA a63f9cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eaef08 - Browse repository at this point
Copy the full SHA 0eaef08View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4c791b - Browse repository at this point
Copy the full SHA e4c791bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 787f793 - Browse repository at this point
Copy the full SHA 787f793View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dd5773 - Browse repository at this point
Copy the full SHA 7dd5773View commit details