@websline/system-components 1.3.9 → 1.3.11

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.
@@ -8,6 +8,7 @@
8
8
  content = "",
9
9
  fieldName = "",
10
10
  hideToolbar = false,
11
+ oninput,
11
12
  placeholder = "",
12
13
  size = "medium",
13
14
  toolbarConfig = {
@@ -105,6 +106,7 @@
105
106
  content,
106
107
  onUpdate: () => {
107
108
  htmlInputValue = editor.getHTML();
109
+ oninput?.(htmlInputValue);
108
110
  },
109
111
  });
110
112
 
@@ -8,6 +8,7 @@ declare const RichTextEditor: import("svelte").Component<{
8
8
  content?: string;
9
9
  fieldName?: string;
10
10
  hideToolbar?: boolean;
11
+ oninput: any;
11
12
  placeholder?: string;
12
13
  size?: string;
13
14
  toolbarConfig?: Record<string, any>;
@@ -17,6 +18,7 @@ type $$ComponentProps = {
17
18
  content?: string;
18
19
  fieldName?: string;
19
20
  hideToolbar?: boolean;
21
+ oninput: any;
20
22
  placeholder?: string;
21
23
  size?: string;
22
24
  toolbarConfig?: Record<string, any>;
@@ -44,7 +44,7 @@
44
44
  // prevent input click from colliding with card clicks
45
45
  onclick: (e) => e.stopPropagation(),
46
46
  });
47
- let styles = $derived(selectorCardVariants({ checked, disabled, error, type }));
47
+ let styles = $derived(selectorCardVariants({ disabled, error, type }));
48
48
 
49
49
  let localHelperText = $derived.by(() => {
50
50
  if (error && errorText) {
@@ -25,9 +25,6 @@ const selectorCardVariants = tv({
25
25
  switch: "items-center",
26
26
  },
27
27
  },
28
- compoundVariants: [
29
- { type: "radio", checked: true, class: "bg-neutral-100 dark:bg-neutral-700" },
30
- ],
31
28
  });
32
29
 
33
30
  export { selectorCardVariants };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websline/system-components",
3
- "version": "1.3.9",
3
+ "version": "1.3.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,7 +34,7 @@
34
34
  "@tiptap/extension-text-style": "^3.20.0",
35
35
  "@tiptap/pm": "^3.20.0",
36
36
  "@tiptap/starter-kit": "^3.20.0",
37
- "bits-ui": "^2.16.2",
37
+ "bits-ui": "^2.16.3",
38
38
  "dompurify": "^3.3.1",
39
39
  "tailwind-variants": "^3.2.2",
40
40
  "uuid": "^13.0.0"
@@ -45,32 +45,32 @@
45
45
  "devDependencies": {
46
46
  "@eslint/compat": "^2.0.2",
47
47
  "@eslint/js": "^9.39.3",
48
- "@storybook/addon-a11y": "^10.2.13",
49
- "@storybook/addon-docs": "^10.2.13",
48
+ "@storybook/addon-a11y": "^10.2.15",
49
+ "@storybook/addon-docs": "^10.2.15",
50
50
  "@storybook/addon-svelte-csf": "^5.0.11",
51
- "@storybook/sveltekit": "^10.2.13",
51
+ "@storybook/sveltekit": "^10.2.15",
52
52
  "@sveltejs/adapter-auto": "^7.0.1",
53
- "@sveltejs/kit": "^2.53.3",
53
+ "@sveltejs/kit": "^2.53.4",
54
54
  "@sveltejs/package": "^2.5.7",
55
55
  "@sveltejs/vite-plugin-svelte": "^6.2.4",
56
56
  "@tailwindcss/forms": "^0.5.11",
57
57
  "@tailwindcss/typography": "^0.5.19",
58
58
  "@tailwindcss/vite": "^4.2.1",
59
- "@types/node": "^25.3.2",
59
+ "@types/node": "^25.3.3",
60
60
  "@vitest/browser": "^4.0.18",
61
61
  "eslint": "^9.39.3",
62
62
  "eslint-config-prettier": "^10.1.8",
63
- "eslint-plugin-storybook": "^10.2.13",
63
+ "eslint-plugin-storybook": "^10.2.15",
64
64
  "eslint-plugin-svelte": "^3.15.0",
65
- "globals": "^17.3.0",
65
+ "globals": "^17.4.0",
66
66
  "playwright": "^1.58.2",
67
67
  "postcss-url": "^10.1.3",
68
68
  "prettier": "^3.8.1",
69
- "prettier-plugin-svelte": "^3.5.0",
69
+ "prettier-plugin-svelte": "^3.5.1",
70
70
  "prettier-plugin-tailwindcss": "^0.7.2",
71
- "publint": "^0.3.17",
72
- "storybook": "^10.2.13",
73
- "svelte": "^5.53.5",
71
+ "publint": "^0.3.18",
72
+ "storybook": "^10.2.15",
73
+ "svelte": "^5.53.7",
74
74
  "tailwindcss": "^4.2.1",
75
75
  "typescript": "^5.9.3",
76
76
  "vite": "^7.3.1",