@turquoisehealth/pit-viper 2.224.0 → 2.224.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.
Files changed (64) 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-v2-stats.html +1 -1
  21. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  22. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +2 -2
  23. package/pv-components/dist/vue/ai/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  24. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  25. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +14 -0
  26. package/pv-components/dist/vue/ai/components/base/baseProps.d.ts +1 -1
  27. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  28. package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  29. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +2 -2
  30. package/pv-components/dist/vue/base/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  31. package/pv-components/dist/vue/base/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  32. package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +14 -0
  33. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +1 -1
  34. package/pv-components/dist/vue/base/pv-components-base.mjs +2159 -2066
  35. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  36. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  37. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +2 -2
  38. package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts +1 -1
  39. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +9 -16
  40. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +14 -0
  41. package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +1 -1
  42. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/crosslineHelpers.d.ts +1 -2
  43. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +2 -3
  44. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +0 -6
  45. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/useBenchmarkOverlays.d.ts +0 -1
  46. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +72 -67
  47. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  48. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +13 -3
  49. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +13 -3
  50. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +13 -3
  51. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +13 -3
  52. package/pv-components/dist/web/components/pv-menu/pv-menu.js +13 -3
  53. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +13 -3
  54. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +12 -2
  55. package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +175 -174
  56. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +13 -3
  57. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +13 -3
  58. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +13 -3
  59. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +970 -877
  60. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +12 -2
  61. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +13 -3
  62. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +13 -3
  63. package/pv-components/dist/web/pv-components.iife.js +14 -14
  64. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -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;
@@ -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";