@avenirs-esr/avenirs-dsav 0.1.97 → 0.1.99

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.
@@ -48,3 +48,4 @@ export declare const WithCustomColors: StoryFn<AvCardProps>;
48
48
  export declare const WithOnlyDefaultSlot: StoryFn<AvCardProps>;
49
49
  export declare const Collapsible: StoryFn<AvCardProps>;
50
50
  export declare const CollapsedByDefault: StoryFn<AvCardProps>;
51
+ export declare const TitleOnly: StoryFn<AvCardProps>;
@@ -0,0 +1,64 @@
1
+ export declare const AvCardStub: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ titleOnly: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ baclgroundColor: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ borderColor: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ titleBackground: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ titleHeight: {
19
+ type: StringConstructor;
20
+ };
21
+ collapsible: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ collapsed: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ titleOnly: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ baclgroundColor: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ };
38
+ borderColor: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ titleBackground: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ titleHeight: {
47
+ type: StringConstructor;
48
+ };
49
+ collapsible: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ collapsed: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ }>> & Readonly<{}>, {
58
+ borderColor: string;
59
+ titleOnly: boolean;
60
+ titleBackground: string;
61
+ collapsible: boolean;
62
+ collapsed: boolean;
63
+ baclgroundColor: string;
64
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -3,6 +3,11 @@ import type { Slot } from 'vue';
3
3
  * AvCard component props.
4
4
  */
5
5
  export interface AvCardProps {
6
+ /**
7
+ * If true, the card will be displayed in title-only mode.
8
+ * @default false
9
+ */
10
+ titleOnly?: boolean;
6
11
  /**
7
12
  * The background color of the card.
8
13
  * @default 'var(--card)'
@@ -1 +1 @@
1
- export { default as AvCard } from './AvCard/AvCard.vue';
1
+ export { default as AvCard, type AvCardProps } from './AvCard/AvCard.vue';
@@ -1,19 +1,98 @@
1
- export declare const AvButtonStub: import("vue").DefineComponent<{
2
- label?: any;
3
- small?: any;
4
- icon?: any;
5
- type?: any;
6
- variant?: any;
7
- isLoading?: any;
8
- disabled?: any;
9
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<{
10
- label?: any;
11
- small?: any;
12
- icon?: any;
13
- type?: any;
14
- variant?: any;
15
- isLoading?: any;
16
- disabled?: any;
17
- }> & Readonly<{
1
+ export declare const AvButtonStub: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ variant: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ theme: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ isLoading: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ iconScale: {
15
+ type: NumberConstructor;
16
+ };
17
+ noRadius: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ disabled: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ label: {
26
+ type: StringConstructor;
27
+ required: true;
28
+ };
29
+ iconOnly: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ small: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ icon: {
38
+ type: (StringConstructor | ObjectConstructor)[];
39
+ };
40
+ noSentenceCase: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
+ variant: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ theme: {
50
+ type: StringConstructor;
51
+ default: string;
52
+ };
53
+ isLoading: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ iconScale: {
58
+ type: NumberConstructor;
59
+ };
60
+ noRadius: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ disabled: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ label: {
69
+ type: StringConstructor;
70
+ required: true;
71
+ };
72
+ iconOnly: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
76
+ small: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ icon: {
81
+ type: (StringConstructor | ObjectConstructor)[];
82
+ };
83
+ noSentenceCase: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ }>> & Readonly<{
18
88
  onClick?: ((...args: any[]) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
+ }>, {
90
+ small: boolean;
91
+ variant: string;
92
+ theme: string;
93
+ isLoading: boolean;
94
+ noRadius: boolean;
95
+ disabled: boolean;
96
+ iconOnly: boolean;
97
+ noSentenceCase: boolean;
98
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -57,15 +57,13 @@ export interface AvButtonProps {
57
57
  * @default false
58
58
  */
59
59
  noSentenceCase?: boolean;
60
- /**
61
- * Function called when button is clicked.
62
- * @param event The click MouseEvent
63
- * @deprecated Use `@click` event listener instead.
64
- */
65
- onClick?: ($event: MouseEvent) => void;
66
60
  }
67
61
  declare function focus(): void;
68
62
  declare const _default: import("vue").DefineComponent<AvButtonProps, {
69
63
  focus: typeof focus;
70
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
64
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
65
+ click: (event: MouseEvent) => any;
66
+ }, string, import("vue").PublicProps, Readonly<AvButtonProps> & Readonly<{
67
+ onClick?: ((event: MouseEvent) => any) | undefined;
68
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
71
69
  export default _default;
@@ -22,12 +22,6 @@ export interface AvRichButtonProps {
22
22
  * @default '1rem'
23
23
  */
24
24
  customPadding?: string;
25
- /**
26
- * Function called when button is clicked.
27
- * @param event The MouseEvent of the click.
28
- * @deprecated Use `@click` event listener instead.
29
- */
30
- onClick?: (event: MouseEvent) => void;
31
25
  }
32
26
  /**
33
27
  * Slots available in the AvRichButton component.
@@ -40,7 +34,11 @@ type __VLS_Slots = {
40
34
  */
41
35
  default: Slot;
42
36
  };
43
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvRichButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvRichButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
37
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvRichButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
38
+ click: (event: MouseEvent) => any;
39
+ }, string, import("vue").PublicProps, Readonly<AvRichButtonProps> & Readonly<{
40
+ onClick?: ((event: MouseEvent) => any) | undefined;
41
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
44
42
  export default _default;
45
43
  type __VLS_WithSlots<T, S> = T & {
46
44
  new (): {