@muenchen/muc-patternlab-vue 5.8.0-beta.1 → 5.8.0-beta.2

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.
@@ -22,10 +22,12 @@ declare const _default: {
22
22
  icon(): unknown;
23
23
  header(): unknown;
24
24
  content(): unknown;
25
+ buttons(): unknown;
25
26
  }> & {
26
27
  icon(): unknown;
27
28
  header(): unknown;
28
29
  content(): unknown;
30
+ buttons(): unknown;
29
31
  };
30
32
  });
31
33
  title: string;
@@ -67,3 +69,86 @@ export declare const Error: {
67
69
  content: string;
68
70
  };
69
71
  };
72
+ export declare const WithButton: () => {
73
+ components: {
74
+ MucCallout: {
75
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
76
+ type?: "error" | "info" | "success" | "warning";
77
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
78
+ P: {};
79
+ B: {};
80
+ D: {};
81
+ C: {};
82
+ M: {};
83
+ Defaults: {};
84
+ }, Readonly<{
85
+ type?: "error" | "info" | "success" | "warning";
86
+ }> & Readonly<{}>, {}, {}, {}, {}, {}>;
87
+ __isFragment?: never;
88
+ __isTeleport?: never;
89
+ __isSuspense?: never;
90
+ } & import('vue').ComponentOptionsBase<Readonly<{
91
+ type?: "error" | "info" | "success" | "warning";
92
+ }> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
93
+ $slots: Readonly<{
94
+ icon(): unknown;
95
+ header(): unknown;
96
+ content(): unknown;
97
+ buttons(): unknown;
98
+ }> & {
99
+ icon(): unknown;
100
+ header(): unknown;
101
+ content(): unknown;
102
+ buttons(): unknown;
103
+ };
104
+ });
105
+ MucButton: {
106
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
107
+ variant?: "icon" | "primary" | "secondary" | "ghost";
108
+ disabled?: boolean;
109
+ icon?: string;
110
+ iconAnimated?: boolean;
111
+ iconShownLeft?: boolean;
112
+ }> & Readonly<{
113
+ onClick?: (() => any) | undefined;
114
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
115
+ click: () => any;
116
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLButtonElement, import('vue').ComponentProvideOptions, {
117
+ P: {};
118
+ B: {};
119
+ D: {};
120
+ C: {};
121
+ M: {};
122
+ Defaults: {};
123
+ }, Readonly<{
124
+ variant?: "icon" | "primary" | "secondary" | "ghost";
125
+ disabled?: boolean;
126
+ icon?: string;
127
+ iconAnimated?: boolean;
128
+ iconShownLeft?: boolean;
129
+ }> & Readonly<{
130
+ onClick?: (() => any) | undefined;
131
+ }>, {}, {}, {}, {}, {}>;
132
+ __isFragment?: never;
133
+ __isTeleport?: never;
134
+ __isSuspense?: never;
135
+ } & import('vue').ComponentOptionsBase<Readonly<{
136
+ variant?: "icon" | "primary" | "secondary" | "ghost";
137
+ disabled?: boolean;
138
+ icon?: string;
139
+ iconAnimated?: boolean;
140
+ iconShownLeft?: boolean;
141
+ }> & Readonly<{
142
+ onClick?: (() => any) | undefined;
143
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
144
+ click: () => any;
145
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
146
+ $slots: Readonly<{
147
+ default(): unknown;
148
+ }> & {
149
+ default(): unknown;
150
+ };
151
+ });
152
+ };
153
+ template: string;
154
+ };
@@ -22,6 +22,10 @@ declare function __VLS_template(): {
22
22
  * Content beneath the heading shown as text.
23
23
  */
24
24
  content(): unknown;
25
+ /**
26
+ * Buttons beneath the content.
27
+ */
28
+ buttons(): unknown;
25
29
  }> & {
26
30
  /**
27
31
  * Icon shown above the callout. Defaults to icons matching the type.
@@ -35,6 +39,10 @@ declare function __VLS_template(): {
35
39
  * Content beneath the heading shown as text.
36
40
  */
37
41
  content(): unknown;
42
+ /**
43
+ * Buttons beneath the content.
44
+ */
45
+ buttons(): unknown;
38
46
  };
39
47
  refs: {};
40
48
  rootEl: HTMLDivElement;
@@ -639,7 +639,8 @@ const As = ["href"], Ce = /* @__PURE__ */ U({
639
639
  g("div", da, [
640
640
  g("p", null, [
641
641
  z(r.$slots, "content", { class: "m-callout__content" })
642
- ])
642
+ ]),
643
+ z(r.$slots, "buttons")
643
644
  ])
644
645
  ])
645
646
  ])
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "FabianWilms",
4
4
  "description": "A vue component library of some of the components available from https://patternlab.muenchen.space",
5
5
  "license": "MIT",
6
- "version": "5.8.0-beta.1",
6
+ "version": "5.8.0-beta.2",
7
7
  "private": false,
8
8
  "module": "./dist/muc-patternlab-vue.es.js",
9
9
  "main": "./dist/index.d.ts",