fontdue-js 2.18.3 → 2.18.4
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 +4 -0
- package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/CartQuery.graphql.js +49 -48
- package/dist/__generated__/CustomerLoginFormQuery.graphql.d.ts +20 -0
- package/dist/__generated__/CustomerLoginFormQuery.graphql.js +91 -0
- package/dist/__generated__/PrecartClearCartMutation.graphql.d.ts +61 -0
- package/dist/__generated__/PrecartClearCartMutation.graphql.js +81 -0
- package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCartQuery.graphql.js +45 -44
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.d.ts +1 -1
- package/dist/__generated__/StoreModalCheckoutQuery.graphql.js +18 -17
- package/dist/__generated__/StoreModalProductSummaryClearCartMutation.graphql.d.ts +61 -0
- package/dist/__generated__/StoreModalProductSummaryClearCartMutation.graphql.js +81 -0
- package/dist/__generated__/StripeProvider_viewer.graphql.d.ts +2 -1
- package/dist/__generated__/StripeProvider_viewer.graphql.js +78 -75
- package/dist/components/ConfigContext.d.ts +10 -0
- package/dist/components/ConfigContext.js +7 -2
- package/dist/components/CustomerLoginForm/index.js +12 -4
- package/dist/components/Precart/index.js +30 -4
- package/dist/components/StoreModalProductSummary/index.js +35 -4
- package/dist/components/StripeProvider/index.js +5 -4
- package/dist/components/TypeTester/index.d.ts +5 -0
- package/dist/components/TypeTester/index.js +2 -1
- package/dist/components/TypeTester/useTypeTesterStyler.d.ts +7 -1
- package/dist/components/TypeTester/useTypeTesterStyler.js +8 -2
- package/dist/fontdue.css +56 -2
- package/fontdue.css +197 -121
- package/package.json +1 -1
package/dist/fontdue.css
CHANGED
|
@@ -448,6 +448,14 @@ div[data-component=TypeTesters] {
|
|
|
448
448
|
flex: 0 1 250px;
|
|
449
449
|
margin-right: 20px;
|
|
450
450
|
}
|
|
451
|
+
@media (max-width: 899px) {
|
|
452
|
+
.type-tester__toolbar .type-tester__variable-axes {
|
|
453
|
+
display: grid;
|
|
454
|
+
grid-template-columns: 1fr;
|
|
455
|
+
grid-gap: 5px;
|
|
456
|
+
width: 100%;
|
|
457
|
+
}
|
|
458
|
+
}
|
|
451
459
|
.type-tester__toolbar {
|
|
452
460
|
display: flex;
|
|
453
461
|
align-items: center;
|
|
@@ -457,6 +465,14 @@ div[data-component=TypeTesters] {
|
|
|
457
465
|
z-index: 2;
|
|
458
466
|
margin-top: 10px;
|
|
459
467
|
}
|
|
468
|
+
@media (max-width: 899px) {
|
|
469
|
+
.type-tester__toolbar {
|
|
470
|
+
flex-wrap: wrap;
|
|
471
|
+
}
|
|
472
|
+
.type-tester__toolbar .type-tester__select-button-wrapper {
|
|
473
|
+
margin-left: auto;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
460
476
|
.type-tester__toolbar__price-text {
|
|
461
477
|
margin: 0 20px;
|
|
462
478
|
opacity: 0.5;
|
|
@@ -470,6 +486,13 @@ div[data-component=TypeTesters] {
|
|
|
470
486
|
.type-tester__toolbar__tools:not(:last-child) {
|
|
471
487
|
margin-right: 20px;
|
|
472
488
|
}
|
|
489
|
+
@media (max-width: 899px) {
|
|
490
|
+
.type-tester__toolbar__tools {
|
|
491
|
+
order: 1;
|
|
492
|
+
flex: 1 0 100%;
|
|
493
|
+
margin-top: 5px;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
473
496
|
.type-tester[data-shy=hover] .type-tester__toolbar__tools, .type-tester[data-shy=focus] .type-tester__toolbar__tools {
|
|
474
497
|
opacity: 0;
|
|
475
498
|
pointer-events: none;
|
|
@@ -674,9 +697,7 @@ div[data-component=TypeTesters] {
|
|
|
674
697
|
.type-tester__variable-axes__value {
|
|
675
698
|
margin-left: 10px;
|
|
676
699
|
margin-right: 16px;
|
|
677
|
-
width: 3em;
|
|
678
700
|
text-align: right;
|
|
679
|
-
font-feature-settings: "tnum" 1;
|
|
680
701
|
}
|
|
681
702
|
.type-tester__variable-axes__name {
|
|
682
703
|
white-space: nowrap;
|
|
@@ -2068,11 +2089,44 @@ body[data-fontdue-store-modal=open] {
|
|
|
2068
2089
|
}
|
|
2069
2090
|
|
|
2070
2091
|
.store-modal__product-summary__container {
|
|
2092
|
+
display: flex;
|
|
2093
|
+
flex-direction: column;
|
|
2094
|
+
gap: 12px;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
.store-modal__product-summary__row {
|
|
2071
2098
|
display: flex;
|
|
2072
2099
|
justify-content: space-between;
|
|
2073
2100
|
align-items: center;
|
|
2074
2101
|
}
|
|
2075
2102
|
|
|
2103
|
+
.store-modal__product-summary__error {
|
|
2104
|
+
font-size: 14px;
|
|
2105
|
+
color: var(--error_text_color, #c00);
|
|
2106
|
+
line-height: 1.4;
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2109
|
+
.store-modal__product-summary__error-button {
|
|
2110
|
+
background: none;
|
|
2111
|
+
color: inherit;
|
|
2112
|
+
font: inherit;
|
|
2113
|
+
text-decoration: inherit;
|
|
2114
|
+
text-align: inherit;
|
|
2115
|
+
border: 0;
|
|
2116
|
+
border-radius: 0;
|
|
2117
|
+
padding: 0;
|
|
2118
|
+
margin: 0;
|
|
2119
|
+
appearance: none;
|
|
2120
|
+
text-transform: inherit;
|
|
2121
|
+
text-decoration: underline;
|
|
2122
|
+
}
|
|
2123
|
+
.store-modal__product-summary__error-button:active, .store-modal__product-summary__error-button:focus {
|
|
2124
|
+
outline: none;
|
|
2125
|
+
}
|
|
2126
|
+
.store-modal__product-summary__error-button:not(:disabled) {
|
|
2127
|
+
cursor: pointer;
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2076
2130
|
.store-modal__product-summary__add-to-cart-button {
|
|
2077
2131
|
background: none;
|
|
2078
2132
|
color: inherit;
|