@turquoisehealth/pit-viper 2.206.2 → 2.208.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 (48) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +0 -5
  2. package/_site/assets/css/pit-viper-v2.css +0 -5
  3. package/package.json +1 -1
  4. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  5. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-tag-stats.html +1 -1
  13. package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +11 -5
  14. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +8 -0
  15. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +1 -1
  16. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +14 -7
  17. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +20 -3
  18. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +5 -0
  19. package/pv-components/dist/vue/base/components/base/PvTag/PvTag.vue.d.ts +6 -0
  20. package/pv-components/dist/vue/base/components/base/index.d.ts +2 -0
  21. package/pv-components/dist/vue/base/pv-components-base.mjs +1099 -1045
  22. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  23. package/pv-components/dist/vue/base/types.d.ts +11 -5
  24. package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.vue.d.ts +11 -5
  25. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +8 -0
  26. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +1 -1
  27. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +14 -7
  28. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +20 -3
  29. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.vue.d.ts +5 -0
  30. package/pv-components/dist/vue/visualizations/components/base/PvTag/PvTag.vue.d.ts +6 -0
  31. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +2 -0
  32. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +2 -0
  33. package/pv-components/dist/vue/visualizations/components/charts/widgetOptions.d.ts +1 -0
  34. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +26 -2
  35. package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +2 -0
  36. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1668 -1416
  37. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  38. package/pv-components/dist/vue/visualizations/types.d.ts +11 -5
  39. package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +177 -177
  40. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +13 -15
  41. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1145 -1146
  42. package/pv-components/dist/web/components/pv-menu/pv-menu.js +885 -866
  43. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +937 -906
  44. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +511 -489
  45. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +865 -843
  46. package/pv-components/dist/web/components/pv-tag/pv-tag.js +4 -2
  47. package/pv-components/dist/web/pv-components.iife.js +14 -14
  48. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -24,10 +24,12 @@ export interface PvMultiSelectButtonProps<T = unknown, SlotContext extends Recor
24
24
  disableDropdownIcon?: boolean;
25
25
  /** Hide the search input inside the dropdown */
26
26
  disableSearchInput?: boolean;
27
- /** Prevent the button from being clicked */
27
+ /** Disable the button. The trigger is non-interactive (not clickable) and the clear
28
+ * icon is hidden. For a read-only / view-only presentation where the dropdown can
29
+ * still be opened to inspect selections, leave `disabled` off and instead compose
30
+ * `disableSearchInput`, `disableClearIcon`, a null `menuActionsVariant`, and disabled
31
+ * options (see SetFilter). */
28
32
  disabled?: boolean;
29
- /** Allow the dropdown to open for viewing but prevent adding or removing selections */
30
- readOnly?: boolean;
31
33
  /** Enable cascade (parent/child) selection. When true, clicking a parent option
32
34
  * toggles all its leaf descendants, and parent checkboxes show indeterminate state
33
35
  * when partially selected. All existing behavior is unchanged when false (default). */
@@ -101,6 +103,21 @@ export interface PvMultiSelectButtonProps<T = unknown, SlotContext extends Recor
101
103
  * selections from sub-filters (e.g. FilterGroupMenu) that are not part of the
102
104
  * main options list. */
103
105
  additionalCounter?: number;
106
+ /**
107
+ * Human-readable filter name used to derive `data-dd-action-name` attributes
108
+ * on the trigger, search input, Select All, and Clear All buttons so Datadog
109
+ * RUM resolves clicks to named actions instead of concatenated DOM text.
110
+ * E.g. passing "Payer Network" yields "Open Payer Network filter",
111
+ * "Search Payer Network options", "Select all Payer Network options",
112
+ * "Clear Payer Network selections". Leave undefined to skip.
113
+ */
114
+ rumFilterName?: string;
115
+ /**
116
+ * Overrides the trigger's `data-dd-action-name`. Use this when the trigger
117
+ * label isn't filter-name shaped (e.g. "Select Y Axis metric" on a chart
118
+ * options selector). When unset, `rumFilterName` composes the default.
119
+ */
120
+ rumActionName?: string;
104
121
  }
105
122
  export interface PvMultiSelectButtonSlotProps<T = unknown, SlotContext = Record<string, unknown>> extends Omit<PvMultiSelectButtonProps, "slotContext"> {
106
123
  searchInput?: string;
@@ -44,6 +44,11 @@ export interface PvSelectButtonProps<T = unknown> {
44
44
  counterBadgeVariant?: PvCounterBadgeVariant;
45
45
  /** Whether to highlight the search text in the options list */
46
46
  highlightSearchText?: boolean;
47
+ /**
48
+ * `data-dd-action-name` attached to the trigger button so Datadog RUM
49
+ * resolves the click to a named action. Leave unset to skip.
50
+ */
51
+ rumActionName?: string;
47
52
  }
48
53
  declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
49
54
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
@@ -33,6 +33,12 @@ export interface PvTagProps {
33
33
  * Spine - dotted state
34
34
  */
35
35
  spine?: boolean;
36
+ /**
37
+ * Optional `data-dd-action-name` attached to the close (×) icon so Datadog
38
+ * RUM resolves the click to a named action instead of the tag label.
39
+ * Leave unset to fall back to Datadog's default text resolution.
40
+ */
41
+ rumRemoveActionName?: string;
36
42
  }
37
43
  declare const _default: DefineComponent<PvTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
38
44
  "handle-close": (payload: string) => any;
@@ -87,3 +87,5 @@ export type { PvHoverActionMenuPosition } from './PvHoverActionMenu/types';
87
87
  export type { PvFilterPanelAggregateFieldHierarchy, PvFilterPanelColDef, PvFilterPanelColDefContext, PvFilterPanelControlChange, PvFilterPanelFilterChangeEvent, PvFilterPanelFilterChangeReason, PvFilterPanelFilterGroup, PvFilterPanelFilterModel, PvFilterPanelFilterModelType, PvFilterPanelFilterType, PvFilterPanelOption, PvFilterPanelOptionsHandler, PvFilterPanelOptionsHandlerParams, PvFilterPanelOptionsHandlerReason, PvFilterPanelOptionsResponse, PvFilterPanelOptionRawValue, PvFilterPanelProps, PvFilterPanelRangeConfig, PvFilterPanelResultCount, PvFilterPanelSuggestion, PvFilterStore, PvFilterStoreFetchOptionsParams, } from './PvFilterPanel/types';
88
88
  export { createPvFilterStore, providePvFilterStore, useOptionalPvFilterStore, usePvFilterStore, } from './PvFilterPanel/usePvFilterStore';
89
89
  export type { PvRangeColor, PvRangeMode, PvRangeProps, PvRangeSize, PvRangeValue, } from './PvRange/types';
90
+ export { RumContextKey, useRumContext, addRumAction, deferRumTask } from '../../functions/rum';
91
+ export type { PvRumContext } from '../../functions/rum';