@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.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/WorkspaceLayout.tsx +14 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
[34mCLI[39m Target: esnext
|
|
7
7
|
[34mCJS[39m Build start
|
|
8
8
|
[34mESM[39m Build start
|
|
9
|
-
[
|
|
10
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m1.07 MB[39m
|
|
11
|
-
[32mCJS[39m ⚡️ Build success in 115ms
|
|
12
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m579.92 KB[39m
|
|
9
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m580.17 KB[39m
|
|
13
10
|
[32mESM[39m [1mdist/index.mjs.map [22m[32m1.06 MB[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in
|
|
11
|
+
[32mESM[39m ⚡️ Build success in 174ms
|
|
12
|
+
[32mCJS[39m [1mdist/index.js [22m[32m598.21 KB[39m
|
|
13
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m1.07 MB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 176ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m63.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m63.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 10070ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m63.23 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m63.23 KB[39m
|
package/CHANGELOG.md
CHANGED
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
|
|
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
|
|
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
|
|
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() {
|