@turquoisehealth/pit-viper 2.268.2 → 2.270.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 (36) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +58 -0
  2. package/_site/assets/css/pit-viper-a11y.css +58 -0
  3. package/_site/assets/css/pit-viper-consumer.css +58 -0
  4. package/_site/assets/css/pit-viper-v2-scoped.css +50 -0
  5. package/_site/assets/css/pit-viper-v2.css +58 -0
  6. package/_site/assets/css/pit-viper-v3.css +58 -0
  7. package/_site/assets/css/pit-viper.css +58 -0
  8. package/_site/manifest.json +11 -2
  9. package/package.json +1 -1
  10. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  11. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  17. package/pv-components/dist/vue/ai/components/base/PvDistributionBar/types.d.ts +1 -1
  18. package/pv-components/dist/vue/ai/components/base/PvGhostInput/PvGhostInput.vue.d.ts +10 -3
  19. package/pv-components/dist/vue/ai/components/base/PvGhostInput/types.d.ts +2 -1
  20. package/pv-components/dist/vue/base/components/base/PvDistributionBar/types.d.ts +1 -1
  21. package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.vue.d.ts +10 -3
  22. package/pv-components/dist/vue/base/components/base/PvGhostInput/types.d.ts +2 -1
  23. package/pv-components/dist/vue/base/pv-components-base.mjs +788 -777
  24. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  25. package/pv-components/dist/vue/visualizations/components/base/PvDistributionBar/types.d.ts +1 -1
  26. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.vue.d.ts +10 -3
  27. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/types.d.ts +2 -1
  28. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1 -1
  29. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  30. package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +431 -443
  31. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +48 -34
  32. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +48 -34
  33. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +1980 -666
  34. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +1170 -1097
  35. package/pv-components/dist/web/pv-components.iife.js +3 -3
  36. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -3,6 +3,6 @@ export type PvDistributionBarSize = Extract<PvSize, "xs" | "lg">;
3
3
  export interface PvDistributionBarProps {
4
4
  /** Size defines the height of the Distribution Bar. Defaults to "lg" (24px). */
5
5
  size?: PvDistributionBarSize;
6
- /** Array of numeric values representing each segment of the distribution bar. Values are rendered proportionally. Supports up to 7 color-coded segments. */
6
+ /** Array of numeric values representing each segment of the distribution bar. Values are rendered proportionally. Segments use the 15 dataviz colors in order, repeating after the 15th. */
7
7
  values?: number[];
8
8
  }
@@ -1,4 +1,5 @@
1
- import { PvGhostInputVariant } from './types';
1
+ import { PvAlignmentPositions } from '../baseProps';
2
+ import { PvGhostInputInputVariant, PvGhostInputVariant } from './types';
2
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
4
  interface PvGhostInputProps {
4
5
  /**
@@ -9,8 +10,12 @@ interface PvGhostInputProps {
9
10
  placeholder?: string;
10
11
  /** When true, the input is non-interactive and visually dimmed. */
11
12
  disabled?: boolean;
12
- /** When true, displays an edit (pencil) icon button beside the input that focuses it on click. */
13
- showEditIcon?: boolean;
13
+ /** Visual style of the input. `secondary` adds a hover background and tertiary text color. */
14
+ inputVariant?: PvGhostInputInputVariant;
15
+ /** Text shown in a dark tooltip when hovering the input. No tooltip is rendered when empty. */
16
+ tooltipText?: string;
17
+ /** Where the tooltip appears relative to the input. Defaults to centered below it. */
18
+ tooltipPosition?: PvAlignmentPositions;
14
19
  /** When true, applies invalid/error border styling. */
15
20
  error?: boolean;
16
21
  /** When true, focuses the input as soon as it mounts. */
@@ -37,6 +42,8 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
37
42
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
38
43
  }>, {
39
44
  variant: PvGhostInputVariant;
45
+ tooltipPosition: PvAlignmentPositions;
46
+ inputVariant: PvGhostInputInputVariant;
40
47
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
41
48
  inputRef: HTMLInputElement;
42
49
  }, HTMLDivElement>;
@@ -1,2 +1,3 @@
1
- import { PvInputVariants } from '../baseProps';
1
+ import { PvInputVariants, PvVariants } from '../baseProps';
2
2
  export type PvGhostInputVariant = PvInputVariants;
3
+ export type PvGhostInputInputVariant = Extract<PvVariants, "primary" | "secondary">;
@@ -12542,7 +12542,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
12542
12542
  let t = ee(null), n = ee(null), i = ee(null), a = k(0), o = (e) => ue(e, void 0, { box: "border-box" }).height, s = o(t), c = o(n), l = o(i);
12543
12543
  return {
12544
12544
  contentHeight: r(() => {
12545
- if (!s.value) return;
12545
+ if (!s.value || !c.value) return;
12546
12546
  let e = i.value && getComputedStyle(i.value).position !== "absolute";
12547
12547
  return Math.ceil(a.value + s.value + c.value + (e ? l.value : 0));
12548
12548
  }),