@semcore/typography 16.3.3-prerelease.9 → 16.4.0-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 +2 -8
- package/lib/cjs/Blockquote.js +18 -21
- package/lib/cjs/Blockquote.js.map +1 -1
- package/lib/cjs/List.js +79 -69
- package/lib/cjs/List.js.map +1 -1
- package/lib/cjs/Text.js +64 -137
- package/lib/cjs/Text.js.map +1 -1
- package/lib/cjs/index.d.js.map +1 -1
- package/lib/cjs/index.js +7 -7
- package/lib/cjs/style/blockquote.shadow.css +3 -3
- package/lib/cjs/style/list.shadow.css +1 -1
- package/lib/cjs/style/text.shadow.css +18 -46
- package/lib/es6/Blockquote.js +15 -18
- package/lib/es6/Blockquote.js.map +1 -1
- package/lib/es6/List.js +71 -61
- package/lib/es6/List.js.map +1 -1
- package/lib/es6/Text.js +63 -136
- package/lib/es6/Text.js.map +1 -1
- package/lib/es6/index.d.js.map +1 -1
- package/lib/es6/style/blockquote.shadow.css +3 -3
- package/lib/es6/style/list.shadow.css +1 -1
- package/lib/es6/style/text.shadow.css +18 -46
- package/lib/esm/Blockquote.mjs +18 -22
- package/lib/esm/List.mjs +65 -60
- package/lib/esm/Text.mjs +63 -139
- package/lib/esm/style/blockquote.shadow.css +3 -3
- package/lib/esm/style/list.shadow.css +1 -1
- package/lib/esm/style/text.shadow.css +18 -46
- package/lib/types/index.d.ts +13 -10
- package/package.json +8 -8
- package/lib/types/Text.d.ts +0 -2
package/lib/cjs/Text.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.js","names":["_core","require","
|
|
1
|
+
{"version":3,"file":"Text.js","names":["_core","require","_useColorResolver","_flexBox","_react","_interopRequireDefault","styles","sstyled","insert","getTextDecoration","underline","lineThrough","Text","props","ref","_ref","arguments[0]","_ref2","SText","Box","color","textDecoration","resolveColor","useColorResolver","createElement","cn","_objectSpread2","assignProps","displayName","_default","exports","createBaseComponent"],"sources":["../../src/Text.jsx"],"sourcesContent":["import { createBaseComponent, Root, sstyled } from '@semcore/core';\nimport { useColorResolver } from '@semcore/core/lib/utils/use/useColorResolver';\nimport { Box } from '@semcore/flex-box';\nimport React from 'react';\n\nimport styles from './style/text.shadow.css';\n\nfunction getTextDecoration(underline, lineThrough) {\n if (underline) {\n return 'underline';\n }\n\n if (lineThrough) {\n return 'line-through';\n }\n}\n\nfunction Text(props, ref) {\n const SText = Root;\n const { color, underline, lineThrough } = props;\n const textDecoration = getTextDecoration(underline, lineThrough);\n const resolveColor = useColorResolver();\n\n return sstyled(styles)(\n <SText\n render={Box}\n tag='span'\n data-ui-name='Text'\n ref={ref}\n use:decoration={textDecoration}\n use:color={resolveColor(color)}\n />,\n );\n}\n\nText.displayName = 'Text';\n\nexport default createBaseComponent(Text);\n"],"mappings":";;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAA0B;AAAA,IAAAK,MAAA,8BAAAN,KAAA,CAAAO,OAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAI1B,SAASC,iBAAiBA,CAACC,SAAS,EAAEC,WAAW,EAAE;EACjD,IAAID,SAAS,EAAE;IACb,OAAO,WAAW;EACpB;EAEA,IAAIC,WAAW,EAAE;IACf,OAAO,cAAc;EACvB;AACF;AAEA,SAASC,IAAIA,CAACC,KAAK,EAAEC,GAAG,EAAE;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EACxB,IAAMC,KAAK,GAOCC,YAAG;EANf,IAAQC,KAAK,GAA6BP,KAAK,CAAvCO,KAAK;IAAEV,SAAS,GAAkBG,KAAK,CAAhCH,SAAS;IAAEC,WAAW,GAAKE,KAAK,CAArBF,WAAW;EACrC,IAAMU,cAAc,GAAGZ,iBAAiB,CAACC,SAAS,EAAEC,WAAW,CAAC;EAChE,IAAMW,YAAY,GAAG,IAAAC,kCAAgB,EAAC,CAAC;EAEvC,OAAAN,KAAA,GAAO,IAAAV,aAAO,EAACD,MAAM,CAAC,eACpBF,MAAA,YAAAoB,aAAA,CAACN,KAAK,EAAAD,KAAA,CAAAQ,EAAA,cAAAC,cAAA,qBAAA1B,KAAA,CAAA2B,WAAA;IAAA,OAEA,MAAM;IAAA,gBACG,MAAM;IAAA,OACdb,GAAG;IAAA,kBACQO,cAAc;IAAA,aACnBC,YAAY,CAACF,KAAK;EAAC,GAAAL,IAAA,GAC/B,CAAC;AAEN;AAEAH,IAAI,CAACgB,WAAW,GAAG,MAAM;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEX,IAAAC,yBAAmB,EAACnB,IAAI,CAAC","ignoreList":[]}
|
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 type {
|
|
1
|
+
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import type { PropGetterFn, UnknownProperties, Intergalactic } from '@semcore/core';\nimport type { BoxProps, Flex, FlexProps } from '@semcore/flex-box';\nimport type { Property } from 'csstype';\nimport type React from 'react';\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 /** Enable formatting/styling for all nested HTML tags with our default styles for them */\n formatTags?: 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 IBlockquoteProps extends BlockquoteProps, UnknownProperties {}\nexport type BlockquoteProps = BoxProps & {\n /** Source of the quote */\n author?: React.ReactNode;\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, Blockquote };\n"],"mappings":"","ignoreList":[]}
|
package/lib/cjs/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
Object.defineProperty(exports, "Blockquote", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () {
|
|
10
|
-
return _Blockquote
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _Blockquote["default"];
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "List", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () {
|
|
16
|
-
return _List
|
|
15
|
+
get: function get() {
|
|
16
|
+
return _List["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Text", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () {
|
|
22
|
-
return _Text
|
|
21
|
+
get: function get() {
|
|
22
|
+
return _Text["default"];
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
var _Text = _interopRequireDefault(require("./Text"));
|
|
@@ -4,7 +4,7 @@ SBlockquote {
|
|
|
4
4
|
font-style: italic;
|
|
5
5
|
font-size: var(--intergalactic-fs-400, 20px);
|
|
6
6
|
line-height: var(--intergalactic-lh-400, 120%);
|
|
7
|
-
color: var(--intergalactic-text-primary,
|
|
7
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
SDoubleQuotation {
|
|
@@ -15,13 +15,13 @@ SDoubleQuotation {
|
|
|
15
15
|
/* disable-tokens-validator */
|
|
16
16
|
font-size: 68px;
|
|
17
17
|
line-height: 52px;
|
|
18
|
-
color: var(--intergalactic-text-large-secondary,
|
|
18
|
+
color: var(--intergalactic-text-large-secondary, oklch(0.088 0.026 147.7 / 0.583));
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
SAuthor {
|
|
22
22
|
display: block;
|
|
23
23
|
margin-top: var(--intergalactic-spacing-4x, 16px);
|
|
24
|
-
color: var(--intergalactic-text-secondary,
|
|
24
|
+
color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
|
|
25
25
|
font-style: normal;
|
|
26
26
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
27
27
|
line-height: var(--intergalactic-lh-300, 150%);
|
|
@@ -5,15 +5,15 @@ SText {
|
|
|
5
5
|
&[formatTags] {
|
|
6
6
|
|
|
7
7
|
& abbr {
|
|
8
|
-
color: var(--intergalactic-text-secondary,
|
|
9
|
-
text-decoration: underline dashed var(--intergalactic-text-secondary,
|
|
8
|
+
color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
|
|
9
|
+
text-decoration: underline dashed var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
|
|
10
10
|
|
|
11
11
|
&:active,
|
|
12
12
|
&:hover,
|
|
13
13
|
&:focus {
|
|
14
14
|
outline: none;
|
|
15
|
-
color: var(--intergalactic-text-hint-hover-active,
|
|
16
|
-
text-decoration: underline dashed var(--intergalactic-text-hint-hover-active,
|
|
15
|
+
color: var(--intergalactic-text-hint-hover-active, oklch(0.086 0.026 145.8 / 0.605));
|
|
16
|
+
text-decoration: underline dashed var(--intergalactic-text-hint-hover-active, oklch(0.086 0.026 145.8 / 0.605));
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -22,7 +22,7 @@ SText {
|
|
|
22
22
|
background: none;
|
|
23
23
|
outline: none;
|
|
24
24
|
text-decoration: none;
|
|
25
|
-
color: var(--intergalactic-text-link,
|
|
25
|
+
color: var(--intergalactic-text-link, oklch(0.53 0.21 263));
|
|
26
26
|
border-bottom-width: 1px;
|
|
27
27
|
border-bottom-style: solid;
|
|
28
28
|
border-color: transparent;
|
|
@@ -31,8 +31,8 @@ SText {
|
|
|
31
31
|
&:hover {
|
|
32
32
|
outline: none;
|
|
33
33
|
text-decoration: none;
|
|
34
|
-
color: var(--intergalactic-text-link-hover-active,
|
|
35
|
-
border-color: var(--intergalactic-text-link-hover-active,
|
|
34
|
+
color: var(--intergalactic-text-link-hover-active, oklch(0.51 0.202 263));
|
|
35
|
+
border-color: var(--intergalactic-text-link-hover-active, oklch(0.51 0.202 263));
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
&:focus {
|
|
@@ -58,7 +58,7 @@ SText {
|
|
|
58
58
|
display: inline-block;
|
|
59
59
|
position: absolute;
|
|
60
60
|
left: 0;
|
|
61
|
-
color: var(--intergalactic-icon-secondary-neutral,
|
|
61
|
+
color: var(--intergalactic-icon-secondary-neutral, oklch(0.104 0.023 162.3 / 0.385));
|
|
62
62
|
font-family: Georgia, Times, 'Times New Roman', serif;
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -66,7 +66,7 @@ SText {
|
|
|
66
66
|
display: block;
|
|
67
67
|
font-style: normal;
|
|
68
68
|
margin-top: var(--intergalactic-spacing-4x, 16px);
|
|
69
|
-
color: var(--intergalactic-text-secondary,
|
|
69
|
+
color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
|
|
70
70
|
font-size: var(--intergalactic-fs-300, 16px);
|
|
71
71
|
line-height: var(--intergalactic-lh-300, 150%);
|
|
72
72
|
}
|
|
@@ -83,7 +83,7 @@ SText {
|
|
|
83
83
|
&:before {
|
|
84
84
|
position: absolute;
|
|
85
85
|
left: 0;
|
|
86
|
-
color: var(--intergalactic-text-secondary,
|
|
86
|
+
color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -103,12 +103,7 @@ SText {
|
|
|
103
103
|
|
|
104
104
|
& ul:not(ul[start], ul[reversed], ul[type]) li:not(SText):before {
|
|
105
105
|
content: '';
|
|
106
|
-
background-color: var(--intergalactic-icon-primary-neutral,
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
& ol:not(ol[start], ol[reversed], ol[type]):has(+ p),
|
|
110
|
-
& ul:not(ul[start], ul[reversed], ul[type]):has(+ p) {
|
|
111
|
-
margin-bottom: var(--intergalactic-spacing-4x, 16px);
|
|
106
|
+
background-color: var(--intergalactic-icon-primary-neutral, oklch(0.092 0.024 152.2 / 0.526));
|
|
112
107
|
}
|
|
113
108
|
|
|
114
109
|
& h1 {
|
|
@@ -184,7 +179,7 @@ SText {
|
|
|
184
179
|
& h5,
|
|
185
180
|
& h6 {
|
|
186
181
|
& small {
|
|
187
|
-
color: var(--intergalactic-text-secondary,
|
|
182
|
+
color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
|
|
188
183
|
font-weight: 300;
|
|
189
184
|
font-size: 100%;
|
|
190
185
|
}
|
|
@@ -197,7 +192,7 @@ SText {
|
|
|
197
192
|
}
|
|
198
193
|
|
|
199
194
|
& p {
|
|
200
|
-
margin: 0 0 var(--intergalactic-spacing-
|
|
195
|
+
margin: 0 0 var(--intergalactic-spacing-5x, 20px) 0;
|
|
201
196
|
|
|
202
197
|
&:last-child {
|
|
203
198
|
margin-bottom: 0;
|
|
@@ -227,29 +222,6 @@ SText {
|
|
|
227
222
|
}
|
|
228
223
|
}
|
|
229
224
|
|
|
230
|
-
SText[ellipsis] {
|
|
231
|
-
overflow: hidden;
|
|
232
|
-
text-overflow: ellipsis;
|
|
233
|
-
white-space: pre;
|
|
234
|
-
display: inline-block;
|
|
235
|
-
|
|
236
|
-
&[trim='end']::after {
|
|
237
|
-
content: '';
|
|
238
|
-
display: block;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
&[maxLine] {
|
|
242
|
-
-webkit-line-clamp: var(--maxLine);
|
|
243
|
-
display: -webkit-box;
|
|
244
|
-
-webkit-box-orient: vertical;
|
|
245
|
-
white-space: normal;
|
|
246
|
-
overflow-wrap: break-word;
|
|
247
|
-
}
|
|
248
|
-
&[trim='middle'] {
|
|
249
|
-
text-overflow: unset;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
225
|
SText[size='100'] {
|
|
254
226
|
font-size: var(--intergalactic-fs-100, 12px);
|
|
255
227
|
line-height: var(--intergalactic-lh-100, 133%);
|
|
@@ -303,7 +275,7 @@ SText[size='200'] {
|
|
|
303
275
|
}
|
|
304
276
|
|
|
305
277
|
& p {
|
|
306
|
-
margin: 0 0 var(--intergalactic-spacing-
|
|
278
|
+
margin: 0 0 var(--intergalactic-spacing-5x, 20px) 0;
|
|
307
279
|
|
|
308
280
|
&:last-child {
|
|
309
281
|
margin-bottom: 0;
|
|
@@ -345,7 +317,7 @@ SText[size='300'] {
|
|
|
345
317
|
}
|
|
346
318
|
|
|
347
319
|
& p {
|
|
348
|
-
margin: 0 0 var(--intergalactic-spacing-
|
|
320
|
+
margin: 0 0 var(--intergalactic-spacing-6x, 24px) 0;
|
|
349
321
|
|
|
350
322
|
&:last-child {
|
|
351
323
|
margin-bottom: 0;
|
|
@@ -462,15 +434,15 @@ SText[textAlign] {
|
|
|
462
434
|
}
|
|
463
435
|
|
|
464
436
|
SText[use='primary'] {
|
|
465
|
-
color: var(--intergalactic-text-primary,
|
|
437
|
+
color: var(--intergalactic-text-primary, oklch(0.1 0.03 137 / 0.899));
|
|
466
438
|
}
|
|
467
439
|
|
|
468
440
|
SText[use='secondary'] {
|
|
469
|
-
color: var(--intergalactic-text-secondary,
|
|
441
|
+
color: var(--intergalactic-text-secondary, oklch(0.088 0.026 147.7 / 0.583));
|
|
470
442
|
}
|
|
471
443
|
|
|
472
444
|
SText[disabled] {
|
|
473
|
-
opacity: var(--intergalactic-disabled-opacity, 0.
|
|
445
|
+
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
474
446
|
}
|
|
475
447
|
|
|
476
448
|
@media (prefers-reduced-motion) {
|
package/lib/es6/Blockquote.js
CHANGED
|
@@ -1,33 +1,30 @@
|
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
|
|
1
2
|
import { sstyled as _sstyled } from "@semcore/core";
|
|
2
3
|
import { assignProps as _assignProps } from "@semcore/core";
|
|
3
|
-
import { Box } from '@semcore/base-components';
|
|
4
4
|
import { createBaseComponent, Root, sstyled } from '@semcore/core';
|
|
5
5
|
import isNode from '@semcore/core/lib/utils/isNode';
|
|
6
|
+
import { Box } from '@semcore/flex-box';
|
|
6
7
|
import React from 'react';
|
|
7
8
|
/*!__reshadow-styles__:"./style/blockquote.shadow.css"*/
|
|
8
|
-
|
|
9
|
+
var styles = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SBlockquote_187c0_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, rgba(1, 5, 0, 0.899))}.___SDoubleQuotation_187c0_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, rgba(0, 3, 0, 0.583))}@supports (color:color(display-p3 0 0 0%)){.___SDoubleQuotation_187c0_gg_{color:var(--intergalactic-text-large-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SDoubleQuotation_187c0_gg_{color:var(--intergalactic-text-large-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SAuthor_187c0_gg_{display:block;margin-top:var(--intergalactic-spacing-4x, 16px);color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));font-style:normal;font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}@supports (color:color(display-p3 0 0 0%)){.___SAuthor_187c0_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SAuthor_187c0_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}", /*__inner_css_end__*/"187c0_gg_"),
|
|
9
10
|
/*__reshadow_css_end__*/
|
|
10
11
|
{
|
|
11
|
-
"__SBlockquote": "
|
|
12
|
-
"__SDoubleQuotation": "
|
|
13
|
-
"__SAuthor": "
|
|
12
|
+
"__SBlockquote": "___SBlockquote_187c0_gg_",
|
|
13
|
+
"__SDoubleQuotation": "___SDoubleQuotation_187c0_gg_",
|
|
14
|
+
"__SAuthor": "___SAuthor_187c0_gg_"
|
|
14
15
|
});
|
|
15
16
|
function Blockquote(props, ref) {
|
|
16
17
|
var _ref = arguments[0],
|
|
17
18
|
_ref2;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"tag": 'blockquote',
|
|
28
|
-
"ref": ref
|
|
29
|
-
}, _ref)
|
|
30
|
-
}), /*#__PURE__*/React.createElement(SDoubleQuotation, _ref2.cn("SDoubleQuotation", {}), "\u201C"), /*#__PURE__*/React.createElement("span", _ref2.cn("span", {}), children, isNode(author) && /*#__PURE__*/React.createElement(SAuthor, _ref2.cn("SAuthor", {}), author)));
|
|
19
|
+
var SBlockquote = Box;
|
|
20
|
+
var SDoubleQuotation = 'span';
|
|
21
|
+
var SAuthor = 'cite';
|
|
22
|
+
var children = props.children,
|
|
23
|
+
author = props.author;
|
|
24
|
+
return _ref2 = sstyled(styles), /*#__PURE__*/React.createElement(SBlockquote, _ref2.cn("SBlockquote", _objectSpread({}, _assignProps({
|
|
25
|
+
"tag": 'blockquote',
|
|
26
|
+
"ref": ref
|
|
27
|
+
}, _ref))), /*#__PURE__*/React.createElement(SDoubleQuotation, _ref2.cn("SDoubleQuotation", {}), "\u201C"), /*#__PURE__*/React.createElement("span", _ref2.cn("span", {}), children, isNode(author) && /*#__PURE__*/React.createElement(SAuthor, _ref2.cn("SAuthor", {}), author)));
|
|
31
28
|
}
|
|
32
29
|
Blockquote.displayName = 'Blockquote';
|
|
33
30
|
export default createBaseComponent(Blockquote);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blockquote.js","names":["
|
|
1
|
+
{"version":3,"file":"Blockquote.js","names":["createBaseComponent","Root","sstyled","isNode","Box","React","styles","_sstyled","insert","Blockquote","props","ref","_ref","arguments[0]","_ref2","SBlockquote","SDoubleQuotation","SAuthor","children","author","createElement","cn","_objectSpread","_assignProps","displayName"],"sources":["../../src/Blockquote.jsx"],"sourcesContent":["import { createBaseComponent, Root, sstyled } from '@semcore/core';\nimport isNode from '@semcore/core/lib/utils/isNode';\nimport { Box } from '@semcore/flex-box';\nimport React from 'react';\n\nimport styles from './style/blockquote.shadow.css';\n\nfunction Blockquote(props, ref) {\n const SBlockquote = Root;\n const SDoubleQuotation = 'span';\n const SAuthor = 'cite';\n const { children, author } = props;\n\n return sstyled(styles)(\n <SBlockquote render={Box} tag='blockquote' ref={ref}>\n <SDoubleQuotation>“</SDoubleQuotation>\n <span>\n {children}\n {isNode(author) && <SAuthor>{author}</SAuthor>}\n </span>\n </SBlockquote>,\n );\n}\n\nBlockquote.displayName = 'Blockquote';\n\nexport default createBaseComponent(Blockquote);\n"],"mappings":";;;AAAA,SAASA,mBAAmB,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AAClE,OAAOC,MAAM,MAAM,gCAAgC;AACnD,SAASC,GAAG,QAAQ,mBAAmB;AACvC,OAAOC,KAAK,MAAM,OAAO;AAAC;AAAA,IAAAC,MAAA,8BAAAC,QAAA,CAAAC,MAAA;AAAA;AAAA;EAAA;EAAA;EAAA;AAAA;AAI1B,SAASC,UAAUA,CAACC,KAAK,EAAEC,GAAG,EAAE;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EAC9B,IAAMC,WAAW,GAMMX,GAAG;EAL1B,IAAMY,gBAAgB,GAAG,MAAM;EAC/B,IAAMC,OAAO,GAAG,MAAM;EACtB,IAAQC,QAAQ,GAAaR,KAAK,CAA1BQ,QAAQ;IAAEC,MAAM,GAAKT,KAAK,CAAhBS,MAAM;EAExB,OAAAL,KAAA,GAAOZ,OAAO,CAACI,MAAM,CAAC,eACpBD,KAAA,CAAAe,aAAA,CAACL,WAAW,EAAAD,KAAA,CAAAO,EAAA,gBAAAC,aAAA,KAAAC,YAAA;IAAA,OAAkB,YAAY;IAAA,OAAMZ;EAAG,GAAAC,IAAA,kBACjDP,KAAA,CAAAe,aAAA,CAACJ,gBAAgB,EAAAF,KAAA,CAAAO,EAAA,0BAAC,QAAmB,CAAC,eACtChB,KAAA,CAAAe,aAAA,SAAAN,KAAA,CAAAO,EAAA,cACGH,QAAQ,EACRf,MAAM,CAACgB,MAAM,CAAC,iBAAId,KAAA,CAAAe,aAAA,CAACH,OAAO,EAAAH,KAAA,CAAAO,EAAA,iBAAEF,MAAgB,CACzC,CACK,CAAC;AAElB;AAEAV,UAAU,CAACe,WAAW,GAAG,YAAY;AAErC,eAAexB,mBAAmB,CAACS,UAAU,CAAC","ignoreList":[]}
|
package/lib/es6/List.js
CHANGED
|
@@ -1,94 +1,104 @@
|
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
|
|
2
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
|
+
import _callSuper from "@babel/runtime/helpers/callSuper";
|
|
5
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
1
6
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
7
|
import { sstyled as _sstyled } from "@semcore/core";
|
|
3
8
|
import { assignProps as _assignProps3 } from "@semcore/core";
|
|
4
9
|
import { assignProps as _assignProps2 } from "@semcore/core";
|
|
5
10
|
import { assignProps as _assignProps } from "@semcore/core";
|
|
6
|
-
import { Flex } from '@semcore/base-components';
|
|
7
11
|
import { createComponent, Component, Root, sstyled } from '@semcore/core';
|
|
8
12
|
import { isAdvanceMode } from '@semcore/core/lib/utils/findComponent';
|
|
9
13
|
import isNode from '@semcore/core/lib/utils/isNode';
|
|
14
|
+
import { Flex } from '@semcore/flex-box';
|
|
10
15
|
import React from 'react';
|
|
11
16
|
/*!__reshadow-styles__:"./style/list.shadow.css"*/
|
|
12
|
-
|
|
17
|
+
var style = (/*__reshadow_css_start__*/_sstyled.insert(/*__inner_css_start__*/".___SList_ey0xg_gg_{padding:0;margin:0;list-style-type:none}.___SContent_ey0xg_gg_{overflow:inherit;text-overflow:inherit}.___SItem_ey0xg_gg_+.___SItem_ey0xg_gg_,.___SList_ey0xg_gg_ .___SList_ey0xg_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}.___SItem_ey0xg_gg_{display:flex}.___SMarker_ey0xg_gg_{margin-right:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));line-height:normal}@supports (color:color(display-p3 0 0 0%)){.___SMarker_ey0xg_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SMarker_ey0xg_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}", /*__inner_css_end__*/"ey0xg_gg_"),
|
|
13
18
|
/*__reshadow_css_end__*/
|
|
14
19
|
{
|
|
15
|
-
"__SList": "
|
|
16
|
-
"__SContent": "
|
|
17
|
-
"__SItem": "
|
|
18
|
-
"__SMarker": "
|
|
20
|
+
"__SList": "___SList_ey0xg_gg_",
|
|
21
|
+
"__SContent": "___SContent_ey0xg_gg_",
|
|
22
|
+
"__SItem": "___SItem_ey0xg_gg_",
|
|
23
|
+
"__SMarker": "___SMarker_ey0xg_gg_"
|
|
19
24
|
});
|
|
20
25
|
import Text from './Text';
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} = this.asProps;
|
|
26
|
-
return {
|
|
27
|
-
marker
|
|
28
|
-
};
|
|
26
|
+
var ListRoot = /*#__PURE__*/function (_Component) {
|
|
27
|
+
function ListRoot() {
|
|
28
|
+
_classCallCheck(this, ListRoot);
|
|
29
|
+
return _callSuper(this, ListRoot, arguments);
|
|
29
30
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
_inherits(ListRoot, _Component);
|
|
32
|
+
return _createClass(ListRoot, [{
|
|
33
|
+
key: "getItemProps",
|
|
34
|
+
value: function getItemProps() {
|
|
35
|
+
var marker = this.asProps.marker;
|
|
36
|
+
return {
|
|
37
|
+
marker: marker
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
}, {
|
|
41
|
+
key: "render",
|
|
42
|
+
value: function render() {
|
|
43
|
+
var _ref = this.asProps,
|
|
44
|
+
_ref4;
|
|
45
|
+
var SList = Text;
|
|
46
|
+
var styles = this.asProps.styles;
|
|
47
|
+
return _ref4 = sstyled(styles), /*#__PURE__*/React.createElement(SList, _ref4.cn("SList", _objectSpread({}, _assignProps({
|
|
39
48
|
"tag": 'ul'
|
|
40
|
-
}, _ref)
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
49
|
+
}, _ref))));
|
|
50
|
+
}
|
|
51
|
+
}]);
|
|
52
|
+
}(Component);
|
|
44
53
|
_defineProperty(ListRoot, "displayName", 'List');
|
|
45
54
|
_defineProperty(ListRoot, "style", style);
|
|
46
55
|
_defineProperty(ListRoot, "defaultProps", {
|
|
47
56
|
marker: '•'
|
|
48
57
|
});
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
const SItem = Text;
|
|
54
|
-
const {
|
|
55
|
-
styles,
|
|
56
|
-
children,
|
|
57
|
-
marker: markerNode,
|
|
58
|
-
Children
|
|
59
|
-
} = this.asProps;
|
|
60
|
-
const SMarker = 'span';
|
|
61
|
-
const SContent = 'div';
|
|
62
|
-
const isAdvancedMode = isAdvanceMode(Children, [List.Item.Content.displayName]);
|
|
63
|
-
return _ref5 = sstyled(styles), /*#__PURE__*/React.createElement(SItem, _ref5.cn("SItem", {
|
|
64
|
-
..._assignProps2({
|
|
65
|
-
"tag": 'li'
|
|
66
|
-
}, _ref2)
|
|
67
|
-
}), isNode(markerNode) && /*#__PURE__*/React.createElement(SMarker, _ref5.cn("SMarker", {
|
|
68
|
-
"aria-hidden": 'true'
|
|
69
|
-
}), markerNode), isAdvancedMode ? /*#__PURE__*/React.createElement(Children, _ref5.cn("Children", {})) : /*#__PURE__*/React.createElement(SContent, _ref5.cn("SContent", {}), children));
|
|
58
|
+
var ItemRoot = /*#__PURE__*/function (_Component2) {
|
|
59
|
+
function ItemRoot() {
|
|
60
|
+
_classCallCheck(this, ItemRoot);
|
|
61
|
+
return _callSuper(this, ItemRoot, arguments);
|
|
70
62
|
}
|
|
71
|
-
|
|
63
|
+
_inherits(ItemRoot, _Component2);
|
|
64
|
+
return _createClass(ItemRoot, [{
|
|
65
|
+
key: "render",
|
|
66
|
+
value: function render() {
|
|
67
|
+
var _ref2 = this.asProps,
|
|
68
|
+
_ref5;
|
|
69
|
+
var SItem = Text;
|
|
70
|
+
var _this$asProps = this.asProps,
|
|
71
|
+
styles = _this$asProps.styles,
|
|
72
|
+
children = _this$asProps.children,
|
|
73
|
+
markerNode = _this$asProps.marker,
|
|
74
|
+
Children = _this$asProps.Children;
|
|
75
|
+
var SMarker = 'span';
|
|
76
|
+
var SContent = 'div';
|
|
77
|
+
var isAdvancedMode = isAdvanceMode(Children, [List.Item.Content.displayName]);
|
|
78
|
+
return _ref5 = sstyled(styles), /*#__PURE__*/React.createElement(SItem, _ref5.cn("SItem", _objectSpread({}, _assignProps2({
|
|
79
|
+
"tag": 'li'
|
|
80
|
+
}, _ref2))), isNode(markerNode) && /*#__PURE__*/React.createElement(SMarker, _ref5.cn("SMarker", {
|
|
81
|
+
"aria-hidden": 'true'
|
|
82
|
+
}), markerNode), isAdvancedMode ? /*#__PURE__*/React.createElement(Children, _ref5.cn("Children", {})) : /*#__PURE__*/React.createElement(SContent, _ref5.cn("SContent", {}), children));
|
|
83
|
+
}
|
|
84
|
+
}]);
|
|
85
|
+
}(Component);
|
|
72
86
|
_defineProperty(ItemRoot, "style", style);
|
|
73
87
|
_defineProperty(ItemRoot, "displayName", 'Item');
|
|
74
88
|
function Content(props) {
|
|
75
89
|
var _ref3 = arguments[0],
|
|
76
90
|
_ref6;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
const SContent = Flex;
|
|
82
|
-
return _ref6 = sstyled(styles), /*#__PURE__*/React.createElement(SContent, _ref6.cn("SContent", {
|
|
83
|
-
..._assignProps3({}, _ref3)
|
|
84
|
-
}), children);
|
|
91
|
+
var styles = props.styles,
|
|
92
|
+
children = props.children;
|
|
93
|
+
var SContent = Flex;
|
|
94
|
+
return _ref6 = sstyled(styles), /*#__PURE__*/React.createElement(SContent, _ref6.cn("SContent", _objectSpread({}, _assignProps3({}, _ref3))), children);
|
|
85
95
|
}
|
|
86
96
|
Content.displayName = 'Content';
|
|
87
|
-
|
|
88
|
-
Content
|
|
97
|
+
var Item = createComponent(ItemRoot, {
|
|
98
|
+
Content: Content
|
|
89
99
|
});
|
|
90
|
-
|
|
91
|
-
Item
|
|
100
|
+
var List = createComponent(ListRoot, {
|
|
101
|
+
Item: Item
|
|
92
102
|
});
|
|
93
103
|
export default List;
|
|
94
104
|
//# sourceMappingURL=List.js.map
|
package/lib/es6/List.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.js","names":["
|
|
1
|
+
{"version":3,"file":"List.js","names":["createComponent","Component","Root","sstyled","isAdvanceMode","isNode","Flex","React","style","_sstyled","insert","Text","ListRoot","_Component","_classCallCheck","_callSuper","arguments","_inherits","_createClass","key","value","getItemProps","marker","asProps","render","_ref","_ref4","SList","styles","createElement","cn","_objectSpread","_assignProps","_defineProperty","ItemRoot","_Component2","_ref2","_ref5","SItem","_this$asProps","children","markerNode","Children","SMarker","SContent","isAdvancedMode","List","Item","Content","displayName","_assignProps2","props","_ref3","arguments[0]","_ref6","_assignProps3"],"sources":["../../src/List.jsx"],"sourcesContent":["import { createComponent, Component, Root, sstyled } from '@semcore/core';\nimport { isAdvanceMode } from '@semcore/core/lib/utils/findComponent';\nimport isNode from '@semcore/core/lib/utils/isNode';\nimport { Flex } from '@semcore/flex-box';\nimport React from 'react';\n\nimport style from './style/list.shadow.css';\nimport Text from './Text';\n\nclass ListRoot extends Component {\n static displayName = 'List';\n static style = style;\n static defaultProps = {\n marker: '•',\n };\n\n getItemProps() {\n const { marker } = this.asProps;\n return {\n marker,\n };\n }\n\n render() {\n const SList = Root;\n const { styles } = this.asProps;\n return sstyled(styles)(<SList render={Text} tag='ul' />);\n }\n}\n\nclass ItemRoot extends Component {\n static style = style;\n static displayName = 'Item';\n\n render() {\n const SItem = Root;\n const { styles, children, marker: markerNode, Children } = this.asProps;\n const SMarker = 'span';\n const SContent = 'div';\n\n const isAdvancedMode = isAdvanceMode(Children, [List.Item.Content.displayName]);\n\n return sstyled(styles)(\n <SItem render={Text} tag='li'>\n {isNode(markerNode) && <SMarker aria-hidden='true'>{markerNode}</SMarker>}\n {isAdvancedMode ? <Children /> : <SContent>{children}</SContent>}\n </SItem>,\n );\n }\n}\n\nfunction Content(props) {\n const { styles, children } = props;\n const SContent = Root;\n\n return sstyled(styles)(<SContent render={Flex}>{children}</SContent>);\n}\n\nContent.displayName = 'Content';\n\nconst Item = createComponent(ItemRoot, { Content });\n\nconst List = createComponent(ListRoot, { Item });\n\nexport default List;\n"],"mappings":";;;;;;;;;;AAAA,SAASA,eAAe,EAAEC,SAAS,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AACzE,SAASC,aAAa,QAAQ,uCAAuC;AACrE,OAAOC,MAAM,MAAM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