@turquoisehealth/pit-viper 2.266.1-dev.1 → 2.267.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 (82) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +12 -0
  2. package/_site/assets/css/pit-viper-a11y.css +12 -0
  3. package/_site/assets/css/pit-viper-consumer.css +12 -0
  4. package/_site/assets/css/pit-viper-v2-scoped.css +10 -0
  5. package/_site/assets/css/pit-viper-v2.css +12 -0
  6. package/_site/assets/css/pit-viper-v3.css +12 -0
  7. package/_site/assets/css/pit-viper.css +12 -0
  8. package/_site/manifest.json +2 -2
  9. package/package.json +1 -1
  10. package/pv-components/dist/stats/vue/ai/stats.html +1 -1
  11. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  12. package/pv-components/dist/stats/vue/visualizations/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-file-input-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  30. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  32. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  33. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  34. package/pv-components/dist/vue/ai/components/ai/PvPromptInput/PvPromptInput.vue.d.ts +4 -0
  35. package/pv-components/dist/vue/ai/components/ai/PvPromptInput/types.d.ts +12 -0
  36. package/pv-components/dist/vue/ai/components/ai/PvQuestion/types.d.ts +4 -0
  37. package/pv-components/dist/vue/ai/components/base/PvFileInput/PvFileInput.vue.d.ts +3 -0
  38. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -4
  39. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +0 -2
  40. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -1
  41. package/pv-components/dist/vue/ai/components/base/PvRange/PvRange.vue.d.ts +2 -2
  42. package/pv-components/dist/vue/ai/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +5 -0
  43. package/pv-components/dist/vue/ai/components/base/PvTooltip/PvTooltip.vue.d.ts +1 -1
  44. package/pv-components/dist/vue/ai/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +1 -1
  45. package/pv-components/dist/vue/ai/pv-components-ai.mjs +494 -325
  46. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  47. package/pv-components/dist/vue/base/components/base/PvFileInput/PvFileInput.vue.d.ts +3 -0
  48. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -4
  49. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +0 -2
  50. package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +5 -0
  51. package/pv-components/dist/vue/base/pv-components-base.mjs +1111 -1118
  52. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  53. package/pv-components/dist/vue/visualizations/components/base/PvFileInput/PvFileInput.vue.d.ts +3 -0
  54. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -4
  55. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +0 -2
  56. package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +5 -0
  57. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +0 -7
  58. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1020 -1064
  59. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  60. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +307 -323
  61. package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +158 -151
  62. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +3 -20
  63. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +877 -887
  64. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +2 -18
  65. package/pv-components/dist/web/components/pv-menu/pv-menu.js +2 -18
  66. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +3 -20
  67. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +406 -422
  68. package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +834 -572
  69. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +2 -18
  70. package/pv-components/dist/web/components/pv-question/pv-question.js +387 -373
  71. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +460 -476
  72. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +330 -346
  73. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +2 -18
  74. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +2 -18
  75. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +244 -260
  76. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +573 -589
  77. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +382 -376
  78. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +672 -688
  79. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +414 -430
  80. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +608 -624
  81. package/pv-components/dist/web/pv-components.iife.js +39 -39
  82. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -2145,20 +2145,6 @@ var ni = /* @__PURE__ */ new Set(), ri = (e, t) => {
2145
2145
  c.value !== t && (c.value = t);
2146
2146
  }, H = (e) => {
2147
2147
  h && P.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), le(!1));
2148
- }, xe = (e) => e ? Array.from(e.querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])")) : [], Se = r(() => t.useTeleport && !h && t.showOnHover && !t.disabled), Ce = (e) => {
2149
- if (!Se.value || e.key !== "Tab" || e.shiftKey || !c.value) return;
2150
- let [t] = xe(x.value);
2151
- t && (e.preventDefault(), A.value = !0, t.focus());
2152
- }, we = (e) => {
2153
- if (!Se.value) return;
2154
- let [t] = xe(v.value);
2155
- if (e.key === "Escape") {
2156
- e.preventDefault(), e.stopPropagation(), j.value = !0, de(), t?.focus();
2157
- return;
2158
- }
2159
- if (e.key !== "Tab") return;
2160
- let n = xe(x.value);
2161
- e.shiftKey && document.activeElement === n[0] ? (e.preventDefault(), t?.focus()) : !e.shiftKey && document.activeElement === n[n.length - 1] && (j.value = !0, de(), t?.focus());
2162
2148
  };
2163
2149
  return V(c, async (e) => {
2164
2150
  if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
@@ -2199,8 +2185,7 @@ var ni = /* @__PURE__ */ new Set(), ri = (e, t) => {
2199
2185
  style: C(F.value),
2200
2186
  onClick: ye,
2201
2187
  onFocusin: ge,
2202
- onFocusout: l[0] ||= (e) => D.value = !1,
2203
- onKeydown: Ce
2188
+ onFocusout: l[0] ||= (e) => D.value = !1
2204
2189
  }, [N(r.$slots, "trigger")], 36), g.value && R(h) && m.value ? (k(), o("div", {
2205
2190
  key: 0,
2206
2191
  ref_key: "floating",
@@ -2221,8 +2206,7 @@ var ni = /* @__PURE__ */ new Set(), ri = (e, t) => {
2221
2206
  class: "pv-floating",
2222
2207
  style: C(ae.value),
2223
2208
  onFocusin: _e,
2224
- onFocusout: ve,
2225
- onKeydown: we
2209
+ onFocusout: ve
2226
2210
  }, [N(r.$slots, "content")], 36), [[ue, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
2227
2211
  }
2228
2212
  }), ci = ["data-variant"], li = /* @__PURE__ */ d({
@@ -4836,8 +4820,7 @@ var as = ["data-align"], os = ["id", "role"], ss = /* @__PURE__ */ ht(/* @__PURE
4836
4820
  searchInput: P.value,
4837
4821
  slotContext: c.slotContext,
4838
4822
  isOpen: j.value,
4839
- isLoading: c.isLoading,
4840
- filteredOptionCount: pe.value.length
4823
+ isLoading: c.isLoading
4841
4824
  })), H = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), xe = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), Se = B("popoverContentRef"), Ce = r(() => {
4842
4825
  let e = Se.value?.getRootNode();
4843
4826
  return e instanceof ShadowRoot ? e.host : null;