@turquoisehealth/pit-viper 2.104.2-dev.0 → 2.105.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.
- package/_site/assets/css/pit-viper-v2-scoped.css +0 -19
- package/_site/assets/css/pit-viper-v2.css +0 -21
- package/_site/assets/css/pit-viper.css +0 -21
- package/_site/assets/js/pit-viper.js +133 -0
- package/package.json +11 -38
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -3
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvTooltipV2/types.d.ts +1 -2
- package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
- package/pv-components/dist/vue/base/pv-components-base.js +1546 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +6653 -4387
- package/pv-components/dist/vue/base/pv-components-base.umd.js +1546 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +176 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +5920 -3407
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +176 -0
- package/pv-components/dist/web/pv-components.iife.js +31 -31
- package/pv-components/dist/stats/vue/base/stats.html +0 -4949
- package/pv-components/dist/stats/vue/visualizations/stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-accordion-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-action-bar-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-avatar-group-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-avatar-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-banner-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-card-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-checkbox-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-company-label-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-company-logo-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-date-picker-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-date-time-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-drawer-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-icon-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-input-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-modal-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-pagination-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-pill-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-popover-menu-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-popover-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-popover-v2-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-rating-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-release-badge-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-search-input-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-select-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-selectable-card-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-side-panel-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-skeleton-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-spinner-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-sprite-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-switch-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tab-list-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tabs-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tag-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-text-area-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-toast-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tooltip-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-widget-stats.html +0 -4949
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +0 -186
- package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +0 -66
- package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +0 -96
- package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +0 -102
- package/pv-components/dist/web/components/pv-banner/pv-banner.js +0 -155
- package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +0 -92
- package/pv-components/dist/web/components/pv-button/pv-button.js +0 -173
- package/pv-components/dist/web/components/pv-card/pv-card.js +0 -80
- package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +0 -77
- package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +0 -153
- package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +0 -124
- package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +0 -204
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +0 -89
- package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +0 -7481
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +0 -577
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +0 -486
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +0 -1724
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +0 -235
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +0 -251
- package/pv-components/dist/web/components/pv-icon/pv-icon.js +0 -81
- package/pv-components/dist/web/components/pv-input/pv-input.js +0 -123
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +0 -293
- package/pv-components/dist/web/components/pv-modal/pv-modal.js +0 -118
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +0 -2752
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +0 -286
- package/pv-components/dist/web/components/pv-pill/pv-pill.js +0 -160
- package/pv-components/dist/web/components/pv-popover/pv-popover.js +0 -1417
- package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +0 -1439
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +0 -1421
- package/pv-components/dist/web/components/pv-rating/pv-rating.js +0 -78
- package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +0 -74
- package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +0 -170
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +0 -145
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +0 -2563
- package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +0 -85
- package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +0 -80
- package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +0 -1525
- package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +0 -83
- package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +0 -82
- package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +0 -126
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +0 -94
- package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +0 -100
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +0 -178
- package/pv-components/dist/web/components/pv-tag/pv-tag.js +0 -141
- package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +0 -120
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +0 -223
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +0 -139
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +0 -2887
- package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +0 -90
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +0 -1489
- package/pv-components/dist/web/components/pv-widget/pv-widget.js +0 -91
- package/pv-components/dist/web/vue.runtime.esm-browser.prod.js +0 -7
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, createElementBlock as l, openBlock as s, normalizeClass as d, renderSlot as i, createElementVNode as u, defineCustomElement as p } from "vue";
|
|
2
|
-
const m = ["data-position", "aria-labelledby", "data-style", "data-static"], f = ["id"], h = { key: 1 }, v = /* @__PURE__ */ c({
|
|
3
|
-
__name: "PvTooltip",
|
|
4
|
-
props: {
|
|
5
|
-
variant: { default: "white", type: String },
|
|
6
|
-
tooltipPosition: { default: "top-right", type: String },
|
|
7
|
-
ariaLabelledBy: { default: "ariaLabelledById", type: String },
|
|
8
|
-
size: { default: "md", type: String },
|
|
9
|
-
interactive: { type: Boolean, default: !0 },
|
|
10
|
-
delay: { default: 0, type: Number }
|
|
11
|
-
},
|
|
12
|
-
setup(e) {
|
|
13
|
-
return (t, o) => t.$slots["tooltip-content"] ? (s(), l("div", {
|
|
14
|
-
key: 0,
|
|
15
|
-
"data-testid": "pv-tooltip",
|
|
16
|
-
class: d([
|
|
17
|
-
"pv-tooltip",
|
|
18
|
-
{
|
|
19
|
-
"pv-tooltip-small": e.size === "sm"
|
|
20
|
-
}
|
|
21
|
-
]),
|
|
22
|
-
"data-position": e.tooltipPosition,
|
|
23
|
-
"aria-labelledby": e.ariaLabelledBy,
|
|
24
|
-
"data-style": e.variant === "white" ? "white" : "dark",
|
|
25
|
-
"data-static": e.interactive === !1 ? !0 : void 0
|
|
26
|
-
}, [
|
|
27
|
-
i(t.$slots, "label"),
|
|
28
|
-
u("div", {
|
|
29
|
-
role: "tooltip",
|
|
30
|
-
id: e.ariaLabelledBy,
|
|
31
|
-
"data-testid": "pv-tooltip-content"
|
|
32
|
-
}, [
|
|
33
|
-
i(t.$slots, "tooltip-content")
|
|
34
|
-
], 8, f)
|
|
35
|
-
], 10, m)) : (s(), l("div", h, [
|
|
36
|
-
i(t.$slots, "label")
|
|
37
|
-
]));
|
|
38
|
-
}
|
|
39
|
-
}), y = /* @__PURE__ */ new Set(["PvIcon", "PvPopoverMenu", "PvPopover"]);
|
|
40
|
-
function b(e) {
|
|
41
|
-
return !y.has(e);
|
|
42
|
-
}
|
|
43
|
-
function r(e, t) {
|
|
44
|
-
const o = document.querySelector('link[href*="' + t + '"]');
|
|
45
|
-
if (!e.shadowRoot)
|
|
46
|
-
return !1;
|
|
47
|
-
if (o && e.shadowRoot) {
|
|
48
|
-
const n = o.href;
|
|
49
|
-
if (e.shadowRoot.querySelector(`link[href="${n}"]`))
|
|
50
|
-
return;
|
|
51
|
-
const a = document.createElement("link");
|
|
52
|
-
return a.rel = "stylesheet", a.href = n, e.shadowRoot.prepend(a), !0;
|
|
53
|
-
}
|
|
54
|
-
return !1;
|
|
55
|
-
}
|
|
56
|
-
function w(e) {
|
|
57
|
-
if (!r(e, "pit-viper-v2")) {
|
|
58
|
-
if (r(e, "pit-viper")) {
|
|
59
|
-
r(e, "pit-viper-v2-scoped");
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
console.warn(
|
|
63
|
-
"No global styles found for Pit Viper components. Make sure to include pit-viper.css or pit-viper-v2.css in your project."
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
const S = (e) => ({ shadowRoot: b(e) });
|
|
68
|
-
function C(e) {
|
|
69
|
-
const t = e.__name || e.name;
|
|
70
|
-
if (!t)
|
|
71
|
-
throw new Error("Component must have a __name or name property");
|
|
72
|
-
const o = p(e, S(t));
|
|
73
|
-
class n extends o {
|
|
74
|
-
connectedCallback() {
|
|
75
|
-
super.connectedCallback?.(), w(this);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
return n;
|
|
79
|
-
}
|
|
80
|
-
function E(e) {
|
|
81
|
-
return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
|
|
82
|
-
}
|
|
83
|
-
function k(e) {
|
|
84
|
-
const t = e.__name || e.name;
|
|
85
|
-
if (!t)
|
|
86
|
-
throw new Error("Component must have a __name or name property");
|
|
87
|
-
const o = E(t), n = C(e);
|
|
88
|
-
customElements.get(o) || customElements.define(o, n);
|
|
89
|
-
}
|
|
90
|
-
k(v);
|