@turquoisehealth/pit-viper 2.260.0 → 2.262.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 (52) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +211 -29
  2. package/_site/assets/css/pit-viper-a11y.css +211 -29
  3. package/_site/assets/css/pit-viper-consumer.css +211 -29
  4. package/_site/assets/css/pit-viper-v2-scoped.css +195 -27
  5. package/_site/assets/css/pit-viper-v2.css +211 -29
  6. package/_site/assets/css/pit-viper-v3.css +211 -29
  7. package/_site/assets/css/pit-viper.css +210 -28
  8. package/package.json +1 -1
  9. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  10. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  11. package/pv-components/dist/stats/web/ask-tq-buddy-stats.html +4950 -0
  12. package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-animated-icon-stats.html +4950 -0
  14. package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
  15. package/pv-components/dist/vue/ai/components/base/AskTqBuddy/AskTqBuddy.vue.d.ts +25 -0
  16. package/pv-components/dist/vue/ai/components/base/AskTqBuddy/types.d.ts +23 -0
  17. package/pv-components/dist/vue/ai/components/base/PvAiButton/PvAiButton.vue.d.ts +16 -0
  18. package/pv-components/dist/vue/ai/components/base/PvAnimatedIcon/PvAnimatedIcon.vue.d.ts +6 -0
  19. package/pv-components/dist/vue/ai/components/base/PvAnimatedIcon/types.d.ts +6 -0
  20. package/pv-components/dist/vue/ai/components/base/PvIcon/PvIcon.vue.d.ts +2 -12
  21. package/pv-components/dist/vue/ai/components/base/PvIcon/types.d.ts +7 -0
  22. package/pv-components/dist/vue/ai/components/base/index.d.ts +7 -0
  23. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  24. package/pv-components/dist/vue/base/components/base/AskTqBuddy/AskTqBuddy.vue.d.ts +25 -0
  25. package/pv-components/dist/vue/base/components/base/AskTqBuddy/types.d.ts +23 -0
  26. package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.vue.d.ts +16 -0
  27. package/pv-components/dist/vue/base/components/base/PvAnimatedIcon/PvAnimatedIcon.vue.d.ts +6 -0
  28. package/pv-components/dist/vue/base/components/base/PvAnimatedIcon/types.d.ts +6 -0
  29. package/pv-components/dist/vue/base/components/base/PvIcon/PvIcon.vue.d.ts +2 -12
  30. package/pv-components/dist/vue/base/components/base/PvIcon/types.d.ts +7 -0
  31. package/pv-components/dist/vue/base/components/base/index.d.ts +7 -0
  32. package/pv-components/dist/vue/base/pv-components-base.mjs +2870 -2051
  33. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  34. package/pv-components/dist/vue/visualizations/components/base/AskTqBuddy/AskTqBuddy.vue.d.ts +25 -0
  35. package/pv-components/dist/vue/visualizations/components/base/AskTqBuddy/types.d.ts +23 -0
  36. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/PvAiButton.vue.d.ts +16 -0
  37. package/pv-components/dist/vue/visualizations/components/base/PvAnimatedIcon/PvAnimatedIcon.vue.d.ts +6 -0
  38. package/pv-components/dist/vue/visualizations/components/base/PvAnimatedIcon/types.d.ts +6 -0
  39. package/pv-components/dist/vue/visualizations/components/base/PvIcon/PvIcon.vue.d.ts +2 -12
  40. package/pv-components/dist/vue/visualizations/components/base/PvIcon/types.d.ts +7 -0
  41. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +7 -0
  42. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/PivotTableSkeleton.vue.d.ts +3 -0
  43. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +4 -0
  44. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useGridSizing.d.ts +11 -0
  45. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2284 -2201
  46. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  47. package/pv-components/dist/web/components/ask-tq-buddy/ask-tq-buddy.js +6963 -0
  48. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +1301 -494
  49. package/pv-components/dist/web/components/pv-animated-icon/pv-animated-icon.js +6257 -0
  50. package/pv-components/dist/web/components/pv-header/pv-header.js +1348 -541
  51. package/pv-components/dist/web/pv-components.iife.js +39 -39
  52. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -0,0 +1,25 @@
1
+ import { AskTqBuddyEmote, AskTqBuddyProps, AskTqBuddySize, AskTqBuddyVariant, AskTqBuddyTheme } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<AskTqBuddyProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AskTqBuddyProps> & Readonly<{}>, {
4
+ size: AskTqBuddySize;
5
+ variant: AskTqBuddyVariant;
6
+ theme: AskTqBuddyTheme;
7
+ animated: boolean;
8
+ emote: AskTqBuddyEmote;
9
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
10
+ svgRef: SVGSVGElement;
11
+ gradientRef: SVGLinearGradientElement;
12
+ clipRef: SVGPathElement;
13
+ noiseRef: SVGImageElement;
14
+ ringRef: SVGPathElement;
15
+ bodyRef: SVGPathElement;
16
+ candleRef: SVGRectElement;
17
+ sheenRef: SVGRectElement;
18
+ litRef: SVGGElement;
19
+ leftEyeRef: SVGRectElement;
20
+ rightEyeRef: SVGRectElement;
21
+ leftHappyRef: SVGPathElement;
22
+ rightHappyRef: SVGPathElement;
23
+ grainRef: SVGRectElement;
24
+ }, SVGSVGElement>;
25
+ export default _default;
@@ -0,0 +1,23 @@
1
+ export declare const askTqBuddyEmotes: readonly ["idle", "curious", "greeting", "listening", "thinking", "working", "talking", "happy", "confused", "sleeping", "boo"];
2
+ export declare const askTqBuddySizes: readonly ["sm", "md", "lg", "xl"];
3
+ export declare const askTqBuddyVariants: readonly ["default", "mono", "outline"];
4
+ export declare const askTqBuddyThemes: readonly ["default", "halloween"];
5
+ export type AskTqBuddyEmote = (typeof askTqBuddyEmotes)[number];
6
+ export type AskTqBuddySize = (typeof askTqBuddySizes)[number];
7
+ export type AskTqBuddyVariant = (typeof askTqBuddyVariants)[number];
8
+ export type AskTqBuddyTheme = (typeof askTqBuddyThemes)[number];
9
+ export interface AskTqBuddyProps {
10
+ /** Enables continuous emote motion. Defaults to a static pose. */
11
+ animated?: boolean;
12
+ /** Expression and motion state shown by the AI buddy. `boo` is a jump scare designed for the halloween theme. */
13
+ emote?: AskTqBuddyEmote;
14
+ /** Display size of the AI buddy. */
15
+ size?: AskTqBuddySize;
16
+ /** Seasonal look applied to the buddy's shape, colors, and eyes. */
17
+ theme?: AskTqBuddyTheme;
18
+ /**
19
+ * Rendering style. `default` is the full gradient mascot; `mono` and `outline` are flat, untextured
20
+ * versions that draw in `currentColor` for icon use.
21
+ */
22
+ variant?: AskTqBuddyVariant;
23
+ }
@@ -1,3 +1,4 @@
1
+ import { AskTqBuddyEmote, AskTqBuddyTheme, AskTqBuddyVariant } from '../AskTqBuddy/types';
1
2
  import { PvButtonSize } from '../PvButton/types.ts';
2
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
4
  interface PvAiButtonProps {
@@ -11,10 +12,25 @@ interface PvAiButtonProps {
11
12
  disabled?: boolean;
12
13
  /** Hide AiFilled Icon */
13
14
  hideIcon?: boolean;
15
+ /** Show the AskTqBuddy mascot in place of the AiFilled icon */
16
+ buddy?: boolean;
17
+ /** Expression shown by the buddy when `buddy` is set */
18
+ buddyEmote?: AskTqBuddyEmote;
19
+ /** Rendering style of the buddy when `buddy` is set */
20
+ buddyVariant?: AskTqBuddyVariant;
21
+ /** Seasonal theme of the buddy when `buddy` is set */
22
+ buddyTheme?: AskTqBuddyTheme;
23
+ /** Animate the buddy's emote when `buddy` is set */
24
+ buddyAnimated?: boolean;
14
25
  }
15
26
  declare const _default: DefineComponent<PvAiButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAiButtonProps> & Readonly<{}>, {
16
27
  label: string;
17
28
  size: PvButtonSize;
18
29
  hideIcon: boolean;
30
+ buddy: boolean;
31
+ buddyEmote: AskTqBuddyEmote;
32
+ buddyVariant: AskTqBuddyVariant;
33
+ buddyTheme: AskTqBuddyTheme;
34
+ buddyAnimated: boolean;
19
35
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
20
36
  export default _default;
@@ -0,0 +1,6 @@
1
+ import { PvAnimatedIconProps, PvAnimatedIconVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<PvAnimatedIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAnimatedIconProps> & Readonly<{}>, {
4
+ animationVariant: PvAnimatedIconVariant;
5
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { PvIconProps } from '../PvIcon/types';
2
+ export type PvAnimatedIconVariant = "loading" | "static";
3
+ export interface PvAnimatedIconProps extends PvIconProps {
4
+ /** Animation to apply. "loading" wobbles and shimmers the icon; "static" renders it without animation. */
5
+ animationVariant?: PvAnimatedIconVariant;
6
+ }
@@ -1,14 +1,4 @@
1
- import { PvIconSize } from '../baseProps';
1
+ import { PvIconProps } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<{
4
- /** Name of the icon from the SVG sprite sheet (e.g. "user", "check-circle"). */
5
- name: string;
6
- /** Pixel size of the icon. When omitted the icon inherits its container's size. */
7
- size?: PvIconSize;
8
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
9
- /** Name of the icon from the SVG sprite sheet (e.g. "user", "check-circle"). */
10
- name: string;
11
- /** Pixel size of the icon. When omitted the icon inherits its container's size. */
12
- size?: PvIconSize;
13
- }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
3
+ declare const _default: DefineComponent<PvIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvIconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
14
4
  export default _default;
@@ -0,0 +1,7 @@
1
+ import { PvIconSize } from '../baseProps';
2
+ export interface PvIconProps {
3
+ /** Name of the icon from the SVG sprite sheet (e.g. "user", "check-circle"). */
4
+ name: string;
5
+ /** Pixel size of the icon. When omitted the icon inherits its container's size. */
6
+ size?: PvIconSize;
7
+ }
@@ -1,5 +1,6 @@
1
1
  export { default as PvButton } from './PvButton/PvButton.vue';
2
2
  export { default as PvActionButton } from './PvActionButton/PvActionButton.vue';
3
+ export { default as AskTqBuddy } from './AskTqBuddy/AskTqBuddy.vue';
3
4
  export { default as PvAiButton } from './PvAiButton/PvAiButton.vue';
4
5
  export { default as PvButtonWithTooltip } from './PvButton/PvButtonWithTooltip.vue';
5
6
  export { default as PvSplitButton } from './PvSplitButton/PvSplitButton.vue';
@@ -9,6 +10,10 @@ export { default as PvTag } from './PvTag/PvTag.vue';
9
10
  export { default as PvPill } from './PvPill/PvPill.vue';
10
11
  export { default as PvDropdown } from './PvDropdown/PvDropdown.vue';
11
12
  export { default as PvIcon } from './PvIcon/PvIcon.vue';
13
+ export type { PvIconProps } from './PvIcon/types';
14
+ export { default as PvAnimatedIcon } from './PvAnimatedIcon/PvAnimatedIcon.vue';
15
+ export type { PvAnimatedIconVariant } from './PvAnimatedIcon/types';
16
+ export type { PvAnimatedIconProps } from './PvAnimatedIcon/types';
12
17
  export { default as PvPopover } from './PvPopover/PvPopover.vue';
13
18
  export { default as PvPopoverMenu } from './PvPopoverMenu/PvPopoverMenu.vue';
14
19
  export { default as PvPopoverV2 } from './PvPopoverV2/PvPopoverV2.vue';
@@ -110,6 +115,8 @@ export { PvContextSurfaceKey } from './PvContext/config';
110
115
  export type { PvStepperItemVariant, PvStepperVariant } from './PvStepper/types';
111
116
  export { RumContextKey, useRumContext, addRumAction, deferRumTask } from '../../functions/rum';
112
117
  export type { PvRumContext } from '../../functions/rum';
118
+ export { askTqBuddyEmotes, askTqBuddySizes, askTqBuddyThemes, askTqBuddyVariants, } from './AskTqBuddy/types';
119
+ export type { AskTqBuddyEmote, AskTqBuddyProps, AskTqBuddySize, AskTqBuddyTheme, AskTqBuddyVariant, } from './AskTqBuddy/types';
113
120
  export type { PvResizeEvent, PvResizeHandleProps } from './PvResizeHandle/types';
114
121
  export type { PvSidePanelProps } from '../layout/PvSidePanel/types';
115
122
  export type { PvSplitPaneDirection, PvSplitPaneProps } from '../layout/PvSplitPane/types';
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3
+ export default _default;
@@ -394,6 +394,10 @@ export interface PvDataTableProps<T> {
394
394
  * Min height of the table + filter container (must be a valid CSS height value, e.g. '500px', '50vh', etc.)
395
395
  */
396
396
  containerMinHeight?: string;
397
+ /**
398
+ * Treats `containerHeight` as a maximum so the table fits its rows, down to `containerMinHeight` (ignored with `layout`).
399
+ */
400
+ shrinkToContent?: boolean;
397
401
  /**
398
402
  * Enables the ValidationModule for advanced debugging as well as additional console logging from AG Grid
399
403
  */
@@ -0,0 +1,11 @@
1
+ import { Ref, ComputedRef } from 'vue';
2
+ /** The height of an AG Grid that fits its rows, summed from parts that keep their size however tall the grid is. */
3
+ export declare const useShrinkToContent: (wrapper: Ref<HTMLElement | null>) => {
4
+ contentHeight: ComputedRef<number | undefined>;
5
+ observe: () => Promise<void>;
6
+ };
7
+ /** How far down the pivot's row label column starts, which is as tall as the network tabs above it. */
8
+ export declare const usePivotCornerHeight: (wrapper: Ref<HTMLElement | null>, initial: number) => {
9
+ height: Ref<number, number>;
10
+ observe: () => Promise<void>;
11
+ };