@xplortech/apollo-core 0.0.6 → 0.1.0

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/README.md +42 -1
  3. package/build/style.css +983 -380
  4. package/dist/apollo-core/apollo-core.css +23 -9
  5. package/dist/apollo-core/apollo-core.esm.js +1 -1
  6. package/dist/apollo-core/p-00996870.js +1 -0
  7. package/dist/apollo-core/{p-b9df8412.entry.js → p-1e6a342a.entry.js} +4 -3
  8. package/dist/apollo-core/{p-5d786409.entry.js → p-21872e0f.entry.js} +1 -1
  9. package/dist/apollo-core/p-d8ea7d80.entry.js +1 -0
  10. package/dist/cjs/apollo-core.cjs.js +3 -3
  11. package/dist/cjs/{index-d0d9877d.js → index-716d8f57.js} +106 -29
  12. package/dist/cjs/loader.cjs.js +3 -3
  13. package/dist/cjs/{xpl-button_2.cjs.entry.js → xpl-avatar_7.cjs.entry.js} +149 -8
  14. package/dist/cjs/xpl-choicelist.cjs.entry.js +16 -0
  15. package/dist/cjs/xpl-pagination.cjs.entry.js +1 -1
  16. package/dist/collection/collection-manifest.json +8 -2
  17. package/dist/collection/components/xpl-avatar/xpl-avatar.js +158 -0
  18. package/dist/collection/components/xpl-badge/xpl-badge.js +50 -0
  19. package/dist/collection/components/xpl-button/xpl-button.js +45 -13
  20. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +139 -0
  21. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +9 -0
  22. package/dist/collection/components/xpl-radio/xpl-radio.js +122 -0
  23. package/dist/collection/components/xpl-table/xpl-table.js +9 -5
  24. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +10 -0
  25. package/dist/custom-elements/index.d.ts +36 -0
  26. package/dist/custom-elements/index.js +176 -12
  27. package/dist/esm/apollo-core.js +3 -3
  28. package/dist/esm/{index-252a5f91.js → index-4c8962a5.js} +106 -29
  29. package/dist/esm/loader.js +3 -3
  30. package/dist/esm/{xpl-button_2.entry.js → xpl-avatar_7.entry.js} +145 -9
  31. package/dist/esm/xpl-choicelist.entry.js +12 -0
  32. package/dist/esm/xpl-pagination.entry.js +1 -1
  33. package/dist/stories/avatar.stories.js +173 -0
  34. package/dist/stories/badge.stories.js +48 -0
  35. package/dist/stories/button.stories.js +98 -0
  36. package/dist/stories/checkbox.stories.js +66 -0
  37. package/dist/stories/pagination.stories.js +84 -0
  38. package/dist/stories/radio.stories.js +56 -0
  39. package/dist/stories/table.stories.js +107 -0
  40. package/dist/stories/tabs.stories.js +24 -0
  41. package/dist/stories/utility-bar.stories.js +94 -0
  42. package/dist/types/components/xpl-avatar/xpl-avatar.d.ts +11 -0
  43. package/dist/types/components/xpl-badge/xpl-badge.d.ts +5 -0
  44. package/dist/types/{.stencil → components}/xpl-button/xpl-button.d.ts +4 -2
  45. package/dist/types/components/xpl-checkbox/xpl-checkbox.d.ts +11 -0
  46. package/dist/types/components/xpl-choicelist/xpl-choicelist.d.ts +3 -0
  47. package/dist/types/components/xpl-radio/xpl-radio.d.ts +10 -0
  48. package/dist/types/{.stencil → components}/xpl-table/xpl-table.d.ts +2 -2
  49. package/dist/types/components/xpl-utility-bar/xpl-utility-bar.d.ts +3 -0
  50. package/dist/types/components.d.ts +134 -6
  51. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/avatar.stories.d.ts +91 -0
  52. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/badge.stories.d.ts +48 -0
  53. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/button.stories.d.ts +74 -0
  54. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/checkbox.stories.d.ts +64 -0
  55. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
  56. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/radio.stories.d.ts +56 -0
  57. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/table.stories.d.ts +50 -0
  58. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
  59. package/dist/types/home/runner/work/apollo/apollo/.stencil/stories/utility-bar.stories.d.ts +20 -0
  60. package/dist/types/stencil-public-runtime.d.ts +183 -182
  61. package/package.json +42 -13
  62. package/dist/apollo-core/p-3f7da885.js +0 -1
  63. /package/dist/types/{.stencil → components}/xpl-pagination/xpl-pagination.d.ts +0 -0
@@ -0,0 +1,94 @@
1
+ export default {
2
+ title: "Components/Navigation/Utility Bar",
3
+ argTypes: {
4
+ mainSlot: {
5
+ type: { name: 'string', required: false },
6
+ },
7
+ asideSlot: {
8
+ type: { name: 'string', required: false },
9
+ },
10
+ },
11
+ };
12
+ const Story = ({ mainSlot, asideSlot }) => `
13
+ <div style="width: 85vw;">
14
+ <xpl-utility-bar>
15
+ <ul slot="main">
16
+ ${mainSlot}
17
+ </ul>
18
+ <ul slot="aside">
19
+ ${asideSlot}
20
+ </ul>
21
+ </xpl-utility-bar>
22
+ </div>
23
+ `;
24
+ // This is a temporary hack to include a fontawesome icon as an example in this story. Icons will eventually be their own apollo component (or pure fontawesome).
25
+ // When that happens we should update this story to use the component instead of the following svg.
26
+ const bars = `
27
+ <svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="bars" class="svg-inline--fa fa-bars fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"></path></svg>
28
+ `;
29
+ const setMainSlot = () => `<li>${bars}</li>`;
30
+ const setAsideSlot = (isMobile) => `
31
+ <li>
32
+ <xpl-button
33
+ type="submit"
34
+ variant="secondary"
35
+ ${isMobile ? 'icon-only' : 'icon-leading'}
36
+ icon="user-circle"
37
+ >Find Customer</xpl-button
38
+ >
39
+ </li>
40
+ <li>
41
+ <xpl-avatar
42
+ name="Jeremy"
43
+ src="https://pbs.twimg.com/profile_images/1388990311637127168/njwE8QEa_reasonably_small.jpg"
44
+ status="inactive"
45
+ ></xpl-avatar>
46
+ </li>
47
+ `;
48
+ const globalParams = {
49
+ layout: "centered",
50
+ "web-component": {
51
+ render: ({ mainSlot, asideSlot }) => `
52
+ <xpl-utility-bar>
53
+ <ul slot="main">
54
+ ${mainSlot}
55
+ </ul>
56
+ <ul slot="main">
57
+ ${asideSlot}
58
+ </ul>
59
+ </xpl-utility-bar>
60
+ `,
61
+ },
62
+ html: {
63
+ render: ({ mainSlot, asideSlot }) => `
64
+ <nav class="xpl-utility-bar">
65
+ <ul slot="main">
66
+ ${mainSlot}
67
+ </ul>
68
+ <ul slot="main">
69
+ ${asideSlot}
70
+ </ul>
71
+ </nav>
72
+ `,
73
+ },
74
+ };
75
+ // BEGIN: Story for Utility Bar on Mobile
76
+ export const UtilityBarMobile = Story.bind({});
77
+ UtilityBarMobile.args = {
78
+ mainSlot: setMainSlot(),
79
+ asideSlot: setAsideSlot(true),
80
+ };
81
+ UtilityBarMobile.parameters = Object.assign(Object.assign({}, globalParams), { viewport: {
82
+ defaultViewport: 'iphone12',
83
+ } });
84
+ UtilityBarMobile.storyName = 'Mobile';
85
+ // END: Story for Utility Bar on Mobile
86
+ // BEGIN: Story for Utility Bar on Desktop
87
+ export const UtilityBarDesktop = Story.bind({});
88
+ UtilityBarDesktop.args = {
89
+ mainSlot: setMainSlot(),
90
+ asideSlot: setAsideSlot(false),
91
+ };
92
+ UtilityBarDesktop.parameters = Object.assign({}, globalParams);
93
+ UtilityBarDesktop.storyName = 'Desktop';
94
+ // END: Story for Utility Bar on Desktop
@@ -0,0 +1,11 @@
1
+ export declare class XplAvatar {
2
+ color?: "green" | "yellow" | "pink" | "primary" | "secondary";
3
+ disabled?: boolean;
4
+ href?: string;
5
+ name?: string;
6
+ size?: "md" | "sm";
7
+ src?: string;
8
+ status?: "active" | "warning" | "inactive";
9
+ target?: string;
10
+ render(): any;
11
+ }
@@ -0,0 +1,5 @@
1
+ export declare class XplBadge {
2
+ dot?: boolean;
3
+ variant?: "success" | "warning" | "inactive" | "error";
4
+ render(): any;
5
+ }
@@ -6,8 +6,10 @@ export declare class XplButton {
6
6
  icon?: string;
7
7
  iconOnly?: boolean;
8
8
  iconTrailing?: boolean;
9
+ name?: string;
9
10
  size: "default" | "sm" | "xs";
10
- type?: string;
11
- variant: "primary" | "secondary" | "subtle" | "error";
11
+ type?: "submit" | "reset" | "button";
12
+ value?: string;
13
+ variant: "primary" | "secondary" | "subtle" | "warning";
12
14
  render(): any;
13
15
  }
@@ -0,0 +1,11 @@
1
+ export declare class XplCheckbox {
2
+ checked?: boolean;
3
+ description?: string;
4
+ disabled?: boolean;
5
+ indeterminate?: boolean;
6
+ name?: string;
7
+ required?: boolean;
8
+ value?: string;
9
+ id: string;
10
+ render(): any;
11
+ }
@@ -0,0 +1,3 @@
1
+ export declare class XplChoicelist {
2
+ render(): any;
3
+ }
@@ -0,0 +1,10 @@
1
+ export declare class XplRadio {
2
+ checked?: boolean;
3
+ description?: string;
4
+ disabled?: boolean;
5
+ name?: string;
6
+ required?: boolean;
7
+ value?: string;
8
+ id: string;
9
+ render(): any;
10
+ }
@@ -1,12 +1,12 @@
1
1
  import { Event, EventEmitter } from "../../stencil-public-runtime";
2
2
  export declare class XplTable {
3
3
  columns: string[];
4
- data: (string | number)[][];
4
+ data: string[][];
5
5
  freeze: boolean;
6
6
  multiselect: boolean;
7
7
  striped: boolean;
8
8
  areAllSelected: boolean;
9
- rowData: (string | number)[][];
9
+ rowData: string[][];
10
10
  hasScrolled: boolean;
11
11
  selected: boolean[];
12
12
  tableSelect: EventEmitter;
@@ -0,0 +1,3 @@
1
+ export declare class XplUtilityBar {
2
+ render(): any;
3
+ }
@@ -6,15 +6,42 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  export namespace Components {
9
+ interface XplAvatar {
10
+ "color"?: "green" | "yellow" | "pink" | "primary" | "secondary";
11
+ "disabled"?: boolean;
12
+ "href"?: string;
13
+ "name"?: string;
14
+ "size"?: "md" | "sm";
15
+ "src"?: string;
16
+ "status"?: "active" | "warning" | "inactive";
17
+ "target"?: string;
18
+ }
19
+ interface XplBadge {
20
+ "dot"?: boolean;
21
+ "variant"?: "success" | "warning" | "inactive" | "error";
22
+ }
9
23
  interface XplButton {
10
24
  "disabled"?: boolean;
11
25
  "href"?: string;
12
26
  "icon"?: string;
13
27
  "iconOnly"?: boolean;
14
28
  "iconTrailing"?: boolean;
29
+ "name"?: string;
15
30
  "size": "default" | "sm" | "xs";
16
- "type"?: string;
17
- "variant": "primary" | "secondary" | "subtle" | "error";
31
+ "type"?: "submit" | "reset" | "button";
32
+ "value"?: string;
33
+ "variant": "primary" | "secondary" | "subtle" | "warning";
34
+ }
35
+ interface XplCheckbox {
36
+ "checked"?: boolean;
37
+ "description"?: string;
38
+ "disabled"?: boolean;
39
+ "indeterminate"?: boolean;
40
+ "name"?: string;
41
+ "required"?: boolean;
42
+ "value"?: string;
43
+ }
44
+ interface XplChoicelist {
18
45
  }
19
46
  interface XplPagination {
20
47
  /**
@@ -26,49 +53,128 @@ export namespace Components {
26
53
  "total": number;
27
54
  "waitForCallback": boolean;
28
55
  }
56
+ interface XplRadio {
57
+ "checked"?: boolean;
58
+ "description"?: string;
59
+ "disabled"?: boolean;
60
+ "name"?: string;
61
+ "required"?: boolean;
62
+ "value"?: string;
63
+ }
29
64
  interface XplTable {
30
65
  "columns": string[];
31
- "data": (string | number)[][];
66
+ "data": string[][];
32
67
  "freeze": boolean;
33
68
  "multiselect": boolean;
34
69
  "striped": boolean;
35
70
  }
71
+ interface XplUtilityBar {
72
+ }
36
73
  }
37
74
  declare global {
75
+ interface HTMLXplAvatarElement extends Components.XplAvatar, HTMLStencilElement {
76
+ }
77
+ var HTMLXplAvatarElement: {
78
+ prototype: HTMLXplAvatarElement;
79
+ new (): HTMLXplAvatarElement;
80
+ };
81
+ interface HTMLXplBadgeElement extends Components.XplBadge, HTMLStencilElement {
82
+ }
83
+ var HTMLXplBadgeElement: {
84
+ prototype: HTMLXplBadgeElement;
85
+ new (): HTMLXplBadgeElement;
86
+ };
38
87
  interface HTMLXplButtonElement extends Components.XplButton, HTMLStencilElement {
39
88
  }
40
89
  var HTMLXplButtonElement: {
41
90
  prototype: HTMLXplButtonElement;
42
91
  new (): HTMLXplButtonElement;
43
92
  };
93
+ interface HTMLXplCheckboxElement extends Components.XplCheckbox, HTMLStencilElement {
94
+ }
95
+ var HTMLXplCheckboxElement: {
96
+ prototype: HTMLXplCheckboxElement;
97
+ new (): HTMLXplCheckboxElement;
98
+ };
99
+ interface HTMLXplChoicelistElement extends Components.XplChoicelist, HTMLStencilElement {
100
+ }
101
+ var HTMLXplChoicelistElement: {
102
+ prototype: HTMLXplChoicelistElement;
103
+ new (): HTMLXplChoicelistElement;
104
+ };
44
105
  interface HTMLXplPaginationElement extends Components.XplPagination, HTMLStencilElement {
45
106
  }
46
107
  var HTMLXplPaginationElement: {
47
108
  prototype: HTMLXplPaginationElement;
48
109
  new (): HTMLXplPaginationElement;
49
110
  };
111
+ interface HTMLXplRadioElement extends Components.XplRadio, HTMLStencilElement {
112
+ }
113
+ var HTMLXplRadioElement: {
114
+ prototype: HTMLXplRadioElement;
115
+ new (): HTMLXplRadioElement;
116
+ };
50
117
  interface HTMLXplTableElement extends Components.XplTable, HTMLStencilElement {
51
118
  }
52
119
  var HTMLXplTableElement: {
53
120
  prototype: HTMLXplTableElement;
54
121
  new (): HTMLXplTableElement;
55
122
  };
123
+ interface HTMLXplUtilityBarElement extends Components.XplUtilityBar, HTMLStencilElement {
124
+ }
125
+ var HTMLXplUtilityBarElement: {
126
+ prototype: HTMLXplUtilityBarElement;
127
+ new (): HTMLXplUtilityBarElement;
128
+ };
56
129
  interface HTMLElementTagNameMap {
130
+ "xpl-avatar": HTMLXplAvatarElement;
131
+ "xpl-badge": HTMLXplBadgeElement;
57
132
  "xpl-button": HTMLXplButtonElement;
133
+ "xpl-checkbox": HTMLXplCheckboxElement;
134
+ "xpl-choicelist": HTMLXplChoicelistElement;
58
135
  "xpl-pagination": HTMLXplPaginationElement;
136
+ "xpl-radio": HTMLXplRadioElement;
59
137
  "xpl-table": HTMLXplTableElement;
138
+ "xpl-utility-bar": HTMLXplUtilityBarElement;
60
139
  }
61
140
  }
62
141
  declare namespace LocalJSX {
142
+ interface XplAvatar {
143
+ "color"?: "green" | "yellow" | "pink" | "primary" | "secondary";
144
+ "disabled"?: boolean;
145
+ "href"?: string;
146
+ "name"?: string;
147
+ "size"?: "md" | "sm";
148
+ "src"?: string;
149
+ "status"?: "active" | "warning" | "inactive";
150
+ "target"?: string;
151
+ }
152
+ interface XplBadge {
153
+ "dot"?: boolean;
154
+ "variant"?: "success" | "warning" | "inactive" | "error";
155
+ }
63
156
  interface XplButton {
64
157
  "disabled"?: boolean;
65
158
  "href"?: string;
66
159
  "icon"?: string;
67
160
  "iconOnly"?: boolean;
68
161
  "iconTrailing"?: boolean;
162
+ "name"?: string;
69
163
  "size"?: "default" | "sm" | "xs";
70
- "type"?: string;
71
- "variant"?: "primary" | "secondary" | "subtle" | "error";
164
+ "type"?: "submit" | "reset" | "button";
165
+ "value"?: string;
166
+ "variant"?: "primary" | "secondary" | "subtle" | "warning";
167
+ }
168
+ interface XplCheckbox {
169
+ "checked"?: boolean;
170
+ "description"?: string;
171
+ "disabled"?: boolean;
172
+ "indeterminate"?: boolean;
173
+ "name"?: string;
174
+ "required"?: boolean;
175
+ "value"?: string;
176
+ }
177
+ interface XplChoicelist {
72
178
  }
73
179
  interface XplPagination {
74
180
  "onPage"?: (event: CustomEvent<any>) => void;
@@ -76,27 +182,49 @@ declare namespace LocalJSX {
76
182
  "total"?: number;
77
183
  "waitForCallback"?: boolean;
78
184
  }
185
+ interface XplRadio {
186
+ "checked"?: boolean;
187
+ "description"?: string;
188
+ "disabled"?: boolean;
189
+ "name"?: string;
190
+ "required"?: boolean;
191
+ "value"?: string;
192
+ }
79
193
  interface XplTable {
80
194
  "columns"?: string[];
81
- "data"?: (string | number)[][];
195
+ "data"?: string[][];
82
196
  "freeze"?: boolean;
83
197
  "multiselect"?: boolean;
84
198
  "onTableSelect"?: (event: CustomEvent<any>) => void;
85
199
  "striped"?: boolean;
86
200
  }
201
+ interface XplUtilityBar {
202
+ }
87
203
  interface IntrinsicElements {
204
+ "xpl-avatar": XplAvatar;
205
+ "xpl-badge": XplBadge;
88
206
  "xpl-button": XplButton;
207
+ "xpl-checkbox": XplCheckbox;
208
+ "xpl-choicelist": XplChoicelist;
89
209
  "xpl-pagination": XplPagination;
210
+ "xpl-radio": XplRadio;
90
211
  "xpl-table": XplTable;
212
+ "xpl-utility-bar": XplUtilityBar;
91
213
  }
92
214
  }
93
215
  export { LocalJSX as JSX };
94
216
  declare module "@stencil/core" {
95
217
  export namespace JSX {
96
218
  interface IntrinsicElements {
219
+ "xpl-avatar": LocalJSX.XplAvatar & JSXBase.HTMLAttributes<HTMLXplAvatarElement>;
220
+ "xpl-badge": LocalJSX.XplBadge & JSXBase.HTMLAttributes<HTMLXplBadgeElement>;
97
221
  "xpl-button": LocalJSX.XplButton & JSXBase.HTMLAttributes<HTMLXplButtonElement>;
222
+ "xpl-checkbox": LocalJSX.XplCheckbox & JSXBase.HTMLAttributes<HTMLXplCheckboxElement>;
223
+ "xpl-choicelist": LocalJSX.XplChoicelist & JSXBase.HTMLAttributes<HTMLXplChoicelistElement>;
98
224
  "xpl-pagination": LocalJSX.XplPagination & JSXBase.HTMLAttributes<HTMLXplPaginationElement>;
225
+ "xpl-radio": LocalJSX.XplRadio & JSXBase.HTMLAttributes<HTMLXplRadioElement>;
99
226
  "xpl-table": LocalJSX.XplTable & JSXBase.HTMLAttributes<HTMLXplTableElement>;
227
+ "xpl-utility-bar": LocalJSX.XplUtilityBar & JSXBase.HTMLAttributes<HTMLXplUtilityBarElement>;
100
228
  }
101
229
  }
102
230
  }
@@ -0,0 +1,91 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const Avatar: {
6
+ ({ placeholder, name, size, color, status, link, disabled, }: {
7
+ placeholder: any;
8
+ name: any;
9
+ size: any;
10
+ color: any;
11
+ status: any;
12
+ link: any;
13
+ disabled: any;
14
+ }): string;
15
+ argTypes: {
16
+ placeholder: {
17
+ type: {
18
+ name: string;
19
+ required: boolean;
20
+ };
21
+ };
22
+ name: {
23
+ type: {
24
+ name: string;
25
+ required: boolean;
26
+ };
27
+ };
28
+ size: {
29
+ options: string[];
30
+ control: {
31
+ type: string;
32
+ };
33
+ };
34
+ color: {
35
+ options: string[];
36
+ control: {
37
+ type: string;
38
+ };
39
+ };
40
+ status: {
41
+ options: string[];
42
+ control: {
43
+ type: string;
44
+ };
45
+ };
46
+ link: {
47
+ control: {
48
+ type: string;
49
+ };
50
+ };
51
+ disabled: {
52
+ control: {
53
+ type: string;
54
+ };
55
+ };
56
+ };
57
+ parameters: {
58
+ layout: string;
59
+ "web-component": {
60
+ render({ placeholder, name, size, color, status, link, disabled }: {
61
+ placeholder: any;
62
+ name: any;
63
+ size: any;
64
+ color: any;
65
+ status: any;
66
+ link: any;
67
+ disabled: any;
68
+ }): string;
69
+ };
70
+ html: {
71
+ render({ placeholder, name, size, color, status, link, disabled }: {
72
+ placeholder: any;
73
+ name: any;
74
+ size: any;
75
+ color: any;
76
+ status: any;
77
+ link: any;
78
+ disabled: any;
79
+ }): string;
80
+ };
81
+ };
82
+ args: {
83
+ placeholder: string;
84
+ name: string;
85
+ size: string;
86
+ color: string;
87
+ status: string;
88
+ link: boolean;
89
+ disabled: boolean;
90
+ };
91
+ };
@@ -0,0 +1,48 @@
1
+ declare const _default: {
2
+ title: string;
3
+ argTypes: {
4
+ variant: {
5
+ options: string[];
6
+ control: {
7
+ type: string;
8
+ };
9
+ };
10
+ dot: {
11
+ control: {
12
+ type: string;
13
+ };
14
+ };
15
+ text: {
16
+ type: {
17
+ name: string;
18
+ required: boolean;
19
+ };
20
+ };
21
+ };
22
+ };
23
+ export default _default;
24
+ export declare const Badge: {
25
+ ({ variant, dot, text }: {
26
+ variant: any;
27
+ dot: any;
28
+ text: any;
29
+ }): string;
30
+ parameters: {
31
+ layout: string;
32
+ "web-component": {
33
+ render: any;
34
+ };
35
+ html: {
36
+ render({ dot, variant, text }: {
37
+ dot: any;
38
+ variant: any;
39
+ text: any;
40
+ }): string;
41
+ };
42
+ };
43
+ args: {
44
+ variant: string;
45
+ dot: boolean;
46
+ text: string;
47
+ };
48
+ };
@@ -0,0 +1,74 @@
1
+ declare const _default: {
2
+ title: string;
3
+ argTypes: {
4
+ text: {
5
+ type: {
6
+ name: string;
7
+ required: boolean;
8
+ };
9
+ };
10
+ variant: {
11
+ options: string[];
12
+ control: {
13
+ type: string;
14
+ };
15
+ };
16
+ disabled: {
17
+ control: {
18
+ type: string;
19
+ };
20
+ };
21
+ size: {
22
+ options: string[];
23
+ control: {
24
+ type: string;
25
+ };
26
+ };
27
+ icon: {
28
+ options: string[];
29
+ control: {
30
+ type: string;
31
+ };
32
+ };
33
+ iconTrailing: {
34
+ control: {
35
+ type: string;
36
+ };
37
+ };
38
+ };
39
+ };
40
+ export default _default;
41
+ export declare const Button: {
42
+ ({ variant, size, disabled, icon, iconTrailing, text, }: {
43
+ variant: any;
44
+ size: any;
45
+ disabled: any;
46
+ icon: any;
47
+ iconTrailing: any;
48
+ text: any;
49
+ }): string;
50
+ parameters: {
51
+ layout: string;
52
+ "web-component": {
53
+ render: any;
54
+ };
55
+ html: {
56
+ render: ({ variant, size, disabled, icon, iconTrailing, text }: {
57
+ variant: any;
58
+ size: any;
59
+ disabled: any;
60
+ icon: any;
61
+ iconTrailing: any;
62
+ text: any;
63
+ }) => string;
64
+ };
65
+ };
66
+ args: {
67
+ variant: string;
68
+ size: string;
69
+ disabled: boolean;
70
+ icon: string;
71
+ iconTrailing: boolean;
72
+ text: string;
73
+ };
74
+ };
@@ -0,0 +1,64 @@
1
+ declare const _default: {
2
+ title: string;
3
+ argTypes: {
4
+ label: {
5
+ type: {
6
+ name: string;
7
+ required: boolean;
8
+ };
9
+ };
10
+ description: {
11
+ type: {
12
+ name: string;
13
+ required: boolean;
14
+ };
15
+ };
16
+ checked: {
17
+ control: {
18
+ type: string;
19
+ };
20
+ };
21
+ disabled: {
22
+ control: {
23
+ type: string;
24
+ };
25
+ };
26
+ indeterminate: {
27
+ control: {
28
+ type: string;
29
+ };
30
+ };
31
+ };
32
+ };
33
+ export default _default;
34
+ export declare const Checkbox: {
35
+ ({ label, description, checked, disabled, indeterminate, }: {
36
+ label: any;
37
+ description: any;
38
+ checked: any;
39
+ disabled: any;
40
+ indeterminate: any;
41
+ }): string;
42
+ parameters: {
43
+ layout: string;
44
+ "web-component": {
45
+ render: any;
46
+ };
47
+ html: {
48
+ render({ label, description, checked, disabled, indeterminate }: {
49
+ label: any;
50
+ description: any;
51
+ checked: any;
52
+ disabled: any;
53
+ indeterminate: any;
54
+ }): string;
55
+ };
56
+ };
57
+ args: {
58
+ label: string;
59
+ description: string;
60
+ checked: boolean;
61
+ disabled: boolean;
62
+ indeterminate: boolean;
63
+ };
64
+ };