@nok-integration/storefront-react 0.19.15 → 0.19.17
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.d.ts +25 -4
- package/dist/index.mjs +309 -283
- package/dist/standalone/storefront.mjs +309 -283
- package/dist/standalone/styles.css +79 -77
- package/dist/styles.css +79 -77
- package/package.json +1 -1
|
@@ -1708,14 +1708,34 @@
|
|
|
1708
1708
|
height: 24px;
|
|
1709
1709
|
color: var(--color-text-default);
|
|
1710
1710
|
}
|
|
1711
|
-
.
|
|
1711
|
+
._swatches_mdi63_1 {
|
|
1712
|
+
display: flex;
|
|
1713
|
+
gap: var(--space-4);
|
|
1714
|
+
align-items: center;
|
|
1715
|
+
}
|
|
1716
|
+
._swatch_mdi63_1 {
|
|
1717
|
+
display: inline-flex;
|
|
1718
|
+
padding: 2px;
|
|
1719
|
+
box-shadow: inset 0 0 0 0.5px var(--color-border-full-color-subtle);
|
|
1720
|
+
border-radius: var(--radius-2);
|
|
1721
|
+
}
|
|
1722
|
+
._swatchActive_mdi63_18 {
|
|
1723
|
+
box-shadow: inset 0 0 0 0.5px var(--color-border-full-color-max);
|
|
1724
|
+
}
|
|
1725
|
+
._swatchDot_mdi63_22 {
|
|
1726
|
+
display: block;
|
|
1727
|
+
width: 14px;
|
|
1728
|
+
height: 14px;
|
|
1729
|
+
border-radius: var(--radius-2);
|
|
1730
|
+
}
|
|
1731
|
+
._tile_yg69t_7 {
|
|
1712
1732
|
display: flex;
|
|
1713
1733
|
flex-direction: column;
|
|
1714
1734
|
gap: var(--space-12);
|
|
1715
1735
|
text-decoration: none;
|
|
1716
1736
|
color: inherit;
|
|
1717
1737
|
}
|
|
1718
|
-
.
|
|
1738
|
+
._media_yg69t_15 {
|
|
1719
1739
|
position: relative;
|
|
1720
1740
|
width: 100%;
|
|
1721
1741
|
aspect-ratio: 165 / 220;
|
|
@@ -1723,15 +1743,15 @@
|
|
|
1723
1743
|
overflow: hidden;
|
|
1724
1744
|
background: var(--color-surface-soft);
|
|
1725
1745
|
}
|
|
1726
|
-
.
|
|
1746
|
+
._image_yg69t_25 {
|
|
1727
1747
|
object-fit: cover;
|
|
1728
1748
|
}
|
|
1729
|
-
.
|
|
1749
|
+
._placeholder_yg69t_29 {
|
|
1730
1750
|
width: 100%;
|
|
1731
1751
|
height: 100%;
|
|
1732
1752
|
background: var(--color-surface-soft);
|
|
1733
1753
|
}
|
|
1734
|
-
.
|
|
1754
|
+
._topBadge_yg69t_37 {
|
|
1735
1755
|
position: absolute;
|
|
1736
1756
|
top: var(--space-8);
|
|
1737
1757
|
left: var(--space-8);
|
|
@@ -1752,13 +1772,13 @@
|
|
|
1752
1772
|
text-transform: uppercase;
|
|
1753
1773
|
white-space: nowrap;
|
|
1754
1774
|
}
|
|
1755
|
-
.
|
|
1775
|
+
._saleBadge_yg69t_78 {
|
|
1756
1776
|
position: absolute;
|
|
1757
1777
|
display: flex;
|
|
1758
1778
|
bottom: var(--space-8);
|
|
1759
1779
|
left: var(--space-8);
|
|
1760
1780
|
}
|
|
1761
|
-
.
|
|
1781
|
+
._oos_yg69t_86 {
|
|
1762
1782
|
position: absolute;
|
|
1763
1783
|
inset: 0;
|
|
1764
1784
|
display: flex;
|
|
@@ -1770,17 +1790,17 @@
|
|
|
1770
1790
|
font-size: var(--type-trimmed-sm-size);
|
|
1771
1791
|
font-weight: var(--font-weight-bold);
|
|
1772
1792
|
}
|
|
1773
|
-
.
|
|
1793
|
+
._bottom_yg69t_113 {
|
|
1774
1794
|
display: flex;
|
|
1775
1795
|
flex-direction: column;
|
|
1776
1796
|
gap: var(--space-16);
|
|
1777
1797
|
}
|
|
1778
|
-
.
|
|
1798
|
+
._titlePrice_yg69t_100 {
|
|
1779
1799
|
display: flex;
|
|
1780
1800
|
flex-direction: column;
|
|
1781
1801
|
gap: var(--space-16);
|
|
1782
1802
|
}
|
|
1783
|
-
.
|
|
1803
|
+
._title_yg69t_5 {
|
|
1784
1804
|
font-size: var(--type-paragraph-size);
|
|
1785
1805
|
line-height: 21px;
|
|
1786
1806
|
padding: 5px 0;
|
|
@@ -1794,50 +1814,30 @@
|
|
|
1794
1814
|
overflow: hidden;
|
|
1795
1815
|
min-height: calc(2 * 21px + 10px);
|
|
1796
1816
|
}
|
|
1797
|
-
.
|
|
1817
|
+
._titlePrice_yg69t_100 > :last-child {
|
|
1798
1818
|
line-height: 11px;
|
|
1799
1819
|
}
|
|
1800
|
-
.
|
|
1801
|
-
display: flex;
|
|
1802
|
-
gap: var(--space-4);
|
|
1803
|
-
align-items: center;
|
|
1804
|
-
}
|
|
1805
|
-
._swatch_1a177_181 {
|
|
1806
|
-
display: inline-flex;
|
|
1807
|
-
padding: 2px;
|
|
1808
|
-
box-shadow: inset 0 0 0 0.5px var(--color-border-full-color-subtle);
|
|
1809
|
-
border-radius: var(--radius-2);
|
|
1810
|
-
}
|
|
1811
|
-
._swatchActive_1a177_198 {
|
|
1812
|
-
box-shadow: inset 0 0 0 0.5px var(--color-border-full-color-max);
|
|
1813
|
-
}
|
|
1814
|
-
._swatchDot_1a177_202 {
|
|
1815
|
-
display: block;
|
|
1816
|
-
width: 14px;
|
|
1817
|
-
height: 14px;
|
|
1818
|
-
border-radius: var(--radius-2);
|
|
1819
|
-
}
|
|
1820
|
-
._large_1a177_213 {
|
|
1820
|
+
._large_yg69t_185 {
|
|
1821
1821
|
padding: 0 var(--space-16);
|
|
1822
1822
|
}
|
|
1823
|
-
.
|
|
1823
|
+
._large_yg69t_185 ._media_yg69t_15 {
|
|
1824
1824
|
aspect-ratio: 343 / 457;
|
|
1825
1825
|
}
|
|
1826
|
-
.
|
|
1826
|
+
._large_yg69t_185 ._title_yg69t_5 {
|
|
1827
1827
|
font-size: 18px;
|
|
1828
1828
|
line-height: 23px;
|
|
1829
1829
|
min-height: 0;
|
|
1830
1830
|
}
|
|
1831
|
-
.
|
|
1831
|
+
._tile_yg69t_7:not(._large_yg69t_185) ._swatchSlot_yg69t_223 {
|
|
1832
1832
|
display: none;
|
|
1833
1833
|
}
|
|
1834
|
-
.
|
|
1834
|
+
._section_v48ok_9 {
|
|
1835
1835
|
display: flex;
|
|
1836
1836
|
flex-direction: column;
|
|
1837
1837
|
gap: var(--space-12);
|
|
1838
1838
|
padding: var(--space-24) 0;
|
|
1839
1839
|
}
|
|
1840
|
-
.
|
|
1840
|
+
._title_v48ok_21 {
|
|
1841
1841
|
margin: 0;
|
|
1842
1842
|
padding: 0 var(--space-16);
|
|
1843
1843
|
font-size: var(--type-heading-md-size);
|
|
@@ -1845,14 +1845,14 @@
|
|
|
1845
1845
|
font-weight: var(--font-weight-bold);
|
|
1846
1846
|
color: var(--color-text-default);
|
|
1847
1847
|
}
|
|
1848
|
-
.
|
|
1848
|
+
._link_v48ok_30 {
|
|
1849
1849
|
display: flex;
|
|
1850
1850
|
flex-direction: column;
|
|
1851
1851
|
gap: var(--space-12);
|
|
1852
1852
|
text-decoration: none;
|
|
1853
1853
|
color: inherit;
|
|
1854
1854
|
}
|
|
1855
|
-
.
|
|
1855
|
+
._track_v48ok_42 {
|
|
1856
1856
|
display: flex;
|
|
1857
1857
|
gap: var(--space-12);
|
|
1858
1858
|
list-style: none;
|
|
@@ -1864,10 +1864,10 @@
|
|
|
1864
1864
|
-webkit-overflow-scrolling: touch;
|
|
1865
1865
|
scrollbar-width: none;
|
|
1866
1866
|
}
|
|
1867
|
-
.
|
|
1867
|
+
._track_v48ok_42::-webkit-scrollbar {
|
|
1868
1868
|
display: none;
|
|
1869
1869
|
}
|
|
1870
|
-
.
|
|
1870
|
+
._frame_v48ok_62 {
|
|
1871
1871
|
position: relative;
|
|
1872
1872
|
flex: 0 0 auto;
|
|
1873
1873
|
width: 165px;
|
|
@@ -1877,20 +1877,20 @@
|
|
|
1877
1877
|
background: var(--color-surface-soft);
|
|
1878
1878
|
scroll-snap-align: start;
|
|
1879
1879
|
}
|
|
1880
|
-
.
|
|
1880
|
+
._image_v48ok_73 {
|
|
1881
1881
|
object-fit: cover;
|
|
1882
1882
|
}
|
|
1883
|
-
.
|
|
1883
|
+
._placeholder_v48ok_77 {
|
|
1884
1884
|
width: 100%;
|
|
1885
1885
|
height: 100%;
|
|
1886
1886
|
}
|
|
1887
|
-
.
|
|
1887
|
+
._saleBadge_v48ok_89 {
|
|
1888
1888
|
position: absolute;
|
|
1889
1889
|
display: flex;
|
|
1890
1890
|
bottom: var(--space-8);
|
|
1891
1891
|
left: var(--space-8);
|
|
1892
1892
|
}
|
|
1893
|
-
.
|
|
1893
|
+
._oos_v48ok_97 {
|
|
1894
1894
|
position: absolute;
|
|
1895
1895
|
inset: 0;
|
|
1896
1896
|
display: flex;
|
|
@@ -1901,13 +1901,16 @@
|
|
|
1901
1901
|
font-size: var(--type-trimmed-sm-size);
|
|
1902
1902
|
font-weight: var(--font-weight-bold);
|
|
1903
1903
|
}
|
|
1904
|
-
.
|
|
1904
|
+
._caption_v48ok_113 {
|
|
1905
1905
|
display: flex;
|
|
1906
1906
|
flex-direction: column;
|
|
1907
1907
|
gap: var(--space-16);
|
|
1908
1908
|
padding: 0 var(--space-16);
|
|
1909
1909
|
}
|
|
1910
|
-
.
|
|
1910
|
+
._swatchRow_v48ok_132 {
|
|
1911
|
+
margin-top: calc(var(--space-12) - var(--space-16));
|
|
1912
|
+
}
|
|
1913
|
+
._name_v48ok_142 {
|
|
1911
1914
|
font-size: 18px;
|
|
1912
1915
|
line-height: 23px;
|
|
1913
1916
|
padding: 5px 0;
|
|
@@ -1918,7 +1921,7 @@
|
|
|
1918
1921
|
text-overflow: ellipsis;
|
|
1919
1922
|
white-space: nowrap;
|
|
1920
1923
|
}
|
|
1921
|
-
.
|
|
1924
|
+
._price_v48ok_155 {
|
|
1922
1925
|
display: flex;
|
|
1923
1926
|
align-items: baseline;
|
|
1924
1927
|
gap: var(--space-4);
|
|
@@ -1926,11 +1929,11 @@
|
|
|
1926
1929
|
line-height: 11px;
|
|
1927
1930
|
font-variant-numeric: tabular-nums;
|
|
1928
1931
|
}
|
|
1929
|
-
.
|
|
1932
|
+
._paid_v48ok_164 {
|
|
1930
1933
|
font-weight: var(--font-weight-bold);
|
|
1931
1934
|
color: var(--color-text-default);
|
|
1932
1935
|
}
|
|
1933
|
-
.
|
|
1936
|
+
._was_v48ok_170 {
|
|
1934
1937
|
font-weight: var(--font-weight-bold);
|
|
1935
1938
|
color: var(--color-text-disabled);
|
|
1936
1939
|
text-decoration: line-through;
|
|
@@ -3104,7 +3107,7 @@
|
|
|
3104
3107
|
._oos_1hv16_66 {
|
|
3105
3108
|
color: var(--color-state-surface-critical-default);
|
|
3106
3109
|
}
|
|
3107
|
-
.
|
|
3110
|
+
._hero_wguje_10 {
|
|
3108
3111
|
--hero-height: clamp(480px, calc(100svh - var(--hero-top, 0px)), 812px);
|
|
3109
3112
|
position: relative;
|
|
3110
3113
|
height: var(--hero-height);
|
|
@@ -3112,15 +3115,15 @@
|
|
|
3112
3115
|
background: var(--color-surface-default);
|
|
3113
3116
|
margin-bottom: calc(var(--hero-height) * -237 / 812);
|
|
3114
3117
|
}
|
|
3115
|
-
.
|
|
3118
|
+
._image_wguje_42 {
|
|
3116
3119
|
position: absolute;
|
|
3117
3120
|
inset: 0;
|
|
3118
3121
|
}
|
|
3119
|
-
.
|
|
3122
|
+
._image_wguje_42 img {
|
|
3120
3123
|
object-fit: cover;
|
|
3121
3124
|
object-position: top center;
|
|
3122
3125
|
}
|
|
3123
|
-
.
|
|
3126
|
+
._scrim_wguje_70 {
|
|
3124
3127
|
position: absolute;
|
|
3125
3128
|
inset: 0;
|
|
3126
3129
|
background:
|
|
@@ -3130,7 +3133,7 @@
|
|
|
3130
3133
|
rgba(0, 0, 0, 0.1) 45%,
|
|
3131
3134
|
rgba(0, 0, 0, 0) 70%);
|
|
3132
3135
|
}
|
|
3133
|
-
.
|
|
3136
|
+
._fade_wguje_94 {
|
|
3134
3137
|
position: absolute;
|
|
3135
3138
|
right: 0;
|
|
3136
3139
|
bottom: 0;
|
|
@@ -3143,19 +3146,19 @@
|
|
|
3143
3146
|
rgba(8, 14, 18, 0.65) 55%,
|
|
3144
3147
|
var(--color-surface-default) 100%);
|
|
3145
3148
|
}
|
|
3146
|
-
.
|
|
3149
|
+
._text_wguje_108 {
|
|
3147
3150
|
position: absolute;
|
|
3148
|
-
top: max(var(--space-12)
|
|
3151
|
+
top: max(0px, calc(var(--space-12) - var(--hero-top, 0px)));
|
|
3149
3152
|
left: 0;
|
|
3150
3153
|
right: 0;
|
|
3151
3154
|
display: flex;
|
|
3152
3155
|
flex-direction: column;
|
|
3153
3156
|
align-items: center;
|
|
3154
3157
|
gap: var(--space-8);
|
|
3155
|
-
padding:
|
|
3158
|
+
padding: 0 var(--space-24) var(--space-24);
|
|
3156
3159
|
text-align: center;
|
|
3157
3160
|
}
|
|
3158
|
-
.
|
|
3161
|
+
._title_wguje_155 {
|
|
3159
3162
|
width: 327px;
|
|
3160
3163
|
max-width: 100%;
|
|
3161
3164
|
margin: 0;
|
|
@@ -3165,7 +3168,7 @@
|
|
|
3165
3168
|
color: #f9fafa;
|
|
3166
3169
|
text-wrap: balance;
|
|
3167
3170
|
}
|
|
3168
|
-
.
|
|
3171
|
+
._subtitle_wguje_166 {
|
|
3169
3172
|
width: 224px;
|
|
3170
3173
|
max-width: 100%;
|
|
3171
3174
|
margin: 0;
|
|
@@ -3174,18 +3177,18 @@
|
|
|
3174
3177
|
font-weight: var(--font-weight-regular);
|
|
3175
3178
|
color: #f9fafa;
|
|
3176
3179
|
}
|
|
3177
|
-
.
|
|
3180
|
+
._noImage_wguje_181 {
|
|
3178
3181
|
height: auto;
|
|
3179
3182
|
min-height: 0;
|
|
3180
3183
|
max-height: none;
|
|
3181
3184
|
margin-bottom: 0;
|
|
3182
3185
|
}
|
|
3183
|
-
.
|
|
3186
|
+
._noImage_wguje_181 ._text_wguje_108 {
|
|
3184
3187
|
position: static;
|
|
3185
3188
|
padding-top: var(--space-24);
|
|
3186
3189
|
}
|
|
3187
|
-
.
|
|
3188
|
-
.
|
|
3190
|
+
._noImage_wguje_181 ._title_wguje_155,
|
|
3191
|
+
._noImage_wguje_181 ._subtitle_wguje_166 {
|
|
3189
3192
|
color: var(--color-text-default);
|
|
3190
3193
|
}
|
|
3191
3194
|
._text_1saw4_6 {
|
|
@@ -3207,18 +3210,17 @@
|
|
|
3207
3210
|
justify-content: flex-start;
|
|
3208
3211
|
text-align: left;
|
|
3209
3212
|
}
|
|
3210
|
-
.
|
|
3211
|
-
padding: var(--space-24)
|
|
3213
|
+
._wrap_79nr3_10 {
|
|
3214
|
+
padding: var(--space-24) 0;
|
|
3212
3215
|
}
|
|
3213
|
-
.
|
|
3216
|
+
._box_79nr3_14 {
|
|
3214
3217
|
position: relative;
|
|
3215
3218
|
width: 100%;
|
|
3216
|
-
aspect-ratio:
|
|
3217
|
-
border-radius: var(--radius-18);
|
|
3219
|
+
aspect-ratio: 3 / 4;
|
|
3218
3220
|
overflow: hidden;
|
|
3219
3221
|
background: var(--color-surface-soft);
|
|
3220
3222
|
}
|
|
3221
|
-
.
|
|
3223
|
+
._track_79nr3_23 {
|
|
3222
3224
|
display: flex;
|
|
3223
3225
|
list-style: none;
|
|
3224
3226
|
margin: 0;
|
|
@@ -3229,21 +3231,21 @@
|
|
|
3229
3231
|
-webkit-overflow-scrolling: touch;
|
|
3230
3232
|
scrollbar-width: none;
|
|
3231
3233
|
}
|
|
3232
|
-
.
|
|
3234
|
+
._track_79nr3_23::-webkit-scrollbar {
|
|
3233
3235
|
display: none;
|
|
3234
3236
|
}
|
|
3235
|
-
.
|
|
3237
|
+
._slide_79nr3_39 {
|
|
3236
3238
|
position: relative;
|
|
3237
3239
|
flex: 0 0 100%;
|
|
3238
3240
|
height: 100%;
|
|
3239
3241
|
scroll-snap-align: start;
|
|
3240
3242
|
}
|
|
3241
|
-
.
|
|
3243
|
+
._image_79nr3_46 {
|
|
3242
3244
|
object-fit: cover;
|
|
3243
3245
|
}
|
|
3244
|
-
.
|
|
3246
|
+
._dots_79nr3_51 {
|
|
3245
3247
|
position: absolute;
|
|
3246
|
-
bottom:
|
|
3248
|
+
bottom: 0;
|
|
3247
3249
|
left: 0;
|
|
3248
3250
|
right: 0;
|
|
3249
3251
|
height: 32px;
|
|
@@ -3253,13 +3255,13 @@
|
|
|
3253
3255
|
gap: var(--space-8);
|
|
3254
3256
|
pointer-events: none;
|
|
3255
3257
|
}
|
|
3256
|
-
.
|
|
3258
|
+
._dot_79nr3_51 {
|
|
3257
3259
|
width: 8px;
|
|
3258
3260
|
height: 8px;
|
|
3259
3261
|
border-radius: var(--radius-full);
|
|
3260
3262
|
background: #9ea2a4;
|
|
3261
3263
|
}
|
|
3262
|
-
.
|
|
3264
|
+
._dotActive_79nr3_76 {
|
|
3263
3265
|
background: #f9fafa;
|
|
3264
3266
|
}
|
|
3265
3267
|
._section_kdf3c_1 {
|