@turquoisehealth/pit-viper 2.223.0 → 2.224.1-dev.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 (67) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +7 -6
  2. package/_site/assets/css/pit-viper-consumer.css +6 -6
  3. package/_site/assets/css/pit-viper-v2-scoped.css +6 -6
  4. package/_site/assets/css/pit-viper-v2.css +104 -67
  5. package/_site/assets/css/pit-viper.css +6 -6
  6. package/package.json +1 -1
  7. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-filter-modal-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-hover-action-menu-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  24. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  25. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +2 -2
  26. package/pv-components/dist/vue/ai/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  27. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  28. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +14 -0
  29. package/pv-components/dist/vue/ai/components/base/baseProps.d.ts +1 -1
  30. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  31. package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  32. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +2 -2
  33. package/pv-components/dist/vue/base/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  34. package/pv-components/dist/vue/base/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  35. package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +14 -0
  36. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +1 -1
  37. package/pv-components/dist/vue/base/pv-components-base.mjs +2159 -2066
  38. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  39. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  40. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +2 -2
  41. package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  42. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  43. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +14 -0
  44. package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +1 -1
  45. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/crosslineHelpers.d.ts +1 -2
  46. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +2 -3
  47. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +0 -6
  48. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/useBenchmarkOverlays.d.ts +0 -1
  49. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +72 -67
  50. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  51. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +13 -3
  52. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +13 -3
  53. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +13 -3
  54. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +13 -3
  55. package/pv-components/dist/web/components/pv-menu/pv-menu.js +13 -3
  56. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +13 -3
  57. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +12 -2
  58. package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +175 -174
  59. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +14 -4
  60. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +13 -3
  61. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +13 -3
  62. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +970 -877
  63. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +12 -2
  64. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +13 -3
  65. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +13 -3
  66. package/pv-components/dist/web/pv-components.iife.js +14 -14
  67. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -760,8 +760,8 @@
760
760
  background-color: #C7D8DB;
761
761
  }
762
762
  .pv-button-icon:disabled {
763
- color: #7D898D;
764
- background-color: #ECECEC;
763
+ color: var(--button-icon-disabled-color, #7D898D);
764
+ background-color: var(--button-icon-disabled-background-color, #ECECEC);
765
765
  }
766
766
  .pv-button-icon.pv-button-small {
767
767
  padding: calc(0.25rem - 1px);
@@ -834,8 +834,8 @@
834
834
  color: var(--color-text-tertiary-active, #121313);
835
835
  }
836
836
  .pv-button-link-tertiary:disabled {
837
- color: #7D898D;
838
- background-color: transparent;
837
+ color: var(--button-link-tertiary-disabled-color, #7D898D);
838
+ background-color: var(--button-link-tertiary-disabled-background-color, transparent);
839
839
  }
840
840
 
841
841
  [class*=pv-segmented-control] {
@@ -956,7 +956,7 @@
956
956
  background-color: #02363D;
957
957
  }
958
958
  [class*=pv-button-floating]:disabled {
959
- background-color: #6E7784;
959
+ background-color: var(--button-floating-disabled-background-color, #6E7784);
960
960
  }
961
961
  [class*=pv-button-floating].pv-button-small {
962
962
  width: 2rem;
@@ -974,7 +974,7 @@
974
974
  background-color: #6FD6CE;
975
975
  }
976
976
  .pv-button-floating-on-dark:disabled {
977
- background-color: #DCDFE4;
977
+ background-color: var(--button-floating-on-dark-disabled-background-color, #DCDFE4);
978
978
  }
979
979
 
980
980
  .pv-alpha-button,
@@ -5265,6 +5265,7 @@ pv-sidebar {
5265
5265
  box-shadow: var(--layout-primary-sidebar-shadow, none);
5266
5266
  border-inline-end: 1px solid var(--layout-primary-sidebar-border-color, transparent);
5267
5267
  display: grid;
5268
+ grid-template-columns: minmax(0, 1fr);
5268
5269
  grid-template-rows: auto 1fr;
5269
5270
  position: sticky;
5270
5271
  top: 0;
@@ -766,8 +766,8 @@
766
766
  background-color: #C7D8DB;
767
767
  }
768
768
  .pv-button-icon:disabled {
769
- color: #A3B0B0;
770
- background-color: #ECECEC;
769
+ color: var(--button-icon-disabled-color, #A3B0B0);
770
+ background-color: var(--button-icon-disabled-background-color, #ECECEC);
771
771
  }
772
772
  .pv-button-icon.pv-button-small {
773
773
  padding: calc(0.25rem - 1px);
@@ -840,8 +840,8 @@
840
840
  color: var(--color-text-tertiary-active, #121313);
841
841
  }
842
842
  .pv-button-link-tertiary:disabled {
843
- color: #7D898D;
844
- background-color: transparent;
843
+ color: var(--button-link-tertiary-disabled-color, #7D898D);
844
+ background-color: var(--button-link-tertiary-disabled-background-color, transparent);
845
845
  }
846
846
 
847
847
  [class*=pv-segmented-control] {
@@ -962,7 +962,7 @@
962
962
  background-color: #1A3A39;
963
963
  }
964
964
  [class*=pv-button-floating]:disabled {
965
- background-color: #6E7784;
965
+ background-color: var(--button-floating-disabled-background-color, #6E7784);
966
966
  }
967
967
  [class*=pv-button-floating].pv-button-small {
968
968
  width: 2rem;
@@ -980,7 +980,7 @@
980
980
  background-color: #6FD6CE;
981
981
  }
982
982
  .pv-button-floating-on-dark:disabled {
983
- background-color: #DCDFE4;
983
+ background-color: var(--button-floating-on-dark-disabled-background-color, #DCDFE4);
984
984
  }
985
985
 
986
986
  .pv-alpha-button,
@@ -681,8 +681,8 @@
681
681
  background-color: #C7D8DB;
682
682
  }
683
683
  .pv-v2 .pv-button-icon:disabled {
684
- color: #7D898D;
685
- background-color: #ECECEC;
684
+ color: var(--button-icon-disabled-color, #7D898D);
685
+ background-color: var(--button-icon-disabled-background-color, #ECECEC);
686
686
  }
687
687
  .pv-v2 .pv-button-icon.pv-button-small {
688
688
  padding: calc(0.25rem - 1px);
@@ -750,8 +750,8 @@
750
750
  color: var(--color-text-tertiary-active, #121313);
751
751
  }
752
752
  .pv-v2 .pv-button-link-tertiary:disabled {
753
- color: #7D898D;
754
- background-color: transparent;
753
+ color: var(--button-link-tertiary-disabled-color, #7D898D);
754
+ background-color: var(--button-link-tertiary-disabled-background-color, transparent);
755
755
  }
756
756
  .pv-v2 [class*=pv-segmented-control] {
757
757
  padding: 0.125rem;
@@ -866,7 +866,7 @@
866
866
  background-color: #02363D;
867
867
  }
868
868
  .pv-v2 [class*=pv-button-floating]:disabled {
869
- background-color: #6E7784;
869
+ background-color: var(--button-floating-disabled-background-color, #6E7784);
870
870
  }
871
871
  .pv-v2 [class*=pv-button-floating].pv-button-small {
872
872
  width: 2rem;
@@ -883,7 +883,7 @@
883
883
  background-color: #6FD6CE;
884
884
  }
885
885
  .pv-v2 .pv-button-floating-on-dark:disabled {
886
- background-color: #DCDFE4;
886
+ background-color: var(--button-floating-on-dark-disabled-background-color, #DCDFE4);
887
887
  }
888
888
  .pv-v2 .pv-alpha-button,
889
889
  .pv-v2 [data-collapsed] .pv-alpha-button {
@@ -760,8 +760,8 @@
760
760
  background-color: #C7D8DB;
761
761
  }
762
762
  .pv-button-icon:disabled {
763
- color: #7D898D;
764
- background-color: #ECECEC;
763
+ color: var(--button-icon-disabled-color, #7D898D);
764
+ background-color: var(--button-icon-disabled-background-color, #ECECEC);
765
765
  }
766
766
  .pv-button-icon.pv-button-small {
767
767
  padding: calc(0.25rem - 1px);
@@ -834,8 +834,8 @@
834
834
  color: var(--color-text-tertiary-active, #121313);
835
835
  }
836
836
  .pv-button-link-tertiary:disabled {
837
- color: #7D898D;
838
- background-color: transparent;
837
+ color: var(--button-link-tertiary-disabled-color, #7D898D);
838
+ background-color: var(--button-link-tertiary-disabled-background-color, transparent);
839
839
  }
840
840
 
841
841
  [class*=pv-segmented-control] {
@@ -956,7 +956,7 @@
956
956
  background-color: #02363D;
957
957
  }
958
958
  [class*=pv-button-floating]:disabled {
959
- background-color: #6E7784;
959
+ background-color: var(--button-floating-disabled-background-color, #6E7784);
960
960
  }
961
961
  [class*=pv-button-floating].pv-button-small {
962
962
  width: 2rem;
@@ -974,7 +974,7 @@
974
974
  background-color: #6FD6CE;
975
975
  }
976
976
  .pv-button-floating-on-dark:disabled {
977
- background-color: #DCDFE4;
977
+ background-color: var(--button-floating-on-dark-disabled-background-color, #DCDFE4);
978
978
  }
979
979
 
980
980
  .pv-alpha-button,
@@ -5322,6 +5322,7 @@ pv-sidebar {
5322
5322
  box-shadow: var(--layout-primary-sidebar-shadow, none);
5323
5323
  border-inline-end: 1px solid var(--layout-primary-sidebar-border-color, transparent);
5324
5324
  display: grid;
5325
+ grid-template-columns: minmax(0, 1fr);
5325
5326
  grid-template-rows: auto 1fr;
5326
5327
  position: sticky;
5327
5328
  top: 0;
@@ -5395,23 +5396,47 @@ pv-sidebar {
5395
5396
  --nav-list-font-weight: 500;
5396
5397
  --nav-list-active-font-weight: 600;
5397
5398
  }
5398
- .sidebar-layout-new .pv-sidebar-nav-footer .pv-popover-menu:hover .pv-nav-list-item,
5399
- .sidebar-layout-new .pv-sidebar-nav-footer .pv-popover-menu:focus-within .pv-nav-list-item,
5400
- .sidebar-layout-new .pv-sidebar-nav-footer .pv-popover-menu[data-active] .pv-nav-list-item {
5399
+ .sidebar-layout-new .pv-sidebar-popover-portal {
5400
+ display: contents;
5401
+ }
5402
+ .sidebar-layout-new .pv-sidebar-nav-header .pv-nav-list-item[aria-expanded=true],
5403
+ .sidebar-layout-new .pv-sidebar-nav-footer .pv-nav-list-item[aria-expanded=true] {
5401
5404
  --sidebar-nav-icon-color: var(--sidebar-nav-hover-text);
5402
- background-color: var(--nav-list-hover-background-color);
5405
+ background-color: var(--sidebar-nav-hover-bg);
5406
+ color: var(--sidebar-nav-hover-text);
5403
5407
  }
5404
5408
  .sidebar-layout-new .pv-nav-list [aria-current=page] {
5405
5409
  font-weight: var(--nav-list-active-font-weight);
5406
5410
  }
5411
+ .sidebar-layout-new .sidebar-header {
5412
+ padding: 0.5rem;
5413
+ }
5414
+ .sidebar-layout-new .pv-sidebar-nav-header .pv-nav-list-item {
5415
+ padding: 0.25rem;
5416
+ }
5407
5417
  .sidebar-layout-new .sidebar-toggle {
5408
5418
  opacity: 1;
5409
5419
  pointer-events: auto;
5410
5420
  margin: 0px 0.25rem;
5411
5421
  }
5422
+ .sidebar-layout-new.is-expanded.is-transitioning .pv-sidebar-nav-header [data-sidebar-expanded-content] {
5423
+ visibility: hidden;
5424
+ }
5425
+ .sidebar-layout-new.is-expanded.is-transitioning .sidebar-toggle {
5426
+ visibility: hidden;
5427
+ opacity: 0;
5428
+ pointer-events: none;
5429
+ }
5430
+ .sidebar-layout-new .pv-sidebar-nav .pv-accordion > summary {
5431
+ padding-inline-end: 0.75rem;
5432
+ }
5412
5433
  .sidebar-layout-new.is-collapsed .sidebar-header {
5413
5434
  flex-direction: column;
5414
- align-items: flex-start;
5435
+ align-items: center;
5436
+ }
5437
+ .sidebar-layout-new.is-collapsed .pv-sidebar-nav-header button.pv-nav-list-item,
5438
+ .sidebar-layout-new.is-collapsed .sidebar-toggle {
5439
+ margin-inline: auto;
5415
5440
  }
5416
5441
  .sidebar-layout-new.is-collapsed .pv-sidebar-nav li:has(.pv-floating:popover-open) summary:not([aria-current=page]) {
5417
5442
  background-color: var(--sidebar-nav-hover-bg);
@@ -5419,6 +5444,8 @@ pv-sidebar {
5419
5444
  }
5420
5445
 
5421
5446
  .sidebar-layout.is-collapsed:not(.is-floating) .pv-sidebar-nav a:not(.pv-popover a),
5447
+ .sidebar-layout.is-collapsed:not(.is-floating) .pv-sidebar-nav-header button.pv-nav-list-item,
5448
+ .sidebar-layout.is-collapsed:not(.is-floating) .pv-sidebar-nav button.pv-nav-list-item,
5422
5449
  .sidebar-layout.is-collapsed:not(.is-floating) .pv-sidebar-nav summary {
5423
5450
  width: 2.5rem !important;
5424
5451
  padding-inline: 0;
@@ -5432,7 +5459,8 @@ pv-sidebar {
5432
5459
  }
5433
5460
 
5434
5461
  .sidebar-layout-primary .pv-sidebar-nav-header,
5435
- .sidebar-layout-primary .pv-sidebar-nav {
5462
+ .sidebar-layout-primary .pv-sidebar-nav,
5463
+ .sidebar-layout-primary .pv-sidebar-popover-portal {
5436
5464
  --sidebar-nav-text-color: #FFFFFF;
5437
5465
  --sidebar-nav-hover-bg: #0D5256;
5438
5466
  --sidebar-nav-hover-text: #FFFFFF;
@@ -5445,16 +5473,20 @@ pv-sidebar {
5445
5473
  --sidebar-nav-active-icon-color: #FFFFFF;
5446
5474
  }
5447
5475
  .sidebar-layout-primary .pv-sidebar-nav a:not([aria-current=page]) [class*=pv-icon],
5448
- .sidebar-layout-primary .pv-sidebar-nav summary:not([aria-current=page]) [class*=pv-icon] {
5476
+ .sidebar-layout-primary .pv-sidebar-nav button:not([aria-current=page]) [class*=pv-icon],
5477
+ .sidebar-layout-primary .pv-sidebar-nav summary:not([aria-current=page]) [class*=pv-icon],
5478
+ .sidebar-layout-primary .pv-sidebar-popover-portal a:not([aria-current=page]) [class*=pv-icon] {
5449
5479
  color: var(--sidebar-nav-icon-color);
5450
5480
  }
5451
5481
  .sidebar-layout-primary .pv-sidebar-nav a[aria-current=page] [class*=pv-icon],
5452
- .sidebar-layout-primary .pv-sidebar-nav summary[aria-current=page] [class*=pv-icon] {
5482
+ .sidebar-layout-primary .pv-sidebar-nav summary[aria-current=page] [class*=pv-icon],
5483
+ .sidebar-layout-primary .pv-sidebar-popover-portal a[aria-current=page] [class*=pv-icon] {
5453
5484
  color: var(--sidebar-nav-active-icon-color);
5454
5485
  }
5455
5486
 
5456
5487
  .sidebar-layout-secondary .pv-sidebar-nav-header,
5457
- .sidebar-layout-secondary .pv-sidebar-nav {
5488
+ .sidebar-layout-secondary .pv-sidebar-nav,
5489
+ .sidebar-layout-secondary .pv-sidebar-popover-portal {
5458
5490
  --sidebar-nav-text-color: #121313;
5459
5491
  --sidebar-nav-hover-bg: #ECE8E2;
5460
5492
  --sidebar-nav-hover-text: #121313;
@@ -5467,11 +5499,14 @@ pv-sidebar {
5467
5499
  --sidebar-nav-active-icon-color: #121313;
5468
5500
  }
5469
5501
  .sidebar-layout-secondary .pv-sidebar-nav a:not([aria-current=page]) [class*=pv-icon],
5470
- .sidebar-layout-secondary .pv-sidebar-nav summary:not([aria-current=page]) [class*=pv-icon] {
5502
+ .sidebar-layout-secondary .pv-sidebar-nav button:not([aria-current=page]) [class*=pv-icon],
5503
+ .sidebar-layout-secondary .pv-sidebar-nav summary:not([aria-current=page]) [class*=pv-icon],
5504
+ .sidebar-layout-secondary .pv-sidebar-popover-portal a:not([aria-current=page]) [class*=pv-icon] {
5471
5505
  color: var(--sidebar-nav-icon-color);
5472
5506
  }
5473
5507
  .sidebar-layout-secondary .pv-sidebar-nav a[aria-current=page] [class*=pv-icon],
5474
- .sidebar-layout-secondary .pv-sidebar-nav summary[aria-current=page] [class*=pv-icon] {
5508
+ .sidebar-layout-secondary .pv-sidebar-nav summary[aria-current=page] [class*=pv-icon],
5509
+ .sidebar-layout-secondary .pv-sidebar-popover-portal a[aria-current=page] [class*=pv-icon] {
5475
5510
  color: var(--sidebar-nav-active-icon-color);
5476
5511
  }
5477
5512
  .sidebar-layout-secondary .pv-popover .pv-popover-list {
@@ -5487,43 +5522,10 @@ pv-sidebar {
5487
5522
  width: 100%;
5488
5523
  color: var(--sidebar-nav-text-color);
5489
5524
  }
5490
- .pv-sidebar-nav-header details {
5491
- position: relative;
5492
- width: 100%;
5493
- }
5494
- .pv-sidebar-nav-header summary {
5495
- display: flex;
5496
- align-items: center;
5497
- gap: 0.5rem;
5498
- border-radius: 2px;
5499
- color: inherit;
5500
- list-style: none;
5501
- cursor: pointer;
5502
- min-width: 0;
5503
- white-space: nowrap;
5504
- transition-duration: 0.125s;
5505
- transition-property: background-color;
5506
- }
5507
5525
 
5508
- .pv-sidebar-nav {
5509
- --sidebar-nav-text-color: #121313;
5510
- --sidebar-nav-hover-bg: #E8F2F4;
5511
- --sidebar-nav-hover-text: #121313;
5512
- --sidebar-nav-active-bg: #C7D8DB;
5513
- --sidebar-nav-active-text: #121313;
5514
- --sidebar-nav-pressed-bg: #C7D8DB;
5515
- --sidebar-nav-nested-border: #D2D8DC;
5516
- display: flex;
5517
- flex-direction: column;
5518
- height: 100%;
5519
- padding-inline: 0.75rem;
5520
- overflow-y: auto;
5521
- overflow-x: hidden;
5522
- gap: var(--nav-list-gap, 0.25rem);
5523
- color: var(--sidebar-nav-text-color);
5524
- }
5525
- .pv-sidebar-nav a,
5526
- .pv-sidebar-nav summary {
5526
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) a,
5527
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) button.pv-nav-list-item,
5528
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) summary {
5527
5529
  display: flex;
5528
5530
  align-items: center;
5529
5531
  gap: 0.5rem;
@@ -5541,22 +5543,56 @@ pv-sidebar {
5541
5543
  transition-duration: 0.125s;
5542
5544
  transition-property: background-color;
5543
5545
  }
5544
- .pv-sidebar-nav a:hover:not([aria-current=page]), .pv-sidebar-nav a:focus-visible:not([aria-current=page]),
5545
- .pv-sidebar-nav summary:hover:not([aria-current=page]),
5546
- .pv-sidebar-nav summary:focus-visible:not([aria-current=page]) {
5546
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) a:where(button),
5547
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) button.pv-nav-list-item:where(button),
5548
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) summary:where(button) {
5549
+ width: 100%;
5550
+ border: 0;
5551
+ background-color: transparent;
5552
+ font-family: inherit;
5553
+ text-align: start;
5554
+ }
5555
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) a:hover:not([aria-current=page]), :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) a:focus-visible:not([aria-current=page]),
5556
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) button.pv-nav-list-item:hover:not([aria-current=page]),
5557
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) button.pv-nav-list-item:focus-visible:not([aria-current=page]),
5558
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) summary:hover:not([aria-current=page]),
5559
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) summary:focus-visible:not([aria-current=page]) {
5547
5560
  background-color: var(--sidebar-nav-hover-bg);
5548
5561
  color: var(--sidebar-nav-hover-text);
5549
5562
  }
5550
- .pv-sidebar-nav a:active:not([aria-current=page]),
5551
- .pv-sidebar-nav summary:active:not([aria-current=page]) {
5563
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) a:active:not([aria-current=page]),
5564
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) button.pv-nav-list-item:active:not([aria-current=page]),
5565
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) summary:active:not([aria-current=page]) {
5552
5566
  background-color: var(--sidebar-nav-pressed-bg);
5553
5567
  }
5554
- .pv-sidebar-nav a[aria-current=page],
5555
- .pv-sidebar-nav summary[aria-current=page] {
5568
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) a[aria-current=page],
5569
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) button.pv-nav-list-item[aria-current=page],
5570
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) summary[aria-current=page] {
5556
5571
  background-color: var(--sidebar-nav-active-bg);
5557
5572
  color: var(--sidebar-nav-active-text);
5558
5573
  font-weight: var(--nav-list-active-font-weight, 600);
5559
5574
  }
5575
+
5576
+ :is(.pv-sidebar-nav, .pv-sidebar-popover-portal) {
5577
+ --sidebar-nav-text-color: #121313;
5578
+ --sidebar-nav-hover-bg: #E8F2F4;
5579
+ --sidebar-nav-hover-text: #121313;
5580
+ --sidebar-nav-active-bg: #C7D8DB;
5581
+ --sidebar-nav-active-text: #121313;
5582
+ --sidebar-nav-pressed-bg: #C7D8DB;
5583
+ --sidebar-nav-nested-border: #D2D8DC;
5584
+ color: var(--sidebar-nav-text-color);
5585
+ }
5586
+
5587
+ .pv-sidebar-nav {
5588
+ display: flex;
5589
+ flex-direction: column;
5590
+ height: 100%;
5591
+ padding-inline: 0.75rem;
5592
+ overflow-y: auto;
5593
+ overflow-x: hidden;
5594
+ gap: var(--nav-list-gap, 0.25rem);
5595
+ }
5560
5596
  .pv-sidebar-nav details {
5561
5597
  position: relative;
5562
5598
  }
@@ -5579,19 +5615,20 @@ pv-sidebar {
5579
5615
  .pv-sidebar-nav .pv-sidebar-nav-footer details {
5580
5616
  position: relative;
5581
5617
  }
5582
- .pv-sidebar-nav .pv-popover .pv-popover-list a,
5583
- .pv-sidebar-nav .pv-popover .pv-popover-list label {
5618
+
5619
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) .pv-popover .pv-popover-list a,
5620
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) .pv-popover .pv-popover-list label {
5584
5621
  color: #121313;
5585
5622
  font-weight: 400;
5586
5623
  }
5587
- .pv-sidebar-nav .pv-popover .pv-popover-list a:hover, .pv-sidebar-nav .pv-popover .pv-popover-list a:focus-visible,
5588
- .pv-sidebar-nav .pv-popover .pv-popover-list label:hover,
5589
- .pv-sidebar-nav .pv-popover .pv-popover-list label:focus-visible {
5624
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) .pv-popover .pv-popover-list a:hover, :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) .pv-popover .pv-popover-list a:focus-visible,
5625
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) .pv-popover .pv-popover-list label:hover,
5626
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) .pv-popover .pv-popover-list label:focus-visible {
5590
5627
  background-color: var(--popover-list-item-hover-background-color, #E8F2F4);
5591
5628
  color: #121313;
5592
5629
  }
5593
- .pv-sidebar-nav .pv-popover .pv-popover-list a:active:not([aria-current=page]),
5594
- .pv-sidebar-nav .pv-popover .pv-popover-list label:active:not([aria-current=page]) {
5630
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) .pv-popover .pv-popover-list a:active:not([aria-current=page]),
5631
+ :is(.pv-sidebar-nav, .pv-sidebar-nav-header, .pv-sidebar-popover-portal) .pv-popover .pv-popover-list label:active:not([aria-current=page]) {
5595
5632
  background-color: var(--sidebar-nav-pressed-bg);
5596
5633
  }
5597
5634
 
@@ -765,8 +765,8 @@
765
765
  background-color: #C7D8DB;
766
766
  }
767
767
  .pv-button-icon:disabled {
768
- color: #7D898D;
769
- background-color: #ECECEC;
768
+ color: var(--button-icon-disabled-color, #7D898D);
769
+ background-color: var(--button-icon-disabled-background-color, #ECECEC);
770
770
  }
771
771
  .pv-button-icon.pv-button-small {
772
772
  padding: calc(0.25rem - 1px);
@@ -839,8 +839,8 @@
839
839
  color: var(--color-text-tertiary-active, #121313);
840
840
  }
841
841
  .pv-button-link-tertiary:disabled {
842
- color: #7D898D;
843
- background-color: transparent;
842
+ color: var(--button-link-tertiary-disabled-color, #7D898D);
843
+ background-color: var(--button-link-tertiary-disabled-background-color, transparent);
844
844
  }
845
845
 
846
846
  [class*=pv-segmented-control] {
@@ -961,7 +961,7 @@
961
961
  background-color: #218C88;
962
962
  }
963
963
  [class*=pv-button-floating]:disabled {
964
- background-color: #6E7784;
964
+ background-color: var(--button-floating-disabled-background-color, #6E7784);
965
965
  }
966
966
  [class*=pv-button-floating].pv-button-small {
967
967
  width: 2rem;
@@ -979,7 +979,7 @@
979
979
  background-color: #6FD6CE;
980
980
  }
981
981
  .pv-button-floating-on-dark:disabled {
982
- background-color: #DCDFE4;
982
+ background-color: var(--button-floating-on-dark-disabled-background-color, #DCDFE4);
983
983
  }
984
984
 
985
985
  .pv-alpha-button,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.223.0",
3
+ "version": "2.224.1-dev.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {