@avenirs-esr/avenirs-dsav 0.1.96 → 0.1.98

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,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 (): {
@@ -553,6 +553,7 @@ export declare const WithCustomItemSlotExample: {
553
553
  MINUS: string;
554
554
  NAVIGATE_BEFORE: string;
555
555
  NAVIGATE_NEXT: string;
556
+ NEWSPAPER_VARIANT: string;
556
557
  NOTEBOOK_CHECK: string;
557
558
  NOTIFICATIONS_NONE: string;
558
559
  PAGE_FIRST: string;