Skip to content
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

merge from origin #1

Merged
merged 53 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
1937396
Update 1 translation file (#2997)
translation-platform[bot] Sep 18, 2023
d8a2422
Update 1 translation file (#3001)
translation-platform[bot] Sep 19, 2023
92d3440
[Image_tag] Update to remove lazy loading and let it automatically de…
ludoboludo Sep 20, 2023
4dacca1
[Facets] update filter counts on filter selection (#2988)
patrickracicot Sep 20, 2023
9f26497
Correct CSS (#3003)
eugenekasimov Sep 21, 2023
770621b
Check if there is compare_at_price (#3000)
eugenekasimov Sep 21, 2023
0458195
Update 1 translation file (#3012)
translation-platform[bot] Sep 26, 2023
dbdc28c
[Facets] fix mobile count update (#3018)
patrickracicot Oct 2, 2023
27b5f3f
Update 1 translation file (#3043)
translation-platform[bot] Oct 4, 2023
a32602b
Update 1 translation file (#3044)
translation-platform[bot] Oct 4, 2023
5c8c151
[Image with text] Add color scheme picker for section wrapper (#3016)
ludoboludo Oct 5, 2023
7ee3da2
Refactor `quick-order-list.css` (#3006)
Oct 5, 2023
a64da0f
Fix Add to Cart error on page load/slower connections (#3008)
ludoboludo Oct 5, 2023
fdd6905
[Facets] dynamic header (#3048)
patrickracicot Oct 6, 2023
000a469
Add component-card.css to cart drawer (#3049)
eugenekasimov Oct 6, 2023
d50698b
[Refactoring] Replace loading spinner with snippet (#2996)
eugenekasimov Oct 11, 2023
069c198
[Sliders] Regression fix. Apply CSS only when necessary in theme edit…
ludoboludo Oct 19, 2023
fac0e41
Add visual representation for filters (#3045)
jas7457 Oct 19, 2023
168ba32
[Facets] update visual representation of facets operators (#3061)
patrickracicot Oct 20, 2023
bc86ac3
[Collection template] Product grid color scheme picker (#3017)
ludoboludo Oct 20, 2023
c7e455f
[Cart] Add color picker on cart page and in general cart settings (#3…
ludoboludo Oct 23, 2023
a96d0f9
[Product] Add color scheme picker (#3015)
ludoboludo Oct 23, 2023
f56a686
[VisualDisplay] bump the active outline width (#3083) (#3091)
sofiamatulis Oct 31, 2023
1247c8b
12.0.0 Version Bump and release notes (#3092)
sofiamatulis Oct 31, 2023
ab71c57
Update 1 translation file (#3093)
translation-platform[bot] Nov 2, 2023
b0ba46d
updated code to match new color scheme naming (#2801)
lougoncharenko Nov 9, 2023
2c84724
Fixed race condition for cart note updates (#3125)
tyleralsbury Nov 23, 2023
a204f20
[Facets] support dynamic facet lists (#3123)
patrickracicot Dec 14, 2023
fce1573
Assign font family to input fields (#2871)
kjellr Dec 14, 2023
8c2518b
Update 1 translation file (#3155)
translation-platform[bot] Dec 15, 2023
67b82a7
Update 1 translation file (#3157)
translation-platform[bot] Dec 18, 2023
cdba066
Update 1 translation file (#3158)
translation-platform[bot] Dec 18, 2023
41e4604
Update 1 translation file (#3161)
translation-platform[bot] Dec 20, 2023
19f6828
Update 2 translation files (#3160)
translation-platform[bot] Dec 20, 2023
1ac327a
Applied image shape and ratio to placeholder images (#2817)
lougoncharenko Dec 20, 2023
9376e59
[Visual Display] Display accurate filter colors when high contrast mo…
alisterdev Dec 21, 2023
b1696f1
Improved country selectors (#3175)
hamideha Jan 5, 2024
9e6f6ca
Update inline quantity error styles. (#3150)
kjellr Jan 5, 2024
144ba4b
Update 1 translation file (#3177)
translation-platform[bot] Jan 5, 2024
0e9938c
[Variant Picker] Update settings copy (#3173)
alisterdev Jan 5, 2024
57d21df
Bring back the lighthouse-ci-action to v1 (#3181)
charlespwd Jan 8, 2024
8ef242b
Changed slider to work on tablet for multicolumn (#3176)
tyleralsbury Jan 8, 2024
e6a8f03
Adjusted Featured Collection placeholders to work with any number of …
tyleralsbury Jan 9, 2024
05e61a3
[Variant Picker] Add swatch display type (#3180)
alisterdev Jan 9, 2024
0de57d4
Update swatch border (#3184)
alisterdev Jan 10, 2024
e433160
Update translations: merchant (#3178)
translation-platform[bot] Jan 10, 2024
97bca2e
[Variant Picker] Ensure that swatches wrap correctly (#3185)
alisterdev Jan 10, 2024
bfd5e92
Focus search on country selector open and fix iOS bug (#3183)
hamideha Jan 10, 2024
27e6205
Prevent sticky header from hiding when country selector is open (#3188)
hamideha Jan 11, 2024
767f62f
change to 100% (#3190)
melissaperreault Jan 12, 2024
bfa56e0
[Variant Picker] Simplify swatch settings (#3189)
alisterdev Jan 15, 2024
b700fc9
Escape filter label consistently (#3192)
ludoboludo Jan 15, 2024
436e104
Update 1 translation file (#3202)
translation-platform[bot] Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Lighthouse
uses: shopify/lighthouse-ci-action@v1.1.1
uses: shopify/lighthouse-ci-action@v1
with:
store: ${{ secrets.SHOP_STORE_OS2 }}
password: ${{ secrets.SHOP_PASSWORD_OS2 }}
Expand Down
16 changes: 11 additions & 5 deletions assets/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ button.shopify-payment-button__button--unbranded {
}
}

.button.loading > .loading-overlay__spinner {
.button.loading > .loading__spinner {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
Expand All @@ -1383,11 +1383,11 @@ button.shopify-payment-button__button--unbranded {
align-items: center;
}

.button.loading > .loading-overlay__spinner .spinner {
.button.loading > .loading__spinner .spinner {
width: fit-content;
}

.button.loading > .loading-overlay__spinner .path {
.button.loading > .loading__spinner .path {
stroke: rgb(var(--color-button-text));
}

Expand Down Expand Up @@ -1585,6 +1585,9 @@ details[open] > .share-button__fallback {
appearance: none;
background-color: rgb(var(--color-background));
color: rgb(var(--color-foreground));
font-family: var(--font-body-family);
font-style: var(--font-body-style);
font-weight: var(--font-body-weight);
font-size: 1.6rem;
width: 100%;
box-sizing: border-box;
Expand Down Expand Up @@ -1925,6 +1928,9 @@ input[type='checkbox'] {

.quantity__input {
color: currentColor;
font-family: var(--font-body-family);
font-style: var(--font-body-style);
font-weight: var(--font-body-weight);
font-size: 1.6rem;
font-weight: 500;
opacity: 0.85;
Expand Down Expand Up @@ -2021,8 +2027,8 @@ input[type='checkbox'] {
position: relative;
}

product-info .loading-overlay:not(.hidden) ~ *,
.quantity__rules-cart .loading-overlay:not(.hidden) ~ * {
product-info .loading__spinner:not(.hidden) ~ *,
.quantity__rules-cart .loading__spinner:not(.hidden) ~ * {
visibility: hidden;
}

Expand Down
12 changes: 6 additions & 6 deletions assets/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class CartItems extends HTMLElement {
publish(PUB_SUB_EVENTS.cartUpdate, { source: 'cart-items', cartData: parsedState, variantId: variantId });
})
.catch(() => {
this.querySelectorAll('.loading-overlay').forEach((overlay) => overlay.classList.add('hidden'));
this.querySelectorAll('.loading__spinner').forEach((overlay) => overlay.classList.add('hidden'));
const errors = document.getElementById('cart-errors') || document.getElementById('CartDrawer-CartErrors');
errors.textContent = window.cartStrings.error;
})
Expand Down Expand Up @@ -203,8 +203,8 @@ class CartItems extends HTMLElement {
const mainCartItems = document.getElementById('main-cart-items') || document.getElementById('CartDrawer-CartItems');
mainCartItems.classList.add('cart__items--disabled');

const cartItemElements = this.querySelectorAll(`#CartItem-${line} .loading-overlay`);
const cartDrawerItemElements = this.querySelectorAll(`#CartDrawer-Item-${line} .loading-overlay`);
const cartItemElements = this.querySelectorAll(`#CartItem-${line} .loading__spinner`);
const cartDrawerItemElements = this.querySelectorAll(`#CartDrawer-Item-${line} .loading__spinner`);

[...cartItemElements, ...cartDrawerItemElements].forEach((overlay) => overlay.classList.remove('hidden'));

Expand All @@ -216,8 +216,8 @@ class CartItems extends HTMLElement {
const mainCartItems = document.getElementById('main-cart-items') || document.getElementById('CartDrawer-CartItems');
mainCartItems.classList.remove('cart__items--disabled');

const cartItemElements = this.querySelectorAll(`#CartItem-${line} .loading-overlay`);
const cartDrawerItemElements = this.querySelectorAll(`#CartDrawer-Item-${line} .loading-overlay`);
const cartItemElements = this.querySelectorAll(`#CartItem-${line} .loading__spinner`);
const cartDrawerItemElements = this.querySelectorAll(`#CartDrawer-Item-${line} .loading__spinner`);

cartItemElements.forEach((overlay) => overlay.classList.add('hidden'));
cartDrawerItemElements.forEach((overlay) => overlay.classList.add('hidden'));
Expand All @@ -234,7 +234,7 @@ if (!customElements.get('cart-note')) {
super();

this.addEventListener(
'change',
'input',
debounce((event) => {
const body = JSON.stringify({ note: event.target.value });
fetch(`${routes.cart_update_url}`, { ...fetchConfig(), ...{ body } });
Expand Down
2 changes: 1 addition & 1 deletion assets/collapsible-content.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
border-top: 0;
}

.collapsible-row-layout .accordion:not(:first-child):not(.color-background-1) {
.collapsible-row-layout .accordion:not(:first-child):not(.color-scheme-1) {
margin-top: 1rem;
}

Expand Down
3 changes: 1 addition & 2 deletions assets/component-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}

/* Needed for gradient continuity with or without animation so that transparent PNG images come up as we would expect */
.card__inner.color-background-1 {
.card__inner.color-scheme-1 {
background: transparent;
}

Expand Down Expand Up @@ -300,7 +300,6 @@
}

.card--standard:not(.card--horizontal) .placeholder-svg {
height: auto;
width: 100%;
}

Expand Down
7 changes: 1 addition & 6 deletions assets/component-cart-drawer.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
padding: 0 1.5rem;
border: 0.1rem solid rgba(var(--color-foreground), 0.2);
border-right: 0;
background-color: rgb(var(--color-background));
overflow: hidden;
display: flex;
flex-direction: column;
Expand All @@ -33,7 +32,6 @@
.drawer__inner-empty {
height: 100%;
padding: 0 1.5rem;
background-color: rgb(var(--color-background));
overflow: hidden;
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -72,7 +70,6 @@ cart-drawer:not(.is-empty) .cart-drawer__collection {

.drawer__header {
position: relative;
background-color: rgb(var(--color-background));
padding: 1.5rem 0;
display: flex;
justify-content: space-between;
Expand Down Expand Up @@ -114,7 +111,6 @@ cart-drawer:not(.is-empty) .cart-drawer__collection {
}

.drawer__footer {
background-color: rgb(var(--color-background));
border-top: 0.1rem solid rgba(var(--color-foreground), 0.2);
padding: 1.5rem 0;
}
Expand Down Expand Up @@ -189,7 +185,6 @@ cart-drawer {
position: sticky;
top: 0;
z-index: 2;
background-color: rgb(var(--color-background));
}

cart-drawer-items {
Expand Down Expand Up @@ -254,7 +249,7 @@ cart-drawer-items {
margin-bottom: 1.5rem;
}

.cart-drawer .cart-item .loading-overlay {
.cart-drawer .cart-item .loading__spinner {
right: 5px;
padding-top: 2.5rem;
}
Expand Down
45 changes: 24 additions & 21 deletions assets/component-cart-items.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
cart-items .title-wrapper-with-link {
margin-top: 0;
}

.cart-items td,
.cart-items th {
padding: 0;
Expand Down Expand Up @@ -48,12 +52,12 @@
line-height: calc(1 + 0.4 / var(--font-body-scale));
}

.cart-item__details>* {
.cart-item__details > * {
margin: 0;
max-width: 30rem;
}

.cart-item__details>*+* {
.cart-item__details > * + * {
margin-top: 0.6rem;
}

Expand Down Expand Up @@ -83,7 +87,7 @@
text-decoration-thickness: 0.2rem;
}

.cart-item__price-wrapper>* {
.cart-item__price-wrapper > * {
display: block;
margin: 0;
padding: 0;
Expand Down Expand Up @@ -151,7 +155,7 @@ cart-remove-button .icon-remove {
width: 1.5rem;
}

.cart-item .loading-overlay {
.cart-item .loading__spinner {
top: 0;
left: auto;
right: auto;
Expand All @@ -160,14 +164,14 @@ cart-remove-button .icon-remove {
}

@media screen and (min-width: 750px) {
.cart-item .loading-overlay {
.cart-item .loading__spinner {
right: 0;
padding-top: 4.5rem;
bottom: auto;
}
}

.cart-item .loading-overlay:not(.hidden)~* {
.cart-item .loading__spinner:not(.hidden) ~ * {
visibility: hidden;
}

Expand All @@ -180,23 +184,25 @@ cart-remove-button .icon-remove {
}

.cart-item__error-text {
font-size: 1.2rem;
line-height: calc(1 + 0.2 / var(--font-body-scale));
font-size: 1.3rem;
line-height: 1.4;
letter-spacing: 0.04rem;
order: 1;
}

.cart-item__error-text+svg {
.cart-item__error-text + svg {
flex-shrink: 0;
width: 1.2rem;
margin-right: 0.5rem;
margin-top: 0.1rem;
width: 1.5rem;
height: 1.5rem;
margin-right: 0.7rem;
margin-top: 0.25rem;
}

.cart-item__error-text:empty+svg {
.cart-item__error-text:empty + svg {
display: none;
}

.product-option+.product-option {
.product-option + .product-option {
margin-top: 0.4rem;
}

Expand All @@ -210,7 +216,6 @@ cart-remove-button .icon-remove {
}

@media screen and (max-width: 749px) {

.cart-items,
.cart-items thead,
.cart-items tbody {
Expand Down Expand Up @@ -276,7 +281,7 @@ cart-remove-button .icon-remove {
width: 50%;
}

.cart-items th+th {
.cart-items th + th {
padding-left: 4rem;
}

Expand All @@ -289,7 +294,7 @@ cart-remove-button .icon-remove {
display: table-row;
}

.cart-item>td+td {
.cart-item > td + td {
padding-left: 4rem;
}

Expand All @@ -305,7 +310,7 @@ cart-remove-button .icon-remove {
margin: 0.5rem 0 0 1.5rem;
}

.cart-item__price-wrapper>*:only-child:not(.cart-item__discounted-prices) {
.cart-item__price-wrapper > *:only-child:not(.cart-item__discounted-prices) {
margin-top: 1rem;
}

Expand All @@ -315,7 +320,6 @@ cart-remove-button .icon-remove {
}

@media screen and (min-width: 990px) {

.cart-item .cart-item__quantity,
.cart-items .cart-items__heading--wide {
padding-left: 6rem;
Expand All @@ -331,10 +335,9 @@ cart-remove-button .icon-remove {
}

@media screen and (min-width: 750px) {

.cart-items .cart-items__heading--quantity,
.cart-item .cart-item__quantity,
.cart-item__quantity--info quantity-popover>*,
.cart-item__quantity--info quantity-popover > *,
.no-js .cart-item .cart-item__quantity--info {
padding-left: 5rem;
}
Expand Down
6 changes: 4 additions & 2 deletions assets/component-cart.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ cart-items {
top: 2.5rem;
}



.cart__note label {
display: flex;
align-items: flex-end;
Expand Down Expand Up @@ -170,6 +168,10 @@ cart-items {
margin: 0 auto;
}

.cart__dynamic-checkout-buttons:has(.dynamic-checkout__content:empty) {
margin: 0;
}

.cart__dynamic-checkout-buttons div[role='button'] {
border-radius: var(--buttons-radius-outset) !important;
}
Expand Down
Loading