@turquoisehealth/pit-viper 2.182.0 → 2.182.1-dev.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-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 +1843 -1402
- 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
|
@@ -96,7 +96,7 @@ var O = [
|
|
|
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,11 +106,11 @@ var O = [
|
|
|
106
106
|
"data-testid": "pv-counter-badge"
|
|
107
107
|
}, y(a.value), 3));
|
|
108
108
|
}
|
|
109
|
-
}), M = ".pv-badge-md[data-v-
|
|
109
|
+
}), M = ".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}", N = (e, t) => {
|
|
110
110
|
let n = e.__vccOpts || e;
|
|
111
111
|
for (let [e, r] of t) n[e] = r;
|
|
112
112
|
return n;
|
|
113
|
-
}, te = /* @__PURE__ */ N(j, [["styles", [M]], ["__scopeId", "data-v-
|
|
113
|
+
}, te = /* @__PURE__ */ N(j, [["styles", [M]], ["__scopeId", "data-v-743a2e13"]]), ne = ["disabled", "aria-label"], re = {
|
|
114
114
|
key: 2,
|
|
115
115
|
"data-testid": "pv-button-label"
|
|
116
116
|
}, ie = /* @__PURE__ */ s({
|
|
@@ -140,10 +140,11 @@ var O = [
|
|
|
140
140
|
default: !1
|
|
141
141
|
},
|
|
142
142
|
leftCounterBadge: { type: Number },
|
|
143
|
-
rightCounterBadge: { type: Number }
|
|
143
|
+
rightCounterBadge: { type: Number },
|
|
144
|
+
ariaLabel: { type: String }
|
|
144
145
|
},
|
|
145
146
|
setup(a) {
|
|
146
|
-
let o = a, s = t(() => {
|
|
147
|
+
let o = a, s = t(() => !o.label || o.loading ? o.label || o.ariaLabel : void 0), c = t(() => {
|
|
147
148
|
let e = [];
|
|
148
149
|
o.inverse && w.includes(o.variant) ? e.push(`pv-button-${o.variant}-inverse`) : e.push(`pv-button-${o.variant}`);
|
|
149
150
|
let t = E(o.size);
|
|
@@ -151,8 +152,9 @@ var O = [
|
|
|
151
152
|
});
|
|
152
153
|
return (t, o) => (h(), i("button", {
|
|
153
154
|
type: "button",
|
|
154
|
-
class: f(
|
|
155
|
+
class: f(c.value),
|
|
155
156
|
disabled: a.disabled,
|
|
157
|
+
"aria-label": s.value,
|
|
156
158
|
"data-testid": "pv-button"
|
|
157
159
|
}, [a.loading ? (h(), n(C, {
|
|
158
160
|
key: 0,
|
|
@@ -245,6 +247,7 @@ var O = [
|
|
|
245
247
|
"data-testid": "pagination-left-arrow-icon",
|
|
246
248
|
disabled: r.value === 1,
|
|
247
249
|
"left-icon": "chevron-left",
|
|
250
|
+
ariaLabel: "Previous page",
|
|
248
251
|
variant: "ghost",
|
|
249
252
|
onClick: c[0] ||= (e) => s.$emit("update:modelValue", r.value - 1)
|
|
250
253
|
}, null, 8, ["disabled"])]),
|
|
@@ -263,12 +266,13 @@ var O = [
|
|
|
263
266
|
"data-testid": "pagination-right-arrow-icon",
|
|
264
267
|
disabled: r.value === t.maxPages,
|
|
265
268
|
"left-icon": "chevron-right",
|
|
269
|
+
ariaLabel: "Next page",
|
|
266
270
|
variant: "ghost",
|
|
267
271
|
onClick: c[1] ||= (e) => s.$emit("update:modelValue", r.value + 1)
|
|
268
272
|
}, null, 8, ["disabled"])])
|
|
269
273
|
], 8, se));
|
|
270
274
|
}
|
|
271
|
-
}), [["styles", [".dots-button[data-v-
|
|
275
|
+
}), [["styles", [".dots-button[data-v-6c36dca2]{color:#4b595c;background-color:#0000}"]], ["__scopeId", "data-v-6c36dca2"]]), fe = Object.defineProperty, pe = Object.getOwnPropertySymbols, me = Object.prototype.hasOwnProperty, he = Object.prototype.propertyIsEnumerable, ge = (e, t, n) => t in e ? fe(e, t, {
|
|
272
276
|
enumerable: !0,
|
|
273
277
|
configurable: !0,
|
|
274
278
|
writable: !0,
|