tide-design-system 2.6.0 → 2.6.1

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 (45) hide show
  1. package/README.md +1 -0
  2. package/dist/components/TideBreadCrumbs.vue.js +1 -1
  3. package/dist/components/TideBreadCrumbs.vue.js.map +1 -1
  4. package/dist/components/TideButtonPagination.vue.js +1 -1
  5. package/dist/components/TideButtonPagination.vue2.js +1 -1
  6. package/dist/components/TideButtonPagination.vue2.js.map +1 -1
  7. package/dist/components/TideCarousel.vue.js +1 -1
  8. package/dist/components/TideCarousel.vue2.js +30 -12
  9. package/dist/components/TideCarousel.vue2.js.map +1 -1
  10. package/dist/components/TideColumns.vue.js +1 -1
  11. package/dist/components/TideColumns.vue2.js.map +1 -1
  12. package/dist/components/TideForm.vue.js +2 -1
  13. package/dist/components/TideForm.vue.js.map +1 -1
  14. package/dist/components/TideInputSupportingText.vue.js +1 -0
  15. package/dist/components/TideInputSupportingText.vue.js.map +1 -1
  16. package/dist/components/TideModal.vue.js +1 -1
  17. package/dist/components/TideModal.vue2.js +3 -4
  18. package/dist/components/TideModal.vue2.js.map +1 -1
  19. package/dist/components/TidePagination.vue.js +1 -1
  20. package/dist/components/TidePagination.vue.js.map +1 -1
  21. package/dist/components/TideRealmLogo.vue.js +1 -1
  22. package/dist/components/TideRealmLogo.vue2.js.map +1 -1
  23. package/dist/components/TideResponsiveRoot.vue.js +8 -0
  24. package/dist/components/TideResponsiveRoot.vue.js.map +1 -0
  25. package/dist/components/TideResponsiveRoot.vue2.js +21 -0
  26. package/dist/components/TideResponsiveRoot.vue2.js.map +1 -0
  27. package/dist/components/TideSeoLinks.vue.js +1 -1
  28. package/dist/components/TideSeoLinks.vue2.js.map +1 -1
  29. package/dist/components/TideSheet.vue.js +1 -1
  30. package/dist/components/TideSheet.vue2.js +4 -6
  31. package/dist/components/TideSheet.vue2.js.map +1 -1
  32. package/dist/components/TideTabs.vue.js +1 -1
  33. package/dist/components/TideTabs.vue2.js +1 -1
  34. package/dist/components/TideTabs.vue2.js.map +1 -1
  35. package/dist/components/TideToaster.vue.js +1 -1
  36. package/dist/components/TideToaster.vue2.js.map +1 -1
  37. package/dist/css/grid-layout.css +2 -2
  38. package/dist/css/reset.css +1 -0
  39. package/dist/css/utilities-responsive.css +4 -4
  40. package/dist/css/variables.css +3 -2
  41. package/dist/index.d.ts +42 -10
  42. package/dist/index.js +12 -10
  43. package/dist/index.js.map +1 -1
  44. package/dist/style.css +95 -83
  45. package/package.json +1 -1
package/dist/style.css CHANGED
@@ -54,23 +54,23 @@
54
54
  color: var(--tide-info-primary);
55
55
  }
56
56
 
57
- .tide-button-icon[data-v-2da25be7],
58
- .tide-link-as-button-icon[data-v-2da25be7] {
57
+ .tide-button-icon[data-v-6c9ffbf5],
58
+ .tide-link-as-button-icon[data-v-6c9ffbf5] {
59
59
  border: 1px solid var(--tide-white);
60
60
  background: var(--tide-white);
61
61
  color: var(--tide-secondary);
62
62
  }
63
- .tide-button-icon[data-v-2da25be7]:not(:disabled):hover,
64
- .tide-link-as-button-icon[data-v-2da25be7]:not(:disabled):hover {
63
+ .tide-button-icon[data-v-6c9ffbf5]:not(:disabled):hover,
64
+ .tide-link-as-button-icon[data-v-6c9ffbf5]:not(:disabled):hover {
65
65
  border: 1px solid var(--tide-surface-variant);
66
66
  background: var(--tide-surface-variant);
67
67
  }
68
- .tide-button-icon[data-v-2da25be7]:disabled,
69
- .tide-link-as-button-icon[data-v-2da25be7]:disabled {
68
+ .tide-button-icon[data-v-6c9ffbf5]:disabled,
69
+ .tide-link-as-button-icon[data-v-6c9ffbf5]:disabled {
70
70
  border: 1px solid var(--tide-border-high);
71
71
  }
72
- .tide-button-icon .label[data-v-2da25be7],
73
- .tide-link-as-button-icon .label[data-v-2da25be7] {
72
+ .tide-button-icon .label[data-v-6c9ffbf5],
73
+ .tide-link-as-button-icon .label[data-v-6c9ffbf5] {
74
74
  width: 1.5rem;
75
75
  height: 1.5rem;
76
76
  }
@@ -144,28 +144,36 @@ to {
144
144
  outline-offset: -2px;
145
145
  }
146
146
 
147
- .tide-carousel-button-overlay.hideaway[data-v-a9f0952b] {
147
+ .tide-image-img[data-v-bfc515e8] {
148
+ border-radius: inherit;
149
+ }
150
+
151
+ .tide-carousel-button-overlay.hideaway[data-v-f3aba0f9] {
148
152
  opacity: 0;
149
153
  }
150
- .tide-carousel:hover .tide-carousel-button-overlay.hideaway[data-v-a9f0952b] {
154
+ .tide-carousel:hover .tide-carousel-button-overlay.hideaway[data-v-f3aba0f9] {
151
155
  opacity: 1;
152
156
  }
153
- .tide-carousel-dot[data-v-a9f0952b] {
157
+ .tide-carousel-dot[data-v-f3aba0f9] {
154
158
  width: 8px;
155
159
  height: 8px;
156
160
  opacity: 0.75;
157
161
  transform: scale(0.5);
158
162
  transition: opacity var(--tide-animate), transform var(--tide-animate);
159
163
  }
160
- .tide-carousel-dot-neighbor[data-v-a9f0952b] {
164
+ .tide-carousel-dot-neighbor[data-v-f3aba0f9] {
161
165
  transform: scale(0.75);
162
166
  }
163
- .tide-carousel-dot-active[data-v-a9f0952b] {
167
+ .tide-carousel-dot-active[data-v-f3aba0f9] {
164
168
  transform: scale(1);
165
169
  opacity: 1;
166
170
  }
171
+ .tide-carousel-header-image[data-v-f3aba0f9] {
172
+ width: 73px;
173
+ height: 54px;
174
+ }
167
175
  @media (pointer: coarse) {
168
- .tide-carousel .tide-carousel-button-overlay[data-v-a9f0952b] {
176
+ .tide-carousel .tide-carousel-button-overlay[data-v-f3aba0f9] {
169
177
  display: none;
170
178
  }
171
179
  }
@@ -195,24 +203,20 @@ to {
195
203
  border-color: var(--tide-border-high);
196
204
  }
197
205
 
198
- .tide-columns-column[data-v-1f7e2e25] {
206
+ .tide-columns-column[data-v-ea114d75] {
199
207
  width: 100%;
200
208
  }
201
- @media (min-width: 992px) {
202
- .tide-columns-column[data-v-1f7e2e25] {
209
+ @container tide-responsive-root (min-width: 992px) {
210
+ .tide-columns-column[data-v-ea114d75] {
203
211
  width: calc((100% - 2rem) / 2);
204
212
  }
205
213
  }
206
- @media (min-width: 1232px) {
207
- .tide-columns-column[data-v-1f7e2e25] {
214
+ @container tide-responsive-root (min-width: 1232px) {
215
+ .tide-columns-column[data-v-ea114d75] {
208
216
  width: calc((100% - 6rem) / 4);
209
217
  }
210
218
  }
211
219
 
212
- .tide-image-img[data-v-bfc515e8] {
213
- border-radius: inherit;
214
- }
215
-
216
220
  [data-v-8695bcc4] .tide-image {
217
221
  z-index: -1;
218
222
  }
@@ -503,7 +507,7 @@ textarea[data-v-9b7af68f] {
503
507
  background-color: var(--tide-surface-variant);
504
508
  }
505
509
 
506
- .tide-modal[data-v-48b2fcd3] {
510
+ .tide-modal[data-v-d0a4311b] {
507
511
  --modal-padding-x: 20px;
508
512
  max-width: unset;
509
513
  max-height: unset;
@@ -512,55 +516,55 @@ textarea[data-v-9b7af68f] {
512
516
  transition: all var(--tide-animate) allow-discrete;
513
517
  transform: translateY(100%);
514
518
  }
515
- .tide-modal[open][data-v-48b2fcd3] {
519
+ .tide-modal[open][data-v-d0a4311b] {
516
520
  display: grid;
517
521
  transform: translateY(0%);
518
522
  }
519
- .tide-modal[data-v-48b2fcd3]::backdrop {
523
+ .tide-modal[data-v-d0a4311b]::backdrop {
520
524
  background-color: transparent;
521
525
  transition: all var(--tide-animate) allow-discrete;
522
526
  backdrop-filter: blur(0px);
523
527
  }
524
- .tide-modal[open][data-v-48b2fcd3]::backdrop {
528
+ .tide-modal[open][data-v-d0a4311b]::backdrop {
525
529
  background-color: var(--tide-transparent-400);
526
530
  backdrop-filter: var(--tide-bg-blur);
527
531
  }
528
532
  @starting-style {
529
- .tide-modal[open][data-v-48b2fcd3] {
533
+ .tide-modal[open][data-v-d0a4311b] {
530
534
  display: grid;
531
535
  transform: translateY(100%);
532
536
  }
533
- .tide-modal[open][data-v-48b2fcd3]::backdrop {
537
+ .tide-modal[open][data-v-d0a4311b]::backdrop {
534
538
  background-color: transparent;
535
539
  backdrop-filter: var(--tide-bg-blur);
536
540
  }
537
541
  }
538
- .tide-modal-body[data-v-48b2fcd3] {
542
+ .tide-modal-body[data-v-d0a4311b] {
539
543
  width: var(--modal-width, 576px);
540
544
  max-height: calc(100% - var(--tide-spacing-2));
541
545
  }
542
- .tide-modal-header[data-v-48b2fcd3],
543
- .tide-modal-footer[data-v-48b2fcd3] {
546
+ .tide-modal-header[data-v-d0a4311b],
547
+ .tide-modal-footer[data-v-d0a4311b] {
544
548
  padding-inline: var(--modal-padding-x);
545
549
  }
546
- .tide-modal-content[data-v-48b2fcd3] {
550
+ .tide-modal-content[data-v-d0a4311b] {
547
551
  grid-template-columns: var(--modal-padding-x) var(--tide-safe-fr) var(--modal-padding-x);
548
552
  contain: layout;
549
553
  }
550
- :where(.tide-modal-content[data-v-48b2fcd3]) > :where(*) {
554
+ :where(.tide-modal-content[data-v-d0a4311b]) > :where(*) {
551
555
  grid-column: 2;
552
556
  }
553
- @media (max-width: 767px) {
554
- .tide-modal-body[data-v-48b2fcd3] {
557
+ @container tide-responsive-root (max-width: 767px) {
558
+ .tide-modal-body[data-v-d0a4311b] {
555
559
  border-bottom-left-radius: 0;
556
560
  border-bottom-right-radius: 0;
557
561
  }
558
562
  }
559
- @media (min-width: 768px) {
560
- .tide-modal[data-v-48b2fcd3] {
563
+ @container tide-responsive-root (min-width: 768px) {
564
+ .tide-modal[data-v-d0a4311b] {
561
565
  --modal-padding-x: var(--tide-spacing-2);
562
566
  }
563
- .tide-modal-body[data-v-48b2fcd3] {
567
+ .tide-modal-body[data-v-d0a4311b] {
564
568
  max-height: 85%;
565
569
  bottom: initial;
566
570
  }
@@ -599,76 +603,80 @@ textarea[data-v-9b7af68f] {
599
603
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
600
604
  }
601
605
 
602
- .tide-realm-logo[data-v-dec575c7],
603
- .tide-realm-logo.large[data-v-dec575c7] {
606
+ .tide-realm-logo[data-v-a94b060d],
607
+ .tide-realm-logo.large[data-v-a94b060d] {
604
608
  width: var(--logo-width-full);
605
609
  height: var(--logo-height-full);
606
610
  }
607
- .tide-realm-logo.small[data-v-dec575c7] {
611
+ .tide-realm-logo.small[data-v-a94b060d] {
608
612
  width: var(--logo-width-small);
609
613
  height: var(--logo-height-small);
610
614
  }
611
- .tide-realm-logo.mark[data-v-dec575c7] {
615
+ .tide-realm-logo.mark[data-v-a94b060d] {
612
616
  width: var(--logo-width-mark);
613
617
  height: var(--logo-height-mark);
614
618
  }
615
- @media (min-width: 768px) {
616
- .tide-realm-logo.sm-small[data-v-dec575c7] {
619
+ @container tide-responsive-root (min-width: 768px) {
620
+ .tide-realm-logo.sm-small[data-v-a94b060d] {
617
621
  width: var(--logo-width-small);
618
622
  height: var(--logo-height-small);
619
623
  }
620
- .tide-realm-logo.sm-large[data-v-dec575c7] {
624
+ .tide-realm-logo.sm-large[data-v-a94b060d] {
621
625
  width: var(--logo-width-full);
622
626
  height: var(--logo-height-full);
623
627
  }
624
628
  }
625
- @media (min-width: 992px) {
626
- .tide-realm-logo.md-small[data-v-dec575c7] {
629
+ @container tide-responsive-root (min-width: 992px) {
630
+ .tide-realm-logo.md-small[data-v-a94b060d] {
627
631
  width: var(--logo-width-small);
628
632
  height: var(--logo-height-small);
629
633
  }
630
- .tide-realm-logo.md-large[data-v-dec575c7] {
634
+ .tide-realm-logo.md-large[data-v-a94b060d] {
631
635
  width: var(--logo-width-full);
632
636
  height: var(--logo-height-full);
633
637
  }
634
638
  }
635
- @media (min-width: 1232px) {
636
- .tide-realm-logo.lg-small[data-v-dec575c7] {
639
+ @container tide-responsive-root (min-width: 1232px) {
640
+ .tide-realm-logo.lg-small[data-v-a94b060d] {
637
641
  width: var(--logo-width-small);
638
642
  height: var(--logo-height-small);
639
643
  }
640
- .tide-realm-logo.lg-large[data-v-dec575c7] {
644
+ .tide-realm-logo.lg-large[data-v-a94b060d] {
641
645
  width: var(--logo-width-full);
642
646
  height: var(--logo-height-full);
643
647
  }
644
648
  }
645
- @media (min-width: 1920px) {
646
- .tide-realm-logo.xl-small[data-v-dec575c7] {
649
+ @container tide-responsive-root (min-width: 1920px) {
650
+ .tide-realm-logo.xl-small[data-v-a94b060d] {
647
651
  width: var(--logo-width-small);
648
652
  height: var(--logo-height-small);
649
653
  }
650
- .tide-realm-logo.xl-large[data-v-dec575c7] {
654
+ .tide-realm-logo.xl-large[data-v-a94b060d] {
651
655
  width: var(--logo-width-full);
652
656
  height: var(--logo-height-full);
653
657
  }
654
658
  }
655
659
 
660
+ .tide-responsive-root[data-v-30d70813] {
661
+ container: var(--tide-responsive-root);
662
+ }
663
+
656
664
  /* TODO: Refactor to accept breakpoint prop in order to accomplish this with neither custom breakpoints nor dependency on ViewportStore. */
657
- .tide-seo-link[data-v-5cd4472f] {
665
+ .tide-seo-link[data-v-5904f65f] {
658
666
  width: 100%;
659
667
  }
660
- @media (min-width: 992px) {
661
- .tide-seo-link[data-v-5cd4472f] {
668
+ @container tide-responsive-root (min-width: 992px) {
669
+ .tide-seo-link[data-v-5904f65f] {
662
670
  width: calc((100% - 2rem) / 2);
663
671
  }
664
672
  }
665
- @media (min-width: 1232px) {
666
- .tide-seo-link[data-v-5cd4472f] {
673
+ @container tide-responsive-root (min-width: 1232px) {
674
+ .tide-seo-link[data-v-5904f65f] {
667
675
  width: calc((100% - 6rem) / 4);
668
676
  }
669
677
  }
670
678
 
671
- .tide-sheet[data-v-4f5c60b8] {
679
+ .tide-sheet[data-v-d92b1eed] {
672
680
  --sheet-padding-x: var(--tide-spacing-1);
673
681
  max-width: unset;
674
682
  max-height: unset;
@@ -677,35 +685,35 @@ textarea[data-v-9b7af68f] {
677
685
  transition: all var(--tide-animate) allow-discrete;
678
686
  transform: translateX(100%);
679
687
  }
680
- .tide-sheet[open][data-v-4f5c60b8] {
688
+ .tide-sheet[open][data-v-d92b1eed] {
681
689
  display: grid;
682
690
  transform: translateX(0%);
683
691
  }
684
- .tide-sheet[data-v-4f5c60b8]::backdrop {
692
+ .tide-sheet[data-v-d92b1eed]::backdrop {
685
693
  background-color: transparent;
686
694
  transition: all var(--tide-animate) allow-discrete;
687
695
  backdrop-filter: blur(0px);
688
696
  }
689
- .tide-sheet[open][data-v-4f5c60b8]::backdrop {
697
+ .tide-sheet[open][data-v-d92b1eed]::backdrop {
690
698
  background-color: var(--tide-transparent-400);
691
699
  backdrop-filter: var(--tide-bg-blur);
692
700
  }
693
- .tide-sheet-body[data-v-4f5c60b8] {
701
+ .tide-sheet-body[data-v-d92b1eed] {
694
702
  max-width: min(calc(100vw - var(--tide-spacing-2)), 311px);
695
703
  }
696
- .tide-sheet-content[data-v-4f5c60b8] {
704
+ .tide-sheet-content[data-v-d92b1eed] {
697
705
  grid-template-columns: var(--sheet-padding-x) var(--tide-safe-fr) var(--sheet-padding-x);
698
706
  contain: layout;
699
707
  }
700
- :where(.tide-sheet-content[data-v-4f5c60b8]) > :where(*) {
708
+ :where(.tide-sheet-content[data-v-d92b1eed]) > :where(*) {
701
709
  grid-column: 2;
702
710
  }
703
711
  @starting-style {
704
- .tide-sheet[open][data-v-4f5c60b8] {
712
+ .tide-sheet[open][data-v-d92b1eed] {
705
713
  display: grid;
706
714
  transform: translateX(100%);
707
715
  }
708
- .tide-sheet[open][data-v-4f5c60b8]::backdrop {
716
+ .tide-sheet[open][data-v-d92b1eed]::backdrop {
709
717
  background-color: transparent;
710
718
  backdrop-filter: var(--tide-bg-blur);
711
719
  }
@@ -737,28 +745,28 @@ textarea[data-v-9b7af68f] {
737
745
  );
738
746
  }
739
747
 
740
- .rounded-border[data-v-92f91fcb] {
748
+ .rounded-border[data-v-9787df1b] {
741
749
  height: 4px;
742
750
  border-radius: var(--tide-radius-full) var(--tide-radius-full) 0 0;
743
751
  }
744
752
 
745
- .pop-enter-active[data-v-158c6081],
746
- .pop-leave-active[data-v-158c6081] {
753
+ .pop-enter-active[data-v-6fb3700e],
754
+ .pop-leave-active[data-v-6fb3700e] {
747
755
  transition: var(--tide-animate);
748
756
  transition-property: opacity, transform, translate;
749
757
  }
750
- .pop-enter-from[data-v-158c6081] {
758
+ .pop-enter-from[data-v-6fb3700e] {
751
759
  translate: 100% 0;
752
760
  }
753
- .pop-leave-to[data-v-158c6081] {
761
+ .pop-leave-to[data-v-6fb3700e] {
754
762
  opacity: 0;
755
763
  z-index: 0 !important;
756
764
  }
757
- .pop-leave-active[data-v-158c6081] {
765
+ .pop-leave-active[data-v-6fb3700e] {
758
766
  position: absolute;
759
767
  }
760
- @media (min-width: 768px) {
761
- .tide-toast-wrap[data-v-158c6081] {
768
+ @container tide-responsive-root (min-width: 768px) {
769
+ .tide-toast-wrap[data-v-6fb3700e] {
762
770
  width: 400px;
763
771
  }
764
772
  }
@@ -803,6 +811,7 @@ textarea[data-v-9b7af68f] {
803
811
  }
804
812
  body {
805
813
  color: var(--tide-on-surface);
814
+ container: var(--tide-responsive-root);
806
815
  font-size: var(--tide-font-16);
807
816
  font-weight: var(--tide-font-regular);
808
817
  line-height: 1.4;
@@ -947,6 +956,9 @@ input::-webkit-search-results-decoration {
947
956
  /* CSS Grid */
948
957
  --tide-safe-fr: minmax(0, 1fr);
949
958
 
959
+ /* Container Query Root */
960
+ --tide-responsive-root: tide-responsive-root / inline-size;
961
+
950
962
  /* Opacity */
951
963
  --tide-disabled: 0.333;
952
964
 
@@ -1548,7 +1560,7 @@ button.tide-button-quaternary:disabled,
1548
1560
  button.tide-button-floating:disabled {
1549
1561
  opacity: var(--tide-disabled);
1550
1562
  }
1551
- @media (min-width: 768px) {
1563
+ @container tide-responsive-root (min-width: 768px) {
1552
1564
  /* Reusable CSS Utility Library */
1553
1565
  /* Position */
1554
1566
  .sm-tide-position-absolute {position: absolute;}
@@ -2083,7 +2095,7 @@ button.tide-button-floating:disabled {
2083
2095
  opacity: var(--tide-disabled);
2084
2096
  }
2085
2097
  }
2086
- @media (min-width: 992px) {
2098
+ @container tide-responsive-root (min-width: 992px) {
2087
2099
  /* Reusable CSS Utility Library */
2088
2100
  /* Position */
2089
2101
  .md-tide-position-absolute {position: absolute;}
@@ -2618,7 +2630,7 @@ button.tide-button-floating:disabled {
2618
2630
  opacity: var(--tide-disabled);
2619
2631
  }
2620
2632
  }
2621
- @media (min-width: 1232px) {
2633
+ @container tide-responsive-root (min-width: 1232px) {
2622
2634
  /* Reusable CSS Utility Library */
2623
2635
  /* Position */
2624
2636
  .lg-tide-position-absolute {position: absolute;}
@@ -3153,7 +3165,7 @@ button.tide-button-floating:disabled {
3153
3165
  opacity: var(--tide-disabled);
3154
3166
  }
3155
3167
  }
3156
- @media (min-width: 1920px) {
3168
+ @container tide-responsive-root (min-width: 1920px) {
3157
3169
  /* Reusable CSS Utility Library */
3158
3170
  /* Position */
3159
3171
  .xl-tide-position-absolute {position: absolute;}
@@ -3716,10 +3728,10 @@ button.tide-button-floating:disabled {
3716
3728
  var(--tide-column-width)
3717
3729
  minmax(var(--tide-gutter-width), 1fr);
3718
3730
  }
3719
- @media (min-width: 768px) {
3731
+ @container tide-responsive-root (min-width: 768px) {
3720
3732
  .tide-grid-layout {--tide-gutter-width: var(--tide-spacing-2);}
3721
3733
  }
3722
- @media (min-width: 1232px) {
3734
+ @container tide-responsive-root (min-width: 1232px) {
3723
3735
  .tide-grid-layout {--tide-gutter-width: var(--tide-spacing-4);}
3724
3736
  }
3725
3737
  .tide-grid-xl {--tide-max-content-width: var(--tide-1920px);}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tide-design-system",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "TIDE Design System",
5
5
  "author": "Trader Interactive",
6
6
  "license": "MIT",