@farm-investimentos/front-mfe-components-vue3 1.0.1 → 1.0.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.
package/package.json
CHANGED
|
@@ -14,15 +14,15 @@ export default {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
export const Primary = () => ({
|
|
17
|
-
template: '<
|
|
17
|
+
template: '<farm-btn-confirm>Confirm Button</farm-btn-confirm>',
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
export const HtmlMarkup = () => ({
|
|
21
|
-
template: '<
|
|
21
|
+
template: '<farm-btn-confirm><em>I am italic</strong></em></farm-btn-confirm>',
|
|
22
22
|
});
|
|
23
23
|
|
|
24
24
|
export const Props = () => ({
|
|
25
|
-
template: '<
|
|
25
|
+
template: '<farm-btn-confirm title="custom title">custom title (hover me)</farm-btn-confirm>',
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
export const Listener = () => ({
|
|
@@ -32,15 +32,15 @@ export const Listener = () => ({
|
|
|
32
32
|
};
|
|
33
33
|
},
|
|
34
34
|
template: `
|
|
35
|
-
<
|
|
35
|
+
<farm-btn-confirm color="error" @click="x = x + 1">click me to change: {{ x }}</farm-btn-confirm>
|
|
36
36
|
`,
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
export const Iconed = () => ({
|
|
40
|
-
template: `<
|
|
41
|
-
<
|
|
42
|
-
<
|
|
43
|
-
<
|
|
44
|
-
<
|
|
45
|
-
</
|
|
40
|
+
template: `<farm-box>
|
|
41
|
+
<farm-btn-confirm :icon="true">default icon</farm-btn-confirm>
|
|
42
|
+
<farm-btn-confirm :icon="true" customIcon="information-outline">information-outline</farm-btn-confirm>
|
|
43
|
+
<farm-btn-confirm :icon="true" customIcon="account-search">account-search</farm-btn-confirm>
|
|
44
|
+
<farm-btn-confirm :icon="true" customIcon="account-search" disabled>account-search</farm-btn-confirm>
|
|
45
|
+
</farm-box>`,
|
|
46
46
|
});
|