@alfalab/core-components-list-header 2.2.0 → 2.3.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/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list-header@2.2.3...@alfalab/core-components-list-header@2.3.0) (2022-08-04)
7
+
8
+
9
+ ### Features
10
+
11
+ * react 18 support ([#159](https://github.com/core-ds/core-components/issues/159)) ([2e6693c](https://github.com/core-ds/core-components/commit/2e6693c62f534e333aadb7d3fff4ffd78ac84c63))
12
+
13
+
14
+
15
+
16
+
17
+ ## [2.2.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list-header@2.2.2...@alfalab/core-components-list-header@2.2.3) (2022-07-18)
18
+
19
+ **Note:** Version bump only for package @alfalab/core-components-list-header
20
+
21
+
22
+
23
+
24
+
25
+ ## [2.2.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list-header@2.2.1...@alfalab/core-components-list-header@2.2.2) (2022-07-15)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
31
+
32
+
33
+
34
+
35
+
36
+ ## [2.2.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list-header@2.2.0...@alfalab/core-components-list-header@2.2.1) (2022-07-14)
37
+
38
+ **Note:** Version bump only for package @alfalab/core-components-list-header
39
+
40
+
41
+
42
+
43
+
6
44
  # [2.2.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list-header@2.1.5...@alfalab/core-components-list-header@2.2.0) (2022-06-28)
7
45
 
8
46
 
@@ -141,4 +179,5 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
141
179
 
142
180
  ## [1.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list-header@1.1.0...@alfalab/core-components-list-header@1.1.1) (2021-03-03)
143
181
 
182
+
144
183
  **Note:** Version bump only for package @alfalab/core-components-list-header
File without changes
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
13
13
 
14
- var styles = {"component":"list-header__component_1djpx","description":"list-header__description_1djpx","filled":"list-header__filled_1djpx"};
14
+ var styles = {"component":"list-header__component_1a9qi","description":"list-header__description_1a9qi","filled":"list-header__filled_1a9qi"};
15
15
  require('./index.css')
16
16
 
17
17
  var ListHeader = function (_a) {
File without changes
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
6
  var cn = require('classnames');
7
- var coreComponentsTypography = require('@alfalab/core-components-typography/dist/cssm');
7
+ var coreComponentsTypography = require('@alfalab/core-components-typography/cssm');
8
8
  var styles = require('./index.module.css');
9
9
 
10
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
File without changes
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('react');
6
6
  require('classnames');
7
- require('@alfalab/core-components-typography/dist/cssm');
7
+ require('@alfalab/core-components-typography/cssm');
8
8
  require('./index.module.css');
9
9
  var Component = require('./Component.js');
10
10
 
File without changes
File without changes
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { Typography } from '@alfalab/core-components-typography/dist/esm';
3
+ import { Typography } from '@alfalab/core-components-typography/esm';
4
4
 
5
- var styles = {"component":"list-header__component_1djpx","description":"list-header__description_1djpx","filled":"list-header__filled_1djpx"};
5
+ var styles = {"component":"list-header__component_1a9qi","description":"list-header__description_1a9qi","filled":"list-header__filled_1a9qi"};
6
6
  require('./index.css')
7
7
 
8
8
  var ListHeader = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1umxh */
1
+ /* hash: 1ib36 */
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-header__component_1djpx {
23
+ .list-header__component_1a9qi {
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-header__description_1djpx {
27
+ .list-header__description_1a9qi {
28
28
  opacity: var(--list-header-description-opacity);
29
29
  }
30
- .list-header__filled_1djpx {
30
+ .list-header__filled_1a9qi {
31
31
  background-color: var(--color-light-specialbg-component);
32
32
  }
File without changes
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '@alfalab/core-components-typography/dist/esm';
3
+ import '@alfalab/core-components-typography/esm';
4
4
  export { ListHeader } from './Component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 1umxh */
1
+ /* hash: 1ib36 */
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-header__component_1djpx {
23
+ .list-header__component_1a9qi {
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-header__description_1djpx {
27
+ .list-header__description_1a9qi {
28
28
  opacity: var(--list-header-description-opacity);
29
29
  }
30
- .list-header__filled_1djpx {
30
+ .list-header__filled_1a9qi {
31
31
  background-color: var(--color-light-specialbg-component);
32
32
  }
File without changes
File without changes
File without changes
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { Typography } from '@alfalab/core-components-typography/dist/modern';
3
+ import { Typography } from '@alfalab/core-components-typography/modern';
4
4
 
5
- var styles = {"component":"list-header__component_1djpx","description":"list-header__description_1djpx","filled":"list-header__filled_1djpx"};
5
+ var styles = {"component":"list-header__component_1a9qi","description":"list-header__description_1a9qi","filled":"list-header__filled_1a9qi"};
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) },
@@ -1,4 +1,4 @@
1
- /* hash: 1umxh */
1
+ /* hash: 1ib36 */
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-header__component_1djpx {
23
+ .list-header__component_1a9qi {
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-header__description_1djpx {
27
+ .list-header__description_1a9qi {
28
28
  opacity: var(--list-header-description-opacity);
29
29
  }
30
- .list-header__filled_1djpx {
30
+ .list-header__filled_1a9qi {
31
31
  background-color: var(--color-light-specialbg-component);
32
32
  }
File without changes
@@ -1,4 +1,4 @@
1
1
  import 'react';
2
2
  import 'classnames';
3
- import '@alfalab/core-components-typography/dist/modern';
3
+ import '@alfalab/core-components-typography/modern';
4
4
  export { ListHeader } from './Component.js';
package/package.json CHANGED
@@ -1,26 +1,23 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-list-header",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "ListHeader component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
- "main": "dist/index.js",
8
- "module": "./dist/esm/index.js",
9
- "files": [
10
- "dist"
11
- ],
7
+ "main": "index.js",
8
+ "module": "./esm/index.js",
12
9
  "scripts": {
13
- "postinstall": "node ./dist/send-stats.js > /dev/null 2>&1 || exit 0"
10
+ "postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
14
11
  },
15
12
  "publishConfig": {
16
- "access": "public"
13
+ "access": "public",
14
+ "directory": "dist"
17
15
  },
18
16
  "dependencies": {
19
- "@alfalab/core-components-typography": "^2.6.0",
20
- "classnames": "^2.2.6"
17
+ "@alfalab/core-components-typography": "^2.7.0",
18
+ "classnames": "^2.3.1"
21
19
  },
22
20
  "peerDependencies": {
23
- "react": "^16.9.0 || ^17.0.1"
24
- },
25
- "gitHead": "dcd5c0c8e25b7c374ff9311505ccf738a82e22c0"
21
+ "react": "^16.9.0 || ^17.0.1 || ^18.0.0"
22
+ }
26
23
  }
File without changes