@uniformdev/design-system 19.22.1-alpha.8 → 19.23.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/dist/esm/index.js CHANGED
@@ -12500,6 +12500,9 @@ var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props
12500
12500
  return (_a2 = detailsRef.current) == null ? void 0 : _a2.removeEventListener("toggle", toggleEvent);
12501
12501
  };
12502
12502
  }, [detailsRef]);
12503
+ React9.useEffect(() => {
12504
+ setOpen(isOpenByDefault);
12505
+ }, [isOpenByDefault]);
12503
12506
  return /* @__PURE__ */ jsxs21("details", { "data-testid": "details", css: details, open, ref: detailsRef, ...props, children: [
12504
12507
  /* @__PURE__ */ jsxs21("summary", { "data-testid": "summary", css: summary, children: [
12505
12508
  /* @__PURE__ */ jsx38(
package/dist/index.js CHANGED
@@ -12726,6 +12726,9 @@ var Details = ({ summary: summary2, children, isOpenByDefault = false, ...props
12726
12726
  return (_a2 = detailsRef.current) == null ? void 0 : _a2.removeEventListener("toggle", toggleEvent);
12727
12727
  };
12728
12728
  }, [detailsRef]);
12729
+ React9.useEffect(() => {
12730
+ setOpen(isOpenByDefault);
12731
+ }, [isOpenByDefault]);
12729
12732
  return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("details", { "data-testid": "details", css: details, open, ref: detailsRef, ...props, children: [
12730
12733
  /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("summary", { "data-testid": "summary", css: summary, children: [
12731
12734
  /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.22.1-alpha.8+a8f730b12",
3
+ "version": "19.23.0",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -23,8 +23,8 @@
23
23
  "@storybook/client-api": "6.5.16",
24
24
  "@storybook/react": "6.5.16",
25
25
  "@types/react": "18.2.7",
26
- "@uniformdev/canvas": "^19.22.1-alpha.8+a8f730b12",
27
- "@uniformdev/richtext": "^19.22.1-alpha.8+a8f730b12",
26
+ "@uniformdev/canvas": "^19.23.0",
27
+ "@uniformdev/richtext": "^19.23.0",
28
28
  "autoprefixer": "10.4.14",
29
29
  "hygen": "6.2.11",
30
30
  "postcss": "8.4.24",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "a8f730b12035a4d7c2e6a704d3777ff12df52ffc"
70
+ "gitHead": "35c696a78e1909a73bc290663603d015927bbe28"
71
71
  }