@nice-digital/nds-column-list 2.0.3-alpha.0 → 2.0.6-alpha.0
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/package.json +3 -3
- package/scss/column-list.scss +13 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice-digital/nds-column-list",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6-alpha.0",
|
|
4
4
|
"description": "Column List component for the NICE Design System",
|
|
5
5
|
"main": "lib/ColumnList.js",
|
|
6
6
|
"module": "es/ColumnList.js",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"homepage": "https://design-system.nice.org.uk/",
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@nice-digital/nds-core": "^2.0.
|
|
37
|
+
"@nice-digital/nds-core": "^2.0.5-alpha.0",
|
|
38
38
|
"prop-types": "^15.8.1"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "c560cb90c31f1c8d2e3085df9b32bc4e47a37929"
|
|
41
41
|
}
|
package/scss/column-list.scss
CHANGED
|
@@ -9,9 +9,22 @@
|
|
|
9
9
|
margin: 0 0 utils.rem(spacing.$large);
|
|
10
10
|
max-width: 100%;
|
|
11
11
|
|
|
12
|
+
li {
|
|
13
|
+
break-inside: avoid;
|
|
14
|
+
display: block;
|
|
15
|
+
margin: 0;
|
|
16
|
+
vertical-align: middle;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
a {
|
|
20
|
+
display: block;
|
|
21
|
+
padding: utils.rem(spacing.$small 0);
|
|
22
|
+
}
|
|
23
|
+
|
|
12
24
|
&--boxed {
|
|
13
25
|
background: colours.$column-list-boxed-background;
|
|
14
26
|
border: 1px solid colours.$border;
|
|
27
|
+
padding: utils.rem(spacing.$x-small 0);
|
|
15
28
|
|
|
16
29
|
li {
|
|
17
30
|
// Make room for the anchor focus outline
|
|
@@ -23,11 +36,6 @@
|
|
|
23
36
|
}
|
|
24
37
|
}
|
|
25
38
|
|
|
26
|
-
li {
|
|
27
|
-
break-inside: avoid;
|
|
28
|
-
display: block;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
39
|
@include media-queries.mq($from: md) {
|
|
32
40
|
column-count: 2;
|
|
33
41
|
}
|