@turquoisehealth/pit-viper 2.207.0 → 2.209.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 (90) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +5 -0
  2. package/_site/assets/css/pit-viper-v2.css +5 -0
  3. package/_src/assets/sprite-v2.svg +1 -1
  4. package/_src/assets/sprite.svg +1 -1
  5. package/package.json +1 -1
  6. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  7. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  28. package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +11 -5
  29. package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +10 -2
  30. package/pv-components/dist/vue/base/components/base/PvFilterModal/PvFilterModal.vue.d.ts +3 -0
  31. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +3 -0
  32. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  33. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +22 -1
  34. package/pv-components/dist/vue/base/components/base/PvHoverActionMenu/PvHoverActionMenu.vue.d.ts +1 -1
  35. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +1 -1
  36. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -4
  37. package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +3 -2
  38. package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +11 -20
  39. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +9 -16
  40. package/pv-components/dist/vue/base/components/base/PvProgressBar/PvProgressBar.vue.d.ts +7 -3
  41. package/pv-components/dist/vue/base/components/base/PvRadioGroup/PvRadioGroup.vue.d.ts +8 -8
  42. package/pv-components/dist/vue/base/components/base/PvRange/PvRange.vue.d.ts +2 -2
  43. package/pv-components/dist/vue/base/components/base/PvSidebar/PvSidebar.vue.d.ts +1 -1
  44. package/pv-components/dist/vue/base/pv-components-base.mjs +2163 -2001
  45. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  46. package/pv-components/dist/vue/base/types.d.ts +11 -5
  47. package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.vue.d.ts +11 -5
  48. package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +10 -2
  49. package/pv-components/dist/vue/visualizations/components/base/PvFilterModal/PvFilterModal.vue.d.ts +3 -0
  50. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +3 -0
  51. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  52. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +22 -1
  53. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +1 -1
  54. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +5 -5
  55. package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +3 -2
  56. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +11 -20
  57. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +9 -16
  58. package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts +7 -3
  59. package/pv-components/dist/vue/visualizations/components/base/PvRadioGroup/PvRadioGroup.vue.d.ts +8 -8
  60. package/pv-components/dist/vue/visualizations/components/base/PvSidebar/PvSidebar.vue.d.ts +1 -1
  61. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +4 -2
  62. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +4 -2
  63. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +5 -0
  64. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2700 -2586
  65. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  66. package/pv-components/dist/vue/visualizations/types.d.ts +11 -5
  67. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +1062 -1026
  68. package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +177 -177
  69. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +13 -15
  70. package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +953 -934
  71. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1631 -1556
  72. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1866 -1794
  73. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +939 -907
  74. package/pv-components/dist/web/components/pv-menu/pv-menu.js +1169 -1118
  75. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1039 -1047
  76. package/pv-components/dist/web/components/pv-popover/pv-popover.js +6 -3
  77. package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +6 -3
  78. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +1054 -1013
  79. package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +485 -476
  80. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1744 -1519
  81. package/pv-components/dist/web/components/pv-radio-group/pv-radio-group.js +8 -8
  82. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +986 -954
  83. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1298 -1306
  84. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +359 -359
  85. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +942 -911
  86. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +892 -856
  87. package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +414 -410
  88. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +903 -861
  89. package/pv-components/dist/web/pv-components.iife.js +19 -19
  90. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -20,6 +20,7 @@ declare const __VLS_component: DefineComponent<PvFilterPanelOptionRowProps, {},
20
20
  selected: boolean;
21
21
  indeterminate: boolean;
22
22
  focusText: string;
23
+ control: "checkbox" | "radio";
23
24
  depth: number;
24
25
  isFocused: boolean;
25
26
  resultCount: PvFilterPanelResultCount | null;
@@ -109,6 +109,10 @@ export interface PvFilterPanelColDefContext {
109
109
  * Category label used by reusable filter panel UIs to group this column.
110
110
  */
111
111
  filterPanelCategory?: PvFilterPanelCategory | null;
112
+ /**
113
+ * If true, the filter selection is supplied by the consumer and never written to the filter model.
114
+ */
115
+ filterPanelControlled?: boolean;
112
116
  /**
113
117
  * If true, this filter is hidden behind the panel's collapsed filters toggle by default.
114
118
  */
@@ -137,6 +141,10 @@ export interface PvFilterPanelColDefContext {
137
141
  * Placeholder shown in value filter search inputs.
138
142
  */
139
143
  filterPanelSearchPlaceholder?: string;
144
+ /**
145
+ * If true, value options render as radios and selecting one replaces the previous selection.
146
+ */
147
+ filterPanelSingleSelect?: boolean;
140
148
  /**
141
149
  * Filter control type used by reusable filter panel UIs.
142
150
  */
@@ -310,6 +318,8 @@ export interface PvFilterPanelResolvedFilter {
310
318
  booleanValue?: boolean | null;
311
319
  category?: PvFilterPanelCategory | null;
312
320
  colDef: PvFilterPanelColDef;
321
+ /** Whether the consumer owns this filter's selection outside the filter model. */
322
+ controlled?: boolean;
313
323
  dataType?: string | null;
314
324
  disabled?: boolean;
315
325
  displayPreferencesIcon?: boolean;
@@ -345,6 +355,8 @@ export interface PvFilterPanelResolvedFilter {
345
355
  searchPlaceholder?: string;
346
356
  searchQuery?: string;
347
357
  selectedValues?: string[];
358
+ /** Whether value options use single-select radio behavior. */
359
+ singleSelect?: boolean;
348
360
  type: PvFilterPanelFilterType;
349
361
  valueDecimals?: number | null;
350
362
  valueLabels?: Record<string, string> | null;
@@ -363,12 +375,16 @@ export interface PvFilterPanelCategoryButtonRowProps {
363
375
  }
364
376
  export interface PvFilterPanelOptionRowProps {
365
377
  ariaLabel?: string;
378
+ /** Input control rendered for the option. */
379
+ control?: "checkbox" | "radio";
366
380
  depth?: number;
367
381
  disabled?: boolean;
368
382
  indeterminate?: boolean;
369
383
  focusText?: string;
370
384
  isFocused?: boolean;
371
385
  label: string;
386
+ /** Name shared by inputs in the same radio group. */
387
+ name?: string;
372
388
  queryText?: string | null;
373
389
  renderer?: Component;
374
390
  resultCount?: PvFilterPanelResultCount | null;
@@ -381,6 +397,8 @@ export interface PvFilterPanelOptionRowProps {
381
397
  export type PvFilterPanelEmits = {
382
398
  apply: [filterModel: PvFilterPanelFilterModel];
383
399
  cancel: [];
400
+ /** Emitted when a consumer-controlled value filter selection changes. */
401
+ "controlled-change": [filterKey: string, values: string[], colDef: PvFilterPanelColDef];
384
402
  "filter-change": [event: PvFilterPanelFilterChangeEvent];
385
403
  "focus-change": [field: string, value: string, option: PvFilterPanelOption];
386
404
  "handle-settings-icon": [field: string, colDef: PvFilterPanelColDef];
@@ -403,6 +421,8 @@ export interface PvFilterPanelProps {
403
421
  clearAllHeader?: string;
404
422
  clearAllLabel?: string;
405
423
  colDefs?: PvFilterPanelColDef[];
424
+ /** Selected values for consumer-controlled filters, keyed by column key. */
425
+ controlledValues?: Record<string, string[]>;
406
426
  /** Whether dev-only filters should be shown. */
407
427
  devMode?: boolean;
408
428
  displayPreferencesIcon?: boolean;
@@ -446,8 +466,9 @@ export interface PvFilterPanelProps {
446
466
  * fields that consuming components default via `withDefaults` as required, so the composable can rely
447
467
  * on them being present. Both `PvFilterPanel` and `PvFilterModal` satisfy this after applying defaults.
448
468
  */
449
- export type PvFilterPanelCoreProps = Omit<PvFilterPanelProps, "colDefs" | "devMode" | "displayPreferencesIcon" | "enableFocusView" | "filterHasMoreMap" | "filterLoadingMap" | "filterLoadingMoreMap" | "filterOptions" | "filterSearchQueries" | "filterSuggestions" | "focusableFields" | "focusedValues" | "focusText" | "rangeDebounceMs" | "readOnly" | "staged"> & {
469
+ export type PvFilterPanelCoreProps = Omit<PvFilterPanelProps, "colDefs" | "controlledValues" | "devMode" | "displayPreferencesIcon" | "enableFocusView" | "filterHasMoreMap" | "filterLoadingMap" | "filterLoadingMoreMap" | "filterOptions" | "filterSearchQueries" | "filterSuggestions" | "focusableFields" | "focusedValues" | "focusText" | "rangeDebounceMs" | "readOnly" | "staged"> & {
450
470
  colDefs: PvFilterPanelColDef[];
471
+ controlledValues: Record<string, string[]>;
451
472
  devMode: boolean;
452
473
  displayPreferencesIcon: boolean;
453
474
  enableFocusView: boolean;
@@ -30,8 +30,8 @@ declare const __VLS_component: DefineComponent<PvHoverActionMenuProps, {}, {}, {
30
30
  }>, {
31
31
  variant: PvActionBarTheme;
32
32
  disabled: boolean;
33
- position: PvHoverActionMenuPosition;
34
33
  options: MenuOption[];
34
+ position: PvHoverActionMenuPosition;
35
35
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
36
36
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
37
37
  export default _default;
@@ -4,5 +4,5 @@ interface PvMenuItemActionProps {
4
4
  action: MenuAction<any>;
5
5
  option: MenuOption;
6
6
  }
7
- declare const _default: DefineComponent<PvMenuItemActionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvMenuItemActionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ declare const _default: DefineComponent<PvMenuItemActionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvMenuItemActionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
8
8
  export default _default;
@@ -6,9 +6,9 @@ import { PvPopoverV2Props } from '../PvPopoverV2/types';
6
6
  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<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
8
  readonly "onUpdate:modelValue"?: ((value: MenuOption<T>[]) => any) | undefined;
9
+ readonly "onSelect-all"?: ((valueCount: number) => any) | undefined;
9
10
  readonly "onDropdown-open"?: (() => any) | undefined;
10
11
  readonly "onDropdown-closed"?: (() => any) | undefined;
11
- readonly "onSelect-all"?: ((valueCount: number) => any) | undefined;
12
12
  readonly "onUpdate:searchInput"?: ((value: string) => any) | undefined;
13
13
  readonly "onSee-more"?: ((payload: SeeMoreEvent) => any) | undefined;
14
14
  readonly "onUpdate:selectionState"?: ((value: MultiSelectState) => any) | undefined;
@@ -58,7 +58,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
58
58
  disableClearIcon: boolean;
59
59
  disableSearchInput: boolean;
60
60
  disabled: boolean;
61
- optionsVariant: "icon" | "toggle" | "checkbox" | "simple" | "company" | "avatar" | "checkmark";
61
+ optionsVariant: "toggle" | "checkbox" | "icon" | "simple" | "company" | "avatar" | "checkmark";
62
62
  options: MenuOption<T>[];
63
63
  menuActionsVariant: MenuActionsVariant | null;
64
64
  highlightSearchText: boolean;
@@ -102,7 +102,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
102
102
  disableClearIcon: boolean;
103
103
  disableSearchInput: boolean;
104
104
  disabled: boolean;
105
- optionsVariant: "icon" | "toggle" | "checkbox" | "simple" | "company" | "avatar" | "checkmark";
105
+ optionsVariant: "toggle" | "checkbox" | "icon" | "simple" | "company" | "avatar" | "checkmark";
106
106
  options: MenuOption<T>[];
107
107
  menuActionsVariant: MenuActionsVariant | null;
108
108
  highlightSearchText: boolean;
@@ -146,7 +146,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
146
146
  disableClearIcon: boolean;
147
147
  disableSearchInput: boolean;
148
148
  disabled: boolean;
149
- optionsVariant: "icon" | "toggle" | "checkbox" | "simple" | "company" | "avatar" | "checkmark";
149
+ optionsVariant: "toggle" | "checkbox" | "icon" | "simple" | "company" | "avatar" | "checkmark";
150
150
  options: MenuOption<T>[];
151
151
  menuActionsVariant: MenuActionsVariant | null;
152
152
  highlightSearchText: boolean;
@@ -2,10 +2,10 @@ import { CSSProperties, DefineComponent, Ref, ComponentOptionsMixin, PublicProps
2
2
  export interface PvPopoverProps {
3
3
  /** Alignment of the popover relative to its trigger. */
4
4
  alignment?: "top" | "right" | "top right" | undefined;
5
- /** Custom CSS properties applied to the popover root element. */
6
- cssCustomProperties?: CSSProperties;
7
5
  /** Custom CSS properties applied to the inner list element (when isList is true). */
8
6
  cssCustomListProperties?: CSSProperties;
7
+ /** Custom CSS properties applied to the popover root element. */
8
+ cssCustomProperties?: CSSProperties;
9
9
  /** When true, renders the content inside a `<ul>` list element. */
10
10
  isList?: boolean;
11
11
  /** When true and isList is true, enables drag-and-drop reordering of list items. */
@@ -21,6 +21,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvPopoverProps,
21
21
  alignment: "top" | "right" | "top right";
22
22
  cssCustomProperties: CSSProperties;
23
23
  isList: boolean;
24
+ isSortable: boolean;
24
25
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
25
26
  popoverRoot: HTMLDivElement;
26
27
  popoverList: HTMLUListElement;
@@ -2,26 +2,13 @@ import { PvPopoverV2Props } from './types.ts';
2
2
  import { PvAlignmentPositions } from '../baseProps.ts';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
4
  import { Strategy } from '@floating-ui/vue';
5
- type __VLS_Props = PvPopoverV2Props;
6
- type __VLS_PublicProps = {
5
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
7
6
  modelValue?: boolean;
8
- } & __VLS_Props;
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- trigger?(_: {}): any;
13
- content?(_: {}): any;
14
- };
15
- refs: {
16
- triggerWrapper: HTMLDivElement;
17
- floating: HTMLDivElement;
18
- };
19
- rootEl: HTMLDivElement;
20
- };
21
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
+ } & PvPopoverV2Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
8
  "update:modelValue": (value: boolean) => any;
24
- }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ }, string, PublicProps, Readonly<{
10
+ modelValue?: boolean;
11
+ } & PvPopoverV2Props> & Readonly<{
25
12
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
26
13
  }>, {
27
14
  delay: number;
@@ -35,10 +22,14 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
35
22
  zIndex: number;
36
23
  teleportLocation: string;
37
24
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
25
+ root: HTMLDivElement;
38
26
  triggerWrapper: HTMLDivElement;
39
27
  floating: HTMLDivElement;
40
- }, HTMLDivElement>;
41
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ }, HTMLDivElement>, {
29
+ trigger?(_: {}): any;
30
+ content?(_: {}): any;
31
+ content?(_: {}): any;
32
+ }>;
42
33
  export default _default;
43
34
  type __VLS_WithTemplateSlots<T, S> = T & {
44
35
  new (): {
@@ -1,35 +1,28 @@
1
1
  import { Strategy } from '@floating-ui/vue';
2
2
  import { PvAlignmentPositions } from '../baseProps.ts';
3
3
  export interface PvPopoverV2Props {
4
- /**
5
- * When true, disables Floating UI's automatic flip/auto placement behavior.
6
- * This will keep the popover at the requested position even if it overflows,
7
- * which may result in partial or full out-of-viewport placement.
8
- */
4
+ /** When true, disables automatic collision flips. */
9
5
  disableAutoPlacement?: boolean;
10
6
  /** Placement of the popover relative to the trigger element. */
11
7
  position?: PvAlignmentPositions;
12
- /** CSS positioning strategy for the floating element. */
8
+ /** CSS positioning strategy for the legacy Floating UI path. */
13
9
  positioningStrategy?: Strategy;
14
10
  /** When true, the popover opens on hover instead of click. */
15
11
  showOnHover?: boolean;
16
- /** When true and showOnHover is enabled, the popover closes immediately when the cursor leaves the trigger (ignoring hover on the popover itself). */
12
+ /** When true and showOnHover is enabled, hovering the popover does not keep it open. */
17
13
  disableInteractive?: boolean;
18
- /** When true, teleports the popover to a target element (defaults to body). May have side-effects with styling context. */
14
+ /** Teleports the surface in the legacy Floating UI path. */
19
15
  useTeleport?: boolean;
20
16
  /** When true, clicking outside the popover will not close it. */
21
17
  disableClickOutsideToClose?: boolean;
22
- /** Delay in milliseconds before opening the popover. Closing is always immediate regardless of this value. */
18
+ /** Delay before a hover popover opens. The legacy path also applies it to click triggers. */
23
19
  delay?: number;
24
- /** z-index applied to the floating popover element. */
20
+ /** z-index applied in the legacy Floating UI path. */
25
21
  zIndex?: number;
26
- /** CSS selector for the teleport target. Only used when useTeleport is true. */
22
+ /** CSS selector for the legacy Teleport target. */
27
23
  teleportLocation?: string;
28
- /**
29
- * Offset distance in pixels between the popover and the trigger element.
30
- * Positive values move the popover further away; negative values move it closer.
31
- */
24
+ /** Offset in pixels between the popover and its trigger. */
32
25
  offset?: number;
33
- /** Additional CSS class selectors whose elements should be ignored when detecting clicks outside the popover. */
26
+ /** Additional classes ignored by legacy outside-click detection. */
34
27
  ignoreClickOutsideClasses?: string[];
35
28
  }
@@ -1,11 +1,15 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  interface PvProgressBarProps {
3
+ /** When true, renders the progress bar in a disabled/muted visual state. */
4
+ disabled?: boolean;
3
5
  /** The current progress value as a percentage (0–100). */
4
6
  progress?: number;
5
7
  /** When true, displays a text label above the bar showing "{progress}% Complete". */
6
8
  showLabel?: boolean;
7
- /** When true, renders the progress bar in a disabled/muted visual state. */
8
- disabled?: boolean;
9
9
  }
10
- declare const _default: DefineComponent<PvProgressBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvProgressBarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: DefineComponent<PvProgressBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvProgressBarProps> & Readonly<{}>, {
11
+ progress: number;
12
+ disabled: boolean;
13
+ showLabel: boolean;
14
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
15
  export default _default;
@@ -1,18 +1,18 @@
1
1
  import { RadioGroupOption } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  interface PvRadioGroupProps {
4
- /** Array of options to render as radio buttons. */
5
- options?: RadioGroupOption[];
6
- /** Name attribute shared by all radio inputs. Auto-generated if omitted. */
7
- name?: string;
8
- /** Layout direction of the options. */
9
- orientation?: "vertical" | "horizontal";
4
+ /** Accessible label when no visible legend is provided. */
5
+ ariaLabel?: string;
10
6
  /** When true, all options are non-interactive and visually dimmed. */
11
7
  disabled?: boolean;
12
8
  /** Visible label rendered above the group. */
13
9
  label?: string;
14
- /** Accessible label when no visible legend is provided. */
15
- ariaLabel?: string;
10
+ /** Name attribute shared by all radio inputs. Auto-generated if omitted. */
11
+ name?: string;
12
+ /** Array of options to render as radio buttons. */
13
+ options?: RadioGroupOption[];
14
+ /** Layout direction of the options. */
15
+ orientation?: "vertical" | "horizontal";
16
16
  }
17
17
  type __VLS_Props = PvRadioGroupProps;
18
18
  type __VLS_PublicProps = {
@@ -1,4 +1,4 @@
1
- import { PvRangeProps, PvRangeValue, PvRangeSize, PvRangeMode, PvRangeColor } from './types';
1
+ import { PvRangeProps, PvRangeValue, PvRangeSize, PvRangeColor, PvRangeMode } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = PvRangeProps;
4
4
  type __VLS_PublicProps = {
@@ -15,9 +15,9 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
15
15
  size: PvRangeSize;
16
16
  label: string;
17
17
  disabled: boolean;
18
+ color: PvRangeColor;
18
19
  mode: PvRangeMode;
19
20
  showClear: boolean;
20
- color: PvRangeColor;
21
21
  step: number | null;
22
22
  min: number | null;
23
23
  max: number | null;
@@ -24,10 +24,10 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
24
24
  collapsed: boolean;
25
25
  }) => any;
26
26
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
27
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
28
27
  onChange?: ((payload: {
29
28
  collapsed: boolean;
30
29
  }) => any) | undefined;
30
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
31
31
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
32
32
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
33
  export default _default;