@turquoisehealth/pit-viper 2.151.2-dev.0 → 2.152.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 (46) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +3 -16
  2. package/_site/assets/css/pit-viper-consumer.css +53 -33
  3. package/_site/assets/css/pit-viper-v2-scoped.css +3 -16
  4. package/_site/assets/css/pit-viper-v2.css +3 -16
  5. package/_site/assets/css/pit-viper.css +3 -16
  6. package/_src/assets/sprite-v2.svg +1 -1
  7. package/_src/assets/sprite.svg +1 -1
  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-company-label-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-skeleton-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  30. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  31. package/pv-components/dist/vue/charts/pv-components-charts.d.ts +491 -0
  32. package/pv-components/dist/vue/charts/pv-components-charts.js +259 -0
  33. package/pv-components/dist/vue/charts/pv-components-charts.mjs +121834 -0
  34. package/pv-components/dist/vue/charts/pv-components-charts.umd.js +259 -0
  35. package/pv-components/dist/vue/tables/pv-components-tables.d.ts +299 -0
  36. package/pv-components/dist/vue/tables/pv-components-tables.js +223 -0
  37. package/pv-components/dist/vue/tables/pv-components-tables.mjs +47028 -0
  38. package/pv-components/dist/vue/tables/pv-components-tables.umd.js +223 -0
  39. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts +0 -3
  40. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +1 -1
  41. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +0 -1
  42. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +3541 -3761
  43. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  44. package/pv-components/dist/web/pv-components.iife.js +1 -1
  45. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
  46. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/chartTypeRegistry.d.ts +0 -27
@@ -458,7 +458,7 @@
458
458
  border-radius: var(--button-radius, 4px);
459
459
  font-size: var(--button-font-size, 0.875rem);
460
460
  transition-duration: 0.125s;
461
- transition-property: background-color, color;
461
+ transition-property: background-color, background-image, color;
462
462
  }
463
463
  :where([class*=pv-button]):disabled,
464
464
  :where([class*=pv-segmented-control] button):disabled {
@@ -687,6 +687,8 @@
687
687
  }
688
688
 
689
689
  .pv-button-small {
690
+ font-size: var(--button-small-font-size, 0.875rem);
691
+ line-height: var(--button-small-line-height, 1.2857142857);
690
692
  padding: var(--button-small-padding, calc(0.125rem - 1px) 0.25rem);
691
693
  }
692
694
  .pv-button-small.pv-button-primary-outline {
@@ -1219,21 +1221,6 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1219
1221
  position: relative;
1220
1222
  border-radius: 50%;
1221
1223
  }
1222
- .pv-radio:not(:checked):not(:disabled):hover, .pv-radio:not(:checked):not(:disabled):focus-visible {
1223
- background-color: transparent;
1224
- }
1225
- .pv-radio:not(:checked):not(:disabled):hover:after, .pv-radio:not(:checked):not(:disabled):focus-visible:after {
1226
- content: "";
1227
- display: block;
1228
- width: var(--radio-checked-after-size, 8px);
1229
- height: var(--radio-checked-after-size, 8px);
1230
- background-color: var(--radio-checked-after-background-color, #13595D);
1231
- position: absolute;
1232
- top: 50%;
1233
- left: 50%;
1234
- transform: translate(-50%, -50%);
1235
- border-radius: 50%;
1236
- }
1237
1224
  .pv-radio:indeterminate {
1238
1225
  background-color: unset;
1239
1226
  border-color: var(--color-border, #8F939E);
@@ -460,11 +460,11 @@
460
460
  gap: var(--button-gap, 0.25rem);
461
461
  white-space: nowrap;
462
462
  font-weight: var(--button-font-weight, 500);
463
- line-height: var(--button-line-height, 1.5);
463
+ line-height: var(--button-line-height, 1.25);
464
464
  border-radius: var(--button-radius, 6px);
465
465
  font-size: var(--button-font-size, 1rem);
466
466
  transition-duration: 0.125s;
467
- transition-property: background-color, color;
467
+ transition-property: background-color, background-image, color;
468
468
  }
469
469
  :where([class*=pv-button]):disabled,
470
470
  :where([class*=pv-segmented-control] button):disabled {
@@ -543,12 +543,12 @@
543
543
 
544
544
  .pv-button-secondary {
545
545
  color: var(--button-secondary-color, #1A3A39);
546
- background-color: var(--button-secondary-background-color, #FFFFFF);
547
- border-color: var(--button-secondary-border-color, #E8EBEB);
546
+ background-color: var(--button-secondary-background-color, white);
547
+ border-color: var(--button-secondary-border-color, #D1D8D7);
548
548
  }
549
549
  .pv-button-secondary:not(:disabled):hover, .pv-button-secondary:not(:disabled):focus-visible {
550
550
  color: var(--button-secondary-hover-color, #1A3A39);
551
- background-color: var(--button-secondary-hover-background-color, #F8F7F1);
551
+ background-color: var(--button-secondary-hover-background-color, #E8EBEB);
552
552
  }
553
553
  .pv-button-secondary:not(:disabled):active {
554
554
  background-color: var(--button-secondary-pressed-background-color, #C7D8DB);
@@ -693,7 +693,9 @@
693
693
  }
694
694
 
695
695
  .pv-button-small {
696
- padding: var(--button-small-padding, calc(0.125rem - 1px) 0.25rem);
696
+ font-size: var(--button-small-font-size, 0.875rem);
697
+ line-height: var(--button-small-line-height, 1.4285714286);
698
+ padding: var(--button-small-padding, 0.3125rem 1rem);
697
699
  }
698
700
  .pv-button-small.pv-button-primary-outline {
699
701
  padding: calc(0.25rem - 1px) 0.5rem;
@@ -1225,21 +1227,6 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1225
1227
  position: relative;
1226
1228
  border-radius: 50%;
1227
1229
  }
1228
- .pv-radio:not(:checked):not(:disabled):hover, .pv-radio:not(:checked):not(:disabled):focus-visible {
1229
- background-color: transparent;
1230
- }
1231
- .pv-radio:not(:checked):not(:disabled):hover:after, .pv-radio:not(:checked):not(:disabled):focus-visible:after {
1232
- content: "";
1233
- display: block;
1234
- width: var(--radio-checked-after-size, 8px);
1235
- height: var(--radio-checked-after-size, 8px);
1236
- background-color: var(--radio-checked-after-background-color, #147F85);
1237
- position: absolute;
1238
- top: 50%;
1239
- left: 50%;
1240
- transform: translate(-50%, -50%);
1241
- border-radius: 50%;
1242
- }
1243
1230
  .pv-radio:indeterminate {
1244
1231
  background-color: unset;
1245
1232
  border-color: var(--color-border, #E8EBEB);
@@ -1303,7 +1290,7 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1303
1290
  }
1304
1291
  .pv-switch input[type=checkbox] {
1305
1292
  appearance: none;
1306
- background-color: #D9DEDE;
1293
+ background-color: #E8EBEB;
1307
1294
  border-color: transparent;
1308
1295
  border-radius: 1rem;
1309
1296
  display: flex;
@@ -1315,7 +1302,7 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1315
1302
  }
1316
1303
  .pv-switch input[type=checkbox]:not(:disabled):hover,
1317
1304
  .pv-switch input[type=checkbox]:not(:disabled):focus-visible {
1318
- background-color: #F8F7F1;
1305
+ background-color: #E8EBEB;
1319
1306
  cursor: pointer;
1320
1307
  }
1321
1308
  .pv-switch input[type=checkbox]:not(:disabled):active {
@@ -1323,17 +1310,17 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1323
1310
  }
1324
1311
  .pv-switch input[type=checkbox]:checked:not(:disabled):hover,
1325
1312
  .pv-switch input[type=checkbox]:checked:not(:disabled):focus-visible {
1326
- background-color: #1A3A39;
1313
+ background-color: #36C4B8;
1327
1314
  }
1328
1315
  .pv-switch input[type=checkbox]:checked:not(:disabled):hover:after,
1329
1316
  .pv-switch input[type=checkbox]:checked:not(:disabled):focus-visible:after {
1330
1317
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.293 5.293a1 1 0 0 1 1.414 1.414l-11 11a.999.999 0 0 1-1.414 0l-5-5a1 1 0 0 1 1.414-1.414L9 15.586 19.293 5.293Z' fill='%230D5256'/%3E%3C/svg%3E");
1331
1318
  }
1332
1319
  .pv-switch input[type=checkbox]:checked:not(:disabled):active {
1333
- background-color: #1A3A39;
1320
+ background-color: #36C4B8;
1334
1321
  }
1335
1322
  .pv-switch input[type=checkbox]:checked:not(:disabled):active:after {
1336
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.293 5.293a1 1 0 0 1 1.414 1.414l-11 11a.999.999 0 0 1-1.414 0l-5-5a1 1 0 0 1 1.414-1.414L9 15.586 19.293 5.293Z' fill='%2302363D'/%3E%3C/svg%3E");
1323
+ background-image: none;
1337
1324
  }
1338
1325
  .pv-switch input[type=checkbox]:disabled,
1339
1326
  .pv-switch input[type=checkbox]:checked:disabled {
@@ -2682,8 +2669,8 @@ td:not([rowspan]) > .pv-responsive-cell {
2682
2669
  align-items: center;
2683
2670
  gap: var(--tag-gap, 0.25rem);
2684
2671
  background-color: var(--tag-background-color, #E8EBEB);
2685
- border: 1px solid var(--tag-border-color, transparent);
2686
- border-radius: var(--tag-radius, 6px);
2672
+ border: 1px solid var(--tag-border-color, #D1D8D7);
2673
+ border-radius: var(--tag-radius, 2rem);
2687
2674
  padding: var(--tag-padding, calc(0.125rem - 1px) 0.5rem);
2688
2675
  white-space: nowrap;
2689
2676
  }
@@ -2723,9 +2710,9 @@ strong[class*=pv-tag] {
2723
2710
 
2724
2711
  .pv-tag-sm {
2725
2712
  font-size: var(--tag-small-font-size, 0.875rem);
2726
- line-height: var(--tag-small-line-height, 14px);
2727
- padding: var(--tag-small-padding, 0 0.5rem);
2728
- border-radius: var(--tag-small-radius, 2px);
2713
+ line-height: var(--tag-small-line-height, 1.2857142857);
2714
+ padding: var(--tag-small-padding, 3px 7px);
2715
+ border-radius: var(--tag-small-radius, 2rem);
2729
2716
  }
2730
2717
 
2731
2718
  .pv-tag-lg {
@@ -3128,13 +3115,13 @@ button.pv-tag-secondary:active {
3128
3115
  }
3129
3116
 
3130
3117
  .pv-dropdown > [class*=pv-button] {
3131
- background-image: var(--dropdown-closed-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.151 8.151a1.2 1.2 0 0 1 1.698 0L12 13.303l5.151-5.152A1.2 1.2 0 1 1 18.85 9.85l-6 6a1.2 1.2 0 0 1-1.697 0l-6-6a1.2 1.2 0 0 1 0-1.698Z' fill='%23FFFFFF'/%3E%3C/svg%3E"));
3118
+ background-image: var(--dropdown-closed-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231a3a39' d='M3.53 6.47a.66.66 0 1 1 .94-.94L8 9.06l3.53-3.53a.66.66 0 1 1 .94.94l-4 4a.66.66 0 0 1-.94 0z'/%3E%3C/svg%3E"));
3132
3119
  background-repeat: no-repeat;
3133
3120
  background-size: 1rem 1rem;
3134
3121
  background-position: right 0.5rem center;
3135
3122
  }
3136
3123
  .pv-dropdown > [class*=pv-button][data-dropdown] {
3137
- background-image: var(--dropdown-open-icon, 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='%23FFFFFF'/%3E%3C/svg%3E"));
3124
+ background-image: var(--dropdown-open-icon, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231a3a39' d='M3.53 9.53a.66.66 0 1 0 .94.94L8 6.94l3.53 3.53a.66.66 0 1 0 .94-.94l-4-4a.66.66 0 0 0-.94 0z'/%3E%3C/svg%3E"));
3138
3125
  }
3139
3126
  .pv-dropdown > [class*=pv-button][data-dropdown] + .pv-popover {
3140
3127
  visibility: visible;
@@ -6006,3 +5993,36 @@ input.select2-search__field::placeholder {
6006
5993
  .p-datepicker-calendar-container .p-icon {
6007
5994
  height: 0.75rem;
6008
5995
  }
5996
+
5997
+ pv-dropdown-auto-close.pv-dropdown > .pv-button-secondary:focus-visible, pv-dropdown-auto-close.pv-dropdown > .pv-button-secondary:active {
5998
+ background-color: #E8EBEB;
5999
+ border-color: #36C4B8;
6000
+ }
6001
+
6002
+ .pv-switch input[type=checkbox]:after {
6003
+ height: 1rem;
6004
+ width: 1rem;
6005
+ border: 1px solid #D1D8D7;
6006
+ }
6007
+ .pv-switch input[type=checkbox]:checked {
6008
+ background-color: #36C4B8;
6009
+ }
6010
+ .pv-switch input[type=checkbox]:checked:after {
6011
+ right: 4px;
6012
+ background-image: none;
6013
+ }
6014
+ .pv-switch input[type=checkbox]:checked:not(:disabled):hover:after,
6015
+ .pv-switch input[type=checkbox]:checked:not(:disabled):active:after,
6016
+ .pv-switch input[type=checkbox]:checked:disabled:after {
6017
+ background-image: none;
6018
+ }
6019
+
6020
+ .pv-cs-button > svg {
6021
+ fill: rgba(255, 255, 255, 0.2);
6022
+ width: 15px;
6023
+ height: 18px;
6024
+ }
6025
+
6026
+ .pv-cs-button:hover > svg {
6027
+ fill: #147F85;
6028
+ }
@@ -400,7 +400,7 @@
400
400
  border-radius: var(--button-radius, 4px);
401
401
  font-size: var(--button-font-size, 0.75rem);
402
402
  transition-duration: 0.125s;
403
- transition-property: background-color, color;
403
+ transition-property: background-color, background-image, color;
404
404
  }
405
405
  .pv-v2 :where([class*=pv-button]):disabled,
406
406
  .pv-v2 :where([class*=pv-segmented-control] button):disabled {
@@ -614,6 +614,8 @@
614
614
  padding: var(--button-xsmall-padding, calc(0.125rem - 1px) 0.25rem);
615
615
  }
616
616
  .pv-v2 .pv-button-small {
617
+ font-size: var(--button-small-font-size, 0.75rem);
618
+ line-height: var(--button-small-line-height, 1.33333333);
617
619
  padding: var(--button-small-padding, calc(0.125rem - 1px) 0.25rem);
618
620
  }
619
621
  .pv-v2 .pv-button-small.pv-button-primary-outline {
@@ -1120,21 +1122,6 @@
1120
1122
  position: relative;
1121
1123
  border-radius: 50%;
1122
1124
  }
1123
- .pv-v2 .pv-radio:not(:checked):not(:disabled):hover, .pv-v2 .pv-radio:not(:checked):not(:disabled):focus-visible {
1124
- background-color: transparent;
1125
- }
1126
- .pv-v2 .pv-radio:not(:checked):not(:disabled):hover:after, .pv-v2 .pv-radio:not(:checked):not(:disabled):focus-visible:after {
1127
- content: "";
1128
- display: block;
1129
- width: var(--radio-checked-after-size, 8px);
1130
- height: var(--radio-checked-after-size, 8px);
1131
- background-color: var(--radio-checked-after-background-color, #16696D);
1132
- position: absolute;
1133
- top: 50%;
1134
- left: 50%;
1135
- transform: translate(-50%, -50%);
1136
- border-radius: 50%;
1137
- }
1138
1125
  .pv-v2 .pv-radio:indeterminate {
1139
1126
  background-color: unset;
1140
1127
  border-color: var(--color-border, #E3E7EA);
@@ -458,7 +458,7 @@
458
458
  border-radius: var(--button-radius, 4px);
459
459
  font-size: var(--button-font-size, 0.75rem);
460
460
  transition-duration: 0.125s;
461
- transition-property: background-color, color;
461
+ transition-property: background-color, background-image, color;
462
462
  }
463
463
  :where([class*=pv-button]):disabled,
464
464
  :where([class*=pv-segmented-control] button):disabled {
@@ -687,6 +687,8 @@
687
687
  }
688
688
 
689
689
  .pv-button-small {
690
+ font-size: var(--button-small-font-size, 0.75rem);
691
+ line-height: var(--button-small-line-height, 1.33333333);
690
692
  padding: var(--button-small-padding, calc(0.125rem - 1px) 0.25rem);
691
693
  }
692
694
  .pv-button-small.pv-button-primary-outline {
@@ -1219,21 +1221,6 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1219
1221
  position: relative;
1220
1222
  border-radius: 50%;
1221
1223
  }
1222
- .pv-radio:not(:checked):not(:disabled):hover, .pv-radio:not(:checked):not(:disabled):focus-visible {
1223
- background-color: transparent;
1224
- }
1225
- .pv-radio:not(:checked):not(:disabled):hover:after, .pv-radio:not(:checked):not(:disabled):focus-visible:after {
1226
- content: "";
1227
- display: block;
1228
- width: var(--radio-checked-after-size, 8px);
1229
- height: var(--radio-checked-after-size, 8px);
1230
- background-color: var(--radio-checked-after-background-color, #16696D);
1231
- position: absolute;
1232
- top: 50%;
1233
- left: 50%;
1234
- transform: translate(-50%, -50%);
1235
- border-radius: 50%;
1236
- }
1237
1224
  .pv-radio:indeterminate {
1238
1225
  background-color: unset;
1239
1226
  border-color: var(--color-border, #E3E7EA);
@@ -463,7 +463,7 @@
463
463
  border-radius: var(--button-radius, 2rem);
464
464
  font-size: var(--button-font-size, 1rem);
465
465
  transition-duration: 0.125s;
466
- transition-property: background-color, color;
466
+ transition-property: background-color, background-image, color;
467
467
  }
468
468
  :where([class*=pv-button]):disabled,
469
469
  :where([class*=pv-segmented-control] button):disabled {
@@ -692,6 +692,8 @@
692
692
  }
693
693
 
694
694
  .pv-button-small {
695
+ font-size: var(--button-small-font-size, 1rem);
696
+ line-height: var(--button-small-line-height, inherit);
695
697
  padding: var(--button-small-padding, calc(0.5rem - 1px) 1rem);
696
698
  }
697
699
  .pv-button-small.pv-button-primary-outline {
@@ -1224,21 +1226,6 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1224
1226
  position: relative;
1225
1227
  border-radius: 50%;
1226
1228
  }
1227
- .pv-radio:not(:checked):not(:disabled):hover, .pv-radio:not(:checked):not(:disabled):focus-visible {
1228
- background-color: transparent;
1229
- }
1230
- .pv-radio:not(:checked):not(:disabled):hover:after, .pv-radio:not(:checked):not(:disabled):focus-visible:after {
1231
- content: "";
1232
- display: block;
1233
- width: var(--radio-checked-after-size, 6px);
1234
- height: var(--radio-checked-after-size, 6px);
1235
- background-color: var(--radio-checked-after-background-color, #FFFFFF);
1236
- position: absolute;
1237
- top: 50%;
1238
- left: 50%;
1239
- transform: translate(-50%, -50%);
1240
- border-radius: 50%;
1241
- }
1242
1229
  .pv-radio:indeterminate {
1243
1230
  background-color: unset;
1244
1231
  border-color: var(--color-border, #DCDFE4);