@hh.ru/magritte-ui-text-list 1.1.42 → 1.1.43

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 (3) hide show
  1. package/TextList.js +1 -1
  2. package/index.css +16 -16
  3. package/package.json +3 -3
package/TextList.js CHANGED
@@ -4,7 +4,7 @@ import { Children, cloneElement } from 'react';
4
4
  import classnames from 'classnames';
5
5
  import { Text, isTextElement } from '@hh.ru/magritte-ui-typography';
6
6
 
7
- var styles = {"list":"magritte-list___cNNtz_1-1-42","paragraph-1-regular":"magritte-paragraph-1-regular___et3fO_1-1-42","paragraph1Regular":"magritte-paragraph-1-regular___et3fO_1-1-42","paragraph-2-regular":"magritte-paragraph-2-regular___KBhHQ_1-1-42","paragraph2Regular":"magritte-paragraph-2-regular___KBhHQ_1-1-42","paragraph-3-regular":"magritte-paragraph-3-regular___eyi5y_1-1-42","paragraph3Regular":"magritte-paragraph-3-regular___eyi5y_1-1-42","paragraph-4-regular":"magritte-paragraph-4-regular___zftoT_1-1-42","paragraph4Regular":"magritte-paragraph-4-regular___zftoT_1-1-42","numbered":"magritte-numbered___J770f_1-1-42","item":"magritte-item___kn-Qh_1-1-42","marker":"magritte-marker___r-3yT_1-1-42","marked":"magritte-marked___Fsh2t_1-1-42","content":"magritte-content___Zt8a6_1-1-42"};
7
+ var styles = {"list":"magritte-list___cNNtz_1-1-43","paragraph-1-regular":"magritte-paragraph-1-regular___et3fO_1-1-43","paragraph1Regular":"magritte-paragraph-1-regular___et3fO_1-1-43","paragraph-2-regular":"magritte-paragraph-2-regular___KBhHQ_1-1-43","paragraph2Regular":"magritte-paragraph-2-regular___KBhHQ_1-1-43","paragraph-3-regular":"magritte-paragraph-3-regular___eyi5y_1-1-43","paragraph3Regular":"magritte-paragraph-3-regular___eyi5y_1-1-43","paragraph-4-regular":"magritte-paragraph-4-regular___zftoT_1-1-43","paragraph4Regular":"magritte-paragraph-4-regular___zftoT_1-1-43","numbered":"magritte-numbered___J770f_1-1-43","item":"magritte-item___kn-Qh_1-1-43","marker":"magritte-marker___r-3yT_1-1-43","marked":"magritte-marked___Fsh2t_1-1-43","content":"magritte-content___Zt8a6_1-1-43"};
8
8
 
9
9
  const TextList = ({ Element = 'ul', children, typography = 'paragraph-2-regular' }) => {
10
10
  return (jsx(Element, { className: classnames(styles.list, styles[typography], {
package/index.css CHANGED
@@ -1,52 +1,52 @@
1
- .magritte-list___cNNtz_1-1-42{
1
+ .magritte-list___cNNtz_1-1-43{
2
2
  display:grid;
3
3
  grid-template-columns:min-content auto;
4
4
  list-style-type:none;
5
5
  }
6
- .magritte-paragraph-1-regular___et3fO_1-1-42{
6
+ .magritte-paragraph-1-regular___et3fO_1-1-43{
7
7
  gap:12px 0;
8
8
  }
9
- .magritte-paragraph-2-regular___KBhHQ_1-1-42{
9
+ .magritte-paragraph-2-regular___KBhHQ_1-1-43{
10
10
  gap:8px 0;
11
11
  }
12
- .magritte-paragraph-3-regular___eyi5y_1-1-42{
12
+ .magritte-paragraph-3-regular___eyi5y_1-1-43{
13
13
  gap:8px 0;
14
14
  }
15
- .magritte-paragraph-4-regular___zftoT_1-1-42{
15
+ .magritte-paragraph-4-regular___zftoT_1-1-43{
16
16
  gap:8px 0;
17
17
  }
18
- .magritte-numbered___J770f_1-1-42{
18
+ .magritte-numbered___J770f_1-1-43{
19
19
  counter-set:list-counter;
20
20
  }
21
- .magritte-item___kn-Qh_1-1-42{
21
+ .magritte-item___kn-Qh_1-1-43{
22
22
  display:contents;
23
23
  }
24
- .magritte-marker___r-3yT_1-1-42{
24
+ .magritte-marker___r-3yT_1-1-43{
25
25
  display:block;
26
26
  text-align:right;
27
27
  padding:0 var(--list-marker-padding);
28
28
  }
29
- .magritte-marked___Fsh2t_1-1-42 .magritte-marker___r-3yT_1-1-42::before{
29
+ .magritte-marked___Fsh2t_1-1-43 .magritte-marker___r-3yT_1-1-43::before{
30
30
  content:'•';
31
31
  }
32
- .magritte-numbered___J770f_1-1-42 .magritte-marker___r-3yT_1-1-42{
32
+ .magritte-numbered___J770f_1-1-43 .magritte-marker___r-3yT_1-1-43{
33
33
  counter-increment:list-counter;
34
34
  }
35
- .magritte-numbered___J770f_1-1-42 .magritte-marker___r-3yT_1-1-42::before{
35
+ .magritte-numbered___J770f_1-1-43 .magritte-marker___r-3yT_1-1-43::before{
36
36
  content:counter(list-counter) '.';
37
37
  }
38
- .magritte-paragraph-1-regular___et3fO_1-1-42 .magritte-marker___r-3yT_1-1-42{
38
+ .magritte-paragraph-1-regular___et3fO_1-1-43 .magritte-marker___r-3yT_1-1-43{
39
39
  padding:0 10px;
40
40
  }
41
- .magritte-paragraph-2-regular___KBhHQ_1-1-42 .magritte-marker___r-3yT_1-1-42{
41
+ .magritte-paragraph-2-regular___KBhHQ_1-1-43 .magritte-marker___r-3yT_1-1-43{
42
42
  padding:0 9px;
43
43
  }
44
- .magritte-paragraph-3-regular___eyi5y_1-1-42 .magritte-marker___r-3yT_1-1-42{
44
+ .magritte-paragraph-3-regular___eyi5y_1-1-43 .magritte-marker___r-3yT_1-1-43{
45
45
  padding:0 8px;
46
46
  }
47
- .magritte-paragraph-4-regular___zftoT_1-1-42 .magritte-marker___r-3yT_1-1-42{
47
+ .magritte-paragraph-4-regular___zftoT_1-1-43 .magritte-marker___r-3yT_1-1-43{
48
48
  padding:0 7px;
49
49
  }
50
- .magritte-content___Zt8a6_1-1-42{
50
+ .magritte-content___Zt8a6_1-1-43{
51
51
  display:block;
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hh.ru/magritte-ui-text-list",
3
- "version": "1.1.42",
3
+ "version": "1.1.43",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "sideEffects": [
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@hh.ru/magritte-ui-mock-component": "1.1.7",
23
- "@hh.ru/magritte-ui-typography": "5.3.10"
23
+ "@hh.ru/magritte-ui-typography": "5.3.11"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "classnames": ">=2.3.2",
@@ -29,5 +29,5 @@
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "8b57ec2cfaa40d2fb16738d26166f47bfb44b208"
32
+ "gitHead": "d2f817b284c3d3865462ffa386ed532ef6010269"
33
33
  }