@turquoisehealth/pit-viper 2.25.0 → 2.25.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-v2.css +28 -11
- package/_site/assets/css/pit-viper.css +20 -3
- package/package.json +1 -1
- package/pv-components/dist/vue/base/pv-components-base.d.ts +99 -12
- package/pv-components/dist/vue/base/pv-components-base.js +26 -26
- package/pv-components/dist/vue/base/pv-components-base.mjs +9583 -9486
- package/pv-components/dist/vue/charts/pv-components-charts.js +18 -18
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +4309 -4287
- package/pv-components/dist/vue/tables/pv-components-tables.js +1 -1
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +3948 -3929
- package/pv-components/dist/web/pv-components.iife.js +41 -41
|
@@ -430,12 +430,12 @@
|
|
|
430
430
|
display: flex;
|
|
431
431
|
align-items: center;
|
|
432
432
|
justify-content: center;
|
|
433
|
-
gap: var(--button-gap,
|
|
433
|
+
gap: var(--button-gap, 0.25rem);
|
|
434
434
|
white-space: nowrap;
|
|
435
435
|
font-weight: var(--button-font-weight, 500);
|
|
436
|
-
line-height: var(--button-line-height, 1.
|
|
436
|
+
line-height: var(--button-line-height, 1.33333333);
|
|
437
437
|
border-radius: var(--button-radius, 4px);
|
|
438
|
-
font-size: var(--button-font-size, 0.
|
|
438
|
+
font-size: var(--button-font-size, 0.75rem);
|
|
439
439
|
transition-duration: 0.125s;
|
|
440
440
|
transition-property: background-color, color;
|
|
441
441
|
}
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
.pv-button-ghost,
|
|
457
457
|
.pv-button-destructive,
|
|
458
458
|
.pv-button-ghost-destructive {
|
|
459
|
-
padding: var(--button-padding, calc(0.
|
|
459
|
+
padding: var(--button-padding, calc(0.25rem - 1px) 0.5rem);
|
|
460
460
|
}
|
|
461
461
|
.pv-button-primary:not(:disabled):hover, .pv-button-primary:not(:disabled):focus-visible,
|
|
462
462
|
.pv-button-secondary:not(:disabled):hover,
|
|
@@ -627,15 +627,19 @@
|
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
.pv-button-small {
|
|
630
|
-
padding: var(--button-small-padding, calc(0.
|
|
630
|
+
padding: var(--button-small-padding, calc(0.125rem - 1px) 0.25rem);
|
|
631
631
|
}
|
|
632
632
|
.pv-button-small.pv-button-primary-outline {
|
|
633
633
|
padding: calc(0.25rem - 1px) 0.5rem;
|
|
634
634
|
}
|
|
635
635
|
|
|
636
636
|
.pv-button-large {
|
|
637
|
-
|
|
638
|
-
|
|
637
|
+
padding: var(--button-large-padding, calc(0.5rem - 1px) 0.75rem);
|
|
638
|
+
gap: var(--button-large-gap, 0.5rem);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
[class*=pv-button]:not(.pv-button-icon):has(svg:is(:only-child)) {
|
|
642
|
+
padding: var(--button-icon-only-padding, calc(0.5rem - 1px));
|
|
639
643
|
}
|
|
640
644
|
|
|
641
645
|
.pv-button-icon {
|
|
@@ -1338,7 +1342,7 @@ label:has(input:not(:disabled)).pv-label-hover:hover {
|
|
|
1338
1342
|
border: 2px solid #E3E7EA;
|
|
1339
1343
|
border-radius: var(--button-radius, 4px);
|
|
1340
1344
|
color: #121313;
|
|
1341
|
-
font-size: var(--button-font-size, 0.
|
|
1345
|
+
font-size: var(--button-font-size, 0.75rem);
|
|
1342
1346
|
font-weight: var(--button-font-weight, 500);
|
|
1343
1347
|
padding: 0.25rem 0.5rem;
|
|
1344
1348
|
transition-duration: 0.125s;
|
|
@@ -2565,7 +2569,7 @@ td:not([rowspan]) > .pv-responsive-cell {
|
|
|
2565
2569
|
[class*=pv-tag] {
|
|
2566
2570
|
font-size: 0.6875rem;
|
|
2567
2571
|
line-height: 1.45454545;
|
|
2568
|
-
font-weight:
|
|
2572
|
+
font-weight: 500;
|
|
2569
2573
|
color: #121313;
|
|
2570
2574
|
display: inline-flex;
|
|
2571
2575
|
align-items: center;
|
|
@@ -2601,9 +2605,8 @@ strong[class*=pv-tag] {
|
|
|
2601
2605
|
|
|
2602
2606
|
.pv-tag-sm {
|
|
2603
2607
|
font-size: 0.6875rem;
|
|
2604
|
-
line-height:
|
|
2608
|
+
line-height: 14px;
|
|
2605
2609
|
padding: 0 0.5rem;
|
|
2606
|
-
border-width: 0;
|
|
2607
2610
|
}
|
|
2608
2611
|
|
|
2609
2612
|
.pv-tag-lg {
|
|
@@ -2613,6 +2616,20 @@ strong[class*=pv-tag] {
|
|
|
2613
2616
|
padding: calc(0.25rem - 1px) 0.5rem;
|
|
2614
2617
|
}
|
|
2615
2618
|
|
|
2619
|
+
[class*=pv-tag]:has(.pv-company-xs, .pv-company-sm) {
|
|
2620
|
+
padding: 1px 4px;
|
|
2621
|
+
gap: 4px;
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
.pv-tag-sm:has(.pv-company-xs) {
|
|
2625
|
+
padding: 0 2px;
|
|
2626
|
+
gap: 2px;
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
.pv-tag-lg:has(.pv-company-sm) {
|
|
2630
|
+
padding: 3px 4px;
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2616
2633
|
.pv-tag-inverse,
|
|
2617
2634
|
.pv-tag-red-inverse,
|
|
2618
2635
|
.pv-tag-yellow-inverse,
|
|
@@ -652,8 +652,12 @@
|
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
.pv-button-large {
|
|
655
|
-
|
|
656
|
-
|
|
655
|
+
padding: var(--button-large-padding, calc(0.5rem - 1px) 0.75rem);
|
|
656
|
+
gap: var(--button-large-gap, 0.5rem);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
[class*=pv-button]:not(.pv-button-icon):has(svg:is(:only-child)) {
|
|
660
|
+
padding: var(--button-icon-only-padding, calc(0.5rem - 1px));
|
|
657
661
|
}
|
|
658
662
|
|
|
659
663
|
.pv-button-icon {
|
|
@@ -2621,7 +2625,6 @@ strong[class*=pv-tag] {
|
|
|
2621
2625
|
font-size: 0.875rem;
|
|
2622
2626
|
line-height: 1.1428571;
|
|
2623
2627
|
padding: 0.125rem 0.5rem;
|
|
2624
|
-
border-width: 1px;
|
|
2625
2628
|
}
|
|
2626
2629
|
|
|
2627
2630
|
.pv-tag-lg {
|
|
@@ -2631,6 +2634,20 @@ strong[class*=pv-tag] {
|
|
|
2631
2634
|
padding: 0.125rem 0.5rem;
|
|
2632
2635
|
}
|
|
2633
2636
|
|
|
2637
|
+
[class*=pv-tag]:has(.pv-company-xs, .pv-company-sm) {
|
|
2638
|
+
padding: 1px 4px;
|
|
2639
|
+
gap: 4px;
|
|
2640
|
+
}
|
|
2641
|
+
|
|
2642
|
+
.pv-tag-sm:has(.pv-company-xs) {
|
|
2643
|
+
padding: 0 2px;
|
|
2644
|
+
gap: 2px;
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
.pv-tag-lg:has(.pv-company-sm) {
|
|
2648
|
+
padding: 3px 4px;
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2634
2651
|
.pv-tag-inverse,
|
|
2635
2652
|
.pv-tag-red-inverse,
|
|
2636
2653
|
.pv-tag-yellow-inverse,
|
package/package.json
CHANGED
|
@@ -179,6 +179,36 @@ declare type PvCompanyLogoProps = {
|
|
|
179
179
|
|
|
180
180
|
declare type PvCompanyLogoSize = PvSize;
|
|
181
181
|
|
|
182
|
+
export declare const PvCompanyTag: DefineComponent<PvCompanyTag_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
183
|
+
"handle-close": (label: string) => any;
|
|
184
|
+
"handle-click": (label: string) => any;
|
|
185
|
+
}, string, PublicProps, Readonly<PvCompanyTag_2> & Readonly<{
|
|
186
|
+
"onHandle-close"?: ((label: string) => any) | undefined;
|
|
187
|
+
"onHandle-click"?: ((label: string) => any) | undefined;
|
|
188
|
+
}>, {
|
|
189
|
+
size: TagSize;
|
|
190
|
+
showClear: boolean;
|
|
191
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
192
|
+
|
|
193
|
+
declare interface PvCompanyTag_2 {
|
|
194
|
+
/**
|
|
195
|
+
* Tag Label
|
|
196
|
+
*/
|
|
197
|
+
label: string;
|
|
198
|
+
/**
|
|
199
|
+
* Company name. Displayed on the left
|
|
200
|
+
*/
|
|
201
|
+
companyName: string;
|
|
202
|
+
/**
|
|
203
|
+
* Size
|
|
204
|
+
*/
|
|
205
|
+
size?: TagSize;
|
|
206
|
+
/**
|
|
207
|
+
* Show clear left icon
|
|
208
|
+
*/
|
|
209
|
+
showClear?: boolean;
|
|
210
|
+
}
|
|
211
|
+
|
|
182
212
|
export declare const PvCounterBadge: DefineComponent<PvBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBadgeProps> & Readonly<{}>, {
|
|
183
213
|
variant: "primary" | "secondary" | "tertiary" | "ghost";
|
|
184
214
|
size: "sm" | "md";
|
|
@@ -556,6 +586,36 @@ declare type PvSize = (typeof PvSizes)[number];
|
|
|
556
586
|
|
|
557
587
|
declare const PvSizes: readonly ["xs", "sm", "md", "lg", "xl", "2x"];
|
|
558
588
|
|
|
589
|
+
export declare const PvSuggestionTag: DefineComponent<PvSuggestionTag_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
590
|
+
"handle-close": (label: string) => any;
|
|
591
|
+
"handle-click": (label: string) => any;
|
|
592
|
+
}, string, PublicProps, Readonly<PvSuggestionTag_2> & Readonly<{
|
|
593
|
+
"onHandle-close"?: ((label: string) => any) | undefined;
|
|
594
|
+
"onHandle-click"?: ((label: string) => any) | undefined;
|
|
595
|
+
}>, {
|
|
596
|
+
size: TagSize;
|
|
597
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
598
|
+
|
|
599
|
+
declare interface PvSuggestionTag_2 {
|
|
600
|
+
/**
|
|
601
|
+
* @default 'Medium'
|
|
602
|
+
* Tag Size
|
|
603
|
+
*/
|
|
604
|
+
size?: TagSize;
|
|
605
|
+
/**
|
|
606
|
+
* Tag Label
|
|
607
|
+
*/
|
|
608
|
+
label: string;
|
|
609
|
+
/**
|
|
610
|
+
* Show left Icon
|
|
611
|
+
*/
|
|
612
|
+
showIcon?: boolean;
|
|
613
|
+
/**
|
|
614
|
+
* Show rounded state
|
|
615
|
+
*/
|
|
616
|
+
rounded?: boolean;
|
|
617
|
+
}
|
|
618
|
+
|
|
559
619
|
export declare const PvTabList: DefineComponent<PvTabListBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
560
620
|
"update:modelValue": (...args: any[]) => void;
|
|
561
621
|
}, string, PublicProps, Readonly<PvTabListBaseProps> & Readonly<{
|
|
@@ -568,24 +628,43 @@ declare interface PvTabListBaseProps {
|
|
|
568
628
|
}
|
|
569
629
|
|
|
570
630
|
export declare const PvTag: DefineComponent<PvTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
571
|
-
"
|
|
572
|
-
"
|
|
573
|
-
"tag-icon-left-clicked": () => any;
|
|
631
|
+
"handle-close": (payload: string) => any;
|
|
632
|
+
"handle-click": (payload: string) => any;
|
|
574
633
|
}, string, PublicProps, Readonly<PvTagProps> & Readonly<{
|
|
575
|
-
"
|
|
576
|
-
"
|
|
577
|
-
"onTag-icon-left-clicked"?: (() => any) | undefined;
|
|
634
|
+
"onHandle-close"?: ((payload: string) => any) | undefined;
|
|
635
|
+
"onHandle-click"?: ((payload: string) => any) | undefined;
|
|
578
636
|
}>, {
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
637
|
+
variant: TagVariant;
|
|
638
|
+
size: TagSize;
|
|
639
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
582
640
|
|
|
583
641
|
declare interface PvTagProps {
|
|
642
|
+
/**
|
|
643
|
+
* @default 'Medium'
|
|
644
|
+
* Tag size
|
|
645
|
+
*/
|
|
646
|
+
size?: TagSize;
|
|
647
|
+
/**
|
|
648
|
+
* @default 'Tertiary'
|
|
649
|
+
* Tag Variant
|
|
650
|
+
*/
|
|
651
|
+
variant?: TagVariant;
|
|
652
|
+
/**
|
|
653
|
+
* Tag Icon
|
|
654
|
+
*/
|
|
655
|
+
icon?: string;
|
|
656
|
+
/**
|
|
657
|
+
* Tag Label
|
|
658
|
+
*/
|
|
584
659
|
label: string;
|
|
660
|
+
/**
|
|
661
|
+
* Show left clear icon
|
|
662
|
+
*/
|
|
663
|
+
showClear?: boolean;
|
|
664
|
+
/**
|
|
665
|
+
* Show rounded state
|
|
666
|
+
*/
|
|
585
667
|
rounded?: boolean;
|
|
586
|
-
iconRight?: string;
|
|
587
|
-
iconLeft?: string;
|
|
588
|
-
isButton?: boolean;
|
|
589
668
|
}
|
|
590
669
|
|
|
591
670
|
export declare const PvToggle: __VLS_WithTemplateSlots_4<DefineComponent< {
|
|
@@ -622,4 +701,12 @@ declare type PvToggleVariant = (typeof PvToggleVariants)[number];
|
|
|
622
701
|
|
|
623
702
|
declare const PvToggleVariants: readonly ["secondary", "tertiary", "icon"];
|
|
624
703
|
|
|
704
|
+
declare const PvVariants: readonly ["primary", "secondary", "tertiary"];
|
|
705
|
+
|
|
706
|
+
declare type PvVariants = (typeof PvVariants)[number];
|
|
707
|
+
|
|
708
|
+
declare type TagSize = Extract<PvSize, "sm" | "md" | "lg">;
|
|
709
|
+
|
|
710
|
+
declare type TagVariant = Extract<PvVariants, "primary" | "tertiary">;
|
|
711
|
+
|
|
625
712
|
export { }
|