@alfalab/core-components-list 2.0.2 → 2.1.2
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 +23 -11
- package/dist/Component.js +1 -1
- package/dist/cssm/index.d.ts +1 -0
- package/dist/cssm/index.js +2 -0
- package/dist/cssm/presets.d.ts +7 -0
- package/dist/cssm/presets.js +12 -0
- package/dist/esm/Component.js +1 -1
- package/dist/esm/index.css +10 -10
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/presets.d.ts +7 -0
- package/dist/esm/presets.js +8 -0
- package/dist/index.css +10 -10
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/modern/Component.js +1 -1
- package/dist/modern/index.css +10 -10
- package/dist/modern/index.d.ts +1 -0
- package/dist/modern/index.js +1 -0
- package/dist/modern/presets.d.ts +7 -0
- package/dist/modern/presets.js +8 -0
- package/dist/presets.d.ts +7 -0
- package/dist/presets.js +12 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,19 @@
|
|
|
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
|
-
|
|
6
|
+
# [2.1.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list@2.0.2...@alfalab/core-components-list@2.1.0) (2022-03-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **list:** added list & typography presets ([#1047](https://github.com/core-ds/core-components/issues/1047)) ([67b6a77](https://github.com/core-ds/core-components/commit/67b6a77d1327b090b010eb061f83a2e6a0cb67b9))
|
|
12
|
+
* Исправить импорты в сторях. ([#998](https://github.com/core-ds/core-components/issues/998)) ([e6a654a](https://github.com/core-ds/core-components/commit/e6a654a0599451c7d149484cb61d8067eed083b7))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [2.0.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list@2.0.1...@alfalab/core-components-list@2.0.2) (2021-07-23)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @alfalab/core-components-list
|
|
9
21
|
|
|
@@ -11,7 +23,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
23
|
|
|
12
24
|
|
|
13
25
|
|
|
14
|
-
## [2.0.1](https://github.com/
|
|
26
|
+
## [2.0.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list@2.0.0...@alfalab/core-components-list@2.0.1) (2021-07-09)
|
|
15
27
|
|
|
16
28
|
**Note:** Version bump only for package @alfalab/core-components-list
|
|
17
29
|
|
|
@@ -19,14 +31,14 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
31
|
|
|
20
32
|
|
|
21
33
|
|
|
22
|
-
# [2.0.0](https://github.com/
|
|
34
|
+
# [2.0.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list@1.1.7...@alfalab/core-components-list@2.0.0) (2021-07-08)
|
|
23
35
|
|
|
24
36
|
|
|
25
37
|
### Features
|
|
26
38
|
|
|
27
|
-
* upgrade storybook ([#696](https://github.com/
|
|
39
|
+
* upgrade storybook ([#696](https://github.com/core-ds/core-components/issues/696))
|
|
28
40
|
|
|
29
|
-
## [1.1.7](https://github.com/
|
|
41
|
+
## [1.1.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list@1.1.6...@alfalab/core-components-list@1.1.7) (2021-04-26)
|
|
30
42
|
|
|
31
43
|
**Note:** Version bump only for package @alfalab/core-components-list
|
|
32
44
|
|
|
@@ -34,7 +46,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
34
46
|
|
|
35
47
|
|
|
36
48
|
|
|
37
|
-
## [1.1.6](https://github.com/
|
|
49
|
+
## [1.1.6](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list@1.1.5...@alfalab/core-components-list@1.1.6) (2021-04-01)
|
|
38
50
|
|
|
39
51
|
**Note:** Version bump only for package @alfalab/core-components-list
|
|
40
52
|
|
|
@@ -42,18 +54,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
42
54
|
|
|
43
55
|
|
|
44
56
|
|
|
45
|
-
## [1.1.5](https://github.com/
|
|
57
|
+
## [1.1.5](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list@1.1.3...@alfalab/core-components-list@1.1.5) (2021-03-18)
|
|
46
58
|
|
|
47
59
|
|
|
48
60
|
### Bug Fixes
|
|
49
61
|
|
|
50
|
-
* one more sborka bug ([#579](https://github.com/
|
|
62
|
+
* one more sborka bug ([#579](https://github.com/core-ds/core-components/issues/579)) ([9fbe0be](https://github.com/core-ds/core-components/commit/9fbe0beca56ec5971de78b3f6cda25305b260efc))
|
|
51
63
|
|
|
52
64
|
|
|
53
65
|
|
|
54
66
|
|
|
55
67
|
|
|
56
|
-
## [1.1.3](https://github.com/
|
|
68
|
+
## [1.1.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list@1.1.2...@alfalab/core-components-list@1.1.3) (2021-03-14)
|
|
57
69
|
|
|
58
70
|
**Note:** Version bump only for package @alfalab/core-components-list
|
|
59
71
|
|
|
@@ -61,7 +73,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
61
73
|
|
|
62
74
|
|
|
63
75
|
|
|
64
|
-
## [1.1.2](https://github.com/
|
|
76
|
+
## [1.1.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list@1.1.1...@alfalab/core-components-list@1.1.2) (2021-03-04)
|
|
65
77
|
|
|
66
78
|
**Note:** Version bump only for package @alfalab/core-components-list
|
|
67
79
|
|
|
@@ -69,6 +81,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
69
81
|
|
|
70
82
|
|
|
71
83
|
|
|
72
|
-
## [1.1.1](https://github.com/
|
|
84
|
+
## [1.1.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-list@1.1.0...@alfalab/core-components-list@1.1.1) (2021-03-03)
|
|
73
85
|
|
|
74
86
|
**Note:** Version bump only for package @alfalab/core-components-list
|
package/dist/Component.js
CHANGED
|
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
12
|
|
|
13
|
-
var styles = {"list":"
|
|
13
|
+
var styles = {"list":"list__list_az54w","orderedList":"list__orderedList_az54w","lowerAlpha":"list__lowerAlpha_az54w","decimal":"list__decimal_az54w","item":"list__item_az54w","unorderedItem":"list__unorderedItem_az54w","orderedItem":"list__orderedItem_az54w","slot":"list__slot_az54w"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
var List = function (_a) {
|
package/dist/cssm/index.d.ts
CHANGED
package/dist/cssm/index.js
CHANGED
package/dist/esm/Component.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
2
|
import React, { Children } from 'react';
|
|
3
3
|
|
|
4
|
-
var styles = {"list":"
|
|
4
|
+
var styles = {"list":"list__list_az54w","orderedList":"list__orderedList_az54w","lowerAlpha":"list__lowerAlpha_az54w","decimal":"list__decimal_az54w","item":"list__item_az54w","unorderedItem":"list__unorderedItem_az54w","orderedItem":"list__orderedItem_az54w","slot":"list__slot_az54w"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
var List = function (_a) {
|
package/dist/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 460gr */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
--list-marker-color: var(--color-light-text-primary);
|
|
21
21
|
--list-item-margin: var(--gap-s);
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.list__list_az54w {
|
|
24
24
|
margin: 0;
|
|
25
25
|
padding: 0;
|
|
26
26
|
color: var(--color-light-text-primary);
|
|
@@ -31,28 +31,28 @@
|
|
|
31
31
|
|
|
32
32
|
font-weight: 400;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.list__orderedList_az54w {
|
|
35
35
|
padding-left: var(--gap-l);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.list__lowerAlpha_az54w {
|
|
38
38
|
list-style-type: lower-alpha;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.list__decimal_az54w {
|
|
41
41
|
list-style-type: decimal;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.list__item_az54w {
|
|
44
44
|
margin-top: var(--list-item-margin)
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.list__item_az54w:first-child {
|
|
47
47
|
margin-top: 0;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.list__unorderedItem_az54w {
|
|
50
50
|
display: flex;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.list__orderedItem_az54w {
|
|
53
53
|
padding-left: var(--gap-2xs);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.list__slot_az54w {
|
|
56
56
|
margin-right: var(--gap-xs);
|
|
57
57
|
color: var(--list-marker-color);
|
|
58
58
|
}
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 460gr */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
--list-marker-color: var(--color-light-text-primary);
|
|
21
21
|
--list-item-margin: var(--gap-s);
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.list__list_az54w {
|
|
24
24
|
margin: 0;
|
|
25
25
|
padding: 0;
|
|
26
26
|
color: var(--color-light-text-primary);
|
|
@@ -31,28 +31,28 @@
|
|
|
31
31
|
|
|
32
32
|
font-weight: 400;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.list__orderedList_az54w {
|
|
35
35
|
padding-left: var(--gap-l);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.list__lowerAlpha_az54w {
|
|
38
38
|
list-style-type: lower-alpha;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.list__decimal_az54w {
|
|
41
41
|
list-style-type: decimal;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.list__item_az54w {
|
|
44
44
|
margin-top: var(--list-item-margin)
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.list__item_az54w:first-child {
|
|
47
47
|
margin-top: 0;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.list__unorderedItem_az54w {
|
|
50
50
|
display: flex;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.list__orderedItem_az54w {
|
|
53
53
|
padding-left: var(--gap-2xs);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.list__slot_az54w {
|
|
56
56
|
margin-right: var(--gap-xs);
|
|
57
57
|
color: var(--list-marker-color);
|
|
58
58
|
}
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -5,7 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
require('classnames');
|
|
6
6
|
require('react');
|
|
7
7
|
var Component = require('./Component.js');
|
|
8
|
+
var presets = require('./presets.js');
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
exports.List = Component.List;
|
|
13
|
+
exports.listPresets = presets.listPresets;
|
package/dist/modern/Component.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import cn from 'classnames';
|
|
2
2
|
import React, { Children } from 'react';
|
|
3
3
|
|
|
4
|
-
var styles = {"list":"
|
|
4
|
+
var styles = {"list":"list__list_az54w","orderedList":"list__orderedList_az54w","lowerAlpha":"list__lowerAlpha_az54w","decimal":"list__decimal_az54w","item":"list__item_az54w","unorderedItem":"list__unorderedItem_az54w","orderedItem":"list__orderedItem_az54w","slot":"list__slot_az54w"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const List = ({ tag: Component = 'ul', marker, className, dataTestId, children, }) => {
|
package/dist/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 460gr */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-text-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
--list-marker-color: var(--color-light-text-primary);
|
|
21
21
|
--list-item-margin: var(--gap-s);
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.list__list_az54w {
|
|
24
24
|
margin: 0;
|
|
25
25
|
padding: 0;
|
|
26
26
|
color: var(--color-light-text-primary);
|
|
@@ -31,28 +31,28 @@
|
|
|
31
31
|
|
|
32
32
|
font-weight: 400;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
.list__orderedList_az54w {
|
|
35
35
|
padding-left: var(--gap-l);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.list__lowerAlpha_az54w {
|
|
38
38
|
list-style-type: lower-alpha;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.list__decimal_az54w {
|
|
41
41
|
list-style-type: decimal;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.list__item_az54w {
|
|
44
44
|
margin-top: var(--list-item-margin)
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.list__item_az54w:first-child {
|
|
47
47
|
margin-top: 0;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.list__unorderedItem_az54w {
|
|
50
50
|
display: flex;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.list__orderedItem_az54w {
|
|
53
53
|
padding-left: var(--gap-2xs);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.list__slot_az54w {
|
|
56
56
|
margin-right: var(--gap-xs);
|
|
57
57
|
color: var(--list-marker-color);
|
|
58
58
|
}
|
package/dist/modern/index.d.ts
CHANGED
package/dist/modern/index.js
CHANGED
package/dist/presets.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-list",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"react": "^16.9.0 || ^17.0.1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"classnames": "
|
|
22
|
+
"classnames": "2.2.6"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "8d998af881e79e8b524179aa50cdb117c1380c74"
|
|
25
25
|
}
|