@alfalab/core-components-list 5.0.2 → 5.0.3
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.d.ts +1 -1
- package/components/item/Component.d.ts +1 -1
- package/components/item/index.css +9 -9
- package/components/item/index.module.css.js +1 -1
- package/components/item/index.module.css.js.map +1 -1
- package/context.d.ts +1 -1
- package/cssm/Component.d.ts +1 -1
- package/cssm/components/item/Component.d.ts +1 -1
- package/cssm/context.d.ts +1 -1
- package/cssm/types.d.ts +1 -1
- package/esm/Component.d.ts +1 -1
- package/esm/components/item/Component.d.ts +1 -1
- package/esm/components/item/index.css +9 -9
- package/esm/components/item/index.module.css.js +1 -1
- package/esm/components/item/index.module.css.js.map +1 -1
- package/esm/context.d.ts +1 -1
- package/esm/index.css +5 -5
- package/esm/index.module.css.js +1 -1
- package/esm/index.module.css.js.map +1 -1
- package/esm/types.d.ts +1 -1
- package/index.css +5 -5
- package/index.module.css.js +1 -1
- package/index.module.css.js.map +1 -1
- package/modern/Component.d.ts +1 -1
- package/modern/components/item/Component.d.ts +1 -1
- package/modern/components/item/index.css +9 -9
- package/modern/components/item/index.module.css.js +1 -1
- package/modern/components/item/index.module.css.js.map +1 -1
- package/modern/context.d.ts +1 -1
- package/modern/index.css +5 -5
- package/modern/index.module.css.js +1 -1
- package/modern/index.module.css.js.map +1 -1
- package/modern/types.d.ts +1 -1
- package/moderncssm/Component.d.ts +1 -1
- package/moderncssm/components/item/Component.d.ts +1 -1
- package/moderncssm/context.d.ts +1 -1
- package/moderncssm/types.d.ts +1 -1
- package/package.json +4 -4
- package/src/components/item/index.module.css +1 -1
- package/src/index.module.css +1 -1
- package/types.d.ts +1 -1
package/Component.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React, { type ReactNode } from 'react';
|
|
|
2
2
|
import { ListContext, type TListContext } from './context';
|
|
3
3
|
import { type ColorMarkerType } from './types';
|
|
4
4
|
export { ListContext, type TListContext };
|
|
5
|
-
export
|
|
5
|
+
export type ListProps = {
|
|
6
6
|
/**
|
|
7
7
|
* HTML тег
|
|
8
8
|
* @default 'ul'
|
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
--list-marker-color: var(--color-light-text-primary);
|
|
15
15
|
--list-item-margin: var(--gap-12);
|
|
16
16
|
}
|
|
17
|
-
.
|
|
17
|
+
.list__item_1lit6 {
|
|
18
18
|
margin-top: var(--list-item-margin);
|
|
19
19
|
display: flex;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.list__item_1lit6:first-child {
|
|
22
22
|
margin-top: var(--gap-0);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.list__item_1lit6.list__reversed_1lit6:first-child {
|
|
25
25
|
margin-top: var(--list-item-margin);
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.list__item_1lit6.list__reversed_1lit6:last-child {
|
|
28
28
|
margin-top: var(--gap-0);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.list__item_1lit6.list__unorderedItem_1lit6 {
|
|
31
31
|
display: list-item;
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.list__slot_1lit6 {
|
|
34
34
|
min-width: 20px;
|
|
35
35
|
display: flex;
|
|
36
36
|
box-sizing: border-box;
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
padding-right: var(--gap-4);
|
|
39
39
|
flex-shrink: 0;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.list__slot_1lit6.list__defaultColor_1lit6 {
|
|
42
42
|
color: var(--list-marker-color);
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.list__slot_1lit6.list__disc_1lit6 {
|
|
45
45
|
justify-content: center;
|
|
46
46
|
padding: var(--gap-0) var(--gap-4);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.list__caption_1lit6 {
|
|
49
49
|
margin-top: var(--gap-2);
|
|
50
50
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"item":"
|
|
5
|
+
var styles = {"item":"list__item_1lit6","reversed":"list__reversed_1lit6","unorderedItem":"list__unorderedItem_1lit6","slot":"list__slot_1lit6","defaultColor":"list__defaultColor_1lit6","disc":"list__disc_1lit6","caption":"list__caption_1lit6"};
|
|
6
6
|
|
|
7
7
|
module.exports = styles;
|
|
8
8
|
//# sourceMappingURL=index.module.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.module.css.js","sources":["../../src/components/item/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/item/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n --list-marker-color: var(--color-light-text-primary);\n --list-item-margin: var(--gap-12);\n}\n\n.item {\n margin-top: var(--list-item-margin);\n display: flex;\n\n &:first-child {\n margin-top: var(--gap-0);\n }\n\n &.reversed:first-child {\n margin-top: var(--list-item-margin);\n }\n\n &.reversed:last-child {\n margin-top: var(--gap-0);\n }\n\n &.unorderedItem {\n display: list-item;\n }\n}\n\n.slot {\n min-width: 20px;\n display: flex;\n box-sizing: border-box;\n justify-content: flex-start;\n padding-right: var(--gap-4);\n flex-shrink: 0;\n\n &.defaultColor {\n color: var(--list-marker-color);\n }\n\n &.disc {\n justify-content: center;\n padding: var(--gap-0) var(--gap-4);\n }\n}\n\n.caption {\n margin-top: var(--gap-2);\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,UAAU,CAAC,sBAAsB,CAAC,eAAe,CAAC,2BAA2B,CAAC,MAAM,CAAC,kBAAkB,CAAC,cAAc,CAAC,0BAA0B,CAAC,MAAM,CAAC,kBAAkB,CAAC,SAAS,CAAC,qBAAqB,CAAC;;;;"}
|
package/context.d.ts
CHANGED
package/cssm/Component.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React, { type ReactNode } from 'react';
|
|
|
2
2
|
import { ListContext, type TListContext } from './context';
|
|
3
3
|
import { type ColorMarkerType } from './types';
|
|
4
4
|
export { ListContext, type TListContext };
|
|
5
|
-
export
|
|
5
|
+
export type ListProps = {
|
|
6
6
|
/**
|
|
7
7
|
* HTML тег
|
|
8
8
|
* @default 'ul'
|
package/cssm/context.d.ts
CHANGED
package/cssm/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
|
package/esm/Component.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React, { type ReactNode } from 'react';
|
|
|
2
2
|
import { ListContext, type TListContext } from './context';
|
|
3
3
|
import { type ColorMarkerType } from './types';
|
|
4
4
|
export { ListContext, type TListContext };
|
|
5
|
-
export
|
|
5
|
+
export type ListProps = {
|
|
6
6
|
/**
|
|
7
7
|
* HTML тег
|
|
8
8
|
* @default 'ul'
|
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
--list-marker-color: var(--color-light-text-primary);
|
|
15
15
|
--list-item-margin: var(--gap-12);
|
|
16
16
|
}
|
|
17
|
-
.
|
|
17
|
+
.list__item_1lit6 {
|
|
18
18
|
margin-top: var(--list-item-margin);
|
|
19
19
|
display: flex;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.list__item_1lit6:first-child {
|
|
22
22
|
margin-top: var(--gap-0);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.list__item_1lit6.list__reversed_1lit6:first-child {
|
|
25
25
|
margin-top: var(--list-item-margin);
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.list__item_1lit6.list__reversed_1lit6:last-child {
|
|
28
28
|
margin-top: var(--gap-0);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.list__item_1lit6.list__unorderedItem_1lit6 {
|
|
31
31
|
display: list-item;
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.list__slot_1lit6 {
|
|
34
34
|
min-width: 20px;
|
|
35
35
|
display: flex;
|
|
36
36
|
box-sizing: border-box;
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
padding-right: var(--gap-4);
|
|
39
39
|
flex-shrink: 0;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.list__slot_1lit6.list__defaultColor_1lit6 {
|
|
42
42
|
color: var(--list-marker-color);
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.list__slot_1lit6.list__disc_1lit6 {
|
|
45
45
|
justify-content: center;
|
|
46
46
|
padding: var(--gap-0) var(--gap-4);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.list__caption_1lit6 {
|
|
49
49
|
margin-top: var(--gap-2);
|
|
50
50
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"item":"
|
|
3
|
+
var styles = {"item":"list__item_1lit6","reversed":"list__reversed_1lit6","unorderedItem":"list__unorderedItem_1lit6","slot":"list__slot_1lit6","defaultColor":"list__defaultColor_1lit6","disc":"list__disc_1lit6","caption":"list__caption_1lit6"};
|
|
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/components/item/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/item/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n --list-marker-color: var(--color-light-text-primary);\n --list-item-margin: var(--gap-12);\n}\n\n.item {\n margin-top: var(--list-item-margin);\n display: flex;\n\n &:first-child {\n margin-top: var(--gap-0);\n }\n\n &.reversed:first-child {\n margin-top: var(--list-item-margin);\n }\n\n &.reversed:last-child {\n margin-top: var(--gap-0);\n }\n\n &.unorderedItem {\n display: list-item;\n }\n}\n\n.slot {\n min-width: 20px;\n display: flex;\n box-sizing: border-box;\n justify-content: flex-start;\n padding-right: var(--gap-4);\n flex-shrink: 0;\n\n &.defaultColor {\n color: var(--list-marker-color);\n }\n\n &.disc {\n justify-content: center;\n padding: var(--gap-0) var(--gap-4);\n }\n}\n\n.caption {\n margin-top: var(--gap-2);\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,UAAU,CAAC,sBAAsB,CAAC,eAAe,CAAC,2BAA2B,CAAC,MAAM,CAAC,kBAAkB,CAAC,cAAc,CAAC,0BAA0B,CAAC,MAAM,CAAC,kBAAkB,CAAC,SAAS,CAAC,qBAAqB,CAAC;;;;"}
|
package/esm/context.d.ts
CHANGED
package/esm/index.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--font-family-system:
|
|
11
11
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.list__list_1gqzr {
|
|
14
14
|
margin: var(--gap-0);
|
|
15
15
|
padding: var(--gap-0);
|
|
16
16
|
color: var(--color-light-text-primary);
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
|
|
24
24
|
font-family: var(--font-family-system);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.list__lowerAlpha_1gqzr {
|
|
27
27
|
list-style-type: lower-alpha;
|
|
28
28
|
padding-left: var(--gap-20);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.list__decimal_1gqzr {
|
|
31
31
|
list-style-type: decimal;
|
|
32
32
|
}
|
|
33
|
-
ol.
|
|
33
|
+
ol.list__list_1gqzr {
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: column;
|
|
36
36
|
}
|
|
37
|
-
ol.
|
|
37
|
+
ol.list__list_1gqzr.list__reversed_1gqzr {
|
|
38
38
|
flex-direction: column-reverse;
|
|
39
39
|
}
|
package/esm/index.module.css.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
var styles = {"list":"
|
|
3
|
+
var styles = {"list":"list__list_1gqzr","lowerAlpha":"list__lowerAlpha_1gqzr","decimal":"list__decimal_1gqzr","reversed":"list__reversed_1gqzr"};
|
|
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/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.list {\n margin: var(--gap-0);\n padding: var(--gap-0);\n color: var(--color-light-text-primary);\n\n @mixin paragraph_primary_medium;\n}\n\n.lowerAlpha {\n list-style-type: lower-alpha;\n padding-left: var(--gap-20);\n}\n\n.decimal {\n list-style-type: decimal;\n}\n\nol.list {\n display: flex;\n flex-direction: column;\n\n &.reversed {\n flex-direction: column-reverse;\n }\n}\n"],"names":[],"mappings":";;AAEgB,aAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,YAAY,CAAC,wBAAwB,CAAC,SAAS,CAAC,qBAAqB,CAAC,UAAU,CAAC,sBAAsB,CAAC;;;;"}
|
package/esm/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
|
package/index.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--font-family-system:
|
|
11
11
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.list__list_1gqzr {
|
|
14
14
|
margin: var(--gap-0);
|
|
15
15
|
padding: var(--gap-0);
|
|
16
16
|
color: var(--color-light-text-primary);
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
|
|
24
24
|
font-family: var(--font-family-system);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.list__lowerAlpha_1gqzr {
|
|
27
27
|
list-style-type: lower-alpha;
|
|
28
28
|
padding-left: var(--gap-20);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.list__decimal_1gqzr {
|
|
31
31
|
list-style-type: decimal;
|
|
32
32
|
}
|
|
33
|
-
ol.
|
|
33
|
+
ol.list__list_1gqzr {
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: column;
|
|
36
36
|
}
|
|
37
|
-
ol.
|
|
37
|
+
ol.list__list_1gqzr.list__reversed_1gqzr {
|
|
38
38
|
flex-direction: column-reverse;
|
|
39
39
|
}
|
package/index.module.css.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require('./index.css');
|
|
4
4
|
|
|
5
|
-
var styles = {"list":"
|
|
5
|
+
var styles = {"list":"list__list_1gqzr","lowerAlpha":"list__lowerAlpha_1gqzr","decimal":"list__decimal_1gqzr","reversed":"list__reversed_1gqzr"};
|
|
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/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.list {\n margin: var(--gap-0);\n padding: var(--gap-0);\n color: var(--color-light-text-primary);\n\n @mixin paragraph_primary_medium;\n}\n\n.lowerAlpha {\n list-style-type: lower-alpha;\n padding-left: var(--gap-20);\n}\n\n.decimal {\n list-style-type: decimal;\n}\n\nol.list {\n display: flex;\n flex-direction: column;\n\n &.reversed {\n flex-direction: column-reverse;\n }\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,YAAY,CAAC,wBAAwB,CAAC,SAAS,CAAC,qBAAqB,CAAC,UAAU,CAAC,sBAAsB,CAAC;;;;"}
|
package/modern/Component.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React, { type ReactNode } from 'react';
|
|
|
2
2
|
import { ListContext, type TListContext } from './context';
|
|
3
3
|
import { type ColorMarkerType } from './types';
|
|
4
4
|
export { ListContext, type TListContext };
|
|
5
|
-
export
|
|
5
|
+
export type ListProps = {
|
|
6
6
|
/**
|
|
7
7
|
* HTML тег
|
|
8
8
|
* @default 'ul'
|
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
--list-marker-color: var(--color-light-text-primary);
|
|
15
15
|
--list-item-margin: var(--gap-12);
|
|
16
16
|
}
|
|
17
|
-
.
|
|
17
|
+
.list__item_1lit6 {
|
|
18
18
|
margin-top: var(--list-item-margin);
|
|
19
19
|
display: flex;
|
|
20
20
|
}
|
|
21
|
-
.
|
|
21
|
+
.list__item_1lit6:first-child {
|
|
22
22
|
margin-top: var(--gap-0);
|
|
23
23
|
}
|
|
24
|
-
.
|
|
24
|
+
.list__item_1lit6.list__reversed_1lit6:first-child {
|
|
25
25
|
margin-top: var(--list-item-margin);
|
|
26
26
|
}
|
|
27
|
-
.
|
|
27
|
+
.list__item_1lit6.list__reversed_1lit6:last-child {
|
|
28
28
|
margin-top: var(--gap-0);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.list__item_1lit6.list__unorderedItem_1lit6 {
|
|
31
31
|
display: list-item;
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
.list__slot_1lit6 {
|
|
34
34
|
min-width: 20px;
|
|
35
35
|
display: flex;
|
|
36
36
|
box-sizing: border-box;
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
padding-right: var(--gap-4);
|
|
39
39
|
flex-shrink: 0;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.list__slot_1lit6.list__defaultColor_1lit6 {
|
|
42
42
|
color: var(--list-marker-color);
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.list__slot_1lit6.list__disc_1lit6 {
|
|
45
45
|
justify-content: center;
|
|
46
46
|
padding: var(--gap-0) var(--gap-4);
|
|
47
47
|
}
|
|
48
|
-
.
|
|
48
|
+
.list__caption_1lit6 {
|
|
49
49
|
margin-top: var(--gap-2);
|
|
50
50
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"item":"
|
|
3
|
+
const styles = {"item":"list__item_1lit6","reversed":"list__reversed_1lit6","unorderedItem":"list__unorderedItem_1lit6","slot":"list__slot_1lit6","defaultColor":"list__defaultColor_1lit6","disc":"list__disc_1lit6","caption":"list__caption_1lit6"};
|
|
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/components/item/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["../../src/components/item/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n:root {\n --list-marker-color: var(--color-light-text-primary);\n --list-item-margin: var(--gap-12);\n}\n\n.item {\n margin-top: var(--list-item-margin);\n display: flex;\n\n &:first-child {\n margin-top: var(--gap-0);\n }\n\n &.reversed:first-child {\n margin-top: var(--list-item-margin);\n }\n\n &.reversed:last-child {\n margin-top: var(--gap-0);\n }\n\n &.unorderedItem {\n display: list-item;\n }\n}\n\n.slot {\n min-width: 20px;\n display: flex;\n box-sizing: border-box;\n justify-content: flex-start;\n padding-right: var(--gap-4);\n flex-shrink: 0;\n\n &.defaultColor {\n color: var(--list-marker-color);\n }\n\n &.disc {\n justify-content: center;\n padding: var(--gap-0) var(--gap-4);\n }\n}\n\n.caption {\n margin-top: var(--gap-2);\n}\n"],"names":[],"mappings":";;AAEgB,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,UAAU,CAAC,sBAAsB,CAAC,eAAe,CAAC,2BAA2B,CAAC,MAAM,CAAC,kBAAkB,CAAC,cAAc,CAAC,0BAA0B,CAAC,MAAM,CAAC,kBAAkB,CAAC,SAAS,CAAC,qBAAqB,CAAC;;;;"}
|
package/modern/context.d.ts
CHANGED
package/modern/index.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--font-family-system:
|
|
11
11
|
system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
.list__list_1gqzr {
|
|
14
14
|
margin: var(--gap-0);
|
|
15
15
|
padding: var(--gap-0);
|
|
16
16
|
color: var(--color-light-text-primary);
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
|
|
24
24
|
font-family: var(--font-family-system);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
.list__lowerAlpha_1gqzr {
|
|
27
27
|
list-style-type: lower-alpha;
|
|
28
28
|
padding-left: var(--gap-20);
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
.list__decimal_1gqzr {
|
|
31
31
|
list-style-type: decimal;
|
|
32
32
|
}
|
|
33
|
-
ol.
|
|
33
|
+
ol.list__list_1gqzr {
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: column;
|
|
36
36
|
}
|
|
37
|
-
ol.
|
|
37
|
+
ol.list__list_1gqzr.list__reversed_1gqzr {
|
|
38
38
|
flex-direction: column-reverse;
|
|
39
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
|
|
3
|
-
const styles = {"list":"
|
|
3
|
+
const styles = {"list":"list__list_1gqzr","lowerAlpha":"list__lowerAlpha_1gqzr","decimal":"list__decimal_1gqzr","reversed":"list__reversed_1gqzr"};
|
|
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/
|
|
1
|
+
{"version":3,"file":"index.module.css.js","sources":["src/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/index.css';\n\n.list {\n margin: var(--gap-0);\n padding: var(--gap-0);\n color: var(--color-light-text-primary);\n\n @mixin paragraph_primary_medium;\n}\n\n.lowerAlpha {\n list-style-type: lower-alpha;\n padding-left: var(--gap-20);\n}\n\n.decimal {\n list-style-type: decimal;\n}\n\nol.list {\n display: flex;\n flex-direction: column;\n\n &.reversed {\n flex-direction: column-reverse;\n }\n}\n"],"names":[],"mappings":";;AAEgB,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,YAAY,CAAC,wBAAwB,CAAC,SAAS,CAAC,qBAAqB,CAAC,UAAU,CAAC,sBAAsB,CAAC;;;;"}
|
package/modern/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
|
|
@@ -2,7 +2,7 @@ import React, { type ReactNode } from 'react';
|
|
|
2
2
|
import { ListContext, type TListContext } from './context';
|
|
3
3
|
import { type ColorMarkerType } from './types';
|
|
4
4
|
export { ListContext, type TListContext };
|
|
5
|
-
export
|
|
5
|
+
export type ListProps = {
|
|
6
6
|
/**
|
|
7
7
|
* HTML тег
|
|
8
8
|
* @default 'ul'
|
package/moderncssm/context.d.ts
CHANGED
package/moderncssm/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-list",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"main": "index.js",
|
|
11
11
|
"module": "./esm/index.js",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@alfalab/core-components-typography": "^6.0.
|
|
13
|
+
"@alfalab/core-components-typography": "^6.0.3",
|
|
14
14
|
"classnames": "^2.5.1",
|
|
15
15
|
"tslib": "^2.4.0"
|
|
16
16
|
},
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"access": "public",
|
|
23
23
|
"directory": "dist"
|
|
24
24
|
},
|
|
25
|
-
"themesVersion": "15.0.
|
|
26
|
-
"varsVersion": "11.0.
|
|
25
|
+
"themesVersion": "15.0.2",
|
|
26
|
+
"varsVersion": "11.0.2"
|
|
27
27
|
}
|
package/src/index.module.css
CHANGED
package/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
|