compa-ui 0.0.6 → 0.0.7

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/dist/index.esm.js CHANGED
@@ -13200,7 +13200,8 @@ var ModuleLoader = function ModuleLoader(_ref) {
13200
13200
  baseUrl = _ref.baseUrl,
13201
13201
  auth = _ref.auth,
13202
13202
  config = _ref.config,
13203
- basePath = _ref.basePath;
13203
+ basePath = _ref.basePath,
13204
+ onNavigate = _ref.onNavigate;
13204
13205
  var _useState = useState(null),
13205
13206
  _useState2 = _slicedToArray$1(_useState, 2),
13206
13207
  Component = _useState2[0],
@@ -13315,7 +13316,8 @@ var ModuleLoader = function ModuleLoader(_ref) {
13315
13316
  return /*#__PURE__*/jsx(Component, {
13316
13317
  baseUrl: baseUrl,
13317
13318
  auth: auth,
13318
- config: config
13319
+ config: config,
13320
+ onNavigate: onNavigate
13319
13321
  });
13320
13322
  };
13321
13323
  var Page = function Page(_ref3) {
@@ -13323,7 +13325,8 @@ var Page = function Page(_ref3) {
13323
13325
  auth = _ref3.auth,
13324
13326
  config = _ref3.config,
13325
13327
  componentsData = _ref3.componentsData,
13326
- basePath = _ref3.basePath;
13328
+ basePath = _ref3.basePath,
13329
+ onNavigate = _ref3.onNavigate;
13327
13330
  var setIsLoading = auth.setIsLoading,
13328
13331
  setIsLoadingMessage = auth.setIsLoadingMessage,
13329
13332
  t = auth.t;
@@ -13409,7 +13412,8 @@ var Page = function Page(_ref3) {
13409
13412
  baseUrl: baseUrl,
13410
13413
  auth: auth,
13411
13414
  config: config,
13412
- basePath: basePath
13415
+ basePath: basePath,
13416
+ onNavigate: onNavigate
13413
13417
  });
13414
13418
  };
13415
13419
  ModuleLoader.propTypes = {
@@ -14391,6 +14395,7 @@ function Home(_ref) {
14391
14395
  hidden: (currentOpenTab === null || currentOpenTab === void 0 ? void 0 : currentOpenTab.index) !== tab.index,
14392
14396
  children: /*#__PURE__*/jsx(Page, {
14393
14397
  config: config,
14398
+ onNavigate: onNavigate,
14394
14399
  basePath: basePath || "/",
14395
14400
  auth: _objectSpread(_objectSpread({}, auth), {}, {
14396
14401
  t: t,