@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
@@ -32,7 +32,7 @@ var x = /* @__PURE__ */ ((e, t) => {
32
32
  "pv-badge-md pv-text-body-md": r.value == "md",
33
33
  "pv-badge-sm pv-text-body-sm": r.value == "sm",
34
34
  "pv-surface-brand-inverse pv-text-inverse": n.variant == "primary",
35
- "pv-surface pv-bordered": n.variant == "secondary",
35
+ "pv-badge-secondary": n.variant == "secondary",
36
36
  "pv-surface-lighten-5": n.variant == "tertiary",
37
37
  "pv-text-secondary": n.variant == "ghost" || n.variant == "tertiary",
38
38
  "pv-surface": n.variant == "ghost"
@@ -42,7 +42,7 @@ var x = /* @__PURE__ */ ((e, t) => {
42
42
  "data-testid": "pv-counter-badge"
43
43
  }, v(a.value), 3));
44
44
  }
45
- }), [["styles", [".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}"]], ["__scopeId", "data-v-1ce1cb53"]]);
45
+ }), [["styles", [".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}"]], ["__scopeId", "data-v-743a2e13"]]);
46
46
  //#endregion
47
47
  //#region src/web-components/utils.ts
48
48
  function S() {
@@ -96,7 +96,7 @@ var x = [
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,7 +106,7 @@ var x = [
106
106
  "data-testid": "pv-counter-badge"
107
107
  }, v(a.value), 3));
108
108
  }
109
- }), [["styles", [".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}"]], ["__scopeId", "data-v-1ce1cb53"]]), k = ["disabled"], A = {
109
+ }), [["styles", [".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}"]], ["__scopeId", "data-v-743a2e13"]]), k = ["disabled", "aria-label"], A = {
110
110
  key: 2,
111
111
  "data-testid": "pv-button-label"
112
112
  }, j = /* @__PURE__ */ s({
@@ -136,10 +136,11 @@ var x = [
136
136
  default: !1
137
137
  },
138
138
  leftCounterBadge: { type: Number },
139
- rightCounterBadge: { type: Number }
139
+ rightCounterBadge: { type: Number },
140
+ ariaLabel: { type: String }
140
141
  },
141
142
  setup(a) {
142
- let o = a, s = t(() => {
143
+ let o = a, s = t(() => !o.label || o.loading ? o.label || o.ariaLabel : void 0), c = t(() => {
143
144
  let e = [];
144
145
  o.inverse && T.includes(o.variant) ? e.push(`pv-button-${o.variant}-inverse`) : e.push(`pv-button-${o.variant}`);
145
146
  let t = D(o.size);
@@ -147,8 +148,9 @@ var x = [
147
148
  });
148
149
  return (t, o) => (m(), i("button", {
149
150
  type: "button",
150
- class: d(s.value),
151
+ class: d(c.value),
151
152
  disabled: a.disabled,
153
+ "aria-label": s.value,
152
154
  "data-testid": "pv-button"
153
155
  }, [a.loading ? (m(), n(w, {
154
156
  key: 0,
@@ -212,6 +214,7 @@ var x = [
212
214
  inverse: e.variant === "dark",
213
215
  size: "lg",
214
216
  "left-icon": "close",
217
+ ariaLabel: "Close",
215
218
  onClick: s[0] ||= (e) => r.$emit("handle-close")
216
219
  }, null, 8, ["inverse"])
217
220
  ], 2));