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

Using font size and spacing for mega menu hierarchy #1520

Merged
merged 9 commits into from
Apr 4, 2022

Conversation

tyleralsbury
Copy link
Contributor

Why are these changes introduced?

Further explorations on how to improve the hierarchy of the different navigation levels for the mega menu. In this PR we are trying removing the bold and instead using font size and spacing to help to emphasize the hierarchy.

What approach did you take?

Added a modifier. I tried to use some fancy selectors, but this was cleaner.

Other considerations

I used :not(:only-child) to ensure that L2 links on their own won't have additional margins.

We may want to fine tune the numbers for the margin below the L2 link as well as potentially the vertical gap between the rows. The total space below the L2 links including their padding is 1.8rem and the total space between rows is 2.4rem which is quite similar.

Testing steps/scenarios

  • Add a navigation that has 3 levels
  • In header -> apply "Mega Menu" setting to menu type setting

Note: This PR shouldn't affect any other menu types or make any changes to menus that only have 1 or 2 levels.

Demo links

Checklist

allylane
allylane previously approved these changes Mar 22, 2022
Copy link
Contributor

@allylane allylane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Visually this works as expected. The only other thing we need to do is remove the animation from the mega menu opening which we could also include in this PR cc @danielvan

@tyleralsbury
Copy link
Contributor Author

Visually this works as expected. The only other thing we need to do is remove the animation from the mega menu opening which we could also include in this PR cc @danielvan

Are we removing that animation entirely?

@danielvan
Copy link
Contributor

Are we removing that animation entirely?

I was discussing this with @allylane, and both of us had different experiences when the animation triggered and when it didn't, as well as the transition animation. @tyleralsbury, are we able to remove the animation for now and revisit on a different PR once we have time set aside to work on it?

@tyleralsbury
Copy link
Contributor Author

Are we removing that animation entirely?

I was discussing this with @allylane, and both of us had different experiences when the animation triggered and when it didn't, as well as the transition animation. @tyleralsbury, are we able to remove the animation for now and revisit on a different PR once we have time set aside to work on it?

I think it should be easy enough to remove. Will try now.

@tyleralsbury
Copy link
Contributor Author

@danielvan @allylane Animation has been removed.

@ludoboludo ludoboludo self-requested a review March 28, 2022 15:17
ludoboludo
ludoboludo previously approved these changes Mar 28, 2022
Copy link
Contributor

@ludoboludo ludoboludo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code seem to work as expected but not a huge fan of the new approach/tweaks.

I find that it was easier to read with the bold level2. It did look not as good when you had too many level2 without any level3 menu item in them but I don't think this approach is any better in those cases, things kinda look maybe connected maybe not:

So I'd say I'm more in favour of our current approach with bold text but if we're to keep this approach then the code looks good 👍

@@ -49,13 +42,19 @@
.mega-menu__link {
color: rgba(var(--color-foreground), 0.75);
display: block;
font-size: 1.2rem;
Copy link
Contributor

@ludoboludo ludoboludo Mar 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this a little small 😬
From what i'm seeing on other websites, having a bold or different color level 2 seems like the most common use case (H&M, Quicksilver, Fao Schwarz, etc).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something is off here, from the original logic, they would be styled as L2s, not L3s when in presence of L2s and L3s

Copy link
Contributor Author

@tyleralsbury tyleralsbury Mar 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be clear:

L3s that are alongside L2s should be styled like L2s when they have no children. Is that right?


Actually this makes no sense...

L2s that are alone should be styled like L2s that have children. I think that's what it should be, is that right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be fixed. It was cause of the :not(:only-child) that I added to prevent unneeded margins. I split it into two selectors.

Screen Shot 2022-03-28 at 1 28 47 PM

Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX Mar 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also find 1.2rem way too small. I've looked at other websites (H&M, Quicksilver, Fao Schwarz, Gap, Simons, Nordstrom) and they're all using minimum of 13px. This led me to test with 1.3rem and it looks so much more readable. 1.3rem would match our link sizes for product links, which I personally find at the limit of being easily readable.

1.2rem

image

1.3rem

image

It does lose some of the hierarchy, so I'm not sure if there's something we can do about it.

I don't have the strongest opinion here, but just sharing my personal point of view as a user (very subjective :P). I find it kinda hard to read menus in Dawn and Studios on desktop when using 1.2rem fonts, and I'd prefer having less distinction between the hierarchy levels than barely being able to read without having to zoom / get closer to the screen


Other themes @ 12px image image image image image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So should we be switching to 1.3rem here?

@LucasLacerdaUX LucasLacerdaUX self-requested a review March 28, 2022 16:22
}

.mega-menu__link--level-2:not(:only-child) {
margin-bottom: 1rem;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks better now 👌

But I think maybe it could be a little less margin.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also think they can be the same value!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I am adjusting my opinion here! 😅

The gap between the 2 groups needs to be slightly different just to help identify when it is a start of a new topic in the same column. Otherwise we'll lose the connection we are trying to make between the L2 and the L3s with the white space, to convey they are closely related, the empty space is helping with that. I wouldn't want buyers to confuse them.

So my recommendation is to adjust a little bit more the spacing though to help this distinction! (Unless there is something I haven't catch! 🤔 ):

  • margin-bottom: 0.8rem; instead of 1rem
  • Keep gap at 2.4rem

Outcome

@melissaperreault
Copy link
Contributor

The code seem to work as expected but not a huge fan of the new approach/tweaks.

@ludoboludo I hear you and happy to share the context a bit! We've been bouncing back and forth for that one based on exploration test that bold wasn't scaling well for all fonts. We explored whether to keep bold or not and tested various outcome: Underline, Opacity, Uppercase, Divider columns, Bold and Size change, etc.

From the feedback we received, changing the size was the less opinionated styling we could go with until we provide better alternative to create hierarchy controls for merchants. But in the end, yes, indeed it's quite a subjective change!

Copy link
Contributor

@melissaperreault melissaperreault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Tyler!

I've stress tested:

  • Long menu names
  • Tall menu list
  • Uneven menu items
  • Ipad
  • Android
  • Various fonts

Observations

Capturing here but will open a new issue for them if they don't exist yet!

  • Long menu label overlap with the next column
  • When menu list becomes long, combined with scroll, the experience is annoying, the mega menu closes on users pretty drastically. (Video reference)
  • Scrolling inside the mega nav doesn't prevent from scrolling the page behind. This could convey there are still menu items to discover but in theory there are not. (Video reference)
  • Mobile drawer nested back link label is centered instead of left aligned. Noticeable when menu text link is very long.

Other than that, very close to approve! Haven't found anything else! 🙏

LucasLacerdaUX
LucasLacerdaUX previously approved these changes Mar 29, 2022
Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a big fan of the new 1.2rem font size (see comment) but code looks good and things are working as expected. If we're okay with the design, consider this an approval :D

🎩
✅ 👍
👖

@tyleralsbury
Copy link
Contributor Author

Long menu label overlap with the next column

Fixed.

When menu list becomes long, combined with scroll, the experience is annoying, the mega menu closes on users pretty drastically. (Video reference)

Scrolling inside the mega nav doesn't prevent from scrolling the page behind. This could convey there are still menu items to discover but in theory there are not. (Video reference)

Blocked scrolling when the menu is open. This fixes both of these points.

Mobile drawer nested back link label is centered instead of left aligned. Noticeable when menu text link is very long.

Fixed.

I also adjusted the margin-bottom to 0.8rem.

@tyleralsbury
Copy link
Contributor Author

@melissaperreault Not sure if we want to revisit the use of 1.2rem and switch it to 1.3rem. We could bump the L2s to 1.5rem if we did that to keep it 0.2 larger. I don't have a strong opinion.

Lucas's comment is a great exploration.

@@ -39,6 +39,8 @@ class HeaderMenu extends DetailsDisclosure {
}

onToggle() {
document.body.classList.toggle('overflow-hidden', this.querySelectorAll('.mega-menu[open]').length);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this class, when applied and not only in this scenario, is creating a bit of a jump that makes the experience feel subpar 🤔

It does it as well on the drawer for pick up availability and probably anytime we apply the overflow-hidden class in the theme.

video

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When applying the overflow: hidden; it hides the scroll bar from the page so it creates that shift.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit tricky because different OS will have different treatments for this. Gut says something like add a margin/padding on the right side of the container to simulate the space the scrollbar was taking up, but that'll differ from browser to browser and os to os, so it'll never be perfect.

I think it's something we need to explore, but will take some time to find a good solution for.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One option that pops into my head but which I'm not sure would work... overflow-y: scroll might force a scrollbar (again, might depend on OS), and then make the height of the container 100vh so that it has nowhere to go... you'd also need to add a transform to it to position it in the spot it was in before adding the overflow. Feels complicated, but something like that might work. 🤷

We can look into if there are any more elegant solutions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm yeah I was reading suggestions yesterday but nothing seemed very good or straight forward 🤔
This sounded interesting but didn't try it yet: https://aykevl.nl/2014/09/fix-jumping-scrollbar

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also one alternative that would be using this CSS property but it's not supported on Safari: https://ishadeed.com/article/prevent-scroll-chaining-overscroll-behavior/

So it would apply on the mega menu when there is an overflow and prevent the page to scroll when you reach the bottom of the mega menu content.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this overflow-hidden class? I believe that this worsens the user experience for EVERY mega menu only to fix an edge case (very long menus).

If this attribute was added only to fix the bug with long mega menus being randomly dismissed, it is caused by this auto-hide on the onScroll() event on header.liquid:

      if (scrollTop > this.currentScrollTop && scrollTop > this.headerBounds.bottom) {
        requestAnimationFrame(this.hide.bind(this));

We could add a check there to see if mega menu is open and prevent this auto-hide behaviour if it is. I think it's a much better solution.

Also, this oveflow: hidden solution isn't something we see in pretty much any website that uses Mega Menu (sure, they can control the menu height, but you still get taller than 100vh menus that works). So this pattern that mega menu open = scroll blocked isn't really a thing buyers are used to.

On touch devices, this becomes an even bigger problem because you don't even see the scrollbar disappearing, so what happens is that you open the menu and get trapped for no visible reason:

Screen_Recording_20220331-112651_Chrome.mp4

Can we revert this and fix it by preventing auto-hide in header.liquid instead?

Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow up on the above:

Solution 1 (current)

Adding a overflow: hidden to body when opening megamenu.

Video

31-27-i30rj-p0icp.mp4

Cons

  • Blocks scrolling when any megamenu is open ,regardless of its height.
    • In touch devices, users aren't even able to tell that the scrollbar is gone.
  • Creates jumping on desktop.

Solution 2 (proposed)

Prevent header auto-hide on header.liquid by adding something like this (maybe we should cache this element and check if its open):

        if (this.querySelectorAll('.mega-menu[open]')) return;

inside this if block:

      if (scrollTop > this.currentScrollTop && scrollTop > this.headerBounds.bottom) {
        requestAnimationFrame(this.hide.bind(this));

and removing max-height: calc(100vh - var(--header-bottom-position-desktop, 20rem) - 4rem); from .mega-menu__content.

Video

31-26-s747a-u1he0.mp4

Cons

  • Mega menu stays open until the user closes it, either by clicking the menu again or by clicking outside of it to dismiss.
    • Future enhancement: If we want, it should be possible to want to add a specific onScroll event as a future enhancement to autoClose once they scrolled past the megamenu.

Copy link
Contributor

@melissaperreault melissaperreault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Tyler! Looks good to me! 🚢

Related to font size, I hear the feedback, we'll monitor and adjust later as we explore font hierarchy.

@danielvan
Copy link
Contributor

I agree with the comments above on the L3s feeling small. I would be ok in shipping with 1.3rem for L3 to see if the comment repeats once this is live and in dynamic contexts. It seems also a gain for a11y and click target areas.

@melissaperreault ultimately this is a decision on the design system, so keen to hear your thoughts.

Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything works and looks as expected. I'm okay to go with 12px for now and revisit font sizes later once we have better ways to enforce this hierarchy distinction.

However, the new overflow: hidden creates such a confusing user experience that I believe we should revert this fix before we merge. Left a comment below explaining why.

@@ -39,6 +39,8 @@ class HeaderMenu extends DetailsDisclosure {
}

onToggle() {
document.body.classList.toggle('overflow-hidden', this.querySelectorAll('.mega-menu[open]').length);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need this overflow-hidden class? I believe that this worsens the user experience for EVERY mega menu only to fix an edge case (very long menus).

If this attribute was added only to fix the bug with long mega menus being randomly dismissed, it is caused by this auto-hide on the onScroll() event on header.liquid:

      if (scrollTop > this.currentScrollTop && scrollTop > this.headerBounds.bottom) {
        requestAnimationFrame(this.hide.bind(this));

We could add a check there to see if mega menu is open and prevent this auto-hide behaviour if it is. I think it's a much better solution.

Also, this oveflow: hidden solution isn't something we see in pretty much any website that uses Mega Menu (sure, they can control the menu height, but you still get taller than 100vh menus that works). So this pattern that mega menu open = scroll blocked isn't really a thing buyers are used to.

On touch devices, this becomes an even bigger problem because you don't even see the scrollbar disappearing, so what happens is that you open the menu and get trapped for no visible reason:

Screen_Recording_20220331-112651_Chrome.mp4

Can we revert this and fix it by preventing auto-hide in header.liquid instead?

@melissaperreault
Copy link
Contributor

@danielvan

No strong opinion apart from following accessible recommendations to aim for bigger all the time on my end! We can ship with a 1px difference and monitor, instead of the 2px difference proposed during feedback time.

Less risk for merchants and buyers to go from 1.3 to 1.2 instead of the opposite. I'd also rather offer a bigger font size if we are aligned! cc. @nicklepine

@tyleralsbury
Copy link
Contributor Author

For @LucasLacerdaUX 's comment, I'd like to defer to @melissaperreault. My logic for blocking scroll is that the rest of the page can't be interacted with anyway before the menu is closed, so you are somewhat in a modal or drawer-like context. So it made sense to me to treat it similarly to a modal or drawer.

Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to add to my comment above:

@@ -39,6 +39,8 @@ class HeaderMenu extends DetailsDisclosure {
}

onToggle() {
document.body.classList.toggle('overflow-hidden', this.querySelectorAll('.mega-menu[open]').length);
Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow up on the above:

Solution 1 (current)

Adding a overflow: hidden to body when opening megamenu.

Video

31-27-i30rj-p0icp.mp4

Cons

  • Blocks scrolling when any megamenu is open ,regardless of its height.
    • In touch devices, users aren't even able to tell that the scrollbar is gone.
  • Creates jumping on desktop.

Solution 2 (proposed)

Prevent header auto-hide on header.liquid by adding something like this (maybe we should cache this element and check if its open):

        if (this.querySelectorAll('.mega-menu[open]')) return;

inside this if block:

      if (scrollTop > this.currentScrollTop && scrollTop > this.headerBounds.bottom) {
        requestAnimationFrame(this.hide.bind(this));

and removing max-height: calc(100vh - var(--header-bottom-position-desktop, 20rem) - 4rem); from .mega-menu__content.

Video

31-26-s747a-u1he0.mp4

Cons

  • Mega menu stays open until the user closes it, either by clicking the menu again or by clicking outside of it to dismiss.
    • Future enhancement: If we want, it should be possible to want to add a specific onScroll event as a future enhancement to autoClose once they scrolled past the megamenu.

@melissaperreault
Copy link
Contributor

So this pattern that mega menu open = scroll blocked isn't really a thing buyers are used to.

Aligned, not the desired outcome I think, thanks for sharing this angle Lucas! We can park the use case/edge case and monitor because the point you are making is reallly not what we would want to refrain buyers to do! I'll open an issue!

I don't know how this can be improved but Mega menu are meant for large inventory that encourages long menu list. That following reference was difficult to experience considering these factors. Maybe we are pushing the edge cases a little too hard here but worth the conversation.

Scrolling inside the mega nav doesn't prevent from scrolling the page behind. This could convey there are still menu items to discover but in theory there are not. (Video reference)

@tyleralsbury
Copy link
Contributor Author

So this pattern that mega menu open = scroll blocked isn't really a thing buyers are used to.

Aligned, not the desired outcome I think, thanks for sharing this angle Lucas! We can park the use case/edge case and monitor because the point you are making is reallly not what we would want to refrain buyers to do! I'll open an issue!

I don't know how this can be improved but Mega menu are meant for large inventory that encourages long menu list. That following reference was difficult to experience considering these factors. Maybe we are pushing the edge cases a little too hard here but worth the conversation.

Scrolling inside the mega nav doesn't prevent from scrolling the page behind. This could convey there are still menu items to discover but in theory there are not. (Video reference)

Sounds good. Lemme give Lucas's solution a try. If it works well, we can go with it.

@melissaperreault
Copy link
Contributor

melissaperreault commented Mar 31, 2022

Solution 2 (proposed)

This seems like a good experience to rely on buyers to click outside the menu or a link to dismiss the mega nav and ensures it meets any inventory taxonomy length AND keep the ability to scroll if they wish. 👍

Again, I wonder what were the initial reason why this wasn't considered at first, why the menu nav was dismissing as you scroll out of the area. Might need to learn on past considerations too! 🙏

@LucasLacerdaUX
Copy link
Contributor

Here's a prototype for my proposed solution:
https://os2-demo.myshopify.com/?preview_theme_id=127786778646
https://os2-demo.myshopify.com/admin/themes/127786778646/editor

@ludoboludo
Copy link
Contributor

and removing max-height: calc(100vh - var(--header-bottom-position-desktop, 20rem) - 4rem); from .mega-menu__content.

I don't know if we should be removing this though 🤔 As your only way to close the menu would then to click back on the parent in the menu nav at the top. Having a gap at the bottom creates an opportunity for you to click and close the menu without having to go back to the menu nav and click on the parent.

Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made the changes. Took a slightly different approach to avoid unnecessary querySelectorAll on every scroll event, but the end result should be the same :)

@@ -18,6 +17,10 @@
z-index: -1;
}

.shopify-section-header-sticky .mega-menu__content {
Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX Mar 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added this so the mega-menu is still scrollable when opened via sticky header.

Otherwise, we wouldn't be able to see the bottom elements due to the position: sticky.

Before:

31-05-iipgo-kavuc.mp4

After:

31-03-v0zlo-l1m9z.mp4

Does it address your concern above, @ludoboludo?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wasn't exactly my concern but good catch on that approach.

My concern was just that when the mega menu is taking the full space, the only way you can close it is by clicking somewhere in the header/the parent menu item.
And I know when I visit other website I sometimes tend to click somewhere else to dismiss a dropdown. But not a biggy 👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! This is only when the mega menu will take the full height of the view space right - I am happy that we can click outside of the menu most of the time for mid range height menu

assets/details-disclosure.js Outdated Show resolved Hide resolved
@@ -18,6 +17,10 @@
z-index: -1;
}

.shopify-section-header-sticky .mega-menu__content {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wasn't exactly my concern but good catch on that approach.

My concern was just that when the mega menu is taking the full space, the only way you can close it is by clicking somewhere in the header/the parent menu item.
And I know when I visit other website I sometimes tend to click somewhere else to dismiss a dropdown. But not a biggy 👍

@@ -49,13 +42,19 @@
.mega-menu__link {
color: rgba(var(--color-foreground), 0.75);
display: block;
font-size: 1.2rem;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So should we be switching to 1.3rem here?

sections/header.liquid Show resolved Hide resolved
@@ -49,11 +45,21 @@
.mega-menu__link {
color: rgba(var(--color-foreground), 0.75);
display: block;
font-size: 1.2rem;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
font-size: 1.2rem;
font-size: 1.3rem;

To update based on UX recommendation to monitor and observe from different font perspective before decreasing the size smaller. Thanks! cc. @danielvan

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just made the commit - should be ready to test.

Copy link
Contributor

@melissaperreault melissaperreault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you team! Looks good! 🎉 🚢

Copy link
Contributor

@ludoboludo ludoboludo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good 👍

@@ -618,6 +618,7 @@
if (this.predictiveSearch && this.predictiveSearch.isOpen) return;

if (scrollTop > this.currentScrollTop && scrollTop > this.headerBounds.bottom) {
if (this.preventHide) return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the other effect, I say "issue" in the video but it isn't one. Is that the sticky header will stay stick until you close the submenu: video

But since it's easy to close I don't see it being too much of an issue 🤔 Just sharing so we know all the behavioural changes with this.

Copy link
Contributor

@LucasLacerdaUX LucasLacerdaUX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@tyleralsbury tyleralsbury merged commit 72091ed into main Apr 4, 2022
@tyleralsbury tyleralsbury deleted the adjust-mega-menu-hierarchy branch April 4, 2022 14:09
JonoHall added a commit to ResinCraft/dawn that referenced this pull request Nov 12, 2022
* Add "Maximum Products to Show" setting to Product Recommendations section (Shopify#1429)

* Add missing gradient support (Shopify#1304)

* Add missing gradients to cards

* Enforce solid bg on quantity input

* Add gradient to cart notification

* Add to nav, img banner, facets, slideshow, etc

* Add to media modal

* Add to submenu

* Remove search popup gradient

* Fix mobile facets scrolling/background

* Adjust mobile nav gradients

* Cleanup

* fix border radius on combination inputs

* Fix password page email signup input (Shopify#1421)

* Setup theme-check GitHub annotations (Shopify#1422)

* test something real quick (Shopify#1467)

* Cleanup product media grid spacing (Shopify#1444)

* Cleanup product media grid

* Adjust grid selectors

* Hopefully fix arrow alignment

* Fix non-stacked item widths

* Update color list order and simplify section string (Shopify#1413)

* update color list order

* change announcement bar string

* fix label

* update collapsible content

* update email signup banner

* update footer

* update header

* update image banner

* update image with text

* update password header and footer

* update email signup

* update rich text and slideshow

* update missing translations

* Update 20 translation files

* Update sections/announcement-bar.liquid

Co-authored-by: Ludo <ludo.segura@shopify.com>

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>

* Add mega menu (Shopify#1316)

* Simplify header dropdown menu CSS selectors

* Create popup utility class to apply popup global settings styles

* Add mega menu settings to header section. Add en locale. Add mega menu liquid as snippet. Add mega menu css

* Fix indent

* Add info to menu type setting

* Remove condition for showing dropdown menus for subcategories with no children

* Force zero border-radius and top/bottom border for mega menu container since it's full width

* Update 1 translation file

* Prevent mega menu shadows from overlapping header by reducing menu content z-index. Clean up unused CSS

* Add todo

* Show mega menu top border only if header does not have separator line enabled

* Remove empty line

* Update 16 translation files

* Update 3 translation files

* Remove mega menu snippet since contents are not being re-used. Add mega menu liquid in header directly instead

* Update assets/component-mega-menu.css

Co-authored-by: MM <martina.marien@shopify.com>

* Rename utility class

* Add mega menu content layout and styles (Shopify#1338)

* Add grid for mega menu content and styles for links

* Remove role="list" from ul elements since list is ul elements' default role

* Adjust link styles

* Set mega menu content max height based on viewport height. Use header bottom position set in JS for calculation

* Round position value down instead of up to be more consistent with other instances where --header-bottom-position value is set in JS

* Fix spacing

* Change level 2 link color to better distinguish from level 3 links

* Revert mega menu heading opacity to improve color contrast

* Merge branch 'add-mega-menu' of https://github.com/Shopify/dawn into add-mega-menu-content

# Conflicts:
#	snippets/mega-menu.liquid

* Add id to mega menu content container (JS will use id to add aria-control attribute to summary element). Add role="list" to ul in mega menu for a11y (when list bullets are removed some assistive technologies may not convey ul as list without explicit role)

* Fix typo

* Combine css properties for same class

* Set mega menu links to display block to ensure bigger touch target

* Add some bottom offset to menu max-height to prevent iOS Safari from cutting off bottom of menu

* Update link style (remove uppercase) for 2nd level links that have no children

* Update L2 link font to bold. Use Liquid to calculate bold font-weight value: "bold" will be +300 relative to default body font-weight, but restricted to max of 1000

* Address feedback. Add explicit role="list" for a11y (when list bullets are removed some assistive technologies may not convey ul as list without explicit role)

* Use rem instead of px

* Remove redundant css

* Update line height to account for body scale

* Move JS to set header bottom position CSS variable to its own custom HTML component. This is to ensure this snippet of JS does not run if not needed

* Remove usage of --viewport-height since its value may not have been set

* Update references (in JS and CSS) to details-disclosure to also account for header-menu which extends details-disclosure

* Update logic to set  --header-bottom-position-desktop value when menu is toggled, instead of in constructor. This ensures the header is visible when the value is calculated

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Co-authored-by: MM <martina.marien@shopify.com>

* Update translations: merchant (Shopify#1474)

* Update 1 translation file (Shopify#1475)

* Center align payment terms form text when there is no image (Shopify#1473)

* Add grid settings to collections list (Shopify#1469)

* Feat. collection updates (Shopify#1295)

* Update 20 translation files (Shopify#1487)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Theme check manual fixes (Shopify#1379)

* Clean up behaviour when there are only L2 links mega menu (Shopify#1492)

* Center mega menu (Shopify#1482)

* Update 1 translation file (Shopify#1499)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Video alt text info content update (Shopify#935)

* Video alt text info content update

* Update locales/en.default.schema.json

* Update locales/en.default.schema.json

* Update 4 translation files

* Update 3 translation files

* Update 9 translation files

* Update 3 translation files

* Update 1 translation file

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Adjust color contrast for Vendor on the cart page (Shopify#1462)

* Add support for boolean filters (Shopify#1456)

* Fixed condensed mega menu (Shopify#1504)

* Fixed condensed mega menu

* Fixed bug where product page thumbnail slider arrows were appearing when they shouldnt (Shopify#1510)

* Fixed multicolumn gap spacing on mobile (Shopify#1505)

* Fixed multicolumn gap spacing on mobile

* Fixed max price display on filter drawer (Shopify#1512)

* Theme check TemplateLength (Shopify#1511)

* Add PR checkbox for theme documentation (Shopify#1516)

* Add PR checkbox for theme documentation

* Update .github/PULL_REQUEST_TEMPLATE.md

* Update 1 translation file (Shopify#1517)

* Update 1 translation file (Shopify#1528)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1533)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1536)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Quick Add (Shopify#1388)

* Featured Collection : Fix max width setting (Shopify#1538)

* Fix product rating help doc links (Shopify#1532)

* fix links for product rating

* Update 20 translation files

* update os2 links and remove /en

* update other URL to remove the language path

* Update 20 translation files

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Prevent empty heading in contact form (Shopify#1515)

* Only render contact heading if not empty

* Add fallback form heading

* Move title string

* Update 21 translation files

* Update 3 translation files

* Update 6 translation files

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Move slideshow control buttons when set to autorotate (Shopify#1523)

* Update 1 translation file (Shopify#1554)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Hide inactive mobile menu items from screen readers (Shopify#1493)

* Hide mobile menu ancestors from screen readers

* Account for close button

* Cleanup on drawer close

* Account for mobile facets drawer

* Vertical filter (Shopify#1443)

* Remove transforms from image with text content (Shopify#1560)

* Fix shop link on giftcard page (Shopify#1557)

Co-authored-by: Max@SMAKK <max-smakk@MacBook-Pro-4.local>

* Using font size and spacing for mega menu hierarchy (Shopify#1520)

* Using font size and spacing for mega menu hierarchy

Co-authored-by: LucasLacerdaUX <lucas.lacerda@shopify.com>
Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* Update translations: buyer (Shopify#1581)

* Update 1 translation file

* Update 1 translation file

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Quick Add: Fix button overflow on mobile carousel (Shopify#1567)

* Update spacing (Shopify#1588)

* Vertical filter UX follow ups (Shopify#1568)

* Vertical filter follow ups

* Fix button alignment

* Fix search sort

* Fix sort

* Fix wrapping

* Fix overflow

* Fix empty space

* Fix button no js

* Fix button style

* Fix filter column

* Apply secondary style

* Apply button

* Fix search

* Fix no-js layout for drawer and product count position (Shopify#1572)

* fix no-js layout for drawer and product count position

* udpate vertical product count position on drawer on desktop

* fix broken html

* remove unnecessary facets class

* update some logic to fix state after rebase

* fix spacing

* Update margin formatting

Co-authored-by: Ludo <ludo.segura@shopify.com>

* Update padding formatting

Co-authored-by: Ludo <ludo.segura@shopify.com>

* Add hidden inputs to preserve search queries (Shopify#1585)

* fix no-js layout for drawer and product count position

* udpate vertical product count position on drawer on desktop

* fix broken html

* remove unnecessary facets class

* update some logic to fix state after rebase

* fix spacing

* Add hidden inputs to preserve search queries

Co-authored-by: MM <martina.marien@shopify.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>

* Version bump v5.0.0 (Shopify#1624)

* Remove unused setting (Shopify#1617)

* Update 5 translation files (Shopify#1626)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1634)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Remove recaptcha visibility hidden on contact form (Shopify#1637)

* Fix Product strucure-data markup for Brand property (Shopify#1600)

* Fix empty collection links (Shopify#1639)

* Fix first image lazy load on main product section (Shopify#1286)

* Make sure first image is not lazy loaded

* Use a single liquid tag

* Update sections/main-product.liquid

Co-authored-by: Andrew Etchen <andrew.etchen@shopify.com>

Co-authored-by: Andrew Etchen <andrew.etchen@shopify.com>

* replace the hex code by currentColor (Shopify#1591)

* Cart drawer (Shopify#1544)

* Fix button spinner in Safari (Shopify#1646)

* Rich text improvements (Shopify#1635)

* [Header] add setting to tweak top and bottom padding (Shopify#1654)

* Add header padding setting

* Update minimum to 5

* Changed defaults

* Update header with option 2

* Remove unnecessary code

* Update translations: buyer (Shopify#1659)

* Update translations: merchant (Shopify#1681)

* Remove gradient when slide container is set to be hidden on desktop (Shopify#1643)

* Revert flex grow on collage card__content (Shopify#1662)

* Update minimum header padding to zero (Shopify#1688)

* Fix a typo in main-product.liquid (Shopify#1647)

* 1-click Quick Add for products with 1 non-default variant (Shopify#1610)

* Add 1-click quick-add support for products with exactly 1 non-default variant

* Revert "Add 1-click quick-add support for products with exactly 1 non-default variant"

This reverts commit 41648ca.

* Add 1-click quick-add support for products with exactly 1 non-default variant

* Switch to Variants Size

* Update spacing below product media (Shopify#1689)

* Update spacing below product media

* Update visible

* Remove extra spacing

* Update desktop layout

* Revert button type and button 1 ids (Shopify#1705)

* Update Banner image and logo Image to use `image_tag` (Shopify#1701)

* Fix product media slider peek (Shopify#1696)

* Account for gap spacing in product slider width

* Prevent slider arrows with single media

* Remove alt text to improve screen reader experience  (Shopify#1679)

* Update Subtotal header for a11y (Shopify#1680)

* Remove extra whitespace on Quick Add modals (Shopify#1706)

* Always centered

* Non centered

* Revert height

* Set height to initial height

* Revert fixed height

* Remove extra

* Update 1 translation file (Shopify#1715)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* [Collapsible content] Add vertical padding to blocks (Shopify#1655)

* Fix padding. top and bottom now gets 1.5rem

* Set padding-top to 0

* Fix syntax error caused by missing calc in product CSS (Shopify#1703)

* Update 1 translation file (Shopify#1739)

* Cart drawer section fix (Shopify#1742)

* Update translations: merchant (Shopify#1757)

* Version bump v6.0.0 (Shopify#1769)

* Version bump

Update theme version to v6.0.0

* Update release-notes.md

* Update release-notes.md

Co-authored-by: Ludo <ludo.segura@shopify.com>

* Update release-notes.md

Co-authored-by: Ludo <ludo.segura@shopify.com>

* Update release-notes.md

Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* Update release-notes.md

Co-authored-by: Ludo <ludo.segura@shopify.com>
Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* Fix box shadow being cut off on sliders (Shopify#1772)

* Update contact-form.liquid (Shopify#1716)

* Update main-cart-items.liquid (Shopify#1717)

* Update main-collection-banner.liquid (Shopify#1718)

* Remove menu title requirement (Shopify#1763)

* Menu heading

Remove requirement for menu heading in footer to display

* Update footer.liquid

* Remove helper text

* Remove translations

* Update footer

* Update footer

* Update footer

* Update footer

* Revert changes

* Fixes

* Update

* Update to footer

* Badge padding update (Shopify#1785)

* Add video button aria label  (Shopify#1728)

* Change aria for active pagination nav control (Shopify#1727)

* Update 1 translation file (Shopify#1809)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Warn users that link opens in a new window (Shopify#1735)

* Add unique ids to card-product.liquid headings and product state badges (Shopify#1731)

* Badge product card position copy update (Shopify#1795)

* Badge product card position copy update

* Update 7 translation files

* Update 3 translation files

* Update 6 translation files

* Update 3 translation files

* Update 1 translation file

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Distinct View All IDs for screen readers (Shopify#1733)

* Fix Quick Add when cart type is set to Page (remove data-cart-type) (Shopify#1817)

* Replaced a missing </div> tag in main-search.liquid (Shopify#1804)

* version bump to 6.0.2 (Shopify#1819)

* Add help text to the Variant Pills settings area (Shopify#1782)

* Add help text to the Variant Pills settings section.

* Update copy as per reviews.

* Update 5 translation files

* Update 4 translation files

* Update 8 translation files

* Update 2 translation files

* Update 1 translation file

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update translations: buyer (Shopify#1828)

* Update 1 translation file

* Update locales/th.json

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>

* Update translations: merchant (Shopify#1818)

* Update 1 translation file

* Update 1 translation file

* Update 1 translation file

* Update locales/th.schema.json

* Update 1 translation file

* Update th.schema.json

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>

* Remove duplicate .hidden class in base.css (Shopify#1811)

* Setting border-top to 0.1rem to match with header navigation (Shopify#1802)

updating component-facets.css to match div line width from the header

* Add period to Cart global setting info text (Shopify#1751)

* add period to info text

* Update 1 translation file

* Update 9 translation files

* Update 9 translation files

* Update 1 translation file

Co-authored-by: Melissa Perreault <melissaperreault@Melissas-MacBook-Pro.local>
Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Add focus ring/border in Windows High Contrast mode (Shopify#1729)

* Update 1 translation file (Shopify#1836)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Announcment alignment (Shopify#1770)

* Announcement and translation

* Alignment for announcement bar

* Translations

* Update alignment and order of options.

* Update locales/th.schema.json

Co-authored-by: Andrew Etchen <andrew.etchen@shopify.com>

* Uniform padding with link

* Make colour go full width

* Full width hover and justify text

* Update sections/announcement-bar.liquid

Co-authored-by: Ludo <ludo.segura@shopify.com>

* Remove justify

* Remove justify

Co-authored-by: Andrew Etchen <andrew.etchen@shopify.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>

* Add pagination to main collection list (Shopify#1745)

* Jsonify customer sections (Shopify#1640)

* Update translations: merchant (Shopify#1843)

* Update 20 translation files

* Update 1 translation file

* Update 20 translation files

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1849)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update PULL_REQUEST_TEMPLATE.md

* Remove CLA from probot and use new GitHub action (Shopify#1859)

* Update 1 translation file (Shopify#1862)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Add `reopened` activity type (Shopify#1874)

* add vendor to popup notification when vendor checkbox is checked (Shopify#1870)

* Add proper product title to data-shopify-title (Shopify#1858)

* Update 1 translation file (Shopify#1872)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Use param_name instead of label to construct an id for filter values (Shopify#839)

* Fix linting issues in feature-product and main-product sections (Shopify#1873)

* fix linting issues in feature-product and main-product sections

* use button--secondary when dynamic checkout or subscriptions enabled (Shopify#1875)

* [Card Settings] Break card global settings into Blog, Collection and Product Cards (Shopify#1774)

* [Header] New logo position (Shopify#1864)

* update predictive search container width (Shopify#1878)

* update predictive search container width on small screens

* Update 20 translation files (Shopify#1891)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Fix filter bug to allow filters to be removed (Shopify#1890)

* [Product layout] Add desktop media position (Shopify#1720)

* Update 2 translation files (Shopify#1896)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Switch blog header img to eager instead of lazy load (Shopify#1894)

* Update 1 translation file (Shopify#1899)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* fix(sections/header): remove duplicated classnames (Shopify#1853)

* change done in pickup availability (Shopify#1831)

* Fix spaces in menu IDs by replacing titles with handles (Shopify#1846)

* Increase left and top edge for zoom-icon element (Shopify#1902)

* Increase left and top edge for zoom-icon element

* Minor changes that I forgot undo

* Delete unnecessary whitespace

* Change left and top edges to 1.2rem

* fix: drawer - typing in quantity and pressing enter empties cart (Shopify#1881)

* hide quick add button when javascript is disabled (Shopify#1904)

* hide quick add button when javascript disabled

* Update PULL_REQUEST_TEMPLATE.md (Shopify#1892)

* Update PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

Adding hidden markdown

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: MM <martina.marien@shopify.com>

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* Apply suggestions from code review

* Update .github/PULL_REQUEST_TEMPLATE.md

* Edit based on feedback

Co-authored-by: MM <martina.marien@shopify.com>
Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* Update Lighthouse CI (Shopify#1898)

* Update card style default for collage (Shopify#1922)

* Update 1 translation file (Shopify#1924)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update PULL_REQUEST_TEMPLATE.md to include visual change reference (Shopify#1923)

* Update PULL_REQUEST_TEMPLATE.md

* Change bold to heading markup

* Fix slider padding and whitespace issue on Safari (Shopify#1669)

* Update 1 translation file (Shopify#1928)

* Add a max width to iframes within the product info container (Shopify#1929)

* Fix popup cart notification overlap in the latest Safari version (Shopify#1912)

* Fix video controls on the feat product section (Shopify#1940)

* Update 1 translation file (Shopify#1948)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1949)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1951)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* [Product page] Add 2 column layout for desktop and mobile (Shopify#1766)

* Android menu drawer account fix (Shopify#1945)

* Fix android menu drawer not showing account

* remove unnecessary code

* Update 8 translation files (Shopify#1956)

* Use image tag (Shopify#1906)

* image_tag in collage

* image_tag in multicolumn

* image_tag in slideshow

* image_tag in image_with_text

* image_tag in collapsible-content

* image_tag in video

* Apply suggestions from code review

Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* PR review: Clean up whitespace on capture def

Co-authored-by: Kyle Conrad <kcomrade53@gmail.com>
Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>
Co-authored-by: Kyle Conrad <kyle.conrad@shopify.com>

* Complementary products (Shopify#1938)

* Update translations: buyer (Shopify#1963)

* Update 29 translation files

* Update 1 translation file

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Fix shadow being cut on featured collection slider, featured blog slider and collection list slider (Shopify#1961)

* Fix shadow being cut on feat collection slider

* Missing commit

* Remove file

* Rename

* Add class

* Remove Product Subtitle block from Featured Product section (Shopify#1964)

* Remove Text Block for Product Subtitle on Dawn's pre-configured Product Page and Featured Collection sections

* Remove caption from block order

* Revert change for json templates

* [Complementary product] Keep text alignment to the left for horizontal cards (Shopify#1965)

* Keep text alignment to the left for horizontal cards

* prevent image padding from global product cards settings to apply

* Update version and release notes (Shopify#1966)

* fix margin-top on middle center header option (Shopify#1970)

* Update 1 translation file (Shopify#1967)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* fix slider controls showing in certain scenarios on mobile (Shopify#1973)

* fix closing element (Shopify#1981)

* Variant media modal fix (Shopify#1985)

* Fix duplicate class attr issue

* Prevent use of lazy_load variable in complementary block

* Ensure complementary block loads card css (Shopify#1991)

* [Complementary block] update url from the info text to the latest (Shopify#1974)

* update url from the info text to the latest

* fix parentheses

* Update 20 translation files

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Add version bump and release notes (Shopify#1997)

* Enable language/country selector by default (Shopify#1988)

* Fetch the header (LCP) image at high priority (Shopify#1918)

* [Product page] "Icon with text" block (Shopify#1933)

Add a new Icon-With-Text block to Product Page

* Add shopify attributes to description block on product page (Shopify#2005)

* Add variant picker sold out UI [temporary solution] (Shopify#1407)

* Move product media gallery and modal into snippets [Refactor] (Shopify#1934)

* Move product media gallery and modal into snippets

* Gallery snippet api adjustments

* Fixes for featured product flexibility

* Exclude media_size from gallery api

* Update 1 translation file (Shopify#2023)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Remove setting for variant styling (Shopify#2025)

* Remove setting for variant styling

* wrong edit fix

* Update 30 translation files (Shopify#2026)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Minor improvements to product media liquid [Refactor] (Shopify#2022)

* Refactor ratio usage in product thumbnail

* Fix zoom icon placement and featured product issues

* Minor updates

* Prevent ui changes from variant selection queues (Shopify#2030)

* Prevent hidden Variant Picker block from breaking Quick Add (Shopify#2049)

* Fix 'Cannot read properties of null' error in SliderComponent (Shopify#2053)

* remove redundant role from SVGs (Shopify#2037)

* remove redundant role from SVGs

* hide icons from screen readers

* Fix z-index issue for mega menu in Safari (Shopify#2034)

* Fix z-index issue for mega menu in Safari

* add comment with context

* small edits

* change approach

* [PDP] Add SKU block (Shopify#1987)

Add SKU block to PDP

* Adjust mobile media selectors for new product-thumbnail markup (Shopify#2050)

* Add zoom flexibility (Shopify#1983)

add 'lightbox', 'hover', and 'none' zoom settings to images

* Prevent media background on deferred-media container (Shopify#2068)

* Add Inventory status block (Shopify#1979)

* [Product page & feat. product] Fix unavailable variant issue (Shopify#2031)

* Reset to default

* Reset files

* Reset changes

Co-authored-by: Sofia Matulis <sofiamatulis@users.noreply.github.com>
Co-authored-by: Ken Meleta <30790058+kmeleta@users.noreply.github.com>
Co-authored-by: Andrew Etchen <andrew.etchen@shopify.com>
Co-authored-by: Charles-Philippe Clermont <cp.clermont@shopify.com>
Co-authored-by: melissaperreault <melissa.perreault@shopify.com>
Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>
Co-authored-by: Kai <KaichenWang@users.noreply.github.com>
Co-authored-by: MM <martina.marien@shopify.com>
Co-authored-by: Talia Harrison-Marcassa <taliahm@users.noreply.github.com>
Co-authored-by: Caroline <mllegeorgesand@gmail.com>
Co-authored-by: Tyler Alsbury <60230011+tyleralsbury@users.noreply.github.com>
Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>
Co-authored-by: Maximilian Bredow <30573532+bredowmax@users.noreply.github.com>
Co-authored-by: Max@SMAKK <max-smakk@MacBook-Pro-4.local>
Co-authored-by: LucasLacerdaUX <lucas.lacerda@shopify.com>
Co-authored-by: Antonio J <antonio.jhun62@gmail.com>
Co-authored-by: Baldur Helgason <baldur.helgason@gmail.com>
Co-authored-by: Alexander <alex@inso.codes>
Co-authored-by: Lee Siong Chan <leesiongchan@users.noreply.github.com>
Co-authored-by: Peretz Cohen <pizzaz93@users.noreply.github.com>
Co-authored-by: boltgolt <boltgolt@gmail.com>
Co-authored-by: Alistair Lane <alistair.lane@shopify.com>
Co-authored-by: Oliviammarcello <60230008+Oliviammarcello@users.noreply.github.com>
Co-authored-by: James <james@thoughtandmortar.com>
Co-authored-by: Kjell Reigstad <1202812+kjellr@users.noreply.github.com>
Co-authored-by: Gage <ItsGageHolland@gmail.com>
Co-authored-by: Daniel Nieuwenhuizen <danielvan@gmail.com>
Co-authored-by: Melissa Perreault <melissaperreault@Melissas-MacBook-Pro.local>
Co-authored-by: Yevhenii Huselietov <d46k16@gmail.com>
Co-authored-by: Monica Mateiu <monica.mateiu@gmail.com>
Co-authored-by: Monica Mateiu <monica.mateiu@shopify.com>
Co-authored-by: Sia <siakaramalegos@gmail.com>
Co-authored-by: Kasper Andersson <KasperAndersson@users.noreply.github.com>
Co-authored-by: Muhammad Abdullah <76752572+dexter845@users.noreply.github.com>
Co-authored-by: Nathan Dawson <n_dawson@me.com>
Co-authored-by: Eugene Kasimov <105315663+eugenekasimov@users.noreply.github.com>
Co-authored-by: Robert <treboryx@gmail.com>
Co-authored-by: Tyler Rowsell <tyler.rowsell@shopify.com>
Co-authored-by: Kyle Conrad <kcomrade53@gmail.com>
Co-authored-by: Kyle Conrad <kyle.conrad@shopify.com>
Co-authored-by: Lucas Kim <s.lucas.kim@gmail.com>
Co-authored-by: Sia <sia.karamalegos@shopify.com>
Co-authored-by: CFX <cfxd@users.noreply.github.com>
JonoHall added a commit to ResinCraft/dawn that referenced this pull request Nov 12, 2022
* Add "Maximum Products to Show" setting to Product Recommendations section (Shopify#1429)

* Add missing gradient support (Shopify#1304)

* Add missing gradients to cards

* Enforce solid bg on quantity input

* Add gradient to cart notification

* Add to nav, img banner, facets, slideshow, etc

* Add to media modal

* Add to submenu

* Remove search popup gradient

* Fix mobile facets scrolling/background

* Adjust mobile nav gradients

* Cleanup

* fix border radius on combination inputs

* Fix password page email signup input (Shopify#1421)

* Setup theme-check GitHub annotations (Shopify#1422)

* test something real quick (Shopify#1467)

* Cleanup product media grid spacing (Shopify#1444)

* Cleanup product media grid

* Adjust grid selectors

* Hopefully fix arrow alignment

* Fix non-stacked item widths

* Update color list order and simplify section string (Shopify#1413)

* update color list order

* change announcement bar string

* fix label

* update collapsible content

* update email signup banner

* update footer

* update header

* update image banner

* update image with text

* update password header and footer

* update email signup

* update rich text and slideshow

* update missing translations

* Update 20 translation files

* Update sections/announcement-bar.liquid

Co-authored-by: Ludo <ludo.segura@shopify.com>

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>

* Add mega menu (Shopify#1316)

* Simplify header dropdown menu CSS selectors

* Create popup utility class to apply popup global settings styles

* Add mega menu settings to header section. Add en locale. Add mega menu liquid as snippet. Add mega menu css

* Fix indent

* Add info to menu type setting

* Remove condition for showing dropdown menus for subcategories with no children

* Force zero border-radius and top/bottom border for mega menu container since it's full width

* Update 1 translation file

* Prevent mega menu shadows from overlapping header by reducing menu content z-index. Clean up unused CSS

* Add todo

* Show mega menu top border only if header does not have separator line enabled

* Remove empty line

* Update 16 translation files

* Update 3 translation files

* Remove mega menu snippet since contents are not being re-used. Add mega menu liquid in header directly instead

* Update assets/component-mega-menu.css

Co-authored-by: MM <martina.marien@shopify.com>

* Rename utility class

* Add mega menu content layout and styles (Shopify#1338)

* Add grid for mega menu content and styles for links

* Remove role="list" from ul elements since list is ul elements' default role

* Adjust link styles

* Set mega menu content max height based on viewport height. Use header bottom position set in JS for calculation

* Round position value down instead of up to be more consistent with other instances where --header-bottom-position value is set in JS

* Fix spacing

* Change level 2 link color to better distinguish from level 3 links

* Revert mega menu heading opacity to improve color contrast

* Merge branch 'add-mega-menu' of https://github.com/Shopify/dawn into add-mega-menu-content

# Conflicts:
#	snippets/mega-menu.liquid

* Add id to mega menu content container (JS will use id to add aria-control attribute to summary element). Add role="list" to ul in mega menu for a11y (when list bullets are removed some assistive technologies may not convey ul as list without explicit role)

* Fix typo

* Combine css properties for same class

* Set mega menu links to display block to ensure bigger touch target

* Add some bottom offset to menu max-height to prevent iOS Safari from cutting off bottom of menu

* Update link style (remove uppercase) for 2nd level links that have no children

* Update L2 link font to bold. Use Liquid to calculate bold font-weight value: "bold" will be +300 relative to default body font-weight, but restricted to max of 1000

* Address feedback. Add explicit role="list" for a11y (when list bullets are removed some assistive technologies may not convey ul as list without explicit role)

* Use rem instead of px

* Remove redundant css

* Update line height to account for body scale

* Move JS to set header bottom position CSS variable to its own custom HTML component. This is to ensure this snippet of JS does not run if not needed

* Remove usage of --viewport-height since its value may not have been set

* Update references (in JS and CSS) to details-disclosure to also account for header-menu which extends details-disclosure

* Update logic to set  --header-bottom-position-desktop value when menu is toggled, instead of in constructor. This ensures the header is visible when the value is calculated

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Co-authored-by: MM <martina.marien@shopify.com>

* Update translations: merchant (Shopify#1474)

* Update 1 translation file (Shopify#1475)

* Center align payment terms form text when there is no image (Shopify#1473)

* Add grid settings to collections list (Shopify#1469)

* Feat. collection updates (Shopify#1295)

* Update 20 translation files (Shopify#1487)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Theme check manual fixes (Shopify#1379)

* Clean up behaviour when there are only L2 links mega menu (Shopify#1492)

* Center mega menu (Shopify#1482)

* Update 1 translation file (Shopify#1499)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Video alt text info content update (Shopify#935)

* Video alt text info content update

* Update locales/en.default.schema.json

* Update locales/en.default.schema.json

* Update 4 translation files

* Update 3 translation files

* Update 9 translation files

* Update 3 translation files

* Update 1 translation file

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Adjust color contrast for Vendor on the cart page (Shopify#1462)

* Add support for boolean filters (Shopify#1456)

* Fixed condensed mega menu (Shopify#1504)

* Fixed condensed mega menu

* Fixed bug where product page thumbnail slider arrows were appearing when they shouldnt (Shopify#1510)

* Fixed multicolumn gap spacing on mobile (Shopify#1505)

* Fixed multicolumn gap spacing on mobile

* Fixed max price display on filter drawer (Shopify#1512)

* Theme check TemplateLength (Shopify#1511)

* Add PR checkbox for theme documentation (Shopify#1516)

* Add PR checkbox for theme documentation

* Update .github/PULL_REQUEST_TEMPLATE.md

* Update 1 translation file (Shopify#1517)

* Update 1 translation file (Shopify#1528)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1533)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1536)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Quick Add (Shopify#1388)

* Featured Collection : Fix max width setting (Shopify#1538)

* Fix product rating help doc links (Shopify#1532)

* fix links for product rating

* Update 20 translation files

* update os2 links and remove /en

* update other URL to remove the language path

* Update 20 translation files

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Prevent empty heading in contact form (Shopify#1515)

* Only render contact heading if not empty

* Add fallback form heading

* Move title string

* Update 21 translation files

* Update 3 translation files

* Update 6 translation files

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Move slideshow control buttons when set to autorotate (Shopify#1523)

* Update 1 translation file (Shopify#1554)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Hide inactive mobile menu items from screen readers (Shopify#1493)

* Hide mobile menu ancestors from screen readers

* Account for close button

* Cleanup on drawer close

* Account for mobile facets drawer

* Vertical filter (Shopify#1443)

* Remove transforms from image with text content (Shopify#1560)

* Fix shop link on giftcard page (Shopify#1557)

Co-authored-by: Max@SMAKK <max-smakk@MacBook-Pro-4.local>

* Using font size and spacing for mega menu hierarchy (Shopify#1520)

* Using font size and spacing for mega menu hierarchy

Co-authored-by: LucasLacerdaUX <lucas.lacerda@shopify.com>
Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* Update translations: buyer (Shopify#1581)

* Update 1 translation file

* Update 1 translation file

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Quick Add: Fix button overflow on mobile carousel (Shopify#1567)

* Update spacing (Shopify#1588)

* Vertical filter UX follow ups (Shopify#1568)

* Vertical filter follow ups

* Fix button alignment

* Fix search sort

* Fix sort

* Fix wrapping

* Fix overflow

* Fix empty space

* Fix button no js

* Fix button style

* Fix filter column

* Apply secondary style

* Apply button

* Fix search

* Fix no-js layout for drawer and product count position (Shopify#1572)

* fix no-js layout for drawer and product count position

* udpate vertical product count position on drawer on desktop

* fix broken html

* remove unnecessary facets class

* update some logic to fix state after rebase

* fix spacing

* Update margin formatting

Co-authored-by: Ludo <ludo.segura@shopify.com>

* Update padding formatting

Co-authored-by: Ludo <ludo.segura@shopify.com>

* Add hidden inputs to preserve search queries (Shopify#1585)

* fix no-js layout for drawer and product count position

* udpate vertical product count position on drawer on desktop

* fix broken html

* remove unnecessary facets class

* update some logic to fix state after rebase

* fix spacing

* Add hidden inputs to preserve search queries

Co-authored-by: MM <martina.marien@shopify.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>

* Version bump v5.0.0 (Shopify#1624)

* Remove unused setting (Shopify#1617)

* Update 5 translation files (Shopify#1626)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1634)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Remove recaptcha visibility hidden on contact form (Shopify#1637)

* Fix Product strucure-data markup for Brand property (Shopify#1600)

* Fix empty collection links (Shopify#1639)

* Fix first image lazy load on main product section (Shopify#1286)

* Make sure first image is not lazy loaded

* Use a single liquid tag

* Update sections/main-product.liquid

Co-authored-by: Andrew Etchen <andrew.etchen@shopify.com>

Co-authored-by: Andrew Etchen <andrew.etchen@shopify.com>

* replace the hex code by currentColor (Shopify#1591)

* Cart drawer (Shopify#1544)

* Fix button spinner in Safari (Shopify#1646)

* Rich text improvements (Shopify#1635)

* [Header] add setting to tweak top and bottom padding (Shopify#1654)

* Add header padding setting

* Update minimum to 5

* Changed defaults

* Update header with option 2

* Remove unnecessary code

* Update translations: buyer (Shopify#1659)

* Update translations: merchant (Shopify#1681)

* Remove gradient when slide container is set to be hidden on desktop (Shopify#1643)

* Revert flex grow on collage card__content (Shopify#1662)

* Update minimum header padding to zero (Shopify#1688)

* Fix a typo in main-product.liquid (Shopify#1647)

* 1-click Quick Add for products with 1 non-default variant (Shopify#1610)

* Add 1-click quick-add support for products with exactly 1 non-default variant

* Revert "Add 1-click quick-add support for products with exactly 1 non-default variant"

This reverts commit 41648ca.

* Add 1-click quick-add support for products with exactly 1 non-default variant

* Switch to Variants Size

* Update spacing below product media (Shopify#1689)

* Update spacing below product media

* Update visible

* Remove extra spacing

* Update desktop layout

* Revert button type and button 1 ids (Shopify#1705)

* Update Banner image and logo Image to use `image_tag` (Shopify#1701)

* Fix product media slider peek (Shopify#1696)

* Account for gap spacing in product slider width

* Prevent slider arrows with single media

* Remove alt text to improve screen reader experience  (Shopify#1679)

* Update Subtotal header for a11y (Shopify#1680)

* Remove extra whitespace on Quick Add modals (Shopify#1706)

* Always centered

* Non centered

* Revert height

* Set height to initial height

* Revert fixed height

* Remove extra

* Update 1 translation file (Shopify#1715)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* [Collapsible content] Add vertical padding to blocks (Shopify#1655)

* Fix padding. top and bottom now gets 1.5rem

* Set padding-top to 0

* Fix syntax error caused by missing calc in product CSS (Shopify#1703)

* Update 1 translation file (Shopify#1739)

* Cart drawer section fix (Shopify#1742)

* Update translations: merchant (Shopify#1757)

* Version bump v6.0.0 (Shopify#1769)

* Version bump

Update theme version to v6.0.0

* Update release-notes.md

* Update release-notes.md

Co-authored-by: Ludo <ludo.segura@shopify.com>

* Update release-notes.md

Co-authored-by: Ludo <ludo.segura@shopify.com>

* Update release-notes.md

Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* Update release-notes.md

Co-authored-by: Ludo <ludo.segura@shopify.com>
Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* Fix box shadow being cut off on sliders (Shopify#1772)

* Update contact-form.liquid (Shopify#1716)

* Update main-cart-items.liquid (Shopify#1717)

* Update main-collection-banner.liquid (Shopify#1718)

* Remove menu title requirement (Shopify#1763)

* Menu heading

Remove requirement for menu heading in footer to display

* Update footer.liquid

* Remove helper text

* Remove translations

* Update footer

* Update footer

* Update footer

* Update footer

* Revert changes

* Fixes

* Update

* Update to footer

* Badge padding update (Shopify#1785)

* Add video button aria label  (Shopify#1728)

* Change aria for active pagination nav control (Shopify#1727)

* Update 1 translation file (Shopify#1809)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Warn users that link opens in a new window (Shopify#1735)

* Add unique ids to card-product.liquid headings and product state badges (Shopify#1731)

* Badge product card position copy update (Shopify#1795)

* Badge product card position copy update

* Update 7 translation files

* Update 3 translation files

* Update 6 translation files

* Update 3 translation files

* Update 1 translation file

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Distinct View All IDs for screen readers (Shopify#1733)

* Fix Quick Add when cart type is set to Page (remove data-cart-type) (Shopify#1817)

* Replaced a missing </div> tag in main-search.liquid (Shopify#1804)

* version bump to 6.0.2 (Shopify#1819)

* Add help text to the Variant Pills settings area (Shopify#1782)

* Add help text to the Variant Pills settings section.

* Update copy as per reviews.

* Update 5 translation files

* Update 4 translation files

* Update 8 translation files

* Update 2 translation files

* Update 1 translation file

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update translations: buyer (Shopify#1828)

* Update 1 translation file

* Update locales/th.json

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>

* Update translations: merchant (Shopify#1818)

* Update 1 translation file

* Update 1 translation file

* Update 1 translation file

* Update locales/th.schema.json

* Update 1 translation file

* Update th.schema.json

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>

* Remove duplicate .hidden class in base.css (Shopify#1811)

* Setting border-top to 0.1rem to match with header navigation (Shopify#1802)

updating component-facets.css to match div line width from the header

* Add period to Cart global setting info text (Shopify#1751)

* add period to info text

* Update 1 translation file

* Update 9 translation files

* Update 9 translation files

* Update 1 translation file

Co-authored-by: Melissa Perreault <melissaperreault@Melissas-MacBook-Pro.local>
Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Add focus ring/border in Windows High Contrast mode (Shopify#1729)

* Update 1 translation file (Shopify#1836)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Announcment alignment (Shopify#1770)

* Announcement and translation

* Alignment for announcement bar

* Translations

* Update alignment and order of options.

* Update locales/th.schema.json

Co-authored-by: Andrew Etchen <andrew.etchen@shopify.com>

* Uniform padding with link

* Make colour go full width

* Full width hover and justify text

* Update sections/announcement-bar.liquid

Co-authored-by: Ludo <ludo.segura@shopify.com>

* Remove justify

* Remove justify

Co-authored-by: Andrew Etchen <andrew.etchen@shopify.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>

* Add pagination to main collection list (Shopify#1745)

* Jsonify customer sections (Shopify#1640)

* Update translations: merchant (Shopify#1843)

* Update 20 translation files

* Update 1 translation file

* Update 20 translation files

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1849)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update PULL_REQUEST_TEMPLATE.md

* Remove CLA from probot and use new GitHub action (Shopify#1859)

* Update 1 translation file (Shopify#1862)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Add `reopened` activity type (Shopify#1874)

* add vendor to popup notification when vendor checkbox is checked (Shopify#1870)

* Add proper product title to data-shopify-title (Shopify#1858)

* Update 1 translation file (Shopify#1872)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Use param_name instead of label to construct an id for filter values (Shopify#839)

* Fix linting issues in feature-product and main-product sections (Shopify#1873)

* fix linting issues in feature-product and main-product sections

* use button--secondary when dynamic checkout or subscriptions enabled (Shopify#1875)

* [Card Settings] Break card global settings into Blog, Collection and Product Cards (Shopify#1774)

* [Header] New logo position (Shopify#1864)

* update predictive search container width (Shopify#1878)

* update predictive search container width on small screens

* Update 20 translation files (Shopify#1891)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Fix filter bug to allow filters to be removed (Shopify#1890)

* [Product layout] Add desktop media position (Shopify#1720)

* Update 2 translation files (Shopify#1896)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Switch blog header img to eager instead of lazy load (Shopify#1894)

* Update 1 translation file (Shopify#1899)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* fix(sections/header): remove duplicated classnames (Shopify#1853)

* change done in pickup availability (Shopify#1831)

* Fix spaces in menu IDs by replacing titles with handles (Shopify#1846)

* Increase left and top edge for zoom-icon element (Shopify#1902)

* Increase left and top edge for zoom-icon element

* Minor changes that I forgot undo

* Delete unnecessary whitespace

* Change left and top edges to 1.2rem

* fix: drawer - typing in quantity and pressing enter empties cart (Shopify#1881)

* hide quick add button when javascript is disabled (Shopify#1904)

* hide quick add button when javascript disabled

* Update PULL_REQUEST_TEMPLATE.md (Shopify#1892)

* Update PULL_REQUEST_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

Adding hidden markdown

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: MM <martina.marien@shopify.com>

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* Apply suggestions from code review

* Update .github/PULL_REQUEST_TEMPLATE.md

* Edit based on feedback

Co-authored-by: MM <martina.marien@shopify.com>
Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* Update Lighthouse CI (Shopify#1898)

* Update card style default for collage (Shopify#1922)

* Update 1 translation file (Shopify#1924)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update PULL_REQUEST_TEMPLATE.md to include visual change reference (Shopify#1923)

* Update PULL_REQUEST_TEMPLATE.md

* Change bold to heading markup

* Fix slider padding and whitespace issue on Safari (Shopify#1669)

* Update 1 translation file (Shopify#1928)

* Add a max width to iframes within the product info container (Shopify#1929)

* Fix popup cart notification overlap in the latest Safari version (Shopify#1912)

* Fix video controls on the feat product section (Shopify#1940)

* Update 1 translation file (Shopify#1948)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1949)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Update 1 translation file (Shopify#1951)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* [Product page] Add 2 column layout for desktop and mobile (Shopify#1766)

* Android menu drawer account fix (Shopify#1945)

* Fix android menu drawer not showing account

* remove unnecessary code

* Update 8 translation files (Shopify#1956)

* Use image tag (Shopify#1906)

* image_tag in collage

* image_tag in multicolumn

* image_tag in slideshow

* image_tag in image_with_text

* image_tag in collapsible-content

* image_tag in video

* Apply suggestions from code review

Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>

* PR review: Clean up whitespace on capture def

Co-authored-by: Kyle Conrad <kcomrade53@gmail.com>
Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>
Co-authored-by: Kyle Conrad <kyle.conrad@shopify.com>

* Complementary products (Shopify#1938)

* Update translations: buyer (Shopify#1963)

* Update 29 translation files

* Update 1 translation file

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Fix shadow being cut on featured collection slider, featured blog slider and collection list slider (Shopify#1961)

* Fix shadow being cut on feat collection slider

* Missing commit

* Remove file

* Rename

* Add class

* Remove Product Subtitle block from Featured Product section (Shopify#1964)

* Remove Text Block for Product Subtitle on Dawn's pre-configured Product Page and Featured Collection sections

* Remove caption from block order

* Revert change for json templates

* [Complementary product] Keep text alignment to the left for horizontal cards (Shopify#1965)

* Keep text alignment to the left for horizontal cards

* prevent image padding from global product cards settings to apply

* Update version and release notes (Shopify#1966)

* fix margin-top on middle center header option (Shopify#1970)

* Update 1 translation file (Shopify#1967)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* fix slider controls showing in certain scenarios on mobile (Shopify#1973)

* fix closing element (Shopify#1981)

* Variant media modal fix (Shopify#1985)

* Fix duplicate class attr issue

* Prevent use of lazy_load variable in complementary block

* Ensure complementary block loads card css (Shopify#1991)

* [Complementary block] update url from the info text to the latest (Shopify#1974)

* update url from the info text to the latest

* fix parentheses

* Update 20 translation files

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Add version bump and release notes (Shopify#1997)

* Enable language/country selector by default (Shopify#1988)

* Fetch the header (LCP) image at high priority (Shopify#1918)

* [Product page] "Icon with text" block (Shopify#1933)

Add a new Icon-With-Text block to Product Page

* Add shopify attributes to description block on product page (Shopify#2005)

* Add variant picker sold out UI [temporary solution] (Shopify#1407)

* Move product media gallery and modal into snippets [Refactor] (Shopify#1934)

* Move product media gallery and modal into snippets

* Gallery snippet api adjustments

* Fixes for featured product flexibility

* Exclude media_size from gallery api

* Update 1 translation file (Shopify#2023)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Remove setting for variant styling (Shopify#2025)

* Remove setting for variant styling

* wrong edit fix

* Update 30 translation files (Shopify#2026)

Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>

* Minor improvements to product media liquid [Refactor] (Shopify#2022)

* Refactor ratio usage in product thumbnail

* Fix zoom icon placement and featured product issues

* Minor updates

* Prevent ui changes from variant selection queues (Shopify#2030)

* Prevent hidden Variant Picker block from breaking Quick Add (Shopify#2049)

* Fix 'Cannot read properties of null' error in SliderComponent (Shopify#2053)

* remove redundant role from SVGs (Shopify#2037)

* remove redundant role from SVGs

* hide icons from screen readers

* Fix z-index issue for mega menu in Safari (Shopify#2034)

* Fix z-index issue for mega menu in Safari

* add comment with context

* small edits

* change approach

* [PDP] Add SKU block (Shopify#1987)

Add SKU block to PDP

* Adjust mobile media selectors for new product-thumbnail markup (Shopify#2050)

* Add zoom flexibility (Shopify#1983)

add 'lightbox', 'hover', and 'none' zoom settings to images

* Prevent media background on deferred-media container (Shopify#2068)

* Add Inventory status block (Shopify#1979)

* [Product page & feat. product] Fix unavailable variant issue (Shopify#2031)

Co-authored-by: Sofia Matulis <sofiamatulis@users.noreply.github.com>
Co-authored-by: Ken Meleta <30790058+kmeleta@users.noreply.github.com>
Co-authored-by: Andrew Etchen <andrew.etchen@shopify.com>
Co-authored-by: Charles-Philippe Clermont <cp.clermont@shopify.com>
Co-authored-by: melissaperreault <melissa.perreault@shopify.com>
Co-authored-by: translation-platform[bot] <34770790+translation-platform[bot]@users.noreply.github.com>
Co-authored-by: Ludo <ludo.segura@shopify.com>
Co-authored-by: Kai <KaichenWang@users.noreply.github.com>
Co-authored-by: MM <martina.marien@shopify.com>
Co-authored-by: Talia Harrison-Marcassa <taliahm@users.noreply.github.com>
Co-authored-by: Caroline <mllegeorgesand@gmail.com>
Co-authored-by: Tyler Alsbury <60230011+tyleralsbury@users.noreply.github.com>
Co-authored-by: Lucas Lacerda <37168033+LucasLacerdaUX@users.noreply.github.com>
Co-authored-by: Maximilian Bredow <30573532+bredowmax@users.noreply.github.com>
Co-authored-by: Max@SMAKK <max-smakk@MacBook-Pro-4.local>
Co-authored-by: LucasLacerdaUX <lucas.lacerda@shopify.com>
Co-authored-by: Antonio J <antonio.jhun62@gmail.com>
Co-authored-by: Baldur Helgason <baldur.helgason@gmail.com>
Co-authored-by: Alexander <alex@inso.codes>
Co-authored-by: Lee Siong Chan <leesiongchan@users.noreply.github.com>
Co-authored-by: Peretz Cohen <pizzaz93@users.noreply.github.com>
Co-authored-by: boltgolt <boltgolt@gmail.com>
Co-authored-by: Alistair Lane <alistair.lane@shopify.com>
Co-authored-by: Oliviammarcello <60230008+Oliviammarcello@users.noreply.github.com>
Co-authored-by: James <james@thoughtandmortar.com>
Co-authored-by: Kjell Reigstad <1202812+kjellr@users.noreply.github.com>
Co-authored-by: Gage <ItsGageHolland@gmail.com>
Co-authored-by: Daniel Nieuwenhuizen <danielvan@gmail.com>
Co-authored-by: Melissa Perreault <melissaperreault@Melissas-MacBook-Pro.local>
Co-authored-by: Yevhenii Huselietov <d46k16@gmail.com>
Co-authored-by: Monica Mateiu <monica.mateiu@gmail.com>
Co-authored-by: Monica Mateiu <monica.mateiu@shopify.com>
Co-authored-by: Sia <siakaramalegos@gmail.com>
Co-authored-by: Kasper Andersson <KasperAndersson@users.noreply.github.com>
Co-authored-by: Muhammad Abdullah <76752572+dexter845@users.noreply.github.com>
Co-authored-by: Nathan Dawson <n_dawson@me.com>
Co-authored-by: Eugene Kasimov <105315663+eugenekasimov@users.noreply.github.com>
Co-authored-by: Robert <treboryx@gmail.com>
Co-authored-by: Tyler Rowsell <tyler.rowsell@shopify.com>
Co-authored-by: Kyle Conrad <kcomrade53@gmail.com>
Co-authored-by: Kyle Conrad <kyle.conrad@shopify.com>
Co-authored-by: Lucas Kim <s.lucas.kim@gmail.com>
Co-authored-by: Sia <sia.karamalegos@shopify.com>
Co-authored-by: CFX <cfxd@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants