@turquoisehealth/pit-viper 2.214.0 → 2.216.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 (27) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +4 -0
  2. package/_site/assets/css/pit-viper-consumer.css +4 -0
  3. package/_site/assets/css/pit-viper-v2-scoped.css +3 -0
  4. package/_site/assets/css/pit-viper-v2.css +51 -10
  5. package/_site/assets/css/pit-viper.css +4 -0
  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-filter-modal-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  12. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +32 -0
  13. package/pv-components/dist/vue/base/pv-components-base.mjs +158 -136
  14. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  15. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +32 -0
  16. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/crosslineHelpers.d.ts +17 -0
  17. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +1 -5
  18. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvBenchmarkChips.vue.d.ts +5 -1
  19. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +5 -0
  20. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/useBenchmarkOverlays.d.ts +30 -0
  21. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2559 -2443
  22. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  23. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +950 -928
  24. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +2 -0
  25. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1 -1
  26. package/pv-components/dist/web/pv-components.iife.js +10 -10
  27. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -242,6 +242,10 @@
242
242
  letter-spacing: 0.12px;
243
243
  }
244
244
 
245
+ .pv-text-medium {
246
+ font-weight: 500;
247
+ }
248
+
245
249
  [class*=pv-text-title] {
246
250
  font-weight: var(--font-weight-semibold, 600);
247
251
  }
@@ -248,6 +248,10 @@
248
248
  letter-spacing: 0.12px;
249
249
  }
250
250
 
251
+ .pv-text-medium {
252
+ font-weight: 500;
253
+ }
254
+
251
255
  [class*=pv-text-title] {
252
256
  font-weight: var(--font-weight-semibold, 600);
253
257
  }
@@ -209,6 +209,9 @@
209
209
  line-height: var(--line-height-xxs, 1.45454545);
210
210
  letter-spacing: 0.12px;
211
211
  }
212
+ .pv-v2 .pv-text-medium {
213
+ font-weight: 500;
214
+ }
212
215
  .pv-v2 [class*=pv-text-title] {
213
216
  font-weight: var(--font-weight-semibold, 600);
214
217
  }
@@ -216,17 +216,17 @@
216
216
  line-height: var(--line-height-xl, 1.1428571);
217
217
  }
218
218
 
219
- .pv-text-body-lg {
219
+ .pv-text-body-lg, .pv-chart-chip-value {
220
220
  font-size: var(--font-size-l, 0.875rem);
221
221
  line-height: var(--line-height-l, 1.1428571);
222
222
  }
223
223
 
224
- .pv-text-body-md {
224
+ .pv-text-body-md, .pv-chart-chip-label, .pv-chart-chip-section-label {
225
225
  font-size: var(--font-size-m, 0.75rem);
226
226
  line-height: var(--line-height-m, 1.33333333);
227
227
  }
228
228
 
229
- .pv-text-body-sm {
229
+ .pv-text-body-sm, .pv-chart-tooltip-value, .pv-chart-tooltip-label {
230
230
  font-size: var(--font-size-s, 0.6875rem);
231
231
  line-height: var(--line-height-s, 1.45454545);
232
232
  }
@@ -242,6 +242,10 @@
242
242
  letter-spacing: 0.12px;
243
243
  }
244
244
 
245
+ .pv-text-medium, .pv-chart-chip-value, .pv-chart-chip-label, .pv-chart-chip-section-label, .pv-chart-tooltip-value {
246
+ font-weight: 500;
247
+ }
248
+
245
249
  [class*=pv-text-title] {
246
250
  font-weight: var(--font-weight-semibold, 600);
247
251
  }
@@ -1436,7 +1440,7 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
1436
1440
  color: var(--selectable-label-hover-color, #121313);
1437
1441
  background-color: var(--selectable-label-hover-background-color, #E8F2F4);
1438
1442
  }
1439
- [class*=pv-label-selectable]:hover .pv-text-subdued, [class*=pv-label-selectable]:focus-within .pv-text-subdued {
1443
+ [class*=pv-label-selectable]:hover .pv-text-subdued, [class*=pv-label-selectable]:hover .pv-chart-chip-label, [class*=pv-label-selectable]:focus-within .pv-text-subdued, [class*=pv-label-selectable]:focus-within .pv-chart-chip-label {
1440
1444
  color: var(--selectable-label-subdued-color, #176F6F);
1441
1445
  }
1442
1446
  [class*=pv-label-selectable]:active {
@@ -3571,7 +3575,7 @@ pv-dropdown-auto-close.pv-dropdown > [class*=pv-button][data-dropdown] {
3571
3575
  .pv-org-switch:hover svg {
3572
3576
  opacity: 1;
3573
3577
  }
3574
- .pv-org-switch .pv-text-subdued {
3578
+ .pv-org-switch .pv-text-subdued, .pv-org-switch .pv-chart-chip-label {
3575
3579
  color: var(--layout-primary-subdued-color, #4B595C);
3576
3580
  }
3577
3581
 
@@ -4138,9 +4142,11 @@ pv-header [slot=left] h3.pv-heading-3 {
4138
4142
  color: var(--card-hover-text-color, unset);
4139
4143
  text-decoration: none;
4140
4144
  }
4141
- .pv-card:is(a, button):hover:not(:has(button:hover, a:hover, [role=button]:hover)) .pv-text-subdued, .pv-card:is(a, button):focus-visible:not(:has(button:focus-visible, a:focus-visible, [role=button]:focus-visible)) .pv-text-subdued,
4145
+ .pv-card:is(a, button):hover:not(:has(button:hover, a:hover, [role=button]:hover)) .pv-text-subdued, .pv-card:is(a, button):hover:not(:has(button:hover, a:hover, [role=button]:hover)) .pv-chart-chip-label, .pv-card:is(a, button):focus-visible:not(:has(button:focus-visible, a:focus-visible, [role=button]:focus-visible)) .pv-text-subdued, .pv-card:is(a, button):focus-visible:not(:has(button:focus-visible, a:focus-visible, [role=button]:focus-visible)) .pv-chart-chip-label,
4142
4146
  .pv-card:has(.pv-overlay-link):hover:not(:has(button:hover, a:hover, [role=button]:hover)) .pv-text-subdued,
4143
- .pv-card:has(.pv-overlay-link):focus-visible:not(:has(button:focus-visible, a:focus-visible, [role=button]:focus-visible)) .pv-text-subdued {
4147
+ .pv-card:has(.pv-overlay-link):hover:not(:has(button:hover, a:hover, [role=button]:hover)) .pv-chart-chip-label,
4148
+ .pv-card:has(.pv-overlay-link):focus-visible:not(:has(button:focus-visible, a:focus-visible, [role=button]:focus-visible)) .pv-text-subdued,
4149
+ .pv-card:has(.pv-overlay-link):focus-visible:not(:has(button:focus-visible, a:focus-visible, [role=button]:focus-visible)) .pv-chart-chip-label {
4144
4150
  color: var(--card-hover-text-color, unset);
4145
4151
  }
4146
4152
  .pv-card:is(a, button):active:not(:has(button:active, a:active, [role=button]:active)),
@@ -5042,6 +5048,41 @@ pv-data-grid.ag-theme-pv {
5042
5048
  background-color: #E0E5E4;
5043
5049
  }
5044
5050
 
5051
+ .pv-chart-chip-value {
5052
+ line-height: 20px;
5053
+ }
5054
+
5055
+ .pv-chart-benchmark-chips {
5056
+ --flex-gap: 0.5rem;
5057
+ flex-shrink: 0;
5058
+ }
5059
+
5060
+ .pv-chart-benchmark-chip-section-label {
5061
+ align-self: stretch;
5062
+ text-align: left;
5063
+ }
5064
+
5065
+ .pv-chart-benchmark-chip {
5066
+ --flex-gap: 0.5rem;
5067
+ position: relative;
5068
+ width: 245px;
5069
+ flex-shrink: 0;
5070
+ }
5071
+
5072
+ .pv-chart-benchmark-chip:not([data-loading]):hover {
5073
+ border-color: var(--color-border, #e3e7ea);
5074
+ background: var(--surface-card-hover, #ece8e2);
5075
+ }
5076
+
5077
+ .pv-chart-benchmark-chip-accent {
5078
+ position: absolute;
5079
+ top: 0;
5080
+ bottom: 0;
5081
+ left: 0;
5082
+ width: 4px;
5083
+ border-radius: 4px 0 0 4px;
5084
+ }
5085
+
5045
5086
  .pv-layout-primary,
5046
5087
  .pv-layout-primary[data-collapsed] {
5047
5088
  font-family: var(--layout-primary-sidebar-font-family, Inter, sans-serif);
@@ -5672,15 +5713,15 @@ pv-sidebar {
5672
5713
  background: var(--color-background-brand-gradient, linear-gradient(109deg, #176F6F 0%, #02363D 100%));
5673
5714
  }
5674
5715
 
5675
- .pv-text-default {
5716
+ .pv-text-default, .pv-chart-tooltip-value, .pv-chart-chip-section-label, .pv-chart-chip-value {
5676
5717
  color: var(--color-text-body, #121313);
5677
5718
  }
5678
5719
 
5679
- .pv-text-subdued {
5720
+ .pv-text-subdued, .pv-chart-chip-label {
5680
5721
  color: var(--color-text-subdued, #4B595C);
5681
5722
  }
5682
5723
 
5683
- .pv-text-tertiary {
5724
+ .pv-text-tertiary, .pv-chart-tooltip-label {
5684
5725
  color: var(--color-text-tertiary, #6E8081);
5685
5726
  }
5686
5727
 
@@ -247,6 +247,10 @@
247
247
  letter-spacing: 0;
248
248
  }
249
249
 
250
+ .pv-text-medium {
251
+ font-weight: 500;
252
+ }
253
+
250
254
  [class*=pv-text-title] {
251
255
  font-weight: var(--font-weight-semibold, 600);
252
256
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.214.0",
3
+ "version": "2.216.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {