@turquoisehealth/pit-viper 2.252.0 → 2.253.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 +27 -7
- package/_site/assets/css/pit-viper-consumer.css +27 -7
- package/_site/assets/css/pit-viper-v2-scoped.css +25 -7
- package/_site/assets/css/pit-viper-v2.css +27 -7
- package/_site/assets/css/pit-viper.css +27 -7
- 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-action-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-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-hover-action-menu-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-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-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-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-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-v2-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvDrawer/PvDrawer.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
- package/pv-components/dist/vue/ai/components/base/PvTabs/PvTabs.vue.d.ts +5 -1
- package/pv-components/dist/vue/ai/components/base/PvTabs/types.d.ts +4 -0
- package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +8 -0
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
- package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +5 -1
- package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +4 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +1023 -929
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
- package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +5 -1
- package/pv-components/dist/vue/visualizations/components/base/PvTabs/types.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.vue.d.ts +5 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/horizontalFilterFit.d.ts +17 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +9 -2
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2398 -2357
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +226 -223
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +5 -3
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1735 -1732
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +356 -353
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +650 -647
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +1241 -1238
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +421 -418
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +108 -106
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +70 -67
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +343 -340
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +146 -143
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +805 -802
- package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +362 -359
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +694 -692
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +1312 -1185
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +177 -174
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +227 -224
- package/pv-components/dist/web/pv-components.iife.js +14 -14
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -3,6 +3,8 @@ export type HoverPopover = {
|
|
|
3
3
|
root: Ref<HTMLElement | null>;
|
|
4
4
|
/** The surface, which may be teleported out of `root`, so popovers nested in it still count as descendants. */
|
|
5
5
|
floating?: Ref<HTMLElement | null>;
|
|
6
|
+
/** The `hoverTarget` ancestor, when set: popovers opening inside it are within this one's hover area too. */
|
|
7
|
+
hoverArea?: Ref<HTMLElement | null>;
|
|
6
8
|
/** Attempts to close the popover. Returns false if it refused (e.g. disableClickOutsideToClose). */
|
|
7
9
|
close: () => boolean;
|
|
8
10
|
};
|
|
@@ -10,7 +12,8 @@ export type HoverPopover = {
|
|
|
10
12
|
* Keeps at most one dismissible hover popover on screen at a time. Uncoordinated, a sweep
|
|
11
13
|
* across a list of triggers paints a trail: each popover the pointer left is still counting
|
|
12
14
|
* down its `closeDelay` bridge while the next one opens instantly. Ancestors are spared — a
|
|
13
|
-
* nested popover opening means the pointer is still inside the outer one.
|
|
15
|
+
* nested popover opening means the pointer is still inside the outer one. That includes one opening
|
|
16
|
+
* anywhere in the outer's `hoverTarget` area (e.g. a tooltip on a button in the same row). A popover that
|
|
14
17
|
* refuses to close (disableClickOutsideToClose) stays on screen alongside newly opened ones.
|
|
15
18
|
*
|
|
16
19
|
* Returns a setter for this popover's on-screen state.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Tab, TabSize } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
interface PvTabsProps {
|
|
4
|
+
/** Folds the tabs that don't fit into a "+N more" menu, keeping "addButton" tabs visible after it. */
|
|
5
|
+
collapseOverflow?: boolean;
|
|
4
6
|
/** Array of tab objects defining each tab's label, icon, and counter */
|
|
5
7
|
tabs: Tab[];
|
|
6
8
|
/** Size of the tab list */
|
|
@@ -22,5 +24,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
22
24
|
"onOption-click"?: ((tabValue: string, optionValue: string) => any) | undefined;
|
|
23
25
|
}>, {
|
|
24
26
|
size: TabSize;
|
|
25
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
27
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
28
|
+
listRef: HTMLUListElement;
|
|
29
|
+
}, HTMLUListElement>;
|
|
26
30
|
export default _default;
|
|
@@ -12,6 +12,10 @@ export interface Tab {
|
|
|
12
12
|
counter?: number;
|
|
13
13
|
/** Display text for the tab */
|
|
14
14
|
label: string;
|
|
15
|
+
/** When true, the tab can't be clicked or selected, and renders in a disabled style */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Optional hover text explaining why the tab is disabled; only shown while `disabled` is true */
|
|
18
|
+
disabledReason?: string;
|
|
15
19
|
/** Optional icon name displayed before the tab label */
|
|
16
20
|
icon?: string;
|
|
17
21
|
/** Optional stable identifier used for selection; falls back to label */
|