@turquoisehealth/pit-viper 2.259.0 → 2.260.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 (23) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +91 -44
  2. package/_site/assets/css/pit-viper-a11y.css +80 -33
  3. package/_site/assets/css/pit-viper-consumer.css +79 -32
  4. package/_site/assets/css/pit-viper-v2-scoped.css +75 -32
  5. package/_site/assets/css/pit-viper-v2.css +80 -33
  6. package/_site/assets/css/pit-viper-v3.css +91 -44
  7. package/_site/assets/css/pit-viper.css +79 -32
  8. package/package.json +1 -1
  9. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  10. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  13. package/pv-components/dist/vue/ai/components/base/PvTabs/PvTabs.vue.d.ts +2 -2
  14. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +2 -2
  15. package/pv-components/dist/vue/base/pv-components-base.mjs +1046 -1012
  16. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  17. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +2 -2
  18. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +5 -5
  19. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  20. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1 -1
  21. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +1054 -1020
  22. package/pv-components/dist/web/pv-components.iife.js +13 -13
  23. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -50,6 +50,21 @@
50
50
  interpolate-size: allow-keywords;
51
51
  }
52
52
 
53
+ :root {
54
+ --color-text-body: #02363D;
55
+ --color-text-brand: #176F6F;
56
+ --color-text-tertiary: #6E8081;
57
+ --color-text-quaternary: #89989B;
58
+ --color-border: #DCDFE4;
59
+ --color-border-brand: #02363D;
60
+ --color-background-body: #FFFFFF;
61
+ --color-background-accent: #F8F8FA;
62
+ --color-background-table-hover: #F8F8FA;
63
+ --color-background-brand: #02363D;
64
+ --color-background-highlight: #E4F8F6;
65
+ --color-background-disabled: #F3F4F6;
66
+ }
67
+
53
68
  :where(html) {
54
69
  scroll-behavior: smooth;
55
70
  scroll-padding: 1rem;
@@ -893,14 +908,15 @@
893
908
  [class*=pv-segmented-control] button:hover:not(:disabled) {
894
909
  box-shadow: 0px 1px 5px 0px rgba(12, 12, 12, 0.05), 0px 0px 40px 0px rgba(12, 12, 12, 0.01);
895
910
  }
896
- [class*=pv-segmented-control] button[data-active] {
911
+ [class*=pv-segmented-control] button[data-active],
912
+ [class*=pv-segmented-control] button[data-active]:is(:hover, :focus-visible, :active):not(:disabled) {
897
913
  background-color: var(--segmented-control-button-selected-background, #FFFFFF);
898
914
  }
899
- [class*=pv-segmented-control] button:hover:not(:disabled),
915
+ [class*=pv-segmented-control] button:hover:not(:disabled, [data-active]),
900
916
  [class*=pv-segmented-control] button:focus-visible:not(:disabled) {
901
917
  background-color: var(--segmented-control-button-hover-background, #F3FCFB);
902
918
  }
903
- [class*=pv-segmented-control] button:active:not(:disabled) {
919
+ [class*=pv-segmented-control] button:active:not(:disabled, [data-active]) {
904
920
  background-color: var(--segmented-control-button-active-background, #F3FCFB);
905
921
  }
906
922
  [class*=pv-segmented-control] button:has(svg:is(:only-child)) {
@@ -1647,7 +1663,7 @@ div > .pv-input-text.pv-input-text[data-suffix="%"] {
1647
1663
  line-height: 1.3333333;
1648
1664
  }
1649
1665
  .pv-ghost-input input::placeholder, .pv-ghost-input input::-webkit-input-placeholder {
1650
- color: var(--color-text-quaternary, #B8C1C4);
1666
+ color: #B8C1C4;
1651
1667
  }
1652
1668
  .pv-ghost-input button {
1653
1669
  opacity: 0;
@@ -1659,7 +1675,7 @@ div > .pv-input-text.pv-input-text[data-suffix="%"] {
1659
1675
  outline: 0;
1660
1676
  }
1661
1677
  .pv-ghost-input:hover input::placeholder, .pv-ghost-input:hover input::-webkit-input-placeholder, .pv-ghost-input:focus-visible input::placeholder, .pv-ghost-input:focus-visible input::-webkit-input-placeholder, .pv-ghost-input:focus-within input::placeholder, .pv-ghost-input:focus-within input::-webkit-input-placeholder {
1662
- color: var(--color-text-tertiary, #89989B);
1678
+ color: #89989B;
1663
1679
  }
1664
1680
  .pv-ghost-input[data-style=h1] input {
1665
1681
  font-weight: 600;
@@ -1706,7 +1722,7 @@ div > .pv-input-text.pv-input-text[data-suffix="%"] {
1706
1722
  --range-fill-color: var(--color-background-brand-inverse, #36C5BA);
1707
1723
  --range-thumb-border-width: 3px;
1708
1724
  --range-thumb-size: 20px;
1709
- --range-track-color: var(--color-border, #E3E7EA);
1725
+ --range-track-color: #E3E7EA;
1710
1726
  --range-track-height: 6px;
1711
1727
  --value: 0%;
1712
1728
  -webkit-appearance: none;
@@ -1736,11 +1752,11 @@ div > .pv-input-text.pv-input-text[data-suffix="%"] {
1736
1752
  outline: none;
1737
1753
  }
1738
1754
  .pv-range:focus-visible::-webkit-slider-thumb {
1739
- outline: 2px solid var(--color-border-brand, #36C5BA);
1755
+ outline: 2px solid #36C5BA;
1740
1756
  outline-offset: 2px;
1741
1757
  }
1742
1758
  .pv-range:focus-visible::-moz-range-thumb {
1743
- outline: 2px solid var(--color-border-brand, #36C5BA);
1759
+ outline: 2px solid #36C5BA;
1744
1760
  outline-offset: 2px;
1745
1761
  }
1746
1762
 
@@ -1772,7 +1788,7 @@ div > .pv-input-text.pv-input-text[data-suffix="%"] {
1772
1788
  --range-dual-thumb-size: 1.25rem;
1773
1789
  --range-dual-track-height: 0.375rem;
1774
1790
  --range-fill-color: var(--color-background-brand-inverse, #36C5BA);
1775
- --range-track-color: var(--color-border, #E3E7EA);
1791
+ --range-track-color: #E3E7EA;
1776
1792
  align-items: center;
1777
1793
  cursor: pointer;
1778
1794
  display: flex;
@@ -1877,12 +1893,12 @@ div > .pv-input-text.pv-input-text[data-suffix="%"] {
1877
1893
  }
1878
1894
 
1879
1895
  .pv-range-dual-native:focus-visible::-webkit-slider-thumb {
1880
- outline: 2px solid var(--color-border-brand, #36C5BA);
1896
+ outline: 2px solid #36C5BA;
1881
1897
  outline-offset: 2px;
1882
1898
  }
1883
1899
 
1884
1900
  .pv-range-dual-native:focus-visible::-moz-range-thumb {
1885
- outline: 2px solid var(--color-border-brand, #36C5BA);
1901
+ outline: 2px solid #36C5BA;
1886
1902
  outline-offset: 2px;
1887
1903
  }
1888
1904
 
@@ -2210,7 +2226,7 @@ div > .pv-input-text.pv-input-text[data-suffix="%"] {
2210
2226
  }
2211
2227
  .pv-avatar-group > li, .pv-avatar-group[data-more]:after {
2212
2228
  margin-inline-start: -0.5rem;
2213
- outline: 2px solid var(--color-background-body, white);
2229
+ outline: 2px solid var(--color-background-body, #FFFFFF);
2214
2230
  }
2215
2231
  .pv-avatar-group[data-more]:after {
2216
2232
  content: "+" attr(data-more);
@@ -3511,7 +3527,7 @@ button.pv-tag-secondary:active {
3511
3527
  opacity: 1;
3512
3528
  pointer-events: auto;
3513
3529
  }
3514
- [class*=pv-tab-list] > :where(li) > a, [class*=pv-tab-list] > :where(li) > button, [class*=pv-tab-list] > :where(li) > .pv-tab-overflow button {
3530
+ [class*=pv-tab-list] > :where(li) > a, [class*=pv-tab-list] > :where(li) > button, [class*=pv-tab-list] > :where(li) > :is(.pv-tab-overflow, .pv-tab-add-menu) button {
3515
3531
  display: flex;
3516
3532
  align-items: center;
3517
3533
  gap: 0.25rem;
@@ -3526,15 +3542,15 @@ button.pv-tag-secondary:active {
3526
3542
  background-color: transparent;
3527
3543
  cursor: pointer;
3528
3544
  }
3529
- [class*=pv-tab-list] > :where(li) > a:hover, [class*=pv-tab-list] > :where(li) > a:focus-visible, [class*=pv-tab-list] > :where(li) > button:hover, [class*=pv-tab-list] > :where(li) > button:focus-visible, [class*=pv-tab-list] > :where(li) > .pv-tab-overflow button:hover, [class*=pv-tab-list] > :where(li) > .pv-tab-overflow button:focus-visible {
3545
+ [class*=pv-tab-list] > :where(li) > a:hover, [class*=pv-tab-list] > :where(li) > a:focus-visible, [class*=pv-tab-list] > :where(li) > button:hover, [class*=pv-tab-list] > :where(li) > button:focus-visible, [class*=pv-tab-list] > :where(li) > :is(.pv-tab-overflow, .pv-tab-add-menu) button:hover, [class*=pv-tab-list] > :where(li) > :is(.pv-tab-overflow, .pv-tab-add-menu) button:focus-visible {
3530
3546
  text-decoration: none;
3531
3547
  color: var(--tab-list-hover-text-color, #02363D);
3532
3548
  background-color: var(--tab-list-hover-background-color, transparent);
3533
3549
  }
3534
- [class*=pv-tab-list] > :where(li) > a:active, [class*=pv-tab-list] > :where(li) > button:active, [class*=pv-tab-list] > :where(li) > .pv-tab-overflow button:active {
3550
+ [class*=pv-tab-list] > :where(li) > a:active, [class*=pv-tab-list] > :where(li) > button:active, [class*=pv-tab-list] > :where(li) > :is(.pv-tab-overflow, .pv-tab-add-menu) button:active {
3535
3551
  background-color: var(--tab-list-pressed-background-color, transparent);
3536
3552
  }
3537
- [class*=pv-tab-list] > :where(li) > a:disabled, [class*=pv-tab-list] > :where(li) > button:disabled, [class*=pv-tab-list] > :where(li) > .pv-tab-overflow button:disabled {
3553
+ [class*=pv-tab-list] > :where(li) > a:disabled, [class*=pv-tab-list] > :where(li) > button:disabled, [class*=pv-tab-list] > :where(li) > :is(.pv-tab-overflow, .pv-tab-add-menu) button:disabled {
3538
3554
  color: var(--tab-list-disabled-text-color, #ADB5C0);
3539
3555
  background-color: transparent;
3540
3556
  cursor: unset;
@@ -3560,7 +3576,7 @@ button.pv-tag-secondary:active {
3560
3576
  line-height: var(--tab-list-line-height, inherit);
3561
3577
  background-color: transparent;
3562
3578
  }
3563
- [class*=pv-tab-list] > :where(li) > a:after, [class*=pv-tab-list] > :where(li) > button:after, [class*=pv-tab-list] > :where(li) > .pv-tab-input:after, [class*=pv-tab-list] > :where(li) > .pv-tab-overflow button:after {
3579
+ [class*=pv-tab-list] > :where(li) > a:after, [class*=pv-tab-list] > :where(li) > button:after, [class*=pv-tab-list] > :where(li) > .pv-tab-input:after, [class*=pv-tab-list] > :where(li) > :is(.pv-tab-overflow, .pv-tab-add-menu) button:after {
3564
3580
  content: "";
3565
3581
  display: block;
3566
3582
  height: var(--tab-list-indicator-size, 4px);
@@ -3571,7 +3587,7 @@ button.pv-tag-secondary:active {
3571
3587
  right: 0;
3572
3588
  background-color: var(--tab-list-indicator-inactive-color, transparent);
3573
3589
  }
3574
- [class*=pv-tab-list] > :where(li)[data-active] > a, [class*=pv-tab-list] > :where(li)[data-active] > button, [class*=pv-tab-list] > :where(li)[data-active] > .pv-tab-overflow button {
3590
+ [class*=pv-tab-list] > :where(li)[data-active] > a, [class*=pv-tab-list] > :where(li)[data-active] > button {
3575
3591
  color: var(--tab-list-active-text-color, #176F6F);
3576
3592
  }
3577
3593
  [class*=pv-tab-list] > :where(li)[data-active] > .pv-tab-input .pv-ghost-input input {
@@ -3580,7 +3596,7 @@ button.pv-tag-secondary:active {
3580
3596
  [class*=pv-tab-list] > :where(li)[data-active] .pv-tab-options .pv-button-ghost {
3581
3597
  color: var(--tab-list-active-text-color, #176F6F);
3582
3598
  }
3583
- [class*=pv-tab-list] > :where(li)[data-active] > a:after, [class*=pv-tab-list] > :where(li)[data-active] > button:after, [class*=pv-tab-list] > :where(li)[data-active] > .pv-tab-input:after, [class*=pv-tab-list] > :where(li)[data-active] > .pv-tab-overflow button:after {
3599
+ [class*=pv-tab-list] > :where(li)[data-active] > a:after, [class*=pv-tab-list] > :where(li)[data-active] > button:after, [class*=pv-tab-list] > :where(li)[data-active] > .pv-tab-input:after {
3584
3600
  border-radius: var(--tab-list-indicator-radius, 4px 4px 0 0);
3585
3601
  background-color: var(--tab-list-indicator-color, #176F6F);
3586
3602
  }
@@ -3611,13 +3627,36 @@ button.pv-tag-secondary:active {
3611
3627
  min-width: 0;
3612
3628
  }
3613
3629
 
3614
- .pv-tab-list-small > :where(li) > a, .pv-tab-list-small > :where(li) > button, .pv-tab-list-small > :where(li) > .pv-tab-overflow button {
3630
+ .pv-tab-list-small > :where(li) > a, .pv-tab-list-small > :where(li) > button, .pv-tab-list-small > :where(li) > :is(.pv-tab-overflow, .pv-tab-add-menu) button {
3615
3631
  padding: var(--tab-list-small-item-padding, 0 0 0.75rem 0);
3616
3632
  }
3617
3633
  .pv-tab-list-small > :where(li) > .pv-tab-input {
3618
3634
  padding: 3px 8px;
3619
3635
  }
3620
3636
 
3637
+ ol.pv-tab-list {
3638
+ gap: 0.25rem;
3639
+ border-block-end: 0;
3640
+ }
3641
+ ol.pv-tab-list > li > a {
3642
+ border-radius: var(--stepper-button-radius, 12px);
3643
+ color: var(--stepper-button-inactive-text-color, #6E8081);
3644
+ }
3645
+ ol.pv-tab-list > li > a:hover, ol.pv-tab-list > li > a:focus-visible {
3646
+ color: var(--stepper-button-inactive-text-color, #6E8081);
3647
+ background-color: var(--stepper-button-inactive-background-color, #E8F2F4);
3648
+ }
3649
+ ol.pv-tab-list > li > a:active {
3650
+ background-color: var(--stepper-button-inactive-active-background-color, #C7D8DB);
3651
+ }
3652
+ ol.pv-tab-list > li > a:after {
3653
+ display: none;
3654
+ }
3655
+ ol.pv-tab-list > li[data-active] > a, ol.pv-tab-list > li[data-active] > a:hover, ol.pv-tab-list > li[data-active] > a:focus-visible, ol.pv-tab-list > li[data-active] > a:active {
3656
+ color: var(--stepper-button-active-text-color, #121313);
3657
+ background-color: var(--stepper-button-active-background-color, #F3F1EB);
3658
+ }
3659
+
3621
3660
  :where(ol.pv-tab-list) {
3622
3661
  counter-reset: item;
3623
3662
  }
@@ -3627,8 +3666,8 @@ button.pv-tag-secondary:active {
3627
3666
  display: inline-block;
3628
3667
  width: 1.5rem;
3629
3668
  height: 1.5rem;
3630
- color: var(--color-text-inverse, #FFFFFF);
3631
- background-color: var(--tab-list-counter-background-color, #ADB5C0);
3669
+ color: var(--tab-list-counter-color, #6E7784);
3670
+ background-color: var(--tab-list-counter-background-color, #E0E5E4);
3632
3671
  margin-inline-end: 0.5rem;
3633
3672
  text-align: center;
3634
3673
  border-radius: 50%;
@@ -3636,6 +3675,7 @@ button.pv-tag-secondary:active {
3636
3675
  line-height: 2;
3637
3676
  }
3638
3677
  :where(ol.pv-tab-list) [data-active] > a:before {
3678
+ color: var(--color-text-inverse, #FFFFFF);
3639
3679
  background-color: var(--tab-list-indicator-color, #176F6F);
3640
3680
  }
3641
3681
  :where(ol.pv-tab-list) [data-complete] {
@@ -3761,6 +3801,13 @@ button.pv-tag-secondary:active {
3761
3801
  .pv-select-multiple {
3762
3802
  font-weight: 600;
3763
3803
  }
3804
+ .pv-select-multiple:not(:disabled, [data-invalid], [data-dropdown]):hover {
3805
+ color: var(--select-multiple-hover-color, #02363D);
3806
+ background-color: var(--select-multiple-hover-background-color, #E8F2F4);
3807
+ }
3808
+ .pv-select-multiple:disabled {
3809
+ color: var(--select-multiple-disabled-color, #6E7784);
3810
+ }
3764
3811
  .pv-select-multiple[data-dropdown] {
3765
3812
  background-image: var(--select-multiple-open-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.6 15.3h8.8c.7 0 1-.7.6-1.2L12.6 9c-.1-.1-.2-.2-.3-.2-.1-.1-.2-.1-.3-.1s-.2.1-.3.1c-.1.1-.2.1-.3.2l-4.3 5.1c-.5.4-.1 1.2.5 1.2z' fill='%23176f6f'/%3E%3C/svg%3E"));
3766
3813
  background-color: #F3F4F6;
@@ -3931,15 +3978,15 @@ pv-dropdown-auto-close.pv-dropdown > [class*=pv-button][data-dropdown] {
3931
3978
  }
3932
3979
 
3933
3980
  .pv-tree-item.pv-drop-indicator-top {
3934
- border-top: 1px solid var(--color-border, #02363D);
3981
+ border-top: 1px solid #02363D;
3935
3982
  }
3936
3983
 
3937
3984
  .pv-tree-item.pv-drop-indicator-bottom {
3938
- border-bottom: 1px solid var(--color-border, #02363D);
3985
+ border-bottom: 1px solid #02363D;
3939
3986
  }
3940
3987
 
3941
3988
  .pv-drop-indicator-parent {
3942
- border: 1px solid var(--color-border, #36C5BA);
3989
+ border: 1px solid #36C5BA;
3943
3990
  }
3944
3991
 
3945
3992
  .pv-tree-empty-accordion {
@@ -5540,7 +5587,7 @@ div.pv-drawer[open] {
5540
5587
  padding: 0.5rem;
5541
5588
  font-size: 16px;
5542
5589
  line-height: 1.5;
5543
- border: 2px solid var(--color-border, #DCDFE4);
5590
+ border: 2px solid #DCDFE4;
5544
5591
  border-radius: 2px;
5545
5592
  appearance: none;
5546
5593
  background-color: var(--color-background-body, #FFFFFF);
@@ -5722,7 +5769,7 @@ pv-data-grid.ag-theme-pv {
5722
5769
  appearance: none;
5723
5770
  width: 1rem !important;
5724
5771
  height: 1rem !important;
5725
- background-color: var(--color-background-body, white);
5772
+ background-color: var(--color-background-body, #FFFFFF);
5726
5773
  border: 2px solid var(--checkbox-border, #DCDFE4);
5727
5774
  flex-shrink: 0;
5728
5775
  border-radius: 2px !important;
@@ -7551,7 +7598,7 @@ svg.pv-text-inherit {
7551
7598
  }
7552
7599
  }
7553
7600
  .pv-scrollbar-visible {
7554
- scrollbar-color: var(--color-border, #C1C1C1) transparent;
7601
+ scrollbar-color: #C1C1C1 transparent;
7555
7602
  scrollbar-gutter: stable;
7556
7603
  scrollbar-width: thin;
7557
7604
  }
@@ -7568,7 +7615,7 @@ svg.pv-text-inherit {
7568
7615
  }
7569
7616
  .pv-scrollbar-visible::-webkit-scrollbar-thumb {
7570
7617
  border-radius: 8px;
7571
- background-color: var(--color-border, #C1C1C1);
7618
+ background-color: #C1C1C1;
7572
7619
  }
7573
7620
  .pv-scrollbar-visible::-webkit-scrollbar-thumb:hover {
7574
7621
  background-color: var(--color-text-subdued, #7C7C7C);
@@ -7825,7 +7872,7 @@ svg.pv-text-inherit {
7825
7872
  }
7826
7873
 
7827
7874
  .select2-selection--multiple {
7828
- background-color: var(--color-background-body, white);
7875
+ background-color: var(--color-background-body, #FFFFFF);
7829
7876
  border: var(--select2-border, 2px solid #DCDFE4);
7830
7877
  border-radius: 2px;
7831
7878
  cursor: text;
@@ -7856,7 +7903,7 @@ svg.pv-text-inherit {
7856
7903
  }
7857
7904
 
7858
7905
  .select2-dropdown {
7859
- background-color: var(--color-background-body, white);
7906
+ background-color: var(--color-background-body, #FFFFFF);
7860
7907
  border-radius: 5px;
7861
7908
  padding-block: 0.5rem;
7862
7909
  display: block;
@@ -7881,7 +7928,7 @@ svg.pv-text-inherit {
7881
7928
  position: absolute;
7882
7929
  top: -44px;
7883
7930
  left: 0;
7884
- background-color: var(--color-background-body, white);
7931
+ background-color: var(--color-background-body, #FFFFFF);
7885
7932
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.151 15.848a1.2 1.2 0 0 0 1.698 0L12 10.698l5.151 5.15a1.2 1.2 0 1 0 1.698-1.697l-6-6a1.2 1.2 0 0 0-1.697 0l-6 6a1.2 1.2 0 0 0 0 1.697Z' fill='%2302363D'/%3E%3C/svg%3E");
7886
7933
  background-repeat: no-repeat;
7887
7934
  background-size: 1rem 1rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.259.0",
3
+ "version": "2.260.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {