@alfalab/core-components-list 3.0.0 → 3.0.1
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 +10 -10
- package/index.css +10 -10
- package/modern/Component.js +1 -1
- package/modern/index.css +10 -10
- package/package.json +1 -1
package/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_fw1s3","orderedList":"list__orderedList_fw1s3","lowerAlpha":"list__lowerAlpha_fw1s3","decimal":"list__decimal_fw1s3","item":"list__item_fw1s3","unorderedItem":"list__unorderedItem_fw1s3","orderedItem":"list__orderedItem_fw1s3","slot":"list__slot_fw1s3"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
var List = function (_a) {
|
package/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_fw1s3","orderedList":"list__orderedList_fw1s3","lowerAlpha":"list__lowerAlpha_fw1s3","decimal":"list__decimal_fw1s3","item":"list__item_fw1s3","unorderedItem":"list__unorderedItem_fw1s3","orderedItem":"list__orderedItem_fw1s3","slot":"list__slot_fw1s3"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
var List = function (_a) {
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: eo4d7 */
|
|
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_fw1s3 {
|
|
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_fw1s3 {
|
|
35
35
|
padding-left: var(--gap-l);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.list__lowerAlpha_fw1s3 {
|
|
38
38
|
list-style-type: lower-alpha;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.list__decimal_fw1s3 {
|
|
41
41
|
list-style-type: decimal;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.list__item_fw1s3 {
|
|
44
44
|
margin-top: var(--list-item-margin)
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.list__item_fw1s3:first-child {
|
|
47
47
|
margin-top: 0;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.list__unorderedItem_fw1s3 {
|
|
50
50
|
display: flex;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.list__orderedItem_fw1s3 {
|
|
53
53
|
padding-left: var(--gap-2xs);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.list__slot_fw1s3 {
|
|
56
56
|
margin-right: var(--gap-xs);
|
|
57
57
|
color: var(--list-marker-color);
|
|
58
58
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: eo4d7 */
|
|
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_fw1s3 {
|
|
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_fw1s3 {
|
|
35
35
|
padding-left: var(--gap-l);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.list__lowerAlpha_fw1s3 {
|
|
38
38
|
list-style-type: lower-alpha;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.list__decimal_fw1s3 {
|
|
41
41
|
list-style-type: decimal;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.list__item_fw1s3 {
|
|
44
44
|
margin-top: var(--list-item-margin)
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.list__item_fw1s3:first-child {
|
|
47
47
|
margin-top: 0;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.list__unorderedItem_fw1s3 {
|
|
50
50
|
display: flex;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.list__orderedItem_fw1s3 {
|
|
53
53
|
padding-left: var(--gap-2xs);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.list__slot_fw1s3 {
|
|
56
56
|
margin-right: var(--gap-xs);
|
|
57
57
|
color: var(--list-marker-color);
|
|
58
58
|
}
|
package/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_fw1s3","orderedList":"list__orderedList_fw1s3","lowerAlpha":"list__lowerAlpha_fw1s3","decimal":"list__decimal_fw1s3","item":"list__item_fw1s3","unorderedItem":"list__unorderedItem_fw1s3","orderedItem":"list__orderedItem_fw1s3","slot":"list__slot_fw1s3"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const List = ({ tag: Component = 'ul', marker, className, dataTestId, children, }) => {
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: eo4d7 */
|
|
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_fw1s3 {
|
|
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_fw1s3 {
|
|
35
35
|
padding-left: var(--gap-l);
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
.list__lowerAlpha_fw1s3 {
|
|
38
38
|
list-style-type: lower-alpha;
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.list__decimal_fw1s3 {
|
|
41
41
|
list-style-type: decimal;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
.list__item_fw1s3 {
|
|
44
44
|
margin-top: var(--list-item-margin)
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.list__item_fw1s3:first-child {
|
|
47
47
|
margin-top: 0;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.list__unorderedItem_fw1s3 {
|
|
50
50
|
display: flex;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.list__orderedItem_fw1s3 {
|
|
53
53
|
padding-left: var(--gap-2xs);
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.list__slot_fw1s3 {
|
|
56
56
|
margin-right: var(--gap-xs);
|
|
57
57
|
color: var(--list-marker-color);
|
|
58
58
|
}
|