@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
@@ -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. */
@@ -36,7 +41,9 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
36
41
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
37
42
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
38
43
  }>, {
44
+ tooltipPosition: PvAlignmentPositions;
39
45
  variant: PvGhostInputVariant;
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">;