@turquoisehealth/pit-viper 2.224.0 → 2.224.1-dev.1

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.
Files changed (68) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +1 -0
  2. package/_site/assets/css/pit-viper-v2.css +98 -61
  3. package/package.json +1 -1
  4. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  5. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  22. package/pv-components/dist/vue/ai/components/base/PvButton/types.d.ts +1 -1
  23. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  24. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +2 -2
  25. package/pv-components/dist/vue/ai/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  26. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  27. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +14 -0
  28. package/pv-components/dist/vue/ai/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
  29. package/pv-components/dist/vue/ai/components/base/baseProps.d.ts +1 -1
  30. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  31. package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +1 -1
  32. package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  33. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +2 -2
  34. package/pv-components/dist/vue/base/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  35. package/pv-components/dist/vue/base/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  36. package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +14 -0
  37. package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
  38. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +1 -1
  39. package/pv-components/dist/vue/base/pv-components-base.mjs +2183 -2069
  40. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  41. package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +1 -1
  42. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  43. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +2 -2
  44. package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  45. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  46. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +14 -0
  47. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.vue.d.ts +7 -3
  48. package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +1 -1
  49. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +40 -9
  50. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  51. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +13 -3
  52. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +41 -10
  53. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +13 -3
  54. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +13 -3
  55. package/pv-components/dist/web/components/pv-menu/pv-menu.js +13 -3
  56. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +41 -10
  57. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +12 -2
  58. package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +175 -174
  59. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +13 -3
  60. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +13 -3
  61. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +41 -10
  62. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +970 -877
  63. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +12 -2
  64. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +13 -3
  65. package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +425 -404
  66. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +13 -3
  67. package/pv-components/dist/web/pv-components.iife.js +14 -14
  68. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -33,6 +33,6 @@ export interface PvButtonWithTooltipProps extends PvButtonProps {
33
33
  tooltipVariant?: PvTooltipVariants;
34
34
  /** Where the tooltip appears relative to the button */
35
35
  tooltipPosition?: PvTooltipPositions;
36
- /** Delay in milliseconds before showing the tooltip */
36
+ /** Delay in milliseconds before showing the tooltip on hover. Keyboard focus is never delayed. */
37
37
  delay?: number;
38
38
  }
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
23
23
  disableClickOutsideToClose: boolean;
24
24
  closeDelay: number;
25
25
  zIndex: number;
26
- teleportLocation: string;
26
+ teleportLocation: string | HTMLElement;
27
27
  cssCustomProperties: CSSProperties;
28
28
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
29
29
  root: HTMLDivElement;
@@ -43,8 +43,8 @@ export interface PvPopoverV2Props {
43
43
  closeDelay?: number;
44
44
  /** z-index applied in the legacy Floating UI path. */
45
45
  zIndex?: number;
46
- /** CSS selector for the legacy Teleport target. */
47
- teleportLocation?: string;
46
+ /** Target for the legacy Teleport surface. */
47
+ teleportLocation?: string | HTMLElement;
48
48
  /** Offset in pixels between the popover and its trigger. */
49
49
  offset?: number;
50
50
  /** Additional classes ignored by legacy outside-click detection. */
@@ -16,5 +16,5 @@ declare const _default: DefineComponent<PvProgressBarProps, {}, {}, {}, {}, Comp
16
16
  disabled: boolean;
17
17
  showLabel: boolean;
18
18
  labelVariant: "primary" | "secondary";
19
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
19
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
20
20
  export default _default;
@@ -1,17 +1,5 @@
1
- import { PvSidebarNavItem, PvSidebarOrgEntity } from './types.ts';
1
+ import { PvSidebarV2Props } from './types.ts';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- export interface PvSidebarV2Props {
4
- disableToggle?: boolean;
5
- variant?: "primary" | "secondary";
6
- /** Organizations rendered in the org-switcher dropdown, with optional nested entities. */
7
- organizations?: PvSidebarOrgEntity[];
8
- /** Top-level nav items, with optional nested children rendered as an accordion / hover flyout. */
9
- navItems?: PvSidebarNavItem[];
10
- /** Renders the sidebar-additional-content slot below the header. */
11
- enableAdditionalContent?: boolean;
12
- /** Renders the sidebar-additional-header slot inside the header, before the org switcher. */
13
- enableAdditionalHeader?: boolean;
14
- }
15
3
  type __VLS_Props = PvSidebarV2Props;
16
4
  type __VLS_PublicProps = {
17
5
  modelValue?: boolean;
@@ -21,10 +9,13 @@ declare function __VLS_template(): {
21
9
  slots: {
22
10
  'sidebar-additional-header'?(_: {}): any;
23
11
  'sidebar-additional-content'?(_: {}): any;
24
- 'sidebar-footer'?(_: {}): any;
12
+ 'sidebar-help-content'?(_: {}): any;
13
+ 'sidebar-profile-content'?(_: {}): any;
25
14
  default?(_: {}): any;
26
15
  };
27
- refs: {};
16
+ refs: {
17
+ popoverTeleportTarget: HTMLDivElement;
18
+ };
28
19
  rootEl: HTMLDivElement;
29
20
  };
30
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -39,7 +30,9 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
39
30
  collapsed: boolean;
40
31
  }) => any) | undefined;
41
32
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
42
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
33
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
34
+ popoverTeleportTarget: HTMLDivElement;
35
+ }, HTMLDivElement>;
43
36
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
44
37
  export default _default;
45
38
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,3 +1,17 @@
1
+ export interface PvSidebarV2Props {
2
+ disableToggle?: boolean;
3
+ /** Top-level nav items, with optional nested children rendered as an accordion / hover flyout. */
4
+ navItems?: PvSidebarNavItem[];
5
+ /** Organizations rendered in the org-switcher dropdown, with optional nested entities. */
6
+ organizations?: PvSidebarOrgEntity[];
7
+ /** Identity rendered by the Profile footer trigger. */
8
+ profile?: PvSidebarProfile;
9
+ variant?: "primary" | "secondary";
10
+ }
11
+ export interface PvSidebarProfile {
12
+ avatarUrl?: string;
13
+ name: string;
14
+ }
1
15
  export interface PvSidebarOrgEntity {
2
16
  value: string | number;
3
17
  label: string;
@@ -11,7 +11,7 @@ interface PvTooltipProps {
11
11
  size?: PvTooltipSize;
12
12
  /** When true, tooltip hides immediately when cursor leaves the trigger */
13
13
  disableInteractive?: boolean;
14
- /** Delay in milliseconds before showing the tooltip */
14
+ /** Delay in milliseconds before showing the tooltip on hover. Keyboard focus is never delayed. */
15
15
  delay?: number;
16
16
  }
17
17
  declare function __VLS_template(): {
@@ -20,7 +20,9 @@ declare function __VLS_template(): {
20
20
  label?(_: {}): any;
21
21
  'tooltip-content'?(_: {}): any;
22
22
  };
23
- refs: {};
23
+ refs: {
24
+ rootRef: HTMLDivElement;
25
+ };
24
26
  rootEl: HTMLDivElement;
25
27
  };
26
28
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -31,7 +33,9 @@ declare const __VLS_component: DefineComponent<PvTooltipProps, {}, {}, {}, {}, C
31
33
  variant: PvTooltipVariants;
32
34
  disableInteractive: boolean;
33
35
  ariaLabelledBy: string;
34
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
36
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
37
+ rootRef: HTMLDivElement;
38
+ }, HTMLDivElement>;
35
39
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
40
  export default _default;
37
41
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -15,4 +15,4 @@ export type PvOrientations = (typeof PvOrientations)[number];
15
15
  export declare const sizeMap: Record<PvSize, string>;
16
16
  export declare const PvIconSizes: readonly [undefined, 10, 12, 20, 24, 32, 64];
17
17
  export type PvIconSize = (typeof PvIconSizes)[number];
18
- export type PvAlignmentPositions = "bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right";
18
+ export type PvAlignmentPositions = "bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right" | "right-top" | "right-bottom";