@sonic-equipment/ui 0.0.19 → 0.0.21

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.
Files changed (60) hide show
  1. package/dist/algolia/algolia-active-filters.d.ts +7 -0
  2. package/dist/algolia/algolia-categories.d.ts +1 -0
  3. package/dist/algolia/algolia-filter-panel.d.ts +4 -0
  4. package/dist/algolia/algolia-multi-select.d.ts +5 -0
  5. package/dist/algolia/algolia-pagination.d.ts +1 -0
  6. package/dist/algolia/algolia-product-list.d.ts +1 -0
  7. package/dist/algolia/algolia-provider.d.ts +13 -0
  8. package/dist/algolia/algolia-results-count.d.ts +1 -0
  9. package/dist/algolia/algolia-searchclient-mock.d.ts +4 -0
  10. package/dist/algolia/algolia-sort-by.d.ts +1 -0
  11. package/dist/algolia/algolia.stories.d.ts +17 -0
  12. package/dist/buttons/add-to-cart-button/add-to-cart-button.stories.d.ts +1 -0
  13. package/dist/buttons/add-to-cart-button/connected-add-to-cart-button.d.ts +5 -0
  14. package/dist/buttons/button/button.d.ts +5 -4
  15. package/dist/buttons/button/button.stories.d.ts +1 -0
  16. package/dist/buttons/icon-button/icon-button.d.ts +2 -1
  17. package/dist/buttons/link-button/link-button.d.ts +10 -0
  18. package/dist/buttons/link-button/link-button.stories.d.ts +19 -0
  19. package/dist/cards/product-card/connected-product-cart.d.ts +6 -0
  20. package/dist/cards/product-card/product-card.stories.d.ts +1 -0
  21. package/dist/collapsables/accordion/accordion-item.d.ts +2 -1
  22. package/dist/collapsables/accordion/accordion.d.ts +2 -1
  23. package/dist/collapsables/accordion/accordion.stories.d.ts +1 -1
  24. package/dist/collapsables/show-all/show-all.d.ts +9 -0
  25. package/dist/collapsables/show-all/show-all.stories.d.ts +17 -0
  26. package/dist/filters/active-filters/active-filters.d.ts +14 -0
  27. package/dist/filters/active-filters/active-filters.stories.d.ts +15 -0
  28. package/dist/filters/multi-select/multi-select.d.ts +19 -0
  29. package/dist/filters/multi-select/multi-select.stories.d.ts +20 -0
  30. package/dist/filters/pagination/pagination.d.ts +6 -0
  31. package/dist/filters/pagination/pagination.stories.d.ts +18 -0
  32. package/dist/forms/color-checkbox/color-checkbox.stories.d.ts +1 -0
  33. package/dist/forms/select/select.d.ts +5 -5
  34. package/dist/forms/select/select.stories.d.ts +10 -3
  35. package/dist/icons/chevrons/chevron-left-filled-icon.d.ts +2 -0
  36. package/dist/icons/chevrons/chevron-right-filled-icon.d.ts +2 -0
  37. package/dist/icons/close/close-filled-icon.d.ts +2 -0
  38. package/dist/icons/filter/filter-outlined-icon.d.ts +2 -0
  39. package/dist/index.d.ts +71 -32
  40. package/dist/index.js +402 -64
  41. package/dist/intl/translation-id.d.ts +1 -5
  42. package/dist/product-listing/product-listing.d.ts +12 -16
  43. package/dist/product-listing/product-listing.stories.d.ts +7 -2
  44. package/dist/shared/hooks/use-breakpoint.d.ts +5 -0
  45. package/dist/shared/hooks/use-debounce-callback.d.ts +1 -0
  46. package/dist/shared/hooks/use-disclosure.d.ts +9 -0
  47. package/dist/shared/hooks/use-scroll-lock.d.ts +1 -0
  48. package/dist/shared/providers/cart-provider.d.ts +33 -0
  49. package/dist/shared/providers/global-state-provider.d.ts +23 -0
  50. package/dist/shared/types/cart.d.ts +8 -0
  51. package/dist/shared/utils/event-emitter.d.ts +9 -0
  52. package/dist/sidebar/sidebar-context.d.ts +6 -0
  53. package/dist/sidebar/sidebar-provider.d.ts +6 -0
  54. package/dist/sidebar/sidebar.d.ts +5 -0
  55. package/dist/sidebar/sidebar.stories.d.ts +8 -0
  56. package/dist/sidebar/toggle-sidebar-button.d.ts +1 -0
  57. package/dist/sidebar/use-sidebar.d.ts +2 -0
  58. package/dist/styles.css +435 -12
  59. package/dist/typography/heading/heading.d.ts +1 -1
  60. package/package.json +37 -32
package/dist/styles.css CHANGED
@@ -211,8 +211,11 @@
211
211
  --shadow-focus-outline-padded: 0 0 1px 4px rgb(227 6 19 / 40%);
212
212
 
213
213
  /* Box shadows */
214
- --box-shadow-96: 0 0 96px 0 rgb(0 0 0 / 30%);
215
- --box-shadow-8: 0 0 8px 0 rgb(0 0 0 / 30%);
214
+ --box-shadow-heavy: 0 0 96px 0 rgb(0 0 0 / 30%);
215
+ --box-shadow-light: 0 0 8px 0 rgb(0 0 0 / 30%);
216
+ }
217
+ :root {
218
+ --sidebar-layer: 100;
216
219
  }
217
220
 
218
221
  .button-module-V4meK {
@@ -240,18 +243,33 @@
240
243
  cursor: default;
241
244
  }
242
245
 
246
+ .button-module-V4meK .button-module-XaNWz {
247
+ display: block;
248
+ width: 24px;
249
+ height: 24px;
250
+ }
251
+
243
252
  /*********************************************************
244
253
  *
245
254
  * Sizes
246
255
  *
247
256
  *********************************************************/
248
257
 
258
+ .button-module-Pbwz7 {
259
+ min-height: 36px;
260
+ padding: 0 var(--space-16);
261
+ border-radius: var(--border-radius-20);
262
+ font-style: normal;
263
+ font-weight: var(--font-weight-normal);
264
+ text-transform: none;
265
+ }
266
+
249
267
  .button-module-GVTEW {
250
268
  min-width: 52px;
251
269
  min-height: 40px;
252
- box-sizing: border-box;
253
270
  padding: 0 var(--space-20);
254
271
  border-radius: var(--border-radius-20);
272
+ font-size: var(--font-size-14);
255
273
  }
256
274
 
257
275
  .button-module-GVTEW.button-module-GKHQc {
@@ -323,12 +341,16 @@
323
341
  border: 1px solid var(--color-brand-medium-gray);
324
342
  }
325
343
 
344
+ .button-module--1bCH:where(.button-module-vq9GI):where([data-hovered], .button-module-YzPAr, .button-module--xzsY, .button-module-XMFzj), .button-module--1bCH:where(.button-module-vq9GI):where([data-pressed]) {
345
+ border-color: var(--color-brand-light-gray);
346
+ }
347
+
326
348
  .button-module--1bCH .button-module-ydQAo {
327
349
  color: var(--color-brand-red);
328
350
  }
329
351
 
330
352
  .button-module--1bCH:where([data-disabled]) {
331
- border-color: var(--color-brand-medium-gray);
353
+ border-color: var(--color-brand-light-gray);
332
354
  background-color: var(--color-white);
333
355
  color: var(--color-brand-medium-gray);
334
356
  }
@@ -478,6 +500,11 @@
478
500
  cursor: pointer;
479
501
  }
480
502
 
503
+ .icon-button-module-4PDK-[data-disabled] {
504
+ cursor: default;
505
+ opacity: 0.4;
506
+ }
507
+
481
508
  /*********************************************************
482
509
  *
483
510
  * Sizes
@@ -520,6 +547,44 @@
520
547
  color: var(--color-brand-red);
521
548
  }
522
549
 
550
+ .link-button-module-6i75g {
551
+ all: unset;
552
+ position: relative;
553
+ display: inline-flex;
554
+ align-items: center;
555
+ color: var(--color-brand-red);
556
+ cursor: pointer;
557
+ font: inherit;
558
+ font-size: var(--font-size-14);
559
+ gap: var(--space-4);
560
+ }
561
+
562
+ .link-button-module-6i75g svg {
563
+ display: block;
564
+ width: 12px;
565
+ height: 12px;
566
+ }
567
+
568
+ .link-button-module-6i75g:where([data-disabled]) {
569
+ cursor: default;
570
+ opacity: 0.4;
571
+ }
572
+
573
+ .link-button-module-6i75g:where([data-pressed]),
574
+ .link-button-module-6i75g:where([data-hovered]) {
575
+ color: var(--color-brand-dark-red);
576
+ }
577
+
578
+ .link-button-module-6i75g:where([data-pressed])::after, .link-button-module-6i75g:where([data-hovered])::after {
579
+ position: absolute;
580
+ bottom: 0;
581
+ left: 0;
582
+ width: 100%;
583
+ height: 1px;
584
+ background-color: var(--color-brand-dark-red);
585
+ content: '';
586
+ }
587
+
523
588
  .tag-module-B7r15 {
524
589
  --tag-bg-color: var(--color-brand-red);
525
590
  --tag-fg-color: var(--color-brand-white);
@@ -700,6 +765,7 @@
700
765
  aspect-ratio: 1 / 1;
701
766
  margin-inline: auto;
702
767
  place-items: center;
768
+ transition: width ease 0.2s;
703
769
  }
704
770
 
705
771
  .product-card-module-pLaiB .product-card-module-p-zoi img {
@@ -721,7 +787,7 @@
721
787
 
722
788
  @media (hover: hover) {
723
789
  .product-card-module-pLaiB:hover {
724
- box-shadow: var(--box-shadow-96);
790
+ box-shadow: var(--box-shadow-heavy);
725
791
  scale: 1.04;
726
792
  }
727
793
  }
@@ -760,6 +826,8 @@
760
826
  --color: var(--color-black);
761
827
  --button-font-size: var(--font-size-16);
762
828
  --seperator-color: transparent;
829
+ --accordion-padding-inline: 0;
830
+ --accordion-padding-block: var(--space-16);
763
831
  }
764
832
 
765
833
  .accordion-module-9WvAH.accordion-module-CaVdG {
@@ -782,8 +850,11 @@
782
850
  --seperator-color: var(--color-white);
783
851
  }
784
852
 
853
+ .accordion-module-6CcEH {
854
+ --accordion-padding-inline: var(--space-16);
855
+ }
856
+
785
857
  .accordion-module-lf9d- {
786
- --padding: var(--space-16);
787
858
  --transition-duration: 0.2s;
788
859
 
789
860
  border-bottom: 1px solid var(--seperator-color);
@@ -797,8 +868,8 @@
797
868
  position: relative;
798
869
  display: block;
799
870
  width: 100%;
800
- padding: var(--padding);
801
- padding-right: calc(var(--padding) * 2);
871
+ padding-right: calc(var(--accordion-padding-inline) * 2);
872
+ padding-left: var(--accordion-padding-inline);
802
873
  border: none;
803
874
  background: none;
804
875
  color: var(--color);
@@ -807,6 +878,7 @@
807
878
  font-size: var(--button-font-size);
808
879
  font-weight: var(--font-weight-bold);
809
880
  line-height: 1;
881
+ padding-block: var(--accordion-padding-block);
810
882
  text-align: left;
811
883
  }
812
884
 
@@ -827,7 +899,7 @@
827
899
  outline: none;
828
900
  }
829
901
 
830
- .accordion-module-lf9d- .accordion-module--Rwpb[aria-expanded='true'] {
902
+ .accordion-module-lf9d- .accordion-module--Rwpb:hover {
831
903
  background-color: var(--color-gray-100);
832
904
  }
833
905
 
@@ -838,7 +910,7 @@
838
910
  .accordion-module-lf9d- .accordion-module-KZjMo {
839
911
  display: grid;
840
912
  grid-template-rows: 0fr;
841
- padding-inline: var(--padding);
913
+ padding-inline: var(--accordion-padding-inline);
842
914
  transition:
843
915
  grid-template-rows var(--transition-duration) linear,
844
916
  padding-block var(--transition-duration) linear;
@@ -862,6 +934,73 @@
862
934
  border-color: var(--color-gray-100);
863
935
  }
864
936
 
937
+ .show-all-module-BDp21 {
938
+ --transition-duration: 0.2s;
939
+ --initital-height: 0;
940
+ }
941
+
942
+ .show-all-module-BDp21 .show-all-module-bEdda {
943
+ display: grid;
944
+ grid-template-rows: 0fr;
945
+ transition: grid-template-rows var(--transition-duration) ease-in-out;
946
+ }
947
+
948
+ .show-all-module-BDp21 .show-all-module-bEdda .show-all-module-RF--F {
949
+ position: relative;
950
+ overflow: hidden;
951
+ min-height: var(--initital-height);
952
+ color: currentcolor;
953
+ }
954
+
955
+ .show-all-module-BDp21 .show-all-module-bEdda .show-all-module-RF--F.show-all-module-30y7l::after {
956
+ position: absolute;
957
+ bottom: 0;
958
+ left: 0;
959
+ display: block;
960
+ width: 100%;
961
+ height: 24px;
962
+ background-image: linear-gradient(to bottom, transparent, white);
963
+ content: '';
964
+ }
965
+
966
+ .show-all-module-BDp21 .show-all-module-58e7Q {
967
+ margin-top: var(--space-8);
968
+ }
969
+
970
+ .show-all-module-BDp21 .show-all-module-58e7Q .show-all-module-fqncI {
971
+ display: block;
972
+ width: 12px;
973
+ height: 12px;
974
+ transition: transform var(--transition-duration) ease;
975
+ }
976
+
977
+ .show-all-module-BDp21.show-all-module-hQeGI button .show-all-module-fqncI {
978
+ transform: rotate(-180deg);
979
+ }
980
+
981
+ .show-all-module-BDp21.show-all-module-hQeGI .show-all-module-bEdda {
982
+ grid-template-rows: 1fr;
983
+ }
984
+
985
+ .show-all-module-BDp21.show-all-module-hQeGI .show-all-module-bEdda .show-all-module-RF--F::after {
986
+ background-image: linear-gradient(to bottom, transparent, transparent);
987
+ }
988
+
989
+ .multi-select-module-DC7Ix .multi-select-module-cwVFb {
990
+ display: grid;
991
+ margin-bottom: var(--space-8);
992
+ gap: var(--space-16);
993
+ }
994
+
995
+ .multi-select-module-DC7Ix .multi-select-module-cwVFb.multi-select-module-o7yHU {
996
+ margin-top: var(--space-8);
997
+ }
998
+ .multi-select-module-DC7Ix .multi-select-module-OW-NK {
999
+ display: flex;
1000
+ color: var(--color-brand-medium-gray);
1001
+ gap: var(--space-4);
1002
+ }
1003
+
865
1004
  .checkbox-module-YNVdd {
866
1005
  --selected-color: var(--color-brand-red);
867
1006
  --selected-color-pressed: var(--color-brand-dark-red);
@@ -879,8 +1018,10 @@
879
1018
  align-items: center;
880
1019
  color: var(--color-brand-black);
881
1020
  cursor: pointer;
1021
+ font-size: var(--font-size-14);
882
1022
  forced-color-adjust: none;
883
- gap: 4px;
1023
+ gap: 6px;
1024
+ line-height: 1;
884
1025
  }
885
1026
 
886
1027
  .checkbox-module-YNVdd .checkbox-module-UKoyf {
@@ -967,6 +1108,11 @@
967
1108
  background-size: 10px 10px;
968
1109
  }
969
1110
 
1111
+ .checkbox-module-YNVdd.checkbox-module-nEhvW[data-disabled] {
1112
+ cursor: pointer;
1113
+ opacity: 0.4;
1114
+ }
1115
+
970
1116
  .select-module-ui-Wc {
971
1117
  --trigger-width: initial;
972
1118
 
@@ -998,6 +1144,7 @@
998
1144
  display: block;
999
1145
  width: var(--space-12);
1000
1146
  height: var(--space-12);
1147
+ color: var(--color-brand-dark-gray);
1001
1148
  inset-block: 0;
1002
1149
  inset-inline-end: 14px;
1003
1150
  margin-block: auto;
@@ -1021,18 +1168,31 @@
1021
1168
 
1022
1169
  .select-module-z8cWq {
1023
1170
  width: var(--trigger-width);
1171
+ min-width: -moz-fit-content;
1172
+ min-width: fit-content;
1024
1173
  background-color: var(--color-white);
1025
- box-shadow: var(--box-shadow-8);
1174
+ box-shadow: var(--box-shadow-light);
1175
+ padding-block: var(--space-8);
1026
1176
  }
1027
1177
 
1028
1178
  .select-module-S21ba {
1029
1179
  outline: none;
1030
1180
  }
1031
1181
 
1182
+ .select-module-4Bm2j {
1183
+ padding: var(--space-8) var(--space-24);
1184
+ color: var(--color-brand-dark-gray);
1185
+ cursor: default;
1186
+ line-height: 1;
1187
+ outline: none;
1188
+ word-break: break-word;
1189
+ }
1190
+
1032
1191
  .select-module-LgEJO {
1033
1192
  position: relative;
1034
1193
  padding: var(--space-8) var(--space-24);
1035
1194
  cursor: pointer;
1195
+ line-height: 1;
1036
1196
  outline: none;
1037
1197
  word-break: break-word;
1038
1198
  }
@@ -1199,3 +1359,266 @@
1199
1359
  display: none;
1200
1360
  }
1201
1361
  }
1362
+
1363
+ .heading-module-pMC65 {
1364
+ padding: 0;
1365
+ margin: 0;
1366
+ color: var(--color-brand-black);
1367
+ font-weight: 900;
1368
+ }
1369
+
1370
+ .heading-module-pMC65:where(.heading-module-6spgX) {
1371
+ text-transform: uppercase;
1372
+ }
1373
+
1374
+ .heading-module-pMC65:where(.heading-module-XXMDM) {
1375
+ font-style: italic;
1376
+ }
1377
+
1378
+ .heading-module-pMC65:where(.heading-module-Kn3ZN) {
1379
+ font-size: var(--text-heading-xxl-size);
1380
+ line-height: var(--text-heading-xxl-line-height);
1381
+ }
1382
+
1383
+ .heading-module-pMC65:where(.heading-module--hZs-) {
1384
+ font-size: var(--text-heading-xl-size);
1385
+ line-height: var(--text-heading-xl-line-height);
1386
+ }
1387
+
1388
+ .heading-module-pMC65:where(.heading-module-WrJRY) {
1389
+ font-size: var(--text-heading-l-size);
1390
+ line-height: var(--text-heading-l-line-height);
1391
+ }
1392
+
1393
+ .heading-module-pMC65:where(.heading-module-hTexc) {
1394
+ font-size: var(--text-heading-m-size);
1395
+ font-weight: var(--font-weight-bold);
1396
+ line-height: var(--text-heading-m-line-height);
1397
+ }
1398
+
1399
+ .heading-module-pMC65:where(.heading-module-7W29m) {
1400
+ font-size: var(--text-heading-s-size);
1401
+ font-weight: var(--font-weight-bold);
1402
+ line-height: var(--text-heading-s-line-height);
1403
+ }
1404
+
1405
+ .heading-module-pMC65:where(.heading-module-SgaLB) {
1406
+ font-size: var(--text-heading-xs-size);
1407
+ font-weight: var(--font-weight-bold);
1408
+ line-height: var(--text-heading-xs-line-height);
1409
+ }
1410
+
1411
+ .heading-module-pMC65:where(.heading-module-33en7) {
1412
+ font-size: var(--text-heading-xxs-size);
1413
+ font-weight: var(--font-weight-bold);
1414
+ line-height: var(--text-heading-xxs-line-height);
1415
+ }
1416
+
1417
+ .active-filters-module-1qLjB {
1418
+ --spacing: var(--space-16);
1419
+
1420
+ border-bottom: 1px solid var(--color-brand-medium-gray);
1421
+ margin-top: var(--space-16);
1422
+ color: var(--color-brand-black);
1423
+ }
1424
+
1425
+ .active-filters-module-1qLjB .active-filters-module-UKKDu {
1426
+ margin-bottom: var(--spacing);
1427
+ }
1428
+
1429
+ .active-filters-module-1qLjB .active-filters-module-UKKDu .active-filters-module-h29rI {
1430
+ margin: 0;
1431
+ font-size: var(--font-size-16);
1432
+ line-height: 1;
1433
+ }
1434
+
1435
+ .active-filters-module-1qLjB .active-filters-module-UKKDu,
1436
+ .active-filters-module-1qLjB .active-filters-module-Rrmhy {
1437
+ display: flex;
1438
+ align-items: center;
1439
+ justify-content: space-between;
1440
+ }
1441
+
1442
+ .active-filters-module-1qLjB .active-filters-module-u9TTE {
1443
+ display: grid;
1444
+ margin-bottom: var(--spacing);
1445
+ gap: var(--spacing);
1446
+ }
1447
+
1448
+ .active-filters-module-1qLjB .active-filters-module-u9TTE .active-filters-module-CIuPU {
1449
+ font-weight: var(--font-weight-bold);
1450
+ }
1451
+
1452
+ .filter-panel-module-8oxI1 {
1453
+ --padding: var(--space-16);
1454
+
1455
+ position: relative;
1456
+ height: 100%;
1457
+ }
1458
+
1459
+ .filter-panel-module-8oxI1,
1460
+ .filter-panel-module-8oxI1 * {
1461
+ box-sizing: border-box;
1462
+ }
1463
+
1464
+ .filter-panel-module-8oxI1 .filter-panel-module-w0hhZ {
1465
+ overflow: auto;
1466
+ width: 100%;
1467
+ height: 100%;
1468
+ padding-bottom: 76px;
1469
+ padding-inline: var(--padding);
1470
+ }
1471
+
1472
+ .filter-panel-module-8oxI1 .filter-panel-module-AHlq3 {
1473
+ padding-bottom: 14px;
1474
+ border-bottom: 1px solid var(--color-brand-medium-gray);
1475
+ }
1476
+
1477
+ .filter-panel-module-8oxI1 .filter-panel-module-AHlq3 .filter-panel-module-TMp3J {
1478
+ display: inline-block;
1479
+ color: var(--color-black);
1480
+ font-size: var(--font-size-14);
1481
+ line-height: 2.25;
1482
+ text-decoration: none;
1483
+ }
1484
+
1485
+ .filter-panel-module-8oxI1 .filter-panel-module-AHlq3 .filter-panel-module-TMp3J .filter-panel-module-ykW1a {
1486
+ color: var(--color-brand-medium-gray);
1487
+ }
1488
+
1489
+ .filter-panel-module-8oxI1 .filter-panel-module-AHlq3 .filter-panel-module-xvhRz {
1490
+ display: grid;
1491
+ gap: var(--space-8);
1492
+ }
1493
+
1494
+ .filter-panel-module-8oxI1 .filter-panel-module-AHlq3 .filter-panel-module-hJVR0 {
1495
+ margin-top: 0;
1496
+ margin-bottom: var(--space-8);
1497
+ font-size: var(--font-size-16);
1498
+ font-weight: var(--font-weight-bold);
1499
+ }
1500
+
1501
+ .filter-panel-module-8oxI1 .filter-panel-module-hMmIb {
1502
+ position: absolute;
1503
+ bottom: var(--padding);
1504
+ display: grid;
1505
+ inset-inline: 0;
1506
+ padding-inline: var(--padding);
1507
+ }
1508
+
1509
+ @media (width >= 1440px) {
1510
+ .filter-panel-module-8oxI1 .filter-panel-module-w0hhZ {
1511
+ overflow: hidden;
1512
+ }
1513
+
1514
+ .filter-panel-module-8oxI1 .filter-panel-module-hMmIb {
1515
+ display: none;
1516
+ }
1517
+ }
1518
+
1519
+ .pagination-module-k4OgY,
1520
+ .pagination-module-oq89A {
1521
+ display: flex;
1522
+ align-items: center;
1523
+ justify-content: center;
1524
+ gap: var(--space-24);
1525
+ }
1526
+
1527
+ .pagination-module-k4OgY .pagination-module-oq89A, .pagination-module-oq89A .pagination-module-oq89A {
1528
+ gap: var(--space-8);
1529
+ }
1530
+
1531
+ .sidebar-module-fSa9Q {
1532
+ --transition-duration: 0.3s;
1533
+ --transition-timing-function: ease-in-out;
1534
+
1535
+ position: fixed;
1536
+ z-index: calc(var(--sidebar-layer) + 1);
1537
+ top: 0;
1538
+ left: 0;
1539
+ width: 382px;
1540
+ max-width: 100vw;
1541
+ height: 100%;
1542
+ box-sizing: border-box;
1543
+ background: var(--color-white);
1544
+ padding-block: 46px;
1545
+ transform: translateX(-100%);
1546
+ transition: transform var(--transition-duration)
1547
+ var(--transition-timing-function);
1548
+ }
1549
+
1550
+ .sidebar-module-fSa9Q .sidebar-module-2puGC {
1551
+ position: absolute;
1552
+ z-index: calc(var(--sidebar-layer) + 2);
1553
+ top: 36px;
1554
+ right: 8px;
1555
+ }
1556
+
1557
+ .sidebar-module-fSa9Q .sidebar-module-2puGC svg {
1558
+ display: block;
1559
+ width: 32px;
1560
+ height: 32px;
1561
+ }
1562
+
1563
+ .sidebar-module-fSa9Q .sidebar-module-2puGC button {
1564
+ -webkit-tap-highlight-color: transparent;
1565
+ }
1566
+
1567
+ .sidebar-module-fSa9Q.sidebar-module-lV7wp {
1568
+ box-shadow: var(--box-shadow-heavy);
1569
+ pointer-events: auto;
1570
+ transform: translateX(0);
1571
+ }
1572
+
1573
+ @media (width >= 1440px) {
1574
+ .sidebar-module-fSa9Q {
1575
+ position: static;
1576
+ z-index: initial;
1577
+ overflow: hidden;
1578
+ width: 324px;
1579
+ padding: 0;
1580
+ transform: translateX(0);
1581
+ transition: width var(--transition-duration)
1582
+ var(--transition-timing-function);
1583
+ white-space: nowrap;
1584
+ }
1585
+
1586
+ .sidebar-module-fSa9Q.sidebar-module-lV7wp {
1587
+ width: 0;
1588
+ box-shadow: none;
1589
+ }
1590
+
1591
+ .sidebar-module-fSa9Q .sidebar-module-2puGC {
1592
+ display: none;
1593
+ }
1594
+ }
1595
+
1596
+ .product-listing-module-EmEFw .product-listing-module-JEjsa {
1597
+ margin-bottom: 44px;
1598
+ }
1599
+ .product-listing-module-EmEFw .product-listing-module-rFNcR {
1600
+ display: grid;
1601
+ align-items: center;
1602
+ margin-bottom: var(--space-24);
1603
+ grid-template-columns: auto 1fr auto;
1604
+ }
1605
+ .product-listing-module-EmEFw .product-listing-module-rFNcR .product-listing-module-1seez {
1606
+ margin: auto;
1607
+ }
1608
+ .product-listing-module-EmEFw .product-listing-module-hZuKD {
1609
+ display: grid;
1610
+ grid-template-columns: 1fr;
1611
+ }
1612
+ .product-listing-module-EmEFw .product-listing-module-RRbLO {
1613
+ display: flex;
1614
+ flex-direction: column;
1615
+ }
1616
+ .product-listing-module-EmEFw .product-listing-module-kkOfB {
1617
+ margin-top: var(--space-24);
1618
+ grid-column: span 2;
1619
+ }
1620
+ @media (width >= 1440px) {
1621
+ .product-listing-module-EmEFw .product-listing-module-hZuKD {
1622
+ grid-template-columns: auto 1fr;
1623
+ }
1624
+ }
@@ -7,7 +7,7 @@ interface HeadingProps {
7
7
  children: React.ReactNode;
8
8
  className?: string;
9
9
  italic?: boolean;
10
- size: Size;
10
+ size?: Size;
11
11
  tag?: Tag;
12
12
  uppercase?: boolean;
13
13
  }