@turquoisehealth/pit-viper 2.224.1-dev.0 → 2.224.1-dev.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 (27) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
  8. package/pv-components/dist/vue/ai/components/base/PvButton/types.d.ts +1 -1
  9. package/pv-components/dist/vue/ai/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
  10. package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +1 -1
  11. package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
  12. package/pv-components/dist/vue/base/pv-components-base.mjs +28 -7
  13. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  14. package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +1 -1
  15. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
  16. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/crosslineHelpers.d.ts +2 -1
  17. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +3 -2
  18. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +6 -0
  19. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/useBenchmarkOverlays.d.ts +1 -0
  20. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +93 -67
  21. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  22. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +28 -7
  23. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +28 -7
  24. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +28 -7
  25. package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +425 -404
  26. package/pv-components/dist/web/pv-components.iife.js +1 -1
  27. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -796,23 +796,44 @@ var Ft = [
796
796
  }
797
797
  },
798
798
  setup(e) {
799
- let { present: t } = Pt("tooltip-content");
800
- return (n, r) => (k(), o("div", {
799
+ let t = e, n = oe("rootRef"), { present: i } = Pt("tooltip-content", { host: r(() => {
800
+ let e = n.value?.getRootNode();
801
+ return e instanceof ShadowRoot ? e.host : null;
802
+ }) }), s = r(() => t.delay > 0), c = N(!1), l = N(!1), u, d = () => {
803
+ u && clearTimeout(u), u = void 0;
804
+ }, f = r(() => !s.value || c.value || l.value), p = () => {
805
+ s.value && (d(), u = setTimeout(() => {
806
+ u = void 0, l.value = !0;
807
+ }, t.delay));
808
+ }, m = () => {
809
+ s.value && (d(), l.value = !1);
810
+ }, h = () => {
811
+ s.value && (c.value = !0);
812
+ }, g = () => {
813
+ s.value && (c.value = !1);
814
+ };
815
+ return w(d), (t, r) => (k(), o("div", {
816
+ ref_key: "rootRef",
817
+ ref: n,
801
818
  "data-testid": "pv-tooltip",
802
819
  class: x([{
803
- "pv-tooltip": R(t),
804
- "pv-tooltip-small": R(t) && e.size === "sm"
820
+ "pv-tooltip": R(i),
821
+ "pv-tooltip-small": R(i) && e.size === "sm"
805
822
  }]),
806
823
  "data-position": e.tooltipPosition,
807
824
  "data-style": e.variant === "white" ? "white" : "dark",
808
825
  "data-static": e.disableInteractive ? !0 : void 0,
809
- "aria-labelledby": R(t) ? e.ariaLabelledBy : void 0
810
- }, [P(n.$slots, "label"), R(t) ? (k(), o("div", {
826
+ "aria-labelledby": R(i) ? e.ariaLabelledBy : void 0,
827
+ onMouseenter: p,
828
+ onMouseleave: m,
829
+ onFocusin: h,
830
+ onFocusout: g
831
+ }, [P(t.$slots, "label"), R(i) ? fe((k(), o("div", {
811
832
  key: 0,
812
833
  role: "tooltip",
813
834
  id: e.ariaLabelledBy,
814
835
  "data-testid": "pv-tooltip-content"
815
- }, [P(n.$slots, "tooltip-content")], 8, It)) : a("v-if", !0)], 10, Ft));
836
+ }, [P(t.$slots, "tooltip-content")], 8, It)), [[le, f.value]]) : a("v-if", !0)], 42, Ft));
816
837
  }
817
838
  }), Rt = ["disabled"], zt = { class: "pv-flex pv-select-button-trigger-content" }, Bt = {
818
839
  key: 0,
@@ -768,23 +768,44 @@ var jt = [
768
768
  }
769
769
  },
770
770
  setup(e) {
771
- let { present: t } = At("tooltip-content");
772
- return (n, r) => (k(), o("div", {
771
+ let t = e, n = oe("rootRef"), { present: i } = At("tooltip-content", { host: r(() => {
772
+ let e = n.value?.getRootNode();
773
+ return e instanceof ShadowRoot ? e.host : null;
774
+ }) }), s = r(() => t.delay > 0), c = N(!1), l = N(!1), u, d = () => {
775
+ u && clearTimeout(u), u = void 0;
776
+ }, f = r(() => !s.value || c.value || l.value), p = () => {
777
+ s.value && (d(), u = setTimeout(() => {
778
+ u = void 0, l.value = !0;
779
+ }, t.delay));
780
+ }, m = () => {
781
+ s.value && (d(), l.value = !1);
782
+ }, h = () => {
783
+ s.value && (c.value = !0);
784
+ }, g = () => {
785
+ s.value && (c.value = !1);
786
+ };
787
+ return w(d), (t, r) => (k(), o("div", {
788
+ ref_key: "rootRef",
789
+ ref: n,
773
790
  "data-testid": "pv-tooltip",
774
791
  class: x([{
775
- "pv-tooltip": R(t),
776
- "pv-tooltip-small": R(t) && e.size === "sm"
792
+ "pv-tooltip": R(i),
793
+ "pv-tooltip-small": R(i) && e.size === "sm"
777
794
  }]),
778
795
  "data-position": e.tooltipPosition,
779
796
  "data-style": e.variant === "white" ? "white" : "dark",
780
797
  "data-static": e.disableInteractive ? !0 : void 0,
781
- "aria-labelledby": R(t) ? e.ariaLabelledBy : void 0
782
- }, [P(n.$slots, "label"), R(t) ? (k(), o("div", {
798
+ "aria-labelledby": R(i) ? e.ariaLabelledBy : void 0,
799
+ onMouseenter: p,
800
+ onMouseleave: m,
801
+ onFocusin: h,
802
+ onFocusout: g
803
+ }, [P(t.$slots, "label"), R(i) ? fe((k(), o("div", {
783
804
  key: 0,
784
805
  role: "tooltip",
785
806
  id: e.ariaLabelledBy,
786
807
  "data-testid": "pv-tooltip-content"
787
- }, [P(n.$slots, "tooltip-content")], 8, Mt)) : a("v-if", !0)], 10, jt));
808
+ }, [P(t.$slots, "tooltip-content")], 8, Mt)), [[le, f.value]]) : a("v-if", !0)], 42, jt));
788
809
  }
789
810
  }), Pt = ["disabled"], Ft = { class: "pv-flex pv-select-button-trigger-content" }, It = {
790
811
  key: 0,
@@ -616,23 +616,44 @@ var Et = [
616
616
  }
617
617
  },
618
618
  setup(e) {
619
- let { present: t } = Tt("tooltip-content");
620
- return (n, r) => (k(), o("div", {
619
+ let t = e, n = ue("rootRef"), { present: i } = Tt("tooltip-content", { host: r(() => {
620
+ let e = n.value?.getRootNode();
621
+ return e instanceof ShadowRoot ? e.host : null;
622
+ }) }), s = r(() => t.delay > 0), c = M(!1), l = M(!1), u, d = () => {
623
+ u && clearTimeout(u), u = void 0;
624
+ }, f = r(() => !s.value || c.value || l.value), p = () => {
625
+ s.value && (d(), u = setTimeout(() => {
626
+ u = void 0, l.value = !0;
627
+ }, t.delay));
628
+ }, m = () => {
629
+ s.value && (d(), l.value = !1);
630
+ }, h = () => {
631
+ s.value && (c.value = !0);
632
+ }, g = () => {
633
+ s.value && (c.value = !1);
634
+ };
635
+ return w(d), (t, r) => (k(), o("div", {
636
+ ref_key: "rootRef",
637
+ ref: n,
621
638
  "data-testid": "pv-tooltip",
622
639
  class: x([{
623
- "pv-tooltip": F(t),
624
- "pv-tooltip-small": F(t) && e.size === "sm"
640
+ "pv-tooltip": F(i),
641
+ "pv-tooltip-small": F(i) && e.size === "sm"
625
642
  }]),
626
643
  "data-position": e.tooltipPosition,
627
644
  "data-style": e.variant === "white" ? "white" : "dark",
628
645
  "data-static": e.disableInteractive ? !0 : void 0,
629
- "aria-labelledby": F(t) ? e.ariaLabelledBy : void 0
630
- }, [ne(n.$slots, "label"), F(t) ? (k(), o("div", {
646
+ "aria-labelledby": F(i) ? e.ariaLabelledBy : void 0,
647
+ onMouseenter: p,
648
+ onMouseleave: m,
649
+ onFocusin: h,
650
+ onFocusout: g
651
+ }, [ne(t.$slots, "label"), F(i) ? ge((k(), o("div", {
631
652
  key: 0,
632
653
  role: "tooltip",
633
654
  id: e.ariaLabelledBy,
634
655
  "data-testid": "pv-tooltip-content"
635
- }, [ne(n.$slots, "tooltip-content")], 8, Dt)) : a("v-if", !0)], 10, Et));
656
+ }, [ne(t.$slots, "tooltip-content")], 8, Dt)), [[pe, f.value]]) : a("v-if", !0)], 42, Et));
636
657
  }
637
658
  }), kt = ["ghost"], At = {
638
659
  md: "pv-button-small",