@turquoisehealth/pit-viper 2.92.0 → 2.93.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.
- package/package.json +3 -4
- package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.vue.d.ts +12 -2
- package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +9 -1
- package/pv-components/dist/vue/base/components/base/PvCompanyLogo/types.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectMenuItem.vue.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvPill/types.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvTag/types.d.ts +1 -1
- package/pv-components/dist/vue/base/pv-components-base.js +81 -37
- package/pv-components/dist/vue/base/pv-components-base.mjs +5096 -4878
- package/pv-components/dist/vue/base/pv-components-base.umd.js +81 -37
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +18 -18
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +4891 -5019
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +14 -14
- package/pv-components/dist/web/pv-components.iife.js +89 -45
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turquoisehealth/pit-viper",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.93.0",
|
|
4
4
|
"description": "Turquoise Health's design system.",
|
|
5
5
|
"main": "README.md",
|
|
6
6
|
"publishConfig": {
|
|
@@ -44,15 +44,14 @@
|
|
|
44
44
|
"build:eleventy": "eleventy",
|
|
45
45
|
"build:pagefind": "npx pagefind --site _site",
|
|
46
46
|
"build:pv-components": "npm run build --workspace=pv-components",
|
|
47
|
-
"watch:pv-components": "npm run watch_docs --workspace=pv-components",
|
|
48
47
|
"prepublishOnly": "npm install && npm run test && npm run build",
|
|
49
48
|
"start": "npm-run-all build:sass --parallel watch:*",
|
|
50
49
|
"build": "npm-run-all build:*",
|
|
51
|
-
"prebuild": "npm run build_docs --workspace=pv-components",
|
|
52
50
|
"postbuild": "eleventy --quiet",
|
|
53
51
|
"prepare": "husky",
|
|
54
52
|
"test": "npm run test --workspace=pv-components",
|
|
55
|
-
"create_pr": "tsx ./scripts/createPR.ts"
|
|
53
|
+
"create_pr": "tsx ./scripts/createPR.ts",
|
|
54
|
+
"storybook": "npm run storybook --workspace=storybook"
|
|
56
55
|
},
|
|
57
56
|
"keywords": [],
|
|
58
57
|
"repository": {
|
|
@@ -5,8 +5,18 @@ interface PvActionBarProps {
|
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
attrs: Partial<{}>;
|
|
8
|
-
slots: {
|
|
9
|
-
|
|
8
|
+
slots: Readonly<{
|
|
9
|
+
/**
|
|
10
|
+
* Default slot for action bar content.
|
|
11
|
+
* sections are divided by the root elements inside the slot.
|
|
12
|
+
*/
|
|
13
|
+
default(): never;
|
|
14
|
+
}> & {
|
|
15
|
+
/**
|
|
16
|
+
* Default slot for action bar content.
|
|
17
|
+
* sections are divided by the root elements inside the slot.
|
|
18
|
+
*/
|
|
19
|
+
default(): never;
|
|
10
20
|
};
|
|
11
21
|
refs: {};
|
|
12
22
|
rootEl: HTMLDivElement;
|
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
import { PvSize, PvVariants } from '../baseProps';
|
|
2
|
-
import { PvTooltipPositions, PvTooltipVariants } from '../PvTooltip/types
|
|
2
|
+
import { PvTooltipPositions, PvTooltipVariants } from '../PvTooltip/types';
|
|
3
3
|
export type PvButtonSize = Extract<PvSize, "md" | "lg" | "xl">;
|
|
4
4
|
export type PvButtonVariant = Extract<PvVariants, "primary" | "secondary" | "ghost" | "destructive" | "tertiary">;
|
|
5
5
|
export interface PvButtonProps {
|
|
6
6
|
variant?: PvButtonVariant;
|
|
7
|
+
/** Button cannot be pressed */
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
size?: PvButtonSize;
|
|
10
|
+
/** Show loading spinner */
|
|
9
11
|
loading?: boolean;
|
|
12
|
+
/** Text within the button */
|
|
10
13
|
label?: string;
|
|
14
|
+
/** Optional icon on the left side of the button */
|
|
11
15
|
leftIcon?: string;
|
|
16
|
+
/** Optional icon on the right side of the button */
|
|
12
17
|
rightIcon?: string;
|
|
18
|
+
/** Inverse button colors for dark backgrounds */
|
|
13
19
|
inverse?: boolean;
|
|
14
20
|
}
|
|
15
21
|
export interface PvButtonWithTooltipProps extends PvButtonProps {
|
|
22
|
+
/** Text to show within the tooltip */
|
|
16
23
|
tooltipText: string;
|
|
17
24
|
tooltipVariant?: PvTooltipVariants;
|
|
18
25
|
tooltipPosition?: PvTooltipPositions;
|
|
26
|
+
/** Delay in milliseconds before showing the tooltip */
|
|
19
27
|
delay?: number;
|
|
20
28
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { PvSize } from '../baseProps
|
|
1
|
+
import { PvSize } from '../baseProps';
|
|
2
2
|
export type PvCompanyLogoSize = PvSize;
|
package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Ref, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ShallowRef, VNodeRef, VNode } from 'vue';
|
|
2
2
|
import { PvSelectButtonSize, PvSelectButtonVariant } from './types';
|
|
3
|
-
import { MenuOption, MenuOptionsVariant } from '../../../types
|
|
3
|
+
import { MenuOption, MenuOptionsVariant } from '../../../types';
|
|
4
4
|
import { PvSelectButtonTrigger } from '../PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue';
|
|
5
5
|
import { PvPopoverProps } from '../PvPopover/PvPopover.vue';
|
|
6
6
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MenuOption, MenuOptionsVariant } from '../../../types
|
|
1
|
+
import { MenuOption, MenuOptionsVariant } from '../../../types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
interface PvMenuSelectMenuItem {
|
|
4
4
|
optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PvColorVariants, PvSize } from '../baseProps
|
|
1
|
+
import { PvColorVariants, PvSize } from '../baseProps';
|
|
2
2
|
export type PillSize = Extract<PvSize, "md" | "lg" | "sm">;
|
|
3
3
|
export type PillVariant = Extract<PvColorVariants, "default" | "success" | "warning" | "critical" | "highlight">;
|
|
4
4
|
export type PillDotVariant = "green" | "orange" | "yellow" | "red";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Ref, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
2
|
import { PvSelectButtonSize, PvSelectButtonVariant } from './types';
|
|
3
|
-
import { MenuOption, MenuOptionsVariant } from '../../../types
|
|
3
|
+
import { MenuOption, MenuOptionsVariant } from '../../../types';
|
|
4
4
|
import { PvSelectButtonTrigger } from './PvSelectButtonTrigger/PvSelectButtonTrigger.vue';
|
|
5
5
|
import { PvSelectButtonSize, PvSelectButtonVariant } from '../PvMultiSelectButton/types';
|
|
6
6
|
import { PvPopoverProps } from '../PvPopover/PvPopover.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PvSelectButtonSize, PvSelectButtonVariant } from '../../PvMultiSelectButton/types
|
|
1
|
+
import { PvSelectButtonSize, PvSelectButtonVariant } from '../../PvMultiSelectButton/types';
|
|
2
2
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
export interface PvSelectButtonTrigger {
|
|
4
4
|
variant?: PvSelectButtonVariant;
|