@salutejs/plasma-new-hope 0.110.2-dev.0 → 0.111.0-dev.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/cjs/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/cjs/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
- package/cjs/components/Typography/Old/TypographyOld.js +5 -2
- package/cjs/components/Typography/Old/TypographyOld.js.map +1 -1
- package/cjs/components/Typography/Typography.js +5 -2
- package/cjs/components/Typography/Typography.js.map +1 -1
- package/emotion/cjs/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/emotion/cjs/components/Typography/Old/TypographyOld.js +5 -2
- package/emotion/cjs/components/Typography/Typography.js +5 -2
- package/emotion/es/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/emotion/es/components/Typography/Old/TypographyOld.js +5 -2
- package/emotion/es/components/Typography/Typography.js +5 -2
- package/es/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/es/components/Typography/Old/Subtitle/Subtitle.js.map +1 -1
- package/es/components/Typography/Old/TypographyOld.js +5 -2
- package/es/components/Typography/Old/TypographyOld.js.map +1 -1
- package/es/components/Typography/Typography.js +5 -2
- package/es/components/Typography/Typography.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/styled-components/cjs/components/Typography/Old/TypographyOld.js +5 -2
- package/styled-components/cjs/components/Typography/Typography.js +5 -2
- package/styled-components/es/components/Typography/Old/Subtitle/Subtitle.js +5 -2
- package/styled-components/es/components/Typography/Old/TypographyOld.js +5 -2
- package/styled-components/es/components/Typography/Typography.js +5 -2
- package/types/components/Typography/Body/Body.d.ts +2 -0
- package/types/components/Typography/Body/Body.d.ts.map +1 -1
- package/types/components/Typography/Dspl/Dspl.d.ts +2 -0
- package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
- package/types/components/Typography/Heading/Heading.d.ts +2 -0
- package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
- package/types/components/Typography/Text/Text.d.ts +2 -0
- package/types/components/Typography/Text/Text.d.ts.map +1 -1
- package/types/components/Typography/Typography.d.ts +1 -0
- package/types/components/Typography/Typography.d.ts.map +1 -1
- package/types/components/Typography/Typography.types.d.ts +1 -0
- package/types/components/Typography/Typography.types.d.ts.map +1 -1
- package/types/examples/typograpy/components/Body/Body.d.ts +1 -0
- package/types/examples/typograpy/components/Body/Body.d.ts.map +1 -1
- package/types/examples/typograpy/components/Dspl/Dspl.d.ts +1 -0
- package/types/examples/typograpy/components/Dspl/Dspl.d.ts.map +1 -1
- package/types/examples/typograpy/components/Heading/Heading.d.ts +1 -0
- package/types/examples/typograpy/components/Heading/Heading.d.ts.map +1 -1
- package/types/examples/typograpy/components/Text/Text.d.ts +1 -0
- package/types/examples/typograpy/components/Text/Text.d.ts.map +1 -1
@@ -8,17 +8,20 @@ var applySpacing = require('../../../../mixins/applySpacing.js');
|
|
8
8
|
var base = require('../../variations/_size/base.js');
|
9
9
|
var Subtitle_styles = require('./Subtitle.styles.js');
|
10
10
|
|
11
|
-
var _excluded = ["size", "children", "style"];
|
11
|
+
var _excluded = ["size", "children", "color", "style"];
|
12
12
|
var subtitleRoot = function subtitleRoot(Root) {
|
13
13
|
return /*#__PURE__*/React.forwardRef(function (props, ref) {
|
14
14
|
var size = props.size,
|
15
15
|
children = props.children,
|
16
|
+
color = props.color,
|
16
17
|
style = props.style,
|
17
18
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(props, _excluded);
|
18
19
|
return /*#__PURE__*/React.createElement(Root, _rollupPluginBabelHelpers.extends({
|
19
20
|
size: size,
|
20
21
|
ref: ref,
|
21
|
-
style: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
22
|
+
style: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
23
|
+
color: color
|
24
|
+
}, style), applySpacing.applySpacing(rest))
|
22
25
|
}, rest), children);
|
23
26
|
});
|
24
27
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Subtitle.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../../mixins/applySpacing';\nimport type { RootProps } from '../../../../engines';\nimport { base as sizeCSS } from '../../variations/_size/base';\nimport type { FontProps } from '../../Typography.types';\n\nimport { base } from './Subtitle.styles';\n\nexport type SubtitleProps = Omit<FontProps, 'bold' | 'breakWord'>;\n\nexport const subtitleRoot = (Root: RootProps<HTMLDivElement, SubtitleProps>) =>\n forwardRef<HTMLDivElement, SubtitleProps>((props, ref) => {\n const { size, children, style, ...rest } = props;\n\n return (\n <Root size={size} ref={ref} style={{ ...style, ...applySpacing(rest) }} {...rest}>\n {children}\n </Root>\n );\n });\n\nexport const subtitleConfig = {\n name: 'Subtitle',\n tag: 'div',\n layout: subtitleRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n size: 'm',\n },\n};\n"],"names":["subtitleRoot","Root","forwardRef","props","ref","size","children","style","rest","_objectWithoutProperties","_excluded","React","createElement","_extends","_objectSpread","applySpacing","subtitleConfig","name","tag","layout","base","variations","css","sizeCSS","defaults"],"mappings":";;;;;;;;;;;IAWaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAA8C,EAAA;AAAA,EAAA,oBACvEC,gBAAU,CAAgC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACtD,IAAA,IAAQC,IAAI,
|
1
|
+
{"version":3,"file":"Subtitle.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../../mixins/applySpacing';\nimport type { RootProps } from '../../../../engines';\nimport { base as sizeCSS } from '../../variations/_size/base';\nimport type { FontProps } from '../../Typography.types';\n\nimport { base } from './Subtitle.styles';\n\nexport type SubtitleProps = Omit<FontProps, 'bold' | 'breakWord'>;\n\nexport const subtitleRoot = (Root: RootProps<HTMLDivElement, SubtitleProps>) =>\n forwardRef<HTMLDivElement, SubtitleProps>((props, ref) => {\n const { size, children, color, style, ...rest } = props;\n\n return (\n <Root size={size} ref={ref} style={{ color, ...style, ...applySpacing(rest) }} {...rest}>\n {children}\n </Root>\n );\n });\n\nexport const subtitleConfig = {\n name: 'Subtitle',\n tag: 'div',\n layout: subtitleRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n size: 'm',\n },\n};\n"],"names":["subtitleRoot","Root","forwardRef","props","ref","size","children","color","style","rest","_objectWithoutProperties","_excluded","React","createElement","_extends","_objectSpread","applySpacing","subtitleConfig","name","tag","layout","base","variations","css","sizeCSS","defaults"],"mappings":";;;;;;;;;;;IAWaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAA8C,EAAA;AAAA,EAAA,oBACvEC,gBAAU,CAAgC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACtD,IAAA,IAAQC,IAAI,GAAsCF,KAAK,CAA/CE,IAAI;MAAEC,QAAQ,GAA4BH,KAAK,CAAzCG,QAAQ;MAAEC,KAAK,GAAqBJ,KAAK,CAA/BI,KAAK;MAAEC,KAAK,GAAcL,KAAK,CAAxBK,KAAK;AAAKC,MAAAA,IAAI,GAAAC,iDAAA,CAAKP,KAAK,EAAAQ,SAAA,CAAA,CAAA;AAEvD,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAACZ,IAAI,EAAAa,iCAAA,CAAA;AAACT,MAAAA,IAAI,EAAEA,IAAK;AAACD,MAAAA,GAAG,EAAEA,GAAI;MAACI,KAAK,EAAAO,uCAAA,CAAAA,uCAAA,CAAA;AAAIR,QAAAA,KAAK,EAALA,KAAAA;AAAK,OAAA,EAAKC,KAAK,CAAA,EAAKQ,yBAAY,CAACP,IAAI,CAAC,CAAA;KAAQA,EAAAA,IAAI,CAClFH,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAMW,cAAc,GAAG;AAC1BC,EAAAA,IAAI,EAAE,UAAU;AAChBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEpB,YAAY;AACpBqB,EAAAA,IAAI,EAAJA,oBAAI;AACJC,EAAAA,UAAU,EAAE;AACRjB,IAAAA,IAAI,EAAE;AACFkB,MAAAA,GAAG,EAAEC,SAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNpB,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
|
@@ -8,12 +8,13 @@ var applySpacing = require('../../../mixins/applySpacing.js');
|
|
8
8
|
var tokens = require('../tokens.js');
|
9
9
|
var index = require('../../../utils/index.js');
|
10
10
|
|
11
|
-
var _excluded = ["size", "children", "breakWord", "className", "style"];
|
11
|
+
var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
|
12
12
|
var typographyOldRoot = function typographyOldRoot(Root) {
|
13
13
|
return /*#__PURE__*/React.forwardRef(function (props, ref) {
|
14
14
|
var size = props.size,
|
15
15
|
children = props.children,
|
16
16
|
breakWord = props.breakWord,
|
17
|
+
color = props.color,
|
17
18
|
className = props.className,
|
18
19
|
style = props.style,
|
19
20
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(props, _excluded);
|
@@ -22,7 +23,9 @@ var typographyOldRoot = function typographyOldRoot(Root) {
|
|
22
23
|
size: size,
|
23
24
|
ref: ref,
|
24
25
|
className: index.cx(withBreakWord, className),
|
25
|
-
style: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
26
|
+
style: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
27
|
+
color: color
|
28
|
+
}, style), applySpacing.applySpacing(rest))
|
26
29
|
}, rest), children);
|
27
30
|
});
|
28
31
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TypographyOld.js","sources":["../../../../src/components/Typography/Old/TypographyOld.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../mixins/applySpacing';\nimport type { RootProps } from '../../../engines';\nimport { classes } from '../tokens';\nimport type { FontProps } from '../Typography.types';\nimport { cx } from '../../../utils';\n\nexport type TypographyOldProps = Omit<FontProps, 'bold'>;\n\nexport const typographyOldRoot = (Root: RootProps<HTMLDivElement, TypographyOldProps>) =>\n forwardRef<HTMLDivElement, TypographyOldProps>((props, ref) => {\n const { size, children, breakWord, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, className)}\n style={{ ...style, ...applySpacing(rest) }}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyOldRoot","Root","forwardRef","props","ref","size","children","breakWord","className","style","rest","_objectWithoutProperties","_excluded","withBreakWord","classes","typoWithBreakWord","undefined","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;;;;;IAUaA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,IAAmD,EAAA;AAAA,EAAA,oBACjFC,gBAAU,CAAqC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC3D,IAAA,IAAQC,IAAI,
|
1
|
+
{"version":3,"file":"TypographyOld.js","sources":["../../../../src/components/Typography/Old/TypographyOld.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../mixins/applySpacing';\nimport type { RootProps } from '../../../engines';\nimport { classes } from '../tokens';\nimport type { FontProps } from '../Typography.types';\nimport { cx } from '../../../utils';\n\nexport type TypographyOldProps = Omit<FontProps, 'bold'>;\n\nexport const typographyOldRoot = (Root: RootProps<HTMLDivElement, TypographyOldProps>) =>\n forwardRef<HTMLDivElement, TypographyOldProps>((props, ref) => {\n const { size, children, breakWord, color, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyOldRoot","Root","forwardRef","props","ref","size","children","breakWord","color","className","style","rest","_objectWithoutProperties","_excluded","withBreakWord","classes","typoWithBreakWord","undefined","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;;;;;IAUaA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,IAAmD,EAAA;AAAA,EAAA,oBACjFC,gBAAU,CAAqC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC3D,IAAA,IAAQC,IAAI,GAA4DF,KAAK,CAArEE,IAAI;MAAEC,QAAQ,GAAkDH,KAAK,CAA/DG,QAAQ;MAAEC,SAAS,GAAuCJ,KAAK,CAArDI,SAAS;MAAEC,KAAK,GAAgCL,KAAK,CAA1CK,KAAK;MAAEC,SAAS,GAAqBN,KAAK,CAAnCM,SAAS;MAAEC,KAAK,GAAcP,KAAK,CAAxBO,KAAK;AAAKC,MAAAA,IAAI,GAAAC,iDAAA,CAAKT,KAAK,EAAAU,SAAA,CAAA,CAAA;IAE7E,IAAMC,aAAa,GAAGP,SAAS,GAAGQ,cAAO,CAACC,iBAAiB,GAAGC,SAAS,CAAA;AAEvE,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAAClB,IAAI,EAAAmB,iCAAA,CAAA;AACDf,MAAAA,IAAI,EAAEA,IAAK;AACXD,MAAAA,GAAG,EAAEA,GAAI;AACTK,MAAAA,SAAS,EAAEY,QAAE,CAACP,aAAa,EAAEL,SAAS,CAAE;MACxCC,KAAK,EAAAY,uCAAA,CAAAA,uCAAA,CAAA;AAAId,QAAAA,KAAK,EAALA,KAAAA;AAAK,OAAA,EAAKE,KAAK,CAAA,EAAKa,yBAAY,CAACZ,IAAI,CAAC,CAAA;KAC3CA,EAAAA,IAAI,CAEPL,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA;;;;"}
|
@@ -8,7 +8,7 @@ var applySpacing = require('../../mixins/applySpacing.js');
|
|
8
8
|
var index = require('../../utils/index.js');
|
9
9
|
var tokens = require('./tokens.js');
|
10
10
|
|
11
|
-
var _excluded = ["size", "children", "breakWord", "bold", "className", "style"];
|
11
|
+
var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
|
12
12
|
var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
13
13
|
return function (Root) {
|
14
14
|
return /*#__PURE__*/React.forwardRef(function (props, ref) {
|
@@ -17,6 +17,7 @@ var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
17
17
|
breakWord = props.breakWord,
|
18
18
|
_props$bold = props.bold,
|
19
19
|
bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
|
20
|
+
color = props.color,
|
20
21
|
className = props.className,
|
21
22
|
style = props.style,
|
22
23
|
rest = _rollupPluginBabelHelpers.objectWithoutProperties(props, _excluded);
|
@@ -26,7 +27,9 @@ var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
26
27
|
size: size,
|
27
28
|
ref: ref,
|
28
29
|
className: index.cx(withBreakWord, typographyBold, className),
|
29
|
-
style: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
30
|
+
style: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
|
31
|
+
color: color
|
32
|
+
}, style), applySpacing.applySpacing(rest)),
|
30
33
|
bold: bold
|
31
34
|
}, rest), children);
|
32
35
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Typography.js","sources":["../../../src/components/Typography/Typography.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../mixins/applySpacing';\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport { classes } from './tokens';\nimport { FontProps } from './Typography.types';\n\nexport const typographyRootCompose = (defaultArgs?: { defaultBold?: boolean }) => (\n Root: RootProps<HTMLDivElement, FontProps>,\n) =>\n forwardRef<HTMLDivElement, FontProps>((props, ref) => {\n const { size, children, breakWord, bold = defaultArgs?.defaultBold, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n const typographyBold = bold ? classes.typoBold : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, typographyBold, className)}\n style={{ ...style, ...applySpacing(rest) }}\n bold={bold}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyRootCompose","defaultArgs","Root","forwardRef","props","ref","size","children","breakWord","_props$bold","bold","defaultBold","className","style","rest","_objectWithoutProperties","_excluded","withBreakWord","classes","typoWithBreakWord","undefined","typographyBold","typoBold","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;;;;;IASaA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,WAAuC,EAAA;AAAA,EAAA,OAAK,UAC9EC,IAA0C,EAAA;AAAA,IAAA,oBAE1CC,gBAAU,CAA4B,UAACC,KAAK,EAAEC,GAAG,EAAK;AAClD,MAAA,IAAQC,IAAI,
|
1
|
+
{"version":3,"file":"Typography.js","sources":["../../../src/components/Typography/Typography.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../mixins/applySpacing';\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport { classes } from './tokens';\nimport { FontProps } from './Typography.types';\n\nexport const typographyRootCompose = (defaultArgs?: { defaultBold?: boolean }) => (\n Root: RootProps<HTMLDivElement, FontProps>,\n) =>\n forwardRef<HTMLDivElement, FontProps>((props, ref) => {\n const { size, children, breakWord, bold = defaultArgs?.defaultBold, color, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n const typographyBold = bold ? classes.typoBold : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, typographyBold, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n bold={bold}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyRootCompose","defaultArgs","Root","forwardRef","props","ref","size","children","breakWord","_props$bold","bold","defaultBold","color","className","style","rest","_objectWithoutProperties","_excluded","withBreakWord","classes","typoWithBreakWord","undefined","typographyBold","typoBold","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;;;;;IASaA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,WAAuC,EAAA;AAAA,EAAA,OAAK,UAC9EC,IAA0C,EAAA;AAAA,IAAA,oBAE1CC,gBAAU,CAA4B,UAACC,KAAK,EAAEC,GAAG,EAAK;AAClD,MAAA,IAAQC,IAAI,GAA6FF,KAAK,CAAtGE,IAAI;QAAEC,QAAQ,GAAmFH,KAAK,CAAhGG,QAAQ;QAAEC,SAAS,GAAwEJ,KAAK,CAAtFI,SAAS;QAAAC,WAAA,GAAwEL,KAAK,CAA3EM,IAAI;QAAJA,IAAI,GAAAD,WAAA,KAAA,KAAA,CAAA,GAAGR,WAAW,KAAA,IAAA,IAAXA,WAAW,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAXA,WAAW,CAAEU,WAAW,GAAAF,WAAA;QAAEG,KAAK,GAAgCR,KAAK,CAA1CQ,KAAK;QAAEC,SAAS,GAAqBT,KAAK,CAAnCS,SAAS;QAAEC,KAAK,GAAcV,KAAK,CAAxBU,KAAK;AAAKC,QAAAA,IAAI,GAAAC,iDAAA,CAAKZ,KAAK,EAAAa,SAAA,CAAA,CAAA;MAE9G,IAAMC,aAAa,GAAGV,SAAS,GAAGW,cAAO,CAACC,iBAAiB,GAAGC,SAAS,CAAA;MACvE,IAAMC,cAAc,GAAGZ,IAAI,GAAGS,cAAO,CAACI,QAAQ,GAAGF,SAAS,CAAA;AAE1D,MAAA,oBACIG,KAAA,CAAAC,aAAA,CAACvB,IAAI,EAAAwB,iCAAA,CAAA;AACDpB,QAAAA,IAAI,EAAEA,IAAK;AACXD,QAAAA,GAAG,EAAEA,GAAI;QACTQ,SAAS,EAAEc,QAAE,CAACT,aAAa,EAAEI,cAAc,EAAET,SAAS,CAAE;QACxDC,KAAK,EAAAc,uCAAA,CAAAA,uCAAA,CAAA;AAAIhB,UAAAA,KAAK,EAALA,KAAAA;AAAK,SAAA,EAAKE,KAAK,CAAKe,EAAAA,yBAAY,CAACd,IAAI,CAAC,CAAG;AAClDL,QAAAA,IAAI,EAAEA,IAAAA;OACFK,EAAAA,IAAI,CAEPR,EAAAA,QACC,CAAC,CAAA;AAEf,KAAC,CAAC,CAAA;AAAA,GAAA,CAAA;AAAA;;;;"}
|
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
|
|
9
9
|
var _applySpacing = /*#__PURE__*/require("../../../../mixins/applySpacing");
|
10
10
|
var _base = /*#__PURE__*/require("../../variations/_size/base");
|
11
11
|
var _Subtitle = /*#__PURE__*/require("./Subtitle.styles");
|
12
|
-
var _excluded = ["size", "children", "style"];
|
12
|
+
var _excluded = ["size", "children", "color", "style"];
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
15
15
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
@@ -24,12 +24,15 @@ var subtitleRoot = exports.subtitleRoot = function subtitleRoot(Root) {
|
|
24
24
|
return /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
25
25
|
var size = props.size,
|
26
26
|
children = props.children,
|
27
|
+
color = props.color,
|
27
28
|
style = props.style,
|
28
29
|
rest = _objectWithoutProperties(props, _excluded);
|
29
30
|
return /*#__PURE__*/_react["default"].createElement(Root, _extends({
|
30
31
|
size: size,
|
31
32
|
ref: ref,
|
32
|
-
style: _objectSpread(_objectSpread({
|
33
|
+
style: _objectSpread(_objectSpread({
|
34
|
+
color: color
|
35
|
+
}, style), (0, _applySpacing.applySpacing)(rest))
|
33
36
|
}, rest), children);
|
34
37
|
});
|
35
38
|
};
|
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
|
|
9
9
|
var _applySpacing = /*#__PURE__*/require("../../../mixins/applySpacing");
|
10
10
|
var _tokens = /*#__PURE__*/require("../tokens");
|
11
11
|
var _utils = /*#__PURE__*/require("../../../utils");
|
12
|
-
var _excluded = ["size", "children", "breakWord", "className", "style"];
|
12
|
+
var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
15
15
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
@@ -25,6 +25,7 @@ var typographyOldRoot = exports.typographyOldRoot = function typographyOldRoot(R
|
|
25
25
|
var size = props.size,
|
26
26
|
children = props.children,
|
27
27
|
breakWord = props.breakWord,
|
28
|
+
color = props.color,
|
28
29
|
className = props.className,
|
29
30
|
style = props.style,
|
30
31
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -33,7 +34,9 @@ var typographyOldRoot = exports.typographyOldRoot = function typographyOldRoot(R
|
|
33
34
|
size: size,
|
34
35
|
ref: ref,
|
35
36
|
className: (0, _utils.cx)(withBreakWord, className),
|
36
|
-
style: _objectSpread(_objectSpread({
|
37
|
+
style: _objectSpread(_objectSpread({
|
38
|
+
color: color
|
39
|
+
}, style), (0, _applySpacing.applySpacing)(rest))
|
37
40
|
}, rest), children);
|
38
41
|
});
|
39
42
|
};
|
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
|
|
9
9
|
var _applySpacing = /*#__PURE__*/require("../../mixins/applySpacing");
|
10
10
|
var _utils = /*#__PURE__*/require("../../utils");
|
11
11
|
var _tokens = /*#__PURE__*/require("./tokens");
|
12
|
-
var _excluded = ["size", "children", "breakWord", "bold", "className", "style"];
|
12
|
+
var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
15
15
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
@@ -28,6 +28,7 @@ var typographyRootCompose = exports.typographyRootCompose = function typographyR
|
|
28
28
|
breakWord = props.breakWord,
|
29
29
|
_props$bold = props.bold,
|
30
30
|
bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
|
31
|
+
color = props.color,
|
31
32
|
className = props.className,
|
32
33
|
style = props.style,
|
33
34
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -37,7 +38,9 @@ var typographyRootCompose = exports.typographyRootCompose = function typographyR
|
|
37
38
|
size: size,
|
38
39
|
ref: ref,
|
39
40
|
className: (0, _utils.cx)(withBreakWord, typographyBold, className),
|
40
|
-
style: _objectSpread(_objectSpread({
|
41
|
+
style: _objectSpread(_objectSpread({
|
42
|
+
color: color
|
43
|
+
}, style), (0, _applySpacing.applySpacing)(rest)),
|
41
44
|
bold: bold
|
42
45
|
}, rest), children);
|
43
46
|
});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["size", "children", "style"];
|
2
|
+
var _excluded = ["size", "children", "color", "style"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -16,12 +16,15 @@ export var subtitleRoot = function subtitleRoot(Root) {
|
|
16
16
|
return /*#__PURE__*/forwardRef(function (props, ref) {
|
17
17
|
var size = props.size,
|
18
18
|
children = props.children,
|
19
|
+
color = props.color,
|
19
20
|
style = props.style,
|
20
21
|
rest = _objectWithoutProperties(props, _excluded);
|
21
22
|
return /*#__PURE__*/React.createElement(Root, _extends({
|
22
23
|
size: size,
|
23
24
|
ref: ref,
|
24
|
-
style: _objectSpread(_objectSpread({
|
25
|
+
style: _objectSpread(_objectSpread({
|
26
|
+
color: color
|
27
|
+
}, style), applySpacing(rest))
|
25
28
|
}, rest), children);
|
26
29
|
});
|
27
30
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["size", "children", "breakWord", "className", "style"];
|
2
|
+
var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -17,6 +17,7 @@ export var typographyOldRoot = function typographyOldRoot(Root) {
|
|
17
17
|
var size = props.size,
|
18
18
|
children = props.children,
|
19
19
|
breakWord = props.breakWord,
|
20
|
+
color = props.color,
|
20
21
|
className = props.className,
|
21
22
|
style = props.style,
|
22
23
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -25,7 +26,9 @@ export var typographyOldRoot = function typographyOldRoot(Root) {
|
|
25
26
|
size: size,
|
26
27
|
ref: ref,
|
27
28
|
className: cx(withBreakWord, className),
|
28
|
-
style: _objectSpread(_objectSpread({
|
29
|
+
style: _objectSpread(_objectSpread({
|
30
|
+
color: color
|
31
|
+
}, style), applySpacing(rest))
|
29
32
|
}, rest), children);
|
30
33
|
});
|
31
34
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["size", "children", "breakWord", "bold", "className", "style"];
|
2
|
+
var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -20,6 +20,7 @@ export var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
20
20
|
breakWord = props.breakWord,
|
21
21
|
_props$bold = props.bold,
|
22
22
|
bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
|
23
|
+
color = props.color,
|
23
24
|
className = props.className,
|
24
25
|
style = props.style,
|
25
26
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -29,7 +30,9 @@ export var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
29
30
|
size: size,
|
30
31
|
ref: ref,
|
31
32
|
className: cx(withBreakWord, typographyBold, className),
|
32
|
-
style: _objectSpread(_objectSpread({
|
33
|
+
style: _objectSpread(_objectSpread({
|
34
|
+
color: color
|
35
|
+
}, style), applySpacing(rest)),
|
33
36
|
bold: bold
|
34
37
|
}, rest), children);
|
35
38
|
});
|
@@ -4,17 +4,20 @@ import { applySpacing } from '../../../../mixins/applySpacing.js';
|
|
4
4
|
import { base as base$1 } from '../../variations/_size/base.js';
|
5
5
|
import { base } from './Subtitle.styles.js';
|
6
6
|
|
7
|
-
var _excluded = ["size", "children", "style"];
|
7
|
+
var _excluded = ["size", "children", "color", "style"];
|
8
8
|
var subtitleRoot = function subtitleRoot(Root) {
|
9
9
|
return /*#__PURE__*/forwardRef(function (props, ref) {
|
10
10
|
var size = props.size,
|
11
11
|
children = props.children,
|
12
|
+
color = props.color,
|
12
13
|
style = props.style,
|
13
14
|
rest = _objectWithoutProperties(props, _excluded);
|
14
15
|
return /*#__PURE__*/React.createElement(Root, _extends({
|
15
16
|
size: size,
|
16
17
|
ref: ref,
|
17
|
-
style: _objectSpread2(_objectSpread2({
|
18
|
+
style: _objectSpread2(_objectSpread2({
|
19
|
+
color: color
|
20
|
+
}, style), applySpacing(rest))
|
18
21
|
}, rest), children);
|
19
22
|
});
|
20
23
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Subtitle.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../../mixins/applySpacing';\nimport type { RootProps } from '../../../../engines';\nimport { base as sizeCSS } from '../../variations/_size/base';\nimport type { FontProps } from '../../Typography.types';\n\nimport { base } from './Subtitle.styles';\n\nexport type SubtitleProps = Omit<FontProps, 'bold' | 'breakWord'>;\n\nexport const subtitleRoot = (Root: RootProps<HTMLDivElement, SubtitleProps>) =>\n forwardRef<HTMLDivElement, SubtitleProps>((props, ref) => {\n const { size, children, style, ...rest } = props;\n\n return (\n <Root size={size} ref={ref} style={{ ...style, ...applySpacing(rest) }} {...rest}>\n {children}\n </Root>\n );\n });\n\nexport const subtitleConfig = {\n name: 'Subtitle',\n tag: 'div',\n layout: subtitleRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n size: 'm',\n },\n};\n"],"names":["subtitleRoot","Root","forwardRef","props","ref","size","children","style","rest","_objectWithoutProperties","_excluded","React","createElement","_extends","_objectSpread","applySpacing","subtitleConfig","name","tag","layout","base","variations","css","sizeCSS","defaults"],"mappings":";;;;;;;IAWaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAA8C,EAAA;AAAA,EAAA,oBACvEC,UAAU,CAAgC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACtD,IAAA,IAAQC,IAAI,
|
1
|
+
{"version":3,"file":"Subtitle.js","sources":["../../../../../src/components/Typography/Old/Subtitle/Subtitle.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../../mixins/applySpacing';\nimport type { RootProps } from '../../../../engines';\nimport { base as sizeCSS } from '../../variations/_size/base';\nimport type { FontProps } from '../../Typography.types';\n\nimport { base } from './Subtitle.styles';\n\nexport type SubtitleProps = Omit<FontProps, 'bold' | 'breakWord'>;\n\nexport const subtitleRoot = (Root: RootProps<HTMLDivElement, SubtitleProps>) =>\n forwardRef<HTMLDivElement, SubtitleProps>((props, ref) => {\n const { size, children, color, style, ...rest } = props;\n\n return (\n <Root size={size} ref={ref} style={{ color, ...style, ...applySpacing(rest) }} {...rest}>\n {children}\n </Root>\n );\n });\n\nexport const subtitleConfig = {\n name: 'Subtitle',\n tag: 'div',\n layout: subtitleRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n size: 'm',\n },\n};\n"],"names":["subtitleRoot","Root","forwardRef","props","ref","size","children","color","style","rest","_objectWithoutProperties","_excluded","React","createElement","_extends","_objectSpread","applySpacing","subtitleConfig","name","tag","layout","base","variations","css","sizeCSS","defaults"],"mappings":";;;;;;;IAWaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAA8C,EAAA;AAAA,EAAA,oBACvEC,UAAU,CAAgC,UAACC,KAAK,EAAEC,GAAG,EAAK;AACtD,IAAA,IAAQC,IAAI,GAAsCF,KAAK,CAA/CE,IAAI;MAAEC,QAAQ,GAA4BH,KAAK,CAAzCG,QAAQ;MAAEC,KAAK,GAAqBJ,KAAK,CAA/BI,KAAK;MAAEC,KAAK,GAAcL,KAAK,CAAxBK,KAAK;AAAKC,MAAAA,IAAI,GAAAC,wBAAA,CAAKP,KAAK,EAAAQ,SAAA,CAAA,CAAA;AAEvD,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAACZ,IAAI,EAAAa,QAAA,CAAA;AAACT,MAAAA,IAAI,EAAEA,IAAK;AAACD,MAAAA,GAAG,EAAEA,GAAI;MAACI,KAAK,EAAAO,cAAA,CAAAA,cAAA,CAAA;AAAIR,QAAAA,KAAK,EAALA,KAAAA;AAAK,OAAA,EAAKC,KAAK,CAAA,EAAKQ,YAAY,CAACP,IAAI,CAAC,CAAA;KAAQA,EAAAA,IAAI,CAClFH,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAMW,cAAc,GAAG;AAC1BC,EAAAA,IAAI,EAAE,UAAU;AAChBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEpB,YAAY;AACpBqB,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRjB,IAAAA,IAAI,EAAE;AACFkB,MAAAA,GAAG,EAAEC,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNpB,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
|
@@ -4,12 +4,13 @@ import { applySpacing } from '../../../mixins/applySpacing.js';
|
|
4
4
|
import { classes } from '../tokens.js';
|
5
5
|
import { cx } from '../../../utils/index.js';
|
6
6
|
|
7
|
-
var _excluded = ["size", "children", "breakWord", "className", "style"];
|
7
|
+
var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
|
8
8
|
var typographyOldRoot = function typographyOldRoot(Root) {
|
9
9
|
return /*#__PURE__*/forwardRef(function (props, ref) {
|
10
10
|
var size = props.size,
|
11
11
|
children = props.children,
|
12
12
|
breakWord = props.breakWord,
|
13
|
+
color = props.color,
|
13
14
|
className = props.className,
|
14
15
|
style = props.style,
|
15
16
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -18,7 +19,9 @@ var typographyOldRoot = function typographyOldRoot(Root) {
|
|
18
19
|
size: size,
|
19
20
|
ref: ref,
|
20
21
|
className: cx(withBreakWord, className),
|
21
|
-
style: _objectSpread2(_objectSpread2({
|
22
|
+
style: _objectSpread2(_objectSpread2({
|
23
|
+
color: color
|
24
|
+
}, style), applySpacing(rest))
|
22
25
|
}, rest), children);
|
23
26
|
});
|
24
27
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TypographyOld.js","sources":["../../../../src/components/Typography/Old/TypographyOld.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../mixins/applySpacing';\nimport type { RootProps } from '../../../engines';\nimport { classes } from '../tokens';\nimport type { FontProps } from '../Typography.types';\nimport { cx } from '../../../utils';\n\nexport type TypographyOldProps = Omit<FontProps, 'bold'>;\n\nexport const typographyOldRoot = (Root: RootProps<HTMLDivElement, TypographyOldProps>) =>\n forwardRef<HTMLDivElement, TypographyOldProps>((props, ref) => {\n const { size, children, breakWord, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, className)}\n style={{ ...style, ...applySpacing(rest) }}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyOldRoot","Root","forwardRef","props","ref","size","children","breakWord","className","style","rest","_objectWithoutProperties","_excluded","withBreakWord","classes","typoWithBreakWord","undefined","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;IAUaA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,IAAmD,EAAA;AAAA,EAAA,oBACjFC,UAAU,CAAqC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC3D,IAAA,IAAQC,IAAI,
|
1
|
+
{"version":3,"file":"TypographyOld.js","sources":["../../../../src/components/Typography/Old/TypographyOld.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../../mixins/applySpacing';\nimport type { RootProps } from '../../../engines';\nimport { classes } from '../tokens';\nimport type { FontProps } from '../Typography.types';\nimport { cx } from '../../../utils';\n\nexport type TypographyOldProps = Omit<FontProps, 'bold'>;\n\nexport const typographyOldRoot = (Root: RootProps<HTMLDivElement, TypographyOldProps>) =>\n forwardRef<HTMLDivElement, TypographyOldProps>((props, ref) => {\n const { size, children, breakWord, color, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyOldRoot","Root","forwardRef","props","ref","size","children","breakWord","color","className","style","rest","_objectWithoutProperties","_excluded","withBreakWord","classes","typoWithBreakWord","undefined","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;IAUaA,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,IAAmD,EAAA;AAAA,EAAA,oBACjFC,UAAU,CAAqC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC3D,IAAA,IAAQC,IAAI,GAA4DF,KAAK,CAArEE,IAAI;MAAEC,QAAQ,GAAkDH,KAAK,CAA/DG,QAAQ;MAAEC,SAAS,GAAuCJ,KAAK,CAArDI,SAAS;MAAEC,KAAK,GAAgCL,KAAK,CAA1CK,KAAK;MAAEC,SAAS,GAAqBN,KAAK,CAAnCM,SAAS;MAAEC,KAAK,GAAcP,KAAK,CAAxBO,KAAK;AAAKC,MAAAA,IAAI,GAAAC,wBAAA,CAAKT,KAAK,EAAAU,SAAA,CAAA,CAAA;IAE7E,IAAMC,aAAa,GAAGP,SAAS,GAAGQ,OAAO,CAACC,iBAAiB,GAAGC,SAAS,CAAA;AAEvE,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAAClB,IAAI,EAAAmB,QAAA,CAAA;AACDf,MAAAA,IAAI,EAAEA,IAAK;AACXD,MAAAA,GAAG,EAAEA,GAAI;AACTK,MAAAA,SAAS,EAAEY,EAAE,CAACP,aAAa,EAAEL,SAAS,CAAE;MACxCC,KAAK,EAAAY,cAAA,CAAAA,cAAA,CAAA;AAAId,QAAAA,KAAK,EAALA,KAAAA;AAAK,OAAA,EAAKE,KAAK,CAAA,EAAKa,YAAY,CAACZ,IAAI,CAAC,CAAA;KAC3CA,EAAAA,IAAI,CAEPL,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA;;;;"}
|
@@ -4,7 +4,7 @@ import { applySpacing } from '../../mixins/applySpacing.js';
|
|
4
4
|
import { cx } from '../../utils/index.js';
|
5
5
|
import { classes } from './tokens.js';
|
6
6
|
|
7
|
-
var _excluded = ["size", "children", "breakWord", "bold", "className", "style"];
|
7
|
+
var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
|
8
8
|
var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
9
9
|
return function (Root) {
|
10
10
|
return /*#__PURE__*/forwardRef(function (props, ref) {
|
@@ -13,6 +13,7 @@ var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
13
13
|
breakWord = props.breakWord,
|
14
14
|
_props$bold = props.bold,
|
15
15
|
bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
|
16
|
+
color = props.color,
|
16
17
|
className = props.className,
|
17
18
|
style = props.style,
|
18
19
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -22,7 +23,9 @@ var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
22
23
|
size: size,
|
23
24
|
ref: ref,
|
24
25
|
className: cx(withBreakWord, typographyBold, className),
|
25
|
-
style: _objectSpread2(_objectSpread2({
|
26
|
+
style: _objectSpread2(_objectSpread2({
|
27
|
+
color: color
|
28
|
+
}, style), applySpacing(rest)),
|
26
29
|
bold: bold
|
27
30
|
}, rest), children);
|
28
31
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Typography.js","sources":["../../../src/components/Typography/Typography.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../mixins/applySpacing';\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport { classes } from './tokens';\nimport { FontProps } from './Typography.types';\n\nexport const typographyRootCompose = (defaultArgs?: { defaultBold?: boolean }) => (\n Root: RootProps<HTMLDivElement, FontProps>,\n) =>\n forwardRef<HTMLDivElement, FontProps>((props, ref) => {\n const { size, children, breakWord, bold = defaultArgs?.defaultBold, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n const typographyBold = bold ? classes.typoBold : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, typographyBold, className)}\n style={{ ...style, ...applySpacing(rest) }}\n bold={bold}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyRootCompose","defaultArgs","Root","forwardRef","props","ref","size","children","breakWord","_props$bold","bold","defaultBold","className","style","rest","_objectWithoutProperties","_excluded","withBreakWord","classes","typoWithBreakWord","undefined","typographyBold","typoBold","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;IASaA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,WAAuC,EAAA;AAAA,EAAA,OAAK,UAC9EC,IAA0C,EAAA;AAAA,IAAA,oBAE1CC,UAAU,CAA4B,UAACC,KAAK,EAAEC,GAAG,EAAK;AAClD,MAAA,IAAQC,IAAI,
|
1
|
+
{"version":3,"file":"Typography.js","sources":["../../../src/components/Typography/Typography.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { applySpacing } from '../../mixins/applySpacing';\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport { classes } from './tokens';\nimport { FontProps } from './Typography.types';\n\nexport const typographyRootCompose = (defaultArgs?: { defaultBold?: boolean }) => (\n Root: RootProps<HTMLDivElement, FontProps>,\n) =>\n forwardRef<HTMLDivElement, FontProps>((props, ref) => {\n const { size, children, breakWord, bold = defaultArgs?.defaultBold, color, className, style, ...rest } = props;\n\n const withBreakWord = breakWord ? classes.typoWithBreakWord : undefined;\n const typographyBold = bold ? classes.typoBold : undefined;\n\n return (\n <Root\n size={size}\n ref={ref}\n className={cx(withBreakWord, typographyBold, className)}\n style={{ color, ...style, ...applySpacing(rest) }}\n bold={bold}\n {...rest}\n >\n {children}\n </Root>\n );\n });\n"],"names":["typographyRootCompose","defaultArgs","Root","forwardRef","props","ref","size","children","breakWord","_props$bold","bold","defaultBold","color","className","style","rest","_objectWithoutProperties","_excluded","withBreakWord","classes","typoWithBreakWord","undefined","typographyBold","typoBold","React","createElement","_extends","cx","_objectSpread","applySpacing"],"mappings":";;;;;;;IASaA,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,WAAuC,EAAA;AAAA,EAAA,OAAK,UAC9EC,IAA0C,EAAA;AAAA,IAAA,oBAE1CC,UAAU,CAA4B,UAACC,KAAK,EAAEC,GAAG,EAAK;AAClD,MAAA,IAAQC,IAAI,GAA6FF,KAAK,CAAtGE,IAAI;QAAEC,QAAQ,GAAmFH,KAAK,CAAhGG,QAAQ;QAAEC,SAAS,GAAwEJ,KAAK,CAAtFI,SAAS;QAAAC,WAAA,GAAwEL,KAAK,CAA3EM,IAAI;QAAJA,IAAI,GAAAD,WAAA,KAAA,KAAA,CAAA,GAAGR,WAAW,KAAA,IAAA,IAAXA,WAAW,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAXA,WAAW,CAAEU,WAAW,GAAAF,WAAA;QAAEG,KAAK,GAAgCR,KAAK,CAA1CQ,KAAK;QAAEC,SAAS,GAAqBT,KAAK,CAAnCS,SAAS;QAAEC,KAAK,GAAcV,KAAK,CAAxBU,KAAK;AAAKC,QAAAA,IAAI,GAAAC,wBAAA,CAAKZ,KAAK,EAAAa,SAAA,CAAA,CAAA;MAE9G,IAAMC,aAAa,GAAGV,SAAS,GAAGW,OAAO,CAACC,iBAAiB,GAAGC,SAAS,CAAA;MACvE,IAAMC,cAAc,GAAGZ,IAAI,GAAGS,OAAO,CAACI,QAAQ,GAAGF,SAAS,CAAA;AAE1D,MAAA,oBACIG,KAAA,CAAAC,aAAA,CAACvB,IAAI,EAAAwB,QAAA,CAAA;AACDpB,QAAAA,IAAI,EAAEA,IAAK;AACXD,QAAAA,GAAG,EAAEA,GAAI;QACTQ,SAAS,EAAEc,EAAE,CAACT,aAAa,EAAEI,cAAc,EAAET,SAAS,CAAE;QACxDC,KAAK,EAAAc,cAAA,CAAAA,cAAA,CAAA;AAAIhB,UAAAA,KAAK,EAALA,KAAAA;AAAK,SAAA,EAAKE,KAAK,CAAKe,EAAAA,YAAY,CAACd,IAAI,CAAC,CAAG;AAClDL,QAAAA,IAAI,EAAEA,IAAAA;OACFK,EAAAA,IAAI,CAEPR,EAAAA,QACC,CAAC,CAAA;AAEf,KAAC,CAAC,CAAA;AAAA,GAAA,CAAA;AAAA;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.111.0-dev.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -118,5 +118,5 @@
|
|
118
118
|
"react-popper": "2.3.0",
|
119
119
|
"storeon": "3.1.5"
|
120
120
|
},
|
121
|
-
"gitHead": "
|
121
|
+
"gitHead": "bbcda6185134b832c4cd1b43a6b5a95a23885f06"
|
122
122
|
}
|
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
|
|
9
9
|
var _applySpacing = /*#__PURE__*/require("../../../../mixins/applySpacing");
|
10
10
|
var _base = /*#__PURE__*/require("../../variations/_size/base");
|
11
11
|
var _Subtitle = /*#__PURE__*/require("./Subtitle.styles");
|
12
|
-
var _excluded = ["size", "children", "style"];
|
12
|
+
var _excluded = ["size", "children", "color", "style"];
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
15
15
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
@@ -24,12 +24,15 @@ var subtitleRoot = exports.subtitleRoot = function subtitleRoot(Root) {
|
|
24
24
|
return /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
25
25
|
var size = props.size,
|
26
26
|
children = props.children,
|
27
|
+
color = props.color,
|
27
28
|
style = props.style,
|
28
29
|
rest = _objectWithoutProperties(props, _excluded);
|
29
30
|
return /*#__PURE__*/_react["default"].createElement(Root, _extends({
|
30
31
|
size: size,
|
31
32
|
ref: ref,
|
32
|
-
style: _objectSpread(_objectSpread({
|
33
|
+
style: _objectSpread(_objectSpread({
|
34
|
+
color: color
|
35
|
+
}, style), (0, _applySpacing.applySpacing)(rest))
|
33
36
|
}, rest), children);
|
34
37
|
});
|
35
38
|
};
|
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
|
|
9
9
|
var _applySpacing = /*#__PURE__*/require("../../../mixins/applySpacing");
|
10
10
|
var _tokens = /*#__PURE__*/require("../tokens");
|
11
11
|
var _utils = /*#__PURE__*/require("../../../utils");
|
12
|
-
var _excluded = ["size", "children", "breakWord", "className", "style"];
|
12
|
+
var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
15
15
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
@@ -25,6 +25,7 @@ var typographyOldRoot = exports.typographyOldRoot = function typographyOldRoot(R
|
|
25
25
|
var size = props.size,
|
26
26
|
children = props.children,
|
27
27
|
breakWord = props.breakWord,
|
28
|
+
color = props.color,
|
28
29
|
className = props.className,
|
29
30
|
style = props.style,
|
30
31
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -33,7 +34,9 @@ var typographyOldRoot = exports.typographyOldRoot = function typographyOldRoot(R
|
|
33
34
|
size: size,
|
34
35
|
ref: ref,
|
35
36
|
className: (0, _utils.cx)(withBreakWord, className),
|
36
|
-
style: _objectSpread(_objectSpread({
|
37
|
+
style: _objectSpread(_objectSpread({
|
38
|
+
color: color
|
39
|
+
}, style), (0, _applySpacing.applySpacing)(rest))
|
37
40
|
}, rest), children);
|
38
41
|
});
|
39
42
|
};
|
@@ -9,7 +9,7 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
|
|
9
9
|
var _applySpacing = /*#__PURE__*/require("../../mixins/applySpacing");
|
10
10
|
var _utils = /*#__PURE__*/require("../../utils");
|
11
11
|
var _tokens = /*#__PURE__*/require("./tokens");
|
12
|
-
var _excluded = ["size", "children", "breakWord", "bold", "className", "style"];
|
12
|
+
var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
|
13
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
14
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
15
15
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
@@ -28,6 +28,7 @@ var typographyRootCompose = exports.typographyRootCompose = function typographyR
|
|
28
28
|
breakWord = props.breakWord,
|
29
29
|
_props$bold = props.bold,
|
30
30
|
bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
|
31
|
+
color = props.color,
|
31
32
|
className = props.className,
|
32
33
|
style = props.style,
|
33
34
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -37,7 +38,9 @@ var typographyRootCompose = exports.typographyRootCompose = function typographyR
|
|
37
38
|
size: size,
|
38
39
|
ref: ref,
|
39
40
|
className: (0, _utils.cx)(withBreakWord, typographyBold, className),
|
40
|
-
style: _objectSpread(_objectSpread({
|
41
|
+
style: _objectSpread(_objectSpread({
|
42
|
+
color: color
|
43
|
+
}, style), (0, _applySpacing.applySpacing)(rest)),
|
41
44
|
bold: bold
|
42
45
|
}, rest), children);
|
43
46
|
});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["size", "children", "style"];
|
2
|
+
var _excluded = ["size", "children", "color", "style"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -16,12 +16,15 @@ export var subtitleRoot = function subtitleRoot(Root) {
|
|
16
16
|
return /*#__PURE__*/forwardRef(function (props, ref) {
|
17
17
|
var size = props.size,
|
18
18
|
children = props.children,
|
19
|
+
color = props.color,
|
19
20
|
style = props.style,
|
20
21
|
rest = _objectWithoutProperties(props, _excluded);
|
21
22
|
return /*#__PURE__*/React.createElement(Root, _extends({
|
22
23
|
size: size,
|
23
24
|
ref: ref,
|
24
|
-
style: _objectSpread(_objectSpread({
|
25
|
+
style: _objectSpread(_objectSpread({
|
26
|
+
color: color
|
27
|
+
}, style), applySpacing(rest))
|
25
28
|
}, rest), children);
|
26
29
|
});
|
27
30
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["size", "children", "breakWord", "className", "style"];
|
2
|
+
var _excluded = ["size", "children", "breakWord", "color", "className", "style"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -17,6 +17,7 @@ export var typographyOldRoot = function typographyOldRoot(Root) {
|
|
17
17
|
var size = props.size,
|
18
18
|
children = props.children,
|
19
19
|
breakWord = props.breakWord,
|
20
|
+
color = props.color,
|
20
21
|
className = props.className,
|
21
22
|
style = props.style,
|
22
23
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -25,7 +26,9 @@ export var typographyOldRoot = function typographyOldRoot(Root) {
|
|
25
26
|
size: size,
|
26
27
|
ref: ref,
|
27
28
|
className: cx(withBreakWord, className),
|
28
|
-
style: _objectSpread(_objectSpread({
|
29
|
+
style: _objectSpread(_objectSpread({
|
30
|
+
color: color
|
31
|
+
}, style), applySpacing(rest))
|
29
32
|
}, rest), children);
|
30
33
|
});
|
31
34
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
2
|
-
var _excluded = ["size", "children", "breakWord", "bold", "className", "style"];
|
2
|
+
var _excluded = ["size", "children", "breakWord", "bold", "color", "className", "style"];
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
@@ -20,6 +20,7 @@ export var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
20
20
|
breakWord = props.breakWord,
|
21
21
|
_props$bold = props.bold,
|
22
22
|
bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
|
23
|
+
color = props.color,
|
23
24
|
className = props.className,
|
24
25
|
style = props.style,
|
25
26
|
rest = _objectWithoutProperties(props, _excluded);
|
@@ -29,7 +30,9 @@ export var typographyRootCompose = function typographyRootCompose(defaultArgs) {
|
|
29
30
|
size: size,
|
30
31
|
ref: ref,
|
31
32
|
className: cx(withBreakWord, typographyBold, className),
|
32
|
-
style: _objectSpread(_objectSpread({
|
33
|
+
style: _objectSpread(_objectSpread({
|
34
|
+
color: color
|
35
|
+
}, style), applySpacing(rest)),
|
33
36
|
bold: bold
|
34
37
|
}, rest), children);
|
35
38
|
});
|
@@ -3,12 +3,14 @@ import type { FontProps } from '../Typography.types';
|
|
3
3
|
export declare type BodyProps = FontProps;
|
4
4
|
export declare const bodyRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
5
5
|
breakWord?: boolean | undefined;
|
6
|
+
color?: string | undefined;
|
6
7
|
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
7
8
|
export declare const bodyConfig: {
|
8
9
|
name: string;
|
9
10
|
tag: string;
|
10
11
|
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
11
12
|
breakWord?: boolean | undefined;
|
13
|
+
color?: string | undefined;
|
12
14
|
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
13
15
|
base: import("@linaria/core").LinariaClassName;
|
14
16
|
variations: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Body/Body.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Body/Body.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ;;;+KAA0B,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAatB,CAAC"}
|
@@ -3,12 +3,14 @@ import type { FontProps } from '../Typography.types';
|
|
3
3
|
export declare type DsplProps = FontProps;
|
4
4
|
export declare const dsplRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
5
5
|
breakWord?: boolean | undefined;
|
6
|
+
color?: string | undefined;
|
6
7
|
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
7
8
|
export declare const dsplConfig: {
|
8
9
|
name: string;
|
9
10
|
tag: string;
|
10
11
|
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
11
12
|
breakWord?: boolean | undefined;
|
13
|
+
color?: string | undefined;
|
12
14
|
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
13
15
|
base: import("@linaria/core").LinariaClassName;
|
14
16
|
variations: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dspl.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Dspl/Dspl.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"Dspl.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Dspl/Dspl.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ;;;+KAA+C,CAAC;AAErE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAatB,CAAC"}
|
@@ -3,12 +3,14 @@ import type { FontProps } from '../Typography.types';
|
|
3
3
|
export declare type HeadingProps = FontProps;
|
4
4
|
export declare const headingRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
5
5
|
breakWord?: boolean | undefined;
|
6
|
+
color?: string | undefined;
|
6
7
|
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
7
8
|
export declare const headingConfig: {
|
8
9
|
name: string;
|
9
10
|
tag: string;
|
10
11
|
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
11
12
|
breakWord?: boolean | undefined;
|
13
|
+
color?: string | undefined;
|
12
14
|
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
13
15
|
base: import("@linaria/core").LinariaClassName;
|
14
16
|
variations: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,YAAY,GAAG,SAAS,CAAC;AAErC,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,YAAY,GAAG,SAAS,CAAC;AAErC,eAAO,MAAM,WAAW;;;+KAA+C,CAAC;AAExE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;CAazB,CAAC"}
|
@@ -3,12 +3,14 @@ import type { FontProps } from '../Typography.types';
|
|
3
3
|
export declare type TextProps = FontProps;
|
4
4
|
export declare const textRoot: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
5
5
|
breakWord?: boolean | undefined;
|
6
|
+
color?: string | undefined;
|
6
7
|
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
7
8
|
export declare const textConfig: {
|
8
9
|
name: string;
|
9
10
|
tag: string;
|
10
11
|
layout: (Root: import("../../..").RootProps<HTMLDivElement, FontProps>) => import("react").ForwardRefExoticComponent<{
|
11
12
|
breakWord?: boolean | undefined;
|
13
|
+
color?: string | undefined;
|
12
14
|
} & import("../../..").SpacingProps & import("../Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
13
15
|
base: import("@linaria/core").LinariaClassName;
|
14
16
|
variations: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Text/Text.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/Typography/Text/Text.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,oBAAY,SAAS,GAAG,SAAS,CAAC;AAElC,eAAO,MAAM,QAAQ;;;+KAA0B,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;CAatB,CAAC"}
|
@@ -5,5 +5,6 @@ export declare const typographyRootCompose: (defaultArgs?: {
|
|
5
5
|
defaultBold?: boolean | undefined;
|
6
6
|
} | undefined) => (Root: RootProps<HTMLDivElement, FontProps>) => React.ForwardRefExoticComponent<{
|
7
7
|
breakWord?: boolean | undefined;
|
8
|
+
color?: string | undefined;
|
8
9
|
} & import("../../mixins/applySpacing").SpacingProps & import("./Typography.types").BoldProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
9
10
|
//# sourceMappingURL=Typography.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,eAAO,MAAM,qBAAqB;;yBACxB,UAAU,cAAc,EAAE,SAAS,CAAC
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,eAAO,MAAM,qBAAqB;;yBACxB,UAAU,cAAc,EAAE,SAAS,CAAC;;;2KAoBxC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Typography.types.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,oBAAY,SAAS,GAAG;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,oBAAY,SAAS,GAAG;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"Typography.types.d.ts","sourceRoot":"","sources":["../../../src/components/Typography/Typography.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,oBAAY,SAAS,GAAG;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AACF,oBAAY,SAAS,GAAG;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,GAAG,YAAY,GACZ,SAAS,GACT,cAAc,CAAC,cAAc,CAAC,CAAC"}
|
@@ -9,5 +9,6 @@ export declare const Body: import("react").FunctionComponent<import("../../../..
|
|
9
9
|
};
|
10
10
|
}> & {
|
11
11
|
breakWord?: boolean | undefined;
|
12
|
+
color?: string | undefined;
|
12
13
|
} & import("../../../..").SpacingProps & import("../../../../components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
13
14
|
//# sourceMappingURL=Body.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../../../src/examples/typograpy/components/Body/Body.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../../../src/examples/typograpy/components/Body/Body.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;;iNAA0B,CAAC"}
|
@@ -7,5 +7,6 @@ export declare const Dspl: import("react").FunctionComponent<import("../../../..
|
|
7
7
|
};
|
8
8
|
}> & {
|
9
9
|
breakWord?: boolean | undefined;
|
10
|
+
color?: string | undefined;
|
10
11
|
} & import("../../../..").SpacingProps & import("../../../../components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
11
12
|
//# sourceMappingURL=Dspl.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dspl.d.ts","sourceRoot":"","sources":["../../../../../src/examples/typograpy/components/Dspl/Dspl.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"Dspl.d.ts","sourceRoot":"","sources":["../../../../../src/examples/typograpy/components/Dspl/Dspl.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;iNAA0B,CAAC"}
|
@@ -9,5 +9,6 @@ export declare const Heading: import("react").FunctionComponent<import("../../..
|
|
9
9
|
};
|
10
10
|
}> & {
|
11
11
|
breakWord?: boolean | undefined;
|
12
|
+
color?: string | undefined;
|
12
13
|
} & import("../../../..").SpacingProps & import("../../../../components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
13
14
|
//# sourceMappingURL=Heading.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/examples/typograpy/components/Heading/Heading.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/examples/typograpy/components/Heading/Heading.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,OAAO;;;;;;;;;;;iNAA0B,CAAC"}
|
@@ -8,5 +8,6 @@ export declare const Text: import("react").FunctionComponent<import("../../../..
|
|
8
8
|
};
|
9
9
|
}> & {
|
10
10
|
breakWord?: boolean | undefined;
|
11
|
+
color?: string | undefined;
|
11
12
|
} & import("../../../..").SpacingProps & import("../../../../components/Typography/Typography.types").BoldProps & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
12
13
|
//# sourceMappingURL=Text.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/examples/typograpy/components/Text/Text.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/examples/typograpy/components/Text/Text.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI;;;;;;;;;;iNAA0B,CAAC"}
|