@noya-app/noya-designsystem 0.1.28 → 0.1.29

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.
@@ -6,13 +6,13 @@
6
6
  CLI Target: esnext
7
7
  CJS Build start
8
8
  ESM Build start
9
- CJS dist/index.js 597.93 KB
10
- CJS dist/index.js.map 1.07 MB
11
- CJS ⚡️ Build success in 115ms
12
- ESM dist/index.mjs 579.92 KB
9
+ ESM dist/index.mjs 580.17 KB
13
10
  ESM dist/index.mjs.map 1.06 MB
14
- ESM ⚡️ Build success in 115ms
11
+ ESM ⚡️ Build success in 174ms
12
+ CJS dist/index.js 598.21 KB
13
+ CJS dist/index.js.map 1.07 MB
14
+ CJS ⚡️ Build success in 176ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 9960ms
17
- DTS dist/index.d.ts 63.28 KB
18
- DTS dist/index.d.mts 63.28 KB
16
+ DTS ⚡️ Build success in 10070ms
17
+ DTS dist/index.d.ts 63.23 KB
18
+ DTS dist/index.d.mts 63.23 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @noya-app/noya-designsystem
2
2
 
3
+ ## 0.1.29
4
+
5
+ ### Patch Changes
6
+
7
+ - b022ce3: Improve standalone component usage. Don't save to localStorage by default
8
+
3
9
  ## 0.1.28
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1159,7 +1159,7 @@ type IWorkspaceLayout = {
1159
1159
  toggleLeftSidebar: () => void;
1160
1160
  toggleRightSidebar: () => void;
1161
1161
  };
1162
- declare const WorkspaceLayout: (props: Props$1 & React__default.RefAttributes<IWorkspaceLayout>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1162
+ declare const WorkspaceLayout: (props: Props$1) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1163
1163
 
1164
1164
  declare const DesignSystemThemeProvider: (props: {
1165
1165
  children: ReactNode;
package/dist/index.d.ts CHANGED
@@ -1159,7 +1159,7 @@ type IWorkspaceLayout = {
1159
1159
  toggleLeftSidebar: () => void;
1160
1160
  toggleRightSidebar: () => void;
1161
1161
  };
1162
- declare const WorkspaceLayout: (props: Props$1 & React__default.RefAttributes<IWorkspaceLayout>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1162
+ declare const WorkspaceLayout: (props: Props$1) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1163
1163
 
1164
1164
  declare const DesignSystemThemeProvider: (props: {
1165
1165
  children: ReactNode;
package/dist/index.js CHANGED
@@ -15141,7 +15141,7 @@ function usePreservePanelSize(panelGroupRef, setPanelLayoutState) {
15141
15141
  }
15142
15142
 
15143
15143
  // src/components/WorkspaceLayout.tsx
15144
- var WorkspaceLayout = (0, import_react66.forwardRef)(function WorkspaceLayout2({
15144
+ var WorkspaceLayoutWithTheme = (0, import_react66.forwardRef)(function WorkspaceLayoutWithTheme2({
15145
15145
  autoSavePrefix,
15146
15146
  leftSidebarContent: leftPanelContent,
15147
15147
  children: centerPanelContent,
@@ -15322,6 +15322,9 @@ var WorkspaceLayout = (0, import_react66.forwardRef)(function WorkspaceLayout2({
15322
15322
  )
15323
15323
  );
15324
15324
  });
15325
+ var WorkspaceLayout = (0, import_react66.memo)(function WorkspaceLayout2(props) {
15326
+ return /* @__PURE__ */ import_react66.default.createElement(DesignSystemThemeProvider, null, /* @__PURE__ */ import_react66.default.createElement(WorkspaceLayoutWithTheme, { ...props }));
15327
+ });
15325
15328
 
15326
15329
  // src/hooks/usePlatform.ts
15327
15330
  function usePlatform() {