@rio-cloud/rio-uikit 1.5.2 ā 1.5.3
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/.DS_Store
ADDED
|
Binary file
|
|
@@ -26,7 +26,9 @@ const getCurrentCategoryElement = (children, currentCategoryId) => {
|
|
|
26
26
|
};
|
|
27
27
|
const renderTreesOffscreen = (children, categoryId) => {
|
|
28
28
|
return React.Children.map(children, child => {
|
|
29
|
-
const offscreenClasses = classNames('TreeOffscreenWrapper', '
|
|
29
|
+
const offscreenClasses = classNames('TreeOffscreenWrapper', 'flex-1-1', // stretch to use 100 percent of the remaining space
|
|
30
|
+
'flex flex-column', // set this one to flex as well, so children can use flex grow to use remaining space
|
|
31
|
+
child && child.props.id !== categoryId && 'position-offscreen pointer-events-none');
|
|
30
32
|
return _jsx("div", Object.assign({ className: offscreenClasses }, { children: child }));
|
|
31
33
|
});
|
|
32
34
|
};
|
|
@@ -28,7 +28,9 @@ const getCurrentCategoryElement = (children, currentCategoryId) => {
|
|
|
28
28
|
};
|
|
29
29
|
const renderTreesOffscreen = (children, categoryId) => {
|
|
30
30
|
return react_1.default.Children.map(children, child => {
|
|
31
|
-
const offscreenClasses = (0, classnames_1.default)('TreeOffscreenWrapper', '
|
|
31
|
+
const offscreenClasses = (0, classnames_1.default)('TreeOffscreenWrapper', 'flex-1-1', // stretch to use 100 percent of the remaining space
|
|
32
|
+
'flex flex-column', // set this one to flex as well, so children can use flex grow to use remaining space
|
|
33
|
+
child && child.props.id !== categoryId && 'position-offscreen pointer-events-none');
|
|
32
34
|
return (0, jsx_runtime_1.jsx)("div", Object.assign({ className: offscreenClasses }, { children: child }));
|
|
33
35
|
});
|
|
34
36
|
};
|
package/lib/es/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rio-cloud/rio-uikit",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "The RIO UIKIT component library",
|
|
5
|
-
"repository":
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://bitbucket.collaboration-man.com/projects/RIOFRONT/repos/uikit-web/browse"
|
|
8
|
+
},
|
|
6
9
|
"scripts": {
|
|
7
10
|
"build": "npm run build:font && npm run build:styles && npm run build:vite && npm run format-code && echo '\nš For an npm release use build:npm š'",
|
|
8
11
|
"build:npm": "npm run build:cjs && npm run build:esm && npm run copy-to-package && echo '\nš¦ Publish to npm only from within 'package' folder š¦'",
|
package/version.json
CHANGED