fontdue-js 2.23.0 → 2.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.23.1
2
+
3
+ - Tweaked checkout styling.
4
+
1
5
  ## 2.23.0
2
6
 
3
7
  - Added support for **mutually exclusive licenses**. Tenants can now mark licenses as mutually exclusive in the admin; selecting a conflicting license in the precart, store modal, or cart now auto-deselects the conflicting one. The cart's "+ Add" suggestion list also hides licenses that conflict with what's already selected.
@@ -15,7 +15,7 @@ const Checkbox = () => /*#__PURE__*/_react.default.createElement("span", {
15
15
  y: "0",
16
16
  enableBackground: "new 0 0 16 16",
17
17
  version: "1.1",
18
- viewBox: "0 0 16 16",
18
+ viewBox: "2 2 12 12",
19
19
  xmlSpace: "preserve"
20
20
  }, /*#__PURE__*/_react.default.createElement("path", {
21
21
  d: "M2 2v12h12V2H2zm11 11H3V3h10v10z"
@@ -12,7 +12,7 @@ const CheckboxChecked = () => /*#__PURE__*/_react.default.createElement("span",
12
12
  }, /*#__PURE__*/_react.default.createElement("svg", {
13
13
  width: 16,
14
14
  height: 16,
15
- viewBox: "0 0 16 16",
15
+ viewBox: "2 2 12 12",
16
16
  fill: "none",
17
17
  xmlns: "http://www.w3.org/2000/svg"
18
18
  }, /*#__PURE__*/_react.default.createElement("path", {
package/dist/fontdue.css CHANGED
@@ -1328,6 +1328,13 @@ body[data-fontdue-store-modal=open] {
1328
1328
  .store-modal__cart__checkout-section:not(:last-child) {
1329
1329
  margin-bottom: var(--section_spacing);
1330
1330
  }
1331
+ .store-modal__cart__checkout-section[data-editing=false] {
1332
+ display: flex;
1333
+ justify-content: space-between;
1334
+ align-items: baseline;
1335
+ gap: 20px;
1336
+ line-height: 1.4;
1337
+ }
1331
1338
 
1332
1339
  .store-modal__cart__checkout-section-title {
1333
1340
  font-family: var(--font-family__bold, inherit);
@@ -1405,6 +1412,11 @@ body[data-fontdue-store-modal=open] {
1405
1412
  .store-modal__cart__totals {
1406
1413
  grid-column: 2/span 1;
1407
1414
  }
1415
+ @media (max-width: 1199px) {
1416
+ .store-modal__cart__totals {
1417
+ grid-column: 1/span 2;
1418
+ }
1419
+ }
1408
1420
 
1409
1421
  .store-modal__container__overlay {
1410
1422
  position: fixed;
@@ -1975,7 +1987,10 @@ body[data-fontdue-store-modal=open] {
1975
1987
 
1976
1988
  .store-modal__license-selection__icon-pair {
1977
1989
  display: flex;
1978
- align-items: center;
1990
+ align-items: baseline;
1991
+ }
1992
+ .store-modal__license-selection__icon-pair .icon {
1993
+ font-size: 1cap;
1979
1994
  }
1980
1995
 
1981
1996
  .store-modal__licensee-is-billing-identity__container[data-disabled=true] {
@@ -2095,6 +2110,7 @@ body[data-fontdue-store-modal=open] {
2095
2110
  }
2096
2111
  .store-modal__order-variable-selection__select-label .icon {
2097
2112
  margin-left: 10px;
2113
+ margin-right: 0;
2098
2114
  }
2099
2115
 
2100
2116
  .store-modal__order-variable-selection__select {
@@ -2110,7 +2126,10 @@ body[data-fontdue-store-modal=open] {
2110
2126
 
2111
2127
  .store-modal__order-variable-selection__icon-pair {
2112
2128
  display: flex;
2113
- align-items: center;
2129
+ align-items: baseline;
2130
+ }
2131
+ .store-modal__order-variable-selection__icon-pair .icon {
2132
+ font-size: 1cap;
2114
2133
  }
2115
2134
 
2116
2135
  .store-modal__order-variable-selection__item[data-ghost=true] .store-modal__order-variable-selection__button {
@@ -2721,6 +2740,7 @@ body[data-fontdue-store-modal=open] {
2721
2740
  }
2722
2741
  .cart__price-block__placeholder {
2723
2742
  color: var(--secondary_text_color);
2743
+ white-space: nowrap;
2724
2744
  }
2725
2745
  .cart__remove-discount-button {
2726
2746
  background: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fontdue-js",
3
- "version": "2.23.0",
3
+ "version": "2.23.1",
4
4
  "scripts": {
5
5
  "build": "npm run relay && run-p build-js build-css build-ts",
6
6
  "build-js": "babel src --out-dir dist --extensions .ts,.tsx,.js,.jsx",