@turquoisehealth/pit-viper 2.267.1 → 2.268.1

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 (63) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +15 -1
  2. package/_site/assets/css/pit-viper-a11y.css +15 -1
  3. package/_site/assets/css/pit-viper-consumer.css +15 -1
  4. package/_site/assets/css/pit-viper-v2-scoped.css +13 -1
  5. package/_site/assets/css/pit-viper-v2.css +15 -1
  6. package/_site/assets/css/pit-viper-v3.css +15 -1
  7. package/_site/assets/css/pit-viper.css +1 -1
  8. package/_site/manifest.json +16 -2
  9. package/package.json +1 -1
  10. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  11. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-tabs-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/vue/ai/components/base/PvDatePicker/PvDatePicker.vue.d.ts +12 -0
  31. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
  32. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +2 -0
  33. package/pv-components/dist/vue/base/components/base/PvDatePicker/PvDatePicker.vue.d.ts +12 -0
  34. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
  35. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +2 -0
  36. package/pv-components/dist/vue/base/pv-components-base.mjs +27 -6
  37. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  38. package/pv-components/dist/vue/visualizations/components/base/PvDatePicker/PvDatePicker.vue.d.ts +12 -0
  39. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -0
  40. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +2 -0
  41. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +7 -0
  42. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +503 -453
  43. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  44. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +323 -307
  45. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +10 -3
  46. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +20 -3
  47. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +18 -2
  48. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +18 -2
  49. package/pv-components/dist/web/components/pv-menu/pv-menu.js +18 -2
  50. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +20 -3
  51. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +422 -406
  52. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +18 -2
  53. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +476 -460
  54. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +346 -330
  55. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +18 -2
  56. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +18 -2
  57. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +260 -244
  58. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +589 -573
  59. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +688 -672
  60. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +430 -414
  61. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +624 -608
  62. package/pv-components/dist/web/pv-components.iife.js +39 -39
  63. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1610,6 +1610,20 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1610
1610
  c.value !== t && (c.value = t);
1611
1611
  }, be = (e) => {
1612
1612
  h && ne.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), z(!1));
1613
+ }, xe = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], Se = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Ce = (e) => {
1614
+ if (!Se.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
1615
+ let [t] = xe(S.value);
1616
+ t && (e.preventDefault(), A.value = !0, t.focus());
1617
+ }, Te = (e) => {
1618
+ if (!Se.value) return;
1619
+ let [t] = xe(y.value);
1620
+ if (e.key === "Escape") {
1621
+ e.preventDefault(), e.stopPropagation(), M.value = !0, me(), t?.focus();
1622
+ return;
1623
+ }
1624
+ if (e.key !== "Tab") return;
1625
+ let n = xe(S.value);
1626
+ e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (M.value = !0, me(), t?.focus());
1613
1627
  };
1614
1628
  return L(c, async (e) => {
1615
1629
  if (t.showOnHover && t.enableGroupSync && te(!!e), !h) {
@@ -1650,7 +1664,8 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1650
1664
  style: x(ie.value),
1651
1665
  onClick: ve,
1652
1666
  onFocusin: ge,
1653
- onFocusout: l[0] ||= (e) => O.value = !1
1667
+ onFocusout: l[0] ||= (e) => O.value = !1,
1668
+ onKeydown: Ce
1654
1669
  }, [j(r.$slots, "trigger")], 36), g.value && I(h) && m.value ? (E(), o("div", {
1655
1670
  key: 0,
1656
1671
  ref_key: "floating",
@@ -1671,7 +1686,8 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1671
1686
  class: "pv-floating",
1672
1687
  style: x(le.value),
1673
1688
  onFocusin: _e,
1674
- onFocusout: H
1689
+ onFocusout: H,
1690
+ onKeydown: Te
1675
1691
  }, [j(r.$slots, "content")], 36), [[ae, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1676
1692
  }
1677
1693
  }), tr = ["data-variant"], nr = /* @__PURE__ */ d({
@@ -1610,6 +1610,20 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1610
1610
  c.value !== t && (c.value = t);
1611
1611
  }, be = (e) => {
1612
1612
  h && ne.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), z(!1));
1613
+ }, xe = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], Se = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Ce = (e) => {
1614
+ if (!Se.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
1615
+ let [t] = xe(S.value);
1616
+ t && (e.preventDefault(), A.value = !0, t.focus());
1617
+ }, Te = (e) => {
1618
+ if (!Se.value) return;
1619
+ let [t] = xe(y.value);
1620
+ if (e.key === "Escape") {
1621
+ e.preventDefault(), e.stopPropagation(), M.value = !0, me(), t?.focus();
1622
+ return;
1623
+ }
1624
+ if (e.key !== "Tab") return;
1625
+ let n = xe(S.value);
1626
+ e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (M.value = !0, me(), t?.focus());
1613
1627
  };
1614
1628
  return L(c, async (e) => {
1615
1629
  if (t.showOnHover && t.enableGroupSync && te(!!e), !h) {
@@ -1650,7 +1664,8 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1650
1664
  style: x(ie.value),
1651
1665
  onClick: ve,
1652
1666
  onFocusin: ge,
1653
- onFocusout: l[0] ||= (e) => O.value = !1
1667
+ onFocusout: l[0] ||= (e) => O.value = !1,
1668
+ onKeydown: Ce
1654
1669
  }, [j(r.$slots, "trigger")], 36), g.value && I(h) && m.value ? (E(), o("div", {
1655
1670
  key: 0,
1656
1671
  ref_key: "floating",
@@ -1671,7 +1686,8 @@ var Yn = /* @__PURE__ */ new Set(), Xn = (e, t) => {
1671
1686
  class: "pv-floating",
1672
1687
  style: x(le.value),
1673
1688
  onFocusin: _e,
1674
- onFocusout: H
1689
+ onFocusout: H,
1690
+ onKeydown: Te
1675
1691
  }, [j(r.$slots, "content")], 36), [[ae, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1676
1692
  }
1677
1693
  }), tr = ["data-variant"], nr = /* @__PURE__ */ d({