@turquoisehealth/pit-viper 2.171.1-dev.7 → 2.173.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 (75) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +0 -17
  2. package/_site/assets/css/pit-viper-consumer.css +0 -17
  3. package/_site/assets/css/pit-viper-v2-scoped.css +0 -16
  4. package/_site/assets/css/pit-viper-v2.css +0 -17
  5. package/_site/assets/css/pit-viper.css +0 -17
  6. package/package.json +1 -1
  7. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  24. package/pv-components/dist/vue/base/components/base/PvButton/PvButton.vue.d.ts +2 -2
  25. package/pv-components/dist/vue/base/components/base/PvButton/PvButtonIconBadge.vue.d.ts +4 -0
  26. package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +9 -0
  27. package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +1 -1
  28. package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +1 -1
  29. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.vue.d.ts +2 -9
  30. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -3
  31. package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.vue.d.ts +1 -1
  32. package/pv-components/dist/vue/base/components/base/PvPill/PvPill.vue.d.ts +1 -1
  33. package/pv-components/dist/vue/base/components/base/PvRating/PvRating.vue.d.ts +1 -1
  34. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +1 -1
  35. package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.vue.d.ts +1 -1
  36. package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.vue.d.ts +1 -1
  37. package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.vue.d.ts +0 -2
  38. package/pv-components/dist/vue/base/components/base/PvSwitch/types.d.ts +1 -1
  39. package/pv-components/dist/vue/base/components/base/PvTag/PvTag.vue.d.ts +1 -1
  40. package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.vue.d.ts +1 -1
  41. package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +1 -1
  42. package/pv-components/dist/vue/base/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +2 -2
  43. package/pv-components/dist/vue/base/pv-components-base.mjs +2290 -2309
  44. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  45. package/pv-components/dist/vue/base/types.d.ts +1 -5
  46. package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButtonIconBadge.vue.d.ts +4 -0
  47. package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +9 -0
  48. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItem.vue.d.ts +2 -9
  49. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -3
  50. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.vue.d.ts +0 -2
  51. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/types.d.ts +1 -1
  52. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/chartTypeRegistry.d.ts +1 -0
  53. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +7 -0
  54. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +18 -1
  55. package/pv-components/dist/vue/visualizations/components/tables/symbols.d.ts +5 -1
  56. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +4121 -4128
  57. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  58. package/pv-components/dist/vue/visualizations/types.d.ts +1 -5
  59. package/pv-components/dist/web/components/pv-button/pv-button.js +367 -361
  60. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +449 -444
  61. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +413 -407
  62. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +312 -306
  63. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +514 -509
  64. package/pv-components/dist/web/components/pv-menu/pv-menu.js +1494 -1559
  65. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1807 -1871
  66. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +372 -366
  67. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1388 -1453
  68. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +1028 -1021
  69. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1370 -1435
  70. package/pv-components/dist/web/components/pv-switch/pv-switch.js +106 -114
  71. package/pv-components/dist/web/components/pv-toast/pv-toast.js +416 -411
  72. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +22 -21
  73. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +21 -21
  74. package/pv-components/dist/web/pv-components.iife.js +43 -43
  75. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,8 +1,8 @@
1
- import { PvButtonProps, PvButtonSize, PvButtonVariant } from './types';
1
+ import { PvButtonProps, PvButtonVariant, PvButtonSize } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare const _default: DefineComponent<PvButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvButtonProps> & Readonly<{}>, {
4
- size: PvButtonSize;
5
4
  variant: PvButtonVariant;
5
+ size: PvButtonSize;
6
6
  disabled: boolean;
7
7
  loading: boolean;
8
8
  inverse: boolean;
@@ -0,0 +1,4 @@
1
+ import { PvButtonIconBadgeProps } from './types.ts';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<PvButtonIconBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvButtonIconBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
4
+ export default _default;
@@ -22,6 +22,15 @@ export interface PvButtonProps {
22
22
  /** Optional counter on the right side of the button */
23
23
  rightCounterBadge?: number;
24
24
  }
25
+ export interface PvButtonIconBadgeProps {
26
+ size: PvButtonSize;
27
+ /** Optional icon */
28
+ icon?: string;
29
+ /** Optional counter badge */
30
+ counterBadge?: number;
31
+ /** Test ID for the icon element */
32
+ iconTestId?: string;
33
+ }
25
34
  export interface PvButtonWithTooltipProps extends PvButtonProps {
26
35
  /** Text to show within the tooltip */
27
36
  tooltipText: string;
@@ -8,9 +8,9 @@ export interface PvCounterBadgeProps {
8
8
  maxValue?: number;
9
9
  }
10
10
  declare const _default: DefineComponent<PvCounterBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCounterBadgeProps> & Readonly<{}>, {
11
+ variant: PvCounterBadgeVariant;
11
12
  size: PvCounterBadgeSize;
12
13
  prefix: string;
13
- variant: PvCounterBadgeVariant;
14
14
  maxValue: number;
15
15
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
16
16
  export default _default;
@@ -16,8 +16,8 @@ declare function __VLS_template(): {
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
- size: PvExpandableContentSizes;
20
19
  variant: PvExpandableContentVariants;
20
+ size: PvExpandableContentSizes;
21
21
  defaultOpen: boolean;
22
22
  lines: number;
23
23
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -6,17 +6,10 @@ interface PvMenuItemProps extends MenuOption {
6
6
  queryText?: string | null;
7
7
  highlightSearchText?: boolean;
8
8
  }
9
- type __VLS_Props = PvMenuItemProps;
10
- type __VLS_PublicProps = {
11
- "selectedItems"?: string[];
12
- } & __VLS_Props;
13
- declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
- "update:selectedItems": (value: string[]) => any;
15
- } & {
9
+ declare const _default: DefineComponent<PvMenuItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
16
10
  "handle-selected": (payload: MenuOptionSelectedEvent) => any;
17
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
+ }, string, PublicProps, Readonly<PvMenuItemProps> & Readonly<{
18
12
  "onHandle-selected"?: ((payload: MenuOptionSelectedEvent) => any) | undefined;
19
- "onUpdate:selectedItems"?: ((value: string[]) => any) | undefined;
20
13
  }>, {
21
14
  level: number;
22
15
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -43,7 +43,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
43
43
  disableDropdownIcon: boolean;
44
44
  disableClearIcon: boolean;
45
45
  disableSearchInput: boolean;
46
- optionsVariant: "toggle" | "icon" | "checkbox" | "simple" | "company" | "avatar" | "checkmark";
46
+ optionsVariant: "icon" | "checkbox" | "simple" | "company" | "avatar";
47
47
  options: MenuOption<T>[];
48
48
  menuActionsVariant: MenuActionsVariant | null;
49
49
  highlightSearchText: boolean;
@@ -76,7 +76,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
76
76
  disableDropdownIcon: boolean;
77
77
  disableClearIcon: boolean;
78
78
  disableSearchInput: boolean;
79
- optionsVariant: "toggle" | "icon" | "checkbox" | "simple" | "company" | "avatar" | "checkmark";
79
+ optionsVariant: "icon" | "checkbox" | "simple" | "company" | "avatar";
80
80
  options: MenuOption<T>[];
81
81
  menuActionsVariant: MenuActionsVariant | null;
82
82
  highlightSearchText: boolean;
@@ -109,7 +109,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
109
109
  disableDropdownIcon: boolean;
110
110
  disableClearIcon: boolean;
111
111
  disableSearchInput: boolean;
112
- optionsVariant: "toggle" | "icon" | "checkbox" | "simple" | "company" | "avatar" | "checkmark";
112
+ optionsVariant: "icon" | "checkbox" | "simple" | "company" | "avatar";
113
113
  options: MenuOption<T>[];
114
114
  menuActionsVariant: MenuActionsVariant | null;
115
115
  highlightSearchText: boolean;
@@ -15,7 +15,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
15
15
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
17
17
  }>, {
18
- size: PvPaginationSize;
19
18
  variant: PvPaginationVariant;
19
+ size: PvPaginationSize;
20
20
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLOListElement>;
21
21
  export default _default;
@@ -25,7 +25,7 @@ export interface PvPillProps {
25
25
  label: string;
26
26
  }
27
27
  declare const _default: DefineComponent<PvPillProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvPillProps> & Readonly<{}>, {
28
- size: PillSize;
29
28
  variant: PillVariant;
29
+ size: PillSize;
30
30
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
31
31
  export default _default;
@@ -6,7 +6,7 @@ interface PvRatingProps {
6
6
  size?: PvRatingSize;
7
7
  }
8
8
  declare const _default: DefineComponent<PvRatingProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvRatingProps> & Readonly<{}>, {
9
- size: PvRatingSize;
10
9
  variant: PvRatingVariant;
10
+ size: PvRatingSize;
11
11
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
12
12
  export default _default;
@@ -23,8 +23,8 @@ declare const _default: DefineComponent<PvSelectButtonTrigger, {}, {}, {}, {}, C
23
23
  }, string, PublicProps, Readonly<PvSelectButtonTrigger> & Readonly<{
24
24
  "onHandle-clear"?: (() => any) | undefined;
25
25
  }>, {
26
- size: PvSelectButtonSize;
27
26
  variant: PvSelectButtonVariant;
27
+ size: PvSelectButtonSize;
28
28
  showDropdown: boolean;
29
29
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
30
30
  export default _default;
@@ -5,7 +5,7 @@ interface PvSkeletonProps {
5
5
  variant?: PvSkeletonVariant;
6
6
  }
7
7
  declare const _default: DefineComponent<PvSkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvSkeletonProps> & Readonly<{}>, {
8
- size: PvSekeltonSize;
9
8
  variant: PvSkeletonVariant;
9
+ size: PvSekeltonSize;
10
10
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
11
  export default _default;
@@ -5,7 +5,7 @@ interface PvSpinnerProps {
5
5
  size?: PvSpinnerSize;
6
6
  }
7
7
  declare const _default: DefineComponent<PvSpinnerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvSpinnerProps> & Readonly<{}>, {
8
- size: PvSpinnerSize;
9
8
  variant: PvSpinnerVariant;
9
+ size: PvSpinnerSize;
10
10
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
11
11
  export default _default;
@@ -5,7 +5,6 @@ interface PvSwitchProps {
5
5
  label?: string;
6
6
  disabled?: boolean;
7
7
  id?: string;
8
- hideCheckIcon?: boolean;
9
8
  }
10
9
  type __VLS_Props = PvSwitchProps;
11
10
  type __VLS_PublicProps = {
@@ -19,6 +18,5 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
19
18
  size: PvSwitchSize;
20
19
  disabled: boolean;
21
20
  id: string;
22
- hideCheckIcon: boolean;
23
21
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
24
22
  export default _default;
@@ -1,2 +1,2 @@
1
1
  import { PvSize } from '../baseProps';
2
- export type PvSwitchSize = Extract<PvSize, "sm" | "md" | "lg">;
2
+ export type PvSwitchSize = Extract<PvSize, "md" | "lg">;
@@ -43,7 +43,7 @@ declare const _default: DefineComponent<PvTagProps, {}, {}, {}, {}, ComponentOpt
43
43
  "onHandle-close"?: ((payload: string) => any) | undefined;
44
44
  "onHandle-click"?: ((payload: string) => any) | undefined;
45
45
  }>, {
46
- size: TagSize;
47
46
  variant: TagVariant;
47
+ size: TagSize;
48
48
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
49
49
  export default _default;
@@ -22,8 +22,8 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
22
22
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
23
  "onUpdate:modelValue"?: ((value: string | boolean) => any) | undefined;
24
24
  }>, {
25
- size: PvToggleButtonSize;
26
25
  variant: PvToggleButtonVariant;
26
+ size: PvToggleButtonSize;
27
27
  deselect: boolean;
28
28
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
29
29
  export default _default;
@@ -21,8 +21,8 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
21
  declare const __VLS_component: DefineComponent<PvTooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvTooltipProps> & Readonly<{}>, {
22
22
  tooltipPosition: PvTooltipPositions;
23
23
  delay: number;
24
- size: PvTooltipSize;
25
24
  variant: PvTooltipVariants;
25
+ size: PvTooltipSize;
26
26
  ariaLabelledBy: string;
27
27
  disableInteractive: boolean;
28
28
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -1,4 +1,4 @@
1
- import { PvTooltipV2Props, PvTooltipSize, PvTooltipVariants } from './types';
1
+ import { PvTooltipV2Props, PvTooltipVariants, PvTooltipSize } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { PvAlignmentPositions } from '../baseProps';
4
4
  declare function __VLS_template(): {
@@ -13,8 +13,8 @@ declare function __VLS_template(): {
13
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
14
  declare const __VLS_component: DefineComponent<PvTooltipV2Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvTooltipV2Props> & Readonly<{}>, {
15
15
  delay: number;
16
- size: PvTooltipSize;
17
16
  variant: PvTooltipVariants;
17
+ size: PvTooltipSize;
18
18
  disableInteractive: boolean;
19
19
  position: PvAlignmentPositions;
20
20
  showOnHover: boolean;