@semcore/widget-empty 16.0.6-prerelease.3 → 16.0.7-prerelease.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/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.7] - 2025-08-29
6
+
7
+ ### Changed
8
+
9
+ - Type description for `WidgetNoDataProps`.
10
+
5
11
  ## [16.0.6] - 2025-08-07
6
12
 
7
13
  ### Changed
@@ -20,13 +20,13 @@ var _illustration = require("@semcore/illustration");
20
20
  var _react = _interopRequireDefault(require("react"));
21
21
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2["default"])(o), (0, _possibleConstructorReturn2["default"])(t, (0, _isNativeReflectConstruct2["default"])() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2["default"])(t).constructor) : o.apply(t, e)); }
22
22
  /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
23
- var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SWidgetEmpty_10p3v_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_10p3v_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_10p3v_gg_,.___STitle_10p3v_gg_{text-align:center;color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_10p3v_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_10p3v_gg_{text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_10p3v_gg_+.___SDescription_10p3v_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_10p3v_gg_+.___SDescription_10p3v_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"10p3v_gg_"),
23
+ var style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SWidgetEmpty_8ivjv_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_8ivjv_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_8ivjv_gg_,.___STitle_8ivjv_gg_{text-align:center;color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_8ivjv_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_8ivjv_gg_{text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_8ivjv_gg_+.___SDescription_8ivjv_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_8ivjv_gg_+.___SDescription_8ivjv_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"8ivjv_gg_"),
24
24
  /*__reshadow_css_end__*/
25
25
  {
26
- "__SWidgetEmpty": "___SWidgetEmpty_10p3v_gg_",
27
- "__SImage": "___SImage_10p3v_gg_",
28
- "__STitle": "___STitle_10p3v_gg_",
29
- "__SDescription": "___SDescription_10p3v_gg_"
26
+ "__SWidgetEmpty": "___SWidgetEmpty_8ivjv_gg_",
27
+ "__SImage": "___SImage_8ivjv_gg_",
28
+ "__STitle": "___STitle_8ivjv_gg_",
29
+ "__SDescription": "___SDescription_8ivjv_gg_"
30
30
  });
31
31
  var getIconPath = exports.getIconPath = function getIconPath(name) {
32
32
  return (0, _illustration.getIllustrationPath)(name);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { Intergalactic, UnknownProperties } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { Box, FlexProps } from '@semcore/flex-box';\nimport type { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\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":"","ignoreList":[]}
1
+ {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { Intergalactic, UnknownProperties } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { Box, FlexProps } from '@semcore/flex-box';\nimport type { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\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":"","ignoreList":[]}
@@ -17,13 +17,13 @@ import { Box, Flex } from '@semcore/flex-box';
17
17
  import { getIllustrationPath } from '@semcore/illustration';
18
18
  import React from 'react';
19
19
  /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
20
- var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SWidgetEmpty_10p3v_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_10p3v_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_10p3v_gg_,.___STitle_10p3v_gg_{text-align:center;color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_10p3v_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_10p3v_gg_{text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_10p3v_gg_+.___SDescription_10p3v_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_10p3v_gg_+.___SDescription_10p3v_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"10p3v_gg_"),
20
+ var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SWidgetEmpty_8ivjv_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_8ivjv_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_8ivjv_gg_,.___STitle_8ivjv_gg_{text-align:center;color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_8ivjv_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_8ivjv_gg_{text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_8ivjv_gg_+.___SDescription_8ivjv_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_8ivjv_gg_+.___SDescription_8ivjv_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}", /*__inner_css_end__*/"8ivjv_gg_"),
21
21
  /*__reshadow_css_end__*/
22
22
  {
23
- "__SWidgetEmpty": "___SWidgetEmpty_10p3v_gg_",
24
- "__SImage": "___SImage_10p3v_gg_",
25
- "__STitle": "___STitle_10p3v_gg_",
26
- "__SDescription": "___SDescription_10p3v_gg_"
23
+ "__SWidgetEmpty": "___SWidgetEmpty_8ivjv_gg_",
24
+ "__SImage": "___SImage_8ivjv_gg_",
25
+ "__STitle": "___STitle_8ivjv_gg_",
26
+ "__SDescription": "___SDescription_8ivjv_gg_"
27
27
  });
28
28
  export var getIconPath = function getIconPath(name) {
29
29
  return getIllustrationPath(name);
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { Intergalactic, UnknownProperties } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { Box, FlexProps } from '@semcore/flex-box';\nimport type { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\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":"","ignoreList":[]}
1
+ {"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { Intergalactic, UnknownProperties } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { Box, FlexProps } from '@semcore/flex-box';\nimport type { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\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":"","ignoreList":[]}
@@ -19,15 +19,15 @@ var style = (
19
19
  /*__reshadow_css_start__*/
20
20
  (sstyled.insert(
21
21
  /*__inner_css_start__*/
22
- ".___SWidgetEmpty_10p3v_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_10p3v_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_10p3v_gg_,.___STitle_10p3v_gg_{text-align:center;color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_10p3v_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_10p3v_gg_{text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_10p3v_gg_+.___SDescription_10p3v_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_10p3v_gg_+.___SDescription_10p3v_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}",
22
+ ".___SWidgetEmpty_8ivjv_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_8ivjv_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_8ivjv_gg_,.___STitle_8ivjv_gg_{text-align:center;color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_8ivjv_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_8ivjv_gg_{text-wrap:balance;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_8ivjv_gg_+.___SDescription_8ivjv_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_8ivjv_gg_+.___SDescription_8ivjv_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}",
23
23
  /*__inner_css_end__*/
24
- "10p3v_gg_"
24
+ "8ivjv_gg_"
25
25
  ), /*__reshadow_css_end__*/
26
26
  {
27
- "__SWidgetEmpty": "___SWidgetEmpty_10p3v_gg_",
28
- "__SImage": "___SImage_10p3v_gg_",
29
- "__STitle": "___STitle_10p3v_gg_",
30
- "__SDescription": "___SDescription_10p3v_gg_"
27
+ "__SWidgetEmpty": "___SWidgetEmpty_8ivjv_gg_",
28
+ "__SImage": "___SImage_8ivjv_gg_",
29
+ "__STitle": "___STitle_8ivjv_gg_",
30
+ "__SDescription": "___SDescription_8ivjv_gg_"
31
31
  })
32
32
  );
33
33
  var getIconPath = function getIconPath2(name) {
@@ -28,7 +28,7 @@ export type WidgetNoDataProps = WidgetEmptyProps &
28
28
  WithI18nEnhanceProps & {
29
29
  /** Error description. If it is absent, use the local default one */
30
30
  description?: React.ReactNode;
31
- /* Data types */
31
+ /** Data types */
32
32
  type?: iconNamesWidgetEmpty;
33
33
  };
34
34
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/widget-empty",
3
3
  "description": "Semrush WidgetEmpty Component",
4
- "version": "16.0.6-prerelease.3",
4
+ "version": "16.0.7-prerelease.1",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -14,11 +14,11 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/flex-box": "16.0.6-prerelease.3",
18
- "@semcore/illustration": "16.0.7-prerelease.3"
17
+ "@semcore/flex-box": "16.0.7-prerelease.1",
18
+ "@semcore/illustration": "16.0.8-prerelease.1"
19
19
  },
20
20
  "peerDependencies": {
21
- "@semcore/base-components": "^16.2.0-prerelease.3"
21
+ "@semcore/base-components": "^16.2.1-prerelease.1"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -26,8 +26,8 @@
26
26
  "directory": "semcore/widget-empty"
27
27
  },
28
28
  "devDependencies": {
29
- "@semcore/testing-utils": "1.0.0",
30
- "@semcore/core": "16.0.4"
29
+ "@semcore/core": "16.1.0-prerelease.1",
30
+ "@semcore/testing-utils": "1.0.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "pnpm semcore-builder --source=js && pnpm vite build"