@sonic-equipment/ui 163.0.0 → 165.0.0

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 (73) hide show
  1. package/dist/algolia/algolia-categories-filters.js +9 -7
  2. package/dist/background-overlay/background-overlay-manager.d.ts +178 -0
  3. package/dist/background-overlay/background-overlay-manager.js +291 -0
  4. package/dist/background-overlay/background-overlay.d.ts +12 -2
  5. package/dist/background-overlay/background-overlay.js +28 -27
  6. package/dist/badges/badge/badge.d.ts +2 -1
  7. package/dist/badges/badge/badge.js +2 -2
  8. package/dist/badges/badge/icon-with-badge/icon-with-badge.d.ts +2 -1
  9. package/dist/badges/badge/icon-with-badge/icon-with-badge.js +2 -2
  10. package/dist/cards/orderline-card/orderline-card.js +5 -1
  11. package/dist/cards/product-card/product-card.js +5 -1
  12. package/dist/collapsables/cascading-component/cascading-component.d.ts +6 -2
  13. package/dist/collapsables/cascading-component/cascading-component.js +5 -5
  14. package/dist/collapsables/unmounter/unmounter.js +2 -2
  15. package/dist/country-select/country-select.js +1 -1
  16. package/dist/country-selector/connected-country-selector.js +20 -2
  17. package/dist/country-selector/country-selector-dialog/country-selector-dialog.js +1 -1
  18. package/dist/country-selector/use-countries-languages.d.ts +17 -1
  19. package/dist/country-selector/use-countries-languages.js +58 -29
  20. package/dist/delivery-time/delivery-time.d.ts +1 -1
  21. package/dist/delivery-time/delivery-time.js +20 -8
  22. package/dist/delivery-time/delivery-time.module.css.js +1 -1
  23. package/dist/drawer/drawer.d.ts +26 -0
  24. package/dist/drawer/drawer.js +37 -0
  25. package/dist/drawer/drawer.module.css.js +3 -0
  26. package/dist/drawer/use-drawer.d.ts +17 -0
  27. package/dist/drawer/use-drawer.js +71 -0
  28. package/dist/exports.d.ts +12 -0
  29. package/dist/global-search/global-search-provider/global-search-provider.js +1 -2
  30. package/dist/global-search/global-search.module.css.js +1 -1
  31. package/dist/header/cart-icon/connected-cart-icon.js +4 -4
  32. package/dist/icons/solid/solid-login-icon.js +7 -0
  33. package/dist/index.js +13 -1
  34. package/dist/intl/translation-id.d.ts +1 -1
  35. package/dist/layout/center.d.ts +5 -0
  36. package/dist/layout/center.js +9 -0
  37. package/dist/layout/center.module.css.js +3 -0
  38. package/dist/lists/menu-list/menu-list.d.ts +4 -2
  39. package/dist/lists/menu-list/menu-list.js +2 -2
  40. package/dist/lists/menu-list/menu-list.module.css.js +1 -1
  41. package/dist/lists/orderline-list/orderline-list.js +1 -2
  42. package/dist/navigation/account-icon/account-icon.d.ts +5 -0
  43. package/dist/navigation/account-icon/account-icon.js +12 -0
  44. package/dist/navigation/cart-icon/cart-icon.d.ts +5 -0
  45. package/dist/navigation/cart-icon/cart-icon.js +12 -0
  46. package/dist/navigation/favorite-icon/favorite-icon.d.ts +5 -0
  47. package/dist/navigation/favorite-icon/favorite-icon.js +12 -0
  48. package/dist/navigation/mobile-navigation/mobile-navigation.d.ts +5 -0
  49. package/dist/navigation/mobile-navigation/mobile-navigation.js +20 -0
  50. package/dist/navigation/panel-navigation/panel-navigation.d.ts +28 -0
  51. package/dist/navigation/panel-navigation/panel-navigation.js +69 -0
  52. package/dist/navigation/panel-navigation/panel-navigation.module.css.js +3 -0
  53. package/dist/pages/checkout/payment-page/components/payment.js +9 -9
  54. package/dist/pages/paths.d.ts +1 -0
  55. package/dist/pages/paths.js +1 -0
  56. package/dist/shared/hooks/use-global-disclosure.d.ts +10 -0
  57. package/dist/shared/hooks/use-global-disclosure.js +25 -0
  58. package/dist/shared/hooks/use-watch-css-property.d.ts +1 -1
  59. package/dist/shared/hooks/use-watch-css-property.js +2 -3
  60. package/dist/shared/model/category.d.ts +5 -0
  61. package/dist/shared/model/category.js +7 -1
  62. package/dist/shared/model/price.d.ts +2 -2
  63. package/dist/shared/utils/css.d.ts +1 -0
  64. package/dist/shared/utils/css.js +13 -0
  65. package/dist/shared/utils/date.d.ts +1 -12
  66. package/dist/shared/utils/date.js +8 -64
  67. package/dist/shared/utils/refs.d.ts +2 -0
  68. package/dist/shared/utils/refs.js +14 -0
  69. package/dist/sidebar/sidebar-provider.js +1 -1
  70. package/dist/styles.css +278 -66
  71. package/package.json +1 -1
  72. package/dist/background-overlay/background-overlay.module.css.js +0 -3
  73. package/dist/shared/utils/date.test.d.ts +0 -1
@@ -1,13 +1,2 @@
1
1
  import { CultureCode } from '../../intl/types';
2
- export type DateUnit = 'day' | 'week' | 'month';
3
- export type DateUnitObject = {
4
- number: number;
5
- unit: DateUnit;
6
- };
7
- export type DateThreshold = {
8
- dateUnitObject: DateUnitObject;
9
- numberOfDays: number;
10
- };
11
- export declare function getDateUnitObject(date: Date): DateUnitObject;
12
- export declare function convertDateUnitToPluralOrSingle(unit: DateUnit, number: number): 'day' | 'days' | 'week' | 'weeks' | 'month' | 'months';
13
- export declare function formatDateToLocaleString(date?: Date, cultureCode?: CultureCode): string;
2
+ export declare function formatDateToLocaleString(date?: Date, cultureCode?: CultureCode, options?: Intl.DateTimeFormatOptions): string;
@@ -1,68 +1,12 @@
1
- import { TIME } from './time.js';
2
-
3
- function getDaysDifference(date, now) {
4
- const diffTime = date.getTime() - now.getTime();
5
- return diffTime / TIME.DAY;
6
- }
7
- const dateThresholds = [
8
- {
9
- dateUnitObject: { number: 1, unit: 'week' },
10
- numberOfDays: 4,
11
- },
12
- {
13
- dateUnitObject: { number: 2, unit: 'week' },
14
- numberOfDays: 11,
15
- },
16
- {
17
- dateUnitObject: { number: 3, unit: 'week' },
18
- numberOfDays: 18,
19
- },
20
- {
21
- dateUnitObject: { number: 4, unit: 'week' },
22
- numberOfDays: 27,
23
- },
24
- {
25
- dateUnitObject: { number: 2, unit: 'month' },
26
- numberOfDays: 60,
27
- },
28
- {
29
- dateUnitObject: { number: 3, unit: 'month' },
30
- numberOfDays: 90,
31
- },
32
- ];
33
- function getDateUnitObject(date) {
34
- const fallbackDateUnitObject = { number: 6, unit: 'month' };
35
- const days = getDaysDifference(date, new Date());
36
- if (days <= -1)
37
- return fallbackDateUnitObject;
38
- for (const threshold of dateThresholds) {
39
- if (days <= threshold.numberOfDays) {
40
- return threshold.dateUnitObject;
41
- }
42
- }
43
- return fallbackDateUnitObject;
44
- }
45
- function convertDateUnitToPluralOrSingle(unit, number) {
46
- if (number === 1)
47
- return unit;
48
- switch (unit) {
49
- case 'day':
50
- return 'days';
51
- case 'week':
52
- return 'weeks';
53
- case 'month':
54
- return 'months';
55
- }
56
- }
57
- function formatDateToLocaleString(date, cultureCode) {
1
+ function formatDateToLocaleString(date, cultureCode, options = {
2
+ day: 'numeric',
3
+ month: 'long',
4
+ weekday: 'long',
5
+ year: 'numeric',
6
+ }) {
58
7
  if (!date || !cultureCode)
59
8
  return '';
60
- return date.toLocaleDateString(cultureCode, {
61
- day: 'numeric',
62
- month: 'long',
63
- weekday: 'long',
64
- year: 'numeric',
65
- });
9
+ return date.toLocaleDateString(cultureCode, options);
66
10
  }
67
11
 
68
- export { convertDateUnitToPluralOrSingle, formatDateToLocaleString, getDateUnitObject };
12
+ export { formatDateToLocaleString };
@@ -0,0 +1,2 @@
1
+ import { ForwardedRef, LegacyRef, MutableRefObject } from 'react';
2
+ export declare function multiRef<T extends HTMLElement>(...refs: (ForwardedRef<T> | MutableRefObject<T | undefined>)[]): LegacyRef<T>;
@@ -0,0 +1,14 @@
1
+ function multiRef(...refs) {
2
+ return function (el) {
3
+ for (const ref of refs) {
4
+ if (ref && ref instanceof Function) {
5
+ ref(el);
6
+ }
7
+ else if (ref) {
8
+ ref.current = el;
9
+ }
10
+ }
11
+ };
12
+ }
13
+
14
+ export { multiRef };
@@ -43,7 +43,7 @@ function SidebarProvider({ children }) {
43
43
  [styles['transition']]: transition,
44
44
  [styles['docked']]: isDocked,
45
45
  [styles['open']]: isOpen,
46
- }), children: [jsx(SidebarDetectBreakpoint, {}), children, isDocked && isOpen && (jsx(BackgroundOverlay, { isOpen: isOpen, onClose: close }))] }));
46
+ }), children: [jsx(SidebarDetectBreakpoint, {}), children, jsx(BackgroundOverlay, { isOpen: isDocked && isOpen, onClick: close })] }));
47
47
  }
48
48
 
49
49
  export { SidebarDetectBreakpoint, SidebarProvider };
package/dist/styles.css CHANGED
@@ -235,13 +235,14 @@
235
235
  --box-shadow-light: 0 0 8px 0 rgb(0 0 0 / 30%);
236
236
  }
237
237
  :root {
238
+ --top-actions-sticky-layer: 5;
238
239
  --carousel-layer: 10;
240
+ --loading-layer: 12;
241
+ --background-overlay-behind-header: 13;
239
242
  --header-layer: 15;
240
- --loading-layer: 50;
241
- --background-overlay-layer: 90;
243
+ --background-overlay-in-front: 90;
242
244
  --sidebar-layer: 100;
243
245
  --search-layer: 200;
244
- --sticky-bottom-price: 1300;
245
246
  --modal-layer: 2000;
246
247
  --zoom-image-layer: 2100;
247
248
  }
@@ -259,6 +260,9 @@
259
260
  100% no-repeat exclude,
260
261
  linear-gradient(0deg, #000, #000);
261
262
  }
263
+ :root {
264
+ scrollbar-gutter: stable;
265
+ }
262
266
 
263
267
  .address-info-display-module-CbRth {
264
268
  font: inherit;
@@ -1685,9 +1689,8 @@
1685
1689
  color: var(--color-white);
1686
1690
  }
1687
1691
 
1688
- .background-overlay-module-mGiNQ {
1692
+ .background-overlay {
1689
1693
  position: fixed;
1690
- z-index: var(--background-overlay-layer);
1691
1694
  -webkit-backdrop-filter: blur(4px);
1692
1695
  backdrop-filter: blur(4px);
1693
1696
  background-color: rgb(0 0 0 / 52%);
@@ -1695,15 +1698,14 @@
1695
1698
  opacity: 0;
1696
1699
  pointer-events: none;
1697
1700
  transition: opacity 0.3s ease-in-out;
1701
+ -webkit-user-select: none;
1702
+ -moz-user-select: none;
1703
+ user-select: none;
1698
1704
  }
1699
1705
 
1700
- .background-overlay-module-mGiNQ.background-overlay-module-5Uxcl {
1706
+ .background-overlay.visible {
1701
1707
  opacity: 1;
1702
- pointer-events: auto;
1703
- }
1704
-
1705
- .background-overlay-module-mGiNQ.background-overlay-module-GRInQ {
1706
- opacity: 0;
1708
+ pointer-events: all;
1707
1709
  }
1708
1710
 
1709
1711
  .badge-module-X5Au9 {
@@ -2600,7 +2602,7 @@
2600
2602
 
2601
2603
  .category-card-module-4NUjH .category-card-module-oNTrK .category-card-module-RxWMW {
2602
2604
  position: relative;
2603
- z-index: 5;
2605
+ z-index: 1;
2604
2606
  margin: auto;
2605
2607
  aspect-ratio: 1;
2606
2608
  mix-blend-mode: multiply;
@@ -2658,15 +2660,24 @@
2658
2660
  display: flex;
2659
2661
  align-items: center;
2660
2662
  color: var(--color-status-available);
2663
+ font-size: var(--font-size-14);
2661
2664
  gap: var(--space-4);
2662
2665
  grid-column: span 2;
2663
- line-height: 1.5;
2666
+ line-height: 1.25;
2664
2667
  }
2665
2668
 
2666
2669
  .delivery-time-module-fEWEl p {
2667
2670
  margin: 0;
2668
2671
  }
2669
2672
 
2673
+ .delivery-time-module-fEWEl p a {
2674
+ color: inherit;
2675
+ }
2676
+
2677
+ .delivery-time-module-fEWEl .delivery-time-module-Ta7xm {
2678
+ margin-block-start: -0.1em;
2679
+ }
2680
+
2670
2681
  /* Singular prices */
2671
2682
  .price-module-Qyyas {
2672
2683
  display: inline-grid;
@@ -2991,7 +3002,7 @@
2991
3002
  'image . sku price'
2992
3003
  'image . . price'
2993
3004
  'image . amount price'
2994
- 'image . info price';
3005
+ 'image . info info';
2995
3006
  grid-template-columns:
2996
3007
  143px var(--space-8)
2997
3008
  1fr auto
@@ -4558,6 +4569,111 @@ button.swiper-pagination-bullet {
4558
4569
  line-height: 1.5;
4559
4570
  }
4560
4571
 
4572
+ .drawer-module-5ARuA {
4573
+ --transition-timing-function: ease-in-out;
4574
+ --transition-duration: 0.3s;
4575
+ --transform-translate-x-from: -100%;
4576
+ --transform-translate-x-to: 0;
4577
+ --transform-translate-y-from: 0;
4578
+ --transform-translate-y-to: 0;
4579
+
4580
+ position: fixed;
4581
+ z-index: var(--sidebar-layer);
4582
+ display: flex;
4583
+ flex-direction: column;
4584
+ border: 1px solid var(--color-gray-200);
4585
+ background-color: var(--color-white);
4586
+ pointer-events: all;
4587
+ }
4588
+
4589
+ .drawer-module-5ARuA.drawer-module-yjFdX {
4590
+ top: 0;
4591
+ bottom: 0;
4592
+ left: 0;
4593
+ min-width: 300px;
4594
+ }
4595
+
4596
+ .drawer-module-5ARuA.drawer-module-bZLBV {
4597
+ --transform-translate-x-from: 100%;
4598
+ --transform-translate-x-to: 0;
4599
+ --transform-translate-y-from: 0;
4600
+ --transform-translate-y-to: 0;
4601
+
4602
+ top: 0;
4603
+ right: 0;
4604
+ bottom: 0;
4605
+ min-width: 300px;
4606
+ }
4607
+
4608
+ .drawer-module-5ARuA.drawer-module-KiviE {
4609
+ --transform-translate-x-from: 0;
4610
+ --transform-translate-x-to: 0;
4611
+ --transform-translate-y-from: -100%;
4612
+ --transform-translate-y-to: 0;
4613
+
4614
+ top: 0;
4615
+ right: 0;
4616
+ left: 0;
4617
+ min-height: 300px;
4618
+ }
4619
+
4620
+ .drawer-module-5ARuA.drawer-module-p-PYu {
4621
+ right: 0;
4622
+
4623
+ --transform-translate-x-from: 0;
4624
+ --transform-translate-x-to: 0;
4625
+ --transform-translate-y-from: 100%;
4626
+ --transform-translate-y-to: 0;
4627
+
4628
+ bottom: 0;
4629
+ left: 0;
4630
+ min-height: 300px;
4631
+ }
4632
+
4633
+ .drawer-module-5ARuA.drawer-module-0jRBQ {
4634
+ z-index: calc(var(--header-layer) - 1);
4635
+ }
4636
+
4637
+ .drawer-module-5ARuA.drawer-module-0jRBQ.drawer-module-yjFdX,
4638
+ .drawer-module-5ARuA.drawer-module-0jRBQ.drawer-module-bZLBV,
4639
+ .drawer-module-5ARuA.drawer-module-0jRBQ.drawer-module-KiviE {
4640
+ top: var(--header-height);
4641
+ }
4642
+
4643
+ .drawer-module-5ARuA.enter {
4644
+ transform: translate(
4645
+ var(--transform-translate-x-from),
4646
+ var(--transform-translate-y-from)
4647
+ );
4648
+ }
4649
+
4650
+ .drawer-module-5ARuA.enter-active {
4651
+ transform: translate(
4652
+ var(--transform-translate-x-to),
4653
+ var(--transform-translate-y-to)
4654
+ );
4655
+ }
4656
+
4657
+ .drawer-module-5ARuA.exit {
4658
+ transform: translate(
4659
+ var(--transform-translate-x-to),
4660
+ var(--transform-translate-y-to)
4661
+ );
4662
+ }
4663
+
4664
+ .drawer-module-5ARuA.exit-active {
4665
+ transform: translate(
4666
+ var(--transform-translate-x-from),
4667
+ var(--transform-translate-y-from)
4668
+ );
4669
+ }
4670
+
4671
+ .drawer-module-5ARuA.exit-active,
4672
+ .drawer-module-5ARuA.enter-active {
4673
+ transition: transform var(--transition-duration)
4674
+ var(--transition-timing-function);
4675
+ }
4676
+
4561
4677
  .footer-module-YzJ68 {
4562
4678
  --padding-inline: var(--space-24);
4563
4679
 
@@ -5064,53 +5180,6 @@ button.swiper-pagination-bullet {
5064
5180
  }
5065
5181
  }
5066
5182
 
5067
- .global-search-module-T0bEf {
5068
- z-index: calc(var(--header-layer) - 1);
5069
- }
5070
-
5071
- .global-search-module-d2g2F {
5072
- position: relative;
5073
- z-index: -1;
5074
- font-family: var(--font-family-sonic);
5075
- }
5076
-
5077
- .global-search-module-Sx8Lx {
5078
- position: relative;
5079
- }
5080
-
5081
- .global-search-module-Sx8Lx .global-search-module--orCF {
5082
- position: absolute;
5083
- z-index: var(--search-layer);
5084
- top: 0;
5085
- right: 0;
5086
- left: 0;
5087
- box-sizing: border-box;
5088
- transition: transform 0.3s ease-in-out;
5089
- }
5090
-
5091
- .global-search-module-Sx8Lx .global-search-module--orCF .global-search-module-vXnL6 {
5092
- position: relative;
5093
- z-index: calc(var(--search-layer) + 1);
5094
- }
5095
-
5096
- .global-search-module-Sx8Lx .global-search-module--orCF.global-search-module-MYwlp {
5097
- transform: translateY(0);
5098
- }
5099
-
5100
- .global-search-module-Sx8Lx .global-search-module--orCF.global-search-module-Jmt3c {
5101
- transform: translateY(0);
5102
- }
5103
-
5104
- .global-search-module-Sx8Lx .global-search-module--orCF.global-search-module-gQQfY {
5105
- transform: translateY(-100%);
5106
- }
5107
-
5108
- .global-search-module-Sx8Lx .global-search-module--orCF.global-search-module-AABcw {
5109
- opacity: 0;
5110
- pointer-events: none;
5111
- transform: translateY(-100%);
5112
- }
5113
-
5114
5183
  .search-input-module-xCCzd {
5115
5184
  box-sizing: border-box;
5116
5185
  }
@@ -5466,6 +5535,49 @@ button.swiper-pagination-bullet {
5466
5535
  transform: translateY(-100%);
5467
5536
  }
5468
5537
 
5538
+ .global-search-module-d2g2F {
5539
+ position: relative;
5540
+ z-index: -1;
5541
+ font-family: var(--font-family-sonic);
5542
+ }
5543
+
5544
+ .global-search-module-Sx8Lx {
5545
+ position: relative;
5546
+ }
5547
+
5548
+ .global-search-module-Sx8Lx .global-search-module--orCF {
5549
+ position: absolute;
5550
+ z-index: var(--search-layer);
5551
+ top: 0;
5552
+ right: 0;
5553
+ left: 0;
5554
+ box-sizing: border-box;
5555
+ transition: transform 0.3s ease-in-out;
5556
+ }
5557
+
5558
+ .global-search-module-Sx8Lx .global-search-module--orCF .global-search-module-vXnL6 {
5559
+ position: relative;
5560
+ z-index: calc(var(--search-layer) + 1);
5561
+ }
5562
+
5563
+ .global-search-module-Sx8Lx .global-search-module--orCF.global-search-module-MYwlp {
5564
+ transform: translateY(0);
5565
+ }
5566
+
5567
+ .global-search-module-Sx8Lx .global-search-module--orCF.global-search-module-Jmt3c {
5568
+ transform: translateY(0);
5569
+ }
5570
+
5571
+ .global-search-module-Sx8Lx .global-search-module--orCF.global-search-module-gQQfY {
5572
+ transform: translateY(-100%);
5573
+ }
5574
+
5575
+ .global-search-module-Sx8Lx .global-search-module--orCF.global-search-module-AABcw {
5576
+ opacity: 0;
5577
+ pointer-events: none;
5578
+ transform: translateY(-100%);
5579
+ }
5580
+
5469
5581
  .hamburger-button-module-xER52 {
5470
5582
  --width: 24px;
5471
5583
  --padding-inline: 2px;
@@ -5646,6 +5758,15 @@ button.swiper-pagination-bullet {
5646
5758
  fill: var(--color-brand-red);
5647
5759
  }
5648
5760
 
5761
+ .center-module-Cr7hx {
5762
+ display: grid;
5763
+ width: 100%;
5764
+ height: 100%;
5765
+ min-height: inherit;
5766
+ align-items: center;
5767
+ place-content: center center;
5768
+ }
5769
+
5649
5770
  .feature-list-module-cxc8U {
5650
5771
  display: grid;
5651
5772
  grid-template-columns: auto minmax(50%, 1fr);
@@ -5752,7 +5873,7 @@ button.swiper-pagination-bullet {
5752
5873
 
5753
5874
  /* scroll area */
5754
5875
 
5755
- .menu-list-module-TloB9 .menu-list-module-x3D-V {
5876
+ .menu-list-module-TloB9.menu-list-module-AiDgG .menu-list-module-x3D-V {
5756
5877
  grid-area: scroll-area;
5757
5878
  overflow-y: auto;
5758
5879
  scrollbar-width: thin;
@@ -5804,7 +5925,6 @@ button.swiper-pagination-bullet {
5804
5925
  align-items: center;
5805
5926
  padding: var(--space-8) var(--ml-item-outer-spacing, 0);
5806
5927
  margin: 0 0 -2px;
5807
- background: var(--color-white);
5808
5928
  color: var(--color-brand-dark-gray);
5809
5929
  font-size: var(--text-heading-xxxs-size);
5810
5930
  font-style: italic;
@@ -5845,6 +5965,10 @@ button.swiper-pagination-bullet {
5845
5965
  box-shadow: inset var(--shadow-focus-outline);
5846
5966
  }
5847
5967
 
5968
+ .menu-list-module-S08LI:has(:focus-visible) [href] {
5969
+ box-shadow: none;
5970
+ }
5971
+
5848
5972
  /* menu list item */
5849
5973
 
5850
5974
  .menu-list-module-4QhF4 {
@@ -5983,10 +6107,14 @@ button.swiper-pagination-bullet {
5983
6107
  z-index: 2;
5984
6108
  }
5985
6109
 
5986
- .menu-list-module-4QhF4:has(:focus-visible) .menu-list-module-xFYyo::before {
5987
- box-shadow: inset var(--shadow-focus-outline);
6110
+ .menu-list-module-4QhF4:has(:focus-visible) .menu-list-module-xFYyo {
6111
+ box-shadow: none;
5988
6112
  }
5989
6113
 
6114
+ .menu-list-module-4QhF4:has(:focus-visible) .menu-list-module-xFYyo::before {
6115
+ box-shadow: inset var(--shadow-focus-outline);
6116
+ }
6117
+
5990
6118
  /* selected state */
5991
6119
 
5992
6120
  .menu-list-module-4QhF4.menu-list-module-hiMca {
@@ -6294,6 +6422,90 @@ button.swiper-pagination-bullet {
6294
6422
  gap: 1rem;
6295
6423
  }
6296
6424
 
6425
+ .panel-navigation-module-FnSua {
6426
+ block-size: inherit;
6427
+ }
6428
+
6429
+ .panel-navigation-module-torfG {
6430
+ position: relative;
6431
+ display: grid;
6432
+ block-size: inherit;
6433
+ grid-template-columns: repeat(4, 1fr);
6434
+ }
6435
+
6436
+ .panel-navigation-module-torfG.panel-navigation-module-7K80h {
6437
+ overflow: hidden;
6438
+ grid-template-columns: 1fr;
6439
+ }
6440
+
6441
+ .panel-navigation-module-j3ZBu {
6442
+ --transition-duration: 250ms;
6443
+
6444
+ z-index: 2;
6445
+ display: grid;
6446
+ background-color: var(--color-white);
6447
+ block-size: inherit;
6448
+ border-inline: 1px solid var(--color-brand-light-gray);
6449
+ margin-inline-start: -1px;
6450
+ }
6451
+
6452
+ /* only applies to the first panel, when more content than one menu is present, like in the mobile navigation */
6453
+
6454
+ .panel-navigation-module-j3ZBu.panel-navigation-module-1yGRP {
6455
+ display: flex;
6456
+ overflow: hidden auto;
6457
+ flex-direction: column;
6458
+ gap: var(--space-24);
6459
+ scrollbar-width: thin;
6460
+ }
6461
+
6462
+ .panel-navigation-module-j3ZBu.panel-navigation-module-1yGRP > * {
6463
+ flex-shrink: 0;
6464
+ }
6465
+
6466
+ .panel-navigation-module-j3ZBu:last-child {
6467
+ z-index: 1;
6468
+ }
6469
+
6470
+ .panel-navigation-module-j3ZBu.exit-active,
6471
+ .panel-navigation-module-j3ZBu.enter-active {
6472
+ transition: translate var(--transition-duration) ease-in-out;
6473
+ }
6474
+
6475
+ .panel-navigation-module-j3ZBu.exit-active,
6476
+ .panel-navigation-module-j3ZBu.enter {
6477
+ translate: -100% 0;
6478
+ }
6479
+
6480
+ .panel-navigation-module-j3ZBu.enter-active {
6481
+ translate: 0 0;
6482
+ }
6483
+
6484
+ .panel-navigation-module-j3ZBu.panel-navigation-module-7K80h {
6485
+ position: absolute;
6486
+ border: 0;
6487
+ margin: 0;
6488
+ inset: 0;
6489
+ }
6490
+
6491
+ .panel-navigation-module-j3ZBu.panel-navigation-module-7K80h.exit-active,
6492
+ .panel-navigation-module-j3ZBu.panel-navigation-module-7K80h.enter {
6493
+ translate: 100% 0;
6494
+ }
6495
+
6496
+ .panel-navigation-module-j3ZBu.panel-navigation-module-7K80h.enter-active {
6497
+ translate: 0 0;
6498
+ }
6499
+
6500
+ .panel-navigation-module-j3ZBu.panel-navigation-module-7K80h:has(+ .panel-navigation-module-j3ZBu.panel-navigation-module-7K80h) {
6501
+ transition: translate var(--transition-duration) ease-in-out;
6502
+ translate: -100% 0;
6503
+ }
6504
+
6505
+ .panel-navigation-module-j3ZBu.panel-navigation-module-7K80h:has(+ .panel-navigation-module-j3ZBu.panel-navigation-module-7K80h.exit-active) {
6506
+ translate: 0 0;
6507
+ }
6508
+
6297
6509
  .announcement-module-Xi0L5 {
6298
6510
  --text-color: var(--color-white);
6299
6511
  --background-color: var(--color-brand-red);
@@ -6684,7 +6896,7 @@ button.swiper-pagination-bullet {
6684
6896
 
6685
6897
  .checkout-page-layout-module-lULV3 .checkout-page-layout-module-wGAXb {
6686
6898
  position: fixed;
6687
- z-index: 5;
6899
+ z-index: var(--top-actions-sticky-layer);
6688
6900
  top: var(--header-height);
6689
6901
  right: 0;
6690
6902
  left: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-equipment/ui",
3
- "version": "163.0.0",
3
+ "version": "165.0.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -1,3 +0,0 @@
1
- var styles = {"background-overlay":"background-overlay-module-mGiNQ","open":"background-overlay-module-5Uxcl","close":"background-overlay-module-GRInQ"};
2
-
3
- export { styles as default };
@@ -1 +0,0 @@
1
- export {};