@turquoisehealth/pit-viper 2.189.2-dev.0 → 2.191.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 +14 -0
- package/_site/assets/css/pit-viper-consumer.css +14 -0
- package/_site/assets/css/pit-viper-v2-scoped.css +11 -0
- package/_site/assets/css/pit-viper-v2.css +14 -0
- package/_site/assets/css/pit-viper.css +14 -0
- 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-avatar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-modal-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-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.vue.d.ts +2 -15
- package/pv-components/dist/vue/base/components/base/PvAvatar/types.d.ts +17 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/cascadeUtils.d.ts +7 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +6 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +7 -0
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +5 -21
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/types.d.ts +27 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +459 -386
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/base/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.vue.d.ts +2 -15
- package/pv-components/dist/vue/visualizations/components/base/PvAvatar/types.d.ts +17 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/cascadeUtils.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +5 -21
- package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButtonTrigger/types.d.ts +27 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +9 -2
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1933 -1823
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/types.d.ts +3 -0
- package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +8 -3
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +835 -817
- package/pv-components/dist/web/components/pv-modal/pv-modal.js +2 -3
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1186 -1111
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +814 -799
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +923 -853
- package/pv-components/dist/web/pv-components.iife.js +31 -31
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
+
import { PvAvatarShape, PvAvatarVariant } from './components/base/PvAvatar/types.ts';
|
|
2
3
|
import { PvCounterBadgeVariant } from './components/base/PvCounterBadge/types.ts';
|
|
3
4
|
/**
|
|
4
5
|
* For interfaces and type aliases shared across multiple components.
|
|
@@ -31,6 +32,8 @@ export interface MenuOption<T = unknown> {
|
|
|
31
32
|
initials?: string;
|
|
32
33
|
image?: string;
|
|
33
34
|
icon?: boolean;
|
|
35
|
+
variant?: PvAvatarVariant;
|
|
36
|
+
shape?: PvAvatarShape;
|
|
34
37
|
};
|
|
35
38
|
groupingLabel?: string;
|
|
36
39
|
disabled?: boolean;
|
|
@@ -31,13 +31,17 @@ var b = [
|
|
|
31
31
|
class: d(s.value)
|
|
32
32
|
}, [a("use", { "xlink:href": c.value }, null, 8, x)], 2));
|
|
33
33
|
}
|
|
34
|
-
}), C = ["data-style"], w = ["src", "alt"], T = /* @__PURE__ */ s({
|
|
34
|
+
}), C = ["data-style", "data-shape"], w = ["src", "alt"], T = /* @__PURE__ */ s({
|
|
35
35
|
__name: "PvAvatar",
|
|
36
36
|
props: {
|
|
37
|
+
alt: { type: String },
|
|
37
38
|
icon: { type: String },
|
|
38
39
|
image: { type: String },
|
|
39
|
-
alt: { type: String },
|
|
40
40
|
initials: { type: String },
|
|
41
|
+
shape: {
|
|
42
|
+
default: "circle",
|
|
43
|
+
type: String
|
|
44
|
+
},
|
|
41
45
|
size: {
|
|
42
46
|
default: "lg",
|
|
43
47
|
type: String
|
|
@@ -61,7 +65,8 @@ var b = [
|
|
|
61
65
|
return (c, l) => (p(), i("div", {
|
|
62
66
|
class: d(a[t.size]),
|
|
63
67
|
"data-testid": "pv-avatar",
|
|
64
|
-
"data-style": t.variant
|
|
68
|
+
"data-style": t.variant,
|
|
69
|
+
"data-shape": t.shape
|
|
65
70
|
}, [t.icon ? (p(), n(S, {
|
|
66
71
|
key: 0,
|
|
67
72
|
name: t.icon,
|