@plitzi/sdk-style 0.31.2 → 0.32.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,28 @@
|
|
|
1
1
|
# @plitzi/sdk-style
|
|
2
2
|
|
|
3
|
+
## 0.32.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- v0.32.1
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @plitzi/sdk-plugins@0.32.1
|
|
10
|
+
- @plitzi/sdk-shared@0.32.1
|
|
11
|
+
- @plitzi/sdk-variables@0.32.1
|
|
12
|
+
|
|
13
|
+
## 0.32.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- v0.32.0
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
- @plitzi/sdk-plugins@0.32.0
|
|
23
|
+
- @plitzi/sdk-shared@0.32.0
|
|
24
|
+
- @plitzi/sdk-variables@0.32.0
|
|
25
|
+
|
|
3
26
|
## 0.31.2
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ import m from "@plitzi/sdk-shared/hooks/useNetwork";
|
|
|
11
11
|
import h from "@plitzi/sdk-shared/schema/SchemaContext";
|
|
12
12
|
//#region src/StyleAdvanceEditor.tsx
|
|
13
13
|
var g = () => {
|
|
14
|
-
let { theme: g } = n(f), { useStore: _ } = u(), [[v, y]] = _(["schema.settings.customCss", "style.variables"]
|
|
14
|
+
let { theme: g } = n(f), { useStore: _ } = u(), [[v = "", y = void 0]] = _(["schema.settings.customCss", "style.variables"]), { schemaUpdateSettings: b } = n(h), [x, S] = a(() => typeof v == "string" ? v : ""), C = i(() => b && e(b, 500), [b]), { server: w, webKey: T } = n(p), { networkQuery: E, networkLoading: D } = m({
|
|
15
15
|
initLoading: !1,
|
|
16
16
|
server: w,
|
|
17
17
|
webKey: T
|
|
@@ -8,7 +8,7 @@ import { createStoreHook as c } from "@plitzi/nexus/createStore";
|
|
|
8
8
|
import { baseDefaultValue as l } from "@plitzi/sdk-shared";
|
|
9
9
|
//#region src/components/StyleInspector/StyleInspectorProvider.tsx
|
|
10
10
|
var u = ({ children: u, componentType: d, selector: f, styleSelector: p = "base", styleState: m, styleVariant: h, element: g, inheritData: _, displayMode: v, onChange: y }) => {
|
|
11
|
-
let b = t({ element: g }), { useStore: x } = c(), [S] = x("runtime.sources.variables"
|
|
11
|
+
let b = t({ element: g }), { useStore: x } = c(), [S = s] = x("runtime.sources.variables"), C = i(() => {
|
|
12
12
|
let e;
|
|
13
13
|
if (f && p && f.attributes[p]) {
|
|
14
14
|
let t = f.attributes[p];
|
|
@@ -4,7 +4,7 @@ import { emptyObject as r } from "@plitzi/sdk-shared/helpers/utils";
|
|
|
4
4
|
import { createStoreHook as i } from "@plitzi/nexus/createStore";
|
|
5
5
|
//#region src/components/StyleInspector/hooks/useStyleBinding.ts
|
|
6
6
|
var a = ({ element: a }) => {
|
|
7
|
-
let { useStore: o } = i(), [s] = o("runtime.sources"
|
|
7
|
+
let { useStore: o } = i(), [s = r] = o("runtime.sources");
|
|
8
8
|
return n(() => {
|
|
9
9
|
let n = {};
|
|
10
10
|
if (!a) return n;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-style",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -832,9 +832,9 @@
|
|
|
832
832
|
},
|
|
833
833
|
"dependencies": {
|
|
834
834
|
"@plitzi/plitzi-ui": "^1.6.9",
|
|
835
|
-
"@plitzi/sdk-plugins": "0.
|
|
836
|
-
"@plitzi/sdk-shared": "0.
|
|
837
|
-
"@plitzi/sdk-variables": "0.
|
|
835
|
+
"@plitzi/sdk-plugins": "0.32.1",
|
|
836
|
+
"@plitzi/sdk-shared": "0.32.1",
|
|
837
|
+
"@plitzi/sdk-variables": "0.32.1",
|
|
838
838
|
"clsx": "^2.1.1",
|
|
839
839
|
"immer": "^11.1.8",
|
|
840
840
|
"prop-types": "^15.8.1",
|