@turquoisehealth/pit-viper 2.244.2 → 2.244.3

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 (40) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +414 -21
  2. package/_site/assets/css/pit-viper-consumer.css +64 -9
  3. package/_site/assets/css/pit-viper-v2-scoped.css +64 -9
  4. package/_site/assets/css/pit-viper-v2.css +64 -9
  5. package/_site/assets/css/pit-viper.css +64 -9
  6. package/_src/assets/sprite-v2.svg +1 -1
  7. package/_src/assets/sprite.svg +1 -1
  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/pv-ghost-input-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  14. package/pv-components/dist/vue/ai/components/base/PvGhostInput/PvGhostInput.vue.d.ts +6 -2
  15. package/pv-components/dist/vue/ai/components/base/PvStepper/PvStepper.vue.d.ts +2 -2
  16. package/pv-components/dist/vue/ai/components/base/PvStepper/types.d.ts +2 -5
  17. package/pv-components/dist/vue/ai/components/base/PvTabs/PvTabs.vue.d.ts +4 -0
  18. package/pv-components/dist/vue/ai/components/base/PvTabs/types.d.ts +10 -2
  19. package/pv-components/dist/vue/ai/components/base/index.d.ts +1 -0
  20. package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.vue.d.ts +6 -2
  21. package/pv-components/dist/vue/base/components/base/PvStepper/PvStepper.vue.d.ts +2 -2
  22. package/pv-components/dist/vue/base/components/base/PvStepper/types.d.ts +2 -5
  23. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +4 -0
  24. package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +10 -2
  25. package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
  26. package/pv-components/dist/vue/base/pv-components-base.mjs +1434 -1364
  27. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  28. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.vue.d.ts +6 -2
  29. package/pv-components/dist/vue/visualizations/components/base/PvStepper/PvStepper.vue.d.ts +2 -2
  30. package/pv-components/dist/vue/visualizations/components/base/PvStepper/types.d.ts +2 -5
  31. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +4 -0
  32. package/pv-components/dist/vue/visualizations/components/base/PvTabs/types.d.ts +10 -2
  33. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +1 -0
  34. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +9 -6
  35. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  36. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +14 -5
  37. package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +422 -418
  38. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2037 -549
  39. package/pv-components/dist/web/pv-components.iife.js +13 -13
  40. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -11,6 +11,10 @@ interface PvGhostInputProps {
11
11
  disabled?: boolean;
12
12
  /** When true, displays an edit (pencil) icon button beside the input that focuses it on click. */
13
13
  showEditIcon?: boolean;
14
+ /** When true, applies invalid/error border styling. */
15
+ error?: boolean;
16
+ /** When true, focuses the input as soon as it mounts. */
17
+ autofocus?: boolean;
14
18
  }
15
19
  type __VLS_Props = PvGhostInputProps;
16
20
  type __VLS_PublicProps = {
@@ -24,7 +28,7 @@ declare function __VLS_template(): {
24
28
  refs: {
25
29
  inputRef: HTMLInputElement;
26
30
  };
27
- rootEl: HTMLDivElement;
31
+ rootEl: any;
28
32
  };
29
33
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
34
  declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -35,7 +39,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
35
39
  variant: PvGhostInputVariant;
36
40
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
37
41
  inputRef: HTMLInputElement;
38
- }, HTMLDivElement>;
42
+ }, any>;
39
43
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
40
44
  export default _default;
41
45
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,11 +1,11 @@
1
- import { StepperProps } from './types.ts';
1
+ import { StepperProps, PvStepperVariant } from './types.ts';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare const _default: DefineComponent<StepperProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4
4
  "update:active": (index: number) => any;
5
5
  }, string, PublicProps, Readonly<StepperProps> & Readonly<{
6
6
  "onUpdate:active"?: ((index: number) => any) | undefined;
7
7
  }>, {
8
- variant: "progress" | "dots" | "buttons";
8
+ variant: PvStepperVariant;
9
9
  count: number;
10
10
  active: number;
11
11
  clickable: boolean;
@@ -1,8 +1,6 @@
1
- type PvStepperItemVariant = "current" | "success" | "next" | "error";
2
- type PvStepperVariant = "dots" | "buttons" | "progress";
1
+ export type PvStepperItemVariant = "current" | "success" | "next" | "error";
2
+ export type PvStepperVariant = "dots" | "buttons" | "progress";
3
3
  export interface PvStepperItem {
4
- /** Icon name shown for the step. Only rendered by the "progress" variant. */
5
- icon?: string;
6
4
  /** Text shown for the step. Rendered by the "buttons" and "progress" variants. */
7
5
  label?: string;
8
6
  /** Variant for the step. Only rendered by the "progress" variant */
@@ -16,4 +14,3 @@ export interface StepperProps {
16
14
  clickable?: boolean;
17
15
  showCounter?: boolean;
18
16
  }
19
- export {};
@@ -13,9 +13,13 @@ type __VLS_PublicProps = {
13
13
  declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: string) => any;
15
15
  "add-button-click": (value: string) => any;
16
+ "handle-input-submit": (value: string, text: string) => any;
17
+ "option-click": (tabValue: string, optionValue: string) => any;
16
18
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
19
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
20
  "onAdd-button-click"?: ((value: string) => any) | undefined;
21
+ "onHandle-input-submit"?: ((value: string, text: string) => any) | undefined;
22
+ "onOption-click"?: ((tabValue: string, optionValue: string) => any) | undefined;
19
23
  }>, {
20
24
  size: TabSize;
21
25
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
@@ -1,6 +1,12 @@
1
1
  import { PvSize } from '../baseProps';
2
2
  export type TabSize = Extract<PvSize, "lg" | "xl">;
3
- export type TabType = "addButton";
3
+ export type TabType = "addButton" | "input";
4
+ export interface TabOption {
5
+ /** Display text for the option */
6
+ label: string;
7
+ /** Identifier emitted via "option-click" when this option is chosen; "delete" renders in critical (red) styling */
8
+ value: string;
9
+ }
4
10
  export interface Tab {
5
11
  /** Optional counter badge value displayed on the tab */
6
12
  counter?: number;
@@ -10,6 +16,8 @@ export interface Tab {
10
16
  icon?: string;
11
17
  /** Optional stable identifier used for selection; falls back to label */
12
18
  value?: string;
13
- /** Optional type; performs some associated action (e.g. "addButton") instead of updating the model */
19
+ /** Optional type; performs some associated action (e.g. "addButton", "input") instead of updating the model */
14
20
  type?: TabType;
21
+ /** Options shown in the tab's "..." popover; a "delete" option renders in critical (red) styling */
22
+ options?: TabOption[];
15
23
  }
@@ -100,5 +100,6 @@ export type { ContextCardItem, ContextCardVariants, ProviderContextCard, PayerCo
100
100
  export type { ContextLabelClickPayload } from './PvContext/config';
101
101
  export type { ShowContextPayload, ContextEntityField, ContextEntityFieldValue, ContextFeedbackPayload, PvContextSurfaceContext, } from './PvContext/config';
102
102
  export { PvContextSurfaceKey } from './PvContext/config';
103
+ export type { PvStepperItemVariant, PvStepperVariant } from './PvStepper/types';
103
104
  export { RumContextKey, useRumContext, addRumAction, deferRumTask } from '../../functions/rum';
104
105
  export type { PvRumContext } from '../../functions/rum';
@@ -14205,7 +14205,10 @@ var nm = { style: {
14205
14205
  key: 1,
14206
14206
  class: "pv-text-body-xs",
14207
14207
  style: { "text-align": "center" }
14208
- }, pm = { style: { "white-space": "nowrap" } }, mm = {
14208
+ }, pm = {
14209
+ class: "pv-flex",
14210
+ style: { "text-wrap": "nowrap" }
14211
+ }, mm = {
14209
14212
  key: 2,
14210
14213
  class: "pv-text-body-xs"
14211
14214
  }, hm = /* @__PURE__ */ d({
@@ -15380,16 +15383,16 @@ var nm = { style: {
15380
15383
  class: y(["ag-charts-tooltip pv-data-table-with-chart__crossline-tooltip pv-tooltip-v2-content", R(wt).arrowClass]),
15381
15384
  "data-variant": "white",
15382
15385
  style: x(R(wt).style)
15383
- }, [s("div", sm, [s("div", cm, P(R(wt).label), 1), s("div", lm, P(R(wt).value), 1)])], 6)) : a("", !0)], 4)], 6)), Dt.value ? a("", !0) : (D(), o("div", um, [le.value ? (D(), o("div", dm, [(D(), i(N(e.emptyChartFilterRenderer)))])) : tn.value ? (D(), o("p", fm, [
15384
- l(" Select focus " + P($t.value) + " to view Visualization. You can select a focus " + P($t.value) + " by opening the filter dropdown and clicking on the focus ", 1),
15385
- s("span", pm, [r[11] ||= l("icon ", -1), u(Wn, {
15386
+ }, [s("div", sm, [s("div", cm, P(R(wt).label), 1), s("div", lm, P(R(wt).value), 1)])], 6)) : a("", !0)], 4)], 6)), Dt.value ? a("", !0) : (D(), o("div", um, [le.value ? (D(), o("div", dm, [(D(), i(N(e.emptyChartFilterRenderer)))])) : tn.value ? (D(), o("div", fm, [s("span", null, "Select focus " + P($t.value) + " to view Visualization. You can select a focus " + P($t.value) + " by", 1), s("span", pm, [
15387
+ r[11] ||= l(" opening the filter dropdown and clicking on the focus icon ", -1),
15388
+ u(Wn, {
15386
15389
  name: "focus",
15387
15390
  size: 12,
15388
15391
  class: "pv-text-subdued",
15389
15392
  style: { "vertical-align": "middle" }
15390
- })]),
15393
+ }),
15391
15394
  r[12] ||= l(" on the right hand side. ", -1)
15392
- ])) : sn.value ? (D(), o("p", mm, P(en.value), 1)) : a("", !0)]))], 4)])], 2)
15395
+ ])])) : sn.value ? (D(), o("p", mm, P(en.value), 1)) : a("", !0)]))], 4)])], 2)
15393
15396
  ])),
15394
15397
  u(Zf, _({
15395
15398
  ref_key: "pvDataTableRef",