@sb1/ffe-cards 19.3.0 → 20.0.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/less/card-base.less
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
width: 100%;
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
|
|
12
|
-
.
|
|
12
|
+
.regard-color-scheme-preference & {
|
|
13
13
|
@media (prefers-color-scheme: dark) {
|
|
14
14
|
color: var(--ffe-farge-hvit);
|
|
15
15
|
}
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.ffe-card__action--raw:visited {
|
|
108
|
-
.
|
|
108
|
+
.regard-color-scheme-preference & {
|
|
109
109
|
@media (prefers-color-scheme: dark) {
|
|
110
110
|
color: var(--ffe-farge-hvit);
|
|
111
111
|
}
|
package/less/group-card.less
CHANGED
package/less/icon-card.less
CHANGED
|
@@ -12,28 +12,21 @@
|
|
|
12
12
|
grid-template-columns: auto 1fr;
|
|
13
13
|
align-items: center;
|
|
14
14
|
padding: var(--ffe-spacing-md);
|
|
15
|
+
gap: var(--ffe-spacing-xs);
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.ffe-icon-card--right {
|
|
22
|
-
.ffe-icon-card__icon {
|
|
23
|
-
justify-self: end;
|
|
24
|
-
margin: 0 var(--ffe-spacing-xs) 0 var(--ffe-spacing-lg);
|
|
25
|
-
}
|
|
17
|
+
&--right {
|
|
18
|
+
grid-template-columns: 1fr auto;
|
|
19
|
+
justify-content: space-between;
|
|
26
20
|
}
|
|
27
21
|
|
|
28
22
|
@media (min-width: @breakpoint-md) {
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
gap: var(--ffe-spacing-md);
|
|
24
|
+
&--condensed {
|
|
25
|
+
gap: var(--ffe-spacing-xs);
|
|
31
26
|
}
|
|
32
27
|
}
|
|
33
|
-
}
|
|
34
28
|
|
|
35
|
-
.ffe-icon-card--condensed {
|
|
36
29
|
.ffe-icon-card__icon {
|
|
37
|
-
|
|
30
|
+
color: var(--ffe-v-cards-icon-color);
|
|
38
31
|
}
|
|
39
32
|
}
|
package/less/stippled-card.less
CHANGED
package/less/theme.less
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-cards",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0",
|
|
4
4
|
"description": "Kort for bruk i oversikter",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "SpareBank 1",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"test": "npm run lint"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@sb1/ffe-core": "^
|
|
19
|
+
"@sb1/ffe-core": "^29.0.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@sb1/ffe-buildtool": "^0.
|
|
22
|
+
"@sb1/ffe-buildtool": "^0.8.0"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "98d33cf2e867ce718139edf1adf97336b8da6b68"
|
|
28
28
|
}
|