hasting-swatchcart-module 1.0.36 → 1.0.38
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/README.md +454 -454
- package/dist/assets/index.css +64 -10
- package/dist/cdn/main.css +64 -10
- package/dist/cdn/main.js +63 -63
- package/dist/main.cjs +62 -62
- package/dist/main.cjs.map +1 -1
- package/dist/main.js +63 -63
- package/dist/main.js.map +1 -1
- package/package.json +102 -102
package/dist/assets/index.css
CHANGED
|
@@ -960,6 +960,10 @@ template, [hidden] {
|
|
|
960
960
|
display: flex;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
+
#root-container .flex\! {
|
|
964
|
+
display: flex !important;
|
|
965
|
+
}
|
|
966
|
+
|
|
963
967
|
#root-container .grid {
|
|
964
968
|
display: grid;
|
|
965
969
|
}
|
|
@@ -1064,6 +1068,10 @@ template, [hidden] {
|
|
|
1064
1068
|
height: 64px;
|
|
1065
1069
|
}
|
|
1066
1070
|
|
|
1071
|
+
#root-container .h-\[64px\]\! {
|
|
1072
|
+
height: 64px !important;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1067
1075
|
#root-container .h-\[780px\] {
|
|
1068
1076
|
height: 780px;
|
|
1069
1077
|
}
|
|
@@ -1224,6 +1232,10 @@ template, [hidden] {
|
|
|
1224
1232
|
flex-shrink: 0;
|
|
1225
1233
|
}
|
|
1226
1234
|
|
|
1235
|
+
#root-container .shrink-0\! {
|
|
1236
|
+
flex-shrink: 0 !important;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1227
1239
|
#root-container .origin-\(--radix-popover-content-transform-origin\) {
|
|
1228
1240
|
transform-origin: var(--radix-popover-content-transform-origin);
|
|
1229
1241
|
}
|
|
@@ -1310,6 +1322,10 @@ template, [hidden] {
|
|
|
1310
1322
|
flex-direction: row;
|
|
1311
1323
|
}
|
|
1312
1324
|
|
|
1325
|
+
#root-container .flex-row\! {
|
|
1326
|
+
flex-direction: row !important;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1313
1329
|
#root-container .flex-wrap {
|
|
1314
1330
|
flex-wrap: wrap;
|
|
1315
1331
|
}
|
|
@@ -1318,6 +1334,10 @@ template, [hidden] {
|
|
|
1318
1334
|
align-items: center;
|
|
1319
1335
|
}
|
|
1320
1336
|
|
|
1337
|
+
#root-container .items-center\! {
|
|
1338
|
+
align-items: center !important;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1321
1341
|
#root-container .items-start {
|
|
1322
1342
|
align-items: flex-start;
|
|
1323
1343
|
}
|
|
@@ -1338,6 +1358,10 @@ template, [hidden] {
|
|
|
1338
1358
|
gap: 8px;
|
|
1339
1359
|
}
|
|
1340
1360
|
|
|
1361
|
+
#root-container .gap-\[8px\]\! {
|
|
1362
|
+
gap: 8px !important;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1341
1365
|
#root-container .gap-\[12px\] {
|
|
1342
1366
|
gap: 12px;
|
|
1343
1367
|
}
|
|
@@ -1346,6 +1370,10 @@ template, [hidden] {
|
|
|
1346
1370
|
gap: 16px;
|
|
1347
1371
|
}
|
|
1348
1372
|
|
|
1373
|
+
#root-container .gap-\[16px\]\! {
|
|
1374
|
+
gap: 16px !important;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1349
1377
|
#root-container .gap-\[var\(--sm-padding\)\] {
|
|
1350
1378
|
gap: var(--sm-padding);
|
|
1351
1379
|
}
|
|
@@ -1366,8 +1394,8 @@ template, [hidden] {
|
|
|
1366
1394
|
overflow: hidden;
|
|
1367
1395
|
}
|
|
1368
1396
|
|
|
1369
|
-
#root-container .overflow-x-auto {
|
|
1370
|
-
overflow-x: auto;
|
|
1397
|
+
#root-container .overflow-x-auto\! {
|
|
1398
|
+
overflow-x: auto !important;
|
|
1371
1399
|
}
|
|
1372
1400
|
|
|
1373
1401
|
#root-container .overflow-y-auto {
|
|
@@ -1448,6 +1476,11 @@ template, [hidden] {
|
|
|
1448
1476
|
border-bottom-width: 1px;
|
|
1449
1477
|
}
|
|
1450
1478
|
|
|
1479
|
+
#root-container .border-b\! {
|
|
1480
|
+
border-bottom-style: var(--tw-border-style) !important;
|
|
1481
|
+
border-bottom-width: 1px !important;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1451
1484
|
#root-container .border-l-\[10px\] {
|
|
1452
1485
|
border-left-style: var(--tw-border-style);
|
|
1453
1486
|
border-left-width: 10px;
|
|
@@ -1463,10 +1496,19 @@ template, [hidden] {
|
|
|
1463
1496
|
border-style: solid;
|
|
1464
1497
|
}
|
|
1465
1498
|
|
|
1499
|
+
#root-container .border-solid\! {
|
|
1500
|
+
--tw-border-style: solid !important;
|
|
1501
|
+
border-style: solid !important;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1466
1504
|
#root-container .border-\[var\(--border\)\] {
|
|
1467
1505
|
border-color: var(--border);
|
|
1468
1506
|
}
|
|
1469
1507
|
|
|
1508
|
+
#root-container .border-\[var\(--border\)\]\! {
|
|
1509
|
+
border-color: var(--border) !important;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1470
1512
|
#root-container .border-\[var\(--main-accent-color\)\] {
|
|
1471
1513
|
border-color: var(--main-accent-color);
|
|
1472
1514
|
}
|
|
@@ -1633,6 +1675,10 @@ template, [hidden] {
|
|
|
1633
1675
|
padding: var(--sm-padding);
|
|
1634
1676
|
}
|
|
1635
1677
|
|
|
1678
|
+
#root-container .p-\[var\(--sm-padding\)\]\! {
|
|
1679
|
+
padding: var(--sm-padding) !important;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1636
1682
|
#root-container .px-2 {
|
|
1637
1683
|
padding-inline: calc(var(--spacing) * 2);
|
|
1638
1684
|
}
|
|
@@ -2434,18 +2480,26 @@ template, [hidden] {
|
|
|
2434
2480
|
}
|
|
2435
2481
|
|
|
2436
2482
|
@media (min-width: 64rem) {
|
|
2437
|
-
#root-container .lg\:
|
|
2438
|
-
|
|
2483
|
+
#root-container .lg\:visible\! {
|
|
2484
|
+
visibility: visible !important;
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
#root-container .lg\:flex\! {
|
|
2488
|
+
display: flex !important;
|
|
2439
2489
|
}
|
|
2440
2490
|
|
|
2441
|
-
#root-container .lg\:hidden {
|
|
2442
|
-
display: none;
|
|
2491
|
+
#root-container .lg\:hidden\! {
|
|
2492
|
+
display: none !important;
|
|
2443
2493
|
}
|
|
2444
2494
|
|
|
2445
2495
|
#root-container .lg\:w-\[50\%\] {
|
|
2446
2496
|
width: 50%;
|
|
2447
2497
|
}
|
|
2448
2498
|
|
|
2499
|
+
#root-container .lg\:w-\[50\%\]\! {
|
|
2500
|
+
width: 50% !important;
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2449
2503
|
#root-container .lg\:max-w-\[240px\] {
|
|
2450
2504
|
max-width: 240px;
|
|
2451
2505
|
}
|
|
@@ -2489,12 +2543,12 @@ template, [hidden] {
|
|
|
2489
2543
|
}
|
|
2490
2544
|
|
|
2491
2545
|
@media (min-width: 80rem) {
|
|
2492
|
-
#root-container .xl\:w-full {
|
|
2493
|
-
width: 100
|
|
2546
|
+
#root-container .xl\:w-full\! {
|
|
2547
|
+
width: 100% !important;
|
|
2494
2548
|
}
|
|
2495
2549
|
|
|
2496
|
-
#root-container .xl\:max-w-\[68\%\] {
|
|
2497
|
-
max-width: 68
|
|
2550
|
+
#root-container .xl\:max-w-\[68\%\]\! {
|
|
2551
|
+
max-width: 68% !important;
|
|
2498
2552
|
}
|
|
2499
2553
|
|
|
2500
2554
|
#root-container .xl\:grid-cols-7 {
|
package/dist/cdn/main.css
CHANGED
|
@@ -960,6 +960,10 @@ template, [hidden] {
|
|
|
960
960
|
display: flex;
|
|
961
961
|
}
|
|
962
962
|
|
|
963
|
+
#root-container .flex\! {
|
|
964
|
+
display: flex !important;
|
|
965
|
+
}
|
|
966
|
+
|
|
963
967
|
#root-container .grid {
|
|
964
968
|
display: grid;
|
|
965
969
|
}
|
|
@@ -1064,6 +1068,10 @@ template, [hidden] {
|
|
|
1064
1068
|
height: 64px;
|
|
1065
1069
|
}
|
|
1066
1070
|
|
|
1071
|
+
#root-container .h-\[64px\]\! {
|
|
1072
|
+
height: 64px !important;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1067
1075
|
#root-container .h-\[780px\] {
|
|
1068
1076
|
height: 780px;
|
|
1069
1077
|
}
|
|
@@ -1224,6 +1232,10 @@ template, [hidden] {
|
|
|
1224
1232
|
flex-shrink: 0;
|
|
1225
1233
|
}
|
|
1226
1234
|
|
|
1235
|
+
#root-container .shrink-0\! {
|
|
1236
|
+
flex-shrink: 0 !important;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1227
1239
|
#root-container .origin-\(--radix-popover-content-transform-origin\) {
|
|
1228
1240
|
transform-origin: var(--radix-popover-content-transform-origin);
|
|
1229
1241
|
}
|
|
@@ -1310,6 +1322,10 @@ template, [hidden] {
|
|
|
1310
1322
|
flex-direction: row;
|
|
1311
1323
|
}
|
|
1312
1324
|
|
|
1325
|
+
#root-container .flex-row\! {
|
|
1326
|
+
flex-direction: row !important;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1313
1329
|
#root-container .flex-wrap {
|
|
1314
1330
|
flex-wrap: wrap;
|
|
1315
1331
|
}
|
|
@@ -1318,6 +1334,10 @@ template, [hidden] {
|
|
|
1318
1334
|
align-items: center;
|
|
1319
1335
|
}
|
|
1320
1336
|
|
|
1337
|
+
#root-container .items-center\! {
|
|
1338
|
+
align-items: center !important;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1321
1341
|
#root-container .items-start {
|
|
1322
1342
|
align-items: flex-start;
|
|
1323
1343
|
}
|
|
@@ -1338,6 +1358,10 @@ template, [hidden] {
|
|
|
1338
1358
|
gap: 8px;
|
|
1339
1359
|
}
|
|
1340
1360
|
|
|
1361
|
+
#root-container .gap-\[8px\]\! {
|
|
1362
|
+
gap: 8px !important;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1341
1365
|
#root-container .gap-\[12px\] {
|
|
1342
1366
|
gap: 12px;
|
|
1343
1367
|
}
|
|
@@ -1346,6 +1370,10 @@ template, [hidden] {
|
|
|
1346
1370
|
gap: 16px;
|
|
1347
1371
|
}
|
|
1348
1372
|
|
|
1373
|
+
#root-container .gap-\[16px\]\! {
|
|
1374
|
+
gap: 16px !important;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1349
1377
|
#root-container .gap-\[var\(--sm-padding\)\] {
|
|
1350
1378
|
gap: var(--sm-padding);
|
|
1351
1379
|
}
|
|
@@ -1366,8 +1394,8 @@ template, [hidden] {
|
|
|
1366
1394
|
overflow: hidden;
|
|
1367
1395
|
}
|
|
1368
1396
|
|
|
1369
|
-
#root-container .overflow-x-auto {
|
|
1370
|
-
overflow-x: auto;
|
|
1397
|
+
#root-container .overflow-x-auto\! {
|
|
1398
|
+
overflow-x: auto !important;
|
|
1371
1399
|
}
|
|
1372
1400
|
|
|
1373
1401
|
#root-container .overflow-y-auto {
|
|
@@ -1448,6 +1476,11 @@ template, [hidden] {
|
|
|
1448
1476
|
border-bottom-width: 1px;
|
|
1449
1477
|
}
|
|
1450
1478
|
|
|
1479
|
+
#root-container .border-b\! {
|
|
1480
|
+
border-bottom-style: var(--tw-border-style) !important;
|
|
1481
|
+
border-bottom-width: 1px !important;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1451
1484
|
#root-container .border-l-\[10px\] {
|
|
1452
1485
|
border-left-style: var(--tw-border-style);
|
|
1453
1486
|
border-left-width: 10px;
|
|
@@ -1463,10 +1496,19 @@ template, [hidden] {
|
|
|
1463
1496
|
border-style: solid;
|
|
1464
1497
|
}
|
|
1465
1498
|
|
|
1499
|
+
#root-container .border-solid\! {
|
|
1500
|
+
--tw-border-style: solid !important;
|
|
1501
|
+
border-style: solid !important;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1466
1504
|
#root-container .border-\[var\(--border\)\] {
|
|
1467
1505
|
border-color: var(--border);
|
|
1468
1506
|
}
|
|
1469
1507
|
|
|
1508
|
+
#root-container .border-\[var\(--border\)\]\! {
|
|
1509
|
+
border-color: var(--border) !important;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1470
1512
|
#root-container .border-\[var\(--main-accent-color\)\] {
|
|
1471
1513
|
border-color: var(--main-accent-color);
|
|
1472
1514
|
}
|
|
@@ -1633,6 +1675,10 @@ template, [hidden] {
|
|
|
1633
1675
|
padding: var(--sm-padding);
|
|
1634
1676
|
}
|
|
1635
1677
|
|
|
1678
|
+
#root-container .p-\[var\(--sm-padding\)\]\! {
|
|
1679
|
+
padding: var(--sm-padding) !important;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1636
1682
|
#root-container .px-2 {
|
|
1637
1683
|
padding-inline: calc(var(--spacing) * 2);
|
|
1638
1684
|
}
|
|
@@ -2434,18 +2480,26 @@ template, [hidden] {
|
|
|
2434
2480
|
}
|
|
2435
2481
|
|
|
2436
2482
|
@media (min-width: 64rem) {
|
|
2437
|
-
#root-container .lg\:
|
|
2438
|
-
|
|
2483
|
+
#root-container .lg\:visible\! {
|
|
2484
|
+
visibility: visible !important;
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
#root-container .lg\:flex\! {
|
|
2488
|
+
display: flex !important;
|
|
2439
2489
|
}
|
|
2440
2490
|
|
|
2441
|
-
#root-container .lg\:hidden {
|
|
2442
|
-
display: none;
|
|
2491
|
+
#root-container .lg\:hidden\! {
|
|
2492
|
+
display: none !important;
|
|
2443
2493
|
}
|
|
2444
2494
|
|
|
2445
2495
|
#root-container .lg\:w-\[50\%\] {
|
|
2446
2496
|
width: 50%;
|
|
2447
2497
|
}
|
|
2448
2498
|
|
|
2499
|
+
#root-container .lg\:w-\[50\%\]\! {
|
|
2500
|
+
width: 50% !important;
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2449
2503
|
#root-container .lg\:max-w-\[240px\] {
|
|
2450
2504
|
max-width: 240px;
|
|
2451
2505
|
}
|
|
@@ -2489,12 +2543,12 @@ template, [hidden] {
|
|
|
2489
2543
|
}
|
|
2490
2544
|
|
|
2491
2545
|
@media (min-width: 80rem) {
|
|
2492
|
-
#root-container .xl\:w-full {
|
|
2493
|
-
width: 100
|
|
2546
|
+
#root-container .xl\:w-full\! {
|
|
2547
|
+
width: 100% !important;
|
|
2494
2548
|
}
|
|
2495
2549
|
|
|
2496
|
-
#root-container .xl\:max-w-\[68\%\] {
|
|
2497
|
-
max-width: 68
|
|
2550
|
+
#root-container .xl\:max-w-\[68\%\]\! {
|
|
2551
|
+
max-width: 68% !important;
|
|
2498
2552
|
}
|
|
2499
2553
|
|
|
2500
2554
|
#root-container .xl\:grid-cols-7 {
|
package/dist/cdn/main.js
CHANGED
|
@@ -11942,7 +11942,7 @@ const ph = ({ item: e }) => {
|
|
|
11942
11942
|
n ? /* @__PURE__ */ x.jsx(
|
|
11943
11943
|
"div",
|
|
11944
11944
|
{
|
|
11945
|
-
className: `absolute top-0 right-0 m-2 w-[16px] h-[16px] flex flex-row justify-center items-center
|
|
11945
|
+
className: `absolute top-0 right-0 m-2 w-[16px] h-[16px] flex flex-row justify-center items-center\r
|
|
11946
11946
|
bg-[var(--background-grey)] rounded-2xl border-none pointer-events-none`,
|
|
11947
11947
|
children: /* @__PURE__ */ x.jsx(Gs, { className: "w-[8px] h-2 stroke-[var(--svg-dark)]" })
|
|
11948
11948
|
}
|
|
@@ -12054,9 +12054,9 @@ const ph = ({ item: e }) => {
|
|
|
12054
12054
|
}) => /* @__PURE__ */ x.jsx(
|
|
12055
12055
|
"li",
|
|
12056
12056
|
{
|
|
12057
|
-
className:
|
|
12058
|
-
border-b border-[var(--border)]
|
|
12059
|
-
px-[var(--sm-padding)] p-[var(--sm-padding)]
|
|
12057
|
+
className: `\r
|
|
12058
|
+
border-b border-[var(--border)]\r
|
|
12059
|
+
px-[var(--sm-padding)] p-[var(--sm-padding)]\r
|
|
12060
12060
|
last:border-b-0`,
|
|
12061
12061
|
children: /* @__PURE__ */ x.jsxs("div", { className: "relative flex flex-row gap-[16px]", children: [
|
|
12062
12062
|
/* @__PURE__ */ x.jsx("div", { children: /* @__PURE__ */ x.jsx(Rw, { val: e }) }),
|
|
@@ -12166,7 +12166,7 @@ const Ks = (e) => e.multiProductCart.items, Bw = (e) => e.multiProductCart.produ
|
|
|
12166
12166
|
/* @__PURE__ */ x.jsx(
|
|
12167
12167
|
"div",
|
|
12168
12168
|
{
|
|
12169
|
-
className: ` p-[var(--sm-padding)] border-y border-[var(--border)]
|
|
12169
|
+
className: ` p-[var(--sm-padding)] border-y border-[var(--border)]\r
|
|
12170
12170
|
sm:px-[var(--sm-padding)] text-sm font-medium`,
|
|
12171
12171
|
children: y
|
|
12172
12172
|
},
|
|
@@ -12194,9 +12194,9 @@ const Ks = (e) => e.multiProductCart.items, Bw = (e) => e.multiProductCart.produ
|
|
|
12194
12194
|
/* @__PURE__ */ x.jsxs(
|
|
12195
12195
|
"div",
|
|
12196
12196
|
{
|
|
12197
|
-
className: `flex flex-col
|
|
12198
|
-
sm:flex-row sm:w-full sm:justify-between sm:items-center
|
|
12199
|
-
sm:border-t sm:border-[var(--border)] shadow-[0_-2px_10px_rgba(40,40,40,0.10)]
|
|
12197
|
+
className: `flex flex-col \r
|
|
12198
|
+
sm:flex-row sm:w-full sm:justify-between sm:items-center\r
|
|
12199
|
+
sm:border-t sm:border-[var(--border)] shadow-[0_-2px_10px_rgba(40,40,40,0.10)]\r
|
|
12200
12200
|
`,
|
|
12201
12201
|
children: [
|
|
12202
12202
|
/* @__PURE__ */ x.jsx("div", { className: "sm:w-[50%] sm:border-r sm:border-solid sm:border-[var(--border)]", children: /* @__PURE__ */ x.jsx(
|
|
@@ -12914,7 +12914,7 @@ const AA = ({ text: e, isActive: t = !1, onClick: n }) => {
|
|
|
12914
12914
|
return /* @__PURE__ */ x.jsxs(
|
|
12915
12915
|
"div",
|
|
12916
12916
|
{
|
|
12917
|
-
className: `flex flex-row items-center gap-[8px] lg:w-[50%] xl:max-w-[68%] xl:w-full ${i}`,
|
|
12917
|
+
className: `flex! flex-row! items-center! gap-[8px]! lg:w-[50%]! xl:max-w-[68%]! xl:w-full! ${i}`,
|
|
12918
12918
|
role: "region",
|
|
12919
12919
|
"aria-label": "Category slider",
|
|
12920
12920
|
children: [
|
|
@@ -29332,11 +29332,11 @@ const zb = ({
|
|
|
29332
29332
|
{
|
|
29333
29333
|
ref: l,
|
|
29334
29334
|
role: "tooltip",
|
|
29335
|
-
className:
|
|
29336
|
-
absolute
|
|
29337
|
-
rounded-2xl
|
|
29338
|
-
text-white text-sm leading-6 font-medium
|
|
29339
|
-
pointer-events-auto
|
|
29335
|
+
className: `\r
|
|
29336
|
+
absolute\r
|
|
29337
|
+
rounded-2xl\r
|
|
29338
|
+
text-white text-sm leading-6 font-medium\r
|
|
29339
|
+
pointer-events-auto\r
|
|
29340
29340
|
`,
|
|
29341
29341
|
style: {
|
|
29342
29342
|
top: c.top,
|
|
@@ -29349,11 +29349,11 @@ const zb = ({
|
|
|
29349
29349
|
/* @__PURE__ */ x.jsx(
|
|
29350
29350
|
"span",
|
|
29351
29351
|
{
|
|
29352
|
-
className:
|
|
29353
|
-
absolute -bottom-[10px] h-0 w-0
|
|
29354
|
-
border-l-[10px] border-l-transparent
|
|
29355
|
-
border-r-[10px] border-r-transparent
|
|
29356
|
-
border-t-[10px]
|
|
29352
|
+
className: `\r
|
|
29353
|
+
absolute -bottom-[10px] h-0 w-0\r
|
|
29354
|
+
border-l-[10px] border-l-transparent\r
|
|
29355
|
+
border-r-[10px] border-r-transparent\r
|
|
29356
|
+
border-t-[10px]\r
|
|
29357
29357
|
`,
|
|
29358
29358
|
style: {
|
|
29359
29359
|
left: c.arrowLeft,
|
|
@@ -29385,10 +29385,10 @@ const zb = ({
|
|
|
29385
29385
|
onKeyDown: (g) => {
|
|
29386
29386
|
(g.key === "Enter" || g.key === " ") && g.preventDefault();
|
|
29387
29387
|
},
|
|
29388
|
-
className:
|
|
29389
|
-
bg-[var(--background-grey)] relative w-[40px] h-[40px] border border-solid border-[var(--border)]
|
|
29390
|
-
rounded-md aspect-square overflow-hidden transition sm:w-[64px] sm:h-[64px]
|
|
29391
|
-
select-none
|
|
29388
|
+
className: `\r
|
|
29389
|
+
bg-[var(--background-grey)] relative w-[40px] h-[40px] border border-solid border-[var(--border)]\r
|
|
29390
|
+
rounded-md aspect-square overflow-hidden transition sm:w-[64px] sm:h-[64px]\r
|
|
29391
|
+
select-none\r
|
|
29392
29392
|
`,
|
|
29393
29393
|
"aria-label": `Selected swatch ${e.name ?? e.assetId}`,
|
|
29394
29394
|
title: "Click to remove",
|
|
@@ -29405,7 +29405,7 @@ const zb = ({
|
|
|
29405
29405
|
/* @__PURE__ */ x.jsx(
|
|
29406
29406
|
"div",
|
|
29407
29407
|
{
|
|
29408
|
-
className: `absolute top-0 right-0 m-[2px] w-[12px] h-[12px] flex flex-row justify-center items-center text-white
|
|
29408
|
+
className: `absolute top-0 right-0 m-[2px] w-[12px] h-[12px] flex flex-row justify-center items-center text-white\r
|
|
29409
29409
|
bg-[var(--main-accent-color)] rounded-2xl border-none z-[99] sm:w-[16px] sm:h-[16px]`,
|
|
29410
29410
|
children: e.count
|
|
29411
29411
|
}
|
|
@@ -29414,14 +29414,14 @@ const zb = ({
|
|
|
29414
29414
|
"div",
|
|
29415
29415
|
{
|
|
29416
29416
|
onClick: p,
|
|
29417
|
-
className:
|
|
29418
|
-
absolute inset-0 m-auto
|
|
29419
|
-
w-[12px] h-[12px]
|
|
29420
|
-
flex items-center justify-center
|
|
29421
|
-
bg-[var(--background-grey)]
|
|
29422
|
-
rounded-full
|
|
29423
|
-
z-[100] cursor-pointer
|
|
29424
|
-
sm:w-[32px] sm:h-[32px]
|
|
29417
|
+
className: `\r
|
|
29418
|
+
absolute inset-0 m-auto\r
|
|
29419
|
+
w-[12px] h-[12px]\r
|
|
29420
|
+
flex items-center justify-center\r
|
|
29421
|
+
bg-[var(--background-grey)]\r
|
|
29422
|
+
rounded-full\r
|
|
29423
|
+
z-[100] cursor-pointer\r
|
|
29424
|
+
sm:w-[32px] sm:h-[32px]\r
|
|
29425
29425
|
`,
|
|
29426
29426
|
children: /* @__PURE__ */ x.jsx(Gs, { className: "w-[8px] h-[8px] stroke-[var(--svg-dark)]" })
|
|
29427
29427
|
}
|
|
@@ -29497,8 +29497,8 @@ const zb = ({
|
|
|
29497
29497
|
return /* @__PURE__ */ x.jsxs(
|
|
29498
29498
|
"div",
|
|
29499
29499
|
{
|
|
29500
|
-
className: `flex flex-col border-t border-[var(--border)] shrink-0 shadow-[0_-2px_10px_rgba(40,40,40,0.10)]
|
|
29501
|
-
sm:flex-row
|
|
29500
|
+
className: `flex flex-col border-t border-[var(--border)] shrink-0 shadow-[0_-2px_10px_rgba(40,40,40,0.10)]\r
|
|
29501
|
+
sm:flex-row\r
|
|
29502
29502
|
`,
|
|
29503
29503
|
children: [
|
|
29504
29504
|
/* @__PURE__ */ x.jsx(
|
|
@@ -29593,19 +29593,19 @@ const zb = ({
|
|
|
29593
29593
|
placeholder: "Search",
|
|
29594
29594
|
value: f,
|
|
29595
29595
|
onChange: (F) => p(F.target.value),
|
|
29596
|
-
className:
|
|
29597
|
-
h-full w-full rounded-2xl border border-[var(--border)] bg-[var(--background)]
|
|
29598
|
-
px-4 pr-8 text-sm text-black placeholder-[var(--text-muted)]
|
|
29599
|
-
transition focus:border-[var(--main-accent-color)] focus:outline-none
|
|
29596
|
+
className: `\r
|
|
29597
|
+
h-full w-full rounded-2xl border border-[var(--border)] bg-[var(--background)]\r
|
|
29598
|
+
px-4 pr-8 text-sm text-black placeholder-[var(--text-muted)]\r
|
|
29599
|
+
transition focus:border-[var(--main-accent-color)] focus:outline-none\r
|
|
29600
29600
|
`
|
|
29601
29601
|
}
|
|
29602
29602
|
),
|
|
29603
29603
|
/* @__PURE__ */ x.jsx(
|
|
29604
29604
|
"div",
|
|
29605
29605
|
{
|
|
29606
|
-
className:
|
|
29607
|
-
pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 sm:right-4
|
|
29608
|
-
[&_svg_path]:stroke-[var(--svg-dark)]
|
|
29606
|
+
className: `\r
|
|
29607
|
+
pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 sm:right-4\r
|
|
29608
|
+
[&_svg_path]:stroke-[var(--svg-dark)]\r
|
|
29609
29609
|
`,
|
|
29610
29610
|
children: /* @__PURE__ */ x.jsx(jw, { width: 20, height: 20 })
|
|
29611
29611
|
}
|
|
@@ -29630,7 +29630,7 @@ const zb = ({
|
|
|
29630
29630
|
items: S,
|
|
29631
29631
|
activeId: l.productId,
|
|
29632
29632
|
onSelect: (F) => c(F),
|
|
29633
|
-
className: "hidden lg:flex flex-row shrink-0 overflow-x-auto"
|
|
29633
|
+
className: "hidden! lg:flex! lg:visible! flex-row! shrink-0! overflow-x-auto!"
|
|
29634
29634
|
}
|
|
29635
29635
|
)
|
|
29636
29636
|
] }),
|
|
@@ -29640,7 +29640,7 @@ const zb = ({
|
|
|
29640
29640
|
items: S,
|
|
29641
29641
|
activeId: l.productId,
|
|
29642
29642
|
onSelect: (F) => c(F),
|
|
29643
|
-
className: "h-[64px] p-[var(--sm-padding)] border-b border-[var(--border)] lg:hidden"
|
|
29643
|
+
className: "h-[64px]! p-[var(--sm-padding)]! border-b! border-[var(--border)]! lg:hidden!"
|
|
29644
29644
|
}
|
|
29645
29645
|
),
|
|
29646
29646
|
/* @__PURE__ */ x.jsxs(
|
|
@@ -29965,13 +29965,13 @@ const sa = _.forwardRef(
|
|
|
29965
29965
|
/* @__PURE__ */ x.jsx(
|
|
29966
29966
|
"span",
|
|
29967
29967
|
{
|
|
29968
|
-
className:
|
|
29969
|
-
flex-none flex flex-row justify-center items-center
|
|
29970
|
-
w-[20px] h-5 rounded-full
|
|
29971
|
-
bg-[var(--main-accent-color)] text-white
|
|
29972
|
-
text-[1rem] leading-none
|
|
29973
|
-
select-none pointer-events-none
|
|
29974
|
-
overflow-hidden
|
|
29968
|
+
className: `\r
|
|
29969
|
+
flex-none flex flex-row justify-center items-center\r
|
|
29970
|
+
w-[20px] h-5 rounded-full\r
|
|
29971
|
+
bg-[var(--main-accent-color)] text-white\r
|
|
29972
|
+
text-[1rem] leading-none\r
|
|
29973
|
+
select-none pointer-events-none\r
|
|
29974
|
+
overflow-hidden\r
|
|
29975
29975
|
`,
|
|
29976
29976
|
children: C
|
|
29977
29977
|
}
|
|
@@ -30249,16 +30249,16 @@ const Jb = ({
|
|
|
30249
30249
|
] }), p4 = () => /* @__PURE__ */ x.jsxs(
|
|
30250
30250
|
"div",
|
|
30251
30251
|
{
|
|
30252
|
-
className: `flex flex-col justify-between border-b border-[var(--border)]
|
|
30253
|
-
sm:flex-row
|
|
30252
|
+
className: `flex flex-col justify-between border-b border-[var(--border)]\r
|
|
30253
|
+
sm:flex-row\r
|
|
30254
30254
|
`,
|
|
30255
30255
|
children: [
|
|
30256
30256
|
/* @__PURE__ */ x.jsx(
|
|
30257
30257
|
Jb,
|
|
30258
30258
|
{
|
|
30259
|
-
containerStyles: `flex flex-row justify-between items-center gap-[8px] p-[var(--sm-padding)] w-full text-xs
|
|
30260
|
-
border-b border-[var(--border)]
|
|
30261
|
-
sm:max-w-[360px] sm:text-sm sm:border-none
|
|
30259
|
+
containerStyles: `flex flex-row justify-between items-center gap-[8px] p-[var(--sm-padding)] w-full text-xs\r
|
|
30260
|
+
border-b border-[var(--border)]\r
|
|
30261
|
+
sm:max-w-[360px] sm:text-sm sm:border-none\r
|
|
30262
30262
|
`,
|
|
30263
30263
|
selectStyles: "min-w-[auto] max-w-[154px] sm:max-w-[auto] sm:min-w-[180px] font-normal"
|
|
30264
30264
|
}
|
|
@@ -30904,9 +30904,9 @@ const w4 = (e) => /* @__PURE__ */ x.jsx(
|
|
|
30904
30904
|
"div",
|
|
30905
30905
|
{
|
|
30906
30906
|
ref: l,
|
|
30907
|
-
className:
|
|
30908
|
-
bg-white rounded-2xl shadow-xl flex flex-col overflow-hidden
|
|
30909
|
-
max-w-[90vw] max-h-[90vh]
|
|
30907
|
+
className: `\r
|
|
30908
|
+
bg-white rounded-2xl shadow-xl flex flex-col overflow-hidden\r
|
|
30909
|
+
max-w-[90vw] max-h-[90vh]\r
|
|
30910
30910
|
`,
|
|
30911
30911
|
style: {
|
|
30912
30912
|
width: i || "auto",
|
|
@@ -30955,9 +30955,9 @@ const w4 = (e) => /* @__PURE__ */ x.jsx(
|
|
|
30955
30955
|
/* @__PURE__ */ x.jsx("div", { className: "p-[var(--sm-padding)] w-full", children: /* @__PURE__ */ x.jsx(
|
|
30956
30956
|
"button",
|
|
30957
30957
|
{
|
|
30958
|
-
className:
|
|
30959
|
-
w-full block py-3 rounded-full
|
|
30960
|
-
bg-[var(--main-accent-color)] text-white font-bold capitalize
|
|
30958
|
+
className: `\r
|
|
30959
|
+
w-full block py-3 rounded-full\r
|
|
30960
|
+
bg-[var(--main-accent-color)] text-white font-bold capitalize\r
|
|
30961
30961
|
`,
|
|
30962
30962
|
onClick: t,
|
|
30963
30963
|
children: "OK"
|
|
@@ -31381,8 +31381,8 @@ const M4 = () => /* @__PURE__ */ x.jsx(
|
|
|
31381
31381
|
/* @__PURE__ */ x.jsx(
|
|
31382
31382
|
"button",
|
|
31383
31383
|
{
|
|
31384
|
-
className: `flex flex-row justify-center items-center w-[30px] h-[30px] bg-[var(--background-grey)]
|
|
31385
|
-
border-none cursor-pointer rounded-full
|
|
31384
|
+
className: `flex flex-row justify-center items-center w-[30px] h-[30px] bg-[var(--background-grey)]\r
|
|
31385
|
+
border-none cursor-pointer rounded-full\r
|
|
31386
31386
|
[&_svg_path]:stroke-[var(--svg-dark)]`,
|
|
31387
31387
|
onClick: t,
|
|
31388
31388
|
children: /* @__PURE__ */ x.jsx(Gs, { width: 10, height: 10 })
|