@websline/system-components 0.0.5 → 1.0.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.
- package/dist/components/atoms/actions/button/Button.svelte +1 -1
- package/dist/components/atoms/actions/button/button.variants.js +1 -1
- package/dist/components/atoms/icon/Icon.svelte +3 -1
- package/dist/components/atoms/icon/Icon.svelte.d.ts +2 -2
- package/dist/components/atoms/icon/components/Attach.svelte +27 -0
- package/dist/components/atoms/icon/components/Attach.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Block.svelte +27 -0
- package/dist/components/atoms/icon/components/Block.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Cogs.svelte +31 -0
- package/dist/components/atoms/icon/components/Cogs.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Controlling.svelte +27 -0
- package/dist/components/atoms/icon/components/Controlling.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Dashboard.svelte +41 -0
- package/dist/components/atoms/icon/components/Dashboard.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Database.svelte +27 -0
- package/dist/components/atoms/icon/components/Database.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Dragger.svelte +27 -0
- package/dist/components/atoms/icon/components/Dragger.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Globe.svelte +27 -0
- package/dist/components/atoms/icon/components/Globe.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Layout.svelte +27 -0
- package/dist/components/atoms/icon/components/Layout.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Menu.svelte +27 -0
- package/dist/components/atoms/icon/components/Menu.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Notifications.svelte +26 -0
- package/dist/components/atoms/icon/components/Notifications.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Picture.svelte +27 -0
- package/dist/components/atoms/icon/components/Picture.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Search.svelte +27 -0
- package/dist/components/atoms/icon/components/Search.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Settings.svelte +31 -0
- package/dist/components/atoms/icon/components/Settings.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/components/Trash.svelte +27 -0
- package/dist/components/atoms/icon/components/Trash.svelte.d.ts +41 -0
- package/dist/components/atoms/icon/index.d.ts +30 -0
- package/dist/components/atoms/icon/index.js +30 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/package.json +25 -25
- package/dist/components/molecules/navigationItem/NavigationItem.svelte +0 -80
- package/dist/components/molecules/navigationItem/NavigationItem.svelte.d.ts +0 -81
- package/dist/components/molecules/navigationItem/navigationItem.variants.d.ts +0 -61
- package/dist/components/molecules/navigationItem/navigationItem.variants.js +0 -29
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default Layout;
|
|
2
|
+
type Layout = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const Layout: import("svelte").Component<{
|
|
7
|
+
/**
|
|
8
|
+
* Icon color
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Icon height
|
|
13
|
+
*/
|
|
14
|
+
height?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Icon StrokeWidth
|
|
17
|
+
*/
|
|
18
|
+
strokeWidth?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Icon width
|
|
21
|
+
*/
|
|
22
|
+
width?: number;
|
|
23
|
+
}, {}, "">;
|
|
24
|
+
type Props = {
|
|
25
|
+
/**
|
|
26
|
+
* Icon color
|
|
27
|
+
*/
|
|
28
|
+
color?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Icon height
|
|
31
|
+
*/
|
|
32
|
+
height?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Icon StrokeWidth
|
|
35
|
+
*/
|
|
36
|
+
strokeWidth?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Icon width
|
|
39
|
+
*/
|
|
40
|
+
width?: number;
|
|
41
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color=""] Icon color
|
|
5
|
+
* @property {number} [height=24] Icon height
|
|
6
|
+
* @property {number} [strokeWidth=24] Icon StrokeWidth
|
|
7
|
+
* @property {number} [width=24] Icon width
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** @type {Props} */
|
|
11
|
+
let { color, height, width, strokeWidth, ...rest } = $props();
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<svg
|
|
15
|
+
{height}
|
|
16
|
+
{width}
|
|
17
|
+
viewBox="0 0 24 24"
|
|
18
|
+
fill="none"
|
|
19
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
+
{...rest}>
|
|
21
|
+
<path
|
|
22
|
+
d="M4 6H20M4 12H20M4 18H20"
|
|
23
|
+
stroke={color}
|
|
24
|
+
stroke-width={strokeWidth}
|
|
25
|
+
stroke-linecap="round"
|
|
26
|
+
stroke-linejoin="round" />
|
|
27
|
+
</svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default Menu;
|
|
2
|
+
type Menu = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const Menu: import("svelte").Component<{
|
|
7
|
+
/**
|
|
8
|
+
* Icon color
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Icon height
|
|
13
|
+
*/
|
|
14
|
+
height?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Icon StrokeWidth
|
|
17
|
+
*/
|
|
18
|
+
strokeWidth?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Icon width
|
|
21
|
+
*/
|
|
22
|
+
width?: number;
|
|
23
|
+
}, {}, "">;
|
|
24
|
+
type Props = {
|
|
25
|
+
/**
|
|
26
|
+
* Icon color
|
|
27
|
+
*/
|
|
28
|
+
color?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Icon height
|
|
31
|
+
*/
|
|
32
|
+
height?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Icon StrokeWidth
|
|
35
|
+
*/
|
|
36
|
+
strokeWidth?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Icon width
|
|
39
|
+
*/
|
|
40
|
+
width?: number;
|
|
41
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color=""] Icon color
|
|
5
|
+
* @property {number} [height=24] Icon height
|
|
6
|
+
* @property {number} [strokeWidth=24] Icon StrokeWidth
|
|
7
|
+
* @property {number} [width=24] Icon width
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** @type {Props} */
|
|
11
|
+
let { color, height, width, strokeWidth, ...rest } = $props();
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<svg
|
|
15
|
+
{height}
|
|
16
|
+
{width}
|
|
17
|
+
viewBox="0 0 24 24"
|
|
18
|
+
fill="none"
|
|
19
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
+
{...rest}>
|
|
21
|
+
<path
|
|
22
|
+
d="M10.5579 19.1371C10.3489 19.4333 10.224 19.7953 10.224 20.1887C10.224 21.1888 11.0194 22 12 22M13.0044 5.3021C14.908 5.76708 16.7527 7.49109 16.7527 9.57565V11.3927C16.7527 13.1253 17.4457 14.6905 18.5652 15.8193C19.289 16.5504 19.0856 17.8008 18.1303 18.1614C16.3515 18.8324 14.0074 19.2015 12 19.2015C9.99118 19.2015 7.64848 18.8324 5.86972 18.1614C4.91441 17.8008 4.711 16.549 5.43485 15.8193C6.55429 14.6905 7.24728 13.1253 7.24728 11.3927V9.57565C7.24728 7.49109 9.09197 5.76708 10.9956 5.3021M13.4407 19.1371C13.6497 19.4333 13.7746 19.7953 13.7746 20.1887C13.7746 21.1888 12.9792 22 11.9986 22M13.7746 3.81129C13.7746 4.81164 12.9794 5.62258 11.9986 5.62258C11.0178 5.62258 10.2226 4.81164 10.2226 3.81129C10.2226 2.81094 11.0178 2 11.9986 2C12.9794 2 13.7746 2.81094 13.7746 3.81129Z"
|
|
23
|
+
stroke={color}
|
|
24
|
+
stroke-width={strokeWidth}
|
|
25
|
+
stroke-miterlimit="10" />
|
|
26
|
+
</svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default Notifications;
|
|
2
|
+
type Notifications = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const Notifications: import("svelte").Component<{
|
|
7
|
+
/**
|
|
8
|
+
* Icon color
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Icon height
|
|
13
|
+
*/
|
|
14
|
+
height?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Icon StrokeWidth
|
|
17
|
+
*/
|
|
18
|
+
strokeWidth?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Icon width
|
|
21
|
+
*/
|
|
22
|
+
width?: number;
|
|
23
|
+
}, {}, "">;
|
|
24
|
+
type Props = {
|
|
25
|
+
/**
|
|
26
|
+
* Icon color
|
|
27
|
+
*/
|
|
28
|
+
color?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Icon height
|
|
31
|
+
*/
|
|
32
|
+
height?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Icon StrokeWidth
|
|
35
|
+
*/
|
|
36
|
+
strokeWidth?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Icon width
|
|
39
|
+
*/
|
|
40
|
+
width?: number;
|
|
41
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color=""] Icon color
|
|
5
|
+
* @property {number} [height=24] Icon height
|
|
6
|
+
* @property {number} [strokeWidth=24] Icon StrokeWidth
|
|
7
|
+
* @property {number} [width=24] Icon width
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** @type {Props} */
|
|
11
|
+
let { color, height, width, strokeWidth, ...rest } = $props();
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<svg
|
|
15
|
+
{height}
|
|
16
|
+
{width}
|
|
17
|
+
viewBox="0 0 24 24"
|
|
18
|
+
fill="none"
|
|
19
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
+
{...rest}>
|
|
21
|
+
<path
|
|
22
|
+
d="M21 18L15.5 13L10.5 17.5L7 14.5L3 17.5M19.5 3H4.5C3.67158 3 3 3.67158 3 4.5V19.5C3 20.3285 3.67158 21 4.5 21H19.5C20.3285 21 21 20.3285 21 19.5V4.5C21 3.67158 20.3285 3 19.5 3ZM9 11.5C10.3807 11.5 11.5 10.3807 11.5 9C11.5 7.6193 10.3807 6.5 9 6.5C7.6193 6.5 6.5 7.6193 6.5 9C6.5 10.3807 7.6193 11.5 9 11.5Z"
|
|
23
|
+
stroke={color}
|
|
24
|
+
stroke-width={strokeWidth}
|
|
25
|
+
stroke-linecap="round"
|
|
26
|
+
stroke-linejoin="round" />
|
|
27
|
+
</svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default Picture;
|
|
2
|
+
type Picture = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const Picture: import("svelte").Component<{
|
|
7
|
+
/**
|
|
8
|
+
* Icon color
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Icon height
|
|
13
|
+
*/
|
|
14
|
+
height?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Icon StrokeWidth
|
|
17
|
+
*/
|
|
18
|
+
strokeWidth?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Icon width
|
|
21
|
+
*/
|
|
22
|
+
width?: number;
|
|
23
|
+
}, {}, "">;
|
|
24
|
+
type Props = {
|
|
25
|
+
/**
|
|
26
|
+
* Icon color
|
|
27
|
+
*/
|
|
28
|
+
color?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Icon height
|
|
31
|
+
*/
|
|
32
|
+
height?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Icon StrokeWidth
|
|
35
|
+
*/
|
|
36
|
+
strokeWidth?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Icon width
|
|
39
|
+
*/
|
|
40
|
+
width?: number;
|
|
41
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color=""] Icon color
|
|
5
|
+
* @property {number} [height=24] Icon height
|
|
6
|
+
* @property {number} [strokeWidth=24] Icon StrokeWidth
|
|
7
|
+
* @property {number} [width=24] Icon width
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** @type {Props} */
|
|
11
|
+
let { color, height, width, strokeWidth, ...rest } = $props();
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<svg
|
|
15
|
+
{height}
|
|
16
|
+
{width}
|
|
17
|
+
viewBox="0 0 24 24"
|
|
18
|
+
fill="none"
|
|
19
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
+
{...rest}>
|
|
21
|
+
<path
|
|
22
|
+
d="M12.5839 7.70804C11.9404 7.06462 11.0516 6.66667 10.0697 6.66667C9.08787 6.66667 8.19898 7.06462 7.55556 7.70804M14.6667 14.6667L20 20M10.2222 16.4444C13.6586 16.4444 16.4444 13.6586 16.4444 10.2222C16.4444 6.7858 13.6586 4 10.2222 4C6.7858 4 4 6.7858 4 10.2222C4 13.6586 6.7858 16.4444 10.2222 16.4444Z"
|
|
23
|
+
stroke={color}
|
|
24
|
+
stroke-width={strokeWidth}
|
|
25
|
+
stroke-linecap="round"
|
|
26
|
+
stroke-linejoin="round" />
|
|
27
|
+
</svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default Search;
|
|
2
|
+
type Search = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const Search: import("svelte").Component<{
|
|
7
|
+
/**
|
|
8
|
+
* Icon color
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Icon height
|
|
13
|
+
*/
|
|
14
|
+
height?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Icon StrokeWidth
|
|
17
|
+
*/
|
|
18
|
+
strokeWidth?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Icon width
|
|
21
|
+
*/
|
|
22
|
+
width?: number;
|
|
23
|
+
}, {}, "">;
|
|
24
|
+
type Props = {
|
|
25
|
+
/**
|
|
26
|
+
* Icon color
|
|
27
|
+
*/
|
|
28
|
+
color?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Icon height
|
|
31
|
+
*/
|
|
32
|
+
height?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Icon StrokeWidth
|
|
35
|
+
*/
|
|
36
|
+
strokeWidth?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Icon width
|
|
39
|
+
*/
|
|
40
|
+
width?: number;
|
|
41
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color=""] Icon color
|
|
5
|
+
* @property {number} [height=24] Icon height
|
|
6
|
+
* @property {number} [strokeWidth=24] Icon StrokeWidth
|
|
7
|
+
* @property {number} [width=24] Icon width
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** @type {Props} */
|
|
11
|
+
let { color, height, width, strokeWidth, ...rest } = $props();
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<svg
|
|
15
|
+
{height}
|
|
16
|
+
{width}
|
|
17
|
+
viewBox="0 0 24 24"
|
|
18
|
+
fill="none"
|
|
19
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
+
{...rest}>
|
|
21
|
+
<path
|
|
22
|
+
d="M9.1419 21C7.46635 20.507 5.9749 19.5916 4.79393 18.3788C5.2345 17.8627 5.5 17.1959 5.5 16.4679C5.5 14.8303 4.15685 13.5028 2.5 13.5028C2.39977 13.5028 2.3007 13.5077 2.203 13.5172C2.0699 12.874 2 12.2082 2 11.5261C2 10.493 2.16039 9.49691 2.4579 8.5608C2.47191 8.561 2.48594 8.5611 2.5 8.5611C4.15685 8.5611 5.5 7.23361 5.5 5.59607C5.5 5.12596 5.3893 4.68146 5.1923 4.28652C6.34875 3.22375 7.76025 2.42839 9.32605 2C9.8222 2.96119 10.8333 3.6194 12 3.6194C13.1667 3.6194 14.1778 2.96119 14.674 2C16.2398 2.42839 17.6512 3.22375 18.8077 4.28652C18.6107 4.68146 18.5 5.12596 18.5 5.59607C18.5 7.23361 19.8432 8.5611 21.5 8.5611C21.5141 8.5611 21.5281 8.561 21.5421 8.5608C21.8396 9.49691 22 10.493 22 11.5261C22 12.2082 21.9301 12.874 21.797 13.5172C21.6993 13.5077 21.6002 13.5028 21.5 13.5028C19.8432 13.5028 18.5 14.8303 18.5 16.4679C18.5 17.1959 18.7655 17.8627 19.2061 18.3788C18.0251 19.5916 16.5336 20.507 14.8581 21C14.4714 19.8044 13.338 18.9387 12 18.9387C10.662 18.9387 9.5286 19.8044 9.1419 21Z"
|
|
23
|
+
stroke={color}
|
|
24
|
+
stroke-width={strokeWidth}
|
|
25
|
+
stroke-linejoin="round" />
|
|
26
|
+
<path
|
|
27
|
+
d="M12 14.9853C13.933 14.9853 15.5 13.4366 15.5 11.5261C15.5 9.61561 13.933 8.06688 12 8.06688C10.067 8.06688 8.5 9.61561 8.5 11.5261C8.5 13.4366 10.067 14.9853 12 14.9853Z"
|
|
28
|
+
stroke={color}
|
|
29
|
+
stroke-width={strokeWidth}
|
|
30
|
+
stroke-linejoin="round" />
|
|
31
|
+
</svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default Settings;
|
|
2
|
+
type Settings = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const Settings: import("svelte").Component<{
|
|
7
|
+
/**
|
|
8
|
+
* Icon color
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Icon height
|
|
13
|
+
*/
|
|
14
|
+
height?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Icon StrokeWidth
|
|
17
|
+
*/
|
|
18
|
+
strokeWidth?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Icon width
|
|
21
|
+
*/
|
|
22
|
+
width?: number;
|
|
23
|
+
}, {}, "">;
|
|
24
|
+
type Props = {
|
|
25
|
+
/**
|
|
26
|
+
* Icon color
|
|
27
|
+
*/
|
|
28
|
+
color?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Icon height
|
|
31
|
+
*/
|
|
32
|
+
height?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Icon StrokeWidth
|
|
35
|
+
*/
|
|
36
|
+
strokeWidth?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Icon width
|
|
39
|
+
*/
|
|
40
|
+
width?: number;
|
|
41
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color=""] Icon color
|
|
5
|
+
* @property {number} [height=24] Icon height
|
|
6
|
+
* @property {number} [strokeWidth=24] Icon StrokeWidth
|
|
7
|
+
* @property {number} [width=24] Icon width
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** @type {Props} */
|
|
11
|
+
let { color, height, width, strokeWidth, ...rest } = $props();
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<svg
|
|
15
|
+
{height}
|
|
16
|
+
{width}
|
|
17
|
+
viewBox="0 0 16 16"
|
|
18
|
+
fill="none"
|
|
19
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
20
|
+
{...rest}>
|
|
21
|
+
<path
|
|
22
|
+
d="M6.66667 6.66659V11.3333M9.33333 6.66659V11.3333M2 3.33325H14M3.33333 3.33325V14.6666H12.6667V3.33325H3.33333ZM5.33333 3.33325L6.42967 1.33325H9.59237L10.6667 3.33325H5.33333Z"
|
|
23
|
+
stroke={color}
|
|
24
|
+
stroke-width={strokeWidth}
|
|
25
|
+
stroke-linecap="round"
|
|
26
|
+
stroke-linejoin="round" />
|
|
27
|
+
</svg>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default Trash;
|
|
2
|
+
type Trash = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const Trash: import("svelte").Component<{
|
|
7
|
+
/**
|
|
8
|
+
* Icon color
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Icon height
|
|
13
|
+
*/
|
|
14
|
+
height?: number;
|
|
15
|
+
/**
|
|
16
|
+
* Icon StrokeWidth
|
|
17
|
+
*/
|
|
18
|
+
strokeWidth?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Icon width
|
|
21
|
+
*/
|
|
22
|
+
width?: number;
|
|
23
|
+
}, {}, "">;
|
|
24
|
+
type Props = {
|
|
25
|
+
/**
|
|
26
|
+
* Icon color
|
|
27
|
+
*/
|
|
28
|
+
color?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Icon height
|
|
31
|
+
*/
|
|
32
|
+
height?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Icon StrokeWidth
|
|
35
|
+
*/
|
|
36
|
+
strokeWidth?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Icon width
|
|
39
|
+
*/
|
|
40
|
+
width?: number;
|
|
41
|
+
};
|
|
@@ -1,34 +1,64 @@
|
|
|
1
1
|
export namespace registry {
|
|
2
2
|
export { Academy as academy };
|
|
3
3
|
export { Add as add };
|
|
4
|
+
export { Attach as attach };
|
|
5
|
+
export { Block as block };
|
|
4
6
|
export { Bold as bold };
|
|
5
7
|
export { Check as check };
|
|
6
8
|
export { ChevronDown as chevronDown };
|
|
7
9
|
export { Close as close };
|
|
8
10
|
export { CloseSmall as closeSmall };
|
|
11
|
+
export { Cogs as cogs };
|
|
12
|
+
export { Controlling as controlling };
|
|
13
|
+
export { Dashboard as dashboard };
|
|
14
|
+
export { Database as database };
|
|
15
|
+
export { Dragger as dragger };
|
|
16
|
+
export { Globe as globe };
|
|
9
17
|
export { Italic as italic };
|
|
18
|
+
export { Layout as layout };
|
|
10
19
|
export { Link as link };
|
|
11
20
|
export { ListOrdered as listOrdered };
|
|
12
21
|
export { ListUnordered as listUnordered };
|
|
22
|
+
export { Menu as menu };
|
|
23
|
+
export { Notifications as notifications };
|
|
13
24
|
export { Page as page };
|
|
25
|
+
export { Picture as picture };
|
|
14
26
|
export { Redo as redo };
|
|
15
27
|
export { Refresh as refresh };
|
|
28
|
+
export { Search as search };
|
|
29
|
+
export { Settings as settings };
|
|
30
|
+
export { Trash as trash };
|
|
16
31
|
export { Underline as underline };
|
|
17
32
|
export { Undo as undo };
|
|
18
33
|
}
|
|
19
34
|
import Academy from "./components/Academy.svelte";
|
|
20
35
|
import Add from "./components/Add.svelte";
|
|
36
|
+
import Attach from "./components/Attach.svelte";
|
|
37
|
+
import Block from "./components/Block.svelte";
|
|
21
38
|
import Bold from "./components/Bold.svelte";
|
|
22
39
|
import Check from "./components/Check.svelte";
|
|
23
40
|
import ChevronDown from "./components/ChevronDown.svelte";
|
|
24
41
|
import Close from "./components/Close.svelte";
|
|
25
42
|
import CloseSmall from "./components/CloseSmall.svelte";
|
|
43
|
+
import Cogs from "./components/Cogs.svelte";
|
|
44
|
+
import Controlling from "./components/Controlling.svelte";
|
|
45
|
+
import Dashboard from "./components/Dashboard.svelte";
|
|
46
|
+
import Database from "./components/Database.svelte";
|
|
47
|
+
import Dragger from "./components/Dragger.svelte";
|
|
48
|
+
import Globe from "./components/Globe.svelte";
|
|
26
49
|
import Italic from "./components/Italic.svelte";
|
|
50
|
+
import Layout from "./components/Layout.svelte";
|
|
27
51
|
import Link from "./components/Link.svelte";
|
|
28
52
|
import ListOrdered from "./components/ListOrdered.svelte";
|
|
29
53
|
import ListUnordered from "./components/ListUnordered.svelte";
|
|
54
|
+
import Menu from "./components/Menu.svelte";
|
|
55
|
+
import Notifications from "./components/Notifications.svelte";
|
|
30
56
|
import Page from "./components/Page.svelte";
|
|
57
|
+
import Picture from "./components/Picture.svelte";
|
|
31
58
|
import Redo from "./components/Redo.svelte";
|
|
32
59
|
import Refresh from "./components/Refresh.svelte";
|
|
60
|
+
import Search from "./components/Search.svelte";
|
|
61
|
+
import Settings from "./components/Settings.svelte";
|
|
62
|
+
import Trash from "./components/Trash.svelte";
|
|
33
63
|
import Underline from "./components/Underline.svelte";
|
|
34
64
|
import Undo from "./components/Undo.svelte";
|
|
@@ -1,35 +1,65 @@
|
|
|
1
1
|
import Academy from "./components/Academy.svelte";
|
|
2
2
|
import Add from "./components/Add.svelte";
|
|
3
|
+
import Attach from "./components/Attach.svelte";
|
|
4
|
+
import Block from "./components/Block.svelte";
|
|
3
5
|
import Bold from "./components/Bold.svelte";
|
|
4
6
|
import Check from "./components/Check.svelte";
|
|
5
7
|
import ChevronDown from "./components/ChevronDown.svelte";
|
|
6
8
|
import Close from "./components/Close.svelte";
|
|
7
9
|
import CloseSmall from "./components/CloseSmall.svelte";
|
|
10
|
+
import Cogs from "./components/Cogs.svelte";
|
|
11
|
+
import Controlling from "./components/Controlling.svelte";
|
|
12
|
+
import Dashboard from "./components/Dashboard.svelte";
|
|
13
|
+
import Database from "./components/Database.svelte";
|
|
14
|
+
import Dragger from "./components/Dragger.svelte";
|
|
15
|
+
import Globe from "./components/Globe.svelte";
|
|
8
16
|
import Italic from "./components/Italic.svelte";
|
|
17
|
+
import Layout from "./components/Layout.svelte";
|
|
9
18
|
import Link from "./components/Link.svelte";
|
|
10
19
|
import ListOrdered from "./components/ListOrdered.svelte";
|
|
11
20
|
import ListUnordered from "./components/ListUnordered.svelte";
|
|
21
|
+
import Menu from "./components/Menu.svelte";
|
|
22
|
+
import Notifications from "./components/Notifications.svelte";
|
|
12
23
|
import Page from "./components/Page.svelte";
|
|
24
|
+
import Picture from "./components/Picture.svelte";
|
|
13
25
|
import Redo from "./components/Redo.svelte";
|
|
14
26
|
import Refresh from "./components/Refresh.svelte";
|
|
27
|
+
import Search from "./components/Search.svelte";
|
|
28
|
+
import Settings from "./components/Settings.svelte";
|
|
29
|
+
import Trash from "./components/Trash.svelte";
|
|
15
30
|
import Underline from "./components/Underline.svelte";
|
|
16
31
|
import Undo from "./components/Undo.svelte";
|
|
17
32
|
|
|
18
33
|
export const registry = {
|
|
19
34
|
academy: Academy,
|
|
20
35
|
add: Add,
|
|
36
|
+
attach: Attach,
|
|
37
|
+
block: Block,
|
|
21
38
|
bold: Bold,
|
|
22
39
|
check: Check,
|
|
23
40
|
chevronDown: ChevronDown,
|
|
24
41
|
close: Close,
|
|
25
42
|
closeSmall: CloseSmall,
|
|
43
|
+
cogs: Cogs,
|
|
44
|
+
controlling: Controlling,
|
|
45
|
+
dashboard: Dashboard,
|
|
46
|
+
database: Database,
|
|
47
|
+
dragger: Dragger,
|
|
48
|
+
globe: Globe,
|
|
26
49
|
italic: Italic,
|
|
50
|
+
layout: Layout,
|
|
27
51
|
link: Link,
|
|
28
52
|
listOrdered: ListOrdered,
|
|
29
53
|
listUnordered: ListUnordered,
|
|
54
|
+
menu: Menu,
|
|
55
|
+
notifications: Notifications,
|
|
30
56
|
page: Page,
|
|
57
|
+
picture: Picture,
|
|
31
58
|
redo: Redo,
|
|
32
59
|
refresh: Refresh,
|
|
60
|
+
search: Search,
|
|
61
|
+
settings: Settings,
|
|
62
|
+
trash: Trash,
|
|
33
63
|
underline: Underline,
|
|
34
64
|
undo: Undo,
|
|
35
65
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,6 @@ export * as ColorSwatch from "./components/molecules/pickers/colorSwatch/index.j
|
|
|
20
20
|
export { default as FormActions } from "./components/molecules/formActions/formActions.svelte";
|
|
21
21
|
export { default as FormField } from "./components/molecules/formField/FormField.svelte";
|
|
22
22
|
export { default as FormLayout } from "./components/molecules/formLayout/FormLayout.svelte";
|
|
23
|
-
export { default as NavigationItem } from "./components/molecules/navigationItem/NavigationItem.svelte";
|
|
24
23
|
export { default as Notification } from "./components/molecules/notification/Notification.svelte";
|
|
25
24
|
export { default as RichTextEditor } from "./components/molecules/richTextEditor/RichTextEditor.svelte";
|
|
26
25
|
export { default as SelectorCard } from "./components/molecules/selectorCard/SelectorCard.svelte";
|
package/dist/index.js
CHANGED
|
@@ -30,7 +30,6 @@ export * as ColorSwatch from "./components/molecules/pickers/colorSwatch/index.j
|
|
|
30
30
|
export { default as FormActions } from "./components/molecules/formActions/formActions.svelte";
|
|
31
31
|
export { default as FormField } from "./components/molecules/formField/FormField.svelte";
|
|
32
32
|
export { default as FormLayout } from "./components/molecules/formLayout/FormLayout.svelte";
|
|
33
|
-
export { default as NavigationItem } from "./components/molecules/navigationItem/NavigationItem.svelte";
|
|
34
33
|
export { default as Notification } from "./components/molecules/notification/Notification.svelte";
|
|
35
34
|
export { default as RichTextEditor } from "./components/molecules/richTextEditor/RichTextEditor.svelte";
|
|
36
35
|
export { default as SelectorCard } from "./components/molecules/selectorCard/SelectorCard.svelte";
|