@rio-cloud/rio-uikit 1.6.0 → 1.6.1
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 +0 -0
- package/components/applicationLayout/ApplicationLayoutBody.js +1 -1
- package/lib/es/components/applicationLayout/ApplicationLayoutBody.js +1 -1
- package/lib/es/version.json +1 -1
- package/package.json +1 -1
- package/version.json +1 -1
- package/lib/es/Onboarding.d.ts +0 -2
- package/lib/es/Onboarding.js +0 -7
package/.DS_Store
CHANGED
|
Binary file
|
|
@@ -54,6 +54,6 @@ const ApplicationLayoutBody = forwardRef((props, ref) => {
|
|
|
54
54
|
const innerClasses = classNames('module-content', innerClassName && innerClassName);
|
|
55
55
|
const offsetThreshold = window.innerHeight * 0.1;
|
|
56
56
|
const scrollToTopClasses = classNames('scroll-to-top', offset > offsetThreshold && 'in');
|
|
57
|
-
return (_jsxs(React.Fragment, { children: [_jsxs("div", Object.assign({}, remainingProps, { ref: layoutBodyRef, className: classes }, { children: [_jsxs("div", Object.assign({ className: 'module-content-wrapper' }, { children: [navigation && navigation, banner && banner, _jsx(SmoothScrollbars, Object.assign({ ref: moduleContentRef, slideIn: !forceScrollbar, largeTrack: true, trackOffset: true, className: innerClasses, onScroll: handleScroll }, { children: children }))] })), enableScrollToTop && (_jsx("span", Object.assign({ className: scrollToTopClasses }, { children: _jsx("button", Object.assign({ type: 'button', className: 'btn btn-primary btn-icon-only', onClick: handleToTop }, { children: _jsx("span", { className: 'rioglyph rioglyph-arrow-up' }) })) })))] })), bottomBar && bottomBar] }));
|
|
57
|
+
return (_jsxs(React.Fragment, { children: [_jsxs("div", Object.assign({}, remainingProps, { ref: layoutBodyRef, className: classes }, { children: [_jsxs("div", Object.assign({ className: 'module-content-wrapper' }, { children: [navigation && navigation, banner && banner, _jsx(SmoothScrollbars, Object.assign({ ref: moduleContentRef, slideIn: !forceScrollbar, largeTrack: true, trackOffset: true, className: innerClasses, onScroll: handleScroll }, { children: _jsx("div", Object.assign({ className: 'scrollbar-content' }, { children: children })) }))] })), enableScrollToTop && (_jsx("span", Object.assign({ className: scrollToTopClasses }, { children: _jsx("button", Object.assign({ type: 'button', className: 'btn btn-primary btn-icon-only', onClick: handleToTop }, { children: _jsx("span", { className: 'rioglyph rioglyph-arrow-up' }) })) })))] })), bottomBar && bottomBar] }));
|
|
58
58
|
});
|
|
59
59
|
export default ApplicationLayoutBody;
|
|
@@ -56,6 +56,6 @@ const ApplicationLayoutBody = (0, react_1.forwardRef)((props, ref) => {
|
|
|
56
56
|
const innerClasses = (0, classnames_1.default)('module-content', innerClassName && innerClassName);
|
|
57
57
|
const offsetThreshold = window.innerHeight * 0.1;
|
|
58
58
|
const scrollToTopClasses = (0, classnames_1.default)('scroll-to-top', offset > offsetThreshold && 'in');
|
|
59
|
-
return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({}, remainingProps, { ref: layoutBodyRef, className: classes }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'module-content-wrapper' }, { children: [navigation && navigation, banner && banner, (0, jsx_runtime_1.jsx)(SmoothScrollbars_1.default, Object.assign({ ref: moduleContentRef, slideIn: !forceScrollbar, largeTrack: true, trackOffset: true, className: innerClasses, onScroll: handleScroll }, { children: children }))] })), enableScrollToTop && ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: scrollToTopClasses }, { children: (0, jsx_runtime_1.jsx)("button", Object.assign({ type: 'button', className: 'btn btn-primary btn-icon-only', onClick: handleToTop }, { children: (0, jsx_runtime_1.jsx)("span", { className: 'rioglyph rioglyph-arrow-up' }) })) })))] })), bottomBar && bottomBar] }));
|
|
59
|
+
return ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({}, remainingProps, { ref: layoutBodyRef, className: classes }, { children: [(0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'module-content-wrapper' }, { children: [navigation && navigation, banner && banner, (0, jsx_runtime_1.jsx)(SmoothScrollbars_1.default, Object.assign({ ref: moduleContentRef, slideIn: !forceScrollbar, largeTrack: true, trackOffset: true, className: innerClasses, onScroll: handleScroll }, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'scrollbar-content' }, { children: children })) }))] })), enableScrollToTop && ((0, jsx_runtime_1.jsx)("span", Object.assign({ className: scrollToTopClasses }, { children: (0, jsx_runtime_1.jsx)("button", Object.assign({ type: 'button', className: 'btn btn-primary btn-icon-only', onClick: handleToTop }, { children: (0, jsx_runtime_1.jsx)("span", { className: 'rioglyph rioglyph-arrow-up' }) })) })))] })), bottomBar && bottomBar] }));
|
|
60
60
|
});
|
|
61
61
|
exports.default = ApplicationLayoutBody;
|
package/lib/es/version.json
CHANGED
package/package.json
CHANGED
package/version.json
CHANGED
package/lib/es/Onboarding.d.ts
DELETED
package/lib/es/Onboarding.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
var Onboarding_1 = require("./components/onboarding/Onboarding");
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(Onboarding_1).default; } });
|
|
7
|
-
tslib_1.__exportStar(require("./components/onboarding/Onboarding"), exports);
|