@turquoisehealth/pit-viper 2.182.0 → 2.182.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 (93) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +1 -1
  2. package/_site/assets/css/pit-viper-consumer.css +1 -1
  3. package/_site/assets/css/pit-viper-v2-scoped.css +1 -1
  4. package/_site/assets/css/pit-viper-v2.css +1 -1
  5. package/_site/assets/css/pit-viper.css +1 -1
  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-accordion-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-avatar-group-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-checkbox-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-counter-badge-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-expandable-content-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  30. package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  32. package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
  33. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  34. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  35. package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.vue.d.ts +2 -0
  36. package/pv-components/dist/vue/base/components/base/PvAvatarGroup/types.d.ts +2 -0
  37. package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +2 -0
  38. package/pv-components/dist/vue/base/components/base/PvCheckbox/PvCheckbox.vue.d.ts +2 -0
  39. package/pv-components/dist/vue/base/components/base/PvMenu/cascadeUtils.d.ts +2 -1
  40. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +1 -1
  41. package/pv-components/dist/vue/base/components/base/PvRange/PvRange.vue.d.ts +2 -0
  42. package/pv-components/dist/vue/base/components/base/PvSegmentedControl/types.d.ts +2 -0
  43. package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.vue.d.ts +2 -1
  44. package/pv-components/dist/vue/base/pv-components-base.mjs +1178 -1068
  45. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  46. package/pv-components/dist/vue/base/types.d.ts +7 -4
  47. package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.vue.d.ts +2 -0
  48. package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/types.d.ts +2 -0
  49. package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +2 -0
  50. package/pv-components/dist/vue/visualizations/components/base/PvCheckbox/PvCheckbox.vue.d.ts +2 -0
  51. package/pv-components/dist/vue/visualizations/components/base/PvMenu/cascadeUtils.d.ts +2 -1
  52. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +1 -1
  53. package/pv-components/dist/vue/visualizations/components/base/PvRange/PvRange.vue.d.ts +2 -0
  54. package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/types.d.ts +2 -0
  55. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.vue.d.ts +2 -1
  56. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +14 -0
  57. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOverlayMenuItemRenderer.vue.d.ts +11 -0
  58. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +14 -0
  59. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +5 -1
  60. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +20 -17
  61. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +2 -0
  62. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +9 -8
  63. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1843 -1402
  64. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  65. package/pv-components/dist/vue/visualizations/types.d.ts +7 -4
  66. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +3 -3
  67. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +4 -3
  68. package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +4 -2
  69. package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +3 -2
  70. package/pv-components/dist/web/components/pv-button/pv-button.js +7 -5
  71. package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +8 -2
  72. package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +2 -2
  73. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +8 -5
  74. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +8 -6
  75. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +8 -5
  76. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +10 -7
  77. package/pv-components/dist/web/components/pv-menu/pv-menu.js +2121 -885
  78. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1758 -1621
  79. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +11 -7
  80. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +816 -806
  81. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +2499 -1493
  82. package/pv-components/dist/web/components/pv-range/pv-range.js +481 -477
  83. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +733 -719
  84. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1183 -1089
  85. package/pv-components/dist/web/components/pv-switch/pv-switch.js +408 -405
  86. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2 -2
  87. package/pv-components/dist/web/components/pv-toast/pv-toast.js +8 -5
  88. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +665 -655
  89. package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +8 -5
  90. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +664 -654
  91. package/pv-components/dist/web/components/pv-tree/pv-tree.js +11 -5
  92. package/pv-components/dist/web/pv-components.iife.js +20 -20
  93. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -96,7 +96,7 @@ var O = [
96
96
  "pv-badge-md pv-text-body-md": r.value == "md",
97
97
  "pv-badge-sm pv-text-body-sm": r.value == "sm",
98
98
  "pv-surface-brand-inverse pv-text-inverse": n.variant == "primary",
99
- "pv-surface pv-bordered": n.variant == "secondary",
99
+ "pv-badge-secondary": n.variant == "secondary",
100
100
  "pv-surface-lighten-5": n.variant == "tertiary",
101
101
  "pv-text-secondary": n.variant == "ghost" || n.variant == "tertiary",
102
102
  "pv-surface": n.variant == "ghost"
@@ -106,11 +106,11 @@ var O = [
106
106
  "data-testid": "pv-counter-badge"
107
107
  }, y(a.value), 3));
108
108
  }
109
- }), M = ".pv-badge-md[data-v-1ce1cb53]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-1ce1cb53]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-1ce1cb53]{background-color:#e0e5e4}.pv-text-secondary[data-v-1ce1cb53]{color:#4b595c}", N = (e, t) => {
109
+ }), M = ".pv-badge-md[data-v-743a2e13]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-743a2e13]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-743a2e13]{background-color:#e0e5e4}.pv-text-secondary[data-v-743a2e13]{color:#4b595c}", N = (e, t) => {
110
110
  let n = e.__vccOpts || e;
111
111
  for (let [e, r] of t) n[e] = r;
112
112
  return n;
113
- }, te = /* @__PURE__ */ N(j, [["styles", [M]], ["__scopeId", "data-v-1ce1cb53"]]), ne = ["disabled"], re = {
113
+ }, te = /* @__PURE__ */ N(j, [["styles", [M]], ["__scopeId", "data-v-743a2e13"]]), ne = ["disabled", "aria-label"], re = {
114
114
  key: 2,
115
115
  "data-testid": "pv-button-label"
116
116
  }, ie = /* @__PURE__ */ s({
@@ -140,10 +140,11 @@ var O = [
140
140
  default: !1
141
141
  },
142
142
  leftCounterBadge: { type: Number },
143
- rightCounterBadge: { type: Number }
143
+ rightCounterBadge: { type: Number },
144
+ ariaLabel: { type: String }
144
145
  },
145
146
  setup(a) {
146
- let o = a, s = t(() => {
147
+ let o = a, s = t(() => !o.label || o.loading ? o.label || o.ariaLabel : void 0), c = t(() => {
147
148
  let e = [];
148
149
  o.inverse && w.includes(o.variant) ? e.push(`pv-button-${o.variant}-inverse`) : e.push(`pv-button-${o.variant}`);
149
150
  let t = E(o.size);
@@ -151,8 +152,9 @@ var O = [
151
152
  });
152
153
  return (t, o) => (h(), i("button", {
153
154
  type: "button",
154
- class: f(s.value),
155
+ class: f(c.value),
155
156
  disabled: a.disabled,
157
+ "aria-label": s.value,
156
158
  "data-testid": "pv-button"
157
159
  }, [a.loading ? (h(), n(C, {
158
160
  key: 0,
@@ -245,6 +247,7 @@ var O = [
245
247
  "data-testid": "pagination-left-arrow-icon",
246
248
  disabled: r.value === 1,
247
249
  "left-icon": "chevron-left",
250
+ ariaLabel: "Previous page",
248
251
  variant: "ghost",
249
252
  onClick: c[0] ||= (e) => s.$emit("update:modelValue", r.value - 1)
250
253
  }, null, 8, ["disabled"])]),
@@ -263,12 +266,13 @@ var O = [
263
266
  "data-testid": "pagination-right-arrow-icon",
264
267
  disabled: r.value === t.maxPages,
265
268
  "left-icon": "chevron-right",
269
+ ariaLabel: "Next page",
266
270
  variant: "ghost",
267
271
  onClick: c[1] ||= (e) => s.$emit("update:modelValue", r.value + 1)
268
272
  }, null, 8, ["disabled"])])
269
273
  ], 8, se));
270
274
  }
271
- }), [["styles", [".dots-button[data-v-d470244b]{color:#4b595c;background-color:#0000}"]], ["__scopeId", "data-v-d470244b"]]), fe = Object.defineProperty, pe = Object.getOwnPropertySymbols, me = Object.prototype.hasOwnProperty, he = Object.prototype.propertyIsEnumerable, ge = (e, t, n) => t in e ? fe(e, t, {
275
+ }), [["styles", [".dots-button[data-v-6c36dca2]{color:#4b595c;background-color:#0000}"]], ["__scopeId", "data-v-6c36dca2"]]), fe = Object.defineProperty, pe = Object.getOwnPropertySymbols, me = Object.prototype.hasOwnProperty, he = Object.prototype.propertyIsEnumerable, ge = (e, t, n) => t in e ? fe(e, t, {
272
276
  enumerable: !0,
273
277
  configurable: !0,
274
278
  writable: !0,