@plitzi/sdk-variables 0.39.4 → 0.39.7
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 +24 -0
- package/dist/builder/components/SchemaVariables/SchemaVariable.mjs +2 -2
- package/dist/builder/components/SchemaVariables/VariableDetails.mjs +2 -2
- package/dist/builder/components/SchemaVariables/VariableValue.mjs +1 -1
- package/dist/builder/components/StyleVariables/StyleVariable.mjs +2 -2
- package/dist/builder/components/StyleVariables/VariableGroup.mjs +2 -2
- package/dist/builder/components/StyleVariables/VariableValue.mjs +1 -1
- package/dist/builder/models/SchemaVariableForm/SchemaVariableForm.mjs +1 -1
- package/dist/builder/models/SchemaVariableForm/VariableSubValue.mjs +1 -1
- package/dist/builder/models/StyleVariableForm/StyleVariableForm.mjs +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @plitzi/sdk-variables
|
|
2
2
|
|
|
3
|
+
## 0.39.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 081d94e: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
|
|
8
|
+
`@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
|
|
9
|
+
- Updated dependencies [081d94e]
|
|
10
|
+
- @plitzi/sdk-shared@0.39.7
|
|
11
|
+
|
|
12
|
+
## 0.39.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- @plitzi/sdk-shared@0.39.6
|
|
17
|
+
|
|
18
|
+
## 0.39.5
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- 4427674: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
|
|
23
|
+
`@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
|
|
24
|
+
- Updated dependencies [4427674]
|
|
25
|
+
- @plitzi/sdk-shared@0.39.5
|
|
26
|
+
|
|
3
27
|
## 0.39.4
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -19,7 +19,7 @@ var l = ({ name: l = "variable", value: u = "", type: d = "text", category: f =
|
|
|
19
19
|
v
|
|
20
20
|
]), T = a(() => b((e) => !e), []);
|
|
21
21
|
return _ ? /* @__PURE__ */ s("div", {
|
|
22
|
-
className: "rounded-sm border
|
|
22
|
+
className: "border-ui-line-strong rounded-sm border p-2",
|
|
23
23
|
children: /* @__PURE__ */ s(r, {
|
|
24
24
|
name: l,
|
|
25
25
|
category: f,
|
|
@@ -31,7 +31,7 @@ var l = ({ name: l = "variable", value: u = "", type: d = "text", category: f =
|
|
|
31
31
|
onClose: C
|
|
32
32
|
})
|
|
33
33
|
}) : /* @__PURE__ */ c("div", {
|
|
34
|
-
className: "group flex flex-col gap-1 rounded-sm border
|
|
34
|
+
className: "group border-ui-line-strong bg-ui-raised text-ui-fg flex flex-col gap-1 rounded-sm border px-2 py-0.5 text-sm",
|
|
35
35
|
children: [/* @__PURE__ */ c("div", {
|
|
36
36
|
className: "flex w-full cursor-pointer items-center gap-2",
|
|
37
37
|
onClick: T,
|
|
@@ -18,7 +18,7 @@ var c = ({ name: c, subValues: l = [], type: u = "text" }) => {
|
|
|
18
18
|
children: [l.length > 0 && /* @__PURE__ */ n("div", {
|
|
19
19
|
className: "flex w-full flex-col gap-1",
|
|
20
20
|
children: l.map((t, a) => /* @__PURE__ */ r("div", {
|
|
21
|
-
className: "flex w-full flex-col rounded-sm border
|
|
21
|
+
className: "border-ui-line-strong flex w-full flex-col rounded-sm border text-xs",
|
|
22
22
|
children: [/* @__PURE__ */ r("div", {
|
|
23
23
|
className: "flex items-center gap-1 px-1 py-0.5",
|
|
24
24
|
children: [/* @__PURE__ */ n("div", {
|
|
@@ -30,7 +30,7 @@ var c = ({ name: c, subValues: l = [], type: u = "text" }) => {
|
|
|
30
30
|
type: u
|
|
31
31
|
})]
|
|
32
32
|
}), /* @__PURE__ */ r("div", {
|
|
33
|
-
className: "flex gap-1 border-t
|
|
33
|
+
className: "border-ui-line-strong flex gap-1 border-t px-1 py-0.5",
|
|
34
34
|
children: [/* @__PURE__ */ n("div", {
|
|
35
35
|
className: "font-bold",
|
|
36
36
|
children: "When:"
|
|
@@ -3,7 +3,7 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
|
3
3
|
var n = ({ type: n, value: r }) => /* @__PURE__ */ t("div", {
|
|
4
4
|
className: "flex items-center gap-1 truncate text-xs",
|
|
5
5
|
children: [n === "color" && /* @__PURE__ */ e("div", {
|
|
6
|
-
className: "min-h-3 min-w-3 rounded-sm border
|
|
6
|
+
className: "border-ui-line-strong min-h-3 min-w-3 rounded-sm border",
|
|
7
7
|
title: r,
|
|
8
8
|
style: { backgroundColor: r }
|
|
9
9
|
}), /* @__PURE__ */ e("div", {
|
|
@@ -24,7 +24,7 @@ var u = ({ category: u, name: d, value: f, onUpdate: p, onRemove: m }) => {
|
|
|
24
24
|
g
|
|
25
25
|
]);
|
|
26
26
|
return h ? /* @__PURE__ */ s("div", {
|
|
27
|
-
className: "
|
|
27
|
+
className: "border-ui-line-strong bg-ui-raised text-ui-fg rounded-sm border p-2",
|
|
28
28
|
children: /* @__PURE__ */ s(r, {
|
|
29
29
|
name: d,
|
|
30
30
|
category: u,
|
|
@@ -33,7 +33,7 @@ var u = ({ category: u, name: d, value: f, onUpdate: p, onRemove: m }) => {
|
|
|
33
33
|
onClose: S
|
|
34
34
|
})
|
|
35
35
|
}) : /* @__PURE__ */ c("div", {
|
|
36
|
-
className: "group flex flex-col gap-1 rounded-sm border
|
|
36
|
+
className: "group border-ui-line-strong bg-ui-raised text-ui-fg flex flex-col gap-1 rounded-sm border px-1 py-0.5 text-sm",
|
|
37
37
|
children: [/* @__PURE__ */ c("div", {
|
|
38
38
|
className: "flex w-full cursor-pointer items-center gap-2",
|
|
39
39
|
onClick: x,
|
|
@@ -10,9 +10,9 @@ var a = ({ category: a, variables: o = {}, onUpdate: s, onRemove: c }) => {
|
|
|
10
10
|
children: [/* @__PURE__ */ t(r.Header, {
|
|
11
11
|
className: "h-7 px-1",
|
|
12
12
|
title: /* @__PURE__ */ n("span", {
|
|
13
|
-
className: "flex w-full items-center justify-between gap-1 text-xs font-medium
|
|
13
|
+
className: "text-ui-fg flex w-full items-center justify-between gap-1 text-xs font-medium capitalize",
|
|
14
14
|
children: [a, /* @__PURE__ */ t("span", {
|
|
15
|
-
className: "text-[11px] font-normal
|
|
15
|
+
className: "text-ui-fg-subtle text-[11px] font-normal tabular-nums",
|
|
16
16
|
children: l
|
|
17
17
|
})]
|
|
18
18
|
}),
|
|
@@ -12,7 +12,7 @@ var r = ({ type: r, value: i }) => {
|
|
|
12
12
|
e[0],
|
|
13
13
|
":",
|
|
14
14
|
/* @__PURE__ */ t("div", {
|
|
15
|
-
className: "min-h-4 min-w-4 rounded border
|
|
15
|
+
className: "border-ui-line-strong min-h-4 min-w-4 rounded border",
|
|
16
16
|
style: { backgroundColor: i[e] }
|
|
17
17
|
})
|
|
18
18
|
]
|
|
@@ -51,7 +51,7 @@ var f = d.object({
|
|
|
51
51
|
return /* @__PURE__ */ a(s, {
|
|
52
52
|
form: x,
|
|
53
53
|
onSubmit: O,
|
|
54
|
-
className: "gap-4 rounded border
|
|
54
|
+
className: "border-ui-line-strong gap-4 rounded border bg-slate-100 p-2",
|
|
55
55
|
children: [/* @__PURE__ */ a(s.Body, {
|
|
56
56
|
gap: 2,
|
|
57
57
|
children: [
|
|
@@ -16,7 +16,7 @@ var c = ({ index: c = 0, valueType: l = "text", whenData: u, indexLimit: d, onCl
|
|
|
16
16
|
}
|
|
17
17
|
}), {}), [u]);
|
|
18
18
|
return /* @__PURE__ */ r("div", {
|
|
19
|
-
className: "flex min-w-0 grow basis-0 flex-col gap-3 rounded-sm border
|
|
19
|
+
className: "border-ui-line-strong flex min-w-0 grow basis-0 flex-col gap-3 rounded-sm border p-2",
|
|
20
20
|
children: [/* @__PURE__ */ n(e, {
|
|
21
21
|
valueType: l,
|
|
22
22
|
name: `subValues.${c}.value`,
|
|
@@ -67,7 +67,7 @@ var d = c.string().min(3, "Too Short").max(20, "Too Long").regex(/^(?:\w+\s+|)([
|
|
|
67
67
|
return /* @__PURE__ */ i(a, {
|
|
68
68
|
form: b,
|
|
69
69
|
onSubmit: C,
|
|
70
|
-
className: "
|
|
70
|
+
className: "border-ui-line-strong bg-ui-raised text-ui-fg w-full gap-4 rounded border p-2",
|
|
71
71
|
children: [/* @__PURE__ */ i(a.Body, {
|
|
72
72
|
gap: 2,
|
|
73
73
|
children: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-variables",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.7",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"test:watch": "vitest"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@plitzi/plitzi-ui": "^1.6.
|
|
35
|
-
"@plitzi/sdk-shared": "0.39.
|
|
34
|
+
"@plitzi/plitzi-ui": "^1.6.40",
|
|
35
|
+
"@plitzi/sdk-shared": "0.39.7",
|
|
36
36
|
"clsx": "^2.1.1",
|
|
37
37
|
"zod": "^4.6.7"
|
|
38
38
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"eslint": "^9.39.5",
|
|
41
41
|
"react": "^19.3.1",
|
|
42
42
|
"typescript": "^6.0.3",
|
|
43
|
-
"vite": "^8.3.
|
|
43
|
+
"vite": "^8.3.8",
|
|
44
44
|
"vitest": "^5.1.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|