@plitzi/plitzi-ui 1.6.7 → 1.6.9

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.
@@ -40,8 +40,17 @@ var f = ({ ref: f, className: p = "", ssrMode: m = !1, id: h = "", css: g = "",
40
40
  M
41
41
  ]);
42
42
  let I = r(() => {
43
+ let e = E.current && k, t = E.current?.contentDocument === k;
44
+ if (e && !t) {
45
+ A(E.current?.contentDocument);
46
+ return;
47
+ }
43
48
  D || (T?.(E.current), O(!0), A(E.current?.contentDocument));
44
- }, [D, T]);
49
+ }, [
50
+ D,
51
+ k,
52
+ T
53
+ ]);
45
54
  return i(() => {
46
55
  k && (k.body.style.zoom = v === 1 ? "" : `${v}`);
47
56
  }, [k, v]), /* @__PURE__ */ u("iframe", {
@@ -20,6 +20,7 @@ declare const _default: {
20
20
  sidePanelItemHeader: (props?: ({
21
21
  expanded?: boolean | null | undefined;
22
22
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
23
+ sidePanelItemBody: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
23
24
  sidebar: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
24
25
  };
25
26
  export default _default;
@@ -38,6 +38,7 @@ var t = {
38
38
  compoundVariants: [],
39
39
  defaultVariants: { expanded: !1 }
40
40
  }),
41
+ sidePanelItemBody: e("flex-col"),
41
42
  sidebar: e("")
42
43
  };
43
44
  //#endregion
@@ -11,6 +11,7 @@ var s = ({ children: s, id: c, className: l, title: u = "", allowFloatingSide: d
11
11
  componentKey: [
12
12
  "sidePanelItem",
13
13
  "sidePanelItemHeader",
14
+ "sidePanelItemBody",
14
15
  "btn"
15
16
  ],
16
17
  variants: {
@@ -51,6 +52,7 @@ var s = ({ children: s, id: c, className: l, title: u = "", allowFloatingSide: d
51
52
  children: /* @__PURE__ */ a(r.Icon, { icon: m === "left" ? "fa-solid fa-angles-left" : "fa-solid fa-angles-right" })
52
53
  })]
53
54
  }), /* @__PURE__ */ a(n.Item.Content, {
55
+ className: y.sidePanelItemBody,
54
56
  size: h,
55
57
  children: s
56
58
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plitzi/plitzi-ui",
3
- "version": "1.6.7",
3
+ "version": "1.6.9",
4
4
  "homepage": "./",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -98,7 +98,7 @@
98
98
  "@codemirror/search": "^6.7.0",
99
99
  "@codemirror/state": "^6.6.0",
100
100
  "@codemirror/theme-one-dark": "^6.1.3",
101
- "@codemirror/view": "^6.42.1",
101
+ "@codemirror/view": "^6.43.0",
102
102
  "@hookform/resolvers": "^5.2.2",
103
103
  "@uiw/color-convert": "^2.10.1",
104
104
  "@uiw/react-color-sketch": "^2.10.1",
@@ -108,7 +108,7 @@
108
108
  "immer": "^11.1.8",
109
109
  "react": "^19.2.6",
110
110
  "react-dom": "^19.2.6",
111
- "react-hook-form": "^7.75.0",
111
+ "react-hook-form": "^7.76.0",
112
112
  "react-markdown": "^10.1.0",
113
113
  "react-syntax-highlighter": "^16.1.1",
114
114
  "react-toastify": "^11.1.0",
@@ -125,10 +125,10 @@
125
125
  "@eslint/js": "^10.0.1",
126
126
  "@storybook/addon-actions": "^9.0.8",
127
127
  "@storybook/addon-controls": "^9.0.8",
128
- "@storybook/addon-links": "^10.3.6",
128
+ "@storybook/addon-links": "^10.4.0",
129
129
  "@storybook/addon-styling-webpack": "^3.0.2",
130
- "@storybook/react": "^10.3.6",
131
- "@storybook/react-vite": "^10.3.6",
130
+ "@storybook/react": "^10.4.0",
131
+ "@storybook/react-vite": "^10.4.0",
132
132
  "@tailwindcss/forms": "^0.5.11",
133
133
  "@tailwindcss/postcss": "^4.3.0",
134
134
  "@tailwindcss/vite": "^4.3.0",
@@ -137,13 +137,13 @@
137
137
  "@testing-library/react": "^16.3.2",
138
138
  "@types/lodash": "^4.17.24",
139
139
  "@types/lodash-es": "^4.17.12",
140
- "@types/node": "^25.6.2",
140
+ "@types/node": "^25.8.0",
141
141
  "@types/react": "^19.2.14",
142
142
  "@types/react-color": "^3.0.13",
143
143
  "@types/react-dom": "^19.2.3",
144
144
  "@types/react-syntax-highlighter": "^15.5.13",
145
145
  "@types/tinycolor2": "^1.4.6",
146
- "@vitejs/plugin-react": "^6.0.1",
146
+ "@vitejs/plugin-react": "^6.0.2",
147
147
  "cssnano": "^8.0.1",
148
148
  "eslint": "^9.39.4",
149
149
  "eslint-plugin-import": "^2.32.0",
@@ -151,8 +151,8 @@
151
151
  "eslint-plugin-react": "^7.37.5",
152
152
  "eslint-plugin-react-hooks": "^7.1.1",
153
153
  "eslint-plugin-react-refresh": "^0.5.2",
154
- "eslint-plugin-storybook": "^10.3.6",
155
- "flow-bin": "^0.313.0",
154
+ "eslint-plugin-storybook": "^10.4.0",
155
+ "flow-bin": "^0.314.0",
156
156
  "globals": "^17.6.0",
157
157
  "jsdom": "^29.1.1",
158
158
  "lodash": "^4.18.1",
@@ -161,17 +161,17 @@
161
161
  "postcss-scss": "^4.0.9",
162
162
  "prettier": "^3.8.3",
163
163
  "sass": "^1.99.0",
164
- "storybook": "^10.3.6",
165
- "stylelint": "^17.11.0",
164
+ "storybook": "^10.4.0",
165
+ "stylelint": "^17.11.1",
166
166
  "stylelint-order": "^8.1.1",
167
- "stylelint-scss": "^7.1.0",
167
+ "stylelint-scss": "^7.1.1",
168
168
  "tailwindcss": "4.3.0",
169
169
  "typescript": "^6.0.3",
170
- "typescript-eslint": "^8.59.2",
171
- "vite": "^8.0.11",
170
+ "typescript-eslint": "^8.59.3",
171
+ "vite": "^8.0.13",
172
172
  "vite-plugin-dts": "^5.0.0",
173
173
  "vite-plugin-static-copy": "^4.1.0",
174
- "vitest": "^4.1.5",
174
+ "vitest": "^4.1.6",
175
175
  "vitest-fetch-mock": "^0.4.5"
176
176
  },
177
177
  "scripts": {