@websline/system-components 1.0.5 → 1.0.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,30 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
/**
|
|
3
|
+
* @typedef {Object} Props
|
|
4
|
+
* @property {string} [color=""] Icon color
|
|
5
|
+
* @property {number} [height=24] Icon height
|
|
6
|
+
* @property {number} [strokeWidth=1.5] Icon StrokeWidth
|
|
7
|
+
* @property {number} [width=24] Icon width
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/** @type {Props} */
|
|
11
|
+
let { color, height = 24, width = 24, strokeWidth = 1.5, ...rest } = $props();
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<svg
|
|
15
|
+
{height}
|
|
16
|
+
{width}
|
|
17
|
+
viewBox="0 0 24 24"
|
|
18
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
19
|
+
{...rest}>
|
|
20
|
+
<path d="M12,14.31v-2c1.66,0,3-1.34,3-3s-1.34-3-3-3-3,1.34-3,3M12,22c2.76,0,5.26-1.12,7.07-2.93,1.81-1.81,2.93-4.31,2.93-7.07s-1.12-5.26-2.93-7.07c-1.81-1.81-4.31-2.93-7.07-2.93s-5.26,1.12-7.07,2.93c-1.81,1.81-2.93,4.31-2.93,7.07s1.12,5.26,2.93,7.07c1.81,1.81,4.31,2.93,7.07,2.93Z" fill="none" stroke={color}
|
|
21
|
+
stroke-width={strokeWidth}
|
|
22
|
+
stroke-linecap="round"
|
|
23
|
+
stroke-linejoin="round"
|
|
24
|
+
/>
|
|
25
|
+
<path d="M12.05,18.88c1.61,0,1.61-2.5,0-2.5s-1.61,2.5,0,2.5h0Z" fill={color}/>
|
|
26
|
+
</svg>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export default WebslineSupport;
|
|
2
|
+
type WebslineSupport = {
|
|
3
|
+
$on?(type: string, callback: (e: any) => void): () => void;
|
|
4
|
+
$set?(props: Partial<Props>): void;
|
|
5
|
+
};
|
|
6
|
+
declare const WebslineSupport: 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
|
+
};
|
|
@@ -683,4 +683,22 @@ export const registry: {
|
|
|
683
683
|
*/
|
|
684
684
|
width?: number;
|
|
685
685
|
}, {}, "">;
|
|
686
|
+
webslineSupport: import("svelte").Component<{
|
|
687
|
+
/**
|
|
688
|
+
* Icon color
|
|
689
|
+
*/
|
|
690
|
+
color?: string;
|
|
691
|
+
/**
|
|
692
|
+
* Icon height
|
|
693
|
+
*/
|
|
694
|
+
height?: number;
|
|
695
|
+
/**
|
|
696
|
+
* Icon StrokeWidth
|
|
697
|
+
*/
|
|
698
|
+
strokeWidth?: number;
|
|
699
|
+
/**
|
|
700
|
+
* Icon width
|
|
701
|
+
*/
|
|
702
|
+
width?: number;
|
|
703
|
+
}, {}, "">;
|
|
686
704
|
};
|
|
@@ -36,6 +36,7 @@ import Trash from "./components/Trash.svelte";
|
|
|
36
36
|
import Underline from "./components/Underline.svelte";
|
|
37
37
|
import Undo from "./components/Undo.svelte";
|
|
38
38
|
import Unlink from "./components/Unlink.svelte";
|
|
39
|
+
import WebslineSupport from "./components/WebslineSupport.svelte";
|
|
39
40
|
|
|
40
41
|
export const registry = {
|
|
41
42
|
academy: Academy,
|
|
@@ -76,4 +77,5 @@ export const registry = {
|
|
|
76
77
|
underline: Underline,
|
|
77
78
|
undo: Undo,
|
|
78
79
|
unlink: Unlink,
|
|
80
|
+
webslineSupport: WebslineSupport,
|
|
79
81
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@websline/system-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@tiptap/core": "^3.
|
|
30
|
-
"@tiptap/extension-color": "^3.
|
|
31
|
-
"@tiptap/extension-highlight": "^3.
|
|
32
|
-
"@tiptap/extension-placeholder": "^3.
|
|
33
|
-
"@tiptap/extension-text-align": "^3.
|
|
34
|
-
"@tiptap/extension-text-style": "^3.
|
|
35
|
-
"@tiptap/pm": "^3.
|
|
36
|
-
"@tiptap/starter-kit": "^3.
|
|
37
|
-
"bits-ui": "^2.14.
|
|
29
|
+
"@tiptap/core": "^3.11.1",
|
|
30
|
+
"@tiptap/extension-color": "^3.11.1",
|
|
31
|
+
"@tiptap/extension-highlight": "^3.11.1",
|
|
32
|
+
"@tiptap/extension-placeholder": "^3.11.1",
|
|
33
|
+
"@tiptap/extension-text-align": "^3.11.1",
|
|
34
|
+
"@tiptap/extension-text-style": "^3.11.1",
|
|
35
|
+
"@tiptap/pm": "^3.11.1",
|
|
36
|
+
"@tiptap/starter-kit": "^3.11.1",
|
|
37
|
+
"bits-ui": "^2.14.4",
|
|
38
38
|
"dompurify": "^3.3.0",
|
|
39
39
|
"tailwind-merge": "^3.4.0",
|
|
40
|
-
"tailwind-variants": "^3.
|
|
40
|
+
"tailwind-variants": "^3.2.2",
|
|
41
41
|
"uuid": "^13.0.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -46,35 +46,35 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@eslint/compat": "^2.0.0",
|
|
48
48
|
"@eslint/js": "^9.39.1",
|
|
49
|
-
"@storybook/addon-a11y": "^10.0
|
|
50
|
-
"@storybook/addon-docs": "^10.0
|
|
49
|
+
"@storybook/addon-a11y": "^10.1.0",
|
|
50
|
+
"@storybook/addon-docs": "^10.1.0",
|
|
51
51
|
"@storybook/addon-svelte-csf": "^5.0.10",
|
|
52
|
-
"@storybook/sveltekit": "^10.0
|
|
52
|
+
"@storybook/sveltekit": "^10.1.0",
|
|
53
53
|
"@sveltejs/adapter-auto": "^7.0.0",
|
|
54
|
-
"@sveltejs/kit": "^2.
|
|
55
|
-
"@sveltejs/package": "^2.5.
|
|
54
|
+
"@sveltejs/kit": "^2.49.0",
|
|
55
|
+
"@sveltejs/package": "^2.5.7",
|
|
56
56
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
57
57
|
"@tailwindcss/forms": "^0.5.10",
|
|
58
58
|
"@tailwindcss/typography": "^0.5.19",
|
|
59
59
|
"@tailwindcss/vite": "^4.1.17",
|
|
60
|
-
"@types/node": "^24.10.
|
|
61
|
-
"@vitest/browser": "^4.0.
|
|
60
|
+
"@types/node": "^24.10.1",
|
|
61
|
+
"@vitest/browser": "^4.0.14",
|
|
62
62
|
"eslint": "^9.39.1",
|
|
63
63
|
"eslint-config-prettier": "^10.1.8",
|
|
64
|
-
"eslint-plugin-storybook": "^10.0
|
|
64
|
+
"eslint-plugin-storybook": "^10.1.0",
|
|
65
65
|
"eslint-plugin-svelte": "^3.13.0",
|
|
66
66
|
"globals": "^16.5.0",
|
|
67
|
-
"playwright": "^1.
|
|
68
|
-
"prettier": "^3.
|
|
67
|
+
"playwright": "^1.57.0",
|
|
68
|
+
"prettier": "^3.7.1",
|
|
69
69
|
"prettier-plugin-svelte": "^3.4.0",
|
|
70
70
|
"prettier-plugin-tailwindcss": "^0.7.1",
|
|
71
71
|
"publint": "^0.3.15",
|
|
72
|
-
"storybook": "^10.0
|
|
73
|
-
"svelte": "^5.
|
|
72
|
+
"storybook": "^10.1.0",
|
|
73
|
+
"svelte": "^5.45.2",
|
|
74
74
|
"tailwindcss": "^4.1.17",
|
|
75
75
|
"typescript": "^5.9.3",
|
|
76
|
-
"vite": "^7.2.
|
|
77
|
-
"vitest": "^4.0.
|
|
76
|
+
"vite": "^7.2.4",
|
|
77
|
+
"vitest": "^4.0.14",
|
|
78
78
|
"vitest-browser-svelte": "^2.0.1"
|
|
79
79
|
},
|
|
80
80
|
"keywords": [
|