@plitzi/sdk-variables 0.30.19 → 0.31.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @plitzi/sdk-variables
2
2
 
3
+ ## 0.31.1
4
+
5
+ ### Patch Changes
6
+
7
+ - v0.31.1
8
+ - Updated dependencies
9
+ - @plitzi/sdk-shared@0.31.1
10
+
11
+ ## 0.31.0
12
+
13
+ ### Minor Changes
14
+
15
+ - v0.31.0
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+ - @plitzi/sdk-shared@0.31.0
21
+
3
22
  ## 0.30.19
4
23
 
5
24
  ### Patch Changes
@@ -31,7 +31,7 @@ var c = ({ className: c, variables: l, whenData: u, onAdd: d, onUpdate: f, onRem
31
31
  name: n,
32
32
  category: a,
33
33
  type: r,
34
- value: i,
34
+ value: String(i),
35
35
  subValues: s,
36
36
  whenData: u,
37
37
  onChange: _,
@@ -25,7 +25,7 @@ var o = ({ name: o, subValues: s = [], type: c = "text" }) => {
25
25
  children: "Value:"
26
26
  }), /* @__PURE__ */ n(e, {
27
27
  className: "text-xs",
28
- value: t.value,
28
+ value: String(t.value),
29
29
  type: c
30
30
  })]
31
31
  }), /* @__PURE__ */ r("div", {
@@ -7,14 +7,14 @@ export declare const schemaVariableFormSchema: z.ZodObject<{
7
7
  type: z.ZodEnum<{
8
8
  number: "number";
9
9
  color: "color";
10
+ checkbox: "checkbox";
11
+ switch: "switch";
10
12
  text: "text";
11
13
  email: "email";
12
14
  password: "password";
13
15
  select: "select";
14
16
  select2: "select2";
15
- checkbox: "checkbox";
16
17
  textarea: "textarea";
17
- switch: "switch";
18
18
  }>;
19
19
  value: z.ZodString;
20
20
  subValues: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -28,7 +28,7 @@ var f = d.object({
28
28
  let x = l({
29
29
  defaultValues: {
30
30
  name: d,
31
- value: m,
31
+ value: String(m),
32
32
  category: p,
33
33
  type: h,
34
34
  subValues: g
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/sdk-variables",
3
- "version": "0.30.19",
3
+ "version": "0.31.1",
4
4
  "license": "AGPL-3.0",
5
5
  "files": [
6
6
  "dist"
@@ -149,15 +149,15 @@
149
149
  "build:prod": "vite build && node ../sdk-shared/scripts/generate-exports.mjs"
150
150
  },
151
151
  "dependencies": {
152
- "@plitzi/plitzi-ui": "^1.6.2",
153
- "@plitzi/sdk-shared": "0.30.19",
152
+ "@plitzi/plitzi-ui": "^1.6.9",
153
+ "@plitzi/sdk-shared": "0.31.1",
154
154
  "clsx": "^2.1.1",
155
155
  "eslint": "^9.39.4",
156
- "zod": "^4.4.1"
156
+ "zod": "^4.4.3"
157
157
  },
158
158
  "devDependencies": {
159
159
  "eslint": "^9.39.4",
160
160
  "typescript": "^6.0.3",
161
- "vite": "^8.0.10"
161
+ "vite": "^8.0.14"
162
162
  }
163
163
  }