@turquoisehealth/pit-viper 2.182.0 → 2.182.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.
- package/_site/assets/css/pit-viper-a11y.css +1 -1
- package/_site/assets/css/pit-viper-consumer.css +1 -1
- package/_site/assets/css/pit-viper-v2-scoped.css +1 -1
- package/_site/assets/css/pit-viper-v2.css +1 -1
- package/_site/assets/css/pit-viper.css +1 -1
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-avatar-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-checkbox-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvAvatarGroup/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvCheckbox/PvCheckbox.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/cascadeUtils.d.ts +2 -1
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvRange/PvRange.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvSegmentedControl/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.vue.d.ts +2 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +1178 -1068
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/base/types.d.ts +7 -4
- package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCheckbox/PvCheckbox.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/cascadeUtils.d.ts +2 -1
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvRange/PvRange.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.vue.d.ts +2 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +14 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOverlayMenuItemRenderer.vue.d.ts +11 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +14 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +5 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +20 -17
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +9 -8
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1844 -1403
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/types.d.ts +7 -4
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +3 -3
- package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +4 -3
- package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +4 -2
- package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +3 -2
- package/pv-components/dist/web/components/pv-button/pv-button.js +7 -5
- package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +8 -2
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +2 -2
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +8 -5
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +8 -6
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +8 -5
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +10 -7
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +2121 -885
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1758 -1621
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +11 -7
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +816 -806
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +2499 -1493
- package/pv-components/dist/web/components/pv-range/pv-range.js +481 -477
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +733 -719
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1183 -1089
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +408 -405
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2 -2
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +8 -5
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +665 -655
- package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +8 -5
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +664 -654
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +11 -5
- package/pv-components/dist/web/pv-components.iife.js +20 -20
- 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-
|
|
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-
|
|
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-
|
|
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-
|
|
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(
|
|
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));
|