@turquoisehealth/pit-viper 2.244.0 → 2.244.2
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 +56 -2
- package/_site/assets/css/pit-viper-consumer.css +56 -2
- package/_site/assets/css/pit-viper-v2-scoped.css +50 -2
- package/_site/assets/css/pit-viper-v2.css +56 -2
- package/_site/assets/css/pit-viper.css +56 -2
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/ai/stats.html +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-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-confirmation-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-file-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-hover-action-menu-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-prompt-input-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-question-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-reasoning-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-sidebar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-stepper-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-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvFileInput/PvFileInput.vue.d.ts +6 -0
- package/pv-components/dist/vue/ai/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/ai/components/base/PvStepper/types.d.ts +19 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +6 -4
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvFileInput/PvFileInput.vue.d.ts +6 -0
- package/pv-components/dist/vue/base/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/base/components/base/PvStepper/types.d.ts +19 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +182 -85
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFileInput/PvFileInput.vue.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/visualizations/components/base/PvStepper/types.d.ts +19 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +6 -4
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +6 -4
- package/pv-components/dist/web/components/pv-button/pv-button.js +5 -3
- package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +6 -4
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +5 -3
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +5 -3
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +6 -4
- package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +18 -8
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +6 -4
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +6 -4
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +5 -3
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +5 -3
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +6 -4
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +6 -4
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +6 -4
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +6 -4
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +6 -4
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +6 -4
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +5 -3
- package/pv-components/dist/web/components/pv-question/pv-question.js +6 -4
- package/pv-components/dist/web/components/pv-range/pv-range.js +5 -3
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +6 -4
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +5 -3
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +5 -3
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +5 -3
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +6 -4
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +6 -4
- package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +649 -485
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +5 -3
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +5 -3
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +5 -3
- package/pv-components/dist/web/components/pv-tool/pv-tool.js +6 -4
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +533 -521
- package/pv-components/dist/web/pv-components.iife.js +4 -4
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -24,7 +24,8 @@ var x = /* @__PURE__ */ ((e, t) => {
|
|
|
24
24
|
variant: {
|
|
25
25
|
default: "primary",
|
|
26
26
|
type: null
|
|
27
|
-
}
|
|
27
|
+
},
|
|
28
|
+
rounded: { type: Boolean }
|
|
28
29
|
},
|
|
29
30
|
setup(e) {
|
|
30
31
|
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
@@ -35,14 +36,15 @@ var x = /* @__PURE__ */ ((e, t) => {
|
|
|
35
36
|
"pv-badge-secondary": n.variant == "secondary",
|
|
36
37
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
37
38
|
"pv-text-tertiary": n.variant == "ghost" || n.variant == "tertiary",
|
|
38
|
-
"pv-surface": n.variant == "ghost"
|
|
39
|
+
"pv-surface": n.variant == "ghost",
|
|
40
|
+
"pv-rounded": n.rounded
|
|
39
41
|
}));
|
|
40
42
|
return (e, t) => (m(), i("div", {
|
|
41
43
|
class: f(a.value),
|
|
42
44
|
"data-testid": "pv-counter-badge"
|
|
43
45
|
}, v(r.value), 3));
|
|
44
46
|
}
|
|
45
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
47
|
+
}), [["styles", [".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}"]], ["__scopeId", "data-v-c578e86e"]]);
|
|
46
48
|
//#endregion
|
|
47
49
|
//#region src/web-components/utils.ts
|
|
48
50
|
function S() {
|
|
@@ -88,7 +88,8 @@ var x = [
|
|
|
88
88
|
variant: {
|
|
89
89
|
default: "primary",
|
|
90
90
|
type: null
|
|
91
|
-
}
|
|
91
|
+
},
|
|
92
|
+
rounded: { type: Boolean }
|
|
92
93
|
},
|
|
93
94
|
setup(e) {
|
|
94
95
|
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
@@ -99,14 +100,15 @@ var x = [
|
|
|
99
100
|
"pv-badge-secondary": n.variant == "secondary",
|
|
100
101
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
101
102
|
"pv-text-tertiary": n.variant == "ghost" || n.variant == "tertiary",
|
|
102
|
-
"pv-surface": n.variant == "ghost"
|
|
103
|
+
"pv-surface": n.variant == "ghost",
|
|
104
|
+
"pv-rounded": n.rounded
|
|
103
105
|
}));
|
|
104
106
|
return (e, t) => (m(), i("div", {
|
|
105
107
|
class: d(a.value),
|
|
106
108
|
"data-testid": "pv-counter-badge"
|
|
107
109
|
}, v(r.value), 3));
|
|
108
110
|
}
|
|
109
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
111
|
+
}), [["styles", [".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}"]], ["__scopeId", "data-v-c578e86e"]]), k = ["disabled", "aria-label"], A = {
|
|
110
112
|
key: 2,
|
|
111
113
|
"data-testid": "pv-button-label"
|
|
112
114
|
}, j = /* @__PURE__ */ s({
|
|
@@ -54,7 +54,8 @@ var S = [
|
|
|
54
54
|
variant: {
|
|
55
55
|
default: "primary",
|
|
56
56
|
type: null
|
|
57
|
-
}
|
|
57
|
+
},
|
|
58
|
+
rounded: { type: Boolean }
|
|
58
59
|
},
|
|
59
60
|
setup(t) {
|
|
60
61
|
let n = t, i = e(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = e(() => ({
|
|
@@ -65,14 +66,15 @@ var S = [
|
|
|
65
66
|
"pv-badge-secondary": n.variant == "secondary",
|
|
66
67
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
67
68
|
"pv-text-tertiary": n.variant == "ghost" || n.variant == "tertiary",
|
|
68
|
-
"pv-surface": n.variant == "ghost"
|
|
69
|
+
"pv-surface": n.variant == "ghost",
|
|
70
|
+
"pv-rounded": n.rounded
|
|
69
71
|
}));
|
|
70
72
|
return (e, t) => (f(), r("div", {
|
|
71
73
|
class: u(a.value),
|
|
72
74
|
"data-testid": "pv-counter-badge"
|
|
73
75
|
}, g(i.value), 3));
|
|
74
76
|
}
|
|
75
|
-
}), [["styles", [".pv-badge-md[data-v-
|
|
77
|
+
}), [["styles", [".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}"]], ["__scopeId", "data-v-c578e86e"]]), E = ["for"], D = [
|
|
76
78
|
"id",
|
|
77
79
|
"type",
|
|
78
80
|
"value",
|
|
@@ -19,7 +19,8 @@ var T = /* @__PURE__ */ s({
|
|
|
19
19
|
variant: {
|
|
20
20
|
default: "primary",
|
|
21
21
|
type: null
|
|
22
|
-
}
|
|
22
|
+
},
|
|
23
|
+
rounded: { type: Boolean }
|
|
23
24
|
},
|
|
24
25
|
setup(e) {
|
|
25
26
|
let n = e, r = t(() => n.maxValue && n.value && n.value > n.maxValue ? `${n.maxValue}+` : n.value == null ? "-" : `${n.prefix}${n.value}`), a = t(() => ({
|
|
@@ -30,18 +31,19 @@ var T = /* @__PURE__ */ s({
|
|
|
30
31
|
"pv-badge-secondary": n.variant == "secondary",
|
|
31
32
|
"pv-surface-lighten-5": n.variant == "tertiary",
|
|
32
33
|
"pv-text-tertiary": n.variant == "ghost" || n.variant == "tertiary",
|
|
33
|
-
"pv-surface": n.variant == "ghost"
|
|
34
|
+
"pv-surface": n.variant == "ghost",
|
|
35
|
+
"pv-rounded": n.rounded
|
|
34
36
|
}));
|
|
35
37
|
return (e, t) => (g(), i("div", {
|
|
36
38
|
class: p(a.value),
|
|
37
39
|
"data-testid": "pv-counter-badge"
|
|
38
40
|
}, x(r.value), 3));
|
|
39
41
|
}
|
|
40
|
-
}), E = ".pv-badge-md[data-v-
|
|
42
|
+
}), E = ".pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}", D = (e, t) => {
|
|
41
43
|
let n = e.__vccOpts || e;
|
|
42
44
|
for (let [e, r] of t) n[e] = r;
|
|
43
45
|
return n;
|
|
44
|
-
}, O = /* @__PURE__ */ D(T, [["styles", [E]], ["__scopeId", "data-v-
|
|
46
|
+
}, O = /* @__PURE__ */ D(T, [["styles", [E]], ["__scopeId", "data-v-c578e86e"]]);
|
|
45
47
|
//#endregion
|
|
46
48
|
//#region src/web-components/utils.ts
|
|
47
49
|
function k() {
|