@asantemedia-org/edwardsvacuum-design-system 1.6.40 → 1.6.42
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/dist/index.css +67 -13
- package/dist/index.d.ts +4 -3
- package/dist/index.esm.css +67 -13
- package/dist/index.esm.js +17 -13
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +16 -13
- package/dist/index.js.map +1 -1
- package/dist/index.scss +67 -13
- package/dist/stories/components/Card/card.d.ts +1 -1
- package/dist/stories/components/Card/card.types.d.ts +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -195,6 +195,9 @@
|
|
|
195
195
|
min-height: 75px;
|
|
196
196
|
background: linear-gradient(45deg, rgb(212, 214, 215), rgb(172, 174, 176));
|
|
197
197
|
}
|
|
198
|
+
.card-module__cmp-card--type-card-product-no-image__wrapper___ot5Xe {
|
|
199
|
+
grid-template-columns: repeat(1, 1fr);
|
|
200
|
+
}
|
|
198
201
|
.card-module__cmp-card--type-card-product__image___Bkb0A {
|
|
199
202
|
grid-column: span 1;
|
|
200
203
|
text-align: center;
|
|
@@ -253,7 +256,7 @@
|
|
|
253
256
|
padding: 12px 14px 8px;
|
|
254
257
|
color: #fff;
|
|
255
258
|
text-transform: uppercase;
|
|
256
|
-
font-weight:
|
|
259
|
+
font-weight: 400;
|
|
257
260
|
position: absolute;
|
|
258
261
|
bottom: 0;
|
|
259
262
|
right: 0;
|
|
@@ -338,9 +341,15 @@
|
|
|
338
341
|
margin-bottom: 1rem;
|
|
339
342
|
}
|
|
340
343
|
.card-module__cmp-card--type-product_details__header__title___4KSqX {
|
|
341
|
-
font-size: 1.5rem;
|
|
342
|
-
font-weight:
|
|
344
|
+
font-size: clamp(1.5rem, 2vw, 28px);
|
|
345
|
+
font-weight: 100;
|
|
343
346
|
margin-bottom: 0.5rem;
|
|
347
|
+
color: #2d363a;
|
|
348
|
+
}
|
|
349
|
+
@media (min-width: 768px) {
|
|
350
|
+
.card-module__cmp-card--type-product_details__header__title___4KSqX {
|
|
351
|
+
max-width: 325px;
|
|
352
|
+
}
|
|
344
353
|
}
|
|
345
354
|
.card-module__cmp-card--type-product_details__header__product-code___zf7yq {
|
|
346
355
|
font-size: 0.875rem;
|
|
@@ -406,6 +415,8 @@
|
|
|
406
415
|
}
|
|
407
416
|
.accordion-section__title {
|
|
408
417
|
flex: 1;
|
|
418
|
+
font-weight: 100;
|
|
419
|
+
color: #2d363a;
|
|
409
420
|
}
|
|
410
421
|
.accordion-section__icon {
|
|
411
422
|
transition: transform 0.3s ease;
|
|
@@ -436,6 +447,7 @@
|
|
|
436
447
|
padding: 0 3rem 0 1rem;
|
|
437
448
|
transition: all 0.3s ease-in-out;
|
|
438
449
|
border: 2px solid transparent;
|
|
450
|
+
cursor: pointer;
|
|
439
451
|
}
|
|
440
452
|
.Button-module__cmp-button--style-primary___hfLAd {
|
|
441
453
|
background: linear-gradient(45deg, rgb(196, 38, 46), rgb(135, 10, 32));
|
|
@@ -1428,10 +1440,10 @@
|
|
|
1428
1440
|
font-size: 18px;
|
|
1429
1441
|
}
|
|
1430
1442
|
.qr-journey-form-wrapper h1 {
|
|
1431
|
-
font-size:
|
|
1443
|
+
font-size: 28px;
|
|
1432
1444
|
font-family: "Calibri W05 Light", "Calibri", sans-serif;
|
|
1433
1445
|
color: rgb(87, 94, 97);
|
|
1434
|
-
font-weight:
|
|
1446
|
+
font-weight: 100;
|
|
1435
1447
|
margin-bottom: 2em;
|
|
1436
1448
|
position: relative;
|
|
1437
1449
|
}
|
|
@@ -1635,48 +1647,71 @@
|
|
|
1635
1647
|
}
|
|
1636
1648
|
.qr-journey-form-wrapper .disabled-product-fields-section {
|
|
1637
1649
|
background-color: rgb(243, 243, 243);
|
|
1638
|
-
padding:
|
|
1650
|
+
padding: 1rem;
|
|
1639
1651
|
margin: 1em 0;
|
|
1652
|
+
display: flex;
|
|
1653
|
+
flex-direction: column;
|
|
1654
|
+
gap: 1.5rem;
|
|
1640
1655
|
}
|
|
1641
1656
|
.qr-journey-form-wrapper .disabled-product-fields-section h2 {
|
|
1642
1657
|
color: rgb(87, 94, 97);
|
|
1643
1658
|
padding-left: 1.5em;
|
|
1644
1659
|
position: relative;
|
|
1660
|
+
font-weight: 400;
|
|
1661
|
+
margin: 0;
|
|
1645
1662
|
}
|
|
1646
1663
|
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields {
|
|
1647
1664
|
display: flex;
|
|
1648
1665
|
flex-wrap: wrap;
|
|
1649
1666
|
}
|
|
1667
|
+
@media (min-width: 768px) {
|
|
1668
|
+
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields {
|
|
1669
|
+
flex-direction: row;
|
|
1670
|
+
flex-wrap: nowrap;
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1650
1673
|
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields .qr-form-filed-wrapper {
|
|
1651
1674
|
flex: 0.5 1;
|
|
1652
1675
|
min-width: 50%;
|
|
1653
1676
|
}
|
|
1677
|
+
@media (min-width: 768px) {
|
|
1678
|
+
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields .qr-form-filed-wrapper {
|
|
1679
|
+
flex: 0 1;
|
|
1680
|
+
min-width: 25%;
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1654
1683
|
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields .qr-form-filed-wrapper label .label {
|
|
1655
1684
|
height: 1em;
|
|
1656
1685
|
opacity: 1;
|
|
1657
1686
|
font-weight: 900;
|
|
1687
|
+
font-size: 16px;
|
|
1658
1688
|
}
|
|
1659
1689
|
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields .qr-form-filed-wrapper label input {
|
|
1660
1690
|
border: 0;
|
|
1691
|
+
font-size: 16px;
|
|
1692
|
+
font-weight: 100;
|
|
1661
1693
|
background-color: transparent;
|
|
1662
1694
|
padding: 0;
|
|
1663
1695
|
}
|
|
1664
1696
|
.qr-journey-form-wrapper .qr-form-navigation {
|
|
1665
|
-
display:
|
|
1666
|
-
|
|
1697
|
+
display: grid;
|
|
1698
|
+
grid-template-columns: repeat(2, 1fr);
|
|
1699
|
+
gap: 1rem;
|
|
1667
1700
|
}
|
|
1668
|
-
.qr-journey-form-wrapper .qr-form-navigation
|
|
1701
|
+
.qr-journey-form-wrapper .qr-form-navigation input[type=submit] {
|
|
1669
1702
|
border: 0;
|
|
1670
|
-
width: calc(50% - 5px);
|
|
1671
1703
|
padding: 18px;
|
|
1672
1704
|
text-transform: uppercase;
|
|
1673
1705
|
color: #FFFFFF;
|
|
1674
1706
|
background: linear-gradient(45deg, rgb(196, 38, 46), rgb(135, 10, 32));
|
|
1675
1707
|
cursor: pointer;
|
|
1676
1708
|
}
|
|
1677
|
-
.qr-journey-form-wrapper .qr-form-navigation
|
|
1709
|
+
.qr-journey-form-wrapper .qr-form-navigation input[type=submit]:first-child {
|
|
1678
1710
|
background: #2d363a;
|
|
1679
1711
|
}
|
|
1712
|
+
.qr-journey-form-wrapper .qr-form-navigation button {
|
|
1713
|
+
grid-column: span 1;
|
|
1714
|
+
}
|
|
1680
1715
|
.qr-journey-form-wrapper .qr-form-thank-you-page {
|
|
1681
1716
|
position: relative;
|
|
1682
1717
|
}
|
|
@@ -1732,9 +1767,20 @@
|
|
|
1732
1767
|
justify-content: space-between;
|
|
1733
1768
|
gap: 1em;
|
|
1734
1769
|
max-width: 1200px;
|
|
1770
|
+
margin: 0 auto;
|
|
1771
|
+
padding: 0 1em;
|
|
1772
|
+
}
|
|
1773
|
+
.qr-journey-form-wrapper.desktop-true h1 {
|
|
1774
|
+
margin: 0;
|
|
1775
|
+
}
|
|
1776
|
+
.qr-journey-form-wrapper.desktop-true h1:after {
|
|
1777
|
+
display: none;
|
|
1735
1778
|
}
|
|
1736
1779
|
.qr-journey-form-wrapper.desktop-true .form-progress {
|
|
1737
1780
|
max-width: 400px;
|
|
1781
|
+
display: flex;
|
|
1782
|
+
flex-direction: column;
|
|
1783
|
+
gap: 2rem;
|
|
1738
1784
|
}
|
|
1739
1785
|
.qr-journey-form-wrapper.desktop-true form {
|
|
1740
1786
|
flex: 1;
|
|
@@ -1743,6 +1789,10 @@
|
|
|
1743
1789
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop {
|
|
1744
1790
|
padding: 0;
|
|
1745
1791
|
}
|
|
1792
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop.first-page {
|
|
1793
|
+
padding: 2.5rem 0 0 0;
|
|
1794
|
+
border-top: 1px solid rgb(233, 233, 233);
|
|
1795
|
+
}
|
|
1746
1796
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li {
|
|
1747
1797
|
list-style: none;
|
|
1748
1798
|
display: flex;
|
|
@@ -1762,7 +1812,7 @@
|
|
|
1762
1812
|
}
|
|
1763
1813
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li .bullet-point:after {
|
|
1764
1814
|
content: "";
|
|
1765
|
-
width:
|
|
1815
|
+
width: 1.25px;
|
|
1766
1816
|
height: 25px;
|
|
1767
1817
|
background-color: rgb(130, 134, 136);
|
|
1768
1818
|
position: absolute;
|
|
@@ -1780,18 +1830,21 @@
|
|
|
1780
1830
|
text-align: left;
|
|
1781
1831
|
flex: 2;
|
|
1782
1832
|
color: rgb(130, 134, 136);
|
|
1833
|
+
font-size: 1.25rem;
|
|
1834
|
+
font-weight: 400;
|
|
1783
1835
|
}
|
|
1784
1836
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li span {
|
|
1785
1837
|
position: absolute;
|
|
1786
1838
|
left: 0;
|
|
1787
1839
|
right: 0;
|
|
1788
|
-
top:
|
|
1840
|
+
top: 2px;
|
|
1789
1841
|
bottom: 0;
|
|
1790
1842
|
height: 1em;
|
|
1791
1843
|
width: 1em;
|
|
1792
1844
|
text-align: center;
|
|
1793
1845
|
line-height: 1em;
|
|
1794
1846
|
margin: auto;
|
|
1847
|
+
font-weight: 400;
|
|
1795
1848
|
}
|
|
1796
1849
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li.checked .bullet-point {
|
|
1797
1850
|
background-color: rgb(196, 38, 46);
|
|
@@ -1799,6 +1852,7 @@
|
|
|
1799
1852
|
}
|
|
1800
1853
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li.checked h3 {
|
|
1801
1854
|
color: black;
|
|
1855
|
+
font-weight: 700;
|
|
1802
1856
|
}
|
|
1803
1857
|
.qr-journey-form-wrapper.desktop-true .qr-form-thank-you-page {
|
|
1804
1858
|
max-width: 400px;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { AlgoliaDynamicSearchRaw, AlgoliaDynamicSearchEdwards as AlgoliaDynamicSearch } from "@stories/experiences/Algolia-dynamic-search/algolia-dynamic-search";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export { QrForm } from "@stories/experiences/QRFormJourney/Qr-form/Qr-form";
|
|
3
|
+
export type { allQrFromProps } from "@stories/experiences/QRFormJourney/Qr-form/Qr-form";
|
|
4
|
+
export type { FormFieldType } from "@stories/experiences/QRFormJourney/FormFieldType";
|
|
5
|
+
export { AccordionSection } from "@stories/components/AccordionSection";
|
|
5
6
|
import "@stories/experiences/QRFormJourney/Qr-form/Qr-form";
|
package/dist/index.esm.css
CHANGED
|
@@ -195,6 +195,9 @@
|
|
|
195
195
|
min-height: 75px;
|
|
196
196
|
background: linear-gradient(45deg, rgb(212, 214, 215), rgb(172, 174, 176));
|
|
197
197
|
}
|
|
198
|
+
.card-module__cmp-card--type-card-product-no-image__wrapper___ot5Xe {
|
|
199
|
+
grid-template-columns: repeat(1, 1fr);
|
|
200
|
+
}
|
|
198
201
|
.card-module__cmp-card--type-card-product__image___Bkb0A {
|
|
199
202
|
grid-column: span 1;
|
|
200
203
|
text-align: center;
|
|
@@ -253,7 +256,7 @@
|
|
|
253
256
|
padding: 12px 14px 8px;
|
|
254
257
|
color: #fff;
|
|
255
258
|
text-transform: uppercase;
|
|
256
|
-
font-weight:
|
|
259
|
+
font-weight: 400;
|
|
257
260
|
position: absolute;
|
|
258
261
|
bottom: 0;
|
|
259
262
|
right: 0;
|
|
@@ -338,9 +341,15 @@
|
|
|
338
341
|
margin-bottom: 1rem;
|
|
339
342
|
}
|
|
340
343
|
.card-module__cmp-card--type-product_details__header__title___4KSqX {
|
|
341
|
-
font-size: 1.5rem;
|
|
342
|
-
font-weight:
|
|
344
|
+
font-size: clamp(1.5rem, 2vw, 28px);
|
|
345
|
+
font-weight: 100;
|
|
343
346
|
margin-bottom: 0.5rem;
|
|
347
|
+
color: #2d363a;
|
|
348
|
+
}
|
|
349
|
+
@media (min-width: 768px) {
|
|
350
|
+
.card-module__cmp-card--type-product_details__header__title___4KSqX {
|
|
351
|
+
max-width: 325px;
|
|
352
|
+
}
|
|
344
353
|
}
|
|
345
354
|
.card-module__cmp-card--type-product_details__header__product-code___zf7yq {
|
|
346
355
|
font-size: 0.875rem;
|
|
@@ -406,6 +415,8 @@
|
|
|
406
415
|
}
|
|
407
416
|
.accordion-section__title {
|
|
408
417
|
flex: 1;
|
|
418
|
+
font-weight: 100;
|
|
419
|
+
color: #2d363a;
|
|
409
420
|
}
|
|
410
421
|
.accordion-section__icon {
|
|
411
422
|
transition: transform 0.3s ease;
|
|
@@ -436,6 +447,7 @@
|
|
|
436
447
|
padding: 0 3rem 0 1rem;
|
|
437
448
|
transition: all 0.3s ease-in-out;
|
|
438
449
|
border: 2px solid transparent;
|
|
450
|
+
cursor: pointer;
|
|
439
451
|
}
|
|
440
452
|
.Button-module__cmp-button--style-primary___hfLAd {
|
|
441
453
|
background: linear-gradient(45deg, rgb(196, 38, 46), rgb(135, 10, 32));
|
|
@@ -1428,10 +1440,10 @@
|
|
|
1428
1440
|
font-size: 18px;
|
|
1429
1441
|
}
|
|
1430
1442
|
.qr-journey-form-wrapper h1 {
|
|
1431
|
-
font-size:
|
|
1443
|
+
font-size: 28px;
|
|
1432
1444
|
font-family: "Calibri W05 Light", "Calibri", sans-serif;
|
|
1433
1445
|
color: rgb(87, 94, 97);
|
|
1434
|
-
font-weight:
|
|
1446
|
+
font-weight: 100;
|
|
1435
1447
|
margin-bottom: 2em;
|
|
1436
1448
|
position: relative;
|
|
1437
1449
|
}
|
|
@@ -1635,48 +1647,71 @@
|
|
|
1635
1647
|
}
|
|
1636
1648
|
.qr-journey-form-wrapper .disabled-product-fields-section {
|
|
1637
1649
|
background-color: rgb(243, 243, 243);
|
|
1638
|
-
padding:
|
|
1650
|
+
padding: 1rem;
|
|
1639
1651
|
margin: 1em 0;
|
|
1652
|
+
display: flex;
|
|
1653
|
+
flex-direction: column;
|
|
1654
|
+
gap: 1.5rem;
|
|
1640
1655
|
}
|
|
1641
1656
|
.qr-journey-form-wrapper .disabled-product-fields-section h2 {
|
|
1642
1657
|
color: rgb(87, 94, 97);
|
|
1643
1658
|
padding-left: 1.5em;
|
|
1644
1659
|
position: relative;
|
|
1660
|
+
font-weight: 400;
|
|
1661
|
+
margin: 0;
|
|
1645
1662
|
}
|
|
1646
1663
|
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields {
|
|
1647
1664
|
display: flex;
|
|
1648
1665
|
flex-wrap: wrap;
|
|
1649
1666
|
}
|
|
1667
|
+
@media (min-width: 768px) {
|
|
1668
|
+
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields {
|
|
1669
|
+
flex-direction: row;
|
|
1670
|
+
flex-wrap: nowrap;
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1650
1673
|
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields .qr-form-filed-wrapper {
|
|
1651
1674
|
flex: 0.5 1;
|
|
1652
1675
|
min-width: 50%;
|
|
1653
1676
|
}
|
|
1677
|
+
@media (min-width: 768px) {
|
|
1678
|
+
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields .qr-form-filed-wrapper {
|
|
1679
|
+
flex: 0 1;
|
|
1680
|
+
min-width: 25%;
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1654
1683
|
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields .qr-form-filed-wrapper label .label {
|
|
1655
1684
|
height: 1em;
|
|
1656
1685
|
opacity: 1;
|
|
1657
1686
|
font-weight: 900;
|
|
1687
|
+
font-size: 16px;
|
|
1658
1688
|
}
|
|
1659
1689
|
.qr-journey-form-wrapper .disabled-product-fields-section .qr-form-fields .qr-form-filed-wrapper label input {
|
|
1660
1690
|
border: 0;
|
|
1691
|
+
font-size: 16px;
|
|
1692
|
+
font-weight: 100;
|
|
1661
1693
|
background-color: transparent;
|
|
1662
1694
|
padding: 0;
|
|
1663
1695
|
}
|
|
1664
1696
|
.qr-journey-form-wrapper .qr-form-navigation {
|
|
1665
|
-
display:
|
|
1666
|
-
|
|
1697
|
+
display: grid;
|
|
1698
|
+
grid-template-columns: repeat(2, 1fr);
|
|
1699
|
+
gap: 1rem;
|
|
1667
1700
|
}
|
|
1668
|
-
.qr-journey-form-wrapper .qr-form-navigation
|
|
1701
|
+
.qr-journey-form-wrapper .qr-form-navigation input[type=submit] {
|
|
1669
1702
|
border: 0;
|
|
1670
|
-
width: calc(50% - 5px);
|
|
1671
1703
|
padding: 18px;
|
|
1672
1704
|
text-transform: uppercase;
|
|
1673
1705
|
color: #FFFFFF;
|
|
1674
1706
|
background: linear-gradient(45deg, rgb(196, 38, 46), rgb(135, 10, 32));
|
|
1675
1707
|
cursor: pointer;
|
|
1676
1708
|
}
|
|
1677
|
-
.qr-journey-form-wrapper .qr-form-navigation
|
|
1709
|
+
.qr-journey-form-wrapper .qr-form-navigation input[type=submit]:first-child {
|
|
1678
1710
|
background: #2d363a;
|
|
1679
1711
|
}
|
|
1712
|
+
.qr-journey-form-wrapper .qr-form-navigation button {
|
|
1713
|
+
grid-column: span 1;
|
|
1714
|
+
}
|
|
1680
1715
|
.qr-journey-form-wrapper .qr-form-thank-you-page {
|
|
1681
1716
|
position: relative;
|
|
1682
1717
|
}
|
|
@@ -1732,9 +1767,20 @@
|
|
|
1732
1767
|
justify-content: space-between;
|
|
1733
1768
|
gap: 1em;
|
|
1734
1769
|
max-width: 1200px;
|
|
1770
|
+
margin: 0 auto;
|
|
1771
|
+
padding: 0 1em;
|
|
1772
|
+
}
|
|
1773
|
+
.qr-journey-form-wrapper.desktop-true h1 {
|
|
1774
|
+
margin: 0;
|
|
1775
|
+
}
|
|
1776
|
+
.qr-journey-form-wrapper.desktop-true h1:after {
|
|
1777
|
+
display: none;
|
|
1735
1778
|
}
|
|
1736
1779
|
.qr-journey-form-wrapper.desktop-true .form-progress {
|
|
1737
1780
|
max-width: 400px;
|
|
1781
|
+
display: flex;
|
|
1782
|
+
flex-direction: column;
|
|
1783
|
+
gap: 2rem;
|
|
1738
1784
|
}
|
|
1739
1785
|
.qr-journey-form-wrapper.desktop-true form {
|
|
1740
1786
|
flex: 1;
|
|
@@ -1743,6 +1789,10 @@
|
|
|
1743
1789
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop {
|
|
1744
1790
|
padding: 0;
|
|
1745
1791
|
}
|
|
1792
|
+
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop.first-page {
|
|
1793
|
+
padding: 2.5rem 0 0 0;
|
|
1794
|
+
border-top: 1px solid rgb(233, 233, 233);
|
|
1795
|
+
}
|
|
1746
1796
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li {
|
|
1747
1797
|
list-style: none;
|
|
1748
1798
|
display: flex;
|
|
@@ -1762,7 +1812,7 @@
|
|
|
1762
1812
|
}
|
|
1763
1813
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li .bullet-point:after {
|
|
1764
1814
|
content: "";
|
|
1765
|
-
width:
|
|
1815
|
+
width: 1.25px;
|
|
1766
1816
|
height: 25px;
|
|
1767
1817
|
background-color: rgb(130, 134, 136);
|
|
1768
1818
|
position: absolute;
|
|
@@ -1780,18 +1830,21 @@
|
|
|
1780
1830
|
text-align: left;
|
|
1781
1831
|
flex: 2;
|
|
1782
1832
|
color: rgb(130, 134, 136);
|
|
1833
|
+
font-size: 1.25rem;
|
|
1834
|
+
font-weight: 400;
|
|
1783
1835
|
}
|
|
1784
1836
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li span {
|
|
1785
1837
|
position: absolute;
|
|
1786
1838
|
left: 0;
|
|
1787
1839
|
right: 0;
|
|
1788
|
-
top:
|
|
1840
|
+
top: 2px;
|
|
1789
1841
|
bottom: 0;
|
|
1790
1842
|
height: 1em;
|
|
1791
1843
|
width: 1em;
|
|
1792
1844
|
text-align: center;
|
|
1793
1845
|
line-height: 1em;
|
|
1794
1846
|
margin: auto;
|
|
1847
|
+
font-weight: 400;
|
|
1795
1848
|
}
|
|
1796
1849
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li.checked .bullet-point {
|
|
1797
1850
|
background-color: rgb(196, 38, 46);
|
|
@@ -1799,6 +1852,7 @@
|
|
|
1799
1852
|
}
|
|
1800
1853
|
.qr-journey-form-wrapper.desktop-true .progress-indicator-desktop li.checked h3 {
|
|
1801
1854
|
color: black;
|
|
1855
|
+
font-weight: 700;
|
|
1802
1856
|
}
|
|
1803
1857
|
.qr-journey-form-wrapper.desktop-true .qr-form-thank-you-page {
|
|
1804
1858
|
max-width: 400px;
|
package/dist/index.esm.js
CHANGED
|
@@ -162,7 +162,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
162
162
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
-
var styles$2 = {"cmp-card":"card-module__cmp-card___45x9k","cmp-card__link":"card-module__cmp-card__link___OdszC","cmp-card__content-wrapper":"card-module__cmp-card__content-wrapper___gh335","cmp-card__content-category-wrapper":"card-module__cmp-card__content-category-wrapper___2vOjQ","cmp-card__content-category-wrapper__colour-edwards-red":"card-module__cmp-card__content-category-wrapper__colour-edwards-red___DYmt8","cmp-card__city-country":"card-module__cmp-card__city-country___dI13-","cmp-card__image-wrapper":"card-module__cmp-card__image-wrapper___IhPHw","placeholderImage":"card-module__placeholderImage___AXOh5","cmp-card--type-card-overlay":"card-module__cmp-card--type-card-overlay___344ul","cmp-card__title-wrapper":"card-module__cmp-card__title-wrapper___XHfZg","cmp-card__date":"card-module__cmp-card__date___7w-Ka","cmp-card__title":"card-module__cmp-card__title___cFKG8","cmp-card__footer":"card-module__cmp-card__footer___xcNXM","cmp-card--type-card-no-image":"card-module__cmp-card--type-card-no-image___G75ye","cmp-card--type-card-product":"card-module__cmp-card--type-card-product___IfqTr","cmp-card--type-card-product__wrapper":"card-module__cmp-card--type-card-product__wrapper___kulaR","cmp-card--type-card-product__image":"card-module__cmp-card--type-card-product__image___Bkb0A","cmp-card--type-card-product__meta":"card-module__cmp-card--type-card-product__meta___a7Tzc","cmp-card--type-card-product__title":"card-module__cmp-card--type-card-product__title___0JMQp","cmp-card--type-card-product__cta":"card-module__cmp-card--type-card-product__cta___qDSNo","cmp-card--type-card-product__prices":"card-module__cmp-card--type-card-product__prices___KWPS7","cmp-card--type-card-product__prices--login":"card-module__cmp-card--type-card-product__prices--login___gMhTo","show_prices":"card-module__show_prices___gjVhn","cmp-card--type-card-panel":"card-module__cmp-card--type-card-panel___95jYv","cmp-card__footer--color-malachite":"card-module__cmp-card__footer--color-malachite___jEnvy","cmp-card__footer--color-amethyst":"card-module__cmp-card__footer--color-amethyst___N55PL","cmp-card__footer--color-smokey-quartz-bright":"card-module__cmp-card__footer--color-smokey-quartz-bright___1mqyn","cmp-card__footer--color-olivine-bright":"card-module__cmp-card__footer--color-olivine-bright___O2urI","cmp-card--type-careers":"card-module__cmp-card--type-careers___Wqzcf","cmp-card--type-product_details":"card-module__cmp-card--type-product_details___vsNOc","cmp-card--type-product_details__product-info":"card-module__cmp-card--type-product_details__product-info___5L009","cmp-card--type-product_details__header":"card-module__cmp-card--type-product_details__header___Vb3-U","cmp-card--type-product_details__header__title":"card-module__cmp-card--type-product_details__header__title___4KSqX","cmp-card--type-product_details__header__product-code":"card-module__cmp-card--type-product_details__header__product-code___zf7yq","cmp-card--type-product_details__header__product-image":"card-module__cmp-card--type-product_details__header__product-image___Kyy35","cmp-card--type-product_details__spares-list":"card-module__cmp-card--type-product_details__spares-list___VQ31R","folding-spares-list":"card-module__folding-spares-list___ls5-n","folding-specification-list":"card-module__folding-specification-list___tIfSl","folding-specification-holder":"card-module__folding-specification-holder___OtcQQ","folding-spares-holder":"card-module__folding-spares-holder___OhMpO"};
|
|
165
|
+
var styles$2 = {"cmp-card":"card-module__cmp-card___45x9k","cmp-card__link":"card-module__cmp-card__link___OdszC","cmp-card__content-wrapper":"card-module__cmp-card__content-wrapper___gh335","cmp-card__content-category-wrapper":"card-module__cmp-card__content-category-wrapper___2vOjQ","cmp-card__content-category-wrapper__colour-edwards-red":"card-module__cmp-card__content-category-wrapper__colour-edwards-red___DYmt8","cmp-card__city-country":"card-module__cmp-card__city-country___dI13-","cmp-card__image-wrapper":"card-module__cmp-card__image-wrapper___IhPHw","placeholderImage":"card-module__placeholderImage___AXOh5","cmp-card--type-card-overlay":"card-module__cmp-card--type-card-overlay___344ul","cmp-card__title-wrapper":"card-module__cmp-card__title-wrapper___XHfZg","cmp-card__date":"card-module__cmp-card__date___7w-Ka","cmp-card__title":"card-module__cmp-card__title___cFKG8","cmp-card__footer":"card-module__cmp-card__footer___xcNXM","cmp-card--type-card-no-image":"card-module__cmp-card--type-card-no-image___G75ye","cmp-card--type-card-product":"card-module__cmp-card--type-card-product___IfqTr","cmp-card--type-card-product__wrapper":"card-module__cmp-card--type-card-product__wrapper___kulaR","cmp-card--type-card-product-no-image__wrapper":"card-module__cmp-card--type-card-product-no-image__wrapper___ot5Xe","cmp-card--type-card-product__image":"card-module__cmp-card--type-card-product__image___Bkb0A","cmp-card--type-card-product__meta":"card-module__cmp-card--type-card-product__meta___a7Tzc","cmp-card--type-card-product__title":"card-module__cmp-card--type-card-product__title___0JMQp","cmp-card--type-card-product__cta":"card-module__cmp-card--type-card-product__cta___qDSNo","cmp-card--type-card-product__prices":"card-module__cmp-card--type-card-product__prices___KWPS7","cmp-card--type-card-product__prices--login":"card-module__cmp-card--type-card-product__prices--login___gMhTo","show_prices":"card-module__show_prices___gjVhn","cmp-card--type-card-panel":"card-module__cmp-card--type-card-panel___95jYv","cmp-card__footer--color-malachite":"card-module__cmp-card__footer--color-malachite___jEnvy","cmp-card__footer--color-amethyst":"card-module__cmp-card__footer--color-amethyst___N55PL","cmp-card__footer--color-smokey-quartz-bright":"card-module__cmp-card__footer--color-smokey-quartz-bright___1mqyn","cmp-card__footer--color-olivine-bright":"card-module__cmp-card__footer--color-olivine-bright___O2urI","cmp-card--type-careers":"card-module__cmp-card--type-careers___Wqzcf","cmp-card--type-product_details":"card-module__cmp-card--type-product_details___vsNOc","cmp-card--type-product_details__product-info":"card-module__cmp-card--type-product_details__product-info___5L009","cmp-card--type-product_details__header":"card-module__cmp-card--type-product_details__header___Vb3-U","cmp-card--type-product_details__header__title":"card-module__cmp-card--type-product_details__header__title___4KSqX","cmp-card--type-product_details__header__product-code":"card-module__cmp-card--type-product_details__header__product-code___zf7yq","cmp-card--type-product_details__header__product-image":"card-module__cmp-card--type-product_details__header__product-image___Kyy35","cmp-card--type-product_details__spares-list":"card-module__cmp-card--type-product_details__spares-list___VQ31R","folding-spares-list":"card-module__folding-spares-list___ls5-n","folding-specification-list":"card-module__folding-specification-list___tIfSl","folding-specification-holder":"card-module__folding-specification-holder___OtcQQ","folding-spares-holder":"card-module__folding-spares-holder___OhMpO"};
|
|
166
166
|
|
|
167
167
|
function getDefaultExportFromCjs (x) {
|
|
168
168
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
@@ -414,6 +414,8 @@ var ProductCard = function (_a) {
|
|
|
414
414
|
title = _a.title,
|
|
415
415
|
imageUrl = _a.imageUrl,
|
|
416
416
|
imageAlt = _a.imageAlt,
|
|
417
|
+
_b = _a.showImage,
|
|
418
|
+
showImage = _b === void 0 ? true : _b,
|
|
417
419
|
productPrice = _a.productPrice,
|
|
418
420
|
showProductPrice = _a.showProductPrice,
|
|
419
421
|
cardLink = _a.cardLink,
|
|
@@ -432,8 +434,8 @@ var ProductCard = function (_a) {
|
|
|
432
434
|
onClick: onClick,
|
|
433
435
|
target: "_blank"
|
|
434
436
|
}, /*#__PURE__*/React.createElement("div", {
|
|
435
|
-
className: getStyle$1("cmp-card--type-card-product__wrapper")
|
|
436
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
437
|
+
className: classnames(getStyle$1("cmp-card--type-card-product__wrapper"), showImage ? "" : getStyle$1("cmp-card--type-card-product-no-image__wrapper"))
|
|
438
|
+
}, showImage && /*#__PURE__*/React.createElement("div", {
|
|
437
439
|
className: getStyle$1("cmp-card--type-card-product__image")
|
|
438
440
|
}, /*#__PURE__*/React.createElement("figure", null, /*#__PURE__*/React.createElement("img", {
|
|
439
441
|
src: productImage,
|
|
@@ -480,10 +482,11 @@ var ProductDetailsCard = function (_a) {
|
|
|
480
482
|
title: spare.name || 'Spare Part',
|
|
481
483
|
imageUrl: spare['img-product'] || spare.image || '',
|
|
482
484
|
imageAlt: spare.name || 'Spare Part',
|
|
483
|
-
productPrice: spare.priceValue || spare.price || '',
|
|
484
|
-
showProductPrice:
|
|
485
|
+
productPrice: spare.priceValue || spare.price || '$450.00',
|
|
486
|
+
showProductPrice: true,
|
|
485
487
|
cardLink: spare.url || spare.link || '#',
|
|
486
|
-
cta: "Go to webshop"
|
|
488
|
+
cta: "Go to webshop",
|
|
489
|
+
showImage: false
|
|
487
490
|
}));
|
|
488
491
|
}), hit.spares.length > MAX_SPARES_TO_RENDER && /*#__PURE__*/React.createElement("li", {
|
|
489
492
|
className: getStyle$1("folding-spares-list__more")
|
|
@@ -521,7 +524,8 @@ var ProductDetailsCard = function (_a) {
|
|
|
521
524
|
}, hit.spares && hit.spares.length > 0 && /*#__PURE__*/React.createElement(AccordionSection, {
|
|
522
525
|
title: "Spares & Parts",
|
|
523
526
|
className: getStyle$1("folding-spares-holder"),
|
|
524
|
-
lazyLoad: true
|
|
527
|
+
lazyLoad: true,
|
|
528
|
+
defaultOpen: true
|
|
525
529
|
}, renderSpares())));
|
|
526
530
|
};
|
|
527
531
|
|
|
@@ -1299,14 +1303,14 @@ var QrForm = function (props) {
|
|
|
1299
1303
|
className: "qr-form-navigation"
|
|
1300
1304
|
}, !isFirstPage ? /*#__PURE__*/React.createElement(Button, {
|
|
1301
1305
|
label: i18n === null || i18n === void 0 ? void 0 : i18n.previous,
|
|
1302
|
-
className: "qr-form-nav",
|
|
1303
1306
|
onClick: formNavigate,
|
|
1304
|
-
"data-page_target": pageIndex - 1
|
|
1307
|
+
"data-page_target": pageIndex - 1,
|
|
1308
|
+
buttonStyle: "secondary"
|
|
1305
1309
|
}) : /*#__PURE__*/React.createElement("div", null), !isLastPage ? /*#__PURE__*/React.createElement(Button, {
|
|
1306
1310
|
label: i18n === null || i18n === void 0 ? void 0 : i18n.next,
|
|
1307
|
-
className: "qr-form-nav",
|
|
1308
1311
|
onClick: formNavigate,
|
|
1309
|
-
"data-page_target": pageIndex + 1
|
|
1312
|
+
"data-page_target": pageIndex + 1,
|
|
1313
|
+
buttonStyle: "primary"
|
|
1310
1314
|
}) : /*#__PURE__*/React.createElement("input", {
|
|
1311
1315
|
type: "submit",
|
|
1312
1316
|
value: i18n === null || i18n === void 0 ? void 0 : i18n.submit
|
|
@@ -1335,7 +1339,7 @@ var QrForm = function (props) {
|
|
|
1335
1339
|
}, !props.showThankYou ? /*#__PURE__*/React.createElement(React.Fragment, null, !isMobile && /*#__PURE__*/React.createElement("div", {
|
|
1336
1340
|
className: "form-progress"
|
|
1337
1341
|
}, props.formHeader && currentPage === 0 && /*#__PURE__*/React.createElement("h1", null, props.formHeader), /*#__PURE__*/React.createElement("ul", {
|
|
1338
|
-
className: "progress-indicator-desktop"
|
|
1342
|
+
className: "progress-indicator-desktop current-page-".concat(currentPage, " ").concat(currentPage === 0 ? "first-page" : "")
|
|
1339
1343
|
}, pages.map(function (_, index) {
|
|
1340
1344
|
return /*#__PURE__*/React.createElement("li", {
|
|
1341
1345
|
className: currentPage >= index ? "checked" : "",
|
|
@@ -1391,5 +1395,5 @@ var QrForm = function (props) {
|
|
|
1391
1395
|
})));
|
|
1392
1396
|
};
|
|
1393
1397
|
|
|
1394
|
-
export { AccordionSection, AlgoliaDynamicSearchEdwards as AlgoliaDynamicSearch, AlgoliaDynamicSearchRaw,
|
|
1398
|
+
export { AccordionSection, AlgoliaDynamicSearchEdwards as AlgoliaDynamicSearch, AlgoliaDynamicSearchRaw, QrForm };
|
|
1395
1399
|
//# sourceMappingURL=index.esm.js.map
|