@exmg/exm-button 1.2.4 → 1.2.6
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.
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import { ExmFilledButton } from './exm-filled-button.js';
|
|
3
|
+
import './exm-filled-button.js';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
tags: string[];
|
|
7
|
+
render: (args: ExmFilledButton) => import("lit-html").TemplateResult<1>;
|
|
8
|
+
argTypes: {
|
|
9
|
+
disabled: {
|
|
10
|
+
control: "boolean";
|
|
11
|
+
};
|
|
12
|
+
name: {
|
|
13
|
+
control: "text";
|
|
14
|
+
};
|
|
15
|
+
loading: {
|
|
16
|
+
control: "boolean";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default meta;
|
|
21
|
+
type Story = StoryObj<ExmFilledButton>;
|
|
22
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import './exm-filled-button.js';
|
|
2
|
+
import { html } from 'lit';
|
|
3
|
+
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
|
|
4
|
+
const meta = {
|
|
5
|
+
title: 'Packages/Button',
|
|
6
|
+
tags: ['autodocs'],
|
|
7
|
+
render: (args) => html `<exm-filled-button .disabled=${args.disabled} .name=${args.name} .loading=${args.loading}>
|
|
8
|
+
My Button
|
|
9
|
+
</exm-filled-button>`,
|
|
10
|
+
argTypes: {
|
|
11
|
+
disabled: { control: 'boolean' },
|
|
12
|
+
name: { control: 'text' },
|
|
13
|
+
loading: { control: 'boolean' },
|
|
14
|
+
},
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
export const Default = {
|
|
18
|
+
args: {
|
|
19
|
+
disabled: false,
|
|
20
|
+
name: 'Radio Item',
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=exm-button.stories.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import { ExmFilledButton } from './exm-filled-button.js';
|
|
3
|
+
import './exm-filled-button.js';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
tags: string[];
|
|
7
|
+
render: (args: ExmFilledButton) => import("lit-html").TemplateResult<1>;
|
|
8
|
+
argTypes: {
|
|
9
|
+
disabled: {
|
|
10
|
+
control: "boolean";
|
|
11
|
+
};
|
|
12
|
+
name: {
|
|
13
|
+
control: "text";
|
|
14
|
+
};
|
|
15
|
+
loading: {
|
|
16
|
+
control: "boolean";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default meta;
|
|
21
|
+
type Story = StoryObj<ExmFilledButton>;
|
|
22
|
+
export declare const Default: Story;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exmg/exm-button",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "fa88f83e8829412216dcfb2135c6e4c774797a11"
|
|
43
43
|
}
|