@turquoisehealth/pit-viper 2.268.0 → 2.268.1
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-v3.css +15 -1
- package/_site/assets/css/pit-viper-a11y.css +15 -1
- package/_site/assets/css/pit-viper-consumer.css +15 -1
- package/_site/assets/css/pit-viper-v2-scoped.css +13 -1
- package/_site/assets/css/pit-viper-v2.css +15 -1
- package/_site/assets/css/pit-viper-v3.css +15 -1
- package/_site/assets/css/pit-viper.css +1 -1
- package/_site/manifest.json +16 -2
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvDatePicker/PvDatePicker.vue.d.ts +12 -0
- package/pv-components/dist/vue/base/components/base/PvDatePicker/PvDatePicker.vue.d.ts +12 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +7 -3
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvDatePicker/PvDatePicker.vue.d.ts +12 -0
- package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +10 -3
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PvButtonSize } from '../PvButton/types';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
3
|
/**
|
|
3
4
|
* Value of a date selection. A single `Date` in `single` selection mode, an array in
|
|
@@ -7,6 +8,11 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
7
8
|
* `pv-date-picker`. The unions here are written out rather than aliased because Vue's
|
|
8
9
|
* macro type resolution has to see `Date` to emit it as a runtime prop type.
|
|
9
10
|
*/
|
|
11
|
+
/**
|
|
12
|
+
* Uses the button's size scale so a date picker can sit next to a button of the same size:
|
|
13
|
+
* `md` matches `pv-button-small` (20px), `lg` the default button (24px), `xl` `pv-button-large` (32px).
|
|
14
|
+
*/
|
|
15
|
+
export type PvDatePickerSize = PvButtonSize;
|
|
10
16
|
export type PvDatePickerModelValue = Date | string | (Date | string | null)[] | null | undefined;
|
|
11
17
|
export interface PvDatePickerProps {
|
|
12
18
|
/**
|
|
@@ -98,6 +104,11 @@ export interface PvDatePickerProps {
|
|
|
98
104
|
* Style class of the datepicker panel.
|
|
99
105
|
*/
|
|
100
106
|
panelClass?: string | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Height of the input, on the same scale as `PvButton`'s `size`. Defaults to `xl`, the
|
|
109
|
+
* height the date picker has always had.
|
|
110
|
+
*/
|
|
111
|
+
size?: PvDatePickerSize;
|
|
101
112
|
}
|
|
102
113
|
type __VLS_Props = PvDatePickerProps;
|
|
103
114
|
type __VLS_PublicProps = {
|
|
@@ -108,6 +119,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
108
119
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
109
120
|
"onUpdate:modelValue"?: ((value: PvDatePickerModelValue) => any) | undefined;
|
|
110
121
|
}>, {
|
|
122
|
+
size: PvDatePickerSize;
|
|
111
123
|
appendTo: "body" | "self";
|
|
112
124
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
113
125
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PvButtonSize } from '../PvButton/types';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
3
|
/**
|
|
3
4
|
* Value of a date selection. A single `Date` in `single` selection mode, an array in
|
|
@@ -7,6 +8,11 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
7
8
|
* `pv-date-picker`. The unions here are written out rather than aliased because Vue's
|
|
8
9
|
* macro type resolution has to see `Date` to emit it as a runtime prop type.
|
|
9
10
|
*/
|
|
11
|
+
/**
|
|
12
|
+
* Uses the button's size scale so a date picker can sit next to a button of the same size:
|
|
13
|
+
* `md` matches `pv-button-small` (20px), `lg` the default button (24px), `xl` `pv-button-large` (32px).
|
|
14
|
+
*/
|
|
15
|
+
export type PvDatePickerSize = PvButtonSize;
|
|
10
16
|
export type PvDatePickerModelValue = Date | string | (Date | string | null)[] | null | undefined;
|
|
11
17
|
export interface PvDatePickerProps {
|
|
12
18
|
/**
|
|
@@ -98,6 +104,11 @@ export interface PvDatePickerProps {
|
|
|
98
104
|
* Style class of the datepicker panel.
|
|
99
105
|
*/
|
|
100
106
|
panelClass?: string | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Height of the input, on the same scale as `PvButton`'s `size`. Defaults to `xl`, the
|
|
109
|
+
* height the date picker has always had.
|
|
110
|
+
*/
|
|
111
|
+
size?: PvDatePickerSize;
|
|
101
112
|
}
|
|
102
113
|
type __VLS_Props = PvDatePickerProps;
|
|
103
114
|
type __VLS_PublicProps = {
|
|
@@ -108,6 +119,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
108
119
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
109
120
|
"onUpdate:modelValue"?: ((value: PvDatePickerModelValue) => any) | undefined;
|
|
110
121
|
}>, {
|
|
122
|
+
size: PvDatePickerSize;
|
|
111
123
|
appendTo: "body" | "self";
|
|
112
124
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
113
125
|
export default _default;
|
|
@@ -3543,7 +3543,8 @@ var Ji = /* @__PURE__ */ d({
|
|
|
3543
3543
|
showIcon: { type: Boolean },
|
|
3544
3544
|
fullWidth: { type: Boolean },
|
|
3545
3545
|
appendTo: { default: "body" },
|
|
3546
|
-
panelClass: {}
|
|
3546
|
+
panelClass: {},
|
|
3547
|
+
size: { default: "xl" }
|
|
3547
3548
|
}, {
|
|
3548
3549
|
modelValue: {},
|
|
3549
3550
|
modelModifiers: {}
|
|
@@ -3564,7 +3565,9 @@ var Ji = /* @__PURE__ */ d({
|
|
|
3564
3565
|
fluid: e.fullWidth,
|
|
3565
3566
|
minDate: o.value,
|
|
3566
3567
|
maxDate: s.value,
|
|
3567
|
-
disabledDates: c.value
|
|
3568
|
+
disabledDates: c.value,
|
|
3569
|
+
size: void 0,
|
|
3570
|
+
class: `pv-date-picker-${e.size}`
|
|
3568
3571
|
}), {
|
|
3569
3572
|
inputicon: q((e) => [u(Q, {
|
|
3570
3573
|
name: "calendar",
|
|
@@ -3578,7 +3581,8 @@ var Ji = /* @__PURE__ */ d({
|
|
|
3578
3581
|
"fluid",
|
|
3579
3582
|
"minDate",
|
|
3580
3583
|
"maxDate",
|
|
3581
|
-
"disabledDates"
|
|
3584
|
+
"disabledDates",
|
|
3585
|
+
"class"
|
|
3582
3586
|
]));
|
|
3583
3587
|
}
|
|
3584
3588
|
});
|