@turquoisehealth/pit-viper 2.266.1-dev.1 → 2.267.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 (82) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +12 -0
  2. package/_site/assets/css/pit-viper-a11y.css +12 -0
  3. package/_site/assets/css/pit-viper-consumer.css +12 -0
  4. package/_site/assets/css/pit-viper-v2-scoped.css +10 -0
  5. package/_site/assets/css/pit-viper-v2.css +12 -0
  6. package/_site/assets/css/pit-viper-v3.css +12 -0
  7. package/_site/assets/css/pit-viper.css +12 -0
  8. package/_site/manifest.json +2 -2
  9. package/package.json +1 -1
  10. package/pv-components/dist/stats/vue/ai/stats.html +1 -1
  11. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  12. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-hover-action-menu-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-v2-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  30. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  32. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  33. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  34. package/pv-components/dist/vue/ai/components/ai/PvPromptInput/PvPromptInput.vue.d.ts +4 -0
  35. package/pv-components/dist/vue/ai/components/ai/PvPromptInput/types.d.ts +12 -0
  36. package/pv-components/dist/vue/ai/components/ai/PvQuestion/types.d.ts +4 -0
  37. package/pv-components/dist/vue/ai/components/base/PvFileInput/PvFileInput.vue.d.ts +3 -0
  38. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -4
  39. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +0 -2
  40. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  41. package/pv-components/dist/vue/ai/components/base/PvRange/PvRange.vue.d.ts +2 -2
  42. package/pv-components/dist/vue/ai/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +5 -0
  43. package/pv-components/dist/vue/ai/components/base/PvTooltip/PvTooltip.vue.d.ts +1 -1
  44. package/pv-components/dist/vue/ai/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +1 -1
  45. package/pv-components/dist/vue/ai/pv-components-ai.mjs +494 -325
  46. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  47. package/pv-components/dist/vue/base/components/base/PvFileInput/PvFileInput.vue.d.ts +3 -0
  48. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -4
  49. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +0 -2
  50. package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +5 -0
  51. package/pv-components/dist/vue/base/pv-components-base.mjs +1111 -1118
  52. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  53. package/pv-components/dist/vue/visualizations/components/base/PvFileInput/PvFileInput.vue.d.ts +3 -0
  54. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -4
  55. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +0 -2
  56. package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +5 -0
  57. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +0 -7
  58. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1020 -1064
  59. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  60. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +307 -323
  61. package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +158 -151
  62. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +3 -20
  63. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +877 -887
  64. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +2 -18
  65. package/pv-components/dist/web/components/pv-menu/pv-menu.js +2 -18
  66. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +3 -20
  67. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +406 -422
  68. package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +834 -572
  69. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +2 -18
  70. package/pv-components/dist/web/components/pv-question/pv-question.js +387 -373
  71. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +460 -476
  72. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +330 -346
  73. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +2 -18
  74. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +2 -18
  75. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +244 -260
  76. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +573 -589
  77. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +382 -376
  78. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +672 -688
  79. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +414 -430
  80. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +608 -624
  81. package/pv-components/dist/web/pv-components.iife.js +39 -39
  82. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1538,20 +1538,6 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => {
1538
1538
  c.value !== t && (c.value = t);
1539
1539
  }, Ee = (e) => {
1540
1540
  h && oe.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), I(!1));
1541
- }, De = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], Oe = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), ke = (e) => {
1542
- if (!Oe.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
1543
- let [t] = De(S.value);
1544
- t && (e.preventDefault(), j.value = !0, t.focus());
1545
- }, Ae = (e) => {
1546
- if (!Oe.value) return;
1547
- let [t] = De(y.value);
1548
- if (e.key === "Escape") {
1549
- e.preventDefault(), e.stopPropagation(), M.value = !0, _e(), t?.focus();
1550
- return;
1551
- }
1552
- if (e.key !== "Tab") return;
1553
- let n = De(S.value);
1554
- e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (M.value = !0, _e(), t?.focus());
1555
1541
  };
1556
1542
  return P(c, async (e) => {
1557
1543
  if (t.showOnHover && t.enableGroupSync && N(!!e), !h) {
@@ -1592,8 +1578,7 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => {
1592
1578
  style: b(le.value),
1593
1579
  onClick: we,
1594
1580
  onFocusin: xe,
1595
- onFocusout: l[0] ||= (e) => k.value = !1,
1596
- onKeydown: ke
1581
+ onFocusout: l[0] ||= (e) => k.value = !1
1597
1582
  }, [A(r.$slots, "trigger")], 36), g.value && te(h) && m.value ? (E(), o("div", {
1598
1583
  key: 0,
1599
1584
  ref_key: "floating",
@@ -1614,8 +1599,7 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => {
1614
1599
  class: "pv-floating",
1615
1600
  style: b(pe.value),
1616
1601
  onFocusin: Se,
1617
- onFocusout: Ce,
1618
- onKeydown: Ae
1602
+ onFocusout: Ce
1619
1603
  }, [A(r.$slots, "content")], 36), [[ie, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1620
1604
  }
1621
1605
  }), $n = ["data-variant"], er = /* @__PURE__ */ d({
@@ -1665,20 +1665,6 @@ var xr = /* @__PURE__ */ new Set(), Sr = (e, t) => {
1665
1665
  c.value !== t && (c.value = t);
1666
1666
  }, Te = (e) => {
1667
1667
  h && ie.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), L(!1));
1668
- }, Ee = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], De = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Oe = (e) => {
1669
- if (!De.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
1670
- let [t] = Ee(x.value);
1671
- t && (e.preventDefault(), A.value = !0, t.focus());
1672
- }, ke = (e) => {
1673
- if (!De.value) return;
1674
- let [t] = Ee(v.value);
1675
- if (e.key === "Escape") {
1676
- e.preventDefault(), e.stopPropagation(), j.value = !0, ge(), t?.focus();
1677
- return;
1678
- }
1679
- if (e.key !== "Tab") return;
1680
- let n = Ee(x.value);
1681
- e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (j.value = !0, ge(), t?.focus());
1682
1668
  };
1683
1669
  return I(c, async (e) => {
1684
1670
  if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
@@ -1719,8 +1705,7 @@ var xr = /* @__PURE__ */ new Set(), Sr = (e, t) => {
1719
1705
  style: C(N.value),
1720
1706
  onClick: Ce,
1721
1707
  onFocusin: be,
1722
- onFocusout: l[0] ||= (e) => D.value = !1,
1723
- onKeydown: Oe
1708
+ onFocusout: l[0] ||= (e) => D.value = !1
1724
1709
  }, [ne(r.$slots, "trigger")], 36), g.value && F(h) && m.value ? (k(), o("div", {
1725
1710
  key: 0,
1726
1711
  ref_key: "floating",
@@ -1741,8 +1726,7 @@ var xr = /* @__PURE__ */ new Set(), Sr = (e, t) => {
1741
1726
  class: "pv-floating",
1742
1727
  style: C(le.value),
1743
1728
  onFocusin: xe,
1744
- onFocusout: Se,
1745
- onKeydown: ke
1729
+ onFocusout: Se
1746
1730
  }, [ne(r.$slots, "content")], 36), [[fe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1747
1731
  }
1748
1732
  }), Dr = ["data-variant"], Or = /* @__PURE__ */ d({
@@ -2117,20 +2117,6 @@ var Xr = /* @__PURE__ */ new Set(), Zr = (e, t) => {
2117
2117
  c.value !== t && (c.value = t);
2118
2118
  }, Se = (e) => {
2119
2119
  h && P.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), B(!1));
2120
- }, Ce = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], we = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Te = (e) => {
2121
- if (!we.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
2122
- let [t] = Ce(x.value);
2123
- t && (e.preventDefault(), A.value = !0, t.focus());
2124
- }, Ee = (e) => {
2125
- if (!we.value) return;
2126
- let [t] = Ce(v.value);
2127
- if (e.key === "Escape") {
2128
- e.preventDefault(), e.stopPropagation(), j.value = !0, pe(), t?.focus();
2129
- return;
2130
- }
2131
- if (e.key !== "Tab") return;
2132
- let n = Ce(x.value);
2133
- e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (j.value = !0, pe(), t?.focus());
2134
2120
  };
2135
2121
  return z(c, async (e) => {
2136
2122
  if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
@@ -2171,8 +2157,7 @@ var Xr = /* @__PURE__ */ new Set(), Zr = (e, t) => {
2171
2157
  style: C(F.value),
2172
2158
  onClick: be,
2173
2159
  onFocusin: _e,
2174
- onFocusout: l[0] ||= (e) => D.value = !1,
2175
- onKeydown: Te
2160
+ onFocusout: l[0] ||= (e) => D.value = !1
2176
2161
  }, [N(r.$slots, "trigger")], 36), g.value && L(h) && m.value ? (k(), o("div", {
2177
2162
  key: 0,
2178
2163
  ref_key: "floating",
@@ -2193,8 +2178,7 @@ var Xr = /* @__PURE__ */ new Set(), Zr = (e, t) => {
2193
2178
  class: "pv-floating",
2194
2179
  style: C(se.value),
2195
2180
  onFocusin: ve,
2196
- onFocusout: ye,
2197
- onKeydown: Ee
2181
+ onFocusout: ye
2198
2182
  }, [N(r.$slots, "content")], 36), [[ue, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
2199
2183
  }
2200
2184
  }), ni = ["data-variant"], ri = /* @__PURE__ */ d({
@@ -4808,8 +4792,7 @@ var Zo = ["data-align"], Qo = ["id", "role"], $o = /* @__PURE__ */ lt(/* @__PURE
4808
4792
  searchInput: P.value,
4809
4793
  slotContext: c.slotContext,
4810
4794
  isOpen: j.value,
4811
- isLoading: c.isLoading,
4812
- filteredOptionCount: me.value.length
4795
+ isLoading: c.isLoading
4813
4796
  })), Se = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), Ce = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), we = ce("popoverContentRef"), Te = r(() => {
4814
4797
  let e = we.value?.getRootNode();
4815
4798
  return e instanceof ShadowRoot ? e.host : null;