@iroco/ui 1.0.0-3 → 1.0.0-5

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 (56) hide show
  1. package/README.md +9 -14
  2. package/dist/Alert.stories.svelte +32 -0
  3. package/dist/Alert.stories.svelte.d.ts +37 -0
  4. package/dist/Alert.svelte +8 -52
  5. package/dist/Button.stories.svelte +4 -3
  6. package/dist/Button.stories.svelte.d.ts +6 -3
  7. package/dist/Button.svelte +18 -63
  8. package/dist/DataTable.stories.svelte +31 -0
  9. package/dist/DataTable.stories.svelte.d.ts +29 -0
  10. package/dist/DataTable.svelte +3 -47
  11. package/dist/IconBurger.stories.svelte +30 -0
  12. package/dist/IconBurger.stories.svelte.d.ts +48 -0
  13. package/dist/IconClose.stories.svelte +30 -0
  14. package/dist/IconClose.stories.svelte.d.ts +48 -0
  15. package/dist/IconFloppyDisk.stories.svelte +33 -0
  16. package/dist/IconFloppyDisk.stories.svelte.d.ts +55 -0
  17. package/dist/IconInfo.stories.svelte +31 -0
  18. package/dist/IconInfo.stories.svelte.d.ts +50 -0
  19. package/dist/IconIrocoLogo.stories.svelte +34 -0
  20. package/dist/IconIrocoLogo.stories.svelte.d.ts +57 -0
  21. package/dist/IconMoreSign.stories.svelte +31 -0
  22. package/dist/IconMoreSign.stories.svelte.d.ts +50 -0
  23. package/dist/IconTrashCan.stories.svelte +31 -0
  24. package/dist/IconTrashCan.stories.svelte.d.ts +50 -0
  25. package/dist/IrocoLogo.stories.svelte +31 -0
  26. package/dist/IrocoLogo.stories.svelte.d.ts +50 -0
  27. package/dist/Loader.stories.svelte +19 -0
  28. package/dist/Loader.stories.svelte.d.ts +29 -0
  29. package/dist/NavBar.stories.svelte +37 -0
  30. package/dist/NavBar.stories.svelte.d.ts +37 -0
  31. package/dist/NavBar.svelte +27 -199
  32. package/dist/Navigation.stories.svelte +14 -15
  33. package/dist/Navigation.svelte +13 -90
  34. package/dist/NumberInput.stories.svelte +47 -0
  35. package/dist/NumberInput.stories.svelte.d.ts +77 -0
  36. package/dist/NumberInput.svelte +8 -52
  37. package/dist/RadioButton.stories.svelte +39 -0
  38. package/dist/RadioButton.stories.svelte.d.ts +56 -0
  39. package/dist/RadioButton.svelte +5 -50
  40. package/dist/RadioButton.svelte.d.ts +0 -2
  41. package/dist/TextInput.stories.svelte +77 -0
  42. package/dist/TextInput.stories.svelte.d.ts +111 -0
  43. package/dist/TextInput.svelte +9 -53
  44. package/dist/scss/button.scss +18 -18
  45. package/dist/scss/colors.scss +68 -91
  46. package/dist/scss/fields/_checkbox.scss +3 -3
  47. package/dist/scss/fields/_input.scss +11 -12
  48. package/dist/scss/forms.scss +8 -8
  49. package/dist/scss/style.scss +1 -1
  50. package/package.json +4 -2
  51. package/dist/NumberInputSized.svelte +0 -4
  52. package/dist/NumberInputSized.svelte.d.ts +0 -14
  53. package/dist/TopBar.svelte +0 -0
  54. package/dist/TopBar.svelte.d.ts +0 -23
  55. package/dist/scss/check.scss +0 -48
  56. package/dist/scss/iroco.scss +0 -38
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # iroco-ui
2
2
 
3
- [![Circle CI](https://circleci.com/gh/iroco-co/iroco-ui.png?circle-token=218e3654fb138427bb709b068ed847b58f8d4ac7&style=svg)](https://app.circleci.com/pipelines/github/iroco-co/iroco-ui)
3
+ [![CircleCI](https://dl.circleci.com/status-badge/img/gh/iroco-co/iroco-ui/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/iroco-co/iroco-ui/tree/main)
4
4
 
5
5
  Design system for Iroco [based on SvelteKit](https://kit.svelte.dev/docs/packaging).
6
6
 
@@ -25,7 +25,6 @@ npm install @iroco/ui@next
25
25
  `src/app.scss`
26
26
 
27
27
  ```scss
28
- @use 'node_modules/@iroco/ui/dist/scss/colors';
29
28
  @use 'node_modules/@iroco/ui/dist/scss/fonts';
30
29
  @use 'node_modules/@iroco/ui/dist/scss/style';
31
30
  @use 'node_modules/@iroco/ui/dist/scss/constants';
@@ -38,25 +37,21 @@ Example of layout with navigation
38
37
 
39
38
  ```svelte
40
39
  <script>
41
- import '../app.scss';
42
- import { Navigation, NavigationItem } from '@iroco/ui';
40
+ import '../app.scss';
41
+ import { Navigation, NavigationItem } from '@iroco/ui';
43
42
  </script>
44
43
 
45
- <Navigation
46
- navigationItems={[new NavigationItem("About", "/about"),]}
47
- type="topbar"
48
- />
44
+ <Navigation navigationItems={[new NavigationItem('About', '/about')]} type="topbar" />
49
45
  <main class="main">
50
- <slot />
46
+ <slot />
51
47
  </main>
52
48
 
53
49
  <style lang="scss">
54
- @use "node_modules/@iroco/ui/dist/scss/colors.scss";
55
- @use "node_modules/@iroco/ui/dist/scss/constants.scss";
56
- @import "node_modules/@iroco/ui/dist/scss/containers.scss";
57
- @import "node_modules/@iroco/ui/dist/scss/button.scss";
50
+ @use 'node_modules/@iroco/ui/dist/scss/colors.scss';
51
+ @use 'node_modules/@iroco/ui/dist/scss/constants.scss';
52
+ @import 'node_modules/@iroco/ui/dist/scss/containers.scss';
53
+ @import 'node_modules/@iroco/ui/dist/scss/button.scss';
58
54
  </style>
59
-
60
55
  ```
61
56
 
62
57
  # develop
@@ -0,0 +1,32 @@
1
+ <script context="module">
2
+ import Alert from './Alert.svelte';
3
+
4
+ export const meta = {
5
+ title: 'Iroco-UI/Atoms/Alert',
6
+ component: Alert,
7
+ argTypes: {
8
+ type: {
9
+ control: { type: 'select' },
10
+ options: ['success', 'danger', 'flash']
11
+ }
12
+ }
13
+ };
14
+ </script>
15
+
16
+ <script>
17
+ import { Story, Template } from '@storybook/addon-svelte-csf';
18
+ </script>
19
+
20
+ <Template let:args>
21
+ <Alert {...args}>
22
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
23
+ labore et dolore magna aliqua. Ut porttitor leo a diam. Gravida dictum fusce ut placerat orci
24
+ nulla. Pulvinar sapien et ligula ullamcorper. Ultrices neque ornare aenean euismod. Facilisi
25
+ cras fermentum odio eu feugiat pretium.
26
+ </Alert>
27
+ </Template>
28
+
29
+ <Story name="Default" />
30
+ <Story name="Danger" args={{ type: 'danger' }} />
31
+ <Story name="Success" args={{ type: 'success' }} />
32
+ <Story name="Flash" args={{ type: 'flash' }} />
@@ -0,0 +1,37 @@
1
+ export namespace meta {
2
+ export let title: string;
3
+ export { Alert as component };
4
+ export namespace argTypes {
5
+ namespace type {
6
+ namespace control {
7
+ let type_1: string;
8
+ export { type_1 as type };
9
+ }
10
+ let options: string[];
11
+ }
12
+ }
13
+ }
14
+ /** @typedef {typeof __propDef.props} AlertProps */
15
+ /** @typedef {typeof __propDef.events} AlertEvents */
16
+ /** @typedef {typeof __propDef.slots} AlertSlots */
17
+ export default class Alert extends SvelteComponent<{
18
+ [x: string]: never;
19
+ }, {
20
+ [evt: string]: CustomEvent<any>;
21
+ }, {}> {
22
+ }
23
+ export type AlertProps = typeof __propDef.props;
24
+ export type AlertEvents = typeof __propDef.events;
25
+ export type AlertSlots = typeof __propDef.slots;
26
+ import Alert from './Alert.svelte';
27
+ import { SvelteComponent } from "svelte";
28
+ declare const __propDef: {
29
+ props: {
30
+ [x: string]: never;
31
+ };
32
+ events: {
33
+ [evt: string]: CustomEvent<any>;
34
+ };
35
+ slots: {};
36
+ };
37
+ export {};
package/dist/Alert.svelte CHANGED
@@ -10,51 +10,7 @@ export let callback;
10
10
  <slot />
11
11
  </div>
12
12
 
13
- <style>.font-color-blue {
14
- color: #00b9ff;
15
- }
16
-
17
- .font-color-darkBlue {
18
- color: #211d28;
19
- }
20
-
21
- .font-color-nightBlue {
22
- color: #18151e;
23
- }
24
-
25
- .font-color-green {
26
- color: #00d692;
27
- }
28
-
29
- .font-color-red {
30
- color: #ff504d;
31
- }
32
-
33
- .font-color-yellow {
34
- color: #ffe032;
35
- }
36
-
37
- .font-color-beige {
38
- color: #f2ebe3;
39
- }
40
-
41
- .font-color-darkBeige {
42
- color: #a9a29e;
43
- }
44
-
45
- .font-color-mediumGrey {
46
- color: #464452;
47
- }
48
-
49
- .font-color-darkGrey {
50
- color: #33323a;
51
- }
52
-
53
- .font-color-lightGrey {
54
- color: #f5f5f5;
55
- }
56
-
57
- .alert {
13
+ <style>.alert {
58
14
  flex-direction: column;
59
15
  position: relative;
60
16
  min-height: 2em;
@@ -67,16 +23,16 @@ export let callback;
67
23
  margin-bottom: 1em;
68
24
  }
69
25
  .alert--danger {
70
- background-color: rgba(255, 80, 77, 0.5);
71
- border: 1px solid #ff504d;
26
+ background-color: var(--color-danger-bg);
27
+ border: 1px solid var(--color-danger);
72
28
  }
73
29
  .alert--success {
74
- background-color: rgba(0, 214, 146, 0.5);
75
- border: 1px solid #00d692;
30
+ background-color: var(--color-success-bg);
31
+ border: 1px solid var(--color-success);
76
32
  }
77
33
  .alert--flash {
78
- background-color: rgba(255, 224, 50, 0.5);
79
- border: 1px solid #ffe032;
34
+ background-color: var(--color-warning-bg);
35
+ border: 1px solid var(--color-warning);
80
36
  }
81
37
  .alert__close {
82
38
  display: block;
@@ -86,5 +42,5 @@ export let callback;
86
42
  background-color: transparent;
87
43
  border: none;
88
44
  cursor: pointer;
89
- color: #a9a29e;
45
+ color: var(--color-icon-primary);
90
46
  }</style>
@@ -2,7 +2,7 @@
2
2
  import Button from './Button.svelte';
3
3
 
4
4
  export const meta = {
5
- title: 'Button',
5
+ title: 'Iroco-UI/Atoms/Button',
6
6
  component: Button,
7
7
  argTypes: {
8
8
  kind: {
@@ -29,11 +29,12 @@
29
29
 
30
30
  <Template let:args>
31
31
  <!--👇 'on:click' allows to forward event to addon-actions -->
32
- <Button {...args} on:click on:click={handleClick}>
32
+ <Button {...args} on:click={handleClick}>
33
33
  You clicked: {count}
34
34
  </Button>
35
35
  </Template>
36
36
 
37
- <Story name="Default"></Story>
37
+ <Story name="Default" />
38
38
  <Story name="Success" args={{ kind: 'success' }} />
39
39
  <Story name="Danger" args={{ kind: 'danger' }} />
40
+ <Story name="Dark" args={{ kind: 'dark' }} />
@@ -22,10 +22,11 @@ export namespace meta {
22
22
  /** @typedef {typeof __propDef.props} ButtonProps */
23
23
  /** @typedef {typeof __propDef.events} ButtonEvents */
24
24
  /** @typedef {typeof __propDef.slots} ButtonSlots */
25
- export default class Button extends SvelteComponent<{}, {
25
+ export default class Button extends SvelteComponent<{
26
+ [x: string]: never;
27
+ }, {
26
28
  [evt: string]: CustomEvent<any>;
27
29
  }, {}> {
28
- constructor();
29
30
  }
30
31
  export type ButtonProps = typeof __propDef.props;
31
32
  export type ButtonEvents = typeof __propDef.events;
@@ -33,7 +34,9 @@ export type ButtonSlots = typeof __propDef.slots;
33
34
  import Button from './Button.svelte';
34
35
  import { SvelteComponent } from "svelte";
35
36
  declare const __propDef: {
36
- props: {};
37
+ props: {
38
+ [x: string]: never;
39
+ };
37
40
  events: {
38
41
  [evt: string]: CustomEvent<any>;
39
42
  };
@@ -20,51 +20,7 @@ export let node;
20
20
  <slot />
21
21
  </button>
22
22
 
23
- <style>.font-color-blue {
24
- color: #00b9ff;
25
- }
26
-
27
- .font-color-darkBlue {
28
- color: #211d28;
29
- }
30
-
31
- .font-color-nightBlue {
32
- color: #18151e;
33
- }
34
-
35
- .font-color-green {
36
- color: #00d692;
37
- }
38
-
39
- .font-color-red {
40
- color: #ff504d;
41
- }
42
-
43
- .font-color-yellow {
44
- color: #ffe032;
45
- }
46
-
47
- .font-color-beige {
48
- color: #f2ebe3;
49
- }
50
-
51
- .font-color-darkBeige {
52
- color: #a9a29e;
53
- }
54
-
55
- .font-color-mediumGrey {
56
- color: #464452;
57
- }
58
-
59
- .font-color-darkGrey {
60
- color: #33323a;
61
- }
62
-
63
- .font-color-lightGrey {
64
- color: #f5f5f5;
65
- }
66
-
67
- .container-wide {
23
+ <style>.container-wide {
68
24
  width: calc(100% - 20px);
69
25
  max-width: 2360px;
70
26
  margin-left: auto;
@@ -225,32 +181,31 @@ export let node;
225
181
  cursor: pointer;
226
182
  -webkit-touch-callout: none;
227
183
  -webkit-user-select: none;
228
- -khtml-user-select: none;
229
184
  -moz-user-select: none;
230
185
  -ms-user-select: none;
231
186
  user-select: none;
232
187
  border: none;
233
188
  flex-shrink: 0;
234
- margin: 1em 0em;
189
+ margin: 1em 0;
235
190
  position: relative;
236
191
  text-transform: uppercase;
237
192
  border-radius: 0.3em;
238
193
  }
239
194
  .iroco-ui-button--basic {
240
- color: #18151e;
241
- background: #f2ebe3;
242
- border: 1px solid #18151e;
195
+ color: var(--btn-basic-label);
196
+ background: var(--btn-basic-bg);
197
+ border: 1px solid var(--btn-basic-border);
243
198
  }
244
199
  .iroco-ui-button--dark {
245
- background: #18151e;
246
- color: #f2ebe3;
200
+ background: var(--dark-btn-primary-bg);
201
+ color: var(--dark-btn-primary-label);
247
202
  }
248
203
  .iroco-ui-button--success {
249
- background: #00d692;
250
- color: #18151e;
204
+ background: var(--color-success);
205
+ color: var(--btn-secondary-label);
251
206
  }
252
207
  .iroco-ui-button--danger {
253
- background: #ff504d;
208
+ background: var(--color-danger);
254
209
  }
255
210
  .iroco-ui-button--regular {
256
211
  padding: 1em 2em;
@@ -259,21 +214,21 @@ export let node;
259
214
  padding: 0.5em 1em;
260
215
  }
261
216
  .iroco-ui-button--basic:hover, .iroco-ui-button--success:hover, .iroco-ui-button--danger:hover {
262
- box-shadow: inset 0 0 0 10em rgba(0, 0, 0, 0.2);
217
+ box-shadow: inset 0 0 0 10em var(--color-black-op-20);
263
218
  }
264
219
  .iroco-ui-button--dark:hover {
265
- box-shadow: inset 0 0 0 10em rgba(255, 255, 255, 0.2);
220
+ box-shadow: inset 0 0 0 10em var(--color-white-op-20);
266
221
  }
267
222
  .iroco-ui-button:active {
268
223
  box-shadow: none;
269
224
  }
270
- .iroco-ui-button.disabled {
271
- background-color: #a9a29e;
272
- color: #33323a;
273
- border-color: #464452;
225
+ .iroco-ui-button.disabled, .iroco-ui-button:disabled {
226
+ background-color: var(--btn-disabled-bg);
227
+ color: var(--btn-disabled-label);
228
+ border-color: var(--btn-disabled-border);
274
229
  cursor: default;
275
230
  }
276
- .iroco-ui-button.disabled:hover {
231
+ .iroco-ui-button.disabled:hover, .iroco-ui-button:disabled:hover {
277
232
  box-shadow: none;
278
233
  }
279
234
 
@@ -281,6 +236,6 @@ export let node;
281
236
  background: none;
282
237
  border: none;
283
238
  font-family: "Arial";
284
- color: #f2ebe3;
239
+ color: var(--color-text);
285
240
  cursor: pointer;
286
241
  }</style>
@@ -0,0 +1,31 @@
1
+ <script context="module">
2
+ import { DataTable } from './index';
3
+
4
+ export const meta = {
5
+ title: 'Iroco-UI/Components/DataTable',
6
+ component: DataTable,
7
+ argTypes: {}
8
+ };
9
+ </script>
10
+
11
+ <script>
12
+ import { Story, Template } from '@storybook/addon-svelte-csf';
13
+ </script>
14
+
15
+ <Template let:args>
16
+ <DataTable
17
+ {...args}
18
+ columns={[
19
+ { key: 'key1', title: 'Title 1' },
20
+ { key: 'key2', title: 'Title 2' },
21
+ { key: 'key3', title: 'Title 3' }
22
+ ]}
23
+ rows={[
24
+ { key1: 'value 1', key2: 'value 2', key3: 'value 3' },
25
+ { key1: 'value a', key2: 'value b', key3: 'value c' },
26
+ { key1: 1.56, key2: 2.76, key3: 3.98 }
27
+ ]}
28
+ />
29
+ </Template>
30
+
31
+ <Story name="Default" />
@@ -0,0 +1,29 @@
1
+ export namespace meta {
2
+ export let title: string;
3
+ export { DataTable as component };
4
+ export let argTypes: {};
5
+ }
6
+ /** @typedef {typeof __propDef.props} DataTableProps */
7
+ /** @typedef {typeof __propDef.events} DataTableEvents */
8
+ /** @typedef {typeof __propDef.slots} DataTableSlots */
9
+ export default class DataTable extends SvelteComponent<{
10
+ [x: string]: never;
11
+ }, {
12
+ [evt: string]: CustomEvent<any>;
13
+ }, {}> {
14
+ }
15
+ export type DataTableProps = typeof __propDef.props;
16
+ export type DataTableEvents = typeof __propDef.events;
17
+ export type DataTableSlots = typeof __propDef.slots;
18
+ import { DataTable } from './index';
19
+ import { SvelteComponent } from "svelte";
20
+ declare const __propDef: {
21
+ props: {
22
+ [x: string]: never;
23
+ };
24
+ events: {
25
+ [evt: string]: CustomEvent<any>;
26
+ };
27
+ slots: {};
28
+ };
29
+ export {};
@@ -33,52 +33,8 @@ export let columns;
33
33
  </tbody>
34
34
  </table>
35
35
 
36
- <style>.font-color-blue {
37
- color: #00b9ff;
38
- }
39
-
40
- .font-color-darkBlue {
41
- color: #211d28;
42
- }
43
-
44
- .font-color-nightBlue {
45
- color: #18151e;
46
- }
47
-
48
- .font-color-green {
49
- color: #00d692;
50
- }
51
-
52
- .font-color-red {
53
- color: #ff504d;
54
- }
55
-
56
- .font-color-yellow {
57
- color: #ffe032;
58
- }
59
-
60
- .font-color-beige {
61
- color: #f2ebe3;
62
- }
63
-
64
- .font-color-darkBeige {
65
- color: #a9a29e;
66
- }
67
-
68
- .font-color-mediumGrey {
69
- color: #464452;
70
- }
71
-
72
- .font-color-darkGrey {
73
- color: #33323a;
74
- }
75
-
76
- .font-color-lightGrey {
77
- color: #f5f5f5;
78
- }
79
-
80
- .data-table {
81
- border: 1px solid #464452;
36
+ <style>.data-table {
37
+ border: 1px solid var(--color-border);
82
38
  width: 100%;
83
39
  }
84
40
  .data-table__header {
@@ -86,7 +42,7 @@ export let columns;
86
42
  height: 4rem;
87
43
  }
88
44
  .data-table__header__cell {
89
- border-bottom: 1px solid #464452;
45
+ border-bottom: 1px solid var(--color-border);
90
46
  }
91
47
  .data-table__body__cell {
92
48
  text-align: center;
@@ -0,0 +1,30 @@
1
+ <script context="module">
2
+ import IconBurger from './IconBurger.svelte';
3
+
4
+ export const meta = {
5
+ title: 'Iroco-UI/Icons/IconBurger',
6
+ component: IconBurger,
7
+ argTypes: {
8
+ width: {
9
+ control: { type: 'range' },
10
+ min: 32,
11
+ max: 512
12
+ },
13
+ height: {
14
+ control: { type: 'range' },
15
+ min: 32,
16
+ max: 512
17
+ }
18
+ }
19
+ };
20
+ </script>
21
+
22
+ <script>
23
+ import { Story, Template } from '@storybook/addon-svelte-csf';
24
+ </script>
25
+
26
+ <Template let:args>
27
+ <IconBurger {...args} />
28
+ </Template>
29
+
30
+ <Story name="Default" />
@@ -0,0 +1,48 @@
1
+ export namespace meta {
2
+ export let title: string;
3
+ export { IconBurger as component };
4
+ export namespace argTypes {
5
+ namespace width {
6
+ namespace control {
7
+ let type: string;
8
+ }
9
+ let min: number;
10
+ let max: number;
11
+ }
12
+ namespace height {
13
+ export namespace control_1 {
14
+ let type_1: string;
15
+ export { type_1 as type };
16
+ }
17
+ export { control_1 as control };
18
+ let min_1: number;
19
+ export { min_1 as min };
20
+ let max_1: number;
21
+ export { max_1 as max };
22
+ }
23
+ }
24
+ }
25
+ /** @typedef {typeof __propDef.props} IconBurgerProps */
26
+ /** @typedef {typeof __propDef.events} IconBurgerEvents */
27
+ /** @typedef {typeof __propDef.slots} IconBurgerSlots */
28
+ export default class IconBurger extends SvelteComponent<{
29
+ [x: string]: never;
30
+ }, {
31
+ [evt: string]: CustomEvent<any>;
32
+ }, {}> {
33
+ }
34
+ export type IconBurgerProps = typeof __propDef.props;
35
+ export type IconBurgerEvents = typeof __propDef.events;
36
+ export type IconBurgerSlots = typeof __propDef.slots;
37
+ import IconBurger from './IconBurger.svelte';
38
+ import { SvelteComponent } from "svelte";
39
+ declare const __propDef: {
40
+ props: {
41
+ [x: string]: never;
42
+ };
43
+ events: {
44
+ [evt: string]: CustomEvent<any>;
45
+ };
46
+ slots: {};
47
+ };
48
+ export {};
@@ -0,0 +1,30 @@
1
+ <script context="module">
2
+ import IconClose from './IconClose.svelte';
3
+
4
+ export const meta = {
5
+ title: 'Iroco-UI/Icons/IconClose',
6
+ component: IconClose,
7
+ argTypes: {
8
+ width: {
9
+ control: { type: 'range' },
10
+ min: 32,
11
+ max: 512
12
+ },
13
+ height: {
14
+ control: { type: 'range' },
15
+ min: 32,
16
+ max: 512
17
+ }
18
+ }
19
+ };
20
+ </script>
21
+
22
+ <script>
23
+ import { Story, Template } from '@storybook/addon-svelte-csf';
24
+ </script>
25
+
26
+ <Template let:args>
27
+ <IconClose {...args} />
28
+ </Template>
29
+
30
+ <Story name="Default" />
@@ -0,0 +1,48 @@
1
+ export namespace meta {
2
+ export let title: string;
3
+ export { IconClose as component };
4
+ export namespace argTypes {
5
+ namespace width {
6
+ namespace control {
7
+ let type: string;
8
+ }
9
+ let min: number;
10
+ let max: number;
11
+ }
12
+ namespace height {
13
+ export namespace control_1 {
14
+ let type_1: string;
15
+ export { type_1 as type };
16
+ }
17
+ export { control_1 as control };
18
+ let min_1: number;
19
+ export { min_1 as min };
20
+ let max_1: number;
21
+ export { max_1 as max };
22
+ }
23
+ }
24
+ }
25
+ /** @typedef {typeof __propDef.props} IconCloseProps */
26
+ /** @typedef {typeof __propDef.events} IconCloseEvents */
27
+ /** @typedef {typeof __propDef.slots} IconCloseSlots */
28
+ export default class IconClose extends SvelteComponent<{
29
+ [x: string]: never;
30
+ }, {
31
+ [evt: string]: CustomEvent<any>;
32
+ }, {}> {
33
+ }
34
+ export type IconCloseProps = typeof __propDef.props;
35
+ export type IconCloseEvents = typeof __propDef.events;
36
+ export type IconCloseSlots = typeof __propDef.slots;
37
+ import IconClose from './IconClose.svelte';
38
+ import { SvelteComponent } from "svelte";
39
+ declare const __propDef: {
40
+ props: {
41
+ [x: string]: never;
42
+ };
43
+ events: {
44
+ [evt: string]: CustomEvent<any>;
45
+ };
46
+ slots: {};
47
+ };
48
+ export {};