@semcore/widget-empty 17.2.1-prerelease.9 → 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.
- package/CHANGELOG.md +6 -0
- package/lib/cjs/WidgetEmpty.js +5 -5
- package/lib/cjs/style/widget-empty.shadow.css +4 -4
- package/lib/es6/WidgetEmpty.js +5 -5
- package/lib/es6/style/widget-empty.shadow.css +4 -4
- package/lib/esm/WidgetEmpty.mjs +6 -6
- package/lib/esm/style/widget-empty.shadow.css +4 -4
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/lib/cjs/WidgetEmpty.js
CHANGED
|
@@ -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__*/".
|
|
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": "
|
|
19
|
-
"__SImage": "
|
|
20
|
-
"__STitle": "
|
|
21
|
-
"__SDescription": "
|
|
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;
|
|
@@ -13,9 +13,9 @@ SImage {
|
|
|
13
13
|
|
|
14
14
|
STitle {
|
|
15
15
|
text-align: center;
|
|
16
|
-
color: var(--intergalactic-text-secondary, oklch(0.
|
|
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,
|
|
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,
|
|
27
|
-
color: var(--intergalactic-text-secondary, oklch(0.
|
|
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
|
|
package/lib/es6/WidgetEmpty.js
CHANGED
|
@@ -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__*/".
|
|
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": "
|
|
16
|
-
"__SImage": "
|
|
17
|
-
"__STitle": "
|
|
18
|
-
"__SDescription": "
|
|
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 {
|
|
@@ -13,9 +13,9 @@ SImage {
|
|
|
13
13
|
|
|
14
14
|
STitle {
|
|
15
15
|
text-align: center;
|
|
16
|
-
color: var(--intergalactic-text-secondary, oklch(0.
|
|
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,
|
|
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,
|
|
27
|
-
color: var(--intergalactic-text-secondary, oklch(0.
|
|
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
|
|
package/lib/esm/WidgetEmpty.mjs
CHANGED
|
@@ -9,15 +9,15 @@ const style = (
|
|
|
9
9
|
/*__reshadow_css_start__*/
|
|
10
10
|
(sstyled.insert(
|
|
11
11
|
/*__inner_css_start__*/
|
|
12
|
-
".
|
|
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
|
-
"
|
|
14
|
+
"9ysxn_gg_"
|
|
15
15
|
), /*__reshadow_css_end__*/
|
|
16
16
|
{
|
|
17
|
-
"__SWidgetEmpty": "
|
|
18
|
-
"__SImage": "
|
|
19
|
-
"__STitle": "
|
|
20
|
-
"__SDescription": "
|
|
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.
|
|
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,
|
|
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,
|
|
27
|
-
color: var(--intergalactic-text-secondary, oklch(0.
|
|
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
|
|
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
|
+
"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
|
+
"@semcore/illustration": "^18.0.0-prerelease.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@semcore/base-components": "^
|
|
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/
|
|
29
|
-
"@semcore/
|
|
30
|
-
"@semcore/
|
|
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"
|