@turquoisehealth/pit-viper 2.258.0 → 2.259.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 (138) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +24 -12
  2. package/_site/assets/css/pit-viper-a11y.css +24 -12
  3. package/_site/assets/css/pit-viper-consumer.css +24 -12
  4. package/_site/assets/css/pit-viper-v2-scoped.css +19 -12
  5. package/_site/assets/css/pit-viper-v2.css +24 -12
  6. package/_site/assets/css/pit-viper-v3.css +24 -12
  7. package/_site/assets/css/pit-viper.css +24 -12
  8. package/package.json +1 -1
  9. package/pv-components/dist/stats/vue/ai/stats.html +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-accordion-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-banner-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-empty-error-state-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-empty-state-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
  30. package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  32. package/pv-components/dist/stats/web/pv-icon-stats.html +1 -1
  33. package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
  34. package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
  35. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  36. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  37. package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
  38. package/pv-components/dist/stats/web/pv-pill-stats.html +1 -1
  39. package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
  40. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  41. package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
  42. package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
  43. package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
  44. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  45. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  46. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  47. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  48. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
  49. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  50. package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
  51. package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
  52. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
  53. package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +1 -1
  54. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  55. package/pv-components/dist/stats/web/pv-tag-stats.html +1 -1
  56. package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
  57. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
  58. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  59. package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
  60. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  61. package/pv-components/dist/vue/ai/components/base/PvFilterModal/PvFilterModal.vue.d.ts +1 -0
  62. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
  63. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  64. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +12 -4
  65. package/pv-components/dist/vue/ai/components/base/PvPill/types.d.ts +1 -1
  66. package/pv-components/dist/vue/ai/components/base/PvTag/types.d.ts +1 -1
  67. package/pv-components/dist/vue/ai/components/base/baseProps.d.ts +1 -1
  68. package/pv-components/dist/vue/ai/pv-components-ai.mjs +1 -0
  69. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  70. package/pv-components/dist/vue/base/components/base/PvFilterModal/PvFilterModal.vue.d.ts +1 -0
  71. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
  72. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  73. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +12 -4
  74. package/pv-components/dist/vue/base/components/base/PvPill/types.d.ts +1 -1
  75. package/pv-components/dist/vue/base/components/base/PvTag/types.d.ts +1 -1
  76. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +1 -1
  77. package/pv-components/dist/vue/base/pv-components-base.mjs +210 -163
  78. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  79. package/pv-components/dist/vue/visualizations/components/base/PvFilterModal/PvFilterModal.vue.d.ts +1 -0
  80. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
  81. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  82. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +12 -4
  83. package/pv-components/dist/vue/visualizations/components/base/PvPill/types.d.ts +1 -1
  84. package/pv-components/dist/vue/visualizations/components/base/PvTag/types.d.ts +1 -1
  85. package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +1 -1
  86. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +14 -8
  87. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  88. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +1 -0
  89. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +1 -0
  90. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +1 -0
  91. package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +1 -0
  92. package/pv-components/dist/web/components/pv-banner/pv-banner.js +1 -0
  93. package/pv-components/dist/web/components/pv-button/pv-button.js +1 -0
  94. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +1 -0
  95. package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +1 -0
  96. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +1 -0
  97. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +1 -0
  98. package/pv-components/dist/web/components/pv-empty-error-state/pv-empty-error-state.js +1 -0
  99. package/pv-components/dist/web/components/pv-empty-state/pv-empty-state.js +1 -0
  100. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +1 -0
  101. package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +1 -0
  102. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +49 -26
  103. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +408 -366
  104. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +1 -0
  105. package/pv-components/dist/web/components/pv-header/pv-header.js +1 -0
  106. package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +1 -0
  107. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +2 -1
  108. package/pv-components/dist/web/components/pv-icon/pv-icon.js +1 -0
  109. package/pv-components/dist/web/components/pv-input/pv-input.js +1 -0
  110. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +1 -0
  111. package/pv-components/dist/web/components/pv-menu/pv-menu.js +1 -0
  112. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1 -0
  113. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +1 -0
  114. package/pv-components/dist/web/components/pv-pill/pv-pill.js +9 -7
  115. package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +1 -0
  116. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +14 -8
  117. package/pv-components/dist/web/components/pv-question/pv-question.js +1 -0
  118. package/pv-components/dist/web/components/pv-range/pv-range.js +1 -0
  119. package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +1 -0
  120. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +1 -0
  121. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1 -0
  122. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +1 -0
  123. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +1 -0
  124. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +1 -0
  125. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +1 -0
  126. package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +1 -0
  127. package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +1 -0
  128. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +1 -0
  129. package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +1 -0
  130. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +1 -0
  131. package/pv-components/dist/web/components/pv-tag/pv-tag.js +14 -8
  132. package/pv-components/dist/web/components/pv-toast/pv-toast.js +1 -0
  133. package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +1 -0
  134. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +1 -0
  135. package/pv-components/dist/web/components/pv-tool/pv-tool.js +1 -0
  136. package/pv-components/dist/web/components/pv-tree/pv-tree.js +1 -0
  137. package/pv-components/dist/web/pv-components.iife.js +2 -2
  138. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -51,6 +51,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
51
51
  maxWidth: string;
52
52
  ariaLabel: string;
53
53
  readOnly: boolean;
54
+ canRemoveFocus: boolean;
54
55
  colDefs: PvFilterPanelColDef[];
55
56
  controlledValues: Record<string, string[]>;
56
57
  devMode: boolean;
@@ -49,6 +49,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
49
49
  width: string;
50
50
  ariaLabel: string;
51
51
  readOnly: boolean;
52
+ canRemoveFocus: boolean;
52
53
  colDefs: PvFilterPanelColDef[];
53
54
  controlledValues: Record<string, string[]>;
54
55
  devMode: boolean;
@@ -23,6 +23,7 @@ declare const __VLS_component: DefineComponent<PvFilterPanelOptionRowProps, {},
23
23
  resultCount: PvFilterPanelResultCount | null;
24
24
  control: "checkbox" | "radio";
25
25
  depth: number;
26
+ focusActionDisabled: boolean;
26
27
  isFocused: boolean;
27
28
  showFocusAction: boolean;
28
29
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
@@ -427,6 +427,7 @@ export interface PvFilterStore {
427
427
  export interface PvFilterPanelResolvedFilter {
428
428
  aggregateSelectionState?: MultiSelectState;
429
429
  booleanValue?: boolean | null;
430
+ canRemoveFocus?: boolean;
430
431
  category?: PvFilterPanelCategory | null;
431
432
  clientFiltering?: boolean;
432
433
  colDef: PvFilterPanelColDef;
@@ -447,11 +448,13 @@ export interface PvFilterPanelResolvedFilter {
447
448
  filterSectionHeaderRenderer?: Component;
448
449
  filterOptionsSortDescription?: string;
449
450
  filterOptionsSortTooltip?: string;
450
- hideOptionsSortDescription?: boolean;
451
- hideSearch?: boolean;
451
+ focusableFields?: string[];
452
+ focusFieldLabels?: Record<string, string>;
452
453
  focusText?: string;
453
454
  focusedValues?: string[];
454
455
  focusedValuesByField?: Record<string, string[] | undefined>;
456
+ hideOptionsSortDescription?: boolean;
457
+ hideSearch?: boolean;
455
458
  hasMore?: boolean;
456
459
  isAggregate?: boolean;
457
460
  isFocusable?: boolean;
@@ -507,8 +510,10 @@ export interface PvFilterPanelOptionRowProps {
507
510
  control?: "checkbox" | "radio";
508
511
  depth?: number;
509
512
  disabled?: boolean;
510
- indeterminate?: boolean;
513
+ focusActionDisabled?: boolean;
514
+ focusActionLabel?: string;
511
515
  focusText?: string;
516
+ indeterminate?: boolean;
512
517
  isFocused?: boolean;
513
518
  label: string;
514
519
  /** Name shared by inputs in the same radio group. */
@@ -547,6 +552,8 @@ export interface PvFilterPanelProps {
547
552
  ariaLabel?: string;
548
553
  /** Auto-hide backing fields represented by aggregate filters and child fields represented by filter groups. */
549
554
  autoHideRelatedFilterFields?: boolean;
555
+ /** Whether the currently focused value may be removed. */
556
+ canRemoveFocus?: boolean;
550
557
  cancelLabel?: string;
551
558
  categoryOrder?: PvFilterPanelCategory[];
552
559
  /** Base label used by the collapsed filters toggle; rendered as `Show/Hide ${label}`. */
@@ -616,7 +623,8 @@ export interface PvFilterPanelProps {
616
623
  * fields that consuming components default via `withDefaults` as required, so the composable can rely
617
624
  * on them being present. Both `PvFilterPanel` and `PvFilterModal` satisfy this after applying defaults.
618
625
  */
619
- export type PvFilterPanelCoreProps = Omit<PvFilterPanelProps, "colDefs" | "controlledValues" | "devMode" | "displayPreferencesIcon" | "enableFocusView" | "filterHasMoreMap" | "filterLoadingMap" | "filterLoadingMoreMap" | "filterOptions" | "filterSearchQueries" | "filterSuggestions" | "focusableFields" | "focusedValues" | "focusText" | "rangeDebounceMs" | "readOnly" | "staged"> & {
626
+ export type PvFilterPanelCoreProps = Omit<PvFilterPanelProps, "canRemoveFocus" | "colDefs" | "controlledValues" | "devMode" | "displayPreferencesIcon" | "enableFocusView" | "filterHasMoreMap" | "filterLoadingMap" | "filterLoadingMoreMap" | "filterOptions" | "filterSearchQueries" | "filterSuggestions" | "focusableFields" | "focusedValues" | "focusText" | "rangeDebounceMs" | "readOnly" | "staged"> & {
627
+ canRemoveFocus: boolean;
620
628
  colDefs: PvFilterPanelColDef[];
621
629
  controlledValues: Record<string, string[]>;
622
630
  devMode: boolean;
@@ -1,4 +1,4 @@
1
1
  import { PvColorVariants, PvSize } from '../baseProps';
2
- export type PillSize = Extract<PvSize, "md" | "lg" | "sm">;
2
+ export type PillSize = Extract<PvSize, "md" | "lg" | "sm" | "xl">;
3
3
  export type PillVariant = Extract<PvColorVariants, "default" | "success" | "warning" | "critical" | "highlight"> | "purple" | "blue";
4
4
  export type PillDotVariant = "green" | "orange" | "yellow" | "red" | "purple" | "blue" | "grey";
@@ -1,3 +1,3 @@
1
1
  import { PvSize, PvVariants } from '../baseProps';
2
- export type TagSize = Extract<PvSize, "sm" | "md" | "lg">;
2
+ export type TagSize = Extract<PvSize, "sm" | "md" | "lg" | "xl">;
3
3
  export type TagVariant = Extract<PvVariants, "primary" | "secondary" | "tertiary" | "transparent">;
@@ -13,6 +13,6 @@ export type PvTextInputColors = (typeof PvTextInputColors)[number];
13
13
  export declare const PvOrientations: readonly ["vertical", "horizontal"];
14
14
  export type PvOrientations = (typeof PvOrientations)[number];
15
15
  export declare const sizeMap: Record<PvSize, string>;
16
- export declare const PvIconSizes: readonly [undefined, 10, 12, 20, 24, 32, 64];
16
+ export declare const PvIconSizes: readonly [undefined, 10, 12, 16, 20, 24, 32, 64];
17
17
  export type PvIconSize = (typeof PvIconSizes)[number];
18
18
  export type PvAlignmentPositions = "bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right" | "right-top" | "right-bottom";
@@ -690,6 +690,7 @@ var Wn = {
690
690
  void 0,
691
691
  10,
692
692
  12,
693
+ 16,
693
694
  20,
694
695
  24,
695
696
  32,
@@ -7834,10 +7835,11 @@ var ro = ["title"], io = ["title"], ao = { style: {
7834
7835
  let t = e, n = r(() => {
7835
7836
  switch (t.size) {
7836
7837
  case "lg": return "pv-tag-lg";
7838
+ case "xl": return "pv-tag-xl";
7837
7839
  case "sm": return "pv-tag-sm";
7838
7840
  default: return "";
7839
7841
  }
7840
- }), c = r(() => {
7842
+ }), c = r(() => t.size === "xl" ? 16 : 12), l = r(() => {
7841
7843
  switch (t.variant) {
7842
7844
  case "primary": return "pv-tag-primary";
7843
7845
  case "secondary": return "pv-tag-secondary";
@@ -7845,7 +7847,7 @@ var ro = ["title"], io = ["title"], ao = { style: {
7845
7847
  case "transparent": return "pv-tag-tertiary";
7846
7848
  default: return "";
7847
7849
  }
7848
- }), l = r(() => {
7850
+ }), u = r(() => {
7849
7851
  let e = {
7850
7852
  "max-width": "100%",
7851
7853
  "--flex-gap": "4px"
@@ -7854,12 +7856,12 @@ var ro = ["title"], io = ["title"], ao = { style: {
7854
7856
  });
7855
7857
  return (t, r) => (D(), o("button", {
7856
7858
  class: y([
7857
- c.value,
7859
+ l.value,
7858
7860
  n.value,
7859
7861
  "pv-flex"
7860
7862
  ]),
7861
7863
  onClick: r[1] ||= (n) => t.$emit("handle-click", e.label),
7862
- style: x(l.value),
7864
+ style: x(u.value),
7863
7865
  "data-testid": "pv-tag",
7864
7866
  "data-style": e.rounded ? "rounded" : void 0
7865
7867
  }, [
@@ -7868,17 +7870,21 @@ var ro = ["title"], io = ["title"], ao = { style: {
7868
7870
  "data-testid": "pv-tag-icon",
7869
7871
  class: y(e.iconClasses),
7870
7872
  name: e.icon,
7871
- size: 12
7872
- }, null, 8, ["class", "name"])) : a("", !0),
7873
+ size: c.value
7874
+ }, null, 8, [
7875
+ "class",
7876
+ "name",
7877
+ "size"
7878
+ ])) : a("", !0),
7873
7879
  s("span", { class: y(["pv-truncate", { "pv-underline-dotted": e.spine }]) }, P(e.label), 3),
7874
7880
  e.showClear ? (D(), i(qn, {
7875
7881
  key: 1,
7876
7882
  "data-testid": "pv-tag-close-icon",
7877
- size: 12,
7883
+ size: c.value,
7878
7884
  name: "close",
7879
7885
  "data-dd-action-name": e.rumRemoveActionName,
7880
7886
  onClick: r[0] ||= K((n) => t.$emit("handle-close", e.label), ["stop"])
7881
- }, null, 8, ["data-dd-action-name"])) : a("", !0)
7887
+ }, null, 8, ["size", "data-dd-action-name"])) : a("", !0)
7882
7888
  ], 14, Ec));
7883
7889
  }
7884
7890
  }), Oc = { class: "pv-inset-squish-12" }, kc = {