@semcore/widget-empty 4.43.4 → 16.0.0-prerelease.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
+ ## [16.0.0] - 2025-05-19
6
+
7
+ ### Added
8
+
9
+ - Major version.
10
+
5
11
  ## [4.43.4] - 2025-05-13
6
12
 
7
13
  ### Changed
@@ -11,10 +11,10 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
11
11
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
12
12
  var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
13
13
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
- var _core = _interopRequireWildcard(require("@semcore/core"));
14
+ var _core = require("@semcore/core");
15
15
  var _react = _interopRequireDefault(require("react"));
16
16
  var _WidgetEmpty = _interopRequireWildcard(require("../WidgetEmpty"));
17
- var _i18nEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/i18nEnhance"));
17
+ var _i18nEnhance = _interopRequireDefault(require("@semcore/core/lib/utils/enhances/i18nEnhance"));
18
18
  var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
19
19
  var Error = /*#__PURE__*/function (_Component) {
20
20
  (0, _inherits2["default"])(Error, _Component);
@@ -44,6 +44,6 @@ var Error = /*#__PURE__*/function (_Component) {
44
44
  locale: 'en'
45
45
  });
46
46
  (0, _defineProperty2["default"])(Error, "enhance", [(0, _i18nEnhance["default"])(_intergalacticDynamicLocales.localizedMessages)]);
47
- var _default = (0, _core["default"])(Error);
47
+ var _default = (0, _core.createComponent)(Error);
48
48
  exports["default"] = _default;
49
49
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_WidgetEmpty","_i18nEnhance","_intergalacticDynamicLocales","Error","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_this$asProps","Children","description","getI18nText","createElement","WidgetEmpty","assignProps","getIconPath","Title","Description","Component","_defineProperty2","i18n","localizedMessages","locale","i18nEnhance","_default","createComponent","exports"],"sources":["../../../src/Error/index.jsx"],"sourcesContent":["import React from 'react';\nimport WidgetEmpty, { getIconPath } from '../WidgetEmpty';\nimport createComponent, { Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass Error extends Component {\n static displayName = 'WidgetError';\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n };\n static enhance = [i18nEnhance(localizedMessages)];\n\n render() {\n const { Children, description, getI18nText } = this.asProps;\n\n return (\n <Root render={WidgetEmpty} icon={getIconPath('warning')}>\n <WidgetEmpty.Title>{getI18nText('title')}</WidgetEmpty.Title>\n <WidgetEmpty.Description>\n {description || getI18nText('description')}\n </WidgetEmpty.Description>\n <Children />\n </Root>\n );\n }\n}\n\nexport default createComponent(Error);\n"],"mappings":";;;;;;;;;;;;;AAEA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AAFA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAJ,uBAAA,CAAAC,OAAA;AAEA,IAAAI,YAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,4BAAA,GAAAL,OAAA;AAAmF,IAE7EM,KAAK,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,KAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,KAAA;EAAA,SAAAA,MAAA;IAAA,IAAAK,gBAAA,mBAAAL,KAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAA,IAAAC,aAAA,aAAAR,KAAA;IAAAS,GAAA;IAAAC,KAAA,EAQT,SAAAC,OAAA,EAAS;MAAA,IAAAC,IAAA,QAAAC,OAAA;MACP,IAAAC,aAAA,GAA+C,IAAI,CAACD,OAAO;QAAnDE,QAAQ,GAAAD,aAAA,CAARC,QAAQ;QAAEC,WAAW,GAAAF,aAAA,CAAXE,WAAW;QAAEC,WAAW,GAAAH,aAAA,CAAXG,WAAW;MAE1C,oBACEtB,MAAA,YAAAuB,aAAA,CAAcC,uBAAW,MAAA3B,KAAA,CAAA4B,WAAA;QAAA,QAAQ,IAAAC,wBAAW,EAAC,SAAS;MAAC,GAAAT,IAAA,gBACrDjB,MAAA,YAAAuB,aAAA,CAACrB,YAAA,WAAW,CAACyB,KAAK,QAAEL,WAAW,CAAC,OAAO,CAAC,CAAqB,eAC7DtB,MAAA,YAAAuB,aAAA,CAACrB,YAAA,WAAW,CAAC0B,WAAW,QACrBP,WAAW,IAAIC,WAAW,CAAC,aAAa,CAAC,CAClB,eAC1BtB,MAAA,YAAAuB,aAAA,CAACH,QAAQ,OAAG,CACP;IAEX;EAAC;EAAA,OAAAf,KAAA;AAAA,EApBiBwB,eAAS;AAAA,IAAAC,gBAAA,aAAvBzB,KAAK,iBACY,aAAa;AAAA,IAAAyB,gBAAA,aAD9BzB,KAAK,kBAEa;EACpB0B,IAAI,EAAEC,8CAAiB;EACvBC,MAAM,EAAE;AACV,CAAC;AAAA,IAAAH,gBAAA,aALGzB,KAAK,aAMQ,CAAC,IAAA6B,uBAAW,EAACF,8CAAiB,CAAC,CAAC;AAAA,IAAAG,QAAA,GAiBpC,IAAAC,gBAAe,EAAC/B,KAAK,CAAC;AAAAgC,OAAA,cAAAF,QAAA"}
1
+ {"version":3,"file":"index.js","names":["_core","require","_react","_interopRequireDefault","_WidgetEmpty","_interopRequireWildcard","_i18nEnhance","_intergalacticDynamicLocales","Error","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_this$asProps","Children","description","getI18nText","createElement","WidgetEmpty","assignProps","getIconPath","Title","Description","Component","_defineProperty2","i18n","localizedMessages","locale","i18nEnhance","_default","createComponent","exports"],"sources":["../../../src/Error/index.jsx"],"sourcesContent":["import React from 'react';\nimport WidgetEmpty, { getIconPath } from '../WidgetEmpty';\nimport { createComponent, Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass Error extends Component {\n static displayName = 'WidgetError';\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n };\n static enhance = [i18nEnhance(localizedMessages)];\n\n render() {\n const { Children, description, getI18nText } = this.asProps;\n\n return (\n <Root render={WidgetEmpty} icon={getIconPath('warning')}>\n <WidgetEmpty.Title>{getI18nText('title')}</WidgetEmpty.Title>\n <WidgetEmpty.Description>\n {description || getI18nText('description')}\n </WidgetEmpty.Description>\n <Children />\n </Root>\n );\n }\n}\n\nexport default createComponent(Error);\n"],"mappings":";;;;;;;;;;;;;AAEA,IAAAA,KAAA,GAAAC,OAAA;AAFA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAC,uBAAA,CAAAJ,OAAA;AAEA,IAAAK,YAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,4BAAA,GAAAN,OAAA;AAAmF,IAE7EO,KAAK,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,KAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,KAAA;EAAA,SAAAA,MAAA;IAAA,IAAAK,gBAAA,mBAAAL,KAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAA,IAAAC,aAAA,aAAAR,KAAA;IAAAS,GAAA;IAAAC,KAAA,EAQT,SAAAC,OAAA,EAAS;MAAA,IAAAC,IAAA,QAAAC,OAAA;MACP,IAAAC,aAAA,GAA+C,IAAI,CAACD,OAAO;QAAnDE,QAAQ,GAAAD,aAAA,CAARC,QAAQ;QAAEC,WAAW,GAAAF,aAAA,CAAXE,WAAW;QAAEC,WAAW,GAAAH,aAAA,CAAXG,WAAW;MAE1C,oBACEvB,MAAA,YAAAwB,aAAA,CAAcC,uBAAW,MAAA3B,KAAA,CAAA4B,WAAA;QAAA,QAAQ,IAAAC,wBAAW,EAAC,SAAS;MAAC,GAAAT,IAAA,gBACrDlB,MAAA,YAAAwB,aAAA,CAACtB,YAAA,WAAW,CAAC0B,KAAK,QAAEL,WAAW,CAAC,OAAO,CAAC,CAAqB,eAC7DvB,MAAA,YAAAwB,aAAA,CAACtB,YAAA,WAAW,CAAC2B,WAAW,QACrBP,WAAW,IAAIC,WAAW,CAAC,aAAa,CAAC,CAClB,eAC1BvB,MAAA,YAAAwB,aAAA,CAACH,QAAQ,OAAG,CACP;IAEX;EAAC;EAAA,OAAAf,KAAA;AAAA,EApBiBwB,eAAS;AAAA,IAAAC,gBAAA,aAAvBzB,KAAK,iBACY,aAAa;AAAA,IAAAyB,gBAAA,aAD9BzB,KAAK,kBAEa;EACpB0B,IAAI,EAAEC,8CAAiB;EACvBC,MAAM,EAAE;AACV,CAAC;AAAA,IAAAH,gBAAA,aALGzB,KAAK,aAMQ,CAAC,IAAA6B,uBAAW,EAACF,8CAAiB,CAAC,CAAC;AAAA,IAAAG,QAAA,GAiBpC,IAAAC,qBAAe,EAAC/B,KAAK,CAAC;AAAAgC,OAAA,cAAAF,QAAA"}
@@ -11,10 +11,10 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
11
11
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
12
12
  var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
13
13
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
14
- var _core = _interopRequireWildcard(require("@semcore/core"));
14
+ var _core = require("@semcore/core");
15
15
  var _react = _interopRequireDefault(require("react"));
16
16
  var _WidgetEmpty = _interopRequireWildcard(require("../WidgetEmpty"));
17
- var _i18nEnhance = _interopRequireDefault(require("@semcore/utils/lib/enhances/i18nEnhance"));
17
+ var _i18nEnhance = _interopRequireDefault(require("@semcore/core/lib/utils/enhances/i18nEnhance"));
18
18
  var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynamic-locales");
19
19
  var NoData = /*#__PURE__*/function (_Component) {
20
20
  (0, _inherits2["default"])(NoData, _Component);
@@ -46,6 +46,6 @@ var NoData = /*#__PURE__*/function (_Component) {
46
46
  locale: 'en',
47
47
  type: 'other-data'
48
48
  });
49
- var _default = (0, _core["default"])(NoData);
49
+ var _default = (0, _core.createComponent)(NoData);
50
50
  exports["default"] = _default;
51
51
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_WidgetEmpty","_i18nEnhance","_intergalacticDynamicLocales","NoData","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_this$asProps","Children","type","description","getI18nText","createElement","WidgetEmpty","assignProps","getIconPath","Title","Description","Component","_defineProperty2","i18nEnhance","localizedMessages","i18n","locale","_default","createComponent","exports"],"sources":["../../../src/NoData/index.jsx"],"sourcesContent":["import React from 'react';\nimport WidgetEmpty, { getIconPath } from '../WidgetEmpty';\nimport createComponent, { Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass NoData extends Component {\n static displayName = 'WidgetNoData';\n static enhance = [i18nEnhance(localizedMessages)];\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n type: 'other-data',\n };\n\n render() {\n const { Children, type, description, getI18nText } = this.asProps;\n\n return (\n <Root render={WidgetEmpty} icon={getIconPath(type)}>\n <WidgetEmpty.Title>{getI18nText('title')}</WidgetEmpty.Title>\n <WidgetEmpty.Description>\n {description || getI18nText('description')}\n </WidgetEmpty.Description>\n <Children />\n </Root>\n );\n }\n}\n\nexport default createComponent(NoData);\n"],"mappings":";;;;;;;;;;;;;AAEA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AAFA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAJ,uBAAA,CAAAC,OAAA;AAEA,IAAAI,YAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,4BAAA,GAAAL,OAAA;AAAmF,IAE7EM,MAAM,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,MAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,MAAA;EAAA,SAAAA,OAAA;IAAA,IAAAK,gBAAA,mBAAAL,MAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAA,IAAAC,aAAA,aAAAR,MAAA;IAAAS,GAAA;IAAAC,KAAA,EASV,SAAAC,OAAA,EAAS;MAAA,IAAAC,IAAA,QAAAC,OAAA;MACP,IAAAC,aAAA,GAAqD,IAAI,CAACD,OAAO;QAAzDE,QAAQ,GAAAD,aAAA,CAARC,QAAQ;QAAEC,IAAI,GAAAF,aAAA,CAAJE,IAAI;QAAEC,WAAW,GAAAH,aAAA,CAAXG,WAAW;QAAEC,WAAW,GAAAJ,aAAA,CAAXI,WAAW;MAEhD,oBACEvB,MAAA,YAAAwB,aAAA,CAAcC,uBAAW,MAAA5B,KAAA,CAAA6B,WAAA;QAAA,QAAQ,IAAAC,wBAAW,EAACN,IAAI;MAAC,GAAAJ,IAAA,gBAChDjB,MAAA,YAAAwB,aAAA,CAACtB,YAAA,WAAW,CAAC0B,KAAK,QAAEL,WAAW,CAAC,OAAO,CAAC,CAAqB,eAC7DvB,MAAA,YAAAwB,aAAA,CAACtB,YAAA,WAAW,CAAC2B,WAAW,QACrBP,WAAW,IAAIC,WAAW,CAAC,aAAa,CAAC,CAClB,eAC1BvB,MAAA,YAAAwB,aAAA,CAACJ,QAAQ,OAAG,CACP;IAEX;EAAC;EAAA,OAAAf,MAAA;AAAA,EArBkByB,eAAS;AAAA,IAAAC,gBAAA,aAAxB1B,MAAM,iBACW,cAAc;AAAA,IAAA0B,gBAAA,aAD/B1B,MAAM,aAEO,CAAC,IAAA2B,uBAAW,EAACC,8CAAiB,CAAC,CAAC;AAAA,IAAAF,gBAAA,aAF7C1B,MAAM,kBAGY;EACpB6B,IAAI,EAAED,8CAAiB;EACvBE,MAAM,EAAE,IAAI;EACZd,IAAI,EAAE;AACR,CAAC;AAAA,IAAAe,QAAA,GAiBY,IAAAC,gBAAe,EAAChC,MAAM,CAAC;AAAAiC,OAAA,cAAAF,QAAA"}
1
+ {"version":3,"file":"index.js","names":["_core","require","_react","_interopRequireDefault","_WidgetEmpty","_interopRequireWildcard","_i18nEnhance","_intergalacticDynamicLocales","NoData","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_this$asProps","Children","type","description","getI18nText","createElement","WidgetEmpty","assignProps","getIconPath","Title","Description","Component","_defineProperty2","i18nEnhance","localizedMessages","i18n","locale","_default","createComponent","exports"],"sources":["../../../src/NoData/index.jsx"],"sourcesContent":["import React from 'react';\nimport WidgetEmpty, { getIconPath } from '../WidgetEmpty';\nimport { createComponent, Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass NoData extends Component {\n static displayName = 'WidgetNoData';\n static enhance = [i18nEnhance(localizedMessages)];\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n type: 'other-data',\n };\n\n render() {\n const { Children, type, description, getI18nText } = this.asProps;\n\n return (\n <Root render={WidgetEmpty} icon={getIconPath(type)}>\n <WidgetEmpty.Title>{getI18nText('title')}</WidgetEmpty.Title>\n <WidgetEmpty.Description>\n {description || getI18nText('description')}\n </WidgetEmpty.Description>\n <Children />\n </Root>\n );\n }\n}\n\nexport default createComponent(NoData);\n"],"mappings":";;;;;;;;;;;;;AAEA,IAAAA,KAAA,GAAAC,OAAA;AAFA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAC,uBAAA,CAAAJ,OAAA;AAEA,IAAAK,YAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,4BAAA,GAAAN,OAAA;AAAmF,IAE7EO,MAAM,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,MAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,MAAA;EAAA,SAAAA,OAAA;IAAA,IAAAK,gBAAA,mBAAAL,MAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAA,IAAAC,aAAA,aAAAR,MAAA;IAAAS,GAAA;IAAAC,KAAA,EASV,SAAAC,OAAA,EAAS;MAAA,IAAAC,IAAA,QAAAC,OAAA;MACP,IAAAC,aAAA,GAAqD,IAAI,CAACD,OAAO;QAAzDE,QAAQ,GAAAD,aAAA,CAARC,QAAQ;QAAEC,IAAI,GAAAF,aAAA,CAAJE,IAAI;QAAEC,WAAW,GAAAH,aAAA,CAAXG,WAAW;QAAEC,WAAW,GAAAJ,aAAA,CAAXI,WAAW;MAEhD,oBACExB,MAAA,YAAAyB,aAAA,CAAcC,uBAAW,MAAA5B,KAAA,CAAA6B,WAAA;QAAA,QAAQ,IAAAC,wBAAW,EAACN,IAAI;MAAC,GAAAJ,IAAA,gBAChDlB,MAAA,YAAAyB,aAAA,CAACvB,YAAA,WAAW,CAAC2B,KAAK,QAAEL,WAAW,CAAC,OAAO,CAAC,CAAqB,eAC7DxB,MAAA,YAAAyB,aAAA,CAACvB,YAAA,WAAW,CAAC4B,WAAW,QACrBP,WAAW,IAAIC,WAAW,CAAC,aAAa,CAAC,CAClB,eAC1BxB,MAAA,YAAAyB,aAAA,CAACJ,QAAQ,OAAG,CACP;IAEX;EAAC;EAAA,OAAAf,MAAA;AAAA,EArBkByB,eAAS;AAAA,IAAAC,gBAAA,aAAxB1B,MAAM,iBACW,cAAc;AAAA,IAAA0B,gBAAA,aAD/B1B,MAAM,aAEO,CAAC,IAAA2B,uBAAW,EAACC,8CAAiB,CAAC,CAAC;AAAA,IAAAF,gBAAA,aAF7C1B,MAAM,kBAGY;EACpB6B,IAAI,EAAED,8CAAiB;EACvBE,MAAM,EAAE,IAAI;EACZd,IAAI,EAAE;AACR,CAAC;AAAA,IAAAe,QAAA,GAiBY,IAAAC,qBAAe,EAAChC,MAAM,CAAC;AAAAiC,OAAA,cAAAF,QAAA"}
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
4
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
4
  Object.defineProperty(exports, "__esModule", {
6
5
  value: true
@@ -12,20 +11,19 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
12
11
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
13
12
  var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
14
13
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
- var _index = require("@semcore/utils/lib/core/index");
16
- var _core = _interopRequireWildcard(require("@semcore/core"));
14
+ var _core = require("@semcore/core");
17
15
  var _react = _interopRequireDefault(require("react"));
18
16
  var _illustration = require("@semcore/illustration");
19
17
  var _flexBox = require("@semcore/flex-box");
20
- var _isNode = _interopRequireDefault(require("@semcore/utils/lib/isNode"));
18
+ var _isNode = _interopRequireDefault(require("@semcore/core/lib/utils/isNode"));
21
19
  /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
22
- var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_wdhl7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_wdhl7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_wdhl7_gg_,.___STitle_wdhl7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_wdhl7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_wdhl7_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_wdhl7_gg_+.___SDescription_wdhl7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_wdhl7_gg_+.___SDescription_wdhl7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"wdhl7_gg_"),
20
+ var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_rymi7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_rymi7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_rymi7_gg_,.___STitle_rymi7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_rymi7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_rymi7_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"rymi7_gg_"),
23
21
  /*__reshadow_css_end__*/
24
22
  {
25
- "__SWidgetEmpty": "___SWidgetEmpty_wdhl7_gg_",
26
- "__SImage": "___SImage_wdhl7_gg_",
27
- "__STitle": "___STitle_wdhl7_gg_",
28
- "__SDescription": "___SDescription_wdhl7_gg_"
23
+ "__SWidgetEmpty": "___SWidgetEmpty_rymi7_gg_",
24
+ "__SImage": "___SImage_rymi7_gg_",
25
+ "__STitle": "___STitle_rymi7_gg_",
26
+ "__SDescription": "___SDescription_rymi7_gg_"
29
27
  });
30
28
  var getIconPath = function getIconPath(name) {
31
29
  return (0, _illustration.getIllustrationPath)(name);
@@ -77,7 +75,7 @@ var Description = function Description(props) {
77
75
  var styles = props.styles;
78
76
  return _ref6 = (0, _core.sstyled)(styles), /*#__PURE__*/_react["default"].createElement(SDescription, _ref6.cn("SDescription", (0, _objectSpread2["default"])({}, (0, _core.assignProps)({}, _ref3))));
79
77
  };
80
- var _default = (0, _core["default"])(WidgetEmpty, {
78
+ var _default = (0, _core.createComponent)(WidgetEmpty, {
81
79
  Title: Title,
82
80
  Description: Description
83
81
  });
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetEmpty.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_illustration","_flexBox","_isNode","style","_index","sstyled","insert","getIconPath","name","getIllustrationPath","exports","WidgetEmpty","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","Flex","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread2","assignProps","isNode","Component","_defineProperty2","Title","props","_ref2","arguments[0]","_ref5","STitle","Box","Description","_ref3","_ref6","SDescription","_default","createComponent"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex} role='status'>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='' /> : icon}\n </SImage>\n )}\n <Children />\n </SWidgetEmpty>,\n );\n }\n}\n\nconst Title = (props) => {\n const STitle = Root;\n const { styles } = props;\n return sstyled(styles)(<STitle render={Box} />);\n};\n\nconst Description = (props) => {\n const SDescription = Root;\n const { styles } = props;\n return sstyled(styles)(<SDescription render={Box} />);\n};\n\nexport default createComponent(WidgetEmpty, {\n Title,\n Description,\n});\n"],"mappings":";;;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AADA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,OAAA;AAA+C;AAAA,IAAAM,KAAA,+BAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAIxC,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAI;EAAA,OAAK,IAAAC,iCAAmB,EAACD,IAAI,CAAC;AAAA;AAACE,OAAA,CAAAH,WAAA,GAAAA,WAAA;AAAA,IAEzDI,WAAW,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,WAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,WAAA;E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AAIC,KAAK,EAAK;EAAA,IAAAC,KAAA,GAAAC,YAAA;IAAAC,KAAA;EACvB,IAAMC,MAAM,GAE2BC,YAAG;EAD1C,IAAQf,MAAM,GAAKU,KAAK,CAAhBV,MAAM;EACd,OAAAa,KAAA,GAAO,IAAAvC,aAAO,EAAC0B,MAAM,CAAC,eAACjC,MAAA,YAAAmC,aAAA,CAACY,MAAM,EAAAD,KAAA,CAAAV,EAAA,eAAAC,cAAA,qBAAAxC,KAAA,CAAAyC,WAAA,MAAAM,KAAA,IAAgB;AAChD,CAAC;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAIN,KAAK,EAAK;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC7B,IAAMC,YAAY,GAE2BJ,YAAG;EADhD,IAAQf,MAAM,GAAKU,KAAK,CAAhBV,MAAM;EACd,OAAAkB,KAAA,GAAO,IAAA5C,aAAO,EAAC0B,MAAM,CAAC,eAACjC,MAAA,YAAAmC,aAAA,CAACiB,YAAY,EAAAD,KAAA,CAAAf,EAAA,qBAAAC,cAAA,qBAAAxC,KAAA,CAAAyC,WAAA,MAAAY,KAAA,IAAgB;AACtD,CAAC;AAAC,IAAAG,QAAA,GAEa,IAAAC,gBAAe,EAACzC,WAAW,EAAE;EAC1C6B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC;AAAArC,OAAA,cAAAyC,QAAA"}
1
+ {"version":3,"file":"WidgetEmpty.js","names":["_core","require","_react","_interopRequireDefault","_illustration","_flexBox","_isNode","style","sstyled","insert","getIconPath","name","getIllustrationPath","exports","WidgetEmpty","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","Flex","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread2","assignProps","isNode","Component","_defineProperty2","Title","props","_ref2","arguments[0]","_ref5","STitle","Box","Description","_ref3","_ref6","SDescription","_default","createComponent"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport { createComponent, Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/core/lib/utils/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex} role='status'>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='' /> : icon}\n </SImage>\n )}\n <Children />\n </SWidgetEmpty>,\n );\n }\n}\n\nconst Title = (props) => {\n const STitle = Root;\n const { styles } = props;\n return sstyled(styles)(<STitle render={Box} />);\n};\n\nconst Description = (props) => {\n const SDescription = Root;\n const { styles } = props;\n return sstyled(styles)(<SDescription render={Box} />);\n};\n\nexport default createComponent(WidgetEmpty, {\n Title,\n Description,\n});\n"],"mappings":";;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,OAAA;AADA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,OAAA;AAAoD;AAAA,IAAAM,KAAA,+BAAAP,KAAA,CAAAQ,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAI7C,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAI;EAAA,OAAK,IAAAC,iCAAmB,EAACD,IAAI,CAAC;AAAA;AAACE,OAAA,CAAAH,WAAA,GAAAA,WAAA;AAAA,IAEzDI,WAAW,0BAAAC,UAAA;EAAA,IAAAC,UAAA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AA,aAD9B5B,WAAW,WAEAP,KAAK;AAoBtB,IAAMoC,KAAK,GAAG,SAARA,KAAKA,CAAIC,KAAK,EAAK;EAAA,IAAAC,KAAA,GAAAC,YAAA;IAAAC,KAAA;EACvB,IAAMC,MAAM,GAE2BC,YAAG;EAD1C,IAAQf,MAAM,GAAKU,KAAK,CAAhBV,MAAM;EACd,OAAAa,KAAA,GAAO,IAAAvC,aAAO,EAAC0B,MAAM,CAAC,eAAChC,MAAA,YAAAkC,aAAA,CAACY,MAAM,EAAAD,KAAA,CAAAV,EAAA,eAAAC,cAAA,qBAAAtC,KAAA,CAAAuC,WAAA,MAAAM,KAAA,IAAgB;AAChD,CAAC;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAIN,KAAK,EAAK;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC7B,IAAMC,YAAY,GAE2BJ,YAAG;EADhD,IAAQf,MAAM,GAAKU,KAAK,CAAhBV,MAAM;EACd,OAAAkB,KAAA,GAAO,IAAA5C,aAAO,EAAC0B,MAAM,CAAC,eAAChC,MAAA,YAAAkC,aAAA,CAACiB,YAAY,EAAAD,KAAA,CAAAf,EAAA,qBAAAC,cAAA,qBAAAtC,KAAA,CAAAuC,WAAA,MAAAY,KAAA,IAAgB;AACtD,CAAC;AAAC,IAAAG,QAAA,GAEa,IAAAC,qBAAe,EAACzC,WAAW,EAAE;EAC1C6B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC;AAAArC,OAAA,cAAAyC,QAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import { Intergalactic, UnknownProperties } from '@semcore/core';\nimport { Box, FlexProps } from '@semcore/flex-box';\nimport { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\nimport { WithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';\n\nexport type iconNamesWidgetEmpty = TIllustrationNamesWidgetEmpty;\n\n/** @deprecated */\nexport interface IWidgetEmptyProps extends WidgetEmptyProps, UnknownProperties {}\nexport type WidgetEmptyProps = FlexProps & {\n /**\n * URL before the icon or the whole component\n */\n icon?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IWidgetErrorProps extends WidgetErrorProps, UnknownProperties {}\nexport type WidgetErrorProps = WidgetEmptyProps &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n };\n\n/** @deprecated */\nexport interface IWidgetNoDataProps extends WidgetNoDataProps, UnknownProperties {}\nexport type WidgetNoDataProps = WidgetEmptyProps &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n /* Data types */\n type?: iconNamesWidgetEmpty;\n };\n\ndeclare const WidgetEmpty: Intergalactic.Component<'div', WidgetEmptyProps> & {\n Title: typeof Box;\n Description: typeof Box;\n};\n\nexport declare const NoData: Intergalactic.Component<'div', WidgetNoDataProps>;\nexport declare const Error: Intergalactic.Component<'div', WidgetErrorProps>;\nexport declare const getIconPath: (name: string) => string;\n\nexport default WidgetEmpty;\n"],"mappings":""}
1
+ {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import { Intergalactic, UnknownProperties } from '@semcore/core';\nimport { Box, FlexProps } from '@semcore/flex-box';\nimport { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\nimport { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nexport type iconNamesWidgetEmpty = TIllustrationNamesWidgetEmpty;\n\n/** @deprecated */\nexport interface IWidgetEmptyProps extends WidgetEmptyProps, UnknownProperties {}\nexport type WidgetEmptyProps = FlexProps & {\n /**\n * URL before the icon or the whole component\n */\n icon?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IWidgetErrorProps extends WidgetErrorProps, UnknownProperties {}\nexport type WidgetErrorProps = WidgetEmptyProps &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n };\n\n/** @deprecated */\nexport interface IWidgetNoDataProps extends WidgetNoDataProps, UnknownProperties {}\nexport type WidgetNoDataProps = WidgetEmptyProps &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n /* Data types */\n type?: iconNamesWidgetEmpty;\n };\n\ndeclare const WidgetEmpty: Intergalactic.Component<'div', WidgetEmptyProps> & {\n Title: typeof Box;\n Description: typeof Box;\n};\n\nexport declare const NoData: Intergalactic.Component<'div', WidgetNoDataProps>;\nexport declare const Error: Intergalactic.Component<'div', WidgetErrorProps>;\nexport declare const getIconPath: (name: string) => string;\n\nexport default WidgetEmpty;\n"],"mappings":""}
@@ -6,8 +6,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
6
6
  import { assignProps as _assignProps } from "@semcore/core";
7
7
  import React from 'react';
8
8
  import WidgetEmpty, { getIconPath } from '../WidgetEmpty';
9
- import createComponent, { Component, Root } from '@semcore/core';
10
- import i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';
9
+ import { createComponent, Component, Root } from '@semcore/core';
10
+ import i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';
11
11
  import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
12
12
  var Error = /*#__PURE__*/function (_Component) {
13
13
  _inherits(Error, _Component);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","WidgetEmpty","getIconPath","createComponent","Component","Root","i18nEnhance","localizedMessages","Error","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_this$asProps","Children","description","getI18nText","createElement","_assignProps","Title","Description","_defineProperty","i18n","locale"],"sources":["../../../src/Error/index.jsx"],"sourcesContent":["import React from 'react';\nimport WidgetEmpty, { getIconPath } from '../WidgetEmpty';\nimport createComponent, { Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass Error extends Component {\n static displayName = 'WidgetError';\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n };\n static enhance = [i18nEnhance(localizedMessages)];\n\n render() {\n const { Children, description, getI18nText } = this.asProps;\n\n return (\n <Root render={WidgetEmpty} icon={getIconPath('warning')}>\n <WidgetEmpty.Title>{getI18nText('title')}</WidgetEmpty.Title>\n <WidgetEmpty.Description>\n {description || getI18nText('description')}\n </WidgetEmpty.Description>\n <Children />\n </Root>\n );\n }\n}\n\nexport default createComponent(Error);\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,WAAW,IAAIC,WAAW,QAAQ,gBAAgB;AACzD,OAAOC,eAAe,IAAIC,SAAS,EAAEC,IAAI,QAAQ,eAAe;AAChE,OAAOC,WAAW,MAAM,yCAAyC;AACjE,SAASC,iBAAiB,QAAQ,gDAAgD;AAAC,IAE7EC,KAAK,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,KAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,KAAA;EAAA,SAAAA,MAAA;IAAAK,eAAA,OAAAL,KAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAAC,YAAA,CAAAR,KAAA;IAAAS,GAAA;IAAAC,KAAA,EAQT,SAAAC,OAAA,EAAS;MAAA,IAAAC,IAAA,QAAAC,OAAA;MACP,IAAAC,aAAA,GAA+C,IAAI,CAACD,OAAO;QAAnDE,QAAQ,GAAAD,aAAA,CAARC,QAAQ;QAAEC,WAAW,GAAAF,aAAA,CAAXE,WAAW;QAAEC,WAAW,GAAAH,aAAA,CAAXG,WAAW;MAE1C,oBACEzB,KAAA,CAAA0B,aAAA,CAAczB,WAAW,EAAA0B,YAAA;QAAA,QAAQzB,WAAW,CAAC,SAAS;MAAC,GAAAkB,IAAA,gBACrDpB,KAAA,CAAA0B,aAAA,CAACzB,WAAW,CAAC2B,KAAK,QAAEH,WAAW,CAAC,OAAO,CAAC,CAAqB,eAC7DzB,KAAA,CAAA0B,aAAA,CAACzB,WAAW,CAAC4B,WAAW,QACrBL,WAAW,IAAIC,WAAW,CAAC,aAAa,CAAC,CAClB,eAC1BzB,KAAA,CAAA0B,aAAA,CAACH,QAAQ,OAAG,CACP;IAEX;EAAC;EAAA,OAAAf,KAAA;AAAA,EApBiBJ,SAAS;AAAA0B,eAAA,CAAvBtB,KAAK,iBACY,aAAa;AAAAsB,eAAA,CAD9BtB,KAAK,kBAEa;EACpBuB,IAAI,EAAExB,iBAAiB;EACvByB,MAAM,EAAE;AACV,CAAC;AAAAF,eAAA,CALGtB,KAAK,aAMQ,CAACF,WAAW,CAACC,iBAAiB,CAAC,CAAC;AAiBnD,eAAeJ,eAAe,CAACK,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","names":["React","WidgetEmpty","getIconPath","createComponent","Component","Root","i18nEnhance","localizedMessages","Error","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_this$asProps","Children","description","getI18nText","createElement","_assignProps","Title","Description","_defineProperty","i18n","locale"],"sources":["../../../src/Error/index.jsx"],"sourcesContent":["import React from 'react';\nimport WidgetEmpty, { getIconPath } from '../WidgetEmpty';\nimport { createComponent, Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass Error extends Component {\n static displayName = 'WidgetError';\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n };\n static enhance = [i18nEnhance(localizedMessages)];\n\n render() {\n const { Children, description, getI18nText } = this.asProps;\n\n return (\n <Root render={WidgetEmpty} icon={getIconPath('warning')}>\n <WidgetEmpty.Title>{getI18nText('title')}</WidgetEmpty.Title>\n <WidgetEmpty.Description>\n {description || getI18nText('description')}\n </WidgetEmpty.Description>\n <Children />\n </Root>\n );\n }\n}\n\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K,kBAEa;EACpBuB,IAAI,EAAExB,iBAAiB;EACvByB,MAAM,EAAE;AACV,CAAC;AAAAF,eAAA,CALGtB,KAAK,aAMQ,CAACF,WAAW,CAACC,iBAAiB,CAAC,CAAC;AAiBnD,eAAeJ,eAAe,CAACK,KAAK,CAAC"}
@@ -6,8 +6,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
6
6
  import { assignProps as _assignProps } from "@semcore/core";
7
7
  import React from 'react';
8
8
  import WidgetEmpty, { getIconPath } from '../WidgetEmpty';
9
- import createComponent, { Component, Root } from '@semcore/core';
10
- import i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';
9
+ import { createComponent, Component, Root } from '@semcore/core';
10
+ import i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';
11
11
  import { localizedMessages } from './translations/__intergalactic-dynamic-locales';
12
12
  var NoData = /*#__PURE__*/function (_Component) {
13
13
  _inherits(NoData, _Component);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","WidgetEmpty","getIconPath","createComponent","Component","Root","i18nEnhance","localizedMessages","NoData","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_this$asProps","Children","type","description","getI18nText","createElement","_assignProps","Title","Description","_defineProperty","i18n","locale"],"sources":["../../../src/NoData/index.jsx"],"sourcesContent":["import React from 'react';\nimport WidgetEmpty, { getIconPath } from '../WidgetEmpty';\nimport createComponent, { Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/utils/lib/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass NoData extends Component {\n static displayName = 'WidgetNoData';\n static enhance = [i18nEnhance(localizedMessages)];\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n type: 'other-data',\n };\n\n render() {\n const { Children, type, description, getI18nText } = this.asProps;\n\n return (\n <Root render={WidgetEmpty} icon={getIconPath(type)}>\n <WidgetEmpty.Title>{getI18nText('title')}</WidgetEmpty.Title>\n <WidgetEmpty.Description>\n {description || getI18nText('description')}\n </WidgetEmpty.Description>\n <Children />\n </Root>\n );\n }\n}\n\nexport default createComponent(NoData);\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,WAAW,IAAIC,WAAW,QAAQ,gBAAgB;AACzD,OAAOC,eAAe,IAAIC,SAAS,EAAEC,IAAI,QAAQ,eAAe;AAChE,OAAOC,WAAW,MAAM,yCAAyC;AACjE,SAASC,iBAAiB,QAAQ,gDAAgD;AAAC,IAE7EC,MAAM,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,MAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,MAAA;EAAA,SAAAA,OAAA;IAAAK,eAAA,OAAAL,MAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAAC,YAAA,CAAAR,MAAA;IAAAS,GAAA;IAAAC,KAAA,EASV,SAAAC,OAAA,EAAS;MAAA,IAAAC,IAAA,QAAAC,OAAA;MACP,IAAAC,aAAA,GAAqD,IAAI,CAACD,OAAO;QAAzDE,QAAQ,GAAAD,aAAA,CAARC,QAAQ;QAAEC,IAAI,GAAAF,aAAA,CAAJE,IAAI;QAAEC,WAAW,GAAAH,aAAA,CAAXG,WAAW;QAAEC,WAAW,GAAAJ,aAAA,CAAXI,WAAW;MAEhD,oBACE1B,KAAA,CAAA2B,aAAA,CAAc1B,WAAW,EAAA2B,YAAA;QAAA,QAAQ1B,WAAW,CAACsB,IAAI;MAAC,GAAAJ,IAAA,gBAChDpB,KAAA,CAAA2B,aAAA,CAAC1B,WAAW,CAAC4B,KAAK,QAAEH,WAAW,CAAC,OAAO,CAAC,CAAqB,eAC7D1B,KAAA,CAAA2B,aAAA,CAAC1B,WAAW,CAAC6B,WAAW,QACrBL,WAAW,IAAIC,WAAW,CAAC,aAAa,CAAC,CAClB,eAC1B1B,KAAA,CAAA2B,aAAA,CAACJ,QAAQ,OAAG,CACP;IAEX;EAAC;EAAA,OAAAf,MAAA;AAAA,EArBkBJ,SAAS;AAAA2B,eAAA,CAAxBvB,MAAM,iBACW,cAAc;AAAAuB,eAAA,CAD/BvB,MAAM,aAEO,CAACF,WAAW,CAACC,iBAAiB,CAAC,CAAC;AAAAwB,eAAA,CAF7CvB,MAAM,kBAGY;EACpBwB,IAAI,EAAEzB,iBAAiB;EACvB0B,MAAM,EAAE,IAAI;EACZT,IAAI,EAAE;AACR,CAAC;AAiBH,eAAerB,eAAe,CAACK,MAAM,CAAC"}
1
+ {"version":3,"file":"index.js","names":["React","WidgetEmpty","getIconPath","createComponent","Component","Root","i18nEnhance","localizedMessages","NoData","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_this$asProps","Children","type","description","getI18nText","createElement","_assignProps","Title","Description","_defineProperty","i18n","locale"],"sources":["../../../src/NoData/index.jsx"],"sourcesContent":["import React from 'react';\nimport WidgetEmpty, { getIconPath } from '../WidgetEmpty';\nimport { createComponent, Component, Root } from '@semcore/core';\nimport i18nEnhance from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport { localizedMessages } from './translations/__intergalactic-dynamic-locales';\n\nclass NoData extends Component {\n static displayName = 'WidgetNoData';\n static enhance = [i18nEnhance(localizedMessages)];\n static defaultProps = {\n i18n: localizedMessages,\n locale: 'en',\n type: 'other-data',\n };\n\n render() {\n const { Children, type, description, getI18nText } = this.asProps;\n\n return (\n <Root render={WidgetEmpty} icon={getIconPath(type)}>\n <WidgetEmpty.Title>{getI18nText('title')}</WidgetEmpty.Title>\n <WidgetEmpty.Description>\n {description || getI18nText('description')}\n </WidgetEmpty.Description>\n <Children />\n </Root>\n );\n }\n}\n\nexport default createComponent(NoData);\n"],"mappings":";;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,WAAW,IAAIC,WAAW,QAAQ,gBAAgB;AACzD,SAASC,eAAe,EAAEC,SAAS,EA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EAAEzB,iBAAiB;EACvB0B,MAAM,EAAE,IAAI;EACZT,IAAI,EAAE;AACR,CAAC;AAiBH,eAAerB,eAAe,CAACK,MAAM,CAAC"}
@@ -4,23 +4,23 @@ import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _inherits from "@babel/runtime/helpers/inherits";
5
5
  import _createSuper from "@babel/runtime/helpers/createSuper";
6
6
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
- import { sstyled as _sstyled } from "@semcore/utils/lib/core/index";
7
+ import { sstyled as _sstyled } from "@semcore/core";
8
8
  import { assignProps as _assignProps3 } from "@semcore/core";
9
9
  import { assignProps as _assignProps2 } from "@semcore/core";
10
10
  import { assignProps as _assignProps } from "@semcore/core";
11
11
  import React from 'react';
12
- import createComponent, { Component, sstyled, Root } from '@semcore/core';
12
+ import { createComponent, Component, sstyled, Root } from '@semcore/core';
13
13
  import { getIllustrationPath } from '@semcore/illustration';
14
14
  import { Box, Flex } from '@semcore/flex-box';
15
- import isNode from '@semcore/utils/lib/isNode';
15
+ import isNode from '@semcore/core/lib/utils/isNode';
16
16
  /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
17
- var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_wdhl7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_wdhl7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_wdhl7_gg_,.___STitle_wdhl7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_wdhl7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_wdhl7_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_wdhl7_gg_+.___SDescription_wdhl7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_wdhl7_gg_+.___SDescription_wdhl7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"wdhl7_gg_"),
17
+ var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_rymi7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_rymi7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_rymi7_gg_,.___STitle_rymi7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_rymi7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_rymi7_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"rymi7_gg_"),
18
18
  /*__reshadow_css_end__*/
19
19
  {
20
- "__SWidgetEmpty": "___SWidgetEmpty_wdhl7_gg_",
21
- "__SImage": "___SImage_wdhl7_gg_",
22
- "__STitle": "___STitle_wdhl7_gg_",
23
- "__SDescription": "___SDescription_wdhl7_gg_"
20
+ "__SWidgetEmpty": "___SWidgetEmpty_rymi7_gg_",
21
+ "__SImage": "___SImage_rymi7_gg_",
22
+ "__STitle": "___STitle_rymi7_gg_",
23
+ "__SDescription": "___SDescription_rymi7_gg_"
24
24
  });
25
25
  export var getIconPath = function getIconPath(name) {
26
26
  return getIllustrationPath(name);
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetEmpty.js","names":["React","createComponent","Component","sstyled","Root","getIllustrationPath","Box","Flex","isNode","style","_sstyled","insert","getIconPath","name","WidgetEmpty","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread","_assignProps","_defineProperty","Title","props","_ref2","arguments[0]","_ref5","STitle","_assignProps2","Description","_ref3","_ref6","SDescription","_assignProps3"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex} role='status'>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='' /> : icon}\n </SImage>\n )}\n <Children />\n </SWidgetEmpty>,\n );\n }\n}\n\nconst Title = (props) => {\n const STitle = Root;\n const { styles } = props;\n return sstyled(styles)(<STitle render={Box} />);\n};\n\nconst Description = (props) => {\n const SDescription = Root;\n const { styles } = props;\n return sstyled(styles)(<SDescription render={Box} />);\n};\n\nexport default createComponent(WidgetEmpty, {\n Title,\n Description,\n});\n"],"mappings":";;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,eAAe,IAAIC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,mBAAmB,QAAQ,uBAAuB;AAC3D,SAASC,GAAG,EAAEC,IAAI,QAAQ,mBAAmB;AAC7C,OAAOC,MAAM,MAAM,2BA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IAAI,CAE/D,eACDhC,KAAA,CAAAmC,aAAA,CAACJ,QAAQ,EAAAH,KAAA,CAAAQ,EAAA,iBAAG,CACC;IAEnB;EAAC;EAAA,OAAAtB,WAAA;AAAA,EAnBuBZ,SAAS;AAAAqC,eAAA,CAA7BzB,WAAW,iBACM,aAAa;AAAAyB,eAAA,CAD9BzB,WAAW,WAEAL,KAAK;AAoBtB,IAAM+B,KAAK,GAAG,SAARA,KAAKA,CAAIC,KAAK,EAAK;EAAA,IAAAC,KAAA,GAAAC,YAAA;IAAAC,KAAA;EACvB,IAAMC,MAAM,GAE2BvC,GAAG;EAD1C,IAAQ2B,MAAM,GAAKQ,KAAK,CAAhBR,MAAM;EACd,OAAAW,KAAA,GAAOzC,OAAO,CAAC8B,MAAM,CAAC,eAACjC,KAAA,CAAAmC,aAAA,CAACU,MAAM,EAAAD,KAAA,CAAAR,EAAA,WAAAC,aAAA,KAAAS,aAAA,KAAAJ,KAAA,IAAgB;AAChD,CAAC;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAIN,KAAK,EAAK;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC7B,IAAMC,YAAY,GAE2B5C,GAAG;EADhD,IAAQ2B,MAAM,GAAKQ,KAAK,CAAhBR,MAAM;EACd,OAAAgB,KAAA,GAAO9C,OAAO,CAAC8B,MAAM,CAAC,eAACjC,KAAA,CAAAmC,aAAA,CAACe,YAAY,EAAAD,KAAA,CAAAb,EAAA,iBAAAC,aAAA,KAAAc,aAAA,KAAAH,KAAA,IAAgB;AACtD,CAAC;AAED,eAAe/C,eAAe,CAACa,WAAW,EAAE;EAC1C0B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC"}
1
+ {"version":3,"file":"WidgetEmpty.js","names":["React","createComponent","Component","sstyled","Root","getIllustrationPath","Box","Flex","isNode","style","_sstyled","insert","getIconPath","name","WidgetEmpty","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread","_assignProps","_defineProperty","Title","props","_ref2","arguments[0]","_ref5","STitle","_assignProps2","Description","_ref3","_ref6","SDescription","_assignProps3"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport { createComponent, Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/core/lib/utils/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex} role='status'>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='' /> : icon}\n </SImage>\n )}\n <Children />\n </SWidgetEmpty>,\n );\n }\n}\n\nconst Title = (props) => {\n const STitle = Root;\n const { styles } = props;\n return sstyled(styles)(<STitle render={Box} />);\n};\n\nconst Description = (props) => {\n const SDescription = Root;\n const { styles } = props;\n return sstyled(styles)(<SDescription render={Box} />);\n};\n\nexport default createComponent(WidgetEmpty, {\n Title,\n Description,\n});\n"],"mappings":";;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,eAAe,EAAEC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,mBAAmB,QAAQ,uBAAuB;AAC3D,SAASC,GAAG,EAAEC,IAAI,QAAQ,mBAAmB;AAC7C,OAAOC,MAAM,MAAM,gCAAgC;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAIpD,OAAO,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,OAAAtB,WAAA;AAAA,EAnBuBZ,SAAS;AAAAqC,eAAA,CAA7BzB,WAAW,iBACM,aAAa;AAAAyB,eAAA,CAD9BzB,WAAW,WAEAL,KAAK;AAoBtB,IAAM+B,KAAK,GAAG,SAARA,KAAKA,CAAIC,KAAK,EAAK;EAAA,IAAAC,KAAA,GAAAC,YAAA;IAAAC,KAAA;EACvB,IAAMC,MAAM,GAE2BvC,GAAG;EAD1C,IAAQ2B,MAAM,GAAKQ,KAAK,CAAhBR,MAAM;EACd,OAAAW,KAAA,GAAOzC,OAAO,CAAC8B,MAAM,CAAC,eAACjC,KAAA,CAAAmC,aAAA,CAACU,MAAM,EAAAD,KAAA,CAAAR,EAAA,WAAAC,aAAA,KAAAS,aAAA,KAAAJ,KAAA,IAAgB;AAChD,CAAC;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAIN,KAAK,EAAK;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC7B,IAAMC,YAAY,GAE2B5C,GAAG;EADhD,IAAQ2B,MAAM,GAAKQ,KAAK,CAAhBR,MAAM;EACd,OAAAgB,KAAA,GAAO9C,OAAO,CAAC8B,MAAM,CAAC,eAACjC,KAAA,CAAAmC,aAAA,CAACe,YAAY,EAAAD,KAAA,CAAAb,EAAA,iBAAAC,aAAA,KAAAc,aAAA,KAAAH,KAAA,IAAgB;AACtD,CAAC;AAED,eAAe/C,eAAe,CAACa,WAAW,EAAE;EAC1C0B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import { Intergalactic, UnknownProperties } from '@semcore/core';\nimport { Box, FlexProps } from '@semcore/flex-box';\nimport { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\nimport { WithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';\n\nexport type iconNamesWidgetEmpty = TIllustrationNamesWidgetEmpty;\n\n/** @deprecated */\nexport interface IWidgetEmptyProps extends WidgetEmptyProps, UnknownProperties {}\nexport type WidgetEmptyProps = FlexProps & {\n /**\n * URL before the icon or the whole component\n */\n icon?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IWidgetErrorProps extends WidgetErrorProps, UnknownProperties {}\nexport type WidgetErrorProps = WidgetEmptyProps &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n };\n\n/** @deprecated */\nexport interface IWidgetNoDataProps extends WidgetNoDataProps, UnknownProperties {}\nexport type WidgetNoDataProps = WidgetEmptyProps &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n /* Data types */\n type?: iconNamesWidgetEmpty;\n };\n\ndeclare const WidgetEmpty: Intergalactic.Component<'div', WidgetEmptyProps> & {\n Title: typeof Box;\n Description: typeof Box;\n};\n\nexport declare const NoData: Intergalactic.Component<'div', WidgetNoDataProps>;\nexport declare const Error: Intergalactic.Component<'div', WidgetErrorProps>;\nexport declare const getIconPath: (name: string) => string;\n\nexport default WidgetEmpty;\n"],"mappings":""}
1
+ {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import { Intergalactic, UnknownProperties } from '@semcore/core';\nimport { Box, FlexProps } from '@semcore/flex-box';\nimport { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\nimport { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nexport type iconNamesWidgetEmpty = TIllustrationNamesWidgetEmpty;\n\n/** @deprecated */\nexport interface IWidgetEmptyProps extends WidgetEmptyProps, UnknownProperties {}\nexport type WidgetEmptyProps = FlexProps & {\n /**\n * URL before the icon or the whole component\n */\n icon?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IWidgetErrorProps extends WidgetErrorProps, UnknownProperties {}\nexport type WidgetErrorProps = WidgetEmptyProps &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n };\n\n/** @deprecated */\nexport interface IWidgetNoDataProps extends WidgetNoDataProps, UnknownProperties {}\nexport type WidgetNoDataProps = WidgetEmptyProps &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n /* Data types */\n type?: iconNamesWidgetEmpty;\n };\n\ndeclare const WidgetEmpty: Intergalactic.Component<'div', WidgetEmptyProps> & {\n Title: typeof Box;\n Description: typeof Box;\n};\n\nexport declare const NoData: Intergalactic.Component<'div', WidgetNoDataProps>;\nexport declare const Error: Intergalactic.Component<'div', WidgetErrorProps>;\nexport declare const getIconPath: (name: string) => string;\n\nexport default WidgetEmpty;\n"],"mappings":""}
@@ -3,10 +3,10 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
3
3
  import _inherits from "@babel/runtime/helpers/esm/inherits";
4
4
  import _createSuper from "@babel/runtime/helpers/esm/createSuper";
5
5
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
6
- import createComponent, { assignProps, Component } from "@semcore/core";
6
+ import { createComponent, assignProps, Component } from "@semcore/core";
7
7
  import React from "react";
8
8
  import WidgetEmpty, { getIconPath } from "../WidgetEmpty.mjs";
9
- import i18nEnhance from "@semcore/utils/lib/enhances/i18nEnhance";
9
+ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
10
10
  import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
11
11
  var Error = /* @__PURE__ */ function(_Component) {
12
12
  _inherits(Error2, _Component);
@@ -3,10 +3,10 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
3
3
  import _inherits from "@babel/runtime/helpers/esm/inherits";
4
4
  import _createSuper from "@babel/runtime/helpers/esm/createSuper";
5
5
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
6
- import createComponent, { assignProps, Component } from "@semcore/core";
6
+ import { createComponent, assignProps, Component } from "@semcore/core";
7
7
  import React from "react";
8
8
  import WidgetEmpty, { getIconPath } from "../WidgetEmpty.mjs";
9
- import i18nEnhance from "@semcore/utils/lib/enhances/i18nEnhance";
9
+ import i18nEnhance from "@semcore/core/lib/utils/enhances/i18nEnhance";
10
10
  import { localizedMessages } from "./translations/__intergalactic-dynamic-locales.mjs";
11
11
  var NoData = /* @__PURE__ */ function(_Component) {
12
12
  _inherits(NoData2, _Component);
@@ -4,26 +4,25 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
4
4
  import _inherits from "@babel/runtime/helpers/esm/inherits";
5
5
  import _createSuper from "@babel/runtime/helpers/esm/createSuper";
6
6
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
7
- import { sstyled } from "@semcore/utils/lib/core/index";
8
- import createComponent, { sstyled as sstyled$1, assignProps, Component } from "@semcore/core";
7
+ import { createComponent, sstyled, assignProps, Component } from "@semcore/core";
9
8
  import React from "react";
10
9
  import { getIllustrationPath } from "@semcore/illustration";
11
10
  import { Flex, Box } from "@semcore/flex-box";
12
- import isNode from "@semcore/utils/lib/isNode";
11
+ import isNode from "@semcore/core/lib/utils/isNode";
13
12
  /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
14
13
  var style = (
15
14
  /*__reshadow_css_start__*/
16
15
  (sstyled.insert(
17
16
  /*__inner_css_start__*/
18
- ".___SWidgetEmpty_wdhl7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_wdhl7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_wdhl7_gg_,.___STitle_wdhl7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_wdhl7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_wdhl7_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_wdhl7_gg_+.___SDescription_wdhl7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_wdhl7_gg_+.___SDescription_wdhl7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}",
17
+ ".___SWidgetEmpty_rymi7_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_rymi7_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_rymi7_gg_,.___STitle_rymi7_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_rymi7_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_rymi7_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_rymi7_gg_+.___SDescription_rymi7_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}",
19
18
  /*__inner_css_end__*/
20
- "wdhl7_gg_"
19
+ "rymi7_gg_"
21
20
  ), /*__reshadow_css_end__*/
22
21
  {
23
- "__SWidgetEmpty": "___SWidgetEmpty_wdhl7_gg_",
24
- "__SImage": "___SImage_wdhl7_gg_",
25
- "__STitle": "___STitle_wdhl7_gg_",
26
- "__SDescription": "___SDescription_wdhl7_gg_"
22
+ "__SWidgetEmpty": "___SWidgetEmpty_rymi7_gg_",
23
+ "__SImage": "___SImage_rymi7_gg_",
24
+ "__STitle": "___STitle_rymi7_gg_",
25
+ "__SDescription": "___SDescription_rymi7_gg_"
27
26
  })
28
27
  );
29
28
  var getIconPath = function getIconPath2(name) {
@@ -43,7 +42,7 @@ var WidgetEmpty = /* @__PURE__ */ function(_Component) {
43
42
  var SWidgetEmpty = Flex;
44
43
  var _this$asProps = this.asProps, Children = _this$asProps.Children, icon = _this$asProps.icon, styles = _this$asProps.styles;
45
44
  var SImage = "div";
46
- return _ref4 = sstyled$1(styles), /* @__PURE__ */ React.createElement(SWidgetEmpty, _ref4.cn("SWidgetEmpty", _objectSpread({}, assignProps({
45
+ return _ref4 = sstyled(styles), /* @__PURE__ */ React.createElement(SWidgetEmpty, _ref4.cn("SWidgetEmpty", _objectSpread({}, assignProps({
47
46
  "role": "status"
48
47
  }, _ref))), isNode(icon) && /* @__PURE__ */ React.createElement(SImage, _ref4.cn("SImage", {
49
48
  "aria-hidden": "true"
@@ -61,13 +60,13 @@ var Title = function Title2(props) {
61
60
  var _ref2 = arguments[0], _ref5;
62
61
  var STitle = Box;
63
62
  var styles = props.styles;
64
- return _ref5 = sstyled$1(styles), /* @__PURE__ */ React.createElement(STitle, _ref5.cn("STitle", _objectSpread({}, assignProps({}, _ref2))));
63
+ return _ref5 = sstyled(styles), /* @__PURE__ */ React.createElement(STitle, _ref5.cn("STitle", _objectSpread({}, assignProps({}, _ref2))));
65
64
  };
66
65
  var Description = function Description2(props) {
67
66
  var _ref3 = arguments[0], _ref6;
68
67
  var SDescription = Box;
69
68
  var styles = props.styles;
70
- return _ref6 = sstyled$1(styles), /* @__PURE__ */ React.createElement(SDescription, _ref6.cn("SDescription", _objectSpread({}, assignProps({}, _ref3))));
69
+ return _ref6 = sstyled(styles), /* @__PURE__ */ React.createElement(SDescription, _ref6.cn("SDescription", _objectSpread({}, assignProps({}, _ref3))));
71
70
  };
72
71
  const WidgetEmpty$1 = createComponent(WidgetEmpty, {
73
72
  Title,
@@ -1,7 +1,7 @@
1
1
  import { Intergalactic, UnknownProperties } from '@semcore/core';
2
2
  import { Box, FlexProps } from '@semcore/flex-box';
3
3
  import { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';
4
- import { WithI18nEnhanceProps } from '@semcore/utils/lib/enhances/i18nEnhance';
4
+ import { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';
5
5
 
6
6
  export type iconNamesWidgetEmpty = TIllustrationNamesWidgetEmpty;
7
7
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/widget-empty",
3
3
  "description": "Semrush WidgetEmpty Component",
4
- "version": "4.43.4",
4
+ "version": "16.0.0-prerelease.0",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -14,14 +14,11 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/flex-box": "5.41.4",
18
- "@semcore/illustration": "2.44.2",
19
- "@semcore/utils": "4.48.5"
17
+ "@semcore/flex-box": "16.0.0-prerelease.0",
18
+ "@semcore/illustration": "16.0.0-prerelease.0"
20
19
  },
21
20
  "peerDependencies": {
22
- "@semcore/core": "^2.17.5",
23
- "react": "16.8 - 18",
24
- "react-dom": "16.8 - 18"
21
+ "@semcore/base-components": "^16.0.0-prerelease.0"
25
22
  },
26
23
  "repository": {
27
24
  "type": "git",