@turquoisehealth/pit-viper 2.218.1 → 2.219.1-dev.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 (202) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +15 -5
  2. package/_site/assets/css/pit-viper-v2.css +48 -15
  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-accordion-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-action-bar-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-ai-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-avatar-group-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-banner-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-card-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-checkbox-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-company-label-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-empty-error-state-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  30. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  32. package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
  33. package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
  34. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  35. package/pv-components/dist/stats/web/pv-icon-stats.html +1 -1
  36. package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
  37. package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
  38. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  39. package/pv-components/dist/stats/web/pv-modal-stats.html +1 -1
  40. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  41. package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
  42. package/pv-components/dist/stats/web/pv-pill-stats.html +1 -1
  43. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
  44. package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
  45. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  46. package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
  47. package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
  48. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  49. package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
  50. package/pv-components/dist/stats/web/pv-radio-group-stats.html +1 -1
  51. package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
  52. package/pv-components/dist/stats/web/pv-rating-stats.html +1 -1
  53. package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
  54. package/pv-components/dist/stats/web/pv-release-badge-stats.html +1 -1
  55. package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
  56. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  57. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  58. package/pv-components/dist/stats/web/pv-selectable-card-stats.html +1 -1
  59. package/pv-components/dist/stats/web/pv-side-panel-stats.html +1 -1
  60. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  61. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +4950 -0
  62. package/pv-components/dist/stats/web/pv-skeleton-stats.html +1 -1
  63. package/pv-components/dist/stats/web/pv-spinner-stats.html +1 -1
  64. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  65. package/pv-components/dist/stats/web/pv-sprite-stats.html +1 -1
  66. package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
  67. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
  68. package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
  69. package/pv-components/dist/stats/web/pv-tab-list-stats.html +1 -1
  70. package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +1 -1
  71. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  72. package/pv-components/dist/stats/web/pv-tag-stats.html +1 -1
  73. package/pv-components/dist/stats/web/pv-text-area-stats.html +1 -1
  74. package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
  75. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
  76. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  77. package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
  78. package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
  79. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  80. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  81. package/pv-components/dist/stats/web/pv-widget-stats.html +1 -1
  82. package/pv-components/dist/vue/ai/components/base/PvBanner/PvBanner.vue.d.ts +1 -1
  83. package/pv-components/dist/vue/ai/components/base/PvDatePicker/PvDatePicker.vue.d.ts +19 -9
  84. package/pv-components/dist/vue/ai/components/base/PvDropdown/PvDropdown.vue.d.ts +3 -3
  85. package/pv-components/dist/vue/ai/components/base/PvPopover/PvPopover.vue.d.ts +1 -1
  86. package/pv-components/dist/vue/ai/components/base/PvPopoverMenu/PvPopoverMenu.vue.d.ts +1 -1
  87. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +3 -1
  88. package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +5 -0
  89. package/pv-components/dist/vue/ai/components/base/PvSidebar/PvSidebar.vue.d.ts +1 -0
  90. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +43 -0
  91. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +24 -0
  92. package/pv-components/dist/vue/ai/components/base/index.d.ts +1 -0
  93. package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.vue.d.ts +1 -1
  94. package/pv-components/dist/vue/base/components/base/PvDatePicker/PvDatePicker.vue.d.ts +19 -9
  95. package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +3 -3
  96. package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +1 -1
  97. package/pv-components/dist/vue/base/components/base/PvPopoverMenu/PvPopoverMenu.vue.d.ts +1 -1
  98. package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +3 -1
  99. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +5 -0
  100. package/pv-components/dist/vue/base/components/base/PvSidebar/PvSidebar.vue.d.ts +1 -0
  101. package/pv-components/dist/vue/base/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +43 -0
  102. package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +24 -0
  103. package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
  104. package/pv-components/dist/vue/base/pv-components-base.mjs +1483 -1164
  105. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  106. package/pv-components/dist/vue/visualizations/components/base/PvBanner/PvBanner.vue.d.ts +1 -1
  107. package/pv-components/dist/vue/visualizations/components/base/PvDatePicker/PvDatePicker.vue.d.ts +19 -9
  108. package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +3 -3
  109. package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +1 -1
  110. package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.vue.d.ts +1 -1
  111. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +3 -1
  112. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +5 -0
  113. package/pv-components/dist/vue/visualizations/components/base/PvSidebar/PvSidebar.vue.d.ts +1 -0
  114. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +43 -0
  115. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +24 -0
  116. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +1 -0
  117. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +3 -1
  118. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +3 -3
  119. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +8 -0
  120. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/useBenchmarkOverlays.d.ts +5 -0
  121. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +3 -3
  122. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +4 -0
  123. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +261 -218
  124. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  125. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +2 -1
  126. package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +2 -1
  127. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +26 -9
  128. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +2 -1
  129. package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +2 -1
  130. package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +2 -1
  131. package/pv-components/dist/web/components/pv-banner/pv-banner.js +415 -411
  132. package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +2 -1
  133. package/pv-components/dist/web/components/pv-button/pv-button.js +2 -1
  134. package/pv-components/dist/web/components/pv-card/pv-card.js +2 -1
  135. package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +2 -1
  136. package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +2 -1
  137. package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +2 -1
  138. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +2 -1
  139. package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +2 -1
  140. package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +2 -1
  141. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +571 -526
  142. package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +2 -1
  143. package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +2 -1
  144. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +2 -1
  145. package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +2 -1
  146. package/pv-components/dist/web/components/pv-empty-error-state/pv-empty-error-state.js +2 -1
  147. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +2 -1
  148. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +492 -477
  149. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +26 -9
  150. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +2 -1
  151. package/pv-components/dist/web/components/pv-header/pv-header.js +2 -1
  152. package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +2 -1
  153. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +534 -517
  154. package/pv-components/dist/web/components/pv-icon/pv-icon.js +2 -1
  155. package/pv-components/dist/web/components/pv-input/pv-input.js +2 -1
  156. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +2 -1
  157. package/pv-components/dist/web/components/pv-menu/pv-menu.js +26 -9
  158. package/pv-components/dist/web/components/pv-modal/pv-modal.js +2 -1
  159. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +26 -9
  160. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +2 -1
  161. package/pv-components/dist/web/components/pv-pill/pv-pill.js +2 -1
  162. package/pv-components/dist/web/components/pv-popover/pv-popover.js +2 -1
  163. package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +2 -1
  164. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +23 -8
  165. package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +2 -1
  166. package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +2 -1
  167. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +26 -9
  168. package/pv-components/dist/web/components/pv-question/pv-question.js +2 -1
  169. package/pv-components/dist/web/components/pv-radio-group/pv-radio-group.js +2 -1
  170. package/pv-components/dist/web/components/pv-range/pv-range.js +2 -1
  171. package/pv-components/dist/web/components/pv-rating/pv-rating.js +2 -1
  172. package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +2 -1
  173. package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +2 -1
  174. package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +2 -1
  175. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +621 -604
  176. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +26 -9
  177. package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +2 -1
  178. package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +2 -1
  179. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +438 -432
  180. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +8077 -0
  181. package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +2 -1
  182. package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +2 -1
  183. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +23 -8
  184. package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +2 -1
  185. package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +2 -1
  186. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +2 -1
  187. package/pv-components/dist/web/components/pv-switch/pv-switch.js +2 -1
  188. package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +2 -1
  189. package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +2 -1
  190. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2 -1
  191. package/pv-components/dist/web/components/pv-tag/pv-tag.js +2 -1
  192. package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +2 -1
  193. package/pv-components/dist/web/components/pv-toast/pv-toast.js +2 -1
  194. package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +2 -1
  195. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +26 -9
  196. package/pv-components/dist/web/components/pv-tool/pv-tool.js +2 -1
  197. package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +2 -1
  198. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +26 -9
  199. package/pv-components/dist/web/components/pv-tree/pv-tree.js +2 -1
  200. package/pv-components/dist/web/components/pv-widget/pv-widget.js +2 -1
  201. package/pv-components/dist/web/pv-components.iife.js +14 -14
  202. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -0,0 +1,43 @@
1
+ import { PvSidebarNavItem, PvSidebarOrgEntity } from './types.ts';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface PvSidebarV2Props {
4
+ disableToggle?: boolean;
5
+ variant?: "primary" | "secondary";
6
+ /** Organizations rendered in the org-switcher dropdown, with optional nested entities. */
7
+ organizations?: PvSidebarOrgEntity[];
8
+ /** Top-level nav items, with optional nested children rendered as an accordion / hover flyout. */
9
+ navItems?: PvSidebarNavItem[];
10
+ }
11
+ type __VLS_Props = PvSidebarV2Props;
12
+ type __VLS_PublicProps = {
13
+ modelValue?: boolean;
14
+ } & __VLS_Props;
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: {
18
+ 'sidebar-footer'?(_: {}): any;
19
+ default?(_: {}): any;
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
26
+ "update:modelValue": (value: boolean) => any;
27
+ } & {
28
+ change: (payload: {
29
+ collapsed: boolean;
30
+ }) => any;
31
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
32
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
33
+ onChange?: ((payload: {
34
+ collapsed: boolean;
35
+ }) => any) | undefined;
36
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ export default _default;
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -0,0 +1,24 @@
1
+ export interface PvSidebarOrgEntity {
2
+ value: string | number;
3
+ label: string;
4
+ url: string;
5
+ avatarUrl?: string;
6
+ /** Marks this as the currently active organization/entity (server already knows from the current page). */
7
+ active?: boolean;
8
+ entities?: PvSidebarOrgEntity[];
9
+ }
10
+ export interface PvSidebarNavItem {
11
+ value: string | number;
12
+ label: string;
13
+ /** Leaf items link directly; parents with children may omit it. */
14
+ url?: string;
15
+ /** SVG symbol id, e.g. "home" — only rendered at the top level. */
16
+ icon?: string;
17
+ /** Marks this as the currently active item (server already knows from the current page). */
18
+ active?: boolean;
19
+ /** Extra attributes spread directly onto the rendered <a> (e.g. { "data-turbolinks": "false" }). */
20
+ linkAttrs?: Record<string, string>;
21
+ external?: boolean;
22
+ badge?: "beta" | "legacy";
23
+ children?: PvSidebarNavItem[];
24
+ }
@@ -70,6 +70,7 @@ export { default as PvQueryBuilderInput } from './PvQueryBuilderInput/PvQueryBui
70
70
  export { default as PvRange } from './PvRange/PvRange.vue';
71
71
  export { default as PvMenu } from './PvMenu/PvMenu.vue';
72
72
  export { default as PvSidebar } from './PvSidebar/PvSidebar.vue';
73
+ export { default as PvSidebarV2 } from './PvSidebarV2/PvSidebarV2.vue';
73
74
  export { default as PvMenuItem } from './PvMenu/items/PvMenuItem.vue';
74
75
  export { default as PvTableOfContents } from './PvTableOfContents/PvTableOfContents.vue';
75
76
  export { default as PvStepper } from './PvStepper/PvStepper.vue';
@@ -2,7 +2,7 @@ import { BannerOrientations, BannerVariants } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  export interface PvBannerProps {
4
4
  /** Primary text displayed in the banner */
5
- label: string;
5
+ label?: string;
6
6
  /** Secondary descriptive text displayed below the label */
7
7
  description?: string;
8
8
  /** Icon name to display alongside the banner content */
@@ -1,4 +1,13 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ /**
3
+ * Value of a date selection. A single `Date` in `single` selection mode, an array in
4
+ * `multiple` and `range` modes, where `range` uses `null` for an incomplete endpoint.
5
+ *
6
+ * Dates may be supplied as strings so the component can be driven by HTML attributes as
7
+ * `pv-date-picker`. The unions here are written out rather than aliased because Vue's
8
+ * macro type resolution has to see `Date` to emit it as a runtime prop type.
9
+ */
10
+ export type PvDatePickerModelValue = Date | string | (Date | string | null)[] | null | undefined;
2
11
  export interface PvDatePickerProps {
3
12
  /**
4
13
  * Defines the quantity of the selection.
@@ -25,17 +34,18 @@ export interface PvDatePickerProps {
25
34
  */
26
35
  view?: "date" | "month" | "year" | undefined;
27
36
  /**
28
- * The minimum selectable date.
37
+ * The minimum selectable date. Accepts a `Date` or a parseable date string.
29
38
  */
30
- minDate?: Date | undefined;
39
+ minDate?: Date | string | undefined;
31
40
  /**
32
- * The maximum selectable date.
41
+ * The maximum selectable date. Accepts a `Date` or a parseable date string.
33
42
  */
34
- maxDate?: Date | undefined;
43
+ maxDate?: Date | string | undefined;
35
44
  /**
36
- * Array with dates to disable.
45
+ * Dates to disable. Accepts an array of `Date` objects or parseable date strings, or a
46
+ * JSON array string such as `'["2025-06-18"]'` so it can be set from an attribute.
37
47
  */
38
- disabledDates?: Date[] | undefined;
48
+ disabledDates?: (Date | string)[] | string | undefined;
39
49
  /**
40
50
  * Array with disabled weekday numbers.
41
51
  */
@@ -91,12 +101,12 @@ export interface PvDatePickerProps {
91
101
  }
92
102
  type __VLS_Props = PvDatePickerProps;
93
103
  type __VLS_PublicProps = {
94
- modelValue: Date;
104
+ modelValue?: PvDatePickerModelValue;
95
105
  } & __VLS_Props;
96
106
  declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
97
- "update:modelValue": (value: Date) => any;
107
+ "update:modelValue": (value: PvDatePickerModelValue) => any;
98
108
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
99
- "onUpdate:modelValue"?: ((value: Date) => any) | undefined;
109
+ "onUpdate:modelValue"?: ((value: PvDatePickerModelValue) => any) | undefined;
100
110
  }>, {
101
111
  appendTo: "body" | "self";
102
112
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -74,8 +74,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvDropdownProps
74
74
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
75
75
  "list-order-updated": (value: string[]) => any;
76
76
  }, string, {
77
- alignment: "top" | "right" | "top right";
78
77
  cssCustomProperties: CSSProperties;
78
+ alignment: "top" | "right" | "top right";
79
79
  isList: boolean;
80
80
  isSortable: boolean;
81
81
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
@@ -99,13 +99,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvDropdownProps
99
99
  $nextTick: typeof nextTick;
100
100
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
101
101
  } & Readonly<{
102
- alignment: "top" | "right" | "top right";
103
102
  cssCustomProperties: CSSProperties;
103
+ alignment: "top" | "right" | "top right";
104
104
  isList: boolean;
105
105
  isSortable: boolean;
106
106
  }> & Omit<Readonly< PvPopoverProps> & Readonly<{
107
107
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
108
- }>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList" | "isSortable")> & {
108
+ }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "isSortable")> & {
109
109
  popoverRoot: HTMLElement | null;
110
110
  } & {} & ComponentCustomProperties & {} & {
111
111
  $slots: {
@@ -18,8 +18,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvPopoverProps,
18
18
  }, string, PublicProps, Readonly<PvPopoverProps> & Readonly<{
19
19
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
20
20
  }>, {
21
- alignment: "top" | "right" | "top right";
22
21
  cssCustomProperties: CSSProperties;
22
+ alignment: "top" | "right" | "top right";
23
23
  isList: boolean;
24
24
  isSortable: boolean;
25
25
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -16,8 +16,8 @@ declare function __VLS_template(): {
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
- alignment: "top" | "right" | "top right";
20
19
  cssCustomProperties: CSSProperties;
20
+ alignment: "top" | "right" | "top right";
21
21
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
22
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
23
  export default _default;
@@ -1,6 +1,6 @@
1
+ import { CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
2
  import { PvPopoverV2Props } from './types.ts';
2
3
  import { PvAlignmentPositions } from '../baseProps.ts';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
4
  import { Strategy } from '@floating-ui/vue';
5
5
  declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
6
6
  modelValue?: boolean;
@@ -12,6 +12,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
12
12
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
13
13
  }>, {
14
14
  delay: number;
15
+ disabled: boolean;
15
16
  disableAutoPlacement: boolean;
16
17
  position: PvAlignmentPositions;
17
18
  positioningStrategy: Strategy;
@@ -22,6 +23,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
22
23
  closeDelay: number;
23
24
  zIndex: number;
24
25
  teleportLocation: string;
26
+ cssCustomProperties: CSSProperties;
25
27
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
26
28
  root: HTMLDivElement;
27
29
  triggerWrapper: HTMLDivElement;
@@ -1,4 +1,5 @@
1
1
  import { Strategy } from '@floating-ui/vue';
2
+ import { CSSProperties } from 'vue';
2
3
  import { PvAlignmentPositions } from '../baseProps.ts';
3
4
  export interface PvPopoverV2Props {
4
5
  /** When true, disables automatic collision flips. */
@@ -33,4 +34,8 @@ export interface PvPopoverV2Props {
33
34
  offset?: number;
34
35
  /** Additional classes ignored by legacy outside-click detection. */
35
36
  ignoreClickOutsideClasses?: string[];
37
+ /** When true, the popover cannot be opened (and closes if already open). */
38
+ disabled?: boolean;
39
+ /** Custom CSS properties applied to the root element. */
40
+ cssCustomProperties?: CSSProperties;
36
41
  }
@@ -2,6 +2,7 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
2
2
  type __VLS_Props = {
3
3
  disableToggle?: boolean;
4
4
  variant?: "primary" | "secondary";
5
+ newVersion?: boolean;
5
6
  };
6
7
  type __VLS_PublicProps = {
7
8
  modelValue?: boolean;
@@ -0,0 +1,43 @@
1
+ import { PvSidebarNavItem, PvSidebarOrgEntity } from './types.ts';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface PvSidebarV2Props {
4
+ disableToggle?: boolean;
5
+ variant?: "primary" | "secondary";
6
+ /** Organizations rendered in the org-switcher dropdown, with optional nested entities. */
7
+ organizations?: PvSidebarOrgEntity[];
8
+ /** Top-level nav items, with optional nested children rendered as an accordion / hover flyout. */
9
+ navItems?: PvSidebarNavItem[];
10
+ }
11
+ type __VLS_Props = PvSidebarV2Props;
12
+ type __VLS_PublicProps = {
13
+ modelValue?: boolean;
14
+ } & __VLS_Props;
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: {
18
+ 'sidebar-footer'?(_: {}): any;
19
+ default?(_: {}): any;
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
26
+ "update:modelValue": (value: boolean) => any;
27
+ } & {
28
+ change: (payload: {
29
+ collapsed: boolean;
30
+ }) => any;
31
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
32
+ onChange?: ((payload: {
33
+ collapsed: boolean;
34
+ }) => any) | undefined;
35
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
36
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ export default _default;
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -0,0 +1,24 @@
1
+ export interface PvSidebarOrgEntity {
2
+ value: string | number;
3
+ label: string;
4
+ url: string;
5
+ avatarUrl?: string;
6
+ /** Marks this as the currently active organization/entity (server already knows from the current page). */
7
+ active?: boolean;
8
+ entities?: PvSidebarOrgEntity[];
9
+ }
10
+ export interface PvSidebarNavItem {
11
+ value: string | number;
12
+ label: string;
13
+ /** Leaf items link directly; parents with children may omit it. */
14
+ url?: string;
15
+ /** SVG symbol id, e.g. "home" — only rendered at the top level. */
16
+ icon?: string;
17
+ /** Marks this as the currently active item (server already knows from the current page). */
18
+ active?: boolean;
19
+ /** Extra attributes spread directly onto the rendered <a> (e.g. { "data-turbolinks": "false" }). */
20
+ linkAttrs?: Record<string, string>;
21
+ external?: boolean;
22
+ badge?: "beta" | "legacy";
23
+ children?: PvSidebarNavItem[];
24
+ }
@@ -70,6 +70,7 @@ export { default as PvQueryBuilderInput } from './PvQueryBuilderInput/PvQueryBui
70
70
  export { default as PvRange } from './PvRange/PvRange.vue';
71
71
  export { default as PvMenu } from './PvMenu/PvMenu.vue';
72
72
  export { default as PvSidebar } from './PvSidebar/PvSidebar.vue';
73
+ export { default as PvSidebarV2 } from './PvSidebarV2/PvSidebarV2.vue';
73
74
  export { default as PvMenuItem } from './PvMenu/items/PvMenuItem.vue';
74
75
  export { default as PvTableOfContents } from './PvTableOfContents/PvTableOfContents.vue';
75
76
  export { default as PvStepper } from './PvStepper/PvStepper.vue';