@turquoisehealth/pit-viper 2.258.1 → 2.260.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 (129) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +102 -44
  2. package/_site/assets/css/pit-viper-a11y.css +91 -33
  3. package/_site/assets/css/pit-viper-consumer.css +90 -32
  4. package/_site/assets/css/pit-viper-v2-scoped.css +84 -32
  5. package/_site/assets/css/pit-viper-v2.css +91 -33
  6. package/_site/assets/css/pit-viper-v3.css +102 -44
  7. package/_site/assets/css/pit-viper.css +90 -32
  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/PvPill/types.d.ts +1 -1
  62. package/pv-components/dist/vue/ai/components/base/PvTabs/PvTabs.vue.d.ts +2 -2
  63. package/pv-components/dist/vue/ai/components/base/PvTag/types.d.ts +1 -1
  64. package/pv-components/dist/vue/ai/components/base/baseProps.d.ts +1 -1
  65. package/pv-components/dist/vue/ai/pv-components-ai.mjs +1 -0
  66. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  67. package/pv-components/dist/vue/base/components/base/PvPill/types.d.ts +1 -1
  68. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +2 -2
  69. package/pv-components/dist/vue/base/components/base/PvTag/types.d.ts +1 -1
  70. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +1 -1
  71. package/pv-components/dist/vue/base/pv-components-base.mjs +1068 -1027
  72. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  73. package/pv-components/dist/vue/visualizations/components/base/PvPill/types.d.ts +1 -1
  74. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +2 -2
  75. package/pv-components/dist/vue/visualizations/components/base/PvTag/types.d.ts +1 -1
  76. package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +1 -1
  77. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +19 -13
  78. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  79. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +1 -0
  80. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +1 -0
  81. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +1 -0
  82. package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +1 -0
  83. package/pv-components/dist/web/components/pv-banner/pv-banner.js +1 -0
  84. package/pv-components/dist/web/components/pv-button/pv-button.js +1 -0
  85. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +1 -0
  86. package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +1 -0
  87. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +1 -0
  88. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +1 -0
  89. package/pv-components/dist/web/components/pv-empty-error-state/pv-empty-error-state.js +1 -0
  90. package/pv-components/dist/web/components/pv-empty-state/pv-empty-state.js +1 -0
  91. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +1 -0
  92. package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +1 -0
  93. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1 -0
  94. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +15 -9
  95. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +1 -0
  96. package/pv-components/dist/web/components/pv-header/pv-header.js +1 -0
  97. package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +1 -0
  98. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +1 -0
  99. package/pv-components/dist/web/components/pv-icon/pv-icon.js +1 -0
  100. package/pv-components/dist/web/components/pv-input/pv-input.js +1 -0
  101. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +1 -0
  102. package/pv-components/dist/web/components/pv-menu/pv-menu.js +1 -0
  103. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1 -0
  104. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +1 -0
  105. package/pv-components/dist/web/components/pv-pill/pv-pill.js +9 -7
  106. package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +1 -0
  107. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +14 -8
  108. package/pv-components/dist/web/components/pv-question/pv-question.js +1 -0
  109. package/pv-components/dist/web/components/pv-range/pv-range.js +1 -0
  110. package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +1 -0
  111. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +1 -0
  112. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1 -0
  113. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +1 -0
  114. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +1 -0
  115. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +1 -0
  116. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +1 -0
  117. package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +1 -0
  118. package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +1 -0
  119. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +1 -0
  120. package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +1 -0
  121. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +1055 -1020
  122. package/pv-components/dist/web/components/pv-tag/pv-tag.js +14 -8
  123. package/pv-components/dist/web/components/pv-toast/pv-toast.js +1 -0
  124. package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +1 -0
  125. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +1 -0
  126. package/pv-components/dist/web/components/pv-tool/pv-tool.js +1 -0
  127. package/pv-components/dist/web/components/pv-tree/pv-tree.js +1 -0
  128. package/pv-components/dist/web/pv-components.iife.js +14 -14
  129. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -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";
@@ -14,12 +14,12 @@ type __VLS_PublicProps = {
14
14
  } & __VLS_Props;
15
15
  declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
16
16
  "update:modelValue": (value: string) => any;
17
- "add-button-click": (value: string) => any;
17
+ "add-button-click": (value: string, option?: string | undefined) => any;
18
18
  "handle-input-submit": (value: string, text: string) => any;
19
19
  "option-click": (tabValue: string, optionValue: string) => any;
20
20
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
21
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
- "onAdd-button-click"?: ((value: string) => any) | undefined;
22
+ "onAdd-button-click"?: ((value: string, option?: string | undefined) => any) | undefined;
23
23
  "onHandle-input-submit"?: ((value: string, text: string) => any) | undefined;
24
24
  "onOption-click"?: ((tabValue: string, optionValue: string) => any) | undefined;
25
25
  }>, {
@@ -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 = {
@@ -12365,9 +12371,11 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
12365
12371
  })], 4)])) : a("", !0)], 6));
12366
12372
  }
12367
12373
  }), ep = {
12374
+ backgroundColor: "var(--color-background-body, white)",
12375
+ foregroundColor: "var(--color-text-body, #121313)",
12368
12376
  headerHeight: "30px",
12369
12377
  headerBackgroundColor: "var(--color-background-body, white)",
12370
- headerCellHoverBackgroundColor: "var(--color-background-accent, #f7f8f8)",
12378
+ headerCellHoverBackgroundColor: "var(--color-background-table-hover, #f7f8f8)",
12371
12379
  headerColumnResizeHandleHeight: "50%",
12372
12380
  headerColumnResizeHandleWidth: "3px",
12373
12381
  headerColumnBorder: "none",
@@ -12382,7 +12390,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
12382
12390
  }, tp = Fe.withParams({
12383
12391
  ...ep,
12384
12392
  headerRowBorder: !0,
12385
- rowHoverColor: "var(--color-background-accent, #f7f8f8)",
12393
+ rowHoverColor: "var(--color-background-table-hover, #f7f8f8)",
12386
12394
  wrapperBorder: !0,
12387
12395
  wrapperBorderRadius: "8px"
12388
12396
  }), np = Fe.withParams({
@@ -12400,16 +12408,14 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
12400
12408
  "pv-data-table-grouped": Fe.withParams({
12401
12409
  ...ep,
12402
12410
  headerRowBorder: !0,
12403
- rowHoverColor: "var(--color-background-accent, #f7f8f8)",
12411
+ rowHoverColor: "var(--color-background-table-hover, #f7f8f8)",
12404
12412
  wrapperBorder: !0,
12405
12413
  wrapperBorderRadius: "8px"
12406
12414
  }),
12407
12415
  "pv-data-table-grouped-card": np,
12408
12416
  "pv-data-table-classic": Fe.withParams({
12409
12417
  ...ep,
12410
- backgroundColor: "var(--color-background-body, white)",
12411
12418
  borderColor: "var(--color-border, #e3e7ea)",
12412
- foregroundColor: "var(--color-text-body, #121313)",
12413
12419
  headerHeight: "33px",
12414
12420
  headerBackgroundColor: "var(--color-background-accent, #f7f8f8)",
12415
12421
  headerCellHoverBackgroundColor: "var(--color-background-accent, #f7f8f8)",