@sb1/ffe-file-upload 10.0.24 → 10.0.26

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.
@@ -1,5 +1,5 @@
1
1
  .ffe-file-upload {
2
- margin-top: @ffe-spacing-2xl;
2
+ margin-top: var(--ffe-spacing-2xl);
3
3
  display: grid;
4
4
  max-width: 400px;
5
5
  grid-template-columns: 1fr;
@@ -23,22 +23,22 @@
23
23
  &__info-section {
24
24
  .ffe-body-text();
25
25
 
26
- margin-bottom: @ffe-spacing-md;
26
+ margin-bottom: var(--ffe-spacing-md);
27
27
  grid-row: 2;
28
28
 
29
29
  @media (min-width: @breakpoint-md) {
30
- margin-right: @ffe-spacing-md;
30
+ margin-right: var(--ffe-spacing-md);
31
31
  margin-bottom: 0;
32
32
  grid-column: 1;
33
33
  }
34
34
  }
35
35
 
36
36
  &__info-section-text {
37
- margin-bottom: @ffe-spacing-sm;
37
+ margin-bottom: var(--ffe-spacing-sm);
38
38
  }
39
39
 
40
40
  &__file-items-section {
41
- margin-top: @ffe-spacing-sm;
41
+ margin-top: var(--ffe-spacing-sm);
42
42
  line-height: 2.1875rem;
43
43
  grid-row: 4;
44
44
 
@@ -54,16 +54,16 @@
54
54
  }
55
55
 
56
56
  &__upload-section {
57
- height: 150px;
57
+ min-height: 150px;
58
58
  background-color: var(--ffe-v-fileupload-bgcolor);
59
59
  border-radius: 10px;
60
60
  text-align: center;
61
- padding: @ffe-spacing-2xs;
61
+ padding: var(--ffe-spacing-2xs);
62
62
  grid-row: 3;
63
63
 
64
64
  @media (min-width: @breakpoint-md) {
65
65
  margin-top: 0;
66
- height: 220px;
66
+ min-height: 220px;
67
67
  width: 280px;
68
68
  padding: 0;
69
69
  grid-row: 2;
@@ -76,9 +76,9 @@
76
76
  flex-direction: column;
77
77
  justify-content: center;
78
78
  align-items: center;
79
- height: 140px;
80
- margin: @ffe-spacing-2xs;
81
- padding: 0 @ffe-spacing-lg;
79
+ min-height: 140px;
80
+ margin: var(--ffe-spacing-2xs);
81
+ padding: var(--ffe-spacing-2xs) var(--ffe-spacing-lg);
82
82
  border: 2px dashed var(--ffe-v-fileupload-bordercolor);
83
83
  border-radius: 10px;
84
84
  position: relative;
@@ -88,7 +88,7 @@
88
88
 
89
89
  @media (min-width: @breakpoint-md) {
90
90
  width: 270px;
91
- height: 210px;
91
+ min-height: 210px;
92
92
  right: 0;
93
93
  bottom: 0;
94
94
  }
@@ -103,7 +103,7 @@
103
103
  font-family: var(--ffe-g-font-heading-small);
104
104
  font-size: var(--ffe-fontsize-h5);
105
105
  color: var(--ffe-g-heading-color);
106
- margin-bottom: @ffe-spacing-xs;
106
+ margin-bottom: var(--ffe-spacing-xs);
107
107
  display: none;
108
108
 
109
109
  @media (min-width: @breakpoint-md) {
@@ -124,7 +124,7 @@
124
124
  &__upload-section-subtext {
125
125
  .ffe-small-text();
126
126
 
127
- margin-top: @ffe-spacing-xs;
127
+ margin-top: var(--ffe-spacing-xs);
128
128
  }
129
129
 
130
130
  &__file-item-delete-icon {
@@ -132,7 +132,7 @@
132
132
  }
133
133
 
134
134
  &__file-item-delete-button {
135
- padding-top: @ffe-spacing-2xs;
135
+ padding-top: var(--ffe-spacing-2xs);
136
136
  margin-left: auto;
137
137
  background-color: transparent;
138
138
  border: none;
@@ -147,7 +147,7 @@
147
147
  align-items: center;
148
148
 
149
149
  @media (min-width: @breakpoint-md) {
150
- margin-right: @ffe-spacing-sm;
150
+ margin-right: var(--ffe-spacing-sm);
151
151
  }
152
152
 
153
153
  @media (hover: hover) and (pointer: fine) {
@@ -220,7 +220,7 @@
220
220
  &__file-item-stencil-info-filename {
221
221
  .ffe-micro-text();
222
222
 
223
- margin-top: @ffe-spacing-2xs;
223
+ margin-top: var(--ffe-spacing-2xs);
224
224
  white-space: nowrap;
225
225
  overflow: hidden;
226
226
  text-overflow: ellipsis;
@@ -252,7 +252,7 @@
252
252
  border-radius: 50%;
253
253
  width: 18px;
254
254
  height: 18px;
255
- margin-right: @ffe-spacing-2xs;
255
+ margin-right: var(--ffe-spacing-2xs);
256
256
  padding: 3px;
257
257
  font-family: arial, sans-serif;
258
258
  display: inline-flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-file-upload",
3
- "version": "10.0.24",
3
+ "version": "10.0.26",
4
4
  "description": "File upload module",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@sb1/ffe-core": "^27.3.5",
20
- "@sb1/ffe-form": "^28.0.12"
20
+ "@sb1/ffe-form": "^29.0.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@sb1/ffe-buildtool": "^0.5.1"
@@ -25,5 +25,5 @@
25
25
  "publishConfig": {
26
26
  "access": "public"
27
27
  },
28
- "gitHead": "37d813cfca5a9b9c95c4201617ba18599076c2ff"
28
+ "gitHead": "3370ebe3bf7fde53dc86d8d158eceebb2be78954"
29
29
  }