@sb1/ffe-buttons 21.3.2 → 21.3.4
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/css/buttons.css +1 -1
- package/less/base-button.less +7 -5
- package/package.json +4 -3
package/css/buttons.css
CHANGED
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
.ffe-button--expand:focus,
|
|
231
231
|
.ffe-button--secondary:visited,
|
|
232
232
|
.ffe-button--expand:visited {
|
|
233
|
-
color: var(--ffe-color-component-button-secondary-foreground-
|
|
233
|
+
color: var(--ffe-color-component-button-secondary-foreground-hover);
|
|
234
234
|
background-color: var(--ffe-color-component-button-secondary-fill-hover);
|
|
235
235
|
}
|
|
236
236
|
.ffe-button--secondary:active,
|
package/less/base-button.less
CHANGED
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
--padding-sm: calc(var(--ffe-spacing-2xs) - var(--border-width));
|
|
6
6
|
--padding-md: calc(var(--ffe-spacing-xs) - var(--border-width));
|
|
7
7
|
--padding-lg: calc(12px - var(--border-width));
|
|
8
|
-
--icon-only-color: var(
|
|
8
|
+
--icon-only-color: var(
|
|
9
|
+
--ffe-color-component-button-action-foreground-default
|
|
10
|
+
);
|
|
9
11
|
|
|
10
12
|
align-items: center;
|
|
11
13
|
appearance: none;
|
|
@@ -104,7 +106,9 @@
|
|
|
104
106
|
padding: var(--padding-lg) var(--ffe-spacing-md);
|
|
105
107
|
|
|
106
108
|
&.ffe-button--icon-only {
|
|
107
|
-
padding: var(
|
|
109
|
+
padding: var(
|
|
110
|
+
--padding-md
|
|
111
|
+
); //Md for å kompansere for hvor stort lg-ikonet er i forhold til lg-knappen
|
|
108
112
|
}
|
|
109
113
|
}
|
|
110
114
|
|
|
@@ -210,9 +214,7 @@
|
|
|
210
214
|
|
|
211
215
|
&:focus,
|
|
212
216
|
&:visited {
|
|
213
|
-
color: var(
|
|
214
|
-
--ffe-color-component-button-secondary-foreground-default
|
|
215
|
-
);
|
|
217
|
+
color: var(--ffe-color-component-button-secondary-foreground-hover);
|
|
216
218
|
background-color: var(
|
|
217
219
|
--ffe-color-component-button-secondary-fill-hover
|
|
218
220
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-buttons",
|
|
3
|
-
"version": "21.3.
|
|
3
|
+
"version": "21.3.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "SpareBank1",
|
|
6
6
|
"files": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"build": "lessc less/buttons.less css/buttons.css --autoprefix"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@sb1/ffe-core": "^31.1.
|
|
20
|
+
"@sb1/ffe-core": "^31.1.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@sb1/ffe-buildtool": "^0.10.0"
|
|
@@ -25,5 +25,6 @@
|
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
|
-
"
|
|
28
|
+
"type": "module",
|
|
29
|
+
"gitHead": "cac354c1463aa04333381b0b3f6f51fadd3fa62e"
|
|
29
30
|
}
|