@turquoisehealth/pit-viper 2.91.0 → 2.91.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 (26) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/vue/base/components/base/PvButton/PvButton.vue.d.ts +1 -11
  3. package/pv-components/dist/vue/base/components/base/PvButton/PvButtonWithTooltip.vue.d.ts +8 -0
  4. package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +17 -0
  5. package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +6 -1
  6. package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.vue.d.ts +1 -1
  7. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  8. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +1 -0
  9. package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +3 -1
  10. package/pv-components/dist/vue/base/components/base/PvTooltip/types.d.ts +1 -1
  11. package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
  12. package/pv-components/dist/vue/base/pv-components-base.js +19 -19
  13. package/pv-components/dist/vue/base/pv-components-base.mjs +1771 -1719
  14. package/pv-components/dist/vue/base/pv-components-base.umd.js +19 -19
  15. package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +13 -13
  16. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +3555 -3395
  17. package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +13 -13
  18. package/pv-components/dist/web/pv-components.iife.js +24 -24
  19. package/pv-components/dist/vue/charts/pv-components-charts.d.ts +0 -491
  20. package/pv-components/dist/vue/charts/pv-components-charts.js +0 -259
  21. package/pv-components/dist/vue/charts/pv-components-charts.mjs +0 -121834
  22. package/pv-components/dist/vue/charts/pv-components-charts.umd.js +0 -259
  23. package/pv-components/dist/vue/tables/pv-components-tables.d.ts +0 -299
  24. package/pv-components/dist/vue/tables/pv-components-tables.js +0 -223
  25. package/pv-components/dist/vue/tables/pv-components-tables.mjs +0 -47028
  26. package/pv-components/dist/vue/tables/pv-components-tables.umd.js +0 -223
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.91.0",
3
+ "version": "2.91.1-dev.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {
@@ -1,15 +1,5 @@
1
- import { PvButtonSize, PvButtonVariant } from './types';
1
+ import { PvButtonProps, PvButtonSize, PvButtonVariant } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type PvButtonProps = {
4
- variant?: PvButtonVariant;
5
- disabled?: boolean;
6
- size?: PvButtonSize;
7
- loading?: boolean;
8
- label?: string;
9
- leftIcon?: string;
10
- rightIcon?: string;
11
- inverse?: boolean;
12
- };
13
3
  declare const _default: DefineComponent<PvButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvButtonProps> & Readonly<{}>, {
14
4
  size: PvButtonSize;
15
5
  variant: PvButtonVariant;
@@ -0,0 +1,8 @@
1
+ import { PvButtonWithTooltipProps } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { PvTooltipVariants } from '../PvTooltip/types';
4
+ declare const _default: DefineComponent<PvButtonWithTooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvButtonWithTooltipProps> & Readonly<{}>, {
5
+ tooltipVariant: PvTooltipVariants;
6
+ delay: number;
7
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -1,3 +1,20 @@
1
1
  import { PvSize, PvVariants } from '../baseProps';
2
+ import { PvTooltipPositions, PvTooltipVariants } from '../PvTooltip/types.ts';
2
3
  export type PvButtonSize = Extract<PvSize, "md" | "lg" | "xl">;
3
4
  export type PvButtonVariant = Extract<PvVariants, "primary" | "secondary" | "ghost" | "destructive" | "tertiary">;
5
+ export interface PvButtonProps {
6
+ variant?: PvButtonVariant;
7
+ disabled?: boolean;
8
+ size?: PvButtonSize;
9
+ loading?: boolean;
10
+ label?: string;
11
+ leftIcon?: string;
12
+ rightIcon?: string;
13
+ inverse?: boolean;
14
+ }
15
+ export interface PvButtonWithTooltipProps extends PvButtonProps {
16
+ tooltipText: string;
17
+ tooltipVariant?: PvTooltipVariants;
18
+ tooltipPosition?: PvTooltipPositions;
19
+ delay?: number;
20
+ }
@@ -1,7 +1,7 @@
1
1
  import { PvSearchInputProps } from '../PvSearchInput/PvSearchInput.vue';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  export interface PvDrawer {
4
- header: string;
4
+ header?: string;
5
5
  subheader?: string;
6
6
  showSearchbar?: boolean;
7
7
  closeOnClickOutside?: boolean;
@@ -13,18 +13,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
13
13
  } & PvDrawer, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: boolean) => any;
15
15
  "update:searchInput": (value: string) => any;
16
+ } & {
17
+ "click-outside": () => any;
16
18
  }, string, PublicProps, Readonly<{
17
19
  searchInput?: string;
18
20
  modelValue: boolean;
19
21
  } & PvDrawer> & Readonly<{
20
22
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
21
23
  "onUpdate:searchInput"?: ((value: string) => any) | undefined;
24
+ "onClick-outside"?: (() => any) | undefined;
22
25
  }>, {
23
26
  closeOnClickOutside: boolean;
24
27
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
25
28
  sidePanel: HTMLDivElement;
26
29
  }, HTMLDivElement>, {
30
+ header?(_: {}): any;
27
31
  default?(_: {}): any;
32
+ footer?(_: {}): any;
28
33
  }>;
29
34
  export default _default;
30
35
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -15,8 +15,8 @@ declare const _default: DefineComponent<PvInsightCardProps, {}, {}, {}, {}, Comp
15
15
  onClick?: (() => any) | undefined;
16
16
  "onIcon-click"?: (() => any) | undefined;
17
17
  }>, {
18
- icon: string;
19
18
  interactive: boolean;
19
+ icon: string;
20
20
  showButton: boolean;
21
21
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
22
22
  export default _default;
@@ -28,6 +28,7 @@ export interface PvMultiSelectButtonProps {
28
28
  showDropdown?: boolean;
29
29
  showMenuAction?: boolean;
30
30
  showSearchInput?: boolean;
31
+ searchPlaceholder?: string;
31
32
  overlayTrigger?: boolean;
32
33
  optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
33
34
  options: MenuOption[];
@@ -289,6 +290,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
289
290
  showDropdown?: boolean;
290
291
  showMenuAction?: boolean;
291
292
  showSearchInput?: boolean;
293
+ searchPlaceholder?: string;
292
294
  overlayTrigger?: boolean;
293
295
  optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
294
296
  options: MenuOption[];
@@ -331,6 +333,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
331
333
  showDropdown?: boolean;
332
334
  showMenuAction?: boolean;
333
335
  showSearchInput?: boolean;
336
+ searchPlaceholder?: string;
334
337
  overlayTrigger?: boolean;
335
338
  optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
336
339
  options: MenuOption[];
@@ -19,6 +19,7 @@ export interface PvSelectButton {
19
19
  label?: string;
20
20
  showMenuAction?: boolean;
21
21
  showSearchInput?: boolean;
22
+ searchPlaceholder?: string;
22
23
  optionsVariant?: Exclude<MenuOptionsVariant, "checkbox">;
23
24
  options: MenuOption[];
24
25
  useTeleport?: boolean;
@@ -6,6 +6,7 @@ interface PvTooltipProps {
6
6
  ariaLabelledBy?: string;
7
7
  size?: PvTooltipSize;
8
8
  interactive?: boolean;
9
+ delay?: number;
9
10
  }
10
11
  declare function __VLS_template(): {
11
12
  attrs: Partial<{}>;
@@ -19,9 +20,10 @@ declare function __VLS_template(): {
19
20
  };
20
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
22
  declare const __VLS_component: DefineComponent<PvTooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvTooltipProps> & Readonly<{}>, {
23
+ tooltipPosition: PvTooltipPositions;
24
+ delay: number;
22
25
  size: PvTooltipSize;
23
26
  variant: PvTooltipVariants;
24
- tooltipPosition: PvTooltipPositions;
25
27
  ariaLabelledBy: string;
26
28
  interactive: boolean;
27
29
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,4 @@
1
1
  import { PvSize } from '../baseProps';
2
2
  export type PvTooltipVariants = "white" | "dark";
3
- export type PvTooltipPositions = "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right";
3
+ export type PvTooltipPositions = "bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right";
4
4
  export type PvTooltipSize = Extract<PvSize, "sm" | "md">;
@@ -1,4 +1,5 @@
1
1
  export { default as PvButton } from './PvButton/PvButton.vue';
2
+ export { default as PvButtonWithTooltip } from './PvButton/PvButtonWithTooltip.vue';
2
3
  export { default as PvCounterBadge } from './PvCounterBadge/PvCounterBadge.vue';
3
4
  export { default as PvReleaseBadge } from './PvReleaseBadge/PvReleaseBadge.vue';
4
5
  export { default as PvTag } from './PvTag/PvTag.vue';