@alfalab/core-components-list-header 5.0.14 → 5.0.15-alfasans
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/Component.js.map +1 -1
- package/cssm/Component.js.map +1 -1
- package/esm/Component.js.map +1 -1
- package/esm/index.css +3 -3
- package/esm/index.module.css.js +1 -1
- package/esm/index.module.css.js.map +1 -1
- package/index.css +3 -3
- package/index.module.css.js +1 -1
- package/index.module.css.js.map +1 -1
- package/modern/Component.js.map +1 -1
- package/modern/index.css +3 -3
- package/modern/index.module.css.js +1 -1
- package/modern/index.module.css.js.map +1 -1
- package/moderncssm/Component.js.map +1 -1
- package/package.json +4 -4
package/Component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["src/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { TypographyText } from '@alfalab/core-components-typography';\n\nimport styles from './index.module.css';\n\nexport type ListHeaderProps = {\n /**\n * Заголовок\n */\n title: string;\n\n /**\n * Дополнительное описание\n */\n description?: string;\n\n /**\n * Наличие фоновой подложки\n */\n filled?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const ListHeader: React.FC<ListHeaderProps> = ({\n title,\n description,\n filled = true,\n className,\n dataTestId,\n}) => (\n <div\n data-test-id={dataTestId}\n className={cn(styles.component, { [styles.filled]: filled }, className)}\n >\n <TypographyText view='secondary-large'>{title}</TypographyText>\n {description && (\n <TypographyText view='secondary-large' className={cn(styles.description)}>\n {`, ${description}`}\n </TypographyText>\n )}\n </div>\n);\n"],"names":["React","cn","styles","TypographyText"],"mappings":";;;;;;;;;;;;;;AAkCO,IAAM,UAAU,GAA8B,UAAC,EAMrD,EAAA;;AALG,IAAA,IAAA,KAAK,WAAA,EACL,WAAW,GAAA,EAAA,CAAA,WAAA,EACX,cAAa,EAAb,MAAM,
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["src/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { TypographyText } from '@alfalab/core-components-typography';\n\nimport styles from './index.module.css';\n\nexport type ListHeaderProps = {\n /**\n * Заголовок\n */\n title: string;\n\n /**\n * Дополнительное описание\n */\n description?: string;\n\n /**\n * Наличие фоновой подложки\n */\n filled?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const ListHeader: React.FC<ListHeaderProps> = ({\n title,\n description,\n filled = true,\n className,\n dataTestId,\n}) => (\n <div\n data-test-id={dataTestId}\n className={cn(styles.component, { [styles.filled]: filled }, className)}\n >\n <TypographyText view='secondary-large'>{title}</TypographyText>\n {description && (\n <TypographyText view='secondary-large' className={cn(styles.description)}>\n {`, ${description}`}\n </TypographyText>\n )}\n </div>\n);\n"],"names":["React","cn","styles","TypographyText"],"mappings":";;;;;;;;;;;;;;AAkCO,IAAM,UAAU,GAA8B,UAAC,EAMrD,EAAA;;AALG,IAAA,IAAA,KAAK,WAAA,EACL,WAAW,GAAA,EAAA,CAAA,WAAA,EACX,cAAa,EAAb,MAAM,GAAA,EAAA,KAAA,MAAA,GAAG,IAAI,KAAA,EACb,SAAS,GAAA,EAAA,CAAA,SAAA,EACT,UAAU,GAAA,EAAA,CAAA,UAAA;IACR,QACFA,8DACkB,UAAU,EACxB,SAAS,EAAEC,mBAAE,CAACC,YAAM,CAAC,SAAS,GAAA,EAAA,GAAA,EAAA,EAAI,EAAA,CAACA,YAAM,CAAC,MAAM,IAAG,MAAM,EAAA,EAAA,GAAI,SAAS,CAAC,EAAA;AAEvE,QAAAF,sBAAA,CAAA,aAAA,CAACG,uCAAc,EAAA,EAAC,IAAI,EAAC,iBAAiB,EAAA,EAAE,KAAK,CAAkB;QAC9D,WAAW,KACRH,sBAAA,CAAA,aAAA,CAACG,uCAAc,EAAA,EAAC,IAAI,EAAC,iBAAiB,EAAC,SAAS,EAAEF,mBAAE,CAACC,YAAM,CAAC,WAAW,CAAC,EAAA,EACnE,IAAA,CAAA,MAAA,CAAK,WAAW,CAAE,CACN,CACpB,CACC;AAXJ;;"}
|
package/cssm/Component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["../src/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { TypographyText } from '@alfalab/core-components-typography';\n\nimport styles from './index.module.css';\n\nexport type ListHeaderProps = {\n /**\n * Заголовок\n */\n title: string;\n\n /**\n * Дополнительное описание\n */\n description?: string;\n\n /**\n * Наличие фоновой подложки\n */\n filled?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const ListHeader: React.FC<ListHeaderProps> = ({\n title,\n description,\n filled = true,\n className,\n dataTestId,\n}) => (\n <div\n data-test-id={dataTestId}\n className={cn(styles.component, { [styles.filled]: filled }, className)}\n >\n <TypographyText view='secondary-large'>{title}</TypographyText>\n {description && (\n <TypographyText view='secondary-large' className={cn(styles.description)}>\n {`, ${description}`}\n </TypographyText>\n )}\n </div>\n);\n"],"names":["React","cn","styles","TypographyText"],"mappings":";;;;;;;;;;;;;;;AAkCO,IAAM,UAAU,GAA8B,UAAC,EAMrD,EAAA;;AALG,IAAA,IAAA,KAAK,WAAA,EACL,WAAW,GAAA,EAAA,CAAA,WAAA,EACX,cAAa,EAAb,MAAM,
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../src/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { TypographyText } from '@alfalab/core-components-typography';\n\nimport styles from './index.module.css';\n\nexport type ListHeaderProps = {\n /**\n * Заголовок\n */\n title: string;\n\n /**\n * Дополнительное описание\n */\n description?: string;\n\n /**\n * Наличие фоновой подложки\n */\n filled?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const ListHeader: React.FC<ListHeaderProps> = ({\n title,\n description,\n filled = true,\n className,\n dataTestId,\n}) => (\n <div\n data-test-id={dataTestId}\n className={cn(styles.component, { [styles.filled]: filled }, className)}\n >\n <TypographyText view='secondary-large'>{title}</TypographyText>\n {description && (\n <TypographyText view='secondary-large' className={cn(styles.description)}>\n {`, ${description}`}\n </TypographyText>\n )}\n </div>\n);\n"],"names":["React","cn","styles","TypographyText"],"mappings":";;;;;;;;;;;;;;;AAkCO,IAAM,UAAU,GAA8B,UAAC,EAMrD,EAAA;;AALG,IAAA,IAAA,KAAK,WAAA,EACL,WAAW,GAAA,EAAA,CAAA,WAAA,EACX,cAAa,EAAb,MAAM,GAAA,EAAA,KAAA,MAAA,GAAG,IAAI,KAAA,EACb,SAAS,GAAA,EAAA,CAAA,SAAA,EACT,UAAU,GAAA,EAAA,CAAA,UAAA;IACR,QACFA,8DACkB,UAAU,EACxB,SAAS,EAAEC,mBAAE,CAACC,uBAAM,CAAC,SAAS,GAAA,EAAA,GAAA,EAAA,EAAI,EAAA,CAACA,uBAAM,CAAC,MAAM,IAAG,MAAM,EAAA,EAAA,GAAI,SAAS,CAAC,EAAA;AAEvE,QAAAF,sBAAA,CAAA,aAAA,CAACG,mBAAc,EAAA,EAAC,IAAI,EAAC,iBAAiB,EAAA,EAAE,KAAK,CAAkB;QAC9D,WAAW,KACRH,sBAAA,CAAA,aAAA,CAACG,mBAAc,EAAA,EAAC,IAAI,EAAC,iBAAiB,EAAC,SAAS,EAAEF,mBAAE,CAACC,uBAAM,CAAC,WAAW,CAAC,EAAA,EACnE,IAAA,CAAA,MAAA,CAAK,WAAW,CAAE,CACN,CACpB,CACC;AAXJ;;"}
|
package/esm/Component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["../src/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { TypographyText } from '@alfalab/core-components-typography';\n\nimport styles from './index.module.css';\n\nexport type ListHeaderProps = {\n /**\n * Заголовок\n */\n title: string;\n\n /**\n * Дополнительное описание\n */\n description?: string;\n\n /**\n * Наличие фоновой подложки\n */\n filled?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const ListHeader: React.FC<ListHeaderProps> = ({\n title,\n description,\n filled = true,\n className,\n dataTestId,\n}) => (\n <div\n data-test-id={dataTestId}\n className={cn(styles.component, { [styles.filled]: filled }, className)}\n >\n <TypographyText view='secondary-large'>{title}</TypographyText>\n {description && (\n <TypographyText view='secondary-large' className={cn(styles.description)}>\n {`, ${description}`}\n </TypographyText>\n )}\n </div>\n);\n"],"names":[],"mappings":";;;;;AAkCO,IAAM,UAAU,GAA8B,UAAC,EAMrD,EAAA;;AALG,IAAA,IAAA,KAAK,WAAA,EACL,WAAW,GAAA,EAAA,CAAA,WAAA,EACX,cAAa,EAAb,MAAM,
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../src/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { TypographyText } from '@alfalab/core-components-typography';\n\nimport styles from './index.module.css';\n\nexport type ListHeaderProps = {\n /**\n * Заголовок\n */\n title: string;\n\n /**\n * Дополнительное описание\n */\n description?: string;\n\n /**\n * Наличие фоновой подложки\n */\n filled?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const ListHeader: React.FC<ListHeaderProps> = ({\n title,\n description,\n filled = true,\n className,\n dataTestId,\n}) => (\n <div\n data-test-id={dataTestId}\n className={cn(styles.component, { [styles.filled]: filled }, className)}\n >\n <TypographyText view='secondary-large'>{title}</TypographyText>\n {description && (\n <TypographyText view='secondary-large' className={cn(styles.description)}>\n {`, ${description}`}\n </TypographyText>\n )}\n </div>\n);\n"],"names":[],"mappings":";;;;;AAkCO,IAAM,UAAU,GAA8B,UAAC,EAMrD,EAAA;;AALG,IAAA,IAAA,KAAK,WAAA,EACL,WAAW,GAAA,EAAA,CAAA,WAAA,EACX,cAAa,EAAb,MAAM,GAAA,EAAA,KAAA,MAAA,GAAG,IAAI,KAAA,EACb,SAAS,GAAA,EAAA,CAAA,SAAA,EACT,UAAU,GAAA,EAAA,CAAA,UAAA;IACR,QACF,6CACkB,UAAU,EACxB,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,GAAA,EAAA,GAAA,EAAA,EAAI,EAAA,CAAC,MAAM,CAAC,MAAM,IAAG,MAAM,EAAA,EAAA,GAAI,SAAS,CAAC,EAAA;AAEvE,QAAA,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,IAAI,EAAC,iBAAiB,EAAA,EAAE,KAAK,CAAkB;QAC9D,WAAW,KACR,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,IAAI,EAAC,iBAAiB,EAAC,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,EAAA,EACnE,IAAA,CAAA,MAAA,CAAK,WAAW,CAAE,CACN,CACpB,CACC;AAXJ;;"}
|
package/esm/index.css
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
:root {
|
|
12
12
|
--list-header-description-opacity: 0.6;
|
|
13
13
|
}
|
|
14
|
-
.list-
|
|
14
|
+
.list-header__component_e5xn1 {
|
|
15
15
|
margin: var(--gap-24) var(--gap-12-neg) var(--gap-16);
|
|
16
16
|
padding: var(--gap-8) var(--gap-12);
|
|
17
17
|
}
|
|
18
|
-
.list-
|
|
18
|
+
.list-header__description_e5xn1 {
|
|
19
19
|
opacity: var(--list-header-description-opacity);
|
|
20
20
|
}
|
|
21
|
-
.list-
|
|
21
|
+
.list-header__filled_e5xn1 {
|
|
22
22
|
background-color: var(--color-light-neutral-200);
|
|
23
23
|
}
|
package/esm/index.module.css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"component":"list-
|
|
3
|
+
var styles = {"component":"list-header__component_e5xn1","description":"list-header__description_e5xn1","filled":"list-header__filled_e5xn1"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n --list-header-description-opacity: 0.6;\n}\n\n.component {\n margin: var(--gap-24) var(--gap-12-neg) var(--gap-16);\n padding: var(--gap-8) var(--gap-12);\n}\n\n.description {\n opacity: var(--list-header-description-opacity);\n}\n\n.filled {\n background-color: var(--color-light-neutral-200);\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,8BAA8B,CAAC,aAAa,CAAC,gCAAgC,CAAC,QAAQ,CAAC,2BAA2B,CAAC
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n --list-header-description-opacity: 0.6;\n}\n\n.component {\n margin: var(--gap-24) var(--gap-12-neg) var(--gap-16);\n padding: var(--gap-8) var(--gap-12);\n}\n\n.description {\n opacity: var(--list-header-description-opacity);\n}\n\n.filled {\n background-color: var(--color-light-neutral-200);\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,WAAW,CAAC,8BAA8B,CAAC,aAAa,CAAC,gCAAgC,CAAC,QAAQ,CAAC,2BAA2B,CAAC;;"}
|
package/index.css
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
:root {
|
|
12
12
|
--list-header-description-opacity: 0.6;
|
|
13
13
|
}
|
|
14
|
-
.list-
|
|
14
|
+
.list-header__component_e5xn1 {
|
|
15
15
|
margin: var(--gap-24) var(--gap-12-neg) var(--gap-16);
|
|
16
16
|
padding: var(--gap-8) var(--gap-12);
|
|
17
17
|
}
|
|
18
|
-
.list-
|
|
18
|
+
.list-header__description_e5xn1 {
|
|
19
19
|
opacity: var(--list-header-description-opacity);
|
|
20
20
|
}
|
|
21
|
-
.list-
|
|
21
|
+
.list-header__filled_e5xn1 {
|
|
22
22
|
background-color: var(--color-light-neutral-200);
|
|
23
23
|
}
|
package/index.module.css.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"list-
|
|
5
|
+
var styles = {"component":"list-header__component_e5xn1","description":"list-header__description_e5xn1","filled":"list-header__filled_e5xn1"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
package/index.module.css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n --list-header-description-opacity: 0.6;\n}\n\n.component {\n margin: var(--gap-24) var(--gap-12-neg) var(--gap-16);\n padding: var(--gap-8) var(--gap-12);\n}\n\n.description {\n opacity: var(--list-header-description-opacity);\n}\n\n.filled {\n background-color: var(--color-light-neutral-200);\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,WAAW,CAAC,8BAA8B,CAAC,aAAa,CAAC,gCAAgC,CAAC,QAAQ,CAAC,2BAA2B,CAAC
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n --list-header-description-opacity: 0.6;\n}\n\n.component {\n margin: var(--gap-24) var(--gap-12-neg) var(--gap-16);\n padding: var(--gap-8) var(--gap-12);\n}\n\n.description {\n opacity: var(--list-header-description-opacity);\n}\n\n.filled {\n background-color: var(--color-light-neutral-200);\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,WAAW,CAAC,8BAA8B,CAAC,aAAa,CAAC,gCAAgC,CAAC,QAAQ,CAAC,2BAA2B,CAAC;;"}
|
package/modern/Component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["../src/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { TypographyText } from '@alfalab/core-components-typography';\n\nimport styles from './index.module.css';\n\nexport type ListHeaderProps = {\n /**\n * Заголовок\n */\n title: string;\n\n /**\n * Дополнительное описание\n */\n description?: string;\n\n /**\n * Наличие фоновой подложки\n */\n filled?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const ListHeader: React.FC<ListHeaderProps> = ({\n title,\n description,\n filled = true,\n className,\n dataTestId,\n}) => (\n <div\n data-test-id={dataTestId}\n className={cn(styles.component, { [styles.filled]: filled }, className)}\n >\n <TypographyText view='secondary-large'>{title}</TypographyText>\n {description && (\n <TypographyText view='secondary-large' className={cn(styles.description)}>\n {`, ${description}`}\n </TypographyText>\n )}\n </div>\n);\n"],"names":[],"mappings":";;;;;MAkCa,UAAU,GAA8B,CAAC,EAClD,KAAK,EACL,WAAW,EACX,MAAM,GAAG,IAAI,EACb,SAAS,EACT,UAAU,GACb,MACG,6CACkB,UAAU,EACxB,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,EAAE,SAAS,CAAC,EAAA;AAEvE,IAAA,KAAA,CAAA,aAAA,CAAC,cAAc,EAAC,
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../src/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { TypographyText } from '@alfalab/core-components-typography';\n\nimport styles from './index.module.css';\n\nexport type ListHeaderProps = {\n /**\n * Заголовок\n */\n title: string;\n\n /**\n * Дополнительное описание\n */\n description?: string;\n\n /**\n * Наличие фоновой подложки\n */\n filled?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const ListHeader: React.FC<ListHeaderProps> = ({\n title,\n description,\n filled = true,\n className,\n dataTestId,\n}) => (\n <div\n data-test-id={dataTestId}\n className={cn(styles.component, { [styles.filled]: filled }, className)}\n >\n <TypographyText view='secondary-large'>{title}</TypographyText>\n {description && (\n <TypographyText view='secondary-large' className={cn(styles.description)}>\n {`, ${description}`}\n </TypographyText>\n )}\n </div>\n);\n"],"names":[],"mappings":";;;;;MAkCa,UAAU,GAA8B,CAAC,EAClD,KAAK,EACL,WAAW,EACX,MAAM,GAAG,IAAI,EACb,SAAS,EACT,UAAU,GACb,MACG,6CACkB,UAAU,EACxB,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,EAAE,SAAS,CAAC,EAAA;AAEvE,IAAA,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,IAAI,EAAC,iBAAiB,EAAA,EAAE,KAAK,CAAkB;IAC9D,WAAW,KACR,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,IAAI,EAAC,iBAAiB,EAAC,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,EAAA,EACnE,CAAA,EAAA,EAAK,WAAW,CAAA,CAAE,CACN,CACpB,CACC;;"}
|
package/modern/index.css
CHANGED
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
:root {
|
|
12
12
|
--list-header-description-opacity: 0.6;
|
|
13
13
|
}
|
|
14
|
-
.list-
|
|
14
|
+
.list-header__component_e5xn1 {
|
|
15
15
|
margin: var(--gap-24) var(--gap-12-neg) var(--gap-16);
|
|
16
16
|
padding: var(--gap-8) var(--gap-12);
|
|
17
17
|
}
|
|
18
|
-
.list-
|
|
18
|
+
.list-header__description_e5xn1 {
|
|
19
19
|
opacity: var(--list-header-description-opacity);
|
|
20
20
|
}
|
|
21
|
-
.list-
|
|
21
|
+
.list-header__filled_e5xn1 {
|
|
22
22
|
background-color: var(--color-light-neutral-200);
|
|
23
23
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"component":"list-
|
|
3
|
+
const styles = {"component":"list-header__component_e5xn1","description":"list-header__description_e5xn1","filled":"list-header__filled_e5xn1"};
|
|
4
4
|
|
|
5
5
|
export { styles as default };
|
|
6
6
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n --list-header-description-opacity: 0.6;\n}\n\n.component {\n margin: var(--gap-24) var(--gap-12-neg) var(--gap-16);\n padding: var(--gap-8) var(--gap-12);\n}\n\n.description {\n opacity: var(--list-header-description-opacity);\n}\n\n.filled {\n background-color: var(--color-light-neutral-200);\n}\n"],"names":[],"mappings":";;AAEgB,eAAe,CAAC,WAAW,CAAC,8BAA8B,CAAC,aAAa,CAAC,gCAAgC,CAAC,QAAQ,CAAC,2BAA2B,CAAC
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n --list-header-description-opacity: 0.6;\n}\n\n.component {\n margin: var(--gap-24) var(--gap-12-neg) var(--gap-16);\n padding: var(--gap-8) var(--gap-12);\n}\n\n.description {\n opacity: var(--list-header-description-opacity);\n}\n\n.filled {\n background-color: var(--color-light-neutral-200);\n}\n"],"names":[],"mappings":";;AAEgB,eAAe,CAAC,WAAW,CAAC,8BAA8B,CAAC,aAAa,CAAC,gCAAgC,CAAC,QAAQ,CAAC,2BAA2B,CAAC;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.js","sources":["../src/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { TypographyText } from '@alfalab/core-components-typography';\n\nimport styles from './index.module.css';\n\nexport type ListHeaderProps = {\n /**\n * Заголовок\n */\n title: string;\n\n /**\n * Дополнительное описание\n */\n description?: string;\n\n /**\n * Наличие фоновой подложки\n */\n filled?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const ListHeader: React.FC<ListHeaderProps> = ({\n title,\n description,\n filled = true,\n className,\n dataTestId,\n}) => (\n <div\n data-test-id={dataTestId}\n className={cn(styles.component, { [styles.filled]: filled }, className)}\n >\n <TypographyText view='secondary-large'>{title}</TypographyText>\n {description && (\n <TypographyText view='secondary-large' className={cn(styles.description)}>\n {`, ${description}`}\n </TypographyText>\n )}\n </div>\n);\n"],"names":[],"mappings":";;;;;MAkCa,UAAU,GAA8B,CAAC,EAClD,KAAK,EACL,WAAW,EACX,MAAM,GAAG,IAAI,EACb,SAAS,EACT,UAAU,GACb,MACG,6CACkB,UAAU,EACxB,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,EAAE,SAAS,CAAC,EAAA;AAEvE,IAAA,KAAA,CAAA,aAAA,CAAC,cAAc,EAAC,
|
|
1
|
+
{"version":3,"file":"Component.js","sources":["../src/Component.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { TypographyText } from '@alfalab/core-components-typography';\n\nimport styles from './index.module.css';\n\nexport type ListHeaderProps = {\n /**\n * Заголовок\n */\n title: string;\n\n /**\n * Дополнительное описание\n */\n description?: string;\n\n /**\n * Наличие фоновой подложки\n */\n filled?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const ListHeader: React.FC<ListHeaderProps> = ({\n title,\n description,\n filled = true,\n className,\n dataTestId,\n}) => (\n <div\n data-test-id={dataTestId}\n className={cn(styles.component, { [styles.filled]: filled }, className)}\n >\n <TypographyText view='secondary-large'>{title}</TypographyText>\n {description && (\n <TypographyText view='secondary-large' className={cn(styles.description)}>\n {`, ${description}`}\n </TypographyText>\n )}\n </div>\n);\n"],"names":[],"mappings":";;;;;MAkCa,UAAU,GAA8B,CAAC,EAClD,KAAK,EACL,WAAW,EACX,MAAM,GAAG,IAAI,EACb,SAAS,EACT,UAAU,GACb,MACG,6CACkB,UAAU,EACxB,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,EAAE,SAAS,CAAC,EAAA;AAEvE,IAAA,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,IAAI,EAAC,iBAAiB,EAAA,EAAE,KAAK,CAAkB;IAC9D,WAAW,KACR,KAAA,CAAA,aAAA,CAAC,cAAc,EAAA,EAAC,IAAI,EAAC,iBAAiB,EAAC,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,EAAA,EACnE,CAAA,EAAA,EAAK,WAAW,CAAA,CAAE,CACN,CACpB,CACC;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-list-header",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.15-alfasans",
|
|
4
4
|
"description": "ListHeader component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"build": "rollup -c ../../tools/rollup/rollup.config.mjs --silent"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@alfalab/core-components-typography": "
|
|
16
|
+
"@alfalab/core-components-typography": "6.0.15-alfasans",
|
|
17
17
|
"classnames": "^2.5.1",
|
|
18
18
|
"tslib": "^2.4.0"
|
|
19
19
|
},
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"access": "public",
|
|
26
26
|
"directory": "dist"
|
|
27
27
|
},
|
|
28
|
-
"themesVersion": "15.2.
|
|
29
|
-
"varsVersion": "11.
|
|
28
|
+
"themesVersion": "15.2.2-alfasans",
|
|
29
|
+
"varsVersion": "11.6.1-alfasans"
|
|
30
30
|
}
|