@sonic-equipment/ui 137.0.0 → 138.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 (66) hide show
  1. package/dist/algolia/algolia-categories-filters.js +1 -1
  2. package/dist/algolia/algolia-query-string-routing.js +4 -2
  3. package/dist/buttons/add-to-cart-button/add-to-cart-button.js +1 -1
  4. package/dist/buttons/link/link.d.ts +1 -2
  5. package/dist/buttons/link/link.js +4 -6
  6. package/dist/collapsables/accordion/accordion-item.js +1 -1
  7. package/dist/collapsables/accordion/accordion.module.css.js +1 -1
  8. package/dist/exports.d.ts +4 -1
  9. package/dist/footer/footer.js +1 -1
  10. package/dist/forms/textarea/textarea.js +1 -1
  11. package/dist/index.js +4 -1
  12. package/dist/intl/translation-id.d.ts +1 -1
  13. package/dist/lists/orderline-list/orderline-list.js +1 -1
  14. package/dist/media/image/image.js +3 -3
  15. package/dist/message/message.d.ts +6 -0
  16. package/dist/message/message.js +19 -0
  17. package/dist/message/message.module.css.js +3 -0
  18. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.d.ts +8 -0
  19. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.js +12 -0
  20. package/dist/pages/account/layouts/sign-in-page-layout/sign-in-page-layout.module.css.js +3 -0
  21. package/dist/pages/account/sign-in-page/sign-in-page.d.ts +3 -0
  22. package/dist/pages/account/sign-in-page/sign-in-page.js +56 -0
  23. package/dist/pages/checkout/cart-page/cart-page.js +6 -6
  24. package/dist/pages/checkout/order-confirmation-page/order-confirmation-page-content.js +4 -4
  25. package/dist/pages/checkout/order-confirmation-page/order-confirmation-page.js +3 -3
  26. package/dist/pages/checkout/payment-page/components/adyen-payment.d.ts +2 -1
  27. package/dist/pages/checkout/payment-page/components/adyen-payment.js +2 -2
  28. package/dist/pages/checkout/payment-page/components/payment.d.ts +7 -3
  29. package/dist/pages/checkout/payment-page/components/payment.js +42 -41
  30. package/dist/pages/checkout/payment-page/payment-page-content.d.ts +3 -3
  31. package/dist/pages/checkout/payment-page/payment-page-content.js +7 -7
  32. package/dist/pages/checkout/payment-page/payment-page.js +7 -7
  33. package/dist/pages/checkout/shipping-page/components/readonly-address.js +3 -3
  34. package/dist/pages/checkout/shipping-page/shipping-page-content.js +4 -4
  35. package/dist/pages/checkout/shipping-page/shipping-page.js +5 -5
  36. package/dist/pages/components/page/page.d.ts +4 -2
  37. package/dist/pages/components/page/page.js +4 -6
  38. package/dist/pages/components/page-container/page-container.d.ts +5 -1
  39. package/dist/pages/components/page-container/page-container.js +3 -3
  40. package/dist/pages/components/page-container/page-container.module.css.js +1 -1
  41. package/dist/pages/error-page/error-page.js +4 -3
  42. package/dist/pages/{checkout/constants.d.ts → paths.d.ts} +4 -1
  43. package/dist/pages/{checkout/constants.js → paths.js} +5 -2
  44. package/dist/pages/product/product-details-page/product-details.js +1 -1
  45. package/dist/pages/product/product-listing-page/no-results/no-results.js +1 -1
  46. package/dist/pages/product/product-listing-page/product-listing.js +1 -1
  47. package/dist/pages/product/search-result-page/search-results-page.js +3 -1
  48. package/dist/shared/api/storefront/hooks/authentication/use-create-guest-account.d.ts +1 -3
  49. package/dist/shared/api/storefront/hooks/authentication/use-create-guest-account.js +26 -11
  50. package/dist/shared/api/storefront/hooks/authentication/use-fetch-session.js +1 -0
  51. package/dist/shared/api/storefront/hooks/authentication/use-sign-in.d.ts +1 -0
  52. package/dist/shared/api/storefront/hooks/authentication/use-sign-in.js +4 -4
  53. package/dist/shared/api/storefront/services/authentication-service.d.ts +6 -7
  54. package/dist/shared/api/storefront/services/authentication-service.js +5 -3
  55. package/dist/shared/api/storefront/services/translation-service.js +2 -1
  56. package/dist/shared/model/currency.d.ts +1 -28
  57. package/dist/shared/model/image.d.ts +3 -3
  58. package/dist/shared/routing/with-routing.js +1 -1
  59. package/dist/shared/utils/local-storage.d.ts +1 -1
  60. package/dist/shared/utils/local-storage.js +4 -5
  61. package/dist/shared/utils/price.d.ts +3 -37
  62. package/dist/sign-in-form/sign-in-form.d.ts +12 -6
  63. package/dist/sign-in-form/sign-in-form.js +9 -6
  64. package/dist/styles.css +399 -158
  65. package/package.json +1 -1
  66. package/dist/pages/components/page/page.module.css.js +0 -3
package/dist/styles.css CHANGED
@@ -249,6 +249,15 @@
249
249
  --announcement-bar-height: 52px;
250
250
  --header-height: 0px;
251
251
  }
252
+ :root {
253
+ /* The brand hook, an SVG shape to be used as a mask */
254
+ --mask-brand-hook-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 191 403'%3E%3Cpath d='M0,0 L191,0 L191,403 L117.935295,403 L182.535295,190.7 C192.035295,159.5 180.435295,125.8 153.835295,107.2 L00,0 Z' /%3E%3C/svg%3E");
255
+
256
+ /* Full brand hook mask definition, ready to be used as a value on the mask property */
257
+ --mask-brand-hook: var(--mask-brand-hook-file) calc(100% + 1px) 50% / auto
258
+ 100% no-repeat exclude,
259
+ linear-gradient(0deg, #000, #000);
260
+ }
252
261
 
253
262
  .address-module-vt62a {
254
263
  font: inherit;
@@ -271,6 +280,13 @@
271
280
  gap: var(--space-4);
272
281
  -webkit-tap-highlight-color: transparent;
273
282
  }
283
+ .link-module-xLqBn:where(:not([data-disabled]):focus),
284
+ .link-module-xLqBn:where(:not([data-disabled]):hover) {
285
+ color: var(--color-brand-dark-red);
286
+ }
287
+ .link-module-xLqBn:where(:not([data-disabled]):focus)::after, .link-module-xLqBn:where(:not([data-disabled]):hover)::after {
288
+ background-color: var(--color-brand-dark-red);
289
+ }
274
290
  .link-module-xLqBn > svg {
275
291
  display: block;
276
292
  width: 12px;
@@ -279,16 +295,17 @@
279
295
  .link-module-xLqBn:where([data-disabled]) {
280
296
  cursor: default;
281
297
  opacity: 0.4;
298
+ pointer-events: none;
282
299
  }
283
300
  .link-module-xLqBn:where(.link-module-HZbAL) {
284
301
  cursor: pointer;
285
302
  }
286
- .link-module-xLqBn:where(.link-module-HZbAL):where(.link-module-UuCEp) {
287
- text-decoration: underline;
303
+ .link-module-xLqBn:where(.link-module-UuCEp) {
304
+ text-decoration: underline;
305
+ }
306
+ .link-module-xLqBn:where(.link-module-UuCEp)::after {
307
+ display: none;
288
308
  }
289
- .link-module-xLqBn:where(.link-module-HZbAL):where(.link-module-UuCEp)::after {
290
- display: none;
291
- }
292
309
  .link-module-xLqBn:where(.link-module-v31wH) {
293
310
  color: var(--color-brand-red);
294
311
  }
@@ -401,7 +418,8 @@
401
418
  .accordion-module-9WvAH .accordion-module-lf9d- .accordion-module-KZjMo {
402
419
  display: grid;
403
420
  grid-template-rows: 0fr;
404
- transition: grid-template-rows var(--transition-duration) linear,
421
+ transition:
422
+ grid-template-rows var(--transition-duration) linear,
405
423
  padding-block var(--transition-duration) linear;
406
424
  }
407
425
 
@@ -450,6 +468,11 @@
450
468
  *
451
469
  *********************************************************/
452
470
 
471
+ .accordion-module-9WvAH.accordion-module-SAbiG .accordion-module-ogvYX {
472
+ color: var(--color-brand-black);
473
+ opacity: 0.4;
474
+ }
475
+
453
476
  /* stylelint-disable-next-line no-descending-specificity */
454
477
 
455
478
  .accordion-module-9WvAH.accordion-module-SAbiG .accordion-module-lf9d- .accordion-module--Rwpb {
@@ -466,6 +489,11 @@
466
489
  height: 12px;
467
490
  }
468
491
 
492
+ .accordion-module-9WvAH.accordion-module-SAbiG .accordion-module-lf9d- .accordion-module--Rwpb[disabled] {
493
+ color: var(--color-brand-black);
494
+ cursor: default;
495
+ }
496
+
469
497
  .accordion-module-9WvAH.accordion-module-SAbiG .accordion-module-lf9d- .accordion-module-KZjMo {
470
498
  padding-inline: 1rem;
471
499
  }
@@ -4177,7 +4205,8 @@ button.swiper-pagination-bullet {
4177
4205
  .footer-module-YzJ68 .footer-module-TZq-4 .footer-module-0gJpF:not(:last-child)::after {
4178
4206
  position: absolute;
4179
4207
  right: -17px;
4180
- color: currentcolor;
4208
+ background: none;
4209
+ color: var(--color-white);
4181
4210
  content: '|';
4182
4211
  }
4183
4212
  }
@@ -5307,6 +5336,55 @@ button.swiper-pagination-bullet {
5307
5336
  object-fit: contain;
5308
5337
  }
5309
5338
 
5339
+ .message-module-N1e1t {
5340
+ --color: var(--color-brand-black);
5341
+
5342
+ display: grid;
5343
+ align-items: center;
5344
+ padding: var(--space-8);
5345
+ background: color-mix(in hsl, var(--color), transparent 88%);
5346
+ font-size: var(--font-size-base);
5347
+ grid-template-areas: 'icon body';
5348
+ grid-template-columns: minmax(0, min-content) 1fr;
5349
+ }
5350
+
5351
+ .message-module-w2hsL {
5352
+ color: var(--color);
5353
+ grid-area: icon;
5354
+ margin-block: -3px;
5355
+ margin-inline-end: var(--space-8);
5356
+ }
5357
+
5358
+ .message-module-w2hsL svg {
5359
+ display: block;
5360
+ }
5361
+
5362
+ .message-module-Gi4uR {
5363
+ grid-area: body;
5364
+ }
5365
+
5366
+ /* variants */
5367
+
5368
+ .message-module-pp9U4 {
5369
+ background: var(--color-brand-light-gray);
5370
+ }
5371
+
5372
+ .message-module-srkp1 {
5373
+ --color: var(--color-semantic-information);
5374
+ }
5375
+
5376
+ .message-module-oeSdr {
5377
+ --color: var(--color-semantic-stop);
5378
+ }
5379
+
5380
+ .message-module-Vp0pA {
5381
+ --color: var(--color-semantic-okay);
5382
+ }
5383
+
5384
+ .message-module-kvANQ {
5385
+ --color: var(--color-semantic-notify);
5386
+ }
5387
+
5310
5388
  .add-to-favorite-dialog-module-WJYMb {
5311
5389
  display: flex;
5312
5390
  flex-direction: column;
@@ -5469,11 +5547,316 @@ button.swiper-pagination-bullet {
5469
5547
  transition: margin-top 300ms linear;
5470
5548
  }
5471
5549
 
5472
- .checkout-page-layout-module-lULV3 .checkout-page-layout-module-cUEmU {
5550
+ .sign-in-page-layout-module-Z1oE2 {
5551
+ --layout-width: var(--page-container-max-layout-width, 100vw);
5552
+ --padding-inline: var(--page-container-padding-inline, 10px);
5553
+ --content-width-min: 270px;
5554
+ --gutter-width: minmax(22px, 1fr);
5555
+ --content-width: minmax(var(--content-width-min), 350px);
5556
+ --main-padding-block: var(--space-24);
5557
+ --side-width: auto; /* when shown at lg+, will adapt to 50%; above xl will grow from 4 of 8, until 7 of 12 */
5558
+ --side-height: 100%;
5559
+ --side-height-max: calc(100svb);
5560
+ --side-breakout: min(
5561
+ var(--breakout-minimum),
5562
+ calc((100vw - var(--layout-width)) * -0.5)
5563
+ );
5564
+ --breakout-minimum: calc(var(--padding-inline) * -1);
5565
+
5566
+ display: grid;
5567
+ align-items: center;
5568
+ grid-template-areas: '. main .';
5569
+ grid-template-columns:
5570
+ var(--gutter-width)
5571
+ var(--content-width)
5572
+ var(--gutter-width);
5573
+ }
5574
+
5575
+ @media (width >= 768px) {.sign-in-page-layout-module-Z1oE2 {
5576
+ --content-width: minmax(var(--content-width-min), 37.5%); /* 3 of 8 */
5577
+ --gutter-width: 6.25%; /* 0.5 of 8 */
5578
+ --main-padding-block: var(--space-48);
5579
+
5580
+ grid-template-areas: 'side . main .';
5581
+ grid-template-columns:
5582
+ var(--side-width)
5583
+ var(--gutter-width)
5584
+ var(--content-width)
5585
+ var(--gutter-width)
5586
+ }
5587
+ }
5588
+
5589
+ @media (width >= 1024px) {.sign-in-page-layout-module-Z1oE2 {
5590
+ --gutter-width: 8.33%; /* 1 of 12 */
5591
+ --content-width: minmax(350px, 25%) /* 350px to 3 of 12 */
5592
+ }
5593
+ }
5594
+
5595
+ .sign-in-page-layout-module-Z1oE2.sign-in-page-layout-module-D5yqX {
5596
+ min-block-size: 100%;
5597
+ }
5598
+
5599
+ .sign-in-page-layout-module-s6x7v {
5600
+ grid-area: main;
5601
+ padding-block: var(--main-padding-block);
5602
+ }
5603
+
5604
+ .sign-in-page-layout-module-W-FMF {
5605
+ position: sticky;
5606
+ display: none;
5607
+ overflow: hidden;
5608
+ align-self: stretch;
5609
+ block-size: var(--side-height);
5610
+ grid-area: side;
5611
+ inset-block-start: 0;
5612
+
5613
+ /* negative margin breaking out of the layout, stretching to the view port edge */
5614
+ margin-inline-start: var(--side-breakout);
5615
+ max-block-size: var(--side-height-max);
5616
+ }
5617
+
5618
+ @media (width >= 768px) {
5619
+
5620
+ .sign-in-page-layout-module-W-FMF {
5621
+ display: block
5622
+ }
5623
+ }
5624
+
5625
+ .sign-in-page-layout-module-W-FMF .sign-in-page-layout-module-cbE8y {
5626
+ position: absolute;
5627
+ background: var(--color-brand-light-gray);
5628
+ inset: 0 0 -1px;
5629
+
5630
+ /* mask, the brand 'hook' */
5631
+ -webkit-mask: var(--mask-brand-hook);
5632
+ mask: var(--mask-brand-hook);
5633
+ }
5634
+
5635
+ /* subtle drop shadow at the top (also masked) */
5636
+
5637
+ .sign-in-page-layout-module-W-FMF .sign-in-page-layout-module-cbE8y::after {
5638
+ position: absolute;
5639
+ background: linear-gradient(
5640
+ to bottom,
5641
+ hsl(0deg 0% 0% / 20%),
5642
+ hsl(0deg 0% 0% / 0%)
5643
+ );
5644
+ block-size: 40px;
5645
+ content: '';
5646
+ inset: 0 0 auto;
5647
+ }
5648
+
5649
+ .sign-in-page-layout-module-W-FMF .sign-in-page-layout-module-cbE8y img {
5650
+ -o-object-position: right;
5651
+ object-position: right;
5652
+ }
5653
+
5654
+ .sign-in-form-module-4DkkP {
5655
+ min-inline-size: 270px;
5656
+ }
5657
+
5658
+ /* generic utility styles that we could reuse */
5659
+
5660
+ .sign-in-form-module-bGXUd {
5661
+ --tooltip-size: 24px;
5662
+ --info-icon-offset: calc((var(--tooltip-size) + var(--space-4)) * -1);
5663
+
5664
+ display: grid;
5665
+ container-type: inline-size;
5666
+ gap: var(--space-16);
5667
+ }
5668
+
5669
+ .sign-in-form-module-bGXUd p {
5670
+ margin: 0 0 var(--space-4);
5671
+ }
5672
+
5673
+ .sign-in-form-module-TumIz {
5674
+ display: grid;
5675
+ }
5676
+
5677
+ .sign-in-form-module-TumIz .sign-in-form-module-bIzyz {
5678
+ justify-self: flex-start;
5679
+ }
5680
+
5681
+ .sign-in-form-module-EoTYu {
5682
+ display: grid;
5683
+ padding: 0;
5684
+ border: 0;
5685
+ margin: 0;
5686
+ gap: var(--space-16);
5687
+ }
5688
+
5689
+ .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- {
5690
+ grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
5691
+ }
5692
+
5693
+ /* above 1314, where - with a minimum width of 250px and 16px gap - 5 columns would appear, we restrict it to max 4 columns */
5694
+
5695
+ @container (min-inline-size: 1314px) {
5696
+
5697
+ .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- {
5698
+ --minimum-width: calc((100% - 3 * var(--space-16)) / 4);
5699
+
5700
+ grid-template-columns: repeat(
5701
+ auto-fit,
5702
+ minmax(var(--minimum-width), 1fr)
5703
+ )
5704
+ }
5705
+ }
5706
+
5707
+ /* info icon rules: when (visually) the last segment on a row with an icon, needs to have a negative margin */
5708
+
5709
+ .sign-in-form-module-EoTYu .sign-in-form-module-TumIz:has([data-info]) {
5710
+ margin-inline-end: var(--info-icon-offset);
5711
+ }
5712
+
5713
+ /* 2 * 250px + 16px = 516px; space for 2 columns */
5714
+
5715
+ @container (min-inline-size: 516px) {
5716
+ .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):not(:only-child) {
5717
+ margin-inline-end: 0;
5718
+ }
5719
+ }
5720
+
5721
+ @container (min-inline-size: 516px) and (max-inline-size: 781px) {
5722
+ .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(2n) {
5723
+ margin-inline-end: var(--info-icon-offset);
5724
+ }
5725
+ }
5726
+
5727
+ /* 3 * 250px + 2 * 16px = 782px; space for 3 columns */
5728
+
5729
+ @container (min-inline-size: 782px) and (max-inline-size: 1047px) {
5730
+ .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(3n),
5731
+ .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(2):last-child {
5732
+ margin-inline-end: var(--info-icon-offset);
5733
+ }
5734
+ }
5735
+
5736
+ /* 4 * 250px + 3 * 16px = 1048px; space for 4 columns */
5737
+
5738
+ @container (min-inline-size: 1048px) {
5739
+ .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(4n),
5740
+ .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(3):last-child,
5741
+ .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(2):last-child {
5742
+ margin-inline-end: var(--info-icon-offset);
5743
+ }
5744
+ }
5745
+
5746
+ .sign-in-form-module-aYBAy {
5747
+ display: grid;
5748
+ gap: var(--space-16);
5749
+ }
5750
+
5751
+ .page-container-module-eFYSe {
5752
+ --page-container-padding-inline: 10px;
5753
+ --page-container-padding-block: 10px;
5754
+ --page-container-max-layout-width: auto;
5755
+ --page-container-max-width: calc(
5756
+ var(--page-container-max-layout-width) + 2 *
5757
+ var(--page-container-padding-inline)
5758
+ );
5759
+ }
5760
+
5761
+ @media (width >= 768px) {.page-container-module-eFYSe {
5762
+ --page-container-padding-inline: 20px
5763
+ }
5764
+ }
5765
+
5766
+ .page-container-module-eFYSe {
5767
+
5768
+ display: grid;
5769
+ overflow: clip;
5770
+ font-family: var(--font-family-sonic);
5771
+ grid-template-areas:
5772
+ 'page-header'
5773
+ 'page-main'
5774
+ 'page-footer';
5775
+ grid-template-rows: minmax(0, min-content) 1fr minmax(0, min-content);
5776
+ }
5777
+
5778
+ /* main area, between page header and footer */
5779
+
5780
+ .page-container-module-eFYSe .page-container-module-JkoQY {
5781
+ display: grid;
5782
+ box-sizing: border-box;
5783
+ margin: 0 auto;
5784
+ grid-area: page-main;
5785
+ grid-template-areas:
5786
+ 'breadcrumbs'
5787
+ 'title'
5788
+ 'content';
5789
+ grid-template-rows: minmax(0, max-content) minmax(0, max-content) 1fr;
5790
+ inline-size: 100%;
5791
+ max-inline-size: var(--page-container-max-width);
5792
+ padding-inline: var(--page-container-padding-inline);
5793
+ }
5794
+
5795
+ .page-container-module-eFYSe:not(.page-container-module-iCrH5) .page-container-module-JkoQY {
5796
+ padding-block: var(--page-container-padding-block);
5797
+ }
5798
+
5799
+ /* default layout behavior, in width brackets */
5800
+
5801
+ @media (width >= 768px) {
5802
+
5803
+ .page-container-module-eFYSe:not(.page-container-module-glxAS) {
5804
+ --page-container-max-layout-width: 806px
5805
+ }
5806
+ }
5807
+
5808
+ @media (width >= 1440px) {
5809
+
5810
+ .page-container-module-eFYSe:not(.page-container-module-glxAS) {
5811
+ --page-container-max-layout-width: 1222px
5812
+ }
5813
+ }
5814
+
5815
+ /* when fluid with a maximum layout width */
5816
+
5817
+ .page-container-module-eFYSe.page-container-module-glxAS {
5818
+ --page-container-max-layout-width: 1440px;
5819
+ }
5820
+
5821
+ /* key segments inside page-main */
5822
+
5823
+ .page-container-module-eFYSe .page-container-module-WfQXa {
5824
+ grid-area: breadcrumbs;
5825
+ padding-block: var(--space-24);
5826
+ }
5827
+
5828
+ .page-container-module-eFYSe .page-container-module-GKN5s {
5829
+ grid-area: title;
5830
+ padding-block-end: var(--space-44);
5831
+ }
5832
+
5833
+ .page-container-module-eFYSe .page-container-module-r0SOZ {
5834
+ grid-area: content;
5835
+ padding-block-end: var(--space-64);
5836
+ }
5837
+
5838
+ @media (width >= 1440px) {
5839
+
5840
+ .page-container-module-eFYSe .page-container-module-r0SOZ {
5841
+ padding-block-end: var(--space-96)
5842
+ }
5843
+ }
5844
+
5845
+ .page-container-module-eFYSe.page-container-module-iCrH5 .page-container-module-r0SOZ {
5846
+ padding-block-end: 0;
5847
+ }
5848
+
5849
+ .checkout-page-layout-module-lULV3 {
5850
+ --layout-width: var(--page-container-max-width, 100svw);
5851
+ --padding-inline: var(--page-container-padding-inline, 10px);
5852
+ }
5853
+
5854
+ .checkout-page-layout-module-lULV3 .checkout-page-layout-module-cUEmU {
5473
5855
  display: grid;
5474
5856
  gap: var(--space-24);
5475
5857
  grid-template-columns: 1fr;
5476
5858
  }
5859
+
5477
5860
  .checkout-page-layout-module-lULV3 .checkout-page-layout-module-B3M80 {
5478
5861
  position: sticky;
5479
5862
  top: calc(var(--header-height) + var(--space-8));
@@ -5482,15 +5865,18 @@ button.swiper-pagination-bullet {
5482
5865
  border-radius: var(--border-radius-12);
5483
5866
  background-color: var(--color-white);
5484
5867
  }
5868
+
5485
5869
  .checkout-page-layout-module-lULV3 .checkout-page-layout-module-8UNBq {
5486
5870
  display: grid;
5487
5871
  gap: var(--space-8);
5488
5872
  }
5873
+
5489
5874
  .checkout-page-layout-module-lULV3 .checkout-page-layout-module-430Iq {
5490
5875
  max-width: var(--page-container-max-width);
5491
5876
  margin-top: var(--space-16);
5492
5877
  margin-bottom: var(--space-24);
5493
5878
  }
5879
+
5494
5880
  .checkout-page-layout-module-lULV3 .checkout-page-layout-module-wGAXb {
5495
5881
  position: fixed;
5496
5882
  z-index: 5;
@@ -5499,73 +5885,25 @@ button.swiper-pagination-bullet {
5499
5885
  left: 0;
5500
5886
  width: 100%;
5501
5887
  box-sizing: border-box;
5502
- padding: 16px var(--page-container-padding);
5888
+ padding: 16px var(--padding-inline);
5503
5889
  margin: auto;
5504
5890
  background-color: var(--color-white);
5505
5891
  }
5892
+
5506
5893
  @media (width >= 768px) {
5894
+
5507
5895
  .checkout-page-layout-module-lULV3 .checkout-page-layout-module-wGAXb {
5508
- max-width: calc(
5509
- var(--page-container-max-width) - (2 * var(--page-container-padding))
5510
- );
5896
+ max-width: calc(var(--layout-width) - (2 * var(--padding-inline)));
5511
5897
  padding: 16px 0
5512
5898
  }
5513
5899
  }
5900
+
5514
5901
  @media (width >= 1440px) {
5515
5902
  .checkout-page-layout-module-lULV3 .checkout-page-layout-module-cUEmU {
5516
5903
  grid-template-columns: 1fr 22.375rem;
5517
5904
  }
5518
5905
  }
5519
5906
 
5520
- .page-container-module-eFYSe {
5521
- overflow: clip;
5522
- }
5523
-
5524
- .page-container-module-eFYSe .page-container-module-ZhEJP {
5525
- --page-container-padding: 10px;
5526
-
5527
- position: relative;
5528
- box-sizing: border-box;
5529
- padding: var(--page-container-padding);
5530
- padding-bottom: var(--space-64);
5531
- }
5532
-
5533
- @media (width >= 768px) {
5534
-
5535
- .page-container-module-eFYSe .page-container-module-ZhEJP {
5536
- --page-container-max-width: calc(
5537
- 806px + (2 * var(--page-container-padding))
5538
- );
5539
-
5540
- max-width: var(--page-container-max-width);
5541
- margin: 0 auto
5542
- }
5543
- }
5544
-
5545
- @media (width >= 1440px) {
5546
-
5547
- .page-container-module-eFYSe .page-container-module-ZhEJP {
5548
- --page-container-max-width: calc(
5549
- 1222px + (2 * var(--page-container-padding))
5550
- );
5551
-
5552
- max-width: var(--page-container-max-width);
5553
- padding-bottom: var(--space-96)
5554
- }
5555
- }
5556
-
5557
- .page-module-a5vPb {
5558
- font-family: var(--font-family-sonic);
5559
- }
5560
-
5561
- .page-module-a5vPb .page-module-q0jaH {
5562
- margin-block: var(--space-24);
5563
- }
5564
-
5565
- .page-module-a5vPb .page-module-K7Gmw {
5566
- margin-bottom: var(--space-44);
5567
- }
5568
-
5569
5907
  .no-results-module-HGe-Y {
5570
5908
  margin-top: var(--space-24);
5571
5909
  text-align: center;
@@ -6191,103 +6529,6 @@ button.swiper-pagination-bullet {
6191
6529
  --transition-duration: 0.3s;
6192
6530
  }
6193
6531
 
6194
- .sign-in-form-module-4DkkP {
6195
- min-inline-size: 300px;
6196
- }
6197
-
6198
- /* generic utility styles that we could reuse */
6199
-
6200
- .sign-in-form-module-bGXUd {
6201
- --tooltip-size: 24px;
6202
- --info-icon-offset: calc((var(--tooltip-size) + var(--space-4)) * -1);
6203
-
6204
- display: grid;
6205
- container-type: inline-size;
6206
- gap: var(--space-16);
6207
- }
6208
-
6209
- .sign-in-form-module-bGXUd p {
6210
- margin: 0 0 var(--space-4);
6211
- }
6212
-
6213
- .sign-in-form-module-TumIz {
6214
- display: grid;
6215
- }
6216
-
6217
- .sign-in-form-module-TumIz .sign-in-form-module-bIzyz {
6218
- justify-self: flex-start;
6219
- }
6220
-
6221
- .sign-in-form-module-EoTYu {
6222
- display: grid;
6223
- padding: 0;
6224
- border: 0;
6225
- margin: 0;
6226
- gap: var(--space-16);
6227
- }
6228
-
6229
- .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- {
6230
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
6231
- }
6232
-
6233
- /* above 1314, where - with a minimum width of 250px and 16px gap - 5 columns would appear, we restrict it to max 4 columns */
6234
-
6235
- @container (min-inline-size: 1314px) {
6236
-
6237
- .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- {
6238
- --minimum-width: calc((100% - 3 * var(--space-16)) / 4);
6239
-
6240
- grid-template-columns: repeat(
6241
- auto-fit,
6242
- minmax(var(--minimum-width), 1fr)
6243
- )
6244
- }
6245
- }
6246
-
6247
- /* info icon rules: when (visually) the last segment on a row with an icon, needs to have a negative margin */
6248
-
6249
- .sign-in-form-module-EoTYu .sign-in-form-module-TumIz:has([data-info]) {
6250
- margin-inline-end: var(--info-icon-offset);
6251
- }
6252
-
6253
- /* 2 * 250px + 16px = 516px; space for 2 columns */
6254
-
6255
- @container (min-inline-size: 516px) {
6256
- .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):not(:only-child) {
6257
- margin-inline-end: 0;
6258
- }
6259
- }
6260
-
6261
- @container (min-inline-size: 516px) and (max-inline-size: 781px) {
6262
- .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(2n) {
6263
- margin-inline-end: var(--info-icon-offset);
6264
- }
6265
- }
6266
-
6267
- /* 3 * 250px + 2 * 16px = 782px; space for 3 columns */
6268
-
6269
- @container (min-inline-size: 782px) and (max-inline-size: 1047px) {
6270
- .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(3n),
6271
- .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(2):last-child {
6272
- margin-inline-end: var(--info-icon-offset);
6273
- }
6274
- }
6275
-
6276
- /* 4 * 250px + 3 * 16px = 1048px; space for 4 columns */
6277
-
6278
- @container (min-inline-size: 1048px) {
6279
- .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(4n),
6280
- .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(3):last-child,
6281
- .sign-in-form-module-EoTYu.sign-in-form-module-9eIx- .sign-in-form-module-TumIz:has([data-info]):nth-child(2):last-child {
6282
- margin-inline-end: var(--info-icon-offset);
6283
- }
6284
- }
6285
-
6286
- .sign-in-form-module-aYBAy {
6287
- display: grid;
6288
- gap: var(--space-16);
6289
- }
6290
-
6291
6532
  :root {
6292
6533
  --toastify-color-light: #fff;
6293
6534
  --toastify-color-dark: #121212;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonic-equipment/ui",
3
- "version": "137.0.0",
3
+ "version": "138.0.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -1,3 +0,0 @@
1
- var styles = {"page":"page-module-a5vPb","breadcrumb":"page-module-q0jaH","title":"page-module-K7Gmw"};
2
-
3
- export { styles as default };