@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
|
@@ -5,6 +5,8 @@ interface PvAvatarProps {
|
|
|
5
5
|
icon?: string;
|
|
6
6
|
/** URL of an image to display. Only rendered when `icon` and `initials` are not set. */
|
|
7
7
|
image?: string;
|
|
8
|
+
/** Accessible alt text for the avatar image. Defaults to "" (decorative) when initials or other context provides the name. */
|
|
9
|
+
alt?: string;
|
|
8
10
|
/** One or two character string displayed when no icon is provided. Takes priority over `image` when both are set. */
|
|
9
11
|
initials?: string;
|
|
10
12
|
/** Display size of the avatar. */
|
|
@@ -3,6 +3,8 @@ export interface PvAvatarGroupItem {
|
|
|
3
3
|
initials?: string;
|
|
4
4
|
/** URL of an image to display in the avatar. */
|
|
5
5
|
image?: string;
|
|
6
|
+
/** Accessible alt text for the avatar image. Defaults to "" (decorative) when initials or other context provides the name. */
|
|
7
|
+
alt?: string;
|
|
6
8
|
/**
|
|
7
9
|
* Reserved for future use.
|
|
8
10
|
* A default placeholder avatar is currently rendered whenever neither `initials`
|
|
@@ -23,6 +23,8 @@ export interface PvButtonProps {
|
|
|
23
23
|
leftCounterBadge?: number;
|
|
24
24
|
/** Optional counter on the right side of the button */
|
|
25
25
|
rightCounterBadge?: number;
|
|
26
|
+
/** Accessible name for icon-only buttons (no label). Required when label is omitted. */
|
|
27
|
+
ariaLabel?: string;
|
|
26
28
|
}
|
|
27
29
|
export interface PvButtonWithTooltipProps extends PvButtonProps {
|
|
28
30
|
/** Text to show within the tooltip */
|
|
@@ -4,6 +4,8 @@ interface PvCheckboxProps {
|
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
/** When true, displays the checkbox in an indeterminate (mixed) state. */
|
|
6
6
|
indeterminate?: boolean;
|
|
7
|
+
/** Accessible name when no wrapping <label> is present. */
|
|
8
|
+
ariaLabel?: string;
|
|
7
9
|
}
|
|
8
10
|
type __VLS_Props = PvCheckboxProps;
|
|
9
11
|
type __VLS_PublicProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuOption } from '../../../types';
|
|
1
|
+
import { MenuOption, MultiSelectState } from '../../../types';
|
|
2
2
|
/** Recursively collect all leaf (childless) options from a tree. */
|
|
3
3
|
export declare function collectLeafOptions<T>(options: MenuOption<T>[]): MenuOption<T>[];
|
|
4
4
|
/**
|
|
@@ -21,6 +21,7 @@ export declare function mergeLeafOptions<T>(base: MenuOption<T>[], overlay: Menu
|
|
|
21
21
|
* not depend on Map iteration order.
|
|
22
22
|
*/
|
|
23
23
|
export declare function countWithCollapsedParents<T>(options: MenuOption<T>[], selectedIds: Set<string>): number;
|
|
24
|
+
export declare function countFromSelectionState(state: MultiSelectState): number;
|
|
24
25
|
/**
|
|
25
26
|
* Recursively filter a tree for a search value.
|
|
26
27
|
*
|
|
@@ -19,7 +19,7 @@ export interface PvPopoverV2Props {
|
|
|
19
19
|
useTeleport?: boolean;
|
|
20
20
|
/** When true, clicking outside the popover will not close it. */
|
|
21
21
|
disableClickOutsideToClose?: boolean;
|
|
22
|
-
/** Delay in milliseconds before opening
|
|
22
|
+
/** Delay in milliseconds before opening the popover. Closing is always immediate regardless of this value. */
|
|
23
23
|
delay?: number;
|
|
24
24
|
/** z-index applied to the floating popover element. */
|
|
25
25
|
zIndex?: number;
|
|
@@ -11,6 +11,8 @@ export interface PvSegmentedControlOption {
|
|
|
11
11
|
iconPosition?: "left" | "right";
|
|
12
12
|
/** Visible text for the option. Omit for icon-only segments. */
|
|
13
13
|
label?: string;
|
|
14
|
+
/** Accessible name for icon-only segments (no label). Required when label is omitted. */
|
|
15
|
+
ariaLabel?: string;
|
|
14
16
|
/** Unique identifier emitted as the model value when this option is selected. */
|
|
15
17
|
value: string;
|
|
16
18
|
}
|
|
@@ -7,6 +7,8 @@ interface PvSwitchProps {
|
|
|
7
7
|
size?: PvSwitchSize;
|
|
8
8
|
/** Optional text label displayed next to the switch. */
|
|
9
9
|
label?: string;
|
|
10
|
+
/** Accessible name for the switch when no visible label is provided. */
|
|
11
|
+
ariaLabel?: string;
|
|
10
12
|
/** When true, the switch is non-interactive and visually dimmed. */
|
|
11
13
|
disabled?: boolean;
|
|
12
14
|
/** HTML id for the underlying checkbox input. Auto-generated when omitted. */
|
|
@@ -27,7 +29,6 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
27
29
|
}>, {
|
|
28
30
|
size: PvSwitchSize;
|
|
29
31
|
disabled: boolean;
|
|
30
|
-
id: string;
|
|
31
32
|
hideCheckIcon: boolean;
|
|
32
33
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
33
34
|
export default _default;
|