@sonic-equipment/ui 0.0.71 → 0.0.72

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 (59) hide show
  1. package/dist/index.d.ts +34 -113
  2. package/dist/index.js +419 -326
  3. package/dist/src/background-overlay/background-overlay.d.ts +7 -0
  4. package/dist/src/buttons/add-to-cart-button/add-to-cart-button.stories.d.ts +1 -1
  5. package/dist/src/buttons/button/button.stories.d.ts +1 -1
  6. package/dist/src/buttons/favorite/favorite-button.stories.d.ts +1 -1
  7. package/dist/src/buttons/icon-button/icon-button.stories.d.ts +1 -1
  8. package/dist/src/buttons/link/link.stories.d.ts +1 -1
  9. package/dist/src/cards/product-card/connected-product-cart.d.ts +1 -1
  10. package/dist/src/carousel/product-carousel/product-carousel.d.ts +2 -1
  11. package/dist/src/carousel/product-carousel/product-carousel.stories.d.ts +19 -0
  12. package/dist/src/collapsables/show-all/show-all.stories.d.ts +1 -1
  13. package/dist/src/filters/active-filters/active-filters.stories.d.ts +2 -2
  14. package/dist/src/filters/multi-select/multi-select.stories.d.ts +1 -1
  15. package/dist/src/filters/pagination/pagination.stories.d.ts +1 -1
  16. package/dist/src/forms/checkbox/checkbox.stories.d.ts +1 -1
  17. package/dist/src/forms/color-checkbox/color-checkbox.stories.d.ts +1 -1
  18. package/dist/src/forms/select/select.stories.d.ts +1 -1
  19. package/dist/src/index.d.ts +20 -22
  20. package/dist/src/pages/error-page/error-page.d.ts +4 -0
  21. package/dist/src/pages/layouts/product-details-page-layout.d.ts +9 -0
  22. package/dist/src/pages/loading-page/loading-page.d.ts +1 -0
  23. package/dist/src/promos/promo-cards/promo-cards.d.ts +8 -4
  24. package/dist/src/promos/promo-cards/promo-cards.stories.d.ts +1 -3
  25. package/dist/src/shared/api/bff/hooks/use-fetch-product-details-page-data.d.ts +7 -0
  26. package/dist/src/shared/api/bff/hooks/use-fetch-product-details-page-data.stories.d.ts +20 -0
  27. package/dist/src/shared/api/bff/hooks/use-fetch-product-listing-page-data.stories.d.ts +0 -1
  28. package/dist/src/shared/api/bff/model/bff.model.d.ts +99 -9
  29. package/dist/src/shared/api/storefront/hooks/authentication/use-session.d.ts +4 -0
  30. package/dist/src/shared/api/{shop → storefront}/hooks/authentication/use-sign-in.d.ts +1 -1
  31. package/dist/src/shared/api/{shop → storefront}/hooks/cart/cart.stories.d.ts +1 -1
  32. package/dist/src/shared/api/{shop → storefront}/hooks/cart/use-add-product-to-current-cart.d.ts +1 -1
  33. package/dist/src/shared/api/{shop → storefront}/hooks/wishlist/use-fetch-all-wishlists-items.d.ts +1 -1
  34. package/dist/src/shared/api/{shop → storefront}/hooks/wishlist/use-fetch-wishlists.d.ts +1 -1
  35. package/dist/src/shared/api/{shop → storefront}/services/authentication-service.d.ts +1 -1
  36. package/dist/src/shared/api/{shop → storefront}/services/cart-service.d.ts +1 -1
  37. package/dist/src/shared/api/{shop → storefront}/services/wishlist-service.d.ts +1 -1
  38. package/dist/src/shared/providers/cart-provider.d.ts +1 -1
  39. package/dist/src/shared/providers/favorite-provider.d.ts +1 -1
  40. package/dist/src/shared/routing/route-button.d.ts +1 -1
  41. package/dist/styles.css +284 -188
  42. package/package.json +2 -2
  43. package/dist/src/overlay-background/overlay-background.d.ts +0 -7
  44. package/dist/src/shared/api/shop/hooks/authentication/use-session.d.ts +0 -2
  45. /package/dist/src/shared/api/{shop → storefront}/hooks/authentication/authentication.stories.d.ts +0 -0
  46. /package/dist/src/shared/api/{shop → storefront}/hooks/authentication/use-is-authenticated.d.ts +0 -0
  47. /package/dist/src/shared/api/{shop → storefront}/hooks/authentication/use-sign-out.d.ts +0 -0
  48. /package/dist/src/shared/api/{shop → storefront}/hooks/cart/use-delete-cart-line-by-id.d.ts +0 -0
  49. /package/dist/src/shared/api/{shop → storefront}/hooks/cart/use-fetch-current-cart-lines.d.ts +0 -0
  50. /package/dist/src/shared/api/{shop → storefront}/hooks/cart/use-update-cart-line-by-id.d.ts +0 -0
  51. /package/dist/src/shared/api/{shop → storefront}/hooks/translation/translations.stories.d.ts +0 -0
  52. /package/dist/src/shared/api/{shop → storefront}/hooks/translation/use-fetch-translations.d.ts +0 -0
  53. /package/dist/src/shared/api/{shop → storefront}/hooks/wishlist/use-add-wishlist-item-to-current-wishlist.d.ts +0 -0
  54. /package/dist/src/shared/api/{shop → storefront}/hooks/wishlist/use-add-wishlist-item-to-wishlist.d.ts +0 -0
  55. /package/dist/src/shared/api/{shop → storefront}/hooks/wishlist/use-create-wishlist.d.ts +0 -0
  56. /package/dist/src/shared/api/{shop → storefront}/hooks/wishlist/use-delete-wishlist-item-from-wishlist.d.ts +0 -0
  57. /package/dist/src/shared/api/{shop → storefront}/hooks/wishlist/wishlist.stories.d.ts +0 -0
  58. /package/dist/src/shared/api/{shop → storefront}/model/shop.model.d.ts +0 -0
  59. /package/dist/src/shared/api/{shop → storefront}/services/translation-service.d.ts +0 -0
package/dist/styles.css CHANGED
@@ -213,6 +213,7 @@
213
213
  --carousel-layer: 10;
214
214
  --header-layer: 15;
215
215
  --loading-layer: 50;
216
+ --background-overlay-layer: 90;
216
217
  --sidebar-layer: 100;
217
218
  --search-layer: 200;
218
219
  --modal-layer: 300;
@@ -1030,7 +1031,7 @@
1030
1031
  }
1031
1032
 
1032
1033
  /**
1033
- * Swiper 11.1.12
1034
+ * Swiper 11.1.14
1034
1035
  * Most modern mobile touch slider and framework with hardware accelerated transitions
1035
1036
  * https://swiperjs.com
1036
1037
  *
@@ -1038,7 +1039,7 @@
1038
1039
  *
1039
1040
  * Released under the MIT License
1040
1041
  *
1041
- * Released on: September 1, 2024
1042
+ * Released on: September 12, 2024
1042
1043
  */
1043
1044
 
1044
1045
  /* FONT_START */
@@ -1306,7 +1307,6 @@
1306
1307
 
1307
1308
  /* Slide styles end */
1308
1309
 
1309
- /* stylelint-disable no-descending-specificity */
1310
1310
  .carousel-module-ealh- {
1311
1311
  position: relative;
1312
1312
  display: block;
@@ -1315,15 +1315,24 @@
1315
1315
  -moz-user-select: none;
1316
1316
  user-select: none;
1317
1317
  }
1318
- .carousel-module-ealh-,
1318
+
1319
+ .carousel-module-ealh-,
1319
1320
  .carousel-module-ealh- * {
1320
1321
  box-sizing: border-box;
1321
1322
  }
1322
- .carousel-module-ealh- .carousel-module-IftbN {
1323
+
1324
+ .carousel-module-ealh- .carousel-module-IftbN {
1323
1325
  position: relative;
1326
+ display: block;
1324
1327
  overflow: visible;
1328
+ opacity: 0;
1325
1329
  }
1326
- .carousel-module-ealh- .carousel-module-IftbN.carousel-module-tPg7k::before,
1330
+
1331
+ .carousel-module-ealh- .carousel-module-IftbN.carousel-module-RCpfc {
1332
+ opacity: 1;
1333
+ }
1334
+
1335
+ .carousel-module-ealh- .carousel-module-IftbN.carousel-module-tPg7k::before,
1327
1336
  .carousel-module-ealh- .carousel-module-IftbN.carousel-module-tPg7k::after {
1328
1337
  position: absolute;
1329
1338
  z-index: calc(var(--carousel-layer) - 1);
@@ -1335,39 +1344,56 @@
1335
1344
  opacity: 1;
1336
1345
  transition: opacity 0.2s ease;
1337
1346
  }
1338
- .carousel-module-ealh- .carousel-module-IftbN.carousel-module-tPg7k::before {
1347
+
1348
+ .carousel-module-ealh- .carousel-module-IftbN.carousel-module-tPg7k::before {
1339
1349
  left: calc(-1 * ((100vw - 100%) / 2));
1340
1350
  }
1341
- .carousel-module-ealh- .carousel-module-IftbN.carousel-module-tPg7k::after {
1351
+
1352
+ .carousel-module-ealh- .carousel-module-IftbN.carousel-module-tPg7k::after {
1342
1353
  right: calc(-1 * ((100vw - 100%) / 2));
1343
1354
  }
1344
- .carousel-module-ealh- .carousel-module-bUMlb {
1345
- display: block;
1346
- width: auto;
1347
- text-align: left;
1355
+
1356
+ .carousel-module-ealh- .carousel-module-bUMlb {
1357
+ width: -moz-fit-content;
1358
+ width: fit-content;
1348
1359
  }
1349
- .carousel-module-ealh- .carousel-module-kcqEE.carousel-module-uCrOA {
1360
+
1361
+ .carousel-module-ealh- .carousel-module-kcqEE.carousel-module-uCrOA {
1350
1362
  display: none;
1351
1363
  }
1352
- .carousel-module-ealh-:has(.carousel-module-T7bTr .carousel-module-kcqEE:hover) .carousel-module-IftbN::after, .carousel-module-ealh-:has(.carousel-module-34OWD) .carousel-module-IftbN::after {
1364
+
1365
+ /* stylelint-disable-next-line no-descending-specificity */
1366
+
1367
+ /* stylelint-disable-next-line no-descending-specificity */
1368
+
1369
+ .carousel-module-ealh-:has(.carousel-module-T7bTr .carousel-module-kcqEE:hover) .carousel-module-IftbN::after, .carousel-module-ealh-:has(.carousel-module-34OWD) .carousel-module-IftbN::after {
1353
1370
  opacity: 0;
1354
1371
  }
1355
- .carousel-module-ealh-:has(.carousel-module-984Rr .carousel-module-kcqEE:hover) .carousel-module-IftbN::before, .carousel-module-ealh-:has(.carousel-module-34OWD) .carousel-module-IftbN::before {
1372
+
1373
+ /* stylelint-disable-next-line no-descending-specificity */
1374
+
1375
+ /* stylelint-disable-next-line no-descending-specificity */
1376
+
1377
+ .carousel-module-ealh-:has(.carousel-module-984Rr .carousel-module-kcqEE:hover) .carousel-module-IftbN::before, .carousel-module-ealh-:has(.carousel-module-34OWD) .carousel-module-IftbN::before {
1356
1378
  opacity: 0;
1357
1379
  }
1358
- .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z {
1380
+
1381
+ .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z {
1359
1382
  position: absolute;
1360
1383
  z-index: var(--carousel-layer);
1361
1384
  }
1362
- .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z.carousel-module-984Rr {
1385
+
1386
+ .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z.carousel-module-984Rr {
1363
1387
  left: 0;
1364
1388
  transform: translate(-50%, 0);
1365
1389
  }
1366
- .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z.carousel-module-T7bTr {
1390
+
1391
+ .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z.carousel-module-T7bTr {
1367
1392
  right: 0;
1368
1393
  transform: translate(50%, 0);
1369
1394
  }
1370
- .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z .carousel-module-kcqEE {
1395
+
1396
+ .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z .carousel-module-kcqEE {
1371
1397
  width: 44px;
1372
1398
  height: 44px;
1373
1399
  border: 1px solid currentcolor;
@@ -1378,20 +1404,25 @@
1378
1404
  outline: none;
1379
1405
  transition: background-color 0.2s ease;
1380
1406
  }
1381
- .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z .carousel-module-kcqEE[data-hovered] {
1407
+
1408
+ .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z .carousel-module-kcqEE[data-hovered] {
1382
1409
  background-color: var(--color-brand-light-gray);
1383
1410
  }
1384
- .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z .carousel-module-kcqEE[data-disabled] {
1411
+
1412
+ .carousel-module-ealh- .carousel-module-k7Z4S .carousel-module-Hi-0z .carousel-module-kcqEE[data-disabled] {
1385
1413
  color: #bcbcbc66;
1386
1414
  cursor: default;
1387
1415
  }
1388
- .carousel-module-ealh- .carousel-module-k7Z4S.carousel-module-nL-O8 .carousel-module-Hi-0z {
1416
+
1417
+ .carousel-module-ealh- .carousel-module-k7Z4S.carousel-module-nL-O8 .carousel-module-Hi-0z {
1389
1418
  top: var(--space-24);
1390
1419
  }
1391
- .carousel-module-ealh- .carousel-module-k7Z4S.carousel-module-5SGYn .carousel-module-Hi-0z {
1420
+
1421
+ .carousel-module-ealh- .carousel-module-k7Z4S.carousel-module-5SGYn .carousel-module-Hi-0z {
1392
1422
  top: 50%;
1393
1423
  }
1394
- @media (width < 1024px) {
1424
+
1425
+ @media (width < 1024px) {
1395
1426
  .carousel-module-ealh-:has(.carousel-module-tPg7k) {
1396
1427
  width: calc(100% + 20px);
1397
1428
  margin-left: -10px;
@@ -1402,6 +1433,20 @@
1402
1433
  }
1403
1434
  }
1404
1435
 
1436
+ .category-carousel-module-muLq-:not(:last-child) {
1437
+ margin-right: var(--space-8);
1438
+ }
1439
+
1440
+ @media (width >= 1024px) { .category-carousel-module-muLq-:not(:last-child) {
1441
+ margin-right: var(--space-12)
1442
+ }
1443
+ }
1444
+
1445
+ @media (width >= 1440px) { .category-carousel-module-muLq-:not(:last-child) {
1446
+ margin-right: var(--space-16)
1447
+ }
1448
+ }
1449
+
1405
1450
  .accordion-module-9WvAH {
1406
1451
  --color: var(--color-black);
1407
1452
  --button-font-size: var(--font-size-16);
@@ -2051,7 +2096,7 @@
2051
2096
  }
2052
2097
 
2053
2098
  .page-container-module-PYmbC {
2054
- overflow: hidden;
2099
+ overflow: clip;
2055
2100
  }
2056
2101
 
2057
2102
  .page-container-module-PYmbC .page-container-module-uD8GF {
@@ -2146,6 +2191,198 @@
2146
2191
  margin-bottom: var(--space-44);
2147
2192
  }
2148
2193
 
2194
+ .modal-module-rVFJc {
2195
+ position: fixed;
2196
+ z-index: calc(var(--modal-layer) - 1);
2197
+ top: 0;
2198
+ left: 0;
2199
+ display: flex;
2200
+ width: 100vw;
2201
+ height: var(--visual-viewport-height);
2202
+ align-items: center;
2203
+ justify-content: center;
2204
+ -webkit-backdrop-filter: blur(4px);
2205
+ backdrop-filter: blur(4px);
2206
+ background-color: rgb(0 0 0 / 52%);
2207
+ }
2208
+
2209
+ .modal-module-rVFJc[data-entering] {
2210
+ animation: modal-module-63Uyl 200ms;
2211
+ }
2212
+
2213
+ .modal-module-rVFJc[data-exiting] {
2214
+ animation: modal-module-63Uyl 150ms reverse ease-in;
2215
+ }
2216
+
2217
+ .modal-module-6vlFt {
2218
+ position: relative;
2219
+ z-index: calc(var(--modal-layer) - 1);
2220
+ min-width: 300px;
2221
+ max-width: 90%;
2222
+ border: 1px solid var(--gray-400);
2223
+ border-radius: 6px;
2224
+ background: var(--color-white);
2225
+ box-shadow: 0 8px 20px rgba(0 0 0 / 10%);
2226
+ color: var(--text-color);
2227
+ outline: none;
2228
+ }
2229
+
2230
+ .modal-module-6vlFt section:focus-visible,
2231
+ .modal-module-6vlFt section:focus {
2232
+ outline: none;
2233
+ }
2234
+
2235
+ .modal-module-6vlFt[data-entering] {
2236
+ animation: modal-module-aPJ7X 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
2237
+ }
2238
+
2239
+ @keyframes modal-module-63Uyl {
2240
+ from {
2241
+ opacity: 0;
2242
+ }
2243
+
2244
+ to {
2245
+ opacity: 1;
2246
+ }
2247
+ }
2248
+
2249
+ @keyframes modal-module-aPJ7X {
2250
+ from {
2251
+ transform: scale(0.8);
2252
+ }
2253
+
2254
+ to {
2255
+ transform: scale(1);
2256
+ }
2257
+ }
2258
+
2259
+ .dialog-module-ZnsAe {
2260
+ display: flex;
2261
+ align-items: center;
2262
+ justify-content: space-between;
2263
+ border-bottom: 1px solid #e0e0e0;
2264
+ gap: 8px;
2265
+ }
2266
+
2267
+ .dialog-module-ZnsAe .dialog-module-SwpuZ {
2268
+ padding: 1rem;
2269
+ }
2270
+
2271
+ .dialog-module-ZnsAe .dialog-module-Y7Tqg {
2272
+ align-self: flex-start;
2273
+ }
2274
+
2275
+ .dialog-module-Koqia {
2276
+ padding: 1rem;
2277
+ }
2278
+
2279
+ .dialog-module-y7Axm {
2280
+ display: flex;
2281
+ align-items: center;
2282
+ justify-content: end;
2283
+ padding: 1rem;
2284
+ border-top: 1px solid #e0e0e0;
2285
+ gap: 8px;
2286
+ }
2287
+
2288
+ .product-carousel-module-XVTB1 {
2289
+ --slide-width: 154px;
2290
+
2291
+ position: relative;
2292
+ }
2293
+
2294
+ .product-carousel-module-XVTB1 > * {
2295
+ width: var(--slide-width);
2296
+ }
2297
+
2298
+ .product-carousel-module-XVTB1:not(:last-child)::after {
2299
+ position: absolute;
2300
+ top: 0;
2301
+ left: calc(100% + var(--column-gap) / 2);
2302
+ width: 1px;
2303
+ height: 100%;
2304
+ background-image: linear-gradient(
2305
+ to bottom,
2306
+ var(--color-white),
2307
+ #e0dfdf 10%,
2308
+ #bdbcbc 51%,
2309
+ #e0dfdf 90%,
2310
+ var(--color-white)
2311
+ );
2312
+ content: '';
2313
+ }
2314
+
2315
+ @media (hover: hover) {
2316
+ .product-carousel-module-XVTB1:has(> :hover) {
2317
+ z-index: 1;
2318
+ }
2319
+ .product-carousel-module-XVTB1:has(> :hover)::after, .product-carousel-module-XVTB1:has(+ .product-carousel-module-XVTB1:hover)::after {
2320
+ display: none;
2321
+ }
2322
+ }
2323
+
2324
+ @media (width >= 768px) {
2325
+ .product-carousel-module-XVTB1 {
2326
+ --slide-width: 192px;
2327
+ }
2328
+ }
2329
+
2330
+ .product-details-page-layout-module-IQFIn {
2331
+ display: flex;
2332
+ flex-direction: column;
2333
+ padding-top: var(--space-24);
2334
+ margin-bottom: var(--space-64);
2335
+ gap: var(--space-64);
2336
+ }
2337
+
2338
+ .product-details-page-layout-module-IQFIn .product-details-page-layout-module--7oUp {
2339
+ display: grid;
2340
+ gap: var(--space-16);
2341
+ grid-template-columns: 1fr;
2342
+ }
2343
+
2344
+ .product-details-page-layout-module-IQFIn .product-details-page-layout-module--7oUp .product-details-page-layout-module-Efavu {
2345
+ height: 100%;
2346
+ align-self: flex-start;
2347
+ }
2348
+
2349
+ .product-details-page-layout-module-IQFIn .product-details-page-layout-module--7oUp .product-details-page-layout-module-Y2490 {
2350
+ position: sticky;
2351
+ top: 0;
2352
+ height: -moz-fit-content;
2353
+ height: fit-content;
2354
+ }
2355
+
2356
+ @media(width >= 1024px) {
2357
+ .product-details-page-layout-module-IQFIn .product-details-page-layout-module--7oUp {
2358
+ gap: var(--space-24);
2359
+ grid-template-columns: 396px 1fr;
2360
+ }
2361
+ }
2362
+
2363
+ @media(width >= 1440px) {
2364
+ .product-details-page-layout-module-IQFIn .product-details-page-layout-module--7oUp {
2365
+ gap: var(--space-32);
2366
+ grid-template-columns: 600px 1fr;
2367
+ }
2368
+ }
2369
+
2370
+ .blank-page-spacer-module-lXxle {
2371
+ --header-height: var(--header-height-mobile);
2372
+
2373
+ display: grid;
2374
+ width: 100%;
2375
+ height: calc(100dvh - var(--header-height));
2376
+ background-color: var(--color-white);
2377
+ place-items: center;
2378
+ }
2379
+
2380
+ @media (width >= 1024px) {
2381
+ .blank-page-spacer-module-hbxDP {
2382
+ --header-height: var(--header-height-desktop);
2383
+ }
2384
+ }
2385
+
2149
2386
  .filter-section-module-q1Ob8 {
2150
2387
  --border-bottom: 1px solid var(--color-brand-medium-gray);
2151
2388
 
@@ -2410,22 +2647,6 @@
2410
2647
  }
2411
2648
  }
2412
2649
 
2413
- .blank-page-spacer-module-lXxle {
2414
- --header-height: var(--header-height-mobile);
2415
-
2416
- display: grid;
2417
- width: 100%;
2418
- height: calc(100dvh - var(--header-height));
2419
- background-color: var(--color-white);
2420
- place-items: center;
2421
- }
2422
-
2423
- @media (width >= 1024px) {
2424
- .blank-page-spacer-module-hbxDP {
2425
- --header-height: var(--header-height-desktop);
2426
- }
2427
- }
2428
-
2429
2650
  & .promo-card-module-e2oii {
2430
2651
  display: block;
2431
2652
  height: 122px;
@@ -2585,100 +2806,6 @@
2585
2806
  margin-top: var(--space-32);
2586
2807
  }
2587
2808
 
2588
- .modal-module-rVFJc {
2589
- position: fixed;
2590
- z-index: calc(var(--modal-layer) - 1);
2591
- top: 0;
2592
- left: 0;
2593
- display: flex;
2594
- width: 100vw;
2595
- height: var(--visual-viewport-height);
2596
- align-items: center;
2597
- justify-content: center;
2598
- -webkit-backdrop-filter: blur(4px);
2599
- backdrop-filter: blur(4px);
2600
- background-color: rgb(0 0 0 / 52%);
2601
- }
2602
-
2603
- .modal-module-rVFJc[data-entering] {
2604
- animation: modal-module-63Uyl 200ms;
2605
- }
2606
-
2607
- .modal-module-rVFJc[data-exiting] {
2608
- animation: modal-module-63Uyl 150ms reverse ease-in;
2609
- }
2610
-
2611
- .modal-module-6vlFt {
2612
- position: relative;
2613
- z-index: calc(var(--modal-layer) - 1);
2614
- min-width: 300px;
2615
- max-width: 90%;
2616
- border: 1px solid var(--gray-400);
2617
- border-radius: 6px;
2618
- background: var(--color-white);
2619
- box-shadow: 0 8px 20px rgba(0 0 0 / 10%);
2620
- color: var(--text-color);
2621
- outline: none;
2622
- }
2623
-
2624
- .modal-module-6vlFt section:focus-visible,
2625
- .modal-module-6vlFt section:focus {
2626
- outline: none;
2627
- }
2628
-
2629
- .modal-module-6vlFt[data-entering] {
2630
- animation: modal-module-aPJ7X 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
2631
- }
2632
-
2633
- @keyframes modal-module-63Uyl {
2634
- from {
2635
- opacity: 0;
2636
- }
2637
-
2638
- to {
2639
- opacity: 1;
2640
- }
2641
- }
2642
-
2643
- @keyframes modal-module-aPJ7X {
2644
- from {
2645
- transform: scale(0.8);
2646
- }
2647
-
2648
- to {
2649
- transform: scale(1);
2650
- }
2651
- }
2652
-
2653
- .dialog-module-ZnsAe {
2654
- display: flex;
2655
- align-items: center;
2656
- justify-content: space-between;
2657
- border-bottom: 1px solid #e0e0e0;
2658
- gap: 8px;
2659
- }
2660
-
2661
- .dialog-module-ZnsAe .dialog-module-SwpuZ {
2662
- padding: 1rem;
2663
- }
2664
-
2665
- .dialog-module-ZnsAe .dialog-module-Y7Tqg {
2666
- align-self: flex-start;
2667
- }
2668
-
2669
- .dialog-module-Koqia {
2670
- padding: 1rem;
2671
- }
2672
-
2673
- .dialog-module-y7Axm {
2674
- display: flex;
2675
- align-items: center;
2676
- justify-content: end;
2677
- padding: 1rem;
2678
- border-top: 1px solid #e0e0e0;
2679
- gap: 8px;
2680
- }
2681
-
2682
2809
  .product-listing-page-module-dmIHF .product-listing-page-module-Oz76Z {
2683
2810
  margin-bottom: 44px;
2684
2811
  }
@@ -2694,7 +2821,7 @@
2694
2821
  .product-listing-page-module-dmIHF .product-listing-page-module-XxGrr .product-listing-page-module-aQzHr {
2695
2822
  width: 100%;
2696
2823
  }
2697
- .product-listing-page-module-dmIHF .product-listing-page-module-XxGrr .product-listing-page-module-F7bxy > *, .product-listing-page-module-dmIHF .product-listing-page-module-XxGrr .product-listing-page-module-aQzHr > * {
2824
+ .product-listing-page-module-dmIHF .product-listing-page-module-XxGrr .product-listing-page-module-F7bxy >*, .product-listing-page-module-dmIHF .product-listing-page-module-XxGrr .product-listing-page-module-aQzHr >* {
2698
2825
  display: flex;
2699
2826
  width: 100%;
2700
2827
  justify-content: center;
@@ -2736,7 +2863,7 @@
2736
2863
  width: initial;
2737
2864
  }
2738
2865
 
2739
- .product-listing-page-module-dmIHF .product-listing-page-module-XxGrr .product-listing-page-module-F7bxy > *, .product-listing-page-module-dmIHF .product-listing-page-module-XxGrr .product-listing-page-module-aQzHr > * {
2866
+ .product-listing-page-module-dmIHF .product-listing-page-module-XxGrr .product-listing-page-module-F7bxy >*, .product-listing-page-module-dmIHF .product-listing-page-module-XxGrr .product-listing-page-module-aQzHr >* {
2740
2867
  width: initial;
2741
2868
  }
2742
2869
 
@@ -2838,9 +2965,9 @@
2838
2965
  }
2839
2966
  }
2840
2967
 
2841
- .overlay-background-module-j7R7T {
2968
+ .background-overlay-module-mGiNQ {
2842
2969
  position: fixed;
2843
- z-index: calc(var(--sidebar-layer) - 1);
2970
+ z-index: --background-overlay-layer;
2844
2971
  -webkit-backdrop-filter: blur(4px);
2845
2972
  backdrop-filter: blur(4px);
2846
2973
  background-color: rgb(0 0 0 / 52%);
@@ -2850,12 +2977,12 @@
2850
2977
  transition: opacity 0.3s ease-in-out;
2851
2978
  }
2852
2979
 
2853
- .overlay-background-module-j7R7T.overlay-background-module-DZWsP {
2980
+ .background-overlay-module-mGiNQ.background-overlay-module-5Uxcl {
2854
2981
  opacity: 1;
2855
2982
  pointer-events: auto;
2856
2983
  }
2857
2984
 
2858
- .overlay-background-module-j7R7T.overlay-background-module-8pcWN {
2985
+ .background-overlay-module-mGiNQ.background-overlay-module-GRInQ {
2859
2986
  opacity: 0;
2860
2987
  }
2861
2988
 
@@ -2867,7 +2994,7 @@
2867
2994
  --transition-duration: 0.3s;
2868
2995
  }
2869
2996
 
2870
- .global-search-module-mmXv1 {
2997
+ .global-search-module-T0bEf {
2871
2998
  z-index: calc(var(--header-layer) - 1);
2872
2999
  }
2873
3000
 
@@ -2946,15 +3073,16 @@
2946
3073
  .search-input-module-xCCzd .search-input-module-okP8k .search-input-module-lYseZ {
2947
3074
  position: absolute;
2948
3075
  top: 50%;
2949
- right: var(--space-32);
3076
+ right: var(--space-16);
2950
3077
  transform: translateY(-50%);
2951
3078
  }
2952
3079
 
2953
3080
  .search-input-module-xCCzd .search-input-module-okP8k .search-input-module-bELFK {
2954
3081
  display: inline-block;
2955
3082
  width: 100%;
2956
- padding: var(--space-24) var(--space-64);
3083
+ padding: var(--space-24) var(--space-48);
2957
3084
  border: none;
3085
+ border-radius: 0;
2958
3086
  background-blend-mode: darken;
2959
3087
  background-color: var(--color-gray-75);
2960
3088
  color: currentcolor;
@@ -2980,11 +3108,21 @@
2980
3108
  color: var(--color-brand-dark-gray);
2981
3109
  }
2982
3110
 
2983
- @media (width >= 768px) {
3111
+ @media (width >= 768px) {
2984
3112
  .search-input-module-xCCzd .search-input-module-okP8k .search-input-module-vKCm4 {
2985
3113
  left: var(--space-24);
2986
3114
  }
2987
- }
3115
+ }
3116
+
3117
+ @media (width >= 1024px) {
3118
+ .search-input-module-xCCzd .search-input-module-okP8k .search-input-module-lYseZ {
3119
+ right: var(--space-32);
3120
+ }
3121
+
3122
+ .search-input-module-xCCzd .search-input-module-okP8k .search-input-module-bELFK {
3123
+ padding: var(--space-24) var(--space-64);
3124
+ }
3125
+ }
2988
3126
 
2989
3127
  .categories-grid-module-C751R {
2990
3128
  --amount-of-columns: 2;
@@ -3252,48 +3390,6 @@
3252
3390
  }
3253
3391
  }
3254
3392
 
3255
- .product-carousel-module-XVTB1 {
3256
- --slide-width: 154px;
3257
-
3258
- position: relative;
3259
- }
3260
-
3261
- .product-carousel-module-XVTB1 > * {
3262
- width: var(--slide-width);
3263
- }
3264
-
3265
- .product-carousel-module-XVTB1:not(:last-child)::after {
3266
- position: absolute;
3267
- top: 0;
3268
- left: calc(100% + var(--column-gap) / 2);
3269
- width: 1px;
3270
- height: 100%;
3271
- background-image: linear-gradient(
3272
- to bottom,
3273
- var(--color-white),
3274
- #e0dfdf 10%,
3275
- #bdbcbc 51%,
3276
- #e0dfdf 90%,
3277
- var(--color-white)
3278
- );
3279
- content: '';
3280
- }
3281
-
3282
- @media (hover: hover) {
3283
- .product-carousel-module-XVTB1:has(> :hover) {
3284
- z-index: 1;
3285
- }
3286
- .product-carousel-module-XVTB1:has(> :hover)::after, .product-carousel-module-XVTB1:has(+ .product-carousel-module-XVTB1:hover)::after {
3287
- display: none;
3288
- }
3289
- }
3290
-
3291
- @media (width >= 768px) {
3292
- .product-carousel-module-XVTB1 {
3293
- --slide-width: 192px;
3294
- }
3295
- }
3296
-
3297
3393
  .search-result-panel-module-KBrc9 {
3298
3394
  position: absolute;
3299
3395
  z-index: var(--sidebar-layer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-equipment/ui",
3
- "version": "0.0.71",
3
+ "version": "0.0.72",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -80,7 +80,7 @@
80
80
  "eslint-plugin-mdx": "^3.1.5",
81
81
  "eslint-plugin-no-relative-import-paths": "^1.5.5",
82
82
  "eslint-plugin-prettier": "^5.1.3",
83
- "eslint-plugin-react": "^7.34.4",
83
+ "eslint-plugin-react": "7.34.4",
84
84
  "eslint-plugin-react-hooks": "^4.6.2",
85
85
  "eslint-plugin-simple-import-sort": "^12.1.1",
86
86
  "eslint-plugin-sort-destructure-keys": "^2.0.0",
@@ -1,7 +0,0 @@
1
- interface OverlayBackgroundProps {
2
- className?: string;
3
- isOpen: boolean;
4
- onClick?: VoidFunction;
5
- }
6
- export declare function OverlayBackground({ className, isOpen, onClick, }: OverlayBackgroundProps): React.ReactPortal | null;
7
- export {};
@@ -1,2 +0,0 @@
1
- import { SessionModel as ShopSessionModel } from 'shared/api/shop/model/shop.model';
2
- export declare function useSession(): import("@tanstack/react-query").UseQueryResult<ShopSessionModel, Error>;