@sb1/ffe-cards 19.0.1 → 19.1.1

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/cards.less CHANGED
@@ -2,5 +2,6 @@
2
2
  @import 'card-base';
3
3
  @import 'text-card';
4
4
  @import 'icon-card';
5
+ @import 'illustration-card';
5
6
  @import 'image-card';
6
7
  @import 'stippled-card';
@@ -1,17 +1,17 @@
1
1
  .ffe-card-body {
2
2
  &__card-name {
3
- margin: 0 0 @ffe-spacing-2xs 0;
3
+ margin: 0 0 var(--ffe-spacing-2xs) 0;
4
4
  }
5
5
 
6
6
  &__text {
7
- margin: @ffe-spacing-2xs 0 0 0;
7
+ margin: var(--ffe-spacing-2xs) 0 0 0;
8
8
  }
9
9
 
10
10
  &__subtext {
11
11
  &:extend(.ffe-small-text);
12
12
 
13
13
  color: var(--ffe-v-cards-text-color);
14
- margin: @ffe-spacing-2xs 0 0 0;
14
+ margin: var(--ffe-spacing-2xs) 0 0 0;
15
15
  }
16
16
 
17
17
  &__title {
@@ -0,0 +1,17 @@
1
+ @import 'common-card-styling';
2
+ @import 'components';
3
+
4
+ .ffe-illustration-card {
5
+ .common-card-styling();
6
+
7
+ display: grid;
8
+ grid-template-columns: auto 1fr;
9
+ column-gap: var(--ffe-spacing-md);
10
+ padding: var(--ffe-spacing-md);
11
+ align-items: center;
12
+
13
+ &--condensed {
14
+ column-gap: var(--ffe-spacing-sm);
15
+ padding: var(--ffe-spacing-sm);
16
+ }
17
+ }
@@ -5,7 +5,7 @@
5
5
  .common-card-styling();
6
6
 
7
7
  display: flex;
8
- padding: @ffe-spacing-sm @ffe-spacing-lg;
8
+ padding: var(--ffe-spacing-sm) var(--ffe-spacing-lg);
9
9
  flex-flow: column nowrap;
10
10
  text-align: center;
11
11
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-cards",
3
- "version": "19.0.1",
3
+ "version": "19.1.1",
4
4
  "description": "Kort for bruk i oversikter",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -16,7 +16,7 @@
16
16
  "test": "npm run lint"
17
17
  },
18
18
  "dependencies": {
19
- "@sb1/ffe-core": "^27.5.2"
19
+ "@sb1/ffe-core": "^27.5.3"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@sb1/ffe-buildtool": "^0.6.4"
@@ -24,5 +24,5 @@
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "gitHead": "53ab99e3064a4f4db22861457bfa5af5322058ab"
27
+ "gitHead": "3a4d6b2e14b8aa93318abdb176b41e448af5a31e"
28
28
  }