@semcore/card 5.43.3 → 5.43.4-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/Card.js +6 -6
- package/lib/cjs/index.d.js.map +1 -1
- package/lib/es6/Card.js +6 -6
- package/lib/es6/index.d.js.map +1 -1
- package/lib/types/index.d.ts +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/lib/cjs/Card.js
CHANGED
|
@@ -22,12 +22,12 @@ var _tooltip = require("@semcore/tooltip");
|
|
|
22
22
|
var _m = _interopRequireDefault(require("@semcore/icon/Info/m"));
|
|
23
23
|
var _findComponent = require("@semcore/utils/lib/findComponent");
|
|
24
24
|
/*__reshadow-styles__:"./style/card.shadow.css"*/
|
|
25
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
|
26
|
-
"__SDescription": "
|
|
27
|
-
"__SHeader": "
|
|
28
|
-
"__SBody": "
|
|
29
|
-
"__SCard": "
|
|
30
|
-
"__STitle": "
|
|
25
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SCard_dcmss_gg_{box-sizing:border-box;background:var(--intergalactic-bg-primary-neutral, #ffffff);padding:0;border:0;border-radius:var(--intergalactic-surface-rounded, 6px);box-shadow:var(--intergalactic-box-shadow-card,\n 0px 0px 1px 0px rgba(25, 27, 35, 0.16), 0px 1px 2px 0px rgba(25, 27, 35, 0.12)\n )}.___SCard_dcmss_gg_ .___STitle_dcmss_gg_{color:var(--intergalactic-text-primary, #191b23);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SCard_dcmss_gg_ [data-ui-name=\"DescriptionTooltip.Trigger\"]{margin-right:var(--intergalactic-spacing-1x, 4px);line-height:normal;vertical-align:top;margin-top:calc(var(--intergalactic-spacing-1x, 4px)/2)}.___SDescription_dcmss_gg_{margin-bottom:0;margin-top:var(--intergalactic-spacing-2x, 8px);font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-secondary, #6c6e79)}.___SBody_dcmss_gg_,.___SHeader_dcmss_gg_{padding-left:var(--intergalactic-spacing-5x, 20px);padding-right:var(--intergalactic-spacing-5x, 20px)}.___SHeader_dcmss_gg_{padding-top:var(--intergalactic-spacing-2x, 8px);padding-bottom:var(--intergalactic-spacing-2x, 8px);box-shadow:inset 0-1px 0 var(--intergalactic-border-secondary, #e0e1e9)}.___SBody_dcmss_gg_{color:var(--intergalactic-text-primary, #191b23);padding-bottom:var(--intergalactic-spacing-5x, 20px);padding-top:var(--intergalactic-spacing-5x, 20px)}" /*__inner_css_end__*/, "dcmss_gg_") /*__reshadow_css_end__*/, {
|
|
26
|
+
"__SDescription": "___SDescription_dcmss_gg_",
|
|
27
|
+
"__SHeader": "___SHeader_dcmss_gg_",
|
|
28
|
+
"__SBody": "___SBody_dcmss_gg_",
|
|
29
|
+
"__SCard": "___SCard_dcmss_gg_",
|
|
30
|
+
"__STitle": "___STitle_dcmss_gg_"
|
|
31
31
|
});
|
|
32
32
|
var CardRoot = /*#__PURE__*/function (_Component) {
|
|
33
33
|
(0, _inherits2["default"])(CardRoot, _Component);
|
package/lib/cjs/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties, Intergalactic } from '@semcore/core';\nimport { Box, BoxProps } from '@semcore/flex-box';\nimport { Text, TextProps } from '@semcore/typography';\n\n/** @deprecated */\nexport interface ITitleProps extends TitleProps, UnknownProperties {}\nexport type TitleProps = TextProps & {\n /**\n * Content of the
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties, Intergalactic } from '@semcore/core';\nimport { Box, BoxProps } from '@semcore/flex-box';\nimport { Text, TextProps } from '@semcore/typography';\n\n/** @deprecated */\nexport interface ITitleProps extends TitleProps, UnknownProperties {}\nexport type TitleProps = TextProps & {\n /**\n * Content of the Informer that's displayed in the end of the title. Use it if you don't need Title with Ellipsis.\n */\n innerHint?: React.ReactNode;\n /**\n * Content of the Informer that's displayed right after the title. Useful in case of using Title with Ellipsis.\n */\n hintAfter?: React.ReactNode;\n /**\n * Renamed to `hintAfter`\n * @deprecated\n */\n hint?: React.ReactNode;\n /** Aria-label for the InnerHint icon */\n innerHintAriaLabel?: string;\n /** Aria-label for the HintAfter icon */\n hintAfterAriaLabel?: string;\n};\n\ndeclare const Card: Intergalactic.Component<'div', BoxProps> & {\n Title: Intergalactic.Component<'div', TitleProps>;\n Description: typeof Text;\n Header: typeof Box;\n Body: typeof Box;\n};\n\nexport default Card;\n"],"mappings":""}
|
package/lib/es6/Card.js
CHANGED
|
@@ -18,12 +18,12 @@ import { ButtonLink } from '@semcore/button';
|
|
|
18
18
|
import { DescriptionTooltip } from '@semcore/tooltip';
|
|
19
19
|
import InfoM from '@semcore/icon/Info/m';
|
|
20
20
|
/*__reshadow-styles__:"./style/card.shadow.css"*/
|
|
21
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
22
|
-
"__SDescription": "
|
|
23
|
-
"__SHeader": "
|
|
24
|
-
"__SBody": "
|
|
25
|
-
"__SCard": "
|
|
26
|
-
"__STitle": "
|
|
21
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCard_dcmss_gg_{box-sizing:border-box;background:var(--intergalactic-bg-primary-neutral, #ffffff);padding:0;border:0;border-radius:var(--intergalactic-surface-rounded, 6px);box-shadow:var(--intergalactic-box-shadow-card,\n 0px 0px 1px 0px rgba(25, 27, 35, 0.16), 0px 1px 2px 0px rgba(25, 27, 35, 0.12)\n )}.___SCard_dcmss_gg_ .___STitle_dcmss_gg_{color:var(--intergalactic-text-primary, #191b23);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700);margin-right:var(--intergalactic-spacing-1x, 4px)}.___SCard_dcmss_gg_ [data-ui-name=\"DescriptionTooltip.Trigger\"]{margin-right:var(--intergalactic-spacing-1x, 4px);line-height:normal;vertical-align:top;margin-top:calc(var(--intergalactic-spacing-1x, 4px)/2)}.___SDescription_dcmss_gg_{margin-bottom:0;margin-top:var(--intergalactic-spacing-2x, 8px);font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-secondary, #6c6e79)}.___SBody_dcmss_gg_,.___SHeader_dcmss_gg_{padding-left:var(--intergalactic-spacing-5x, 20px);padding-right:var(--intergalactic-spacing-5x, 20px)}.___SHeader_dcmss_gg_{padding-top:var(--intergalactic-spacing-2x, 8px);padding-bottom:var(--intergalactic-spacing-2x, 8px);box-shadow:inset 0-1px 0 var(--intergalactic-border-secondary, #e0e1e9)}.___SBody_dcmss_gg_{color:var(--intergalactic-text-primary, #191b23);padding-bottom:var(--intergalactic-spacing-5x, 20px);padding-top:var(--intergalactic-spacing-5x, 20px)}" /*__inner_css_end__*/, "dcmss_gg_") /*__reshadow_css_end__*/, {
|
|
22
|
+
"__SDescription": "___SDescription_dcmss_gg_",
|
|
23
|
+
"__SHeader": "___SHeader_dcmss_gg_",
|
|
24
|
+
"__SBody": "___SBody_dcmss_gg_",
|
|
25
|
+
"__SCard": "___SCard_dcmss_gg_",
|
|
26
|
+
"__STitle": "___STitle_dcmss_gg_"
|
|
27
27
|
});
|
|
28
28
|
import { isAdvanceMode } from '@semcore/utils/lib/findComponent';
|
|
29
29
|
var CardRoot = /*#__PURE__*/function (_Component) {
|
package/lib/es6/index.d.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties, Intergalactic } from '@semcore/core';\nimport { Box, BoxProps } from '@semcore/flex-box';\nimport { Text, TextProps } from '@semcore/typography';\n\n/** @deprecated */\nexport interface ITitleProps extends TitleProps, UnknownProperties {}\nexport type TitleProps = TextProps & {\n /**\n * Content of the
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { UnknownProperties, Intergalactic } from '@semcore/core';\nimport { Box, BoxProps } from '@semcore/flex-box';\nimport { Text, TextProps } from '@semcore/typography';\n\n/** @deprecated */\nexport interface ITitleProps extends TitleProps, UnknownProperties {}\nexport type TitleProps = TextProps & {\n /**\n * Content of the Informer that's displayed in the end of the title. Use it if you don't need Title with Ellipsis.\n */\n innerHint?: React.ReactNode;\n /**\n * Content of the Informer that's displayed right after the title. Useful in case of using Title with Ellipsis.\n */\n hintAfter?: React.ReactNode;\n /**\n * Renamed to `hintAfter`\n * @deprecated\n */\n hint?: React.ReactNode;\n /** Aria-label for the InnerHint icon */\n innerHintAriaLabel?: string;\n /** Aria-label for the HintAfter icon */\n hintAfterAriaLabel?: string;\n};\n\ndeclare const Card: Intergalactic.Component<'div', BoxProps> & {\n Title: Intergalactic.Component<'div', TitleProps>;\n Description: typeof Text;\n Header: typeof Box;\n Body: typeof Box;\n};\n\nexport default Card;\n"],"mappings":""}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -7,11 +7,11 @@ import { Text, TextProps } from '@semcore/typography';
|
|
|
7
7
|
export interface ITitleProps extends TitleProps, UnknownProperties {}
|
|
8
8
|
export type TitleProps = TextProps & {
|
|
9
9
|
/**
|
|
10
|
-
* Content of the
|
|
10
|
+
* Content of the Informer that's displayed in the end of the title. Use it if you don't need Title with Ellipsis.
|
|
11
11
|
*/
|
|
12
12
|
innerHint?: React.ReactNode;
|
|
13
13
|
/**
|
|
14
|
-
* Content of the
|
|
14
|
+
* Content of the Informer that's displayed right after the title. Useful in case of using Title with Ellipsis.
|
|
15
15
|
*/
|
|
16
16
|
hintAfter?: React.ReactNode;
|
|
17
17
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/card",
|
|
3
3
|
"description": "Semrush Card Component",
|
|
4
|
-
"version": "5.43.
|
|
4
|
+
"version": "5.43.4-prerelease.0",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/utils": "4.43.
|
|
13
|
-
"@semcore/flex-box": "5.38.
|
|
14
|
-
"@semcore/typography": "5.47.
|
|
15
|
-
"@semcore/tooltip": "6.46.
|
|
16
|
-
"@semcore/button": "5.39.
|
|
17
|
-
"@semcore/icon": "4.52.
|
|
12
|
+
"@semcore/utils": "4.43.3-prerelease.0",
|
|
13
|
+
"@semcore/flex-box": "5.38.2-prerelease.0",
|
|
14
|
+
"@semcore/typography": "5.47.2-prerelease.0",
|
|
15
|
+
"@semcore/tooltip": "6.46.3-prerelease.0",
|
|
16
|
+
"@semcore/button": "5.39.4-prerelease.0",
|
|
17
|
+
"@semcore/icon": "4.52.2-prerelease.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@semcore/core": "^2.
|
|
20
|
+
"@semcore/core": "^2.36.2-prerelease.0",
|
|
21
21
|
"react": "16.8 - 18",
|
|
22
22
|
"react-dom": "16.8 - 18"
|
|
23
23
|
},
|