@turquoisehealth/pit-viper 2.244.0 → 2.244.2
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.
- package/_site/assets/css/pit-viper-a11y.css +56 -2
- package/_site/assets/css/pit-viper-consumer.css +56 -2
- package/_site/assets/css/pit-viper-v2-scoped.css +50 -2
- package/_site/assets/css/pit-viper-v2.css +56 -2
- package/_site/assets/css/pit-viper.css +56 -2
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/ai/stats.html +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvFileInput/PvFileInput.vue.d.ts +6 -0
- package/pv-components/dist/vue/ai/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/ai/components/base/PvStepper/types.d.ts +19 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +6 -4
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvFileInput/PvFileInput.vue.d.ts +6 -0
- package/pv-components/dist/vue/base/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/base/components/base/PvStepper/types.d.ts +19 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +182 -85
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFileInput/PvFileInput.vue.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/visualizations/components/base/PvStepper/types.d.ts +19 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +6 -4
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +6 -4
- package/pv-components/dist/web/components/pv-button/pv-button.js +5 -3
- package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +6 -4
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +5 -3
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +5 -3
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +6 -4
- package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +18 -8
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +6 -4
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +6 -4
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +5 -3
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +5 -3
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +6 -4
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +6 -4
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +6 -4
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +6 -4
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +6 -4
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +6 -4
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +5 -3
- package/pv-components/dist/web/components/pv-question/pv-question.js +6 -4
- package/pv-components/dist/web/components/pv-range/pv-range.js +5 -3
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +6 -4
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +5 -3
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +5 -3
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +5 -3
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +6 -4
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +6 -4
- package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +649 -485
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +5 -3
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +5 -3
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +5 -3
- package/pv-components/dist/web/components/pv-tool/pv-tool.js +6 -4
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +533 -521
- package/pv-components/dist/web/pv-components.iife.js +4 -4
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -11,6 +11,8 @@ export interface PvCounterBadgeProps {
|
|
|
11
11
|
value?: number;
|
|
12
12
|
/** Visual style variant */
|
|
13
13
|
variant?: PvCounterBadgeVariant;
|
|
14
|
+
/** Fully rounded */
|
|
15
|
+
rounded?: boolean;
|
|
14
16
|
}
|
|
15
17
|
declare const _default: DefineComponent<PvCounterBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCounterBadgeProps> & Readonly<{}>, {
|
|
16
18
|
size: PvCounterBadgeSize;
|
|
@@ -14,6 +14,10 @@ interface PvFileInputProps {
|
|
|
14
14
|
* from the `select-file` event.
|
|
15
15
|
*/
|
|
16
16
|
showSelectedFile?: boolean;
|
|
17
|
+
/** Visual style of the Choose File button. */
|
|
18
|
+
confirmButtonVariant?: "primary" | "secondary";
|
|
19
|
+
/** Visual style of the remove-file buttons. */
|
|
20
|
+
destructiveButtonVariant?: "destructive" | "ghost";
|
|
17
21
|
}
|
|
18
22
|
type __VLS_Props = PvFileInputProps;
|
|
19
23
|
type __VLS_PublicProps = {
|
|
@@ -29,5 +33,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
29
33
|
}>, {
|
|
30
34
|
multiple: boolean;
|
|
31
35
|
showSelectedFile: boolean;
|
|
36
|
+
confirmButtonVariant: "primary" | "secondary";
|
|
37
|
+
destructiveButtonVariant: "destructive" | "ghost";
|
|
32
38
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
33
39
|
export default _default;
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
+
import { StepperProps } from './types.ts';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
interface StepperProps {
|
|
3
|
-
count?: number;
|
|
4
|
-
active?: number;
|
|
5
|
-
clickable?: boolean;
|
|
6
|
-
}
|
|
7
3
|
declare const _default: DefineComponent<StepperProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
8
4
|
"update:active": (index: number) => any;
|
|
9
5
|
}, string, PublicProps, Readonly<StepperProps> & Readonly<{
|
|
10
6
|
"onUpdate:active"?: ((index: number) => any) | undefined;
|
|
11
7
|
}>, {
|
|
8
|
+
variant: "progress" | "dots" | "buttons";
|
|
12
9
|
active: number;
|
|
13
10
|
count: number;
|
|
14
11
|
clickable: boolean;
|
|
12
|
+
showCounter: boolean;
|
|
15
13
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
14
|
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type PvStepperItemVariant = "current" | "success" | "next" | "error";
|
|
2
|
+
type PvStepperVariant = "dots" | "buttons" | "progress";
|
|
3
|
+
export interface PvStepperItem {
|
|
4
|
+
/** Icon name shown for the step. Only rendered by the "progress" variant. */
|
|
5
|
+
icon?: string;
|
|
6
|
+
/** Text shown for the step. Rendered by the "buttons" and "progress" variants. */
|
|
7
|
+
label?: string;
|
|
8
|
+
/** Variant for the step. Only rendered by the "progress" variant */
|
|
9
|
+
variant?: PvStepperItemVariant;
|
|
10
|
+
}
|
|
11
|
+
export interface StepperProps {
|
|
12
|
+
variant?: PvStepperVariant;
|
|
13
|
+
count?: number;
|
|
14
|
+
items?: PvStepperItem[];
|
|
15
|
+
active?: number;
|
|
16
|
+
clickable?: boolean;
|
|
17
|
+
showCounter?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -9,6 +9,14 @@ interface PvTreeProps {
|
|
|
9
9
|
isDraggable?: boolean;
|
|
10
10
|
/** Disable click-to-select behavior on tree items */
|
|
11
11
|
disableSelection?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* node_ids to force open, e.g. so a selection made from OUTSIDE the tree (a linked canvas or
|
|
14
|
+
* minimap) can reveal a row nested inside collapsed accordions without the caller reaching into
|
|
15
|
+
* the DOM. One-way only: an id here forces that row's accordion open, but removing it later does
|
|
16
|
+
* NOT close a row the reviewer may have opened themselves -- each row's own `accordionOpen` stays
|
|
17
|
+
* the source of truth otherwise, uncontrolled as before.
|
|
18
|
+
*/
|
|
19
|
+
openNodeIds?: Array<string | number>;
|
|
12
20
|
}
|
|
13
21
|
type __VLS_Props = PvTreeProps;
|
|
14
22
|
type __VLS_PublicProps = {
|
|
@@ -16,6 +16,8 @@ interface PvTreeItemProps {
|
|
|
16
16
|
index?: number;
|
|
17
17
|
/** Total number of siblings, used to determine if this is the last one */
|
|
18
18
|
totalSiblings?: number;
|
|
19
|
+
/** node_ids to force open; see PvTree's own doc comment on this prop. */
|
|
20
|
+
openNodeIds?: Array<string | number>;
|
|
19
21
|
}
|
|
20
22
|
declare const _default: DefineComponent<PvTreeItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
21
23
|
"handle-tree-select": (payload: {
|