@turquoisehealth/pit-viper 2.234.3 → 2.234.5-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 +31 -1
- package/_site/assets/css/pit-viper-consumer.css +31 -1
- package/_site/assets/css/pit-viper-v2-scoped.css +26 -1
- package/_site/assets/css/pit-viper-v2.css +31 -1
- package/_site/assets/css/pit-viper.css +31 -1
- 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/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvSelectButton/PvSelectButton.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +2 -3
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1734 -1700
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +2 -3
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -25,6 +25,8 @@ export interface PvSelectButtonProps<T = unknown> {
|
|
|
25
25
|
prefixLabel?: string;
|
|
26
26
|
/** Text label on the trigger button; updates to the selected option's text when an item is chosen */
|
|
27
27
|
label?: string;
|
|
28
|
+
/** Icon shown before the trigger label when the selected option does not provide one */
|
|
29
|
+
icon?: string;
|
|
28
30
|
/**
|
|
29
31
|
* Keep the trigger showing `label` even after an option is selected, instead of
|
|
30
32
|
* swapping to the selected option's text. Use when the label is a fixed title
|
|
@@ -25,6 +25,8 @@ export interface PvSelectButtonProps<T = unknown> {
|
|
|
25
25
|
prefixLabel?: string;
|
|
26
26
|
/** Text label on the trigger button; updates to the selected option's text when an item is chosen */
|
|
27
27
|
label?: string;
|
|
28
|
+
/** Icon shown before the trigger label when the selected option does not provide one */
|
|
29
|
+
icon?: string;
|
|
28
30
|
/**
|
|
29
31
|
* Keep the trigger showing `label` even after an option is selected, instead of
|
|
30
32
|
* swapping to the selected option's text. Use when the label is a fixed title
|
|
@@ -4921,6 +4921,7 @@ var Ia = {
|
|
|
4921
4921
|
popoverCssProperties: {},
|
|
4922
4922
|
prefixLabel: {},
|
|
4923
4923
|
label: { default: "Select an option" },
|
|
4924
|
+
icon: {},
|
|
4924
4925
|
staticLabel: { type: Boolean },
|
|
4925
4926
|
disableSearchInput: {
|
|
4926
4927
|
type: Boolean,
|
|
@@ -4971,9 +4972,7 @@ var Ia = {
|
|
|
4971
4972
|
G(f, (e) => {
|
|
4972
4973
|
d(e ? "dropdown-open" : "dropdown-closed");
|
|
4973
4974
|
});
|
|
4974
|
-
let g = r(() => !n.staticLabel && p.value && p.value.text ? p.value.text : n.label), v = r(() => {
|
|
4975
|
-
if (p.value && p.value.icon) return p.value.icon;
|
|
4976
|
-
}), y = r(() => {
|
|
4975
|
+
let g = r(() => !n.staticLabel && p.value && p.value.text ? p.value.text : n.label), v = r(() => p.value?.icon || n.icon), y = r(() => {
|
|
4977
4976
|
if (p.value && p.value.companyName) return p.value.companyName;
|
|
4978
4977
|
}), b = r(() => p.value?.avatar), S = r(() => {
|
|
4979
4978
|
let e = m.value.trim().toLowerCase();
|