@gooddata/sdk-ui-kit 11.61.0-alpha.1 → 11.61.0-alpha.2
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.
|
@@ -35,7 +35,7 @@ function useWindowWidth(active) {
|
|
|
35
35
|
*/
|
|
36
36
|
export function useUiResizableSidebarState({ widthStorageKey, collapsedStorageKey, minWidth, maxWidth, hasRail = false, minContentWidth, isResizable, isCollapsible, }) {
|
|
37
37
|
const viewportWidth = useWindowWidth(isResizable && minContentWidth !== undefined);
|
|
38
|
-
const [storedWidth, setPersistedWidth] = useLocalStorage(widthStorageKey,
|
|
38
|
+
const [storedWidth, setPersistedWidth] = useLocalStorage(widthStorageKey, null);
|
|
39
39
|
const [storedCollapsed, setPersistedCollapsed] = useLocalStorage(collapsedStorageKey, false);
|
|
40
40
|
// Anything may have written these keys, so only well-formed values are trusted.
|
|
41
41
|
const persistedWidth = typeof storedWidth === "number" && Number.isFinite(storedWidth) ? storedWidth : minWidth;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-kit",
|
|
3
|
-
"version": "11.61.0-alpha.
|
|
3
|
+
"version": "11.61.0-alpha.2",
|
|
4
4
|
"description": "GoodData SDK - UI Building Components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"unified": "^11.0.5",
|
|
80
80
|
"uuid": "11.1.1",
|
|
81
81
|
"yaml": "2.8.3",
|
|
82
|
-
"@gooddata/sdk-backend-spi": "11.61.0-alpha.
|
|
83
|
-
"@gooddata/sdk-ui": "11.61.0-alpha.
|
|
84
|
-
"@gooddata/sdk-
|
|
85
|
-
"@gooddata/
|
|
86
|
-
"@gooddata/
|
|
82
|
+
"@gooddata/sdk-backend-spi": "11.61.0-alpha.2",
|
|
83
|
+
"@gooddata/sdk-ui": "11.61.0-alpha.2",
|
|
84
|
+
"@gooddata/sdk-model": "11.61.0-alpha.2",
|
|
85
|
+
"@gooddata/sdk-ui-theme-provider": "11.61.0-alpha.2",
|
|
86
|
+
"@gooddata/util": "11.61.0-alpha.2"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -128,11 +128,11 @@
|
|
|
128
128
|
"typescript": "7.0.2",
|
|
129
129
|
"vitest": "4.1.11",
|
|
130
130
|
"vitest-dom": "0.1.1",
|
|
131
|
-
"@gooddata/eslint-config": "11.61.0-alpha.
|
|
132
|
-
"@gooddata/oxlint-config": "11.61.0-alpha.
|
|
133
|
-
"@gooddata/reference-workspace": "11.61.0-alpha.
|
|
134
|
-
"@gooddata/
|
|
135
|
-
"@gooddata/
|
|
131
|
+
"@gooddata/eslint-config": "11.61.0-alpha.2",
|
|
132
|
+
"@gooddata/oxlint-config": "11.61.0-alpha.2",
|
|
133
|
+
"@gooddata/reference-workspace": "11.61.0-alpha.2",
|
|
134
|
+
"@gooddata/sdk-backend-mockingbird": "11.61.0-alpha.2",
|
|
135
|
+
"@gooddata/stylelint-config": "11.61.0-alpha.2"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {
|
|
138
138
|
"react": "^18.0.0 || ^19.0.0",
|