@semcore/typography 5.26.2-prerelease.3 → 5.26.3-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 +7 -1
- package/lib/cjs/Blockquote.js +4 -4
- package/lib/cjs/Hint.js +7 -7
- package/lib/cjs/List.js +5 -5
- package/lib/cjs/Text.js +34 -34
- package/lib/cjs/index.d.js.map +1 -1
- package/lib/es6/Blockquote.js +4 -4
- package/lib/es6/Hint.js +7 -7
- package/lib/es6/List.js +5 -5
- package/lib/es6/Text.js +34 -34
- package/lib/es6/index.d.js.map +1 -1
- package/lib/types/index.d.ts +4 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [5.26.
|
|
5
|
+
## [5.26.3-prerelease.1] - 2024-03-01
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Version prepatch update due to children dependencies update (`@semcore/utils` [4.20.3 ~> 4.20.4], `@semcore/flex-box` [5.19.2 ~> 5.19.3], `@semcore/icon` [4.26.1 ~> 4.27.0], `@semcore/core` [2.17.3 ~> 2.17.4]).
|
|
10
|
+
|
|
11
|
+
## [5.26.2] - 2024-02-21
|
|
6
12
|
|
|
7
13
|
### Changed
|
|
8
14
|
|
package/lib/cjs/Blockquote.js
CHANGED
|
@@ -11,10 +11,10 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
11
|
var _isNode = _interopRequireDefault(require("@semcore/utils/lib/isNode"));
|
|
12
12
|
var _flexBox = require("@semcore/flex-box");
|
|
13
13
|
/*__reshadow-styles__:"./style/blockquote.shadow.css"*/
|
|
14
|
-
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
15
|
-
"__SBlockquote": "
|
|
16
|
-
"__SDoubleQuotation": "
|
|
17
|
-
"__SAuthor": "
|
|
14
|
+
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBlockquote_o3r2b_gg_{position:relative;display:flex;font-style:italic;font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%);color:var(--intergalactic-text-primary, #191b23)}.___SDoubleQuotation_o3r2b_gg_{position:relative;margin-right:var(--intergalactic-spacing-5x, 20px);font-family:\"Times New Roman\",serif;font-style:normal;font-size:68px;line-height:52px;color:var(--intergalactic-text-large-secondary, #a9abb6)}.___SAuthor_o3r2b_gg_{display:block;margin-top:var(--intergalactic-spacing-4x, 16px);color:var(--intergalactic-text-secondary, #6c6e79);font-style:normal;font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}" /*__inner_css_end__*/, "o3r2b_gg_") /*__reshadow_css_end__*/, {
|
|
15
|
+
"__SBlockquote": "___SBlockquote_o3r2b_gg_",
|
|
16
|
+
"__SDoubleQuotation": "___SDoubleQuotation_o3r2b_gg_",
|
|
17
|
+
"__SAuthor": "___SAuthor_o3r2b_gg_"
|
|
18
18
|
});
|
|
19
19
|
function Blockquote(props, ref) {
|
|
20
20
|
var _ref = arguments[0],
|
package/lib/cjs/Hint.js
CHANGED
|
@@ -19,13 +19,13 @@ var _keyboardFocusEnhance = _interopRequireDefault(require("@semcore/utils/lib/e
|
|
|
19
19
|
var _addonTextChildren = _interopRequireDefault(require("@semcore/utils/lib/addonTextChildren"));
|
|
20
20
|
var _Text = _interopRequireDefault(require("./Text"));
|
|
21
21
|
/*__reshadow-styles__:"./style/hint.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
-
"__SHint": "
|
|
24
|
-
"_keyboardFocused": "
|
|
25
|
-
"_disabled": "
|
|
26
|
-
"__SAddon": "
|
|
27
|
-
"__SText": "
|
|
28
|
-
"_active": "
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SHint_wibx2_gg_{display:inline-block;transition:all .15s ease-in-out;-webkit-text-decoration:none;text-decoration:none;outline:0;cursor:pointer;color:var(--intergalactic-text-secondary, #6c6e79)}.___SHint_wibx2_gg_.__active_wibx2_gg_,.___SHint_wibx2_gg_:active{color:var(--intergalactic-text-hint-hover-active, #484a54)}@media (hover:hover){.___SHint_wibx2_gg_:hover{color:var(--intergalactic-text-hint-hover-active, #484a54)}}.___SHint_wibx2_gg_.__keyboardFocused_wibx2_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHint_wibx2_gg_.__disabled_wibx2_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_wibx2_gg_{vertical-align:middle;display:inline-flex}.___SHint_wibx2_gg_ .___SAddon_wibx2_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SHint_wibx2_gg_ .___SAddon_wibx2_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_wibx2_gg_{border-bottom-width:1px;border-bottom-style:dashed;border-color:currentColor}@media (prefers-reduced-motion){.___SHint_wibx2_gg_{transition:none}}" /*__inner_css_end__*/, "wibx2_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SHint": "___SHint_wibx2_gg_",
|
|
24
|
+
"_keyboardFocused": "__keyboardFocused_wibx2_gg_",
|
|
25
|
+
"_disabled": "__disabled_wibx2_gg_",
|
|
26
|
+
"__SAddon": "___SAddon_wibx2_gg_",
|
|
27
|
+
"__SText": "___SText_wibx2_gg_",
|
|
28
|
+
"_active": "__active_wibx2_gg_"
|
|
29
29
|
});
|
|
30
30
|
var RootHint = /*#__PURE__*/function (_Component) {
|
|
31
31
|
(0, _inherits2["default"])(RootHint, _Component);
|
package/lib/cjs/List.js
CHANGED
|
@@ -19,11 +19,11 @@ var _isNode = _interopRequireDefault(require("@semcore/utils/lib/isNode"));
|
|
|
19
19
|
var _findComponent = require("@semcore/utils/lib/findComponent");
|
|
20
20
|
var _Text = _interopRequireDefault(require("./Text"));
|
|
21
21
|
/*__reshadow-styles__:"./style/list.shadow.css"*/
|
|
22
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
23
|
-
"__SList": "
|
|
24
|
-
"__SContent": "
|
|
25
|
-
"__SItem": "
|
|
26
|
-
"__SMarker": "
|
|
22
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SList_1my6b_gg_{padding:0;margin:0;list-style-type:none}.___SContent_1my6b_gg_{overflow:inherit;text-overflow:inherit}.___SItem_1my6b_gg_+.___SItem_1my6b_gg_,.___SList_1my6b_gg_ .___SList_1my6b_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}.___SItem_1my6b_gg_{display:flex}.___SMarker_1my6b_gg_{margin-right:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-secondary, #6c6e79);line-height:normal}" /*__inner_css_end__*/, "1my6b_gg_") /*__reshadow_css_end__*/, {
|
|
23
|
+
"__SList": "___SList_1my6b_gg_",
|
|
24
|
+
"__SContent": "___SContent_1my6b_gg_",
|
|
25
|
+
"__SItem": "___SItem_1my6b_gg_",
|
|
26
|
+
"__SMarker": "___SMarker_1my6b_gg_"
|
|
27
27
|
});
|
|
28
28
|
var ListRoot = /*#__PURE__*/function (_Component) {
|
|
29
29
|
(0, _inherits2["default"])(ListRoot, _Component);
|
package/lib/cjs/Text.js
CHANGED
|
@@ -11,40 +11,40 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
11
|
var _flexBox = require("@semcore/flex-box");
|
|
12
12
|
var _useColorResolver = require("@semcore/utils/lib/use/useColorResolver");
|
|
13
13
|
/*__reshadow-styles__:"./style/text.shadow.css"*/
|
|
14
|
-
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
|
15
|
-
"__SText": "
|
|
16
|
-
"_size_100": "
|
|
17
|
-
"_size_200": "
|
|
18
|
-
"_size_300": "
|
|
19
|
-
"_size_400": "
|
|
20
|
-
"_size_500": "
|
|
21
|
-
"_size_600": "
|
|
22
|
-
"_size_700": "
|
|
23
|
-
"_size_800": "
|
|
24
|
-
"_noWrap": "
|
|
25
|
-
"_medium": "
|
|
26
|
-
"_semibold": "
|
|
27
|
-
"_bold": "
|
|
28
|
-
"_italic": "
|
|
29
|
-
"_monospace": "
|
|
30
|
-
"_uppercase": "
|
|
31
|
-
"_lowercase": "
|
|
32
|
-
"_capitalize": "
|
|
33
|
-
"_decoration": "
|
|
34
|
-
"--decoration": "--
|
|
35
|
-
"_color": "
|
|
36
|
-
"--color": "--
|
|
37
|
-
"_fontSize": "
|
|
38
|
-
"--fontSize": "--
|
|
39
|
-
"_lineHeight": "
|
|
40
|
-
"--lineHeight": "--
|
|
41
|
-
"_fontWeight": "
|
|
42
|
-
"--fontWeight": "--
|
|
43
|
-
"_textAlign": "
|
|
44
|
-
"--textAlign": "--
|
|
45
|
-
"_use_primary": "
|
|
46
|
-
"_use_secondary": "
|
|
47
|
-
"_disabled": "
|
|
14
|
+
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SText_17vnk_gg_{padding:0;margin:0}.___SText_17vnk_gg_._size_100_17vnk_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SText_17vnk_gg_._size_200_17vnk_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SText_17vnk_gg_._size_300_17vnk_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SText_17vnk_gg_._size_400_17vnk_gg_{font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%)}.___SText_17vnk_gg_._size_500_17vnk_gg_{font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%)}.___SText_17vnk_gg_._size_600_17vnk_gg_{font-size:var(--intergalactic-fs-600, 32px);line-height:var(--intergalactic-lh-600, 125%)}.___SText_17vnk_gg_._size_700_17vnk_gg_{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%)}.___SText_17vnk_gg_._size_800_17vnk_gg_{font-size:var(--intergalactic-fs-800, 48px);line-height:var(--intergalactic-lh-800, 117%)}.___SText_17vnk_gg_.__noWrap_17vnk_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_17vnk_gg_.__medium_17vnk_gg_{font-weight:var(--intergalactic-medium, 500)}.___SText_17vnk_gg_.__semibold_17vnk_gg_{font-weight:var(--intergalactic-semi-bold, 600)}.___SText_17vnk_gg_.__bold_17vnk_gg_{font-weight:var(--intergalactic-bold, 700)}.___SText_17vnk_gg_.__italic_17vnk_gg_{font-style:italic}.___SText_17vnk_gg_.__monospace_17vnk_gg_{font-family:Consolas,\"Roboto Mono\",Menlo,Courier,monospace}.___SText_17vnk_gg_.__uppercase_17vnk_gg_{text-transform:uppercase}.___SText_17vnk_gg_.__lowercase_17vnk_gg_{text-transform:lowercase}.___SText_17vnk_gg_.__capitalize_17vnk_gg_{text-transform:capitalize}.___SText_17vnk_gg_.__decoration_17vnk_gg_{-webkit-text-decoration:var(--decoration_17vnk);text-decoration:var(--decoration_17vnk)}.___SText_17vnk_gg_.__color_17vnk_gg_{color:var(--color_17vnk)}.___SText_17vnk_gg_.__fontSize_17vnk_gg_{font-size:var(--fontSize_17vnk)}.___SText_17vnk_gg_.__lineHeight_17vnk_gg_{line-height:var(--lineHeight_17vnk)}.___SText_17vnk_gg_.__fontWeight_17vnk_gg_{font-weight:var(--fontWeight_17vnk)}.___SText_17vnk_gg_.__textAlign_17vnk_gg_{text-align:var(--textAlign_17vnk)}.___SText_17vnk_gg_._use_primary_17vnk_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SText_17vnk_gg_._use_secondary_17vnk_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SText_17vnk_gg_.__disabled_17vnk_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}" /*__inner_css_end__*/, "17vnk_gg_") /*__reshadow_css_end__*/, {
|
|
15
|
+
"__SText": "___SText_17vnk_gg_",
|
|
16
|
+
"_size_100": "_size_100_17vnk_gg_",
|
|
17
|
+
"_size_200": "_size_200_17vnk_gg_",
|
|
18
|
+
"_size_300": "_size_300_17vnk_gg_",
|
|
19
|
+
"_size_400": "_size_400_17vnk_gg_",
|
|
20
|
+
"_size_500": "_size_500_17vnk_gg_",
|
|
21
|
+
"_size_600": "_size_600_17vnk_gg_",
|
|
22
|
+
"_size_700": "_size_700_17vnk_gg_",
|
|
23
|
+
"_size_800": "_size_800_17vnk_gg_",
|
|
24
|
+
"_noWrap": "__noWrap_17vnk_gg_",
|
|
25
|
+
"_medium": "__medium_17vnk_gg_",
|
|
26
|
+
"_semibold": "__semibold_17vnk_gg_",
|
|
27
|
+
"_bold": "__bold_17vnk_gg_",
|
|
28
|
+
"_italic": "__italic_17vnk_gg_",
|
|
29
|
+
"_monospace": "__monospace_17vnk_gg_",
|
|
30
|
+
"_uppercase": "__uppercase_17vnk_gg_",
|
|
31
|
+
"_lowercase": "__lowercase_17vnk_gg_",
|
|
32
|
+
"_capitalize": "__capitalize_17vnk_gg_",
|
|
33
|
+
"_decoration": "__decoration_17vnk_gg_",
|
|
34
|
+
"--decoration": "--decoration_17vnk",
|
|
35
|
+
"_color": "__color_17vnk_gg_",
|
|
36
|
+
"--color": "--color_17vnk",
|
|
37
|
+
"_fontSize": "__fontSize_17vnk_gg_",
|
|
38
|
+
"--fontSize": "--fontSize_17vnk",
|
|
39
|
+
"_lineHeight": "__lineHeight_17vnk_gg_",
|
|
40
|
+
"--lineHeight": "--lineHeight_17vnk",
|
|
41
|
+
"_fontWeight": "__fontWeight_17vnk_gg_",
|
|
42
|
+
"--fontWeight": "--fontWeight_17vnk",
|
|
43
|
+
"_textAlign": "__textAlign_17vnk_gg_",
|
|
44
|
+
"--textAlign": "--textAlign_17vnk",
|
|
45
|
+
"_use_primary": "_use_primary_17vnk_gg_",
|
|
46
|
+
"_use_secondary": "_use_secondary_17vnk_gg_",
|
|
47
|
+
"_disabled": "__disabled_17vnk_gg_"
|
|
48
48
|
});
|
|
49
49
|
function getTextDecoration(underline, lineThrough) {
|
|
50
50
|
if (underline) {
|
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 { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\n\nimport { Property } from 'csstype';\nimport { Box, BoxProps, Flex } from '@semcore/flex-box';\nimport { KeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface ITextProps extends TextProps, UnknownProperties {}\nexport type TextProps = BoxProps & {\n /** Font size and line-heights */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;\n /** The text will not be wrapped on a new line and will be cut off with ellipsis */\n noWrap?: boolean;\n /** CSS property `font-weight: 700;` */\n bold?: boolean;\n /** CSS property `font-weight: 600;` */\n semibold?: boolean;\n /** CSS property `font-weight: 500;` */\n medium?: boolean;\n /** Italicized text */\n italic?: boolean;\n /** Underlined text */\n underline?: boolean;\n /** CSS property `font-family: monospace;` */\n monospace?: boolean;\n /** Strikethrough text */\n lineThrough?: boolean;\n /** Uppercase text */\n uppercase?: boolean;\n /** Lowercase text */\n lowercase?: boolean;\n /** Capitalized text */\n capitalize?: boolean;\n /** Text color **/\n color?: string;\n /** Custom `font-size` */\n fontSize?: Property.FontSize<any>;\n /** Custom `line-height` */\n lineHeight?: Property.LineHeight<any>;\n /** Custom `font-weight` */\n fontWeight?: Property.FontWeight;\n /** Text alignment */\n textAlign?: Property.TextAlign;\n /** Enforces text color */\n use?: 'primary' | 'secondary';\n /** Makes text semi-transparent to indicate disabled state */\n disabled?: boolean;\n};\n\n/** @deprecated */\nexport interface IListProps extends ListProps, UnknownProperties {}\nexport type ListProps = TextProps & {\n /** Marker of the entire list\n * @default • */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListItemProps extends ListItemProps, UnknownProperties {}\nexport type ListItemProps = TextProps & {\n /** Individual marker of a list item */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListContext extends ListContext, UnknownProperties {}\nexport type ListContext = {\n getItemProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IHintProps extends HintProps, UnknownProperties {}\nexport type HintProps = TextProps &\n KeyboardFocusProps & {\n /** The value responsible for the activity of the element\n * @default false\n */\n disabled?: boolean;\n /** Enable `active` state */\n active?: boolean;\n /** Left addon hint */\n addonLeft?: React.ElementType;\n /** Right addon hint */\n addonRight?: React.ElementType;\n };\n\n/** @deprecated */\nexport interface IBlockquoteProps extends BlockquoteProps, UnknownProperties {}\nexport type BlockquoteProps = BoxProps & {\n /** Source of the quote */\n author?: React.ReactNode;\n};\n\ndeclare const Hint: Intergalactic.Component<'abbr', HintProps> & {\n Addon: typeof Box;\n Text: typeof Box;\n};\n\ndeclare const Item: Intergalactic.Component<'li', ListItemProps> & {\n Content: typeof Flex
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\n\nimport { Property } from 'csstype';\nimport { Box, BoxProps, Flex, FlexProps } from '@semcore/flex-box';\nimport { KeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface ITextProps extends TextProps, UnknownProperties {}\nexport type TextProps = BoxProps & {\n /** Font size and line-heights */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;\n /** The text will not be wrapped on a new line and will be cut off with ellipsis */\n noWrap?: boolean;\n /** CSS property `font-weight: 700;` */\n bold?: boolean;\n /** CSS property `font-weight: 600;` */\n semibold?: boolean;\n /** CSS property `font-weight: 500;` */\n medium?: boolean;\n /** Italicized text */\n italic?: boolean;\n /** Underlined text */\n underline?: boolean;\n /** CSS property `font-family: monospace;` */\n monospace?: boolean;\n /** Strikethrough text */\n lineThrough?: boolean;\n /** Uppercase text */\n uppercase?: boolean;\n /** Lowercase text */\n lowercase?: boolean;\n /** Capitalized text */\n capitalize?: boolean;\n /** Text color **/\n color?: string;\n /** Custom `font-size` */\n fontSize?: Property.FontSize<any>;\n /** Custom `line-height` */\n lineHeight?: Property.LineHeight<any>;\n /** Custom `font-weight` */\n fontWeight?: Property.FontWeight;\n /** Text alignment */\n textAlign?: Property.TextAlign;\n /** Enforces text color */\n use?: 'primary' | 'secondary';\n /** Makes text semi-transparent to indicate disabled state */\n disabled?: boolean;\n};\n\n/** @deprecated */\nexport interface IListProps extends ListProps, UnknownProperties {}\nexport type ListProps = TextProps & {\n /** Marker of the entire list\n * @default • */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListItemProps extends ListItemProps, UnknownProperties {}\nexport type ListItemProps = TextProps & {\n /** Individual marker of a list item */\n marker?: React.ReactNode;\n};\n\nexport type ListItemContentProps = FlexProps;\n\n/** @deprecated */\nexport interface IListContext extends ListContext, UnknownProperties {}\nexport type ListContext = {\n getItemProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IHintProps extends HintProps, UnknownProperties {}\nexport type HintProps = TextProps &\n KeyboardFocusProps & {\n /** The value responsible for the activity of the element\n * @default false\n */\n disabled?: boolean;\n /** Enable `active` state */\n active?: boolean;\n /** Left addon hint */\n addonLeft?: React.ElementType;\n /** Right addon hint */\n addonRight?: React.ElementType;\n };\n\n/** @deprecated */\nexport interface IBlockquoteProps extends BlockquoteProps, UnknownProperties {}\nexport type BlockquoteProps = BoxProps & {\n /** Source of the quote */\n author?: React.ReactNode;\n};\n\ndeclare const Hint: Intergalactic.Component<'abbr', HintProps> & {\n Addon: typeof Box;\n Text: typeof Box;\n};\n\ndeclare const Item: Intergalactic.Component<'li', ListItemProps> & {\n Content: Intergalactic.Component<typeof Flex, ListItemContentProps>;\n};\n\ndeclare const List: Intergalactic.Component<'ul', ListProps> & {\n Item: typeof Item;\n};\n\ndeclare const Text: Intergalactic.Component<'span', TextProps>;\n\ndeclare const Blockquote: Intergalactic.Component<'blockquote', BlockquoteProps>;\n\nexport { Text, List, Hint, Blockquote };\n"],"mappings":""}
|
package/lib/es6/Blockquote.js
CHANGED
|
@@ -6,10 +6,10 @@ import { createBaseComponent, Root, sstyled } from '@semcore/core';
|
|
|
6
6
|
import isNode from '@semcore/utils/lib/isNode';
|
|
7
7
|
import { Box } from '@semcore/flex-box';
|
|
8
8
|
/*__reshadow-styles__:"./style/blockquote.shadow.css"*/
|
|
9
|
-
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
10
|
-
"__SBlockquote": "
|
|
11
|
-
"__SDoubleQuotation": "
|
|
12
|
-
"__SAuthor": "
|
|
9
|
+
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBlockquote_o3r2b_gg_{position:relative;display:flex;font-style:italic;font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%);color:var(--intergalactic-text-primary, #191b23)}.___SDoubleQuotation_o3r2b_gg_{position:relative;margin-right:var(--intergalactic-spacing-5x, 20px);font-family:\"Times New Roman\",serif;font-style:normal;font-size:68px;line-height:52px;color:var(--intergalactic-text-large-secondary, #a9abb6)}.___SAuthor_o3r2b_gg_{display:block;margin-top:var(--intergalactic-spacing-4x, 16px);color:var(--intergalactic-text-secondary, #6c6e79);font-style:normal;font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}" /*__inner_css_end__*/, "o3r2b_gg_") /*__reshadow_css_end__*/, {
|
|
10
|
+
"__SBlockquote": "___SBlockquote_o3r2b_gg_",
|
|
11
|
+
"__SDoubleQuotation": "___SDoubleQuotation_o3r2b_gg_",
|
|
12
|
+
"__SAuthor": "___SAuthor_o3r2b_gg_"
|
|
13
13
|
});
|
|
14
14
|
function Blockquote(props, ref) {
|
|
15
15
|
var _ref = arguments[0],
|
package/lib/es6/Hint.js
CHANGED
|
@@ -15,13 +15,13 @@ import keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhan
|
|
|
15
15
|
import addonTextChildren from '@semcore/utils/lib/addonTextChildren';
|
|
16
16
|
import Text from './Text';
|
|
17
17
|
/*__reshadow-styles__:"./style/hint.shadow.css"*/
|
|
18
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
19
|
-
"__SHint": "
|
|
20
|
-
"_keyboardFocused": "
|
|
21
|
-
"_disabled": "
|
|
22
|
-
"__SAddon": "
|
|
23
|
-
"__SText": "
|
|
24
|
-
"_active": "
|
|
18
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHint_wibx2_gg_{display:inline-block;transition:all .15s ease-in-out;-webkit-text-decoration:none;text-decoration:none;outline:0;cursor:pointer;color:var(--intergalactic-text-secondary, #6c6e79)}.___SHint_wibx2_gg_.__active_wibx2_gg_,.___SHint_wibx2_gg_:active{color:var(--intergalactic-text-hint-hover-active, #484a54)}@media (hover:hover){.___SHint_wibx2_gg_:hover{color:var(--intergalactic-text-hint-hover-active, #484a54)}}.___SHint_wibx2_gg_.__keyboardFocused_wibx2_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHint_wibx2_gg_.__disabled_wibx2_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_wibx2_gg_{vertical-align:middle;display:inline-flex}.___SHint_wibx2_gg_ .___SAddon_wibx2_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SHint_wibx2_gg_ .___SAddon_wibx2_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_wibx2_gg_{border-bottom-width:1px;border-bottom-style:dashed;border-color:currentColor}@media (prefers-reduced-motion){.___SHint_wibx2_gg_{transition:none}}" /*__inner_css_end__*/, "wibx2_gg_") /*__reshadow_css_end__*/, {
|
|
19
|
+
"__SHint": "___SHint_wibx2_gg_",
|
|
20
|
+
"_keyboardFocused": "__keyboardFocused_wibx2_gg_",
|
|
21
|
+
"_disabled": "__disabled_wibx2_gg_",
|
|
22
|
+
"__SAddon": "___SAddon_wibx2_gg_",
|
|
23
|
+
"__SText": "___SText_wibx2_gg_",
|
|
24
|
+
"_active": "__active_wibx2_gg_"
|
|
25
25
|
});
|
|
26
26
|
var RootHint = /*#__PURE__*/function (_Component) {
|
|
27
27
|
_inherits(RootHint, _Component);
|
package/lib/es6/List.js
CHANGED
|
@@ -15,11 +15,11 @@ import isNode from '@semcore/utils/lib/isNode';
|
|
|
15
15
|
import { isAdvanceMode } from '@semcore/utils/lib/findComponent';
|
|
16
16
|
import Text from './Text';
|
|
17
17
|
/*__reshadow-styles__:"./style/list.shadow.css"*/
|
|
18
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
19
|
-
"__SList": "
|
|
20
|
-
"__SContent": "
|
|
21
|
-
"__SItem": "
|
|
22
|
-
"__SMarker": "
|
|
18
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SList_1my6b_gg_{padding:0;margin:0;list-style-type:none}.___SContent_1my6b_gg_{overflow:inherit;text-overflow:inherit}.___SItem_1my6b_gg_+.___SItem_1my6b_gg_,.___SList_1my6b_gg_ .___SList_1my6b_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}.___SItem_1my6b_gg_{display:flex}.___SMarker_1my6b_gg_{margin-right:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-secondary, #6c6e79);line-height:normal}" /*__inner_css_end__*/, "1my6b_gg_") /*__reshadow_css_end__*/, {
|
|
19
|
+
"__SList": "___SList_1my6b_gg_",
|
|
20
|
+
"__SContent": "___SContent_1my6b_gg_",
|
|
21
|
+
"__SItem": "___SItem_1my6b_gg_",
|
|
22
|
+
"__SMarker": "___SMarker_1my6b_gg_"
|
|
23
23
|
});
|
|
24
24
|
var ListRoot = /*#__PURE__*/function (_Component) {
|
|
25
25
|
_inherits(ListRoot, _Component);
|
package/lib/es6/Text.js
CHANGED
|
@@ -5,40 +5,40 @@ import React from 'react';
|
|
|
5
5
|
import { createBaseComponent, Root, sstyled } from '@semcore/core';
|
|
6
6
|
import { Box } from '@semcore/flex-box';
|
|
7
7
|
/*__reshadow-styles__:"./style/text.shadow.css"*/
|
|
8
|
-
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
|
9
|
-
"__SText": "
|
|
10
|
-
"_size_100": "
|
|
11
|
-
"_size_200": "
|
|
12
|
-
"_size_300": "
|
|
13
|
-
"_size_400": "
|
|
14
|
-
"_size_500": "
|
|
15
|
-
"_size_600": "
|
|
16
|
-
"_size_700": "
|
|
17
|
-
"_size_800": "
|
|
18
|
-
"_noWrap": "
|
|
19
|
-
"_medium": "
|
|
20
|
-
"_semibold": "
|
|
21
|
-
"_bold": "
|
|
22
|
-
"_italic": "
|
|
23
|
-
"_monospace": "
|
|
24
|
-
"_uppercase": "
|
|
25
|
-
"_lowercase": "
|
|
26
|
-
"_capitalize": "
|
|
27
|
-
"_decoration": "
|
|
28
|
-
"--decoration": "--
|
|
29
|
-
"_color": "
|
|
30
|
-
"--color": "--
|
|
31
|
-
"_fontSize": "
|
|
32
|
-
"--fontSize": "--
|
|
33
|
-
"_lineHeight": "
|
|
34
|
-
"--lineHeight": "--
|
|
35
|
-
"_fontWeight": "
|
|
36
|
-
"--fontWeight": "--
|
|
37
|
-
"_textAlign": "
|
|
38
|
-
"--textAlign": "--
|
|
39
|
-
"_use_primary": "
|
|
40
|
-
"_use_secondary": "
|
|
41
|
-
"_disabled": "
|
|
8
|
+
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SText_17vnk_gg_{padding:0;margin:0}.___SText_17vnk_gg_._size_100_17vnk_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SText_17vnk_gg_._size_200_17vnk_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SText_17vnk_gg_._size_300_17vnk_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SText_17vnk_gg_._size_400_17vnk_gg_{font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%)}.___SText_17vnk_gg_._size_500_17vnk_gg_{font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%)}.___SText_17vnk_gg_._size_600_17vnk_gg_{font-size:var(--intergalactic-fs-600, 32px);line-height:var(--intergalactic-lh-600, 125%)}.___SText_17vnk_gg_._size_700_17vnk_gg_{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%)}.___SText_17vnk_gg_._size_800_17vnk_gg_{font-size:var(--intergalactic-fs-800, 48px);line-height:var(--intergalactic-lh-800, 117%)}.___SText_17vnk_gg_.__noWrap_17vnk_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_17vnk_gg_.__medium_17vnk_gg_{font-weight:var(--intergalactic-medium, 500)}.___SText_17vnk_gg_.__semibold_17vnk_gg_{font-weight:var(--intergalactic-semi-bold, 600)}.___SText_17vnk_gg_.__bold_17vnk_gg_{font-weight:var(--intergalactic-bold, 700)}.___SText_17vnk_gg_.__italic_17vnk_gg_{font-style:italic}.___SText_17vnk_gg_.__monospace_17vnk_gg_{font-family:Consolas,\"Roboto Mono\",Menlo,Courier,monospace}.___SText_17vnk_gg_.__uppercase_17vnk_gg_{text-transform:uppercase}.___SText_17vnk_gg_.__lowercase_17vnk_gg_{text-transform:lowercase}.___SText_17vnk_gg_.__capitalize_17vnk_gg_{text-transform:capitalize}.___SText_17vnk_gg_.__decoration_17vnk_gg_{-webkit-text-decoration:var(--decoration_17vnk);text-decoration:var(--decoration_17vnk)}.___SText_17vnk_gg_.__color_17vnk_gg_{color:var(--color_17vnk)}.___SText_17vnk_gg_.__fontSize_17vnk_gg_{font-size:var(--fontSize_17vnk)}.___SText_17vnk_gg_.__lineHeight_17vnk_gg_{line-height:var(--lineHeight_17vnk)}.___SText_17vnk_gg_.__fontWeight_17vnk_gg_{font-weight:var(--fontWeight_17vnk)}.___SText_17vnk_gg_.__textAlign_17vnk_gg_{text-align:var(--textAlign_17vnk)}.___SText_17vnk_gg_._use_primary_17vnk_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SText_17vnk_gg_._use_secondary_17vnk_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SText_17vnk_gg_.__disabled_17vnk_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}" /*__inner_css_end__*/, "17vnk_gg_") /*__reshadow_css_end__*/, {
|
|
9
|
+
"__SText": "___SText_17vnk_gg_",
|
|
10
|
+
"_size_100": "_size_100_17vnk_gg_",
|
|
11
|
+
"_size_200": "_size_200_17vnk_gg_",
|
|
12
|
+
"_size_300": "_size_300_17vnk_gg_",
|
|
13
|
+
"_size_400": "_size_400_17vnk_gg_",
|
|
14
|
+
"_size_500": "_size_500_17vnk_gg_",
|
|
15
|
+
"_size_600": "_size_600_17vnk_gg_",
|
|
16
|
+
"_size_700": "_size_700_17vnk_gg_",
|
|
17
|
+
"_size_800": "_size_800_17vnk_gg_",
|
|
18
|
+
"_noWrap": "__noWrap_17vnk_gg_",
|
|
19
|
+
"_medium": "__medium_17vnk_gg_",
|
|
20
|
+
"_semibold": "__semibold_17vnk_gg_",
|
|
21
|
+
"_bold": "__bold_17vnk_gg_",
|
|
22
|
+
"_italic": "__italic_17vnk_gg_",
|
|
23
|
+
"_monospace": "__monospace_17vnk_gg_",
|
|
24
|
+
"_uppercase": "__uppercase_17vnk_gg_",
|
|
25
|
+
"_lowercase": "__lowercase_17vnk_gg_",
|
|
26
|
+
"_capitalize": "__capitalize_17vnk_gg_",
|
|
27
|
+
"_decoration": "__decoration_17vnk_gg_",
|
|
28
|
+
"--decoration": "--decoration_17vnk",
|
|
29
|
+
"_color": "__color_17vnk_gg_",
|
|
30
|
+
"--color": "--color_17vnk",
|
|
31
|
+
"_fontSize": "__fontSize_17vnk_gg_",
|
|
32
|
+
"--fontSize": "--fontSize_17vnk",
|
|
33
|
+
"_lineHeight": "__lineHeight_17vnk_gg_",
|
|
34
|
+
"--lineHeight": "--lineHeight_17vnk",
|
|
35
|
+
"_fontWeight": "__fontWeight_17vnk_gg_",
|
|
36
|
+
"--fontWeight": "--fontWeight_17vnk",
|
|
37
|
+
"_textAlign": "__textAlign_17vnk_gg_",
|
|
38
|
+
"--textAlign": "--textAlign_17vnk",
|
|
39
|
+
"_use_primary": "_use_primary_17vnk_gg_",
|
|
40
|
+
"_use_secondary": "_use_secondary_17vnk_gg_",
|
|
41
|
+
"_disabled": "__disabled_17vnk_gg_"
|
|
42
42
|
});
|
|
43
43
|
import { useColorResolver } from '@semcore/utils/lib/use/useColorResolver';
|
|
44
44
|
function getTextDecoration(underline, lineThrough) {
|
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 { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\n\nimport { Property } from 'csstype';\nimport { Box, BoxProps, Flex } from '@semcore/flex-box';\nimport { KeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface ITextProps extends TextProps, UnknownProperties {}\nexport type TextProps = BoxProps & {\n /** Font size and line-heights */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;\n /** The text will not be wrapped on a new line and will be cut off with ellipsis */\n noWrap?: boolean;\n /** CSS property `font-weight: 700;` */\n bold?: boolean;\n /** CSS property `font-weight: 600;` */\n semibold?: boolean;\n /** CSS property `font-weight: 500;` */\n medium?: boolean;\n /** Italicized text */\n italic?: boolean;\n /** Underlined text */\n underline?: boolean;\n /** CSS property `font-family: monospace;` */\n monospace?: boolean;\n /** Strikethrough text */\n lineThrough?: boolean;\n /** Uppercase text */\n uppercase?: boolean;\n /** Lowercase text */\n lowercase?: boolean;\n /** Capitalized text */\n capitalize?: boolean;\n /** Text color **/\n color?: string;\n /** Custom `font-size` */\n fontSize?: Property.FontSize<any>;\n /** Custom `line-height` */\n lineHeight?: Property.LineHeight<any>;\n /** Custom `font-weight` */\n fontWeight?: Property.FontWeight;\n /** Text alignment */\n textAlign?: Property.TextAlign;\n /** Enforces text color */\n use?: 'primary' | 'secondary';\n /** Makes text semi-transparent to indicate disabled state */\n disabled?: boolean;\n};\n\n/** @deprecated */\nexport interface IListProps extends ListProps, UnknownProperties {}\nexport type ListProps = TextProps & {\n /** Marker of the entire list\n * @default • */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListItemProps extends ListItemProps, UnknownProperties {}\nexport type ListItemProps = TextProps & {\n /** Individual marker of a list item */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListContext extends ListContext, UnknownProperties {}\nexport type ListContext = {\n getItemProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IHintProps extends HintProps, UnknownProperties {}\nexport type HintProps = TextProps &\n KeyboardFocusProps & {\n /** The value responsible for the activity of the element\n * @default false\n */\n disabled?: boolean;\n /** Enable `active` state */\n active?: boolean;\n /** Left addon hint */\n addonLeft?: React.ElementType;\n /** Right addon hint */\n addonRight?: React.ElementType;\n };\n\n/** @deprecated */\nexport interface IBlockquoteProps extends BlockquoteProps, UnknownProperties {}\nexport type BlockquoteProps = BoxProps & {\n /** Source of the quote */\n author?: React.ReactNode;\n};\n\ndeclare const Hint: Intergalactic.Component<'abbr', HintProps> & {\n Addon: typeof Box;\n Text: typeof Box;\n};\n\ndeclare const Item: Intergalactic.Component<'li', ListItemProps> & {\n Content: typeof Flex
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import React from 'react';\nimport { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\n\nimport { Property } from 'csstype';\nimport { Box, BoxProps, Flex, FlexProps } from '@semcore/flex-box';\nimport { KeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\n\n/** @deprecated */\nexport interface ITextProps extends TextProps, UnknownProperties {}\nexport type TextProps = BoxProps & {\n /** Font size and line-heights */\n size?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;\n /** The text will not be wrapped on a new line and will be cut off with ellipsis */\n noWrap?: boolean;\n /** CSS property `font-weight: 700;` */\n bold?: boolean;\n /** CSS property `font-weight: 600;` */\n semibold?: boolean;\n /** CSS property `font-weight: 500;` */\n medium?: boolean;\n /** Italicized text */\n italic?: boolean;\n /** Underlined text */\n underline?: boolean;\n /** CSS property `font-family: monospace;` */\n monospace?: boolean;\n /** Strikethrough text */\n lineThrough?: boolean;\n /** Uppercase text */\n uppercase?: boolean;\n /** Lowercase text */\n lowercase?: boolean;\n /** Capitalized text */\n capitalize?: boolean;\n /** Text color **/\n color?: string;\n /** Custom `font-size` */\n fontSize?: Property.FontSize<any>;\n /** Custom `line-height` */\n lineHeight?: Property.LineHeight<any>;\n /** Custom `font-weight` */\n fontWeight?: Property.FontWeight;\n /** Text alignment */\n textAlign?: Property.TextAlign;\n /** Enforces text color */\n use?: 'primary' | 'secondary';\n /** Makes text semi-transparent to indicate disabled state */\n disabled?: boolean;\n};\n\n/** @deprecated */\nexport interface IListProps extends ListProps, UnknownProperties {}\nexport type ListProps = TextProps & {\n /** Marker of the entire list\n * @default • */\n marker?: React.ReactNode;\n};\n\n/** @deprecated */\nexport interface IListItemProps extends ListItemProps, UnknownProperties {}\nexport type ListItemProps = TextProps & {\n /** Individual marker of a list item */\n marker?: React.ReactNode;\n};\n\nexport type ListItemContentProps = FlexProps;\n\n/** @deprecated */\nexport interface IListContext extends ListContext, UnknownProperties {}\nexport type ListContext = {\n getItemProps: PropGetterFn;\n};\n\n/** @deprecated */\nexport interface IHintProps extends HintProps, UnknownProperties {}\nexport type HintProps = TextProps &\n KeyboardFocusProps & {\n /** The value responsible for the activity of the element\n * @default false\n */\n disabled?: boolean;\n /** Enable `active` state */\n active?: boolean;\n /** Left addon hint */\n addonLeft?: React.ElementType;\n /** Right addon hint */\n addonRight?: React.ElementType;\n };\n\n/** @deprecated */\nexport interface IBlockquoteProps extends BlockquoteProps, UnknownProperties {}\nexport type BlockquoteProps = BoxProps & {\n /** Source of the quote */\n author?: React.ReactNode;\n};\n\ndeclare const Hint: Intergalactic.Component<'abbr', HintProps> & {\n Addon: typeof Box;\n Text: typeof Box;\n};\n\ndeclare const Item: Intergalactic.Component<'li', ListItemProps> & {\n Content: Intergalactic.Component<typeof Flex, ListItemContentProps>;\n};\n\ndeclare const List: Intergalactic.Component<'ul', ListProps> & {\n Item: typeof Item;\n};\n\ndeclare const Text: Intergalactic.Component<'span', TextProps>;\n\ndeclare const Blockquote: Intergalactic.Component<'blockquote', BlockquoteProps>;\n\nexport { Text, List, Hint, Blockquote };\n"],"mappings":""}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';
|
|
3
3
|
|
|
4
4
|
import { Property } from 'csstype';
|
|
5
|
-
import { Box, BoxProps, Flex } from '@semcore/flex-box';
|
|
5
|
+
import { Box, BoxProps, Flex, FlexProps } from '@semcore/flex-box';
|
|
6
6
|
import { KeyboardFocusProps } from '@semcore/utils/lib/enhances/keyboardFocusEnhance';
|
|
7
7
|
|
|
8
8
|
/** @deprecated */
|
|
@@ -63,6 +63,8 @@ export type ListItemProps = TextProps & {
|
|
|
63
63
|
marker?: React.ReactNode;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
+
export type ListItemContentProps = FlexProps;
|
|
67
|
+
|
|
66
68
|
/** @deprecated */
|
|
67
69
|
export interface IListContext extends ListContext, UnknownProperties {}
|
|
68
70
|
export type ListContext = {
|
|
@@ -98,7 +100,7 @@ declare const Hint: Intergalactic.Component<'abbr', HintProps> & {
|
|
|
98
100
|
};
|
|
99
101
|
|
|
100
102
|
declare const Item: Intergalactic.Component<'li', ListItemProps> & {
|
|
101
|
-
Content: typeof Flex
|
|
103
|
+
Content: Intergalactic.Component<typeof Flex, ListItemContentProps>;
|
|
102
104
|
};
|
|
103
105
|
|
|
104
106
|
declare const List: Intergalactic.Component<'ul', ListProps> & {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/typography",
|
|
3
3
|
"description": "Semrush Typography Component",
|
|
4
|
-
"version": "5.26.
|
|
4
|
+
"version": "5.26.3-prerelease.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@semcore/utils": "4.20.
|
|
13
|
-
"@semcore/flex-box": "5.19.
|
|
14
|
-
"@semcore/icon": "4.
|
|
12
|
+
"@semcore/utils": "4.20.4-prerelease.1",
|
|
13
|
+
"@semcore/flex-box": "5.19.3-prerelease.1",
|
|
14
|
+
"@semcore/icon": "4.27.0-prerelease.1",
|
|
15
15
|
"csstype": "3.0.8"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@semcore/core": "^2.17.
|
|
18
|
+
"@semcore/core": "^2.17.4-prerelease.1",
|
|
19
19
|
"react": "16.8 - 18",
|
|
20
20
|
"react-dom": "16.8 - 18"
|
|
21
21
|
},
|