@crystaldesign/diva-core 24.11.4-rc.1 → 24.11.4-rc.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.
@@ -1,4 +1,4 @@
1
- import { i as styleInject, u as useDivaCoreContext } from './index-be152253.js';
1
+ import { i as styleInject, u as useDivaCoreContext } from './index-5b847bde.js';
2
2
  import { useState, useEffect, useCallback } from 'react';
3
3
  import { observer } from 'mobx-react-lite';
4
4
  import Button from '@material-ui/core/Button';
@@ -1,4 +1,4 @@
1
- import { u as useDivaCoreContext, B as Button, s as socialButton, g as google, m as microsoft, a as getLogger, e as error, b as separator, I as Input, r as resetInput, l as link, c as success, d as auth, f as loginBox, h as logoContainer } from './index-be152253.js';
1
+ import { u as useDivaCoreContext, B as Button, s as socialButton, g as google, m as microsoft, a as getLogger, e as error, b as separator, I as Input, r as resetInput, l as link, c as success, d as auth, f as loginBox, h as logoContainer } from './index-5b847bde.js';
2
2
  import { useState, useRef, useEffect, useMemo } from 'react';
3
3
  import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
4
4
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
@@ -43,7 +43,7 @@ import { actions } from '@storybook/addon-actions';
43
43
  import * as Styles from '@material-ui/styles';
44
44
 
45
45
  (function() {
46
- const env = {"STAGE":"production","VERSION":"24.11.4-rc.1"};
46
+ const env = {"STAGE":"production","VERSION":"24.11.4-rc.2"};
47
47
  try {
48
48
  if (process) {
49
49
  process.env = Object.assign({}, process.env);
@@ -9452,7 +9452,7 @@ var SideMenu$1 = observer(SideMenu);
9452
9452
  function ownKeys$3(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
9453
9453
  function _objectSpread$3(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$3(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$3(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9454
9454
  var LazyModals$1 = /*#__PURE__*/React.lazy(function () {
9455
- return import('./ModalsWrapper-c6faa2d8.js');
9455
+ return import('./ModalsWrapper-d3d3d20e.js');
9456
9456
  });
9457
9457
  function Fullscreen() {
9458
9458
  var _useDivaCoreContext = useDivaCoreContext(),
@@ -9899,10 +9899,10 @@ function ownKeys$2(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymb
9899
9899
  function _objectSpread$2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$2(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$2(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9900
9900
  var LOG$2 = getLogger('Framework', 'Root');
9901
9901
  var LazyAuth = /*#__PURE__*/React.lazy(function () {
9902
- return import('./index-3f7b685a.js');
9902
+ return import('./index-309db724.js');
9903
9903
  });
9904
9904
  var LazyModals = /*#__PURE__*/React.lazy(function () {
9905
- return import('./ModalsWrapper-c6faa2d8.js');
9905
+ return import('./ModalsWrapper-d3d3d20e.js');
9906
9906
  });
9907
9907
  function ContentComponent() {
9908
9908
  var context = useDivaCoreContext();
@@ -9921,6 +9921,7 @@ function ContentComponent() {
9921
9921
  height: '100%',
9922
9922
  overflow: 'auto'
9923
9923
  },
9924
+ id: "Diva-content-wrapper",
9924
9925
  children: [/*#__PURE__*/jsx(Spinner$1, {}), /*#__PURE__*/jsx(ErrorDisplay$1, {}), context.contentStore.components.map(function (c) {
9925
9926
  var C = c.component;
9926
9927
  return /*#__PURE__*/jsx("div", {
@@ -9932,6 +9933,7 @@ function ContentComponent() {
9932
9933
  height: '100%',
9933
9934
  overflow: 'auto'
9934
9935
  },
9936
+ id: "Diva-component-wrapper",
9935
9937
  children: /*#__PURE__*/jsx(Suspense, {
9936
9938
  fallback: /*#__PURE__*/jsx(Fallback, {}),
9937
9939
  children: /*#__PURE__*/jsx(C, _objectSpread$2({}, context.contentStore.getState(c.name)))
@@ -1,4 +1,4 @@
1
- export { k as AnalyticsHandler, A as AuthorizationHandler, o as ClientArticleHandler, C as Content, p as DivaMockProvider, H as HelpButton, O as ONE_DAY_UNIX, n as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, D as default, a as getLogger, q as storyBookCoreMock, j as useDivaCore } from './index-be152253.js';
1
+ export { k as AnalyticsHandler, A as AuthorizationHandler, o as ClientArticleHandler, C as Content, p as DivaMockProvider, H as HelpButton, O as ONE_DAY_UNIX, n as OrganizationHandler, P as ProductHandler, R as RequestStatus, S as SupportHandler, D as default, a as getLogger, q as storyBookCoreMock, j as useDivaCore } from './index-5b847bde.js';
2
2
  export { DivaError, default as DivaUtils } from '@crystaldesign/diva-utils';
3
3
  export { Trans, useTranslation } from 'react-i18next';
4
4
  export * from '@crystaldesign/basket-model';
@@ -1 +1 @@
1
- {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/Content.tsx"],"names":[],"mappings":"AAmBA,iBAAS,gBAAgB,gBAqDxB;AAED,eAAO,MAAM,OAAO;;CAA6B,CAAC"}
1
+ {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/Content.tsx"],"names":[],"mappings":"AAmBA,iBAAS,gBAAgB,gBAuDxB;AAED,eAAO,MAAM,OAAO;;CAA6B,CAAC"}