@avenirs-esr/avenirs-dsav 0.1.126 → 0.1.128

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.
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvIconTextProps } from './AvIconText.vue';
2
+ import { type AvIconTextProps } from '@/components/base/AvIconText/AvIconText.vue';
3
3
  /**
4
4
  * <h1 class="n1">Texts with icon - <code>AvIconText</code></h1>
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvMessageProps } from './AvMessage.vue';
2
+ import { type AvMessageProps } from '@/components/base/AvMessage/AvMessage.vue';
3
3
  /**
4
4
  * <h1 class="n1">Messages - <code>AvMessage</code></h1>
5
5
  *
@@ -38,7 +38,12 @@ export declare const Default: StoryFn<AvPeriodInputProps>;
38
38
  export declare const Prefilled: StoryFn<AvPeriodInputProps>;
39
39
  export declare const WithWidth: StoryFn<AvPeriodInputProps>;
40
40
  export declare const WithCustomSpacing: StoryFn<AvPeriodInputProps>;
41
- export declare const Disabled: StoryFn<AvPeriodInputProps>;
41
+ export declare const BothDisabled: StoryFn<AvPeriodInputProps>;
42
42
  export declare const Stacked: StoryFn<AvPeriodInputProps>;
43
43
  export declare const WithExternalBounds: StoryFn<AvPeriodInputProps>;
44
44
  export declare const WithRangeBehavior: StoryFn<AvPeriodInputProps>;
45
+ export declare const StartDateDisabled: StoryFn<AvPeriodInputProps>;
46
+ export declare const EndDateDisabled: StoryFn<AvPeriodInputProps>;
47
+ export declare const MonthType: StoryFn<AvPeriodInputProps>;
48
+ export declare const DateTimeLocalType: StoryFn<AvPeriodInputProps>;
49
+ export declare const HiddenLabel: StoryFn<AvPeriodInputProps>;
@@ -6,7 +6,6 @@ export declare const AvPeriodInputStub: import("vue").DefineComponent<import("vu
6
6
  endModelValue: StringConstructor;
7
7
  startLabel: StringConstructor;
8
8
  endLabel: StringConstructor;
9
- disabled: BooleanConstructor;
10
9
  width: StringConstructor;
11
10
  startMinDate: DateConstructor;
12
11
  startMaxDate: DateConstructor;
@@ -14,6 +13,10 @@ export declare const AvPeriodInputStub: import("vue").DefineComponent<import("vu
14
13
  endMaxDate: DateConstructor;
15
14
  stacked: BooleanConstructor;
16
15
  separatorSpacing: StringConstructor;
16
+ endDateDisabled: BooleanConstructor;
17
+ startDateDisabled: BooleanConstructor;
18
+ type: StringConstructor;
19
+ labelVisible: BooleanConstructor;
17
20
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:startModelValue" | "update:endModelValue")[], "change" | "update:startModelValue" | "update:endModelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
21
  id: StringConstructor;
19
22
  label: StringConstructor;
@@ -22,7 +25,6 @@ export declare const AvPeriodInputStub: import("vue").DefineComponent<import("vu
22
25
  endModelValue: StringConstructor;
23
26
  startLabel: StringConstructor;
24
27
  endLabel: StringConstructor;
25
- disabled: BooleanConstructor;
26
28
  width: StringConstructor;
27
29
  startMinDate: DateConstructor;
28
30
  startMaxDate: DateConstructor;
@@ -30,11 +32,17 @@ export declare const AvPeriodInputStub: import("vue").DefineComponent<import("vu
30
32
  endMaxDate: DateConstructor;
31
33
  stacked: BooleanConstructor;
32
34
  separatorSpacing: StringConstructor;
35
+ endDateDisabled: BooleanConstructor;
36
+ startDateDisabled: BooleanConstructor;
37
+ type: StringConstructor;
38
+ labelVisible: BooleanConstructor;
33
39
  }>> & Readonly<{
34
40
  onChange?: ((...args: any[]) => any) | undefined;
35
41
  "onUpdate:startModelValue"?: ((...args: any[]) => any) | undefined;
36
42
  "onUpdate:endModelValue"?: ((...args: any[]) => any) | undefined;
37
43
  }>, {
38
- disabled: boolean;
44
+ labelVisible: boolean;
39
45
  stacked: boolean;
46
+ endDateDisabled: boolean;
47
+ startDateDisabled: boolean;
40
48
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,3 +1,4 @@
1
+ import { type AvInputProps } from '@/components/interaction/inputs/AvInput/AvInput.vue';
1
2
  /**
2
3
  * AvPeriodInput component.
3
4
  *
@@ -39,11 +40,6 @@ export interface AvPeriodInputProps {
39
40
  * Note: the internal labels are hidden by default since this component has a single wrapper label.
40
41
  */
41
42
  endLabel: string;
42
- /**
43
- * If `true`, disable both inputs
44
- * @default false
45
- */
46
- disabled?: boolean;
47
43
  /**
48
44
  * Optional width for both inputs (CSS value)
49
45
  * e.g. '14.875rem', '240px', '100%'
@@ -76,6 +72,26 @@ export interface AvPeriodInputProps {
76
72
  * @default var(--spacing-sm)
77
73
  */
78
74
  separatorSpacing?: string;
75
+ /**
76
+ * If `true`, disable the end date input
77
+ * @default false
78
+ */
79
+ endDateDisabled?: boolean;
80
+ /**
81
+ * If `true`, disable the start date input
82
+ * @default false
83
+ */
84
+ startDateDisabled?: boolean;
85
+ /**
86
+ * Input type for both date inputs
87
+ * @default 'date'
88
+ */
89
+ type?: Extract<AvInputProps['type'], 'date' | 'datetime-local' | 'month' | 'time' | 'week'>;
90
+ /**
91
+ * Whether the label is visible
92
+ * @default true
93
+ */
94
+ labelVisible?: boolean;
79
95
  }
80
96
  declare const _default: import("vue").DefineComponent<AvPeriodInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
81
97
  change: (payload: {
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvListProps } from './AvList.vue';
2
+ import { type AvListProps } from '@/components/interaction/lists/AvList/AvList.vue';
3
3
  /**
4
4
  * <h1 class="n1">Lists - <code>AvList</code></h1>
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/vue3';
2
- import { type AvListItemProps } from './AvListItem.vue';
2
+ import { type AvListItemProps } from '@/components/interaction/lists/AvListItem/AvListItem.vue';
3
3
  /**
4
4
  * <h1 class="n1">Lists - <code>AvListItem</code></h1>
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from '@storybook/vue3';
2
- import AvSideNavigation from './AvSideNavigation.vue';
2
+ import AvSideNavigation from '@/components/navigation/AvSideNavigation/AvSideNavigation.vue';
3
3
  /**
4
4
  * <h1 class="n1">Navigation - <code>AvSideNavigation</code></h1>
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/vue3';
2
- import AvStepper, { type AvStepperProps } from './AvStepper.vue';
2
+ import { AvStepper, type AvStepperProps } from '@/components/navigation';
3
3
  /**
4
4
  * <h2 class="n2">✨ Introduction</h2>
5
5
  *