@profitliga/ui 1.2.27 → 1.2.29

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.
Files changed (36) hide show
  1. package/dist/components/Button/Button.types.d.ts +3 -2
  2. package/dist/components/ChipCheckbox/ChipCheckbox.vue.d.ts +5 -5
  3. package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -0
  4. package/dist/components/DatePicker/DatePicker.vue.d.ts +17 -0
  5. package/dist/components/DatePicker/DatePickerCalendar.vue.d.ts +18 -0
  6. package/dist/components/DatePicker/DatePickerCell.vue.d.ts +19 -0
  7. package/dist/components/DatePicker/DatePickerContent.vue.d.ts +5 -1
  8. package/dist/components/DatePicker/DatePickerGrid.vue.d.ts +19 -0
  9. package/dist/components/DatePicker/DatePickerRoot.vue.d.ts +8 -2
  10. package/dist/components/DatePicker/index.d.ts +6 -2
  11. package/dist/components/DateRangePicker/DateRangePicker.stories.d.ts +1 -0
  12. package/dist/components/DateRangePicker/DateRangePicker.vue.d.ts +24 -0
  13. package/dist/components/DateRangePicker/DateRangePickerContent.vue.d.ts +7 -1
  14. package/dist/components/DateRangePicker/DateRangePickerRoot.vue.d.ts +8 -2
  15. package/dist/components/DateRangePicker/index.d.ts +2 -1
  16. package/dist/components/DropdownMenu/DropdownMenuContent.vue.d.ts +4 -0
  17. package/dist/components/Message/Message.vue.d.ts +1 -1
  18. package/dist/components/Popover/PopoverContent.vue.d.ts +3 -0
  19. package/dist/components/RangeCalendar/RangeCalendar.vue.d.ts +14 -5
  20. package/dist/components/index.js +2757 -2298
  21. package/dist/{dayjs.util-BSJhipyX.js → parseFileSize.util-D6rrCgGW.js} +15 -14
  22. package/dist/styles/colors.scss +14 -21
  23. package/dist/styles/index.scss +1 -1
  24. package/dist/styles/mixins.scss +6 -6
  25. package/dist/types/global.types.d.ts +1 -0
  26. package/dist/ui.css +1 -1
  27. package/dist/utils/index.js +2 -2
  28. package/package.json +1 -1
  29. package/src/styles/colors.scss +14 -21
  30. package/src/styles/index.scss +1 -1
  31. package/src/styles/mixins.scss +6 -6
  32. package/dist/components/DateRangePickerMobile/DateRangePickerMobile.stories.d.ts +0 -6
  33. package/dist/components/DateRangePickerMobile/DateRangePickerMobile.vue.d.ts +0 -37
  34. package/dist/components/DateRangePickerMobile/DateRangePickerMobileBottomSheet.vue.d.ts +0 -13
  35. package/dist/components/DateRangePickerMobile/index.d.ts +0 -1
  36. package/dist/components/Popover/Popover.stories.d.ts +0 -11
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'vue';
2
- export type ButtonSize = 'extrasmall' | 'small' | 'medium' | 'large' | 'extralarge';
3
- export type ButtonVariant = 'primary' | 'danger' | 'secondary' | 'secondary-blue' | 'link';
2
+ import { TSize, TVariants } from '../../types/global.types';
3
+ export type ButtonSize = TSize;
4
+ export type ButtonVariant = Omit<TVariants, 'info'> | 'secondary-blue' | 'link';
4
5
  export type ButtonStyle = 'contrast' | 'outlined' | 'text' | 'text-filled';
5
6
  export type ButtonIconPosition = 'start' | 'end';
6
7
  export interface IButtonProps {
@@ -1,12 +1,12 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  type __VLS_Props = {
3
- value: any;
4
- label?: any;
3
+ value: unknown;
4
+ label?: string;
5
5
  id?: string;
6
6
  border?: boolean;
7
7
  };
8
8
  type __VLS_PublicProps = {
9
- modelValue: any;
9
+ modelValue: unknown;
10
10
  } & __VLS_Props;
11
11
  declare function __VLS_template(): {
12
12
  attrs: Partial<{}>;
@@ -18,9 +18,9 @@ declare function __VLS_template(): {
18
18
  };
19
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
20
  declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
21
- "update:modelValue": (value: any) => any;
21
+ "update:modelValue": (value: unknown) => any;
22
22
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
23
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
24
24
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
25
25
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
26
  export default _default;
@@ -13,3 +13,4 @@ export declare const EnglishLocale: Story;
13
13
  export declare const MondayStart: Story;
14
14
  export declare const DisabledState: Story;
15
15
  export declare const FullWidth: Story;
16
+ export declare const Composed: Story;
@@ -0,0 +1,17 @@
1
+ import { DatePickerContentProps, DatePickerRootProps, DateValue } from 'reka-ui';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface IDatePickerProps extends DatePickerRootProps {
4
+ contentProps?: DatePickerContentProps;
5
+ }
6
+ type __VLS_Props = IDatePickerProps;
7
+ type __VLS_PublicProps = {
8
+ modelValue?: DateValue | null | undefined;
9
+ } & __VLS_Props;
10
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "update:modelValue": (...args: unknown[]) => any;
12
+ "update:placeholder": (date: DateValue) => any;
13
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
15
+ "onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
16
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: any): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,19 @@
1
+ import { DatePickerCellProps } from 'reka-ui';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: DefineComponent<DatePickerCellProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DatePickerCellProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -1,5 +1,8 @@
1
1
  import { DatePickerContentProps } from 'reka-ui';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface IDatePickerContentProps extends DatePickerContentProps {
4
+ width?: number;
5
+ }
3
6
  declare function __VLS_template(): {
4
7
  attrs: Partial<{}>;
5
8
  slots: {
@@ -9,7 +12,8 @@ declare function __VLS_template(): {
9
12
  rootEl: any;
10
13
  };
11
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: DefineComponent<DatePickerContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DatePickerContentProps> & Readonly<{}>, {
15
+ declare const __VLS_component: DefineComponent<IDatePickerContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IDatePickerContentProps> & Readonly<{}>, {
16
+ width: number;
13
17
  sideOffset: number;
14
18
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -0,0 +1,19 @@
1
+ import { DatePickerGridProps } from 'reka-ui';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: DefineComponent<DatePickerGridProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DatePickerGridProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -1,6 +1,10 @@
1
1
  import { DatePickerRootProps, DateValue } from 'reka-ui';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { WeekDayFormat } from 'reka-ui/date';
4
+ type __VLS_Props = DatePickerRootProps;
5
+ type __VLS_PublicProps = {
6
+ 'open'?: boolean;
7
+ } & __VLS_Props;
4
8
  declare function __VLS_template(): {
5
9
  attrs: Partial<{}>;
6
10
  slots: {
@@ -10,11 +14,13 @@ declare function __VLS_template(): {
10
14
  rootEl: any;
11
15
  };
12
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: DefineComponent<DatePickerRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
+ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
18
  "update:modelValue": (date: DateValue | undefined) => any;
19
+ "update:open": (value: boolean) => any;
15
20
  "update:placeholder": (date: DateValue) => any;
16
- }, string, PublicProps, Readonly<DatePickerRootProps> & Readonly<{
21
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
22
  "onUpdate:modelValue"?: ((date: DateValue | undefined) => any) | undefined;
23
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
18
24
  "onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
19
25
  }>, {
20
26
  pagedNavigation: boolean;
@@ -1,8 +1,12 @@
1
- import { DatePickerAnchor, DatePickerCalendar, DatePickerCell, DatePickerClose, DatePickerGrid, DatePickerGridHead } from 'reka-ui';
1
+ import { DatePickerAnchor, DatePickerClose, DatePickerGridHead } from 'reka-ui';
2
+ import { default as DatePicker } from './DatePicker.vue';
2
3
  import { default as DatePickerArrow } from './DatePickerArrow.vue';
4
+ import { default as DatePickerCalendar } from './DatePickerCalendar.vue';
5
+ import { default as DatePickerCell } from './DatePickerCell.vue';
3
6
  import { default as DatePickerCellTrigger } from './DatePickerCellTrigger.vue';
4
7
  import { default as DatePickerContent } from './DatePickerContent.vue';
5
8
  import { default as DatePickerField } from './DatePickerField.vue';
9
+ import { default as DatePickerGrid } from './DatePickerGrid.vue';
6
10
  import { default as DatePickerGridBody } from './DatePickerGridBody.vue';
7
11
  import { default as DatePickerGridRow } from './DatePickerGridRow.vue';
8
12
  import { default as DatePickerHeadCell } from './DatePickerHeadCell.vue';
@@ -13,4 +17,4 @@ import { default as DatePickerNext } from './DatePickerNext.vue';
13
17
  import { default as DatePickerPrev } from './DatePickerPrev.vue';
14
18
  import { default as DatePickerRoot } from './DatePickerRoot.vue';
15
19
  import { default as DatePickerTrigger } from './DatePickerTrigger.vue';
16
- export { DatePickerAnchor, DatePickerArrow, DatePickerCalendar, DatePickerCell, DatePickerCellTrigger, DatePickerClose, DatePickerContent, DatePickerField, DatePickerGrid, DatePickerGridBody, DatePickerGridHead, DatePickerGridRow, DatePickerHeadCell, DatePickerHeader, DatePickerHeading, DatePickerInput, DatePickerNext, DatePickerPrev, DatePickerRoot, DatePickerTrigger };
20
+ export { DatePicker, DatePickerAnchor, DatePickerArrow, DatePickerCalendar, DatePickerCell, DatePickerCellTrigger, DatePickerClose, DatePickerContent, DatePickerField, DatePickerGrid, DatePickerGridBody, DatePickerGridHead, DatePickerGridRow, DatePickerHeadCell, DatePickerHeader, DatePickerHeading, DatePickerInput, DatePickerNext, DatePickerPrev, DatePickerRoot, DatePickerTrigger };
@@ -12,3 +12,4 @@ export declare const SingleMonth: Story;
12
12
  export declare const EnglishLocale: Story;
13
13
  export declare const MondayStart: Story;
14
14
  export declare const DisabledState: Story;
15
+ export declare const Composed: Story;
@@ -0,0 +1,24 @@
1
+ import { DateRangePickerRootProps, DateValue } from 'reka-ui';
2
+ import { IDateRangePickerContentProps } from './DateRangePickerContent.vue';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
+ interface IDateRangePickerRootProps extends DateRangePickerRootProps {
5
+ widthField?: number;
6
+ contentProps?: IDateRangePickerContentProps;
7
+ }
8
+ type __VLS_Props = IDateRangePickerRootProps;
9
+ type __VLS_PublicProps = {
10
+ modelValue?: {
11
+ start: DateValue | undefined;
12
+ end: DateValue | undefined;
13
+ };
14
+ } & __VLS_Props;
15
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
16
+ "update:modelValue": (...args: unknown[]) => any;
17
+ "update:placeholder": (date: DateValue) => any;
18
+ "update:startValue": (date: DateValue | undefined) => any;
19
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
21
+ "onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
22
+ "onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
24
+ export default _default;
@@ -1,5 +1,8 @@
1
1
  import { DateRangePickerContentProps } from 'reka-ui';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface IDateRangePickerContentProps extends DateRangePickerContentProps {
4
+ width?: number;
5
+ }
3
6
  declare function __VLS_template(): {
4
7
  attrs: Partial<{}>;
5
8
  slots: {
@@ -9,8 +12,11 @@ declare function __VLS_template(): {
9
12
  rootEl: any;
10
13
  };
11
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: DefineComponent<DateRangePickerContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DateRangePickerContentProps> & Readonly<{}>, {
15
+ declare const __VLS_component: DefineComponent<IDateRangePickerContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IDateRangePickerContentProps> & Readonly<{}>, {
16
+ width: number;
13
17
  sideOffset: number;
18
+ align: "start" | "end" | "center";
19
+ alignOffset: number;
14
20
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
22
  export default _default;
@@ -1,6 +1,10 @@
1
1
  import { DateRangePickerRootProps, DateRange, DateValue } from 'reka-ui';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { WeekDayFormat } from 'reka-ui/date';
4
+ type __VLS_Props = DateRangePickerRootProps;
5
+ type __VLS_PublicProps = {
6
+ 'open'?: boolean;
7
+ } & __VLS_Props;
4
8
  declare function __VLS_template(): {
5
9
  attrs: Partial<{}>;
6
10
  slots: {
@@ -10,12 +14,14 @@ declare function __VLS_template(): {
10
14
  rootEl: any;
11
15
  };
12
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: DefineComponent<DateRangePickerRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
+ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
18
  "update:modelValue": (date: DateRange) => any;
19
+ "update:open": (value: boolean) => any;
15
20
  "update:placeholder": (date: DateValue) => any;
16
21
  "update:startValue": (date: DateValue | undefined) => any;
17
- }, string, PublicProps, Readonly<DateRangePickerRootProps> & Readonly<{
22
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
23
  "onUpdate:modelValue"?: ((date: DateRange) => any) | undefined;
24
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
19
25
  "onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
20
26
  "onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
21
27
  }>, {
@@ -1,4 +1,5 @@
1
1
  import { DateRange, DateRangePickerAnchor, DateRangePickerCell, DateRangePickerClose, DateRangePickerGridHead } from 'reka-ui';
2
+ import { default as DateRangePicker } from './DateRangePicker.vue';
2
3
  import { default as DateRangePickerArrow } from './DateRangePickerArrow.vue';
3
4
  import { default as DateRangePickerCalendar } from './DateRangePickerCalendar.vue';
4
5
  import { default as DateRangePickerCellTrigger } from './DateRangePickerCellTrigger.vue';
@@ -14,4 +15,4 @@ import { default as DateRangePickerNext } from './DateRangePickerNext.vue';
14
15
  import { default as DateRangePickerPrev } from './DateRangePickerPrev.vue';
15
16
  import { default as DateRangePickerRoot } from './DateRangePickerRoot.vue';
16
17
  import { default as DateRangePickerTrigger } from './DateRangePickerTrigger.vue';
17
- export { DateRangePickerAnchor, DateRangePickerArrow, DateRangePickerCalendar, DateRangePickerCell, DateRangePickerCellTrigger, DateRangePickerClose, DateRangePickerContent, DateRangePickerField, DateRangePickerGrid, DateRangePickerGridBody, DateRangePickerGridHead, DateRangePickerGridRow, DateRangePickerHeadCell, DateRangePickerHeader, DateRangePickerHeading, DateRangePickerNext, DateRangePickerPrev, DateRangePickerRoot, DateRangePickerTrigger, DateRange };
18
+ export { DateRangePicker, DateRangePickerAnchor, DateRangePickerArrow, DateRangePickerCalendar, DateRangePickerCell, DateRangePickerCellTrigger, DateRangePickerClose, DateRangePickerContent, DateRangePickerField, DateRangePickerGrid, DateRangePickerGridBody, DateRangePickerGridHead, DateRangePickerGridRow, DateRangePickerHeadCell, DateRangePickerHeader, DateRangePickerHeading, DateRangePickerNext, DateRangePickerPrev, DateRangePickerRoot, DateRangePickerTrigger, DateRange };
@@ -26,6 +26,10 @@ declare const __VLS_component: DefineComponent<IDropdownMenuContentProps, {}, {}
26
26
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
27
27
  }>, {
28
28
  width: number;
29
+ alignFlip: boolean;
30
+ avoidCollisions: boolean;
31
+ collisionPadding: number | Partial<Record<"right" | "top" | "left" | "bottom", number>>;
32
+ prioritizePosition: boolean;
29
33
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
30
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
35
  export default _default;
@@ -43,7 +43,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
43
43
  default: boolean;
44
44
  };
45
45
  }>> & Readonly<{}>, {
46
- type: "error" | "success" | "warning" | "info";
46
+ type: "success" | "warning" | "info" | "error";
47
47
  title: string;
48
48
  message: string;
49
49
  viewIcon: boolean;
@@ -29,6 +29,9 @@ declare const __VLS_component: DefineComponent<IPopoverContentProps, {}, {}, {},
29
29
  }>, {
30
30
  width: number;
31
31
  alignOffset: number;
32
+ alignFlip: boolean;
33
+ collisionPadding: number | Partial<Record<"right" | "top" | "left" | "bottom", number>>;
34
+ prioritizePosition: boolean;
32
35
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
33
36
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
37
  export default _default;
@@ -1,15 +1,24 @@
1
- import { DateRange, RangeCalendarHeaderProps, RangeCalendarRootProps } from 'reka-ui';
1
+ import { DateRange, RangeCalendarHeaderProps, RangeCalendarRootProps, DateValue } from 'reka-ui';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  interface CalendarProps extends RangeCalendarRootProps, RangeCalendarHeaderProps {
4
4
  orientation?: 'vertical' | 'horizontal';
5
5
  }
6
6
  type __VLS_Props = CalendarProps;
7
7
  type __VLS_PublicProps = {
8
- modelValue: DateRange;
8
+ modelValue: DateRange | undefined;
9
9
  } & __VLS_Props;
10
10
  declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
- "update:modelValue": (value: DateRange) => any;
11
+ "update:modelValue": (...args: unknown[]) => any;
12
+ "update:placeholder": (date: DateValue) => any;
13
+ "update:startValue": (date: DateValue | undefined) => any;
14
+ "update:validModelValue": (date: DateRange) => any;
12
15
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
- "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
16
+ "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
17
+ "onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
18
+ "onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
19
+ "onUpdate:validModelValue"?: ((date: DateRange) => any) | undefined;
20
+ }>, {
21
+ orientation: "vertical" | "horizontal";
22
+ numberOfMonths: number;
23
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
24
  export default _default;