@turquoisehealth/pit-viper 2.37.1 → 2.39.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/_site/assets/css/pit-viper-v2-scoped.css +3 -0
- package/_site/assets/css/pit-viper-v2.css +4 -0
- package/_site/assets/css/pit-viper.css +4 -0
- package/package.json +7 -3
- package/pv-components/dist/vue/base/pv-components-base.d.ts +38 -0
- package/pv-components/dist/vue/base/pv-components-base.js +18 -18
- package/pv-components/dist/vue/base/pv-components-base.mjs +601 -552
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +2 -0
- package/pv-components/dist/vue/charts/pv-components-charts.js +39 -39
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +5861 -5205
- package/pv-components/dist/web/pv-components.iife.js +18 -18
|
@@ -4112,6 +4112,9 @@
|
|
|
4112
4112
|
.pv-v2 .pv-surface-critical {
|
|
4113
4113
|
background-color: #FFEFEB;
|
|
4114
4114
|
}
|
|
4115
|
+
.pv-v2 .pv-surface-highlight {
|
|
4116
|
+
background-color: #E4F8F6;
|
|
4117
|
+
}
|
|
4115
4118
|
.pv-v2 .pv-surface-brand-gradient {
|
|
4116
4119
|
background: var(--color-background-brand-gradient, linear-gradient(109deg, #176F6F 0%, #02363D 100%));
|
|
4117
4120
|
}
|
|
@@ -4465,6 +4465,10 @@ body:has(.pv-layout-primary) {
|
|
|
4465
4465
|
background-color: #FFEFEB;
|
|
4466
4466
|
}
|
|
4467
4467
|
|
|
4468
|
+
.pv-surface-highlight {
|
|
4469
|
+
background-color: #E4F8F6;
|
|
4470
|
+
}
|
|
4471
|
+
|
|
4468
4472
|
.pv-surface-brand-gradient {
|
|
4469
4473
|
background: var(--color-background-brand-gradient, linear-gradient(109deg, #176F6F 0%, #02363D 100%));
|
|
4470
4474
|
}
|
|
@@ -4482,6 +4482,10 @@ body:has(.pv-layout-primary) {
|
|
|
4482
4482
|
background-color: #FFF1F1;
|
|
4483
4483
|
}
|
|
4484
4484
|
|
|
4485
|
+
.pv-surface-highlight {
|
|
4486
|
+
background-color: #E4F8F6;
|
|
4487
|
+
}
|
|
4488
|
+
|
|
4485
4489
|
.pv-surface-brand-gradient {
|
|
4486
4490
|
background: var(--color-background-brand-gradient, linear-gradient(109deg, #176F6F 0%, #02363D 100%));
|
|
4487
4491
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turquoisehealth/pit-viper",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.39.0",
|
|
4
4
|
"description": "Turquoise Health's design system.",
|
|
5
5
|
"main": "README.md",
|
|
6
6
|
"publishConfig": {
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
},
|
|
10
10
|
"workspaces": [
|
|
11
11
|
".",
|
|
12
|
-
"pv-components"
|
|
12
|
+
"pv-components",
|
|
13
|
+
"storybook"
|
|
13
14
|
],
|
|
14
15
|
"files": [
|
|
15
16
|
"_site/assets/css/pit-viper.css",
|
|
@@ -48,11 +49,11 @@
|
|
|
48
49
|
"build:eleventy": "eleventy",
|
|
49
50
|
"build:pagefind": "npx pagefind --site _site",
|
|
50
51
|
"build:pv-components": "npm run build --workspace=pv-components",
|
|
51
|
-
"build:pv-component-docs": "npm run build_docs --workspace=pv-components",
|
|
52
52
|
"watch:pv-components": "npm run watch_docs --workspace=pv-components",
|
|
53
53
|
"prepublishOnly": "npm run test && npm run build",
|
|
54
54
|
"start": "npm-run-all build:sass --parallel watch:*",
|
|
55
55
|
"build": "npm-run-all build:*",
|
|
56
|
+
"prebuild": "npm run build_docs --workspace=pv-components",
|
|
56
57
|
"postbuild": "eleventy --quiet",
|
|
57
58
|
"prepare": "husky",
|
|
58
59
|
"test": "npm run test --workspace=pv-components",
|
|
@@ -88,7 +89,10 @@
|
|
|
88
89
|
},
|
|
89
90
|
"devDependencies": {
|
|
90
91
|
"@changesets/cli": "^2.29.4",
|
|
92
|
+
"@vue/eslint-config-prettier": "^10.1.0",
|
|
93
|
+
"@vue/eslint-config-typescript": "^14.3.0",
|
|
91
94
|
"chokidar-cli": "^3.0.0",
|
|
95
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
92
96
|
"pagefind": "^1.3.0",
|
|
93
97
|
"tsx": "^4.0.0"
|
|
94
98
|
}
|
|
@@ -162,6 +162,10 @@ declare interface OptionWithIcon extends Option_2 {
|
|
|
162
162
|
iconPosition: "left" | "right";
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
+
declare type PillSize = Extract<PvSize, "md" | "lg">;
|
|
166
|
+
|
|
167
|
+
declare type PillVariant = Extract<PvColorVariants, "default" | "success" | "warning" | "critical" | "highlight">;
|
|
168
|
+
|
|
165
169
|
export declare const PvAccordion: __VLS_WithTemplateSlots_7<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
166
170
|
|
|
167
171
|
declare interface PvAccordionProps {
|
|
@@ -221,6 +225,10 @@ declare type PvButtonVariant = (typeof PvButtonVariants)[number];
|
|
|
221
225
|
|
|
222
226
|
declare const PvButtonVariants: readonly ["primary", "secondary", "tertiary", "primary-outline", "secondary-outline", "ghost", "link", "destructive", "destructive-outline", "icon", "icon-outline", "transformer"];
|
|
223
227
|
|
|
228
|
+
declare const PvColorVariants: readonly ["default", "success", "warning", "critical", "highlight"];
|
|
229
|
+
|
|
230
|
+
declare type PvColorVariants = (typeof PvColorVariants)[number];
|
|
231
|
+
|
|
224
232
|
export declare const PvCompanyLogo: DefineComponent<PvCompanyLogoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCompanyLogoProps> & Readonly<{}>, {
|
|
225
233
|
size: PvCompanyLogoSize;
|
|
226
234
|
basePath: string;
|
|
@@ -563,6 +571,36 @@ dialog: HTMLDialogElement;
|
|
|
563
571
|
footer?(_: {}): any;
|
|
564
572
|
}>;
|
|
565
573
|
|
|
574
|
+
export declare const PvPill: DefineComponent<PvPillProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvPillProps> & Readonly<{}>, {
|
|
575
|
+
variant: PillVariant;
|
|
576
|
+
size: PillSize;
|
|
577
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
578
|
+
|
|
579
|
+
declare interface PvPillProps {
|
|
580
|
+
/**
|
|
581
|
+
* @default 'Medium'
|
|
582
|
+
* Tag size
|
|
583
|
+
*/
|
|
584
|
+
size?: PillSize;
|
|
585
|
+
/**
|
|
586
|
+
* @default 'Tertiary'
|
|
587
|
+
* Tag Variant
|
|
588
|
+
*/
|
|
589
|
+
variant?: PillVariant;
|
|
590
|
+
/**
|
|
591
|
+
* Tag Icon
|
|
592
|
+
*/
|
|
593
|
+
icon?: string;
|
|
594
|
+
/**
|
|
595
|
+
* Display Dot Instead of Background
|
|
596
|
+
*/
|
|
597
|
+
showDot?: boolean;
|
|
598
|
+
/**
|
|
599
|
+
* Tag Label
|
|
600
|
+
*/
|
|
601
|
+
label: string;
|
|
602
|
+
}
|
|
603
|
+
|
|
566
604
|
export declare const PvPopover: __VLS_WithTemplateSlots_3<DefineComponent<PvPopoverProps, {
|
|
567
605
|
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
568
606
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|