@alfalab/core-components-list 5.0.2 → 5.0.3-alfasans

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.
Files changed (43) hide show
  1. package/Component.d.ts +1 -1
  2. package/components/item/Component.d.ts +1 -1
  3. package/components/item/index.css +9 -9
  4. package/components/item/index.module.css.js +1 -1
  5. package/components/item/index.module.css.js.map +1 -1
  6. package/context.d.ts +1 -1
  7. package/cssm/Component.d.ts +1 -1
  8. package/cssm/components/item/Component.d.ts +1 -1
  9. package/cssm/context.d.ts +1 -1
  10. package/cssm/index.module.css +6 -3
  11. package/cssm/types.d.ts +1 -1
  12. package/esm/Component.d.ts +1 -1
  13. package/esm/components/item/Component.d.ts +1 -1
  14. package/esm/components/item/index.css +9 -9
  15. package/esm/components/item/index.module.css.js +1 -1
  16. package/esm/components/item/index.module.css.js.map +1 -1
  17. package/esm/context.d.ts +1 -1
  18. package/esm/index.css +11 -8
  19. package/esm/index.module.css.js +1 -1
  20. package/esm/index.module.css.js.map +1 -1
  21. package/esm/types.d.ts +1 -1
  22. package/index.css +11 -8
  23. package/index.module.css.js +1 -1
  24. package/index.module.css.js.map +1 -1
  25. package/modern/Component.d.ts +1 -1
  26. package/modern/components/item/Component.d.ts +1 -1
  27. package/modern/components/item/index.css +9 -9
  28. package/modern/components/item/index.module.css.js +1 -1
  29. package/modern/components/item/index.module.css.js.map +1 -1
  30. package/modern/context.d.ts +1 -1
  31. package/modern/index.css +11 -8
  32. package/modern/index.module.css.js +1 -1
  33. package/modern/index.module.css.js.map +1 -1
  34. package/modern/types.d.ts +1 -1
  35. package/moderncssm/Component.d.ts +1 -1
  36. package/moderncssm/components/item/Component.d.ts +1 -1
  37. package/moderncssm/context.d.ts +1 -1
  38. package/moderncssm/index.module.css +3 -1
  39. package/moderncssm/types.d.ts +1 -1
  40. package/package.json +4 -4
  41. package/src/components/item/index.module.css +1 -1
  42. package/src/index.module.css +1 -1
  43. 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 declare type ListProps = {
5
+ export type ListProps = {
6
6
  /**
7
7
  * HTML тег
8
8
  * @default 'ul'
@@ -1,5 +1,5 @@
1
1
  import React, { type ReactNode } from 'react';
2
- export declare type ItemProps = {
2
+ export type ItemProps = {
3
3
  /**
4
4
  * Дополнительный текст
5
5
  */
@@ -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
- .list__item_1g1zv {
17
+ .list__item_766ao {
18
18
  margin-top: var(--list-item-margin);
19
19
  display: flex;
20
20
  }
21
- .list__item_1g1zv:first-child {
21
+ .list__item_766ao:first-child {
22
22
  margin-top: var(--gap-0);
23
23
  }
24
- .list__item_1g1zv.list__reversed_1g1zv:first-child {
24
+ .list__item_766ao.list__reversed_766ao:first-child {
25
25
  margin-top: var(--list-item-margin);
26
26
  }
27
- .list__item_1g1zv.list__reversed_1g1zv:last-child {
27
+ .list__item_766ao.list__reversed_766ao:last-child {
28
28
  margin-top: var(--gap-0);
29
29
  }
30
- .list__item_1g1zv.list__unorderedItem_1g1zv {
30
+ .list__item_766ao.list__unorderedItem_766ao {
31
31
  display: list-item;
32
32
  }
33
- .list__slot_1g1zv {
33
+ .list__slot_766ao {
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
- .list__slot_1g1zv.list__defaultColor_1g1zv {
41
+ .list__slot_766ao.list__defaultColor_766ao {
42
42
  color: var(--list-marker-color);
43
43
  }
44
- .list__slot_1g1zv.list__disc_1g1zv {
44
+ .list__slot_766ao.list__disc_766ao {
45
45
  justify-content: center;
46
46
  padding: var(--gap-0) var(--gap-4);
47
47
  }
48
- .list__caption_1g1zv {
48
+ .list__caption_766ao {
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":"list__item_1g1zv","reversed":"list__reversed_1g1zv","unorderedItem":"list__unorderedItem_1g1zv","slot":"list__slot_1g1zv","defaultColor":"list__defaultColor_1g1zv","disc":"list__disc_1g1zv","caption":"list__caption_1g1zv"};
5
+ var styles = {"item":"list__item_766ao","reversed":"list__reversed_766ao","unorderedItem":"list__unorderedItem_766ao","slot":"list__slot_766ao","defaultColor":"list__defaultColor_766ao","disc":"list__disc_766ao","caption":"list__caption_766ao"};
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/no-typography-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;;;;"}
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
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type ColorMarkerType } from './types';
3
- export declare type TListContext = {
3
+ export type TListContext = {
4
4
  /**
5
5
  * Упорядоченный список
6
6
  */
@@ -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 declare type ListProps = {
5
+ export type ListProps = {
6
6
  /**
7
7
  * HTML тег
8
8
  * @default 'ul'
@@ -1,5 +1,5 @@
1
1
  import React, { type ReactNode } from 'react';
2
- export declare type ItemProps = {
2
+ export type ItemProps = {
3
3
  /**
4
4
  * Дополнительный текст
5
5
  */
package/cssm/context.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type ColorMarkerType } from './types';
3
- export declare type TListContext = {
3
+ export type TListContext = {
4
4
  /**
5
5
  * Упорядоченный список
6
6
  */
@@ -7,8 +7,9 @@
7
7
  --gap-20: var(--gap-l);
8
8
  }
9
9
  :root {
10
- --font-family-system:
11
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
10
+ --font-family-alfasans:
11
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
12
+ Helvetica, sans-serif;
12
13
  }
13
14
  .list {
14
15
  margin: var(--gap-0);
@@ -21,7 +22,9 @@
21
22
 
22
23
  font-weight: 400;
23
24
 
24
- font-family: var(--font-family-system);
25
+ letter-spacing: -0.24px;
26
+
27
+ font-family: var(--font-family-alfasans);
25
28
  }
26
29
  .lowerAlpha {
27
30
  list-style-type: lower-alpha;
package/cssm/types.d.ts CHANGED
@@ -1 +1 @@
1
- export declare type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
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 declare type ListProps = {
5
+ export type ListProps = {
6
6
  /**
7
7
  * HTML тег
8
8
  * @default 'ul'
@@ -1,5 +1,5 @@
1
1
  import React, { type ReactNode } from 'react';
2
- export declare type ItemProps = {
2
+ export type ItemProps = {
3
3
  /**
4
4
  * Дополнительный текст
5
5
  */
@@ -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
- .list__item_1g1zv {
17
+ .list__item_766ao {
18
18
  margin-top: var(--list-item-margin);
19
19
  display: flex;
20
20
  }
21
- .list__item_1g1zv:first-child {
21
+ .list__item_766ao:first-child {
22
22
  margin-top: var(--gap-0);
23
23
  }
24
- .list__item_1g1zv.list__reversed_1g1zv:first-child {
24
+ .list__item_766ao.list__reversed_766ao:first-child {
25
25
  margin-top: var(--list-item-margin);
26
26
  }
27
- .list__item_1g1zv.list__reversed_1g1zv:last-child {
27
+ .list__item_766ao.list__reversed_766ao:last-child {
28
28
  margin-top: var(--gap-0);
29
29
  }
30
- .list__item_1g1zv.list__unorderedItem_1g1zv {
30
+ .list__item_766ao.list__unorderedItem_766ao {
31
31
  display: list-item;
32
32
  }
33
- .list__slot_1g1zv {
33
+ .list__slot_766ao {
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
- .list__slot_1g1zv.list__defaultColor_1g1zv {
41
+ .list__slot_766ao.list__defaultColor_766ao {
42
42
  color: var(--list-marker-color);
43
43
  }
44
- .list__slot_1g1zv.list__disc_1g1zv {
44
+ .list__slot_766ao.list__disc_766ao {
45
45
  justify-content: center;
46
46
  padding: var(--gap-0) var(--gap-4);
47
47
  }
48
- .list__caption_1g1zv {
48
+ .list__caption_766ao {
49
49
  margin-top: var(--gap-2);
50
50
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"item":"list__item_1g1zv","reversed":"list__reversed_1g1zv","unorderedItem":"list__unorderedItem_1g1zv","slot":"list__slot_1g1zv","defaultColor":"list__defaultColor_1g1zv","disc":"list__disc_1g1zv","caption":"list__caption_1g1zv"};
3
+ var styles = {"item":"list__item_766ao","reversed":"list__reversed_766ao","unorderedItem":"list__unorderedItem_766ao","slot":"list__slot_766ao","defaultColor":"list__defaultColor_766ao","disc":"list__disc_766ao","caption":"list__caption_766ao"};
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/no-typography-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;;;;"}
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
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type ColorMarkerType } from './types';
3
- export declare type TListContext = {
3
+ export type TListContext = {
4
4
  /**
5
5
  * Упорядоченный список
6
6
  */
package/esm/index.css CHANGED
@@ -7,10 +7,11 @@
7
7
  --gap-20: var(--gap-l);
8
8
  }
9
9
  :root {
10
- --font-family-system:
11
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
10
+ --font-family-alfasans:
11
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
12
+ Helvetica, sans-serif;
12
13
  }
13
- .list__list_1ng3v {
14
+ .list__list_1igey {
14
15
  margin: var(--gap-0);
15
16
  padding: var(--gap-0);
16
17
  color: var(--color-light-text-primary);
@@ -21,19 +22,21 @@
21
22
 
22
23
  font-weight: 400;
23
24
 
24
- font-family: var(--font-family-system);
25
+ letter-spacing: -0.24px;
26
+
27
+ font-family: var(--font-family-alfasans);
25
28
  }
26
- .list__lowerAlpha_1ng3v {
29
+ .list__lowerAlpha_1igey {
27
30
  list-style-type: lower-alpha;
28
31
  padding-left: var(--gap-20);
29
32
  }
30
- .list__decimal_1ng3v {
33
+ .list__decimal_1igey {
31
34
  list-style-type: decimal;
32
35
  }
33
- ol.list__list_1ng3v {
36
+ ol.list__list_1igey {
34
37
  display: flex;
35
38
  flex-direction: column;
36
39
  }
37
- ol.list__list_1ng3v.list__reversed_1ng3v {
40
+ ol.list__list_1igey.list__reversed_1igey {
38
41
  flex-direction: column-reverse;
39
42
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"list":"list__list_1ng3v","lowerAlpha":"list__lowerAlpha_1ng3v","decimal":"list__decimal_1ng3v","reversed":"list__reversed_1ng3v"};
3
+ var styles = {"list":"list__list_1igey","lowerAlpha":"list__lowerAlpha_1igey","decimal":"list__decimal_1igey","reversed":"list__reversed_1igey"};
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/no-typography-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;;;;"}
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 declare type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
1
+ export type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
package/index.css CHANGED
@@ -7,10 +7,11 @@
7
7
  --gap-20: var(--gap-l);
8
8
  }
9
9
  :root {
10
- --font-family-system:
11
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
10
+ --font-family-alfasans:
11
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
12
+ Helvetica, sans-serif;
12
13
  }
13
- .list__list_1ng3v {
14
+ .list__list_1igey {
14
15
  margin: var(--gap-0);
15
16
  padding: var(--gap-0);
16
17
  color: var(--color-light-text-primary);
@@ -21,19 +22,21 @@
21
22
 
22
23
  font-weight: 400;
23
24
 
24
- font-family: var(--font-family-system);
25
+ letter-spacing: -0.24px;
26
+
27
+ font-family: var(--font-family-alfasans);
25
28
  }
26
- .list__lowerAlpha_1ng3v {
29
+ .list__lowerAlpha_1igey {
27
30
  list-style-type: lower-alpha;
28
31
  padding-left: var(--gap-20);
29
32
  }
30
- .list__decimal_1ng3v {
33
+ .list__decimal_1igey {
31
34
  list-style-type: decimal;
32
35
  }
33
- ol.list__list_1ng3v {
36
+ ol.list__list_1igey {
34
37
  display: flex;
35
38
  flex-direction: column;
36
39
  }
37
- ol.list__list_1ng3v.list__reversed_1ng3v {
40
+ ol.list__list_1igey.list__reversed_1igey {
38
41
  flex-direction: column-reverse;
39
42
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"list":"list__list_1ng3v","lowerAlpha":"list__lowerAlpha_1ng3v","decimal":"list__decimal_1ng3v","reversed":"list__reversed_1ng3v"};
5
+ var styles = {"list":"list__list_1igey","lowerAlpha":"list__lowerAlpha_1igey","decimal":"list__decimal_1igey","reversed":"list__reversed_1igey"};
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/index.module.css"],"sourcesContent":["@import '@alfalab/core-components-vars/src/no-typography-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;;;;"}
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;;;;"}
@@ -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 declare type ListProps = {
5
+ export type ListProps = {
6
6
  /**
7
7
  * HTML тег
8
8
  * @default 'ul'
@@ -1,5 +1,5 @@
1
1
  import React, { type ReactNode } from 'react';
2
- export declare type ItemProps = {
2
+ export type ItemProps = {
3
3
  /**
4
4
  * Дополнительный текст
5
5
  */
@@ -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
- .list__item_1g1zv {
17
+ .list__item_766ao {
18
18
  margin-top: var(--list-item-margin);
19
19
  display: flex;
20
20
  }
21
- .list__item_1g1zv:first-child {
21
+ .list__item_766ao:first-child {
22
22
  margin-top: var(--gap-0);
23
23
  }
24
- .list__item_1g1zv.list__reversed_1g1zv:first-child {
24
+ .list__item_766ao.list__reversed_766ao:first-child {
25
25
  margin-top: var(--list-item-margin);
26
26
  }
27
- .list__item_1g1zv.list__reversed_1g1zv:last-child {
27
+ .list__item_766ao.list__reversed_766ao:last-child {
28
28
  margin-top: var(--gap-0);
29
29
  }
30
- .list__item_1g1zv.list__unorderedItem_1g1zv {
30
+ .list__item_766ao.list__unorderedItem_766ao {
31
31
  display: list-item;
32
32
  }
33
- .list__slot_1g1zv {
33
+ .list__slot_766ao {
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
- .list__slot_1g1zv.list__defaultColor_1g1zv {
41
+ .list__slot_766ao.list__defaultColor_766ao {
42
42
  color: var(--list-marker-color);
43
43
  }
44
- .list__slot_1g1zv.list__disc_1g1zv {
44
+ .list__slot_766ao.list__disc_766ao {
45
45
  justify-content: center;
46
46
  padding: var(--gap-0) var(--gap-4);
47
47
  }
48
- .list__caption_1g1zv {
48
+ .list__caption_766ao {
49
49
  margin-top: var(--gap-2);
50
50
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"item":"list__item_1g1zv","reversed":"list__reversed_1g1zv","unorderedItem":"list__unorderedItem_1g1zv","slot":"list__slot_1g1zv","defaultColor":"list__defaultColor_1g1zv","disc":"list__disc_1g1zv","caption":"list__caption_1g1zv"};
3
+ const styles = {"item":"list__item_766ao","reversed":"list__reversed_766ao","unorderedItem":"list__unorderedItem_766ao","slot":"list__slot_766ao","defaultColor":"list__defaultColor_766ao","disc":"list__disc_766ao","caption":"list__caption_766ao"};
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/no-typography-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;;;;"}
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;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type ColorMarkerType } from './types';
3
- export declare type TListContext = {
3
+ export type TListContext = {
4
4
  /**
5
5
  * Упорядоченный список
6
6
  */
package/modern/index.css CHANGED
@@ -7,10 +7,11 @@
7
7
  --gap-20: var(--gap-l);
8
8
  }
9
9
  :root {
10
- --font-family-system:
11
- system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
10
+ --font-family-alfasans:
11
+ 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
12
+ Helvetica, sans-serif;
12
13
  }
13
- .list__list_1ng3v {
14
+ .list__list_1igey {
14
15
  margin: var(--gap-0);
15
16
  padding: var(--gap-0);
16
17
  color: var(--color-light-text-primary);
@@ -21,19 +22,21 @@
21
22
 
22
23
  font-weight: 400;
23
24
 
24
- font-family: var(--font-family-system);
25
+ letter-spacing: -0.24px;
26
+
27
+ font-family: var(--font-family-alfasans);
25
28
  }
26
- .list__lowerAlpha_1ng3v {
29
+ .list__lowerAlpha_1igey {
27
30
  list-style-type: lower-alpha;
28
31
  padding-left: var(--gap-20);
29
32
  }
30
- .list__decimal_1ng3v {
33
+ .list__decimal_1igey {
31
34
  list-style-type: decimal;
32
35
  }
33
- ol.list__list_1ng3v {
36
+ ol.list__list_1igey {
34
37
  display: flex;
35
38
  flex-direction: column;
36
39
  }
37
- ol.list__list_1ng3v.list__reversed_1ng3v {
40
+ ol.list__list_1igey.list__reversed_1igey {
38
41
  flex-direction: column-reverse;
39
42
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"list":"list__list_1ng3v","lowerAlpha":"list__lowerAlpha_1ng3v","decimal":"list__decimal_1ng3v","reversed":"list__reversed_1ng3v"};
3
+ const styles = {"list":"list__list_1igey","lowerAlpha":"list__lowerAlpha_1igey","decimal":"list__decimal_1igey","reversed":"list__reversed_1igey"};
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/no-typography-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;;;;"}
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 declare type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
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 declare type ListProps = {
5
+ export type ListProps = {
6
6
  /**
7
7
  * HTML тег
8
8
  * @default 'ul'
@@ -1,5 +1,5 @@
1
1
  import React, { type ReactNode } from 'react';
2
- export declare type ItemProps = {
2
+ export type ItemProps = {
3
3
  /**
4
4
  * Дополнительный текст
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type ColorMarkerType } from './types';
3
- export declare type TListContext = {
3
+ export type TListContext = {
4
4
  /**
5
5
  * Упорядоченный список
6
6
  */
@@ -11,7 +11,9 @@
11
11
 
12
12
  font-weight: 400;
13
13
 
14
- font-family: var(--font-family-system);
14
+ letter-spacing: -0.24px;
15
+
16
+ font-family: var(--font-family-alfasans);
15
17
  }
16
18
 
17
19
  .lowerAlpha {
@@ -1 +1 @@
1
- export declare type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
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.2",
3
+ "version": "5.0.3-alfasans",
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.2",
13
+ "@alfalab/core-components-typography": "6.0.3-alfasans",
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.1",
26
- "varsVersion": "11.0.1"
25
+ "themesVersion": "15.0.2-alfasans",
26
+ "varsVersion": "11.0.2-alfasans"
27
27
  }
@@ -1,4 +1,4 @@
1
- @import '@alfalab/core-components-vars/src/no-typography-index.css';
1
+ @import '@alfalab/core-components-vars/src/index.css';
2
2
 
3
3
  :root {
4
4
  --list-marker-color: var(--color-light-text-primary);
@@ -1,4 +1,4 @@
1
- @import '@alfalab/core-components-vars/src/no-typography-index.css';
1
+ @import '@alfalab/core-components-vars/src/index.css';
2
2
 
3
3
  .list {
4
4
  margin: var(--gap-0);
package/types.d.ts CHANGED
@@ -1 +1 @@
1
- export declare type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';
1
+ export type ColorMarkerType = 'tertiary' | 'accent' | 'primary' | 'attention' | 'positive' | 'secondary' | 'tertiary-inverted' | 'primary-inverted' | 'secondary-inverted' | 'link' | 'negative';