@fkui/design 6.24.1 → 6.25.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/lib/fkui.css +117 -117
- package/lib/fkui.min.css +1 -1
- package/package.json +6 -6
- package/src/components/button/_button.scss +3 -3
- package/src/components/button/_variables.scss +6 -0
- package/src/components/file-item/_file-item.scss +1 -1
- package/src/components/file-item/_variables.scss +2 -1
- package/src/components/list/_list.scss +5 -4
- package/src/components/list/_variables.scss +4 -1
- package/src/components/loader/_loader.scss +4 -3
- package/src/components/loader/_variables.scss +3 -1
- package/src/components/page-header/_page-header.scss +3 -2
- package/src/components/page-header/_variables.scss +2 -1
- package/src/components/radio-button/_item.scss +2 -1
- package/src/components/radio-button/_variables.scss +3 -0
- package/src/components/sort-filter-dataset/_sort-filter-dataset.scss +3 -2
- package/src/components/sort-filter-dataset/_variables.scss +2 -1
- package/src/components/table-ng/_column.scss +3 -2
- package/src/components/table-ng/_table-ng.scss +2 -2
- package/src/components/table-ng/_variables.scss +12 -8
- package/src/core/_global.scss +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/design",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.25.0",
|
|
4
4
|
"description": "fkui design",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"unit:watch": "node --test --watch"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@fkui/icon-lib-default": "6.
|
|
43
|
-
"@fkui/theme-default": "6.
|
|
42
|
+
"@fkui/icon-lib-default": "6.25.0",
|
|
43
|
+
"@fkui/theme-default": "6.25.0",
|
|
44
44
|
"autoprefixer": "10.4.21",
|
|
45
|
-
"cssnano": "7.1.
|
|
45
|
+
"cssnano": "7.1.2",
|
|
46
46
|
"glob": "11.0.3",
|
|
47
47
|
"picocolors": "1.1.1",
|
|
48
48
|
"postcss": "8.5.6",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"svgo": "4.0.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@fkui/theme-default": "^6.
|
|
54
|
+
"@fkui/theme-default": "^6.25.0",
|
|
55
55
|
"sass": "^1.40.0",
|
|
56
56
|
"stylelint": ">= 14"
|
|
57
57
|
},
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"npm": ">= 7"
|
|
69
69
|
},
|
|
70
70
|
"sass": "./src/fkui.scss",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "1762b3b4a82c8b3733636ba8fa9c488970187db1"
|
|
72
72
|
}
|
|
@@ -125,9 +125,9 @@ $button--standard: (
|
|
|
125
125
|
/// Discrete button
|
|
126
126
|
$button--discrete: (
|
|
127
127
|
color: $button-tertiary-color-text-default,
|
|
128
|
-
color--hover:
|
|
128
|
+
color--hover: $button-discrete-color-text-hover,
|
|
129
129
|
color--disabled: $button-tertiary-color-text-disabled,
|
|
130
|
-
background-color--hover:
|
|
130
|
+
background-color--hover: none,
|
|
131
131
|
background-color: transparent,
|
|
132
132
|
background-color--disabled: transparent,
|
|
133
133
|
border-color--disabled: transparent,
|
|
@@ -143,7 +143,7 @@ $button--discrete: (
|
|
|
143
143
|
/// Discrete inverted button
|
|
144
144
|
$button--discrete-inverted: (
|
|
145
145
|
color: $button-tertiary-inverted-color-text-default,
|
|
146
|
-
color--hover:
|
|
146
|
+
color--hover: $button-discrete-inverted-color-text-hover,
|
|
147
147
|
color--disabled: $button-tertiary-inverted-color-text-disabled,
|
|
148
148
|
background-color: transparent,
|
|
149
149
|
background-color--disabled: transparent,
|
|
@@ -32,3 +32,9 @@ $button-tertiary-inverted-color-text-disabled: var(--fkds-color-text-disabled) !
|
|
|
32
32
|
// Inflight animation
|
|
33
33
|
$button-spinner-animation-duration: 1250ms !default;
|
|
34
34
|
$button-spinner-animation-delay: 300ms !default;
|
|
35
|
+
|
|
36
|
+
// Discrete
|
|
37
|
+
$button-discrete-color-text-hover: var(--fkds-color-action-text-primary-hover) !default;
|
|
38
|
+
|
|
39
|
+
// Discrete-inverted
|
|
40
|
+
$button-discrete-inverted-color-text-hover: var(--fkds-color-action-text-inverted-hover) !default;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
$fileitem-color-icon-error: var(--fkds-color-feedback-text-negative);
|
|
1
|
+
$fileitem-color-icon-error: var(--fkds-color-feedback-text-negative) !default;
|
|
2
|
+
$fileitem-color-separator: var(--fkds-color-border-weak) !default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
@use "../../core";
|
|
2
2
|
@use "../../core/config-variables";
|
|
3
3
|
@use "../../core/size";
|
|
4
|
+
@use "variables" as *;
|
|
4
5
|
|
|
5
6
|
// list item specific variables
|
|
6
|
-
$list-border: var(--f-border-width-medium) solid
|
|
7
|
+
$list-border: var(--f-border-width-medium) solid $list-row-color-border;
|
|
7
8
|
$list-padding: size.$padding-075;
|
|
8
9
|
$list-margin: 0 0 core.densify(var(--f-margin-component-bottom));
|
|
9
10
|
$list-input-margin-top: 0.1rem;
|
|
@@ -14,15 +15,15 @@ $list-selectpane-padding: calc(var(--f-list-item-itempane-padding) - 0.2rem);
|
|
|
14
15
|
%list-item {
|
|
15
16
|
display: flex;
|
|
16
17
|
border: $list-border;
|
|
17
|
-
background:
|
|
18
|
+
background: $list-row-color-background-default;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
%list-item-hover:not(.disabled) {
|
|
21
|
-
background:
|
|
22
|
+
background: $list-row-color-background-hover;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
%list-item-active {
|
|
25
|
-
background:
|
|
26
|
+
background: $list-row-color-background-active;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
.list {
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
$list-row-color-border: var(--fkds-color-border-primary) !default;
|
|
2
|
+
$list-row-color-background-default: var(--fkds-color-background-primary) !default;
|
|
3
|
+
$list-row-color-background-hover: var(--fkds-color-select-background-primary-hover) !default;
|
|
4
|
+
$list-row-color-background-active: var(--fkds-color-select-background-primary-active) !default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "../../core/size";
|
|
2
2
|
@use "../z-index";
|
|
3
|
+
@use "variables" as *;
|
|
3
4
|
|
|
4
5
|
@keyframes bouncedelay {
|
|
5
6
|
0%,
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
&__circle {
|
|
50
51
|
animation: bouncedelay 1.2s infinite ease-in-out; // prevent first frame from flickering when animation starts
|
|
51
52
|
animation-fill-mode: both;
|
|
52
|
-
background-color:
|
|
53
|
+
background-color: $loader-circle-color-background;
|
|
53
54
|
border-radius: 100%;
|
|
54
55
|
height: size.$padding-100;
|
|
55
56
|
position: absolute;
|
|
@@ -79,11 +80,11 @@
|
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
.loader__wait-text {
|
|
82
|
-
color:
|
|
83
|
+
color: $loader-inverted-color-text;
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
.loader__circle {
|
|
86
|
-
background-color:
|
|
87
|
+
background-color: $loader-circle-inverted-color-background;
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
90
|
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
$loader-inverted-color-text: var(--fkds-color-text-inverted) !default;
|
|
2
|
+
$loader-circle-inverted-color-background: var(--fkds-color-text-inverted) !default;
|
|
3
|
+
$loader-circle-color-background: var(--fkds-color-text-secondary) !default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../../core/size";
|
|
2
|
+
@use "variables" as *;
|
|
2
3
|
|
|
3
4
|
$page-header-separator-width: 1px !default;
|
|
4
5
|
|
|
@@ -6,7 +7,7 @@ $page-header-separator-width: 1px !default;
|
|
|
6
7
|
display: flex;
|
|
7
8
|
flex-direction: row;
|
|
8
9
|
width: 100%;
|
|
9
|
-
color:
|
|
10
|
+
color: $pageheader-color-text-inverted;
|
|
10
11
|
background-color: var(--f-background-pageheader-primary);
|
|
11
12
|
padding: size.$padding-100 0 size.$padding-100 size.$padding-100;
|
|
12
13
|
align-items: center;
|
|
@@ -36,7 +37,7 @@ $page-header-separator-width: 1px !default;
|
|
|
36
37
|
margin: 0;
|
|
37
38
|
font-size: var(--f-font-size-h3);
|
|
38
39
|
font-weight: var(--f-font-weight-medium);
|
|
39
|
-
color:
|
|
40
|
+
color: $pageheader-appname-color-text-inverted;
|
|
40
41
|
white-space: nowrap;
|
|
41
42
|
overflow: hidden;
|
|
42
43
|
text-overflow: ellipsis;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
$pageheader-color-text-inverted: var(--fkds-color-text-inverted) !default;
|
|
2
|
+
$pageheader-appname-color-text-inverted: var(--fkds-color-text-inverted) !default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use ".././list/list";
|
|
2
|
+
@use "variables" as *;
|
|
2
3
|
|
|
3
4
|
%selectable-item {
|
|
4
5
|
border: list.$list-border;
|
|
@@ -11,7 +12,7 @@
|
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
input:focus + label {
|
|
14
|
-
outline: 2px solid
|
|
15
|
+
outline: 2px solid $radio-button-border-color-border-default;
|
|
15
16
|
outline-offset: -2px;
|
|
16
17
|
}
|
|
17
18
|
input + label::after {
|
|
@@ -11,3 +11,6 @@ $radio-button-color-background-disabled: var(--fkds-color-background-disabled) !
|
|
|
11
11
|
$radio-button-color-border-default: var(--fkds-color-border-primary) !default;
|
|
12
12
|
$radio-button-color-border-selected: transparent !default;
|
|
13
13
|
$radio-button-color-border-disabled: var(--fkds-color-border-disabled) !default;
|
|
14
|
+
|
|
15
|
+
// RADIO BUTTON WITH BORDER
|
|
16
|
+
$radio-button-border-color-border-default: var(--fkds-color-border-primary) !default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "../../core";
|
|
2
2
|
@use "../../core/size";
|
|
3
|
+
@use "variables" as *;
|
|
3
4
|
|
|
4
5
|
// Selectfield
|
|
5
6
|
$sortfilter-field-margin-bottom: 0.85rem !default;
|
|
@@ -39,7 +40,7 @@ $sortfilter-header-padding-top: size.$padding-025 !default;
|
|
|
39
40
|
|
|
40
41
|
/* In front of input field */
|
|
41
42
|
width: 1.2rem;
|
|
42
|
-
color:
|
|
43
|
+
color: $sort-filter-dateset-color-icon-search;
|
|
43
44
|
|
|
44
45
|
@include core.breakpoint-down(sm) {
|
|
45
46
|
top: size.$margin-150;
|
|
@@ -51,7 +52,7 @@ $sortfilter-header-padding-top: size.$padding-025 !default;
|
|
|
51
52
|
position: absolute;
|
|
52
53
|
top: calc(-1 * size.$margin-075);
|
|
53
54
|
right: 0;
|
|
54
|
-
color:
|
|
55
|
+
color: $sort-filter-dateset-color-icon-clear;
|
|
55
56
|
cursor: pointer;
|
|
56
57
|
padding: 1rem;
|
|
57
58
|
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
$sort-filter-dateset-color-icon-clear: var(--fkds-color-text-secondary) !default;
|
|
2
|
+
$sort-filter-dateset-color-icon-search: var(--fkds-color-text-secondary) !default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use "../../core";
|
|
2
2
|
@use "../../core/size";
|
|
3
|
+
@use "variables" as *;
|
|
3
4
|
|
|
4
5
|
$vertical-padding: core.densify(size.$padding-025);
|
|
5
6
|
$horizontal-padding: size.$padding-050;
|
|
@@ -32,13 +33,13 @@ $horizontal-padding: size.$padding-050;
|
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
&__sort-icon {
|
|
35
|
-
color:
|
|
36
|
+
color: $table-ng-color-icon-sort-selected;
|
|
36
37
|
height: var(--f-icon-size-x-small);
|
|
37
38
|
width: var(--f-icon-size-x-small);
|
|
38
39
|
min-width: var(--f-icon-size-x-small);
|
|
39
40
|
|
|
40
41
|
&--discrete {
|
|
41
|
-
color:
|
|
42
|
+
color: $table-ng-color-icon-sort-default;
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
}
|
|
@@ -8,12 +8,12 @@ $table-ng-focus-size: 2px !default;
|
|
|
8
8
|
$table-ng-margin: 0 0 core.densify(var(--f-margin-component-bottom)) !default;
|
|
9
9
|
|
|
10
10
|
// Header
|
|
11
|
-
$table-ng-header-separator: 1px solid var(--
|
|
11
|
+
$table-ng-header-separator: 1px solid var(--fkds-color-border-primary) !default;
|
|
12
12
|
$table-ng-header-padding: core.densify(size.$padding-025) size.$padding-050 !default;
|
|
13
13
|
$table-ng-header-font-weight: var(--f-font-weight-medium) !default;
|
|
14
14
|
|
|
15
15
|
// Column description
|
|
16
|
-
$table-ng-description-foreground: var(--
|
|
16
|
+
$table-ng-description-foreground: var(--fkds-color-text-secondary) !default;
|
|
17
17
|
$table-ng-description-background: transparent !default;
|
|
18
18
|
$table-ng-description-font-weight: var(--f-font-weight-normal) !default;
|
|
19
19
|
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
// Caption
|
|
2
2
|
$table-ng-caption-background: transparent !default;
|
|
3
|
-
$table-ng-caption-foreground: var(--
|
|
3
|
+
$table-ng-caption-foreground: var(--fkds-color-text-primary) !default;
|
|
4
4
|
|
|
5
5
|
// Header
|
|
6
|
-
$table-ng-header-background: var(--
|
|
7
|
-
$table-ng-header-foreground: var(--
|
|
8
|
-
$table-ng-header-border: 2px solid var(--
|
|
6
|
+
$table-ng-header-background: var(--fkds-color-background-secondary) !default;
|
|
7
|
+
$table-ng-header-foreground: var(--fkds-color-text-primary) !default;
|
|
8
|
+
$table-ng-header-border: 2px solid var(--fkds-color-border-primary) !default;
|
|
9
9
|
|
|
10
10
|
// Rows -- Flytta till table-ng-rows.scss?
|
|
11
|
-
$table-ng-row-background: var(--
|
|
12
|
-
$table-ng-row-background-alt: var(--
|
|
13
|
-
$table-ng-row-foreground: var(--
|
|
14
|
-
$table-ng-row-separator: 1px solid var(--
|
|
11
|
+
$table-ng-row-background: var(--fkds-color-background-primary) !default;
|
|
12
|
+
$table-ng-row-background-alt: var(--fkds-color-background-secondary) !default;
|
|
13
|
+
$table-ng-row-foreground: var(--fkds-color-text-primary) !default;
|
|
14
|
+
$table-ng-row-separator: 1px solid var(--fkds-color-border-primary) !default;
|
|
15
|
+
|
|
16
|
+
// Column
|
|
17
|
+
$table-ng-color-icon-sort-selected: var(--fkds-color-text-primary) !default;
|
|
18
|
+
$table-ng-color-icon-sort-default: var(--fkds-color-text-secondary) !default;
|
package/src/core/_global.scss
CHANGED
|
@@ -12,7 +12,7 @@ html {
|
|
|
12
12
|
|
|
13
13
|
body {
|
|
14
14
|
// only applies when using FKUI in a non scoped application
|
|
15
|
-
color: var(--
|
|
15
|
+
color: var(--fkds-color-text-primary);
|
|
16
16
|
font-size: var(--f-font-size-standard);
|
|
17
17
|
font-weight: var(--f-font-weight-normal);
|
|
18
18
|
line-height: var(--f-line-height-large);
|
|
@@ -34,7 +34,7 @@ code {
|
|
|
34
34
|
font-size: var(--f-font-size-standard);
|
|
35
35
|
border-radius: var(--f-border-radius-small);
|
|
36
36
|
font-family: var(--f-font-family-code);
|
|
37
|
-
background-color: var(--
|
|
37
|
+
background-color: var(--fkds-color-background-secondary);
|
|
38
38
|
display: inline-block;
|
|
39
39
|
margin: 0 #{size.$margin-025};
|
|
40
40
|
padding: 0 #{size.$padding-025};
|