@semcore/widget-empty 17.2.1 → 18.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/lib/cjs/Error/Error.type.js.map +1 -1
  3. package/lib/cjs/NoData/NoData.type.js.map +1 -1
  4. package/lib/cjs/WidgetEmpty.js +5 -5
  5. package/lib/cjs/WidgetEmpty.type.js.map +1 -1
  6. package/lib/cjs/style/widget-empty.shadow.css +4 -4
  7. package/lib/es6/Error/Error.type.js.map +1 -1
  8. package/lib/es6/NoData/NoData.type.js.map +1 -1
  9. package/lib/es6/WidgetEmpty.js +5 -5
  10. package/lib/es6/WidgetEmpty.type.js.map +1 -1
  11. package/lib/es6/style/widget-empty.shadow.css +4 -4
  12. package/lib/esm/WidgetEmpty.mjs +6 -6
  13. package/lib/esm/style/widget-empty.shadow.css +4 -4
  14. package/lib/types/Error/Error.d.ts +1 -0
  15. package/lib/types/Error/Error.d.ts.map +1 -0
  16. package/lib/types/Error/Error.type.d.ts +2 -1
  17. package/lib/types/Error/Error.type.d.ts.map +1 -0
  18. package/lib/types/Error/translations/__intergalactic-dynamic-locales.d.ts +1 -0
  19. package/lib/types/Error/translations/__intergalactic-dynamic-locales.d.ts.map +1 -0
  20. package/lib/types/NoData/NoData.d.ts +1 -0
  21. package/lib/types/NoData/NoData.d.ts.map +1 -0
  22. package/lib/types/NoData/NoData.type.d.ts +3 -2
  23. package/lib/types/NoData/NoData.type.d.ts.map +1 -0
  24. package/lib/types/NoData/translations/__intergalactic-dynamic-locales.d.ts +1 -0
  25. package/lib/types/NoData/translations/__intergalactic-dynamic-locales.d.ts.map +1 -0
  26. package/lib/types/WidgetEmpty.d.ts +1 -0
  27. package/lib/types/WidgetEmpty.d.ts.map +1 -0
  28. package/lib/types/WidgetEmpty.type.d.ts +6 -5
  29. package/lib/types/WidgetEmpty.type.d.ts.map +1 -0
  30. package/lib/types/index.d.ts +1 -0
  31. package/lib/types/index.d.ts.map +1 -0
  32. package/package.json +6 -6
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
+ ## [18.0.0] - 2026-09-28
6
+
7
+ ### BREAK
8
+
9
+ - New theme applied.
10
+
5
11
  ## [17.2.1] - 2026-06-26
6
12
 
7
13
  ### Fixed
@@ -1 +1 @@
1
- {"version":3,"file":"Error.type.js","names":[],"sources":["../../../src/Error/Error.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSWidgetEmpty } from '../WidgetEmpty.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSWidgetEmptyError {\n type Props = NSWidgetEmpty.Props &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type WidgetErrorProps = NSWidgetEmptyError.Props;\n\nexport type { NSWidgetEmptyError };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"Error.type.js","names":[],"sources":["../../../src/Error/Error.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSWidgetEmpty } from '../WidgetEmpty.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSWidgetEmptyError {\n type Props = NSWidgetEmpty.Props &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type WidgetErrorProps = NSWidgetEmptyError.Props;\n\nexport type { NSWidgetEmptyError };\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"NoData.type.js","names":[],"sources":["../../../src/NoData/NoData.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\n\nimport type { NSWidgetEmpty } from '../WidgetEmpty.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSWidgetEmptyNoData {\n type Props = NSWidgetEmpty.Props & WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n /** Data types */\n type?: TIllustrationNamesWidgetEmpty;\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n type: 'other-data';\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type WidgetNoDataProps = NSWidgetEmptyNoData.Props;\n/** @deprecated It will be removed in v18. */\nexport type iconNamesWidgetEmpty = TIllustrationNamesWidgetEmpty;\n\nexport type { NSWidgetEmptyNoData };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"NoData.type.js","names":[],"sources":["../../../src/NoData/NoData.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\n\nimport type { NSWidgetEmpty } from '../WidgetEmpty.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSWidgetEmptyNoData {\n type Props = NSWidgetEmpty.Props & WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n /** Data types */\n type?: TIllustrationNamesWidgetEmpty;\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n type: 'other-data';\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type WidgetNoDataProps = NSWidgetEmptyNoData.Props;\n/** @deprecated It will be removed in v19. */\nexport type iconNamesWidgetEmpty = TIllustrationNamesWidgetEmpty;\n\nexport type { NSWidgetEmptyNoData };\n"],"mappings":"","ignoreList":[]}
@@ -12,13 +12,13 @@ var _isNode = _interopRequireDefault(require("@semcore/core/lib/utils/isNode"));
12
12
  var _illustration = require("@semcore/illustration");
13
13
  var _react = _interopRequireDefault(require("react"));
14
14
  /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
15
- const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SWidgetEmpty_1bc8q_gg_{flex-direction:column;justify-content:center;align-items:center}.___SImage_1bc8q_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x,12px)}.___STitle_1bc8q_gg_{text-align:center;color:var(--intergalactic-text-secondary,#00030095);font-size:var(--intergalactic-fs-300,16px);line-height:var(--intergalactic-lh-300,150%);font-weight:var(--intergalactic-bold,700)}@media (color-gamut:p3){.___STitle_1bc8q_gg_{color:var(--intergalactic-text-secondary,oklch(.088 .026 147.7/.583))}}.___SDescription_1bc8q_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,142%);color:var(--intergalactic-text-secondary,#00030095);max-width:400px}@media (color-gamut:p3){.___SDescription_1bc8q_gg_{color:var(--intergalactic-text-secondary,oklch(.088 .026 147.7/.583))}}.___STitle_1bc8q_gg_+.___SDescription_1bc8q_gg_{margin-top:var(--intergalactic-spacing-1x,4px)}.___SDescription_1bc8q_gg_+.___SDescription_1bc8q_gg_{margin-top:var(--intergalactic-spacing-2x,8px)}", /*__inner_css_end__*/"1bc8q_gg_"),
15
+ const style = (/*__reshadow_css_start__*/_core.sstyled.insert(/*__inner_css_start__*/".___SWidgetEmpty_9ysxn_gg_{flex-direction:column;justify-content:center;align-items:center}.___SImage_9ysxn_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x,12px)}.___STitle_9ysxn_gg_{font-size:var(--intergalactic-fs-300,16px);line-height:var(--intergalactic-lh-300,1.5);font-weight:var(--intergalactic-bold,700)}.___SDescription_9ysxn_gg_,.___STitle_9ysxn_gg_{text-align:center;color:var(--intergalactic-text-secondary,oklch(.097 .023 156.5/.468))}.___SDescription_9ysxn_gg_{text-wrap:balance;font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286);max-width:400px}.___STitle_9ysxn_gg_+.___SDescription_9ysxn_gg_{margin-top:var(--intergalactic-spacing-1x,4px)}.___SDescription_9ysxn_gg_+.___SDescription_9ysxn_gg_{margin-top:var(--intergalactic-spacing-2x,8px)}", /*__inner_css_end__*/"9ysxn_gg_"),
16
16
  /*__reshadow_css_end__*/
17
17
  {
18
- "__SWidgetEmpty": "___SWidgetEmpty_1bc8q_gg_",
19
- "__SImage": "___SImage_1bc8q_gg_",
20
- "__STitle": "___STitle_1bc8q_gg_",
21
- "__SDescription": "___SDescription_1bc8q_gg_"
18
+ "__SWidgetEmpty": "___SWidgetEmpty_9ysxn_gg_",
19
+ "__SImage": "___SImage_9ysxn_gg_",
20
+ "__STitle": "___STitle_9ysxn_gg_",
21
+ "__SDescription": "___SDescription_9ysxn_gg_"
22
22
  });
23
23
  const getIconPath = name => (0, _illustration.getIllustrationPath)(name);
24
24
  exports.getIconPath = getIconPath;
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetEmpty.type.js","names":[],"sources":["../../src/WidgetEmpty.type.ts"],"sourcesContent":["import type { Box, FlexProps } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\n\ndeclare namespace NSWidgetEmpty {\n type Props = FlexProps & {\n /**\n * URL before the icon or the whole component\n */\n icon?: React.ReactNode;\n };\n\n namespace Title {\n type Component = typeof Box;\n }\n\n namespace Description {\n type Component = typeof Box;\n }\n\n type Component = Intergalactic.Component<'div', Props> & {\n Title: Title.Component;\n Description: Description.Component;\n };\n}\n\n/** @deprecated It will be removed in v18. */\nexport type WidgetEmptyProps = NSWidgetEmpty.Props;\n\nexport type { NSWidgetEmpty };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"WidgetEmpty.type.js","names":[],"sources":["../../src/WidgetEmpty.type.ts"],"sourcesContent":["import type { NSBox, NSFlex } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\n\ndeclare namespace NSWidgetEmpty {\n type Props = NSFlex.Props & {\n /**\n * URL before the icon or the whole component\n */\n icon?: React.ReactNode;\n };\n\n namespace Title {\n type Component = NSBox.Component;\n }\n\n namespace Description {\n type Component = NSBox.Component;\n }\n\n type Component = Intergalactic.Component<'div', Props> & {\n Title: Title.Component;\n Description: Description.Component;\n };\n}\n\n/** @deprecated It will be removed in v19. */\nexport type WidgetEmptyProps = NSWidgetEmpty.Props;\n\nexport type { NSWidgetEmpty };\n"],"mappings":"","ignoreList":[]}
@@ -13,9 +13,9 @@ SImage {
13
13
 
14
14
  STitle {
15
15
  text-align: center;
16
- color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
16
+ color: var(--intergalactic-text-secondary, oklch(0.097 0.023 156.5 / 0.468));
17
17
  font-size: var(--intergalactic-fs-300, 16px);
18
- line-height: var(--intergalactic-lh-300, 150%);
18
+ line-height: var(--intergalactic-lh-300, 1.5);
19
19
  font-weight: var(--intergalactic-bold, 700);
20
20
  }
21
21
 
@@ -23,8 +23,8 @@ SDescription {
23
23
  text-align: center;
24
24
  text-wrap: balance;
25
25
  font-size: var(--intergalactic-fs-200, 14px);
26
- line-height: var(--intergalactic-lh-200, 142%);
27
- color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
26
+ line-height: var(--intergalactic-lh-200, 1.4286);
27
+ color: var(--intergalactic-text-secondary, oklch(0.097 0.023 156.5 / 0.468));
28
28
  max-width: 400px;
29
29
  }
30
30
 
@@ -1 +1 @@
1
- {"version":3,"file":"Error.type.js","names":[],"sources":["../../../src/Error/Error.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSWidgetEmpty } from '../WidgetEmpty.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSWidgetEmptyError {\n type Props = NSWidgetEmpty.Props &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type WidgetErrorProps = NSWidgetEmptyError.Props;\n\nexport type { NSWidgetEmptyError };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"Error.type.js","names":[],"sources":["../../../src/Error/Error.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\n\nimport type { NSWidgetEmpty } from '../WidgetEmpty.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSWidgetEmptyError {\n type Props = NSWidgetEmpty.Props &\n WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type WidgetErrorProps = NSWidgetEmptyError.Props;\n\nexport type { NSWidgetEmptyError };\n"],"mappings":"","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"NoData.type.js","names":[],"sources":["../../../src/NoData/NoData.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\n\nimport type { NSWidgetEmpty } from '../WidgetEmpty.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSWidgetEmptyNoData {\n type Props = NSWidgetEmpty.Props & WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n /** Data types */\n type?: TIllustrationNamesWidgetEmpty;\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n type: 'other-data';\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n}\n\n/** @deprecated It will be removed in v18. */\nexport type WidgetNoDataProps = NSWidgetEmptyNoData.Props;\n/** @deprecated It will be removed in v18. */\nexport type iconNamesWidgetEmpty = TIllustrationNamesWidgetEmpty;\n\nexport type { NSWidgetEmptyNoData };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"NoData.type.js","names":[],"sources":["../../../src/NoData/NoData.type.ts"],"sourcesContent":["import type { Intergalactic } from '@semcore/core';\nimport type { WithI18nEnhanceProps } from '@semcore/core/lib/utils/enhances/i18nEnhance';\nimport type { TIllustrationNamesWidgetEmpty } from '@semcore/illustration';\n\nimport type { NSWidgetEmpty } from '../WidgetEmpty.type';\nimport type { LocalizedMessages } from './translations/__intergalactic-dynamic-locales';\n\ndeclare namespace NSWidgetEmptyNoData {\n type Props = NSWidgetEmpty.Props & WithI18nEnhanceProps & {\n /** Error description. If it is absent, use the local default one */\n description?: React.ReactNode;\n /** Data types */\n type?: TIllustrationNamesWidgetEmpty;\n };\n type DefaultProps = {\n i18n: LocalizedMessages;\n locale: 'en';\n type: 'other-data';\n };\n\n type Component = Intergalactic.Component<'div', Props>;\n}\n\n/** @deprecated It will be removed in v19. */\nexport type WidgetNoDataProps = NSWidgetEmptyNoData.Props;\n/** @deprecated It will be removed in v19. */\nexport type iconNamesWidgetEmpty = TIllustrationNamesWidgetEmpty;\n\nexport type { NSWidgetEmptyNoData };\n"],"mappings":"","ignoreList":[]}
@@ -9,13 +9,13 @@ import isNode from '@semcore/core/lib/utils/isNode';
9
9
  import { getIllustrationPath } from '@semcore/illustration';
10
10
  import React from 'react';
11
11
  /*!__reshadow-styles__:"./style/widget-empty.shadow.css"*/
12
- const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SWidgetEmpty_1bc8q_gg_{flex-direction:column;justify-content:center;align-items:center}.___SImage_1bc8q_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x,12px)}.___STitle_1bc8q_gg_{text-align:center;color:var(--intergalactic-text-secondary,#00030095);font-size:var(--intergalactic-fs-300,16px);line-height:var(--intergalactic-lh-300,150%);font-weight:var(--intergalactic-bold,700)}@media (color-gamut:p3){.___STitle_1bc8q_gg_{color:var(--intergalactic-text-secondary,oklch(.088 .026 147.7/.583))}}.___SDescription_1bc8q_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,142%);color:var(--intergalactic-text-secondary,#00030095);max-width:400px}@media (color-gamut:p3){.___SDescription_1bc8q_gg_{color:var(--intergalactic-text-secondary,oklch(.088 .026 147.7/.583))}}.___STitle_1bc8q_gg_+.___SDescription_1bc8q_gg_{margin-top:var(--intergalactic-spacing-1x,4px)}.___SDescription_1bc8q_gg_+.___SDescription_1bc8q_gg_{margin-top:var(--intergalactic-spacing-2x,8px)}", /*__inner_css_end__*/"1bc8q_gg_"),
12
+ const style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SWidgetEmpty_9ysxn_gg_{flex-direction:column;justify-content:center;align-items:center}.___SImage_9ysxn_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x,12px)}.___STitle_9ysxn_gg_{font-size:var(--intergalactic-fs-300,16px);line-height:var(--intergalactic-lh-300,1.5);font-weight:var(--intergalactic-bold,700)}.___SDescription_9ysxn_gg_,.___STitle_9ysxn_gg_{text-align:center;color:var(--intergalactic-text-secondary,oklch(.097 .023 156.5/.468))}.___SDescription_9ysxn_gg_{text-wrap:balance;font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286);max-width:400px}.___STitle_9ysxn_gg_+.___SDescription_9ysxn_gg_{margin-top:var(--intergalactic-spacing-1x,4px)}.___SDescription_9ysxn_gg_+.___SDescription_9ysxn_gg_{margin-top:var(--intergalactic-spacing-2x,8px)}", /*__inner_css_end__*/"9ysxn_gg_"),
13
13
  /*__reshadow_css_end__*/
14
14
  {
15
- "__SWidgetEmpty": "___SWidgetEmpty_1bc8q_gg_",
16
- "__SImage": "___SImage_1bc8q_gg_",
17
- "__STitle": "___STitle_1bc8q_gg_",
18
- "__SDescription": "___SDescription_1bc8q_gg_"
15
+ "__SWidgetEmpty": "___SWidgetEmpty_9ysxn_gg_",
16
+ "__SImage": "___SImage_9ysxn_gg_",
17
+ "__STitle": "___STitle_9ysxn_gg_",
18
+ "__SDescription": "___SDescription_9ysxn_gg_"
19
19
  });
20
20
  export const getIconPath = name => getIllustrationPath(name);
21
21
  class WidgetEmpty extends Component {
@@ -1 +1 @@
1
- {"version":3,"file":"WidgetEmpty.type.js","names":[],"sources":["../../src/WidgetEmpty.type.ts"],"sourcesContent":["import type { Box, FlexProps } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\n\ndeclare namespace NSWidgetEmpty {\n type Props = FlexProps & {\n /**\n * URL before the icon or the whole component\n */\n icon?: React.ReactNode;\n };\n\n namespace Title {\n type Component = typeof Box;\n }\n\n namespace Description {\n type Component = typeof Box;\n }\n\n type Component = Intergalactic.Component<'div', Props> & {\n Title: Title.Component;\n Description: Description.Component;\n };\n}\n\n/** @deprecated It will be removed in v18. */\nexport type WidgetEmptyProps = NSWidgetEmpty.Props;\n\nexport type { NSWidgetEmpty };\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"WidgetEmpty.type.js","names":[],"sources":["../../src/WidgetEmpty.type.ts"],"sourcesContent":["import type { NSBox, NSFlex } from '@semcore/base-components';\nimport type { Intergalactic } from '@semcore/core';\n\ndeclare namespace NSWidgetEmpty {\n type Props = NSFlex.Props & {\n /**\n * URL before the icon or the whole component\n */\n icon?: React.ReactNode;\n };\n\n namespace Title {\n type Component = NSBox.Component;\n }\n\n namespace Description {\n type Component = NSBox.Component;\n }\n\n type Component = Intergalactic.Component<'div', Props> & {\n Title: Title.Component;\n Description: Description.Component;\n };\n}\n\n/** @deprecated It will be removed in v19. */\nexport type WidgetEmptyProps = NSWidgetEmpty.Props;\n\nexport type { NSWidgetEmpty };\n"],"mappings":"","ignoreList":[]}
@@ -13,9 +13,9 @@ SImage {
13
13
 
14
14
  STitle {
15
15
  text-align: center;
16
- color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
16
+ color: var(--intergalactic-text-secondary, oklch(0.097 0.023 156.5 / 0.468));
17
17
  font-size: var(--intergalactic-fs-300, 16px);
18
- line-height: var(--intergalactic-lh-300, 150%);
18
+ line-height: var(--intergalactic-lh-300, 1.5);
19
19
  font-weight: var(--intergalactic-bold, 700);
20
20
  }
21
21
 
@@ -23,8 +23,8 @@ SDescription {
23
23
  text-align: center;
24
24
  text-wrap: balance;
25
25
  font-size: var(--intergalactic-fs-200, 14px);
26
- line-height: var(--intergalactic-lh-200, 142%);
27
- color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
26
+ line-height: var(--intergalactic-lh-200, 1.4286);
27
+ color: var(--intergalactic-text-secondary, oklch(0.097 0.023 156.5 / 0.468));
28
28
  max-width: 400px;
29
29
  }
30
30
 
@@ -9,15 +9,15 @@ const style = (
9
9
  /*__reshadow_css_start__*/
10
10
  (sstyled.insert(
11
11
  /*__inner_css_start__*/
12
- ".___SWidgetEmpty_1bc8q_gg_{flex-direction:column;justify-content:center;align-items:center}.___SImage_1bc8q_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x,12px)}.___STitle_1bc8q_gg_{text-align:center;color:var(--intergalactic-text-secondary,#00030095);font-size:var(--intergalactic-fs-300,16px);line-height:var(--intergalactic-lh-300,150%);font-weight:var(--intergalactic-bold,700)}@media (color-gamut:p3){.___STitle_1bc8q_gg_{color:var(--intergalactic-text-secondary,oklch(.088 .026 147.7/.583))}}.___SDescription_1bc8q_gg_{text-align:center;text-wrap:balance;font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,142%);color:var(--intergalactic-text-secondary,#00030095);max-width:400px}@media (color-gamut:p3){.___SDescription_1bc8q_gg_{color:var(--intergalactic-text-secondary,oklch(.088 .026 147.7/.583))}}.___STitle_1bc8q_gg_+.___SDescription_1bc8q_gg_{margin-top:var(--intergalactic-spacing-1x,4px)}.___SDescription_1bc8q_gg_+.___SDescription_1bc8q_gg_{margin-top:var(--intergalactic-spacing-2x,8px)}",
12
+ ".___SWidgetEmpty_9ysxn_gg_{flex-direction:column;justify-content:center;align-items:center}.___SImage_9ysxn_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x,12px)}.___STitle_9ysxn_gg_{font-size:var(--intergalactic-fs-300,16px);line-height:var(--intergalactic-lh-300,1.5);font-weight:var(--intergalactic-bold,700)}.___SDescription_9ysxn_gg_,.___STitle_9ysxn_gg_{text-align:center;color:var(--intergalactic-text-secondary,oklch(.097 .023 156.5/.468))}.___SDescription_9ysxn_gg_{text-wrap:balance;font-size:var(--intergalactic-fs-200,14px);line-height:var(--intergalactic-lh-200,1.4286);max-width:400px}.___STitle_9ysxn_gg_+.___SDescription_9ysxn_gg_{margin-top:var(--intergalactic-spacing-1x,4px)}.___SDescription_9ysxn_gg_+.___SDescription_9ysxn_gg_{margin-top:var(--intergalactic-spacing-2x,8px)}",
13
13
  /*__inner_css_end__*/
14
- "1bc8q_gg_"
14
+ "9ysxn_gg_"
15
15
  ), /*__reshadow_css_end__*/
16
16
  {
17
- "__SWidgetEmpty": "___SWidgetEmpty_1bc8q_gg_",
18
- "__SImage": "___SImage_1bc8q_gg_",
19
- "__STitle": "___STitle_1bc8q_gg_",
20
- "__SDescription": "___SDescription_1bc8q_gg_"
17
+ "__SWidgetEmpty": "___SWidgetEmpty_9ysxn_gg_",
18
+ "__SImage": "___SImage_9ysxn_gg_",
19
+ "__STitle": "___STitle_9ysxn_gg_",
20
+ "__SDescription": "___SDescription_9ysxn_gg_"
21
21
  })
22
22
  );
23
23
  const getIconPath = (name) => getIllustrationPath(name);
@@ -13,9 +13,9 @@ SImage {
13
13
 
14
14
  STitle {
15
15
  text-align: center;
16
- color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
16
+ color: var(--intergalactic-text-secondary, oklch(0.097 0.023 156.5 / 0.468));
17
17
  font-size: var(--intergalactic-fs-300, 16px);
18
- line-height: var(--intergalactic-lh-300, 150%);
18
+ line-height: var(--intergalactic-lh-300, 1.5);
19
19
  font-weight: var(--intergalactic-bold, 700);
20
20
  }
21
21
 
@@ -23,8 +23,8 @@ SDescription {
23
23
  text-align: center;
24
24
  text-wrap: balance;
25
25
  font-size: var(--intergalactic-fs-200, 14px);
26
- line-height: var(--intergalactic-lh-200, 142%);
27
- color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
26
+ line-height: var(--intergalactic-lh-200, 1.4286);
27
+ color: var(--intergalactic-text-secondary, oklch(0.097 0.023 156.5 / 0.468));
28
28
  max-width: 400px;
29
29
  }
30
30
 
@@ -6,3 +6,4 @@ import type { NSWidgetEmptyError } from './Error.type';
6
6
  */
7
7
  declare const _default: NSWidgetEmptyError.Component;
8
8
  export default _default;
9
+ //# sourceMappingURL=Error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Error.d.ts","sourceRoot":"","sources":["../../../src/Error/Error.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAkCvD;;;;GAIG;;AACH,wBAAkF"}
@@ -13,6 +13,7 @@ declare namespace NSWidgetEmptyError {
13
13
  };
14
14
  type Component = Intergalactic.Component<'div', Props>;
15
15
  }
16
- /** @deprecated It will be removed in v18. */
16
+ /** @deprecated It will be removed in v19. */
17
17
  export type WidgetErrorProps = NSWidgetEmptyError.Props;
18
18
  export type { NSWidgetEmptyError };
19
+ //# sourceMappingURL=Error.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Error.type.d.ts","sourceRoot":"","sources":["../../../src/Error/Error.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAEzF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAExF,OAAO,WAAW,kBAAkB,CAAC;IACjC,KAAK,KAAK,GAAG,aAAa,CAAC,KAAK,GAC9B,oBAAoB,GAAG;QACrB,oEAAoE;QACpE,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KAC/B,CAAC;IACJ,KAAK,YAAY,GAAG;QAClB,IAAI,EAAE,iBAAiB,CAAC;QACxB,MAAM,EAAE,IAAI,CAAC;KACd,CAAC;IAEF,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;CAC1D;AAED,6CAA6C;AAC7C,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,CAAC,KAAK,CAAC;AAExD,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
@@ -61,3 +61,4 @@ export declare const localizedMessages: {
61
61
  };
62
62
  };
63
63
  export type LocalizedMessages = typeof localizedMessages;
64
+ //# sourceMappingURL=__intergalactic-dynamic-locales.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"__intergalactic-dynamic-locales.d.ts","sourceRoot":"","sources":["../../../../src/Error/translations/__intergalactic-dynamic-locales.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC"}
@@ -6,3 +6,4 @@ import type { NSWidgetEmptyNoData } from './NoData.type';
6
6
  */
7
7
  declare const _default: NSWidgetEmptyNoData.Component;
8
8
  export default _default;
9
+ //# sourceMappingURL=NoData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoData.d.ts","sourceRoot":"","sources":["../../../src/NoData/NoData.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAkCzD;;;;GAIG;;AACH,wBAAqF"}
@@ -17,8 +17,9 @@ declare namespace NSWidgetEmptyNoData {
17
17
  };
18
18
  type Component = Intergalactic.Component<'div', Props>;
19
19
  }
20
- /** @deprecated It will be removed in v18. */
20
+ /** @deprecated It will be removed in v19. */
21
21
  export type WidgetNoDataProps = NSWidgetEmptyNoData.Props;
22
- /** @deprecated It will be removed in v18. */
22
+ /** @deprecated It will be removed in v19. */
23
23
  export type iconNamesWidgetEmpty = TIllustrationNamesWidgetEmpty;
24
24
  export type { NSWidgetEmptyNoData };
25
+ //# sourceMappingURL=NoData.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoData.type.d.ts","sourceRoot":"","sources":["../../../src/NoData/NoData.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAE3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AAExF,OAAO,WAAW,mBAAmB,CAAC;IAClC,KAAK,KAAK,GAAG,aAAa,CAAC,KAAK,GAAG,oBAAoB,GAAG;QACxD,oEAAoE;QACpE,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QAC9B,iBAAiB;QACjB,IAAI,CAAC,EAAE,6BAA6B,CAAC;KACtC,CAAC;IACF,KAAK,YAAY,GAAG;QAClB,IAAI,EAAE,iBAAiB,CAAC;QACxB,MAAM,EAAE,IAAI,CAAC;QACb,IAAI,EAAE,YAAY,CAAC;KACpB,CAAC;IAEF,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;CAC1D;AAED,6CAA6C;AAC7C,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,CAAC,KAAK,CAAC;AAC1D,6CAA6C;AAC7C,MAAM,MAAM,oBAAoB,GAAG,6BAA6B,CAAC;AAEjE,YAAY,EAAE,mBAAmB,EAAE,CAAC"}
@@ -61,3 +61,4 @@ export declare const localizedMessages: {
61
61
  };
62
62
  };
63
63
  export type LocalizedMessages = typeof localizedMessages;
64
+ //# sourceMappingURL=__intergalactic-dynamic-locales.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"__intergalactic-dynamic-locales.d.ts","sourceRoot":"","sources":["../../../../src/NoData/translations/__intergalactic-dynamic-locales.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC"}
@@ -8,3 +8,4 @@ export declare const getIconPath: (name: TIllustrationNamesWidgetEmpty) => strin
8
8
  */
9
9
  declare const _default: NSWidgetEmpty.Component;
10
10
  export default _default;
11
+ //# sourceMappingURL=WidgetEmpty.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WidgetEmpty.d.ts","sourceRoot":"","sources":["../../src/WidgetEmpty.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAK3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,eAAO,MAAM,WAAW,GAAI,MAAM,6BAA6B,WAA8B,CAAC;AAsC9F;;;;GAIG;;AACH,wBAGG"}
@@ -1,23 +1,24 @@
1
- import type { Box, FlexProps } from '@semcore/base-components';
1
+ import type { NSBox, NSFlex } from '@semcore/base-components';
2
2
  import type { Intergalactic } from '@semcore/core';
3
3
  declare namespace NSWidgetEmpty {
4
- type Props = FlexProps & {
4
+ type Props = NSFlex.Props & {
5
5
  /**
6
6
  * URL before the icon or the whole component
7
7
  */
8
8
  icon?: React.ReactNode;
9
9
  };
10
10
  namespace Title {
11
- type Component = typeof Box;
11
+ type Component = NSBox.Component;
12
12
  }
13
13
  namespace Description {
14
- type Component = typeof Box;
14
+ type Component = NSBox.Component;
15
15
  }
16
16
  type Component = Intergalactic.Component<'div', Props> & {
17
17
  Title: Title.Component;
18
18
  Description: Description.Component;
19
19
  };
20
20
  }
21
- /** @deprecated It will be removed in v18. */
21
+ /** @deprecated It will be removed in v19. */
22
22
  export type WidgetEmptyProps = NSWidgetEmpty.Props;
23
23
  export type { NSWidgetEmpty };
24
+ //# sourceMappingURL=WidgetEmpty.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WidgetEmpty.type.d.ts","sourceRoot":"","sources":["../../src/WidgetEmpty.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,WAAW,aAAa,CAAC;IAC5B,KAAK,KAAK,GAAG,MAAM,CAAC,KAAK,GAAG;QAC1B;;WAEG;QACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KACxB,CAAC;IAEF,UAAU,KAAK,CAAC;QACZ,KAAK,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;KACpC;IAED,UAAU,WAAW,CAAC;QAClB,KAAK,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;KACpC;IAED,KAAK,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG;QACvD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;QACvB,WAAW,EAAE,WAAW,CAAC,SAAS,CAAC;KACpC,CAAC;CACL;AAED,6CAA6C;AAC7C,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,KAAK,CAAC;AAEnD,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -4,3 +4,4 @@ export { default as Error } from './Error/Error';
4
4
  export * from './WidgetEmpty.type';
5
5
  export * from './NoData/NoData.type';
6
6
  export * from './Error/Error.type';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,eAAe,CAAC;AAEjD,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/widget-empty",
3
3
  "description": "Semrush WidgetEmpty Component",
4
- "version": "17.2.1",
4
+ "version": "18.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,10 +14,10 @@
14
14
  "require": "./lib/cjs/index.js"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/illustration": "^17.0.1"
17
+ "@semcore/illustration": "^18.0.0-prerelease.0"
18
18
  },
19
19
  "peerDependencies": {
20
- "@semcore/base-components": "^17.2.1"
20
+ "@semcore/base-components": "^18.0.0-prerelease.0"
21
21
  },
22
22
  "repository": {
23
23
  "type": "git",
@@ -25,9 +25,9 @@
25
25
  "directory": "semcore/widget-empty"
26
26
  },
27
27
  "devDependencies": {
28
- "@semcore/core": "17.2.1",
29
- "@semcore/testing-utils": "1.0.0",
30
- "@semcore/base-components": "17.2.1"
28
+ "@semcore/core": "18.0.0-prerelease.0",
29
+ "@semcore/base-components": "18.0.0-prerelease.0",
30
+ "@semcore/testing-utils": "1.0.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "pnpm semcore-builder && pnpm vite build"