@plitzi/sdk-style 0.31.2 → 0.32.0

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,18 @@
1
1
  # @plitzi/sdk-style
2
2
 
3
+ ## 0.32.0
4
+
5
+ ### Minor Changes
6
+
7
+ - v0.32.0
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @plitzi/sdk-plugins@0.32.0
13
+ - @plitzi/sdk-shared@0.32.0
14
+ - @plitzi/sdk-variables@0.32.0
15
+
3
16
  ## 0.31.2
4
17
 
5
18
  ### 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"], { defaultValue: ["", void 0] }), { 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({
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", { defaultValue: s }), C = i(() => {
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", { defaultValue: r });
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.31.2",
3
+ "version": "0.32.0",
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.31.2",
836
- "@plitzi/sdk-shared": "0.31.2",
837
- "@plitzi/sdk-variables": "0.31.2",
835
+ "@plitzi/sdk-plugins": "0.32.0",
836
+ "@plitzi/sdk-shared": "0.32.0",
837
+ "@plitzi/sdk-variables": "0.32.0",
838
838
  "clsx": "^2.1.1",
839
839
  "immer": "^11.1.8",
840
840
  "prop-types": "^15.8.1",