Skip to content

Commit

Permalink
Recompile + version bump to 2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
vladolaru committed May 6, 2022
1 parent d651b84 commit ebf5718
Show file tree
Hide file tree
Showing 22 changed files with 29 additions and 27 deletions.
2 changes: 1 addition & 1 deletion dist/css/block-editor-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/block-editor.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/blocks/editor-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/blocks/editor.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/blocks/nova-blocks/conversations-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/blocks/nova-blocks/conversations.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/blocks/style-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/blocks/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/theme/components-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/theme/components.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/theme/style-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/theme/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/woocommerce/block-editor-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/woocommerce/block-editor.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/woocommerce/style-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/woocommerce/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function setAndResetElementStyles(element) {
}
}
const getColorSetClasses = element => {
const classAttr = element?.getAttribute('class');
const classAttr = element === null || element === void 0 ? void 0 : element.getAttribute('class');

if (!classAttr) {
return [];
Expand Down
4 changes: 3 additions & 1 deletion dist/js/woocommerce.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ var __webpack_exports__ = {};
enableMinusButton();
});
$(function () {
var _window$wp, _window$wp$customize;

var $body = $(document.body).not('.woocommerce-cart');
var $cartMenuItems = $('.nb-navigation .menu > .menu-item--cart');
initializeCartMenuItems($cartMenuItems);

if (!!window.wp?.customize?.selectiveRefresh) {
if (!!((_window$wp = window.wp) !== null && _window$wp !== void 0 && (_window$wp$customize = _window$wp.customize) !== null && _window$wp$customize !== void 0 && _window$wp$customize.selectiveRefresh)) {
wp.customize.selectiveRefresh.bind('partial-content-rendered', function (placement) {
const $container = $(placement.container).filter('.nb-navigation .menu');
const $items = $container.children('.menu-item--cart');
Expand Down
Loading

0 comments on commit ebf5718

Please sign in to comment.