@hh.ru/magritte-ui-text-list 1.1.26 → 1.1.27
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/TextList.js +1 -1
- package/index.css +16 -16
- 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-
|
|
7
|
+
var styles = {"list":"magritte-list___cNNtz_1-1-27","paragraph-1-regular":"magritte-paragraph-1-regular___et3fO_1-1-27","paragraph1Regular":"magritte-paragraph-1-regular___et3fO_1-1-27","paragraph-2-regular":"magritte-paragraph-2-regular___KBhHQ_1-1-27","paragraph2Regular":"magritte-paragraph-2-regular___KBhHQ_1-1-27","paragraph-3-regular":"magritte-paragraph-3-regular___eyi5y_1-1-27","paragraph3Regular":"magritte-paragraph-3-regular___eyi5y_1-1-27","paragraph-4-regular":"magritte-paragraph-4-regular___zftoT_1-1-27","paragraph4Regular":"magritte-paragraph-4-regular___zftoT_1-1-27","numbered":"magritte-numbered___J770f_1-1-27","item":"magritte-item___kn-Qh_1-1-27","marker":"magritte-marker___r-3yT_1-1-27","marked":"magritte-marked___Fsh2t_1-1-27","content":"magritte-content___Zt8a6_1-1-27"};
|
|
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-
|
|
1
|
+
.magritte-list___cNNtz_1-1-27{
|
|
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-
|
|
6
|
+
.magritte-paragraph-1-regular___et3fO_1-1-27{
|
|
7
7
|
gap:12px 0;
|
|
8
8
|
}
|
|
9
|
-
.magritte-paragraph-2-regular___KBhHQ_1-1-
|
|
9
|
+
.magritte-paragraph-2-regular___KBhHQ_1-1-27{
|
|
10
10
|
gap:8px 0;
|
|
11
11
|
}
|
|
12
|
-
.magritte-paragraph-3-regular___eyi5y_1-1-
|
|
12
|
+
.magritte-paragraph-3-regular___eyi5y_1-1-27{
|
|
13
13
|
gap:8px 0;
|
|
14
14
|
}
|
|
15
|
-
.magritte-paragraph-4-regular___zftoT_1-1-
|
|
15
|
+
.magritte-paragraph-4-regular___zftoT_1-1-27{
|
|
16
16
|
gap:8px 0;
|
|
17
17
|
}
|
|
18
|
-
.magritte-numbered___J770f_1-1-
|
|
18
|
+
.magritte-numbered___J770f_1-1-27{
|
|
19
19
|
counter-set:list-counter;
|
|
20
20
|
}
|
|
21
|
-
.magritte-item___kn-Qh_1-1-
|
|
21
|
+
.magritte-item___kn-Qh_1-1-27{
|
|
22
22
|
display:contents;
|
|
23
23
|
}
|
|
24
|
-
.magritte-marker___r-3yT_1-1-
|
|
24
|
+
.magritte-marker___r-3yT_1-1-27{
|
|
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-
|
|
29
|
+
.magritte-marked___Fsh2t_1-1-27 .magritte-marker___r-3yT_1-1-27::before{
|
|
30
30
|
content:'•';
|
|
31
31
|
}
|
|
32
|
-
.magritte-numbered___J770f_1-1-
|
|
32
|
+
.magritte-numbered___J770f_1-1-27 .magritte-marker___r-3yT_1-1-27{
|
|
33
33
|
counter-increment:list-counter;
|
|
34
34
|
}
|
|
35
|
-
.magritte-numbered___J770f_1-1-
|
|
35
|
+
.magritte-numbered___J770f_1-1-27 .magritte-marker___r-3yT_1-1-27::before{
|
|
36
36
|
content:counter(list-counter) '.';
|
|
37
37
|
}
|
|
38
|
-
.magritte-paragraph-1-regular___et3fO_1-1-
|
|
38
|
+
.magritte-paragraph-1-regular___et3fO_1-1-27 .magritte-marker___r-3yT_1-1-27{
|
|
39
39
|
padding:0 10px;
|
|
40
40
|
}
|
|
41
|
-
.magritte-paragraph-2-regular___KBhHQ_1-1-
|
|
41
|
+
.magritte-paragraph-2-regular___KBhHQ_1-1-27 .magritte-marker___r-3yT_1-1-27{
|
|
42
42
|
padding:0 9px;
|
|
43
43
|
}
|
|
44
|
-
.magritte-paragraph-3-regular___eyi5y_1-1-
|
|
44
|
+
.magritte-paragraph-3-regular___eyi5y_1-1-27 .magritte-marker___r-3yT_1-1-27{
|
|
45
45
|
padding:0 8px;
|
|
46
46
|
}
|
|
47
|
-
.magritte-paragraph-4-regular___zftoT_1-1-
|
|
47
|
+
.magritte-paragraph-4-regular___zftoT_1-1-27 .magritte-marker___r-3yT_1-1-27{
|
|
48
48
|
padding:0 7px;
|
|
49
49
|
}
|
|
50
|
-
.magritte-content___Zt8a6_1-1-
|
|
50
|
+
.magritte-content___Zt8a6_1-1-27{
|
|
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.
|
|
3
|
+
"version": "1.1.27",
|
|
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": "
|
|
23
|
+
"@hh.ru/magritte-ui-typography": "5.0.0"
|
|
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": "
|
|
32
|
+
"gitHead": "e019f700cfff466975b65b96124aaac592268720"
|
|
33
33
|
}
|