@alfalab/core-components-list-header 3.0.7 → 3.0.9
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 +1 -1
- package/esm/Component.js +1 -1
- package/esm/index.css +4 -4
- package/index.css +4 -4
- package/modern/Component.js +1 -1
- package/modern/index.css +4 -4
- package/package.json +2 -2
package/Component.js
CHANGED
|
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
9
9
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
10
10
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
11
11
|
|
|
12
|
-
var styles = {"component":"list-
|
|
12
|
+
var styles = {"component":"list-header__component_1ncwd","description":"list-header__description_1ncwd","filled":"list-header__filled_1ncwd"};
|
|
13
13
|
require('./index.css')
|
|
14
14
|
|
|
15
15
|
var ListHeader = function (_a) {
|
package/esm/Component.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/esm';
|
|
4
4
|
|
|
5
|
-
var styles = {"component":"list-
|
|
5
|
+
var styles = {"component":"list-header__component_1ncwd","description":"list-header__description_1ncwd","filled":"list-header__filled_1ncwd"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var ListHeader = function (_a) {
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: oobwh */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-specialbg-component: rgba(11, 31, 53, 0.07);
|
|
4
4
|
}
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
:root {
|
|
21
21
|
--list-header-description-opacity: 0.6;
|
|
22
22
|
}
|
|
23
|
-
.list-
|
|
23
|
+
.list-header__component_1ncwd {
|
|
24
24
|
margin: var(--gap-xl) var(--gap-s-neg) var(--gap-m);
|
|
25
25
|
padding: var(--gap-xs) var(--gap-s);
|
|
26
26
|
}
|
|
27
|
-
.list-
|
|
27
|
+
.list-header__description_1ncwd {
|
|
28
28
|
opacity: var(--list-header-description-opacity);
|
|
29
29
|
}
|
|
30
|
-
.list-
|
|
30
|
+
.list-header__filled_1ncwd {
|
|
31
31
|
background-color: var(--color-light-specialbg-component);
|
|
32
32
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: oobwh */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-specialbg-component: rgba(11, 31, 53, 0.07);
|
|
4
4
|
}
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
:root {
|
|
21
21
|
--list-header-description-opacity: 0.6;
|
|
22
22
|
}
|
|
23
|
-
.list-
|
|
23
|
+
.list-header__component_1ncwd {
|
|
24
24
|
margin: var(--gap-xl) var(--gap-s-neg) var(--gap-m);
|
|
25
25
|
padding: var(--gap-xs) var(--gap-s);
|
|
26
26
|
}
|
|
27
|
-
.list-
|
|
27
|
+
.list-header__description_1ncwd {
|
|
28
28
|
opacity: var(--list-header-description-opacity);
|
|
29
29
|
}
|
|
30
|
-
.list-
|
|
30
|
+
.list-header__filled_1ncwd {
|
|
31
31
|
background-color: var(--color-light-specialbg-component);
|
|
32
32
|
}
|
package/modern/Component.js
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Typography } from '@alfalab/core-components-typography/modern';
|
|
4
4
|
|
|
5
|
-
const styles = {"component":"list-
|
|
5
|
+
const styles = {"component":"list-header__component_1ncwd","description":"list-header__description_1ncwd","filled":"list-header__filled_1ncwd"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const ListHeader = ({ title, description, filled = true, className, dataTestId, }) => (React.createElement("div", { "data-test-id": dataTestId, className: cn(styles.component, { [styles.filled]: filled }, className) },
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: oobwh */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-specialbg-component: rgba(11, 31, 53, 0.07);
|
|
4
4
|
}
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
:root {
|
|
21
21
|
--list-header-description-opacity: 0.6;
|
|
22
22
|
}
|
|
23
|
-
.list-
|
|
23
|
+
.list-header__component_1ncwd {
|
|
24
24
|
margin: var(--gap-xl) var(--gap-s-neg) var(--gap-m);
|
|
25
25
|
padding: var(--gap-xs) var(--gap-s);
|
|
26
26
|
}
|
|
27
|
-
.list-
|
|
27
|
+
.list-header__description_1ncwd {
|
|
28
28
|
opacity: var(--list-header-description-opacity);
|
|
29
29
|
}
|
|
30
|
-
.list-
|
|
30
|
+
.list-header__filled_1ncwd {
|
|
31
31
|
background-color: var(--color-light-specialbg-component);
|
|
32
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-list-header",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"description": "ListHeader component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"directory": "dist"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@alfalab/core-components-typography": "^3.0
|
|
17
|
+
"@alfalab/core-components-typography": "^3.1.0",
|
|
18
18
|
"classnames": "^2.3.1"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|