@alfalab/core-components-list 5.0.2-alfasans → 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.
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 +3 -6
  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 +8 -11
  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 +8 -11
  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 +8 -11
  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 +1 -3
  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_ilkqx {
17
+ .list__item_1lit6 {
18
18
  margin-top: var(--list-item-margin);
19
19
  display: flex;
20
20
  }
21
- .list__item_ilkqx:first-child {
21
+ .list__item_1lit6:first-child {
22
22
  margin-top: var(--gap-0);
23
23
  }
24
- .list__item_ilkqx.list__reversed_ilkqx:first-child {
24
+ .list__item_1lit6.list__reversed_1lit6:first-child {
25
25
  margin-top: var(--list-item-margin);
26
26
  }
27
- .list__item_ilkqx.list__reversed_ilkqx:last-child {
27
+ .list__item_1lit6.list__reversed_1lit6:last-child {
28
28
  margin-top: var(--gap-0);
29
29
  }
30
- .list__item_ilkqx.list__unorderedItem_ilkqx {
30
+ .list__item_1lit6.list__unorderedItem_1lit6 {
31
31
  display: list-item;
32
32
  }
33
- .list__slot_ilkqx {
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
- .list__slot_ilkqx.list__defaultColor_ilkqx {
41
+ .list__slot_1lit6.list__defaultColor_1lit6 {
42
42
  color: var(--list-marker-color);
43
43
  }
44
- .list__slot_ilkqx.list__disc_ilkqx {
44
+ .list__slot_1lit6.list__disc_1lit6 {
45
45
  justify-content: center;
46
46
  padding: var(--gap-0) var(--gap-4);
47
47
  }
48
- .list__caption_ilkqx {
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":"list__item_ilkqx","reversed":"list__reversed_ilkqx","unorderedItem":"list__unorderedItem_ilkqx","slot":"list__slot_ilkqx","defaultColor":"list__defaultColor_ilkqx","disc":"list__disc_ilkqx","caption":"list__caption_ilkqx"};
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/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,9 +7,8 @@
7
7
  --gap-20: var(--gap-l);
8
8
  }
9
9
  :root {
10
- --font-family-alfasans:
11
- 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
12
- Helvetica, sans-serif;
10
+ --font-family-system:
11
+ system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
13
12
  }
14
13
  .list {
15
14
  margin: var(--gap-0);
@@ -22,9 +21,7 @@
22
21
 
23
22
  font-weight: 400;
24
23
 
25
- letter-spacing: -0.24px;
26
-
27
- font-family: var(--font-family-alfasans);
24
+ font-family: var(--font-family-system);
28
25
  }
29
26
  .lowerAlpha {
30
27
  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_ilkqx {
17
+ .list__item_1lit6 {
18
18
  margin-top: var(--list-item-margin);
19
19
  display: flex;
20
20
  }
21
- .list__item_ilkqx:first-child {
21
+ .list__item_1lit6:first-child {
22
22
  margin-top: var(--gap-0);
23
23
  }
24
- .list__item_ilkqx.list__reversed_ilkqx:first-child {
24
+ .list__item_1lit6.list__reversed_1lit6:first-child {
25
25
  margin-top: var(--list-item-margin);
26
26
  }
27
- .list__item_ilkqx.list__reversed_ilkqx:last-child {
27
+ .list__item_1lit6.list__reversed_1lit6:last-child {
28
28
  margin-top: var(--gap-0);
29
29
  }
30
- .list__item_ilkqx.list__unorderedItem_ilkqx {
30
+ .list__item_1lit6.list__unorderedItem_1lit6 {
31
31
  display: list-item;
32
32
  }
33
- .list__slot_ilkqx {
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
- .list__slot_ilkqx.list__defaultColor_ilkqx {
41
+ .list__slot_1lit6.list__defaultColor_1lit6 {
42
42
  color: var(--list-marker-color);
43
43
  }
44
- .list__slot_ilkqx.list__disc_ilkqx {
44
+ .list__slot_1lit6.list__disc_1lit6 {
45
45
  justify-content: center;
46
46
  padding: var(--gap-0) var(--gap-4);
47
47
  }
48
- .list__caption_ilkqx {
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":"list__item_ilkqx","reversed":"list__reversed_ilkqx","unorderedItem":"list__unorderedItem_ilkqx","slot":"list__slot_ilkqx","defaultColor":"list__defaultColor_ilkqx","disc":"list__disc_ilkqx","caption":"list__caption_ilkqx"};
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/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,11 +7,10 @@
7
7
  --gap-20: var(--gap-l);
8
8
  }
9
9
  :root {
10
- --font-family-alfasans:
11
- 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
12
- Helvetica, sans-serif;
10
+ --font-family-system:
11
+ system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
13
12
  }
14
- .list__list_1710h {
13
+ .list__list_1gqzr {
15
14
  margin: var(--gap-0);
16
15
  padding: var(--gap-0);
17
16
  color: var(--color-light-text-primary);
@@ -22,21 +21,19 @@
22
21
 
23
22
  font-weight: 400;
24
23
 
25
- letter-spacing: -0.24px;
26
-
27
- font-family: var(--font-family-alfasans);
24
+ font-family: var(--font-family-system);
28
25
  }
29
- .list__lowerAlpha_1710h {
26
+ .list__lowerAlpha_1gqzr {
30
27
  list-style-type: lower-alpha;
31
28
  padding-left: var(--gap-20);
32
29
  }
33
- .list__decimal_1710h {
30
+ .list__decimal_1gqzr {
34
31
  list-style-type: decimal;
35
32
  }
36
- ol.list__list_1710h {
33
+ ol.list__list_1gqzr {
37
34
  display: flex;
38
35
  flex-direction: column;
39
36
  }
40
- ol.list__list_1710h.list__reversed_1710h {
37
+ ol.list__list_1gqzr.list__reversed_1gqzr {
41
38
  flex-direction: column-reverse;
42
39
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- var styles = {"list":"list__list_1710h","lowerAlpha":"list__lowerAlpha_1710h","decimal":"list__decimal_1710h","reversed":"list__reversed_1710h"};
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/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,11 +7,10 @@
7
7
  --gap-20: var(--gap-l);
8
8
  }
9
9
  :root {
10
- --font-family-alfasans:
11
- 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
12
- Helvetica, sans-serif;
10
+ --font-family-system:
11
+ system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
13
12
  }
14
- .list__list_1710h {
13
+ .list__list_1gqzr {
15
14
  margin: var(--gap-0);
16
15
  padding: var(--gap-0);
17
16
  color: var(--color-light-text-primary);
@@ -22,21 +21,19 @@
22
21
 
23
22
  font-weight: 400;
24
23
 
25
- letter-spacing: -0.24px;
26
-
27
- font-family: var(--font-family-alfasans);
24
+ font-family: var(--font-family-system);
28
25
  }
29
- .list__lowerAlpha_1710h {
26
+ .list__lowerAlpha_1gqzr {
30
27
  list-style-type: lower-alpha;
31
28
  padding-left: var(--gap-20);
32
29
  }
33
- .list__decimal_1710h {
30
+ .list__decimal_1gqzr {
34
31
  list-style-type: decimal;
35
32
  }
36
- ol.list__list_1710h {
33
+ ol.list__list_1gqzr {
37
34
  display: flex;
38
35
  flex-direction: column;
39
36
  }
40
- ol.list__list_1710h.list__reversed_1710h {
37
+ ol.list__list_1gqzr.list__reversed_1gqzr {
41
38
  flex-direction: column-reverse;
42
39
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./index.css');
4
4
 
5
- var styles = {"list":"list__list_1710h","lowerAlpha":"list__lowerAlpha_1710h","decimal":"list__decimal_1710h","reversed":"list__reversed_1710h"};
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
@@ -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_ilkqx {
17
+ .list__item_1lit6 {
18
18
  margin-top: var(--list-item-margin);
19
19
  display: flex;
20
20
  }
21
- .list__item_ilkqx:first-child {
21
+ .list__item_1lit6:first-child {
22
22
  margin-top: var(--gap-0);
23
23
  }
24
- .list__item_ilkqx.list__reversed_ilkqx:first-child {
24
+ .list__item_1lit6.list__reversed_1lit6:first-child {
25
25
  margin-top: var(--list-item-margin);
26
26
  }
27
- .list__item_ilkqx.list__reversed_ilkqx:last-child {
27
+ .list__item_1lit6.list__reversed_1lit6:last-child {
28
28
  margin-top: var(--gap-0);
29
29
  }
30
- .list__item_ilkqx.list__unorderedItem_ilkqx {
30
+ .list__item_1lit6.list__unorderedItem_1lit6 {
31
31
  display: list-item;
32
32
  }
33
- .list__slot_ilkqx {
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
- .list__slot_ilkqx.list__defaultColor_ilkqx {
41
+ .list__slot_1lit6.list__defaultColor_1lit6 {
42
42
  color: var(--list-marker-color);
43
43
  }
44
- .list__slot_ilkqx.list__disc_ilkqx {
44
+ .list__slot_1lit6.list__disc_1lit6 {
45
45
  justify-content: center;
46
46
  padding: var(--gap-0) var(--gap-4);
47
47
  }
48
- .list__caption_ilkqx {
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":"list__item_ilkqx","reversed":"list__reversed_ilkqx","unorderedItem":"list__unorderedItem_ilkqx","slot":"list__slot_ilkqx","defaultColor":"list__defaultColor_ilkqx","disc":"list__disc_ilkqx","caption":"list__caption_ilkqx"};
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/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,11 +7,10 @@
7
7
  --gap-20: var(--gap-l);
8
8
  }
9
9
  :root {
10
- --font-family-alfasans:
11
- 'Alfa Interface Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
12
- Helvetica, sans-serif;
10
+ --font-family-system:
11
+ system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
13
12
  }
14
- .list__list_1710h {
13
+ .list__list_1gqzr {
15
14
  margin: var(--gap-0);
16
15
  padding: var(--gap-0);
17
16
  color: var(--color-light-text-primary);
@@ -22,21 +21,19 @@
22
21
 
23
22
  font-weight: 400;
24
23
 
25
- letter-spacing: -0.24px;
26
-
27
- font-family: var(--font-family-alfasans);
24
+ font-family: var(--font-family-system);
28
25
  }
29
- .list__lowerAlpha_1710h {
26
+ .list__lowerAlpha_1gqzr {
30
27
  list-style-type: lower-alpha;
31
28
  padding-left: var(--gap-20);
32
29
  }
33
- .list__decimal_1710h {
30
+ .list__decimal_1gqzr {
34
31
  list-style-type: decimal;
35
32
  }
36
- ol.list__list_1710h {
33
+ ol.list__list_1gqzr {
37
34
  display: flex;
38
35
  flex-direction: column;
39
36
  }
40
- ol.list__list_1710h.list__reversed_1710h {
37
+ ol.list__list_1gqzr.list__reversed_1gqzr {
41
38
  flex-direction: column-reverse;
42
39
  }
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
2
 
3
- const styles = {"list":"list__list_1710h","lowerAlpha":"list__lowerAlpha_1710h","decimal":"list__decimal_1710h","reversed":"list__reversed_1710h"};
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/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,9 +11,7 @@
11
11
 
12
12
  font-weight: 400;
13
13
 
14
- letter-spacing: -0.24px;
15
-
16
- font-family: var(--font-family-alfasans);
14
+ font-family: var(--font-family-system);
17
15
  }
18
16
 
19
17
  .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-alfasans",
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.2-alfasans",
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.1-alfasans",
26
- "varsVersion": "11.0.1-alfasans"
25
+ "themesVersion": "15.0.2",
26
+ "varsVersion": "11.0.2"
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';