Skip to content

Commit

Permalink
Merge tag '6.2.0' into cornerstone-update-6.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomerford committed Sep 29, 2023
2 parents 20ea078 + 0e132e8 commit c472f7f
Show file tree
Hide file tree
Showing 44 changed files with 4,445 additions and 1,018 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Draft

## 6.2.0 (12-13-2021)
- Fix tooltip on close button of modal is shifted. [#2148](https://github.com/bigcommerce/cornerstone/pull/2148)
- Optimized usage of jsTree library. [#2145](https://github.com/bigcommerce/cornerstone/pull/2145)
- Replace schema microdata with LD+JSON tag. [#2138](https://github.com/bigcommerce/cornerstone/pull/2138)
- Translation Gap: Checkbox Option selection on Product. [#2063](https://github.com/bigcommerce/cornerstone/pull/2063)
- Admin Bar displays regardless of setting. [#2144](https://github.com/bigcommerce/cornerstone/pull/2144)
- Fix Loading unnecessary product lqip images on cart page. [#2149](https://github.com/bigcommerce/cornerstone/pull/2149)
- Translation updates November 2021. [#2146](https://github.com/bigcommerce/cornerstone/pull/2146)

## 6.1.3 (11-10-2021)
- Cannot see currency dropdown in storefront. [#2141](https://github.com/bigcommerce/cornerstone/pull/2141)

Expand Down
15 changes: 2 additions & 13 deletions assets/js/theme/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,7 @@ import svgInjector from './global/svg-injector';
export default class Global extends PageManager {
onReady() {
const {
channelId,
cartId,
productId,
categoryId,
secureBaseUrl,
maintenanceModeSettings,
adminBarLanguage,
showAdminBar,
isProductCardPresented,
isProductListPresented,
channelId, cartId, productId, categoryId, secureBaseUrl, maintenanceModeSettings, adminBarLanguage,
} = this.context;
cartPreview(secureBaseUrl, cartId);
quickSearch();
Expand All @@ -39,9 +30,7 @@ export default class Global extends PageManager {
menu();
mobileMenuToggle();
privacyCookieNotification();
if (showAdminBar) {
adminBar(secureBaseUrl, channelId, maintenanceModeSettings, JSON.parse(adminBarLanguage), productId, categoryId);
}
adminBar(secureBaseUrl, channelId, maintenanceModeSettings, JSON.parse(adminBarLanguage), productId, categoryId);
loadingProgressBar();
svgInjector();
}
Expand Down
5 changes: 5 additions & 0 deletions assets/scss/components/citadel/cards/_cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
}
}
}

&__link {
display: block;
position: relative;
}
}

.card-figure {
Expand Down
3 changes: 2 additions & 1 deletion assets/scss/components/foundation/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
}

&::after {
right: calc(50% - remCalc(10px));
right: 50%;
transform: translateX(remCalc(10px));
}
}

Expand Down
4 changes: 4 additions & 0 deletions assets/scss/components/stencil/cart/_cart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ $card-preview-zoom-bottom-offset: 6rem;
display: inline-block;
}

&__label {
display: inline-block;
}

+ .definitionList {
margin-top: spacing("quarter");
}
Expand Down
30 changes: 30 additions & 0 deletions assets/scss/components/stencil/heroCarousel/_heroCarousel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,36 @@
}
}
}

.slick-slide {
&.is-square-image-type {
.heroCarousel-image-wrapper {
height: 100vw;
}
}

&.is-vertical-image-type {
.heroCarousel-image-wrapper {
height: 110vw;
}
}

&.is-square-image-type,
&.is-vertical-image-type {
.heroCarousel-image-wrapper {
@include breakpoint("small") {
height: 56.25vw;
}
}
}

&.is-image-error {
.heroCarousel-image-wrapper {
background: url("../img/hero-carousel-image-load-error.svg") center center no-repeat;
background-size: contain;
}
}
}
}

.heroCarousel-slide {
Expand Down
18 changes: 18 additions & 0 deletions assets/scss/components/stencil/navPages/_navPages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,24 @@
}
}

&.is-open,
.collapsible-icon-wrapper.is-open {
svg {
fill: $navPage-subMenu-item--is-highlighted-color;
stroke: $navPage-subMenu-item--is-highlighted-color;
}
}

&:hover,
&.activePage {
color: $navPage-subMenu-item--is-highlighted-color;

svg {
fill: $navPage-subMenu-item--is-highlighted-color;
stroke: $navPage-subMenu-item--is-highlighted-color;
}
}

// turn a highlight into a button
&.highlightPage {
background-color: black;
Expand Down
20 changes: 8 additions & 12 deletions assets/scss/components/stencil/productView/_productView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@
color: stencilColor("color-textSecondary--hover");
}

&:hover {
color: stencilColor("color-textSecondary--hover");
}

&--new {
padding: 0;
}
Expand Down Expand Up @@ -429,18 +433,6 @@
width: auto;
}

@include breakpoint("medium") {
width: auto;
}

@include breakpoint("medium") {
width: auto;
}

@include breakpoint("medium") {
width: auto;
}

@include breakpoint("large") {
margin-right: spacing("half");
}
Expand All @@ -461,6 +453,10 @@
.button--primary {
margin-right: spacing("half");
}

.button--primary {
margin-right: spacing("half");
}
}
}

Expand Down
4 changes: 4 additions & 0 deletions assets/scss/layouts/products/_productSaleBadges.scss
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@
background: stencilColor("color_hover_product_sold_out_badges");
}

.product:hover .sold-out-flag-sash {
background: stencilColor("color_hover_product_sold_out_badges");
}

.product {
overflow: hidden;
}
2 changes: 0 additions & 2 deletions assets/scss/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,3 @@
// -----------------------------------------------------------------------------

@import "layouts/layouts"; // 1

@import "vendor/jstree/style";
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@

.jstree-default .jstree-node,
.jstree-default .jstree-icon {
background-image: url("../img/vendor/jstree/32px.png");
background-image: url("/assets/img/vendor/jstree/32px.png");
}

.jstree-default .jstree-node {
Expand Down Expand Up @@ -606,15 +606,15 @@
}

.jstree-default > .jstree-container-ul .jstree-loading > .jstree-ocl {
background: url("../img/vendor/jstree/throbber.gif") center center no-repeat;
background: url("/assets/img/vendor/jstree/throbber.gif") center center no-repeat;
}

.jstree-default .jstree-file {
background: url("../img/vendor/jstree/32px.png") -100px -68px no-repeat;
background: url("/assets/img/vendor/jstree/32px.png") -100px -68px no-repeat;
}

.jstree-default .jstree-folder {
background: url("../img/vendor/jstree/32px.png") -260px -4px no-repeat;
background: url("/assets/img/vendor/jstree/32px.png") -260px -4px no-repeat;
}

.jstree-default > .jstree-container-ul > .jstree-node {
Expand All @@ -630,7 +630,7 @@
#jstree-dnd.jstree-default .jstree-ok,
#jstree-dnd.jstree-default .jstree-er {
background-color: transparent;
background-image: url("../img/vendor/jstree/32px.png");
background-image: url("/assets/img/vendor/jstree/32px.png");
background-repeat: no-repeat;
}

Expand Down Expand Up @@ -691,7 +691,7 @@

.jstree-default-small .jstree-node,
.jstree-default-small .jstree-icon {
background-image: url("../img/vendor/jstree/32px.png");
background-image: url("/assets/img/vendor/jstree/32px.png");
}

.jstree-default-small .jstree-node {
Expand Down Expand Up @@ -826,15 +826,15 @@
}

.jstree-default-small > .jstree-container-ul .jstree-loading > .jstree-ocl {
background: url("../img/vendor/jstree/throbber.gif") center center no-repeat;
background: url("/assets/img/vendor/jstree/throbber.gif") center center no-repeat;
}

.jstree-default-small .jstree-file {
background: url("../img/vendor/jstree/32px.png") -103px -71px no-repeat;
background: url("/assets/img/vendor/jstree/32px.png") -103px -71px no-repeat;
}

.jstree-default-small .jstree-folder {
background: url("../img/vendor/jstree/32px.png") -263px -7px no-repeat;
background: url("/assets/img/vendor/jstree/32px.png") -263px -7px no-repeat;
}

.jstree-default-small > .jstree-container-ul > .jstree-node {
Expand All @@ -850,7 +850,7 @@
#jstree-dnd.jstree-default-small .jstree-ok,
#jstree-dnd.jstree-default-small .jstree-er {
background-color: transparent;
background-image: url("../img/vendor/jstree/32px.png");
background-image: url("/assets/img/vendor/jstree/32px.png");
background-repeat: no-repeat;
}

Expand Down Expand Up @@ -911,7 +911,7 @@

.jstree-default-large .jstree-node,
.jstree-default-large .jstree-icon {
background-image: url("../img/vendor/jstree/32px.png");
background-image: url("/assets/img/vendor/jstree/32px.png");
}

.jstree-default-large .jstree-node {
Expand Down Expand Up @@ -1046,15 +1046,15 @@
}

.jstree-default-large > .jstree-container-ul .jstree-loading > .jstree-ocl {
background: url("../img/vendor/jstree/throbber.gif") center center no-repeat;
background: url("/assets/img/vendor/jstree/throbber.gif") center center no-repeat;
}

.jstree-default-large .jstree-file {
background: url("../img/vendor/jstree/32px.png") -96px -64px no-repeat;
background: url("/assets/img/vendor/jstree/32px.png") -96px -64px no-repeat;
}

.jstree-default-large .jstree-folder {
background: url("../img/vendor/jstree/32px.png") -256px 0 no-repeat;
background: url("/assets/img/vendor/jstree/32px.png") -256px 0 no-repeat;
}

.jstree-default-large > .jstree-container-ul > .jstree-node {
Expand All @@ -1070,7 +1070,7 @@
#jstree-dnd.jstree-default-large .jstree-ok,
#jstree-dnd.jstree-default-large .jstree-er {
background-color: transparent;
background-image: url("../img/vendor/jstree/32px.png");
background-image: url("/assets/img/vendor/jstree/32px.png");
background-repeat: no-repeat;
}

Expand Down Expand Up @@ -1111,13 +1111,13 @@
}

#jstree-dnd.jstree-dnd-responsive > .jstree-ok {
background-image: url("../img/vendor/jstree/40px.png");
background-image: url("/assets/img/vendor/jstree/40px.png");
background-position: 0 -200px;
background-size: 120px 240px;
}

#jstree-dnd.jstree-dnd-responsive > .jstree-er {
background-image: url("../img/vendor/jstree/40px.png");
background-image: url("/assets/img/vendor/jstree/40px.png");
background-position: -40px -200px;
background-size: 120px 240px;
}
Expand All @@ -1131,7 +1131,7 @@
}
@media (max-width: 768px) {
.jstree-default-responsive .jstree-icon {
background-image: url("../img/vendor/jstree/40px.png");
background-image: url("/assets/img/vendor/jstree/40px.png");
}

.jstree-default-responsive .jstree-node,
Expand Down Expand Up @@ -1258,7 +1258,7 @@
.jstree-default-responsive .jstree-node > .jstree-ocl,
.jstree-default-responsive .jstree-themeicon,
.jstree-default-responsive .jstree-checkbox {
background-image: url("../img/vendor/jstree/40px.png");
background-image: url("/assets/img/vendor/jstree/40px.png");
background-size: 120px 240px;
}

Expand Down Expand Up @@ -1286,12 +1286,12 @@
}

.jstree-default-responsive .jstree-file {
background: url("../img/vendor/jstree/40px.png") 0 -160px no-repeat;
background: url("/assets/img/vendor/jstree/40px.png") 0 -160px no-repeat;
background-size: 120px 240px;
}

.jstree-default-responsive .jstree-folder {
background: url("../img/vendor/jstree/40px.png") -40px -40px no-repeat;
background: url("/assets/img/vendor/jstree/40px.png") -40px -40px no-repeat;
background-size: 120px 240px;
}

Expand Down
3 changes: 1 addition & 2 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Midwest Nice",
"version": "6.1.3",
"version": "6.2.0",
"template_engine": "handlebars_v4",
"meta": {
"price": 0,
Expand Down Expand Up @@ -386,7 +386,6 @@
"paypal"
],
"lazyload_mode": "lazyload+lqip",
"show-admin-bar": true,
"checkout-paymentbuttons-paypal-color": "black",
"checkout-paymentbuttons-paypal-shape": "rect",
"checkout-paymentbuttons-paypal-size": "large",
Expand Down
Loading

0 comments on commit c472f7f

Please sign in to comment.