@fkui/design 6.30.0 → 6.31.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/lib/fkui.css +45 -32
- package/lib/fkui.min.css +1 -1
- package/package.json +6 -6
- package/src/components/anchor/_anchor.scss +5 -4
- package/src/components/anchor/_variables.scss +2 -1
- package/src/components/badge/_badge.scss +0 -3
- package/src/components/fieldset/_fieldset.scss +5 -2
- package/src/components/file-item/_file-item.scss +1 -1
- package/src/components/indent/_indent.scss +2 -1
- package/src/components/indent/_variables.scss +1 -1
- package/src/components/page-header/_page-header.scss +2 -2
- package/src/components/page-header/_variables.scss +2 -0
- package/src/components/paginator/_paginator.scss +2 -3
- package/src/components/table-ng/_cell.scss +1 -1
- package/src/components/table-ng/_column.scss +6 -1
- package/src/components/wizard/_wizard-step.scss +16 -4
- package/src/core/mixins/_anchor.scss +7 -4
- package/src/core/mixins/_variables.scss +3 -0
- package/src/core/utils/_functions.scss +10 -3
- package/src/internal-components/popup-menu/_popup-menu.scss +1 -1
- package/src/internal-components/skip-link/_skip-link.scss +9 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/design",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.31.1",
|
|
4
4
|
"description": "fkui design",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"unit:watch": "node --test --watch"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@fkui/icon-lib-default": "6.
|
|
43
|
-
"@fkui/theme-default": "6.
|
|
44
|
-
"autoprefixer": "10.4.
|
|
42
|
+
"@fkui/icon-lib-default": "6.31.0",
|
|
43
|
+
"@fkui/theme-default": "6.31.1",
|
|
44
|
+
"autoprefixer": "10.4.23",
|
|
45
45
|
"cssnano": "7.1.2",
|
|
46
46
|
"glob": "13.0.0",
|
|
47
47
|
"picocolors": "1.1.1",
|
|
@@ -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.31.1",
|
|
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": "f60c60ab7b2b67fad8041a6f4f33062950a25ebb"
|
|
72
72
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
$anchor-svg-margin: 0.25rem;
|
|
2
2
|
@use "../../core/mixins/anchor";
|
|
3
|
+
@use "variables" as *;
|
|
3
4
|
|
|
4
5
|
.anchor {
|
|
5
6
|
@include anchor.anchor;
|
|
@@ -15,12 +16,12 @@ $anchor-svg-margin: 0.25rem;
|
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
&.anchor--discrete {
|
|
18
|
-
color:
|
|
19
|
-
text-decoration-color:
|
|
19
|
+
color: $anchor-color-text-discrete-default;
|
|
20
|
+
text-decoration-color: $anchor-color-text-decoration-discrete-default;
|
|
20
21
|
|
|
21
22
|
&:hover {
|
|
22
|
-
color:
|
|
23
|
-
text-decoration-color:
|
|
23
|
+
color: $anchor-color-text-discrete-default;
|
|
24
|
+
text-decoration-color: $anchor-color-text-decoration-discrete-default;
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
$anchor-color-text-discrete-default: var(--fkds-color-action-text-secondary-default) !default;
|
|
2
|
+
$anchor-color-text-decoration-discrete-default: var(--fkds-color-border-primary) !default;
|
|
@@ -10,8 +10,11 @@
|
|
|
10
10
|
width: var(--f-width-full);
|
|
11
11
|
|
|
12
12
|
&__label {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
// make this selector more specific than .label
|
|
14
|
+
&.label {
|
|
15
|
+
padding: 0;
|
|
16
|
+
margin-bottom: core.densify(size.$margin-075);
|
|
17
|
+
}
|
|
15
18
|
}
|
|
16
19
|
|
|
17
20
|
&__content {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
@use "../../core/size";
|
|
2
|
+
@use "variables" as *;
|
|
2
3
|
|
|
3
4
|
$radio_button_label_offset: 0.1rem;
|
|
4
5
|
|
|
5
6
|
.indent {
|
|
6
|
-
border-left: var(--f-border-width-medium) solid
|
|
7
|
+
border-left: var(--f-border-width-medium) solid $indent-color-seperator;
|
|
7
8
|
margin-bottom: size.$margin-100;
|
|
8
9
|
margin-left: size.$margin-050;
|
|
9
10
|
padding-left: size.$padding-150;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
$indent-color-seperator: var(--fkds-color-border-weak) !default;
|
|
@@ -8,7 +8,7 @@ $page-header-separator-width: 1px !default;
|
|
|
8
8
|
flex-direction: row;
|
|
9
9
|
width: 100%;
|
|
10
10
|
color: $pageheader-color-text-inverted;
|
|
11
|
-
background-color:
|
|
11
|
+
background-color: $pageheader-color-background;
|
|
12
12
|
padding: size.$padding-100 0 size.$padding-100 size.$padding-100;
|
|
13
13
|
align-items: center;
|
|
14
14
|
overflow: hidden;
|
|
@@ -25,7 +25,7 @@ $page-header-separator-width: 1px !default;
|
|
|
25
25
|
}
|
|
26
26
|
&::after {
|
|
27
27
|
content: " ";
|
|
28
|
-
background-color:
|
|
28
|
+
background-color: $pageheader-color-separator-inverted;
|
|
29
29
|
height: 1.38rem;
|
|
30
30
|
padding: calc($page-header-separator-width / 2);
|
|
31
31
|
margin: 0 size.$padding-100 0.155rem;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
$pageheader-color-text-inverted: var(--fkds-color-text-inverted) !default;
|
|
2
2
|
$pageheader-appname-color-text-inverted: var(--fkds-color-text-inverted) !default;
|
|
3
|
+
$pageheader-color-separator-inverted: var(--fkds-color-border-inverted) !default;
|
|
4
|
+
$pageheader-color-background: var(--fkds-color-header-background-primary) !default;
|
|
@@ -28,7 +28,7 @@ $paginator-width-full: $button-width + $gap-size + $page-width * $number-of-page
|
|
|
28
28
|
&__previous,
|
|
29
29
|
&__next {
|
|
30
30
|
border: none;
|
|
31
|
-
color:
|
|
31
|
+
color: var(--fkds-color-text-primary);
|
|
32
32
|
height: $button-height;
|
|
33
33
|
background-color: transparent;
|
|
34
34
|
padding: size.$padding-025;
|
|
@@ -36,12 +36,11 @@ $paginator-width-full: $button-width + $gap-size + $page-width * $number-of-page
|
|
|
36
36
|
cursor: pointer;
|
|
37
37
|
|
|
38
38
|
&--active {
|
|
39
|
-
color:
|
|
39
|
+
color: var(--fkds-color-action-text-inverted-default);
|
|
40
40
|
background-color: var(--fkds-color-action-background-primary-default);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&:hover:enabled:not(&--active) {
|
|
44
|
-
color: black;
|
|
45
44
|
background-color: var(--fkds-color-action-background-secondary-hover);
|
|
46
45
|
}
|
|
47
46
|
}
|
|
@@ -17,7 +17,7 @@ $horizontal-padding: size.$padding-050;
|
|
|
17
17
|
border-right: 1px solid var(--f-color-focus);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
&--
|
|
20
|
+
&--selectable {
|
|
21
21
|
text-align: center;
|
|
22
22
|
padding: core.densify(size.$padding-025);
|
|
23
23
|
|
|
@@ -33,6 +33,11 @@ $horizontal-padding: size.$padding-050;
|
|
|
33
33
|
padding: core.densify(size.$padding-025);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
&--shrink {
|
|
37
|
+
width: 1px;
|
|
38
|
+
white-space: nowrap;
|
|
39
|
+
}
|
|
40
|
+
|
|
36
41
|
&__sort-icon {
|
|
37
42
|
color: $table-ng-color-icon-sort-selected;
|
|
38
43
|
height: var(--f-icon-size-x-small);
|
|
@@ -46,6 +46,10 @@ $icon-size: 30px;
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
.button-group:last-of-type {
|
|
50
|
+
margin-top: calc(4rem * var(--f-density-factor));
|
|
51
|
+
}
|
|
52
|
+
|
|
49
53
|
#{$title-selector} {
|
|
50
54
|
font-size: 1.125rem;
|
|
51
55
|
margin-top: 2px;
|
|
@@ -111,10 +115,6 @@ $icon-size: 30px;
|
|
|
111
115
|
margin-top: $line-gap-to-circle;
|
|
112
116
|
}
|
|
113
117
|
|
|
114
|
-
#{$line-down-selector} {
|
|
115
|
-
grid-area: wizard-step__line-down;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
118
|
.wizard-step__content {
|
|
119
119
|
margin-left: 0.5rem;
|
|
120
120
|
min-width: 0;
|
|
@@ -154,6 +154,10 @@ $icon-size: 30px;
|
|
|
154
154
|
.wizard-step__content {
|
|
155
155
|
margin-left: 0;
|
|
156
156
|
}
|
|
157
|
+
|
|
158
|
+
#{$line-down-selector} {
|
|
159
|
+
grid-area: wizard-step__line-down;
|
|
160
|
+
}
|
|
157
161
|
}
|
|
158
162
|
|
|
159
163
|
&--open {
|
|
@@ -194,6 +198,10 @@ $icon-size: 30px;
|
|
|
194
198
|
#{$number-selector} {
|
|
195
199
|
display: none;
|
|
196
200
|
}
|
|
201
|
+
|
|
202
|
+
#{$line-down-selector} {
|
|
203
|
+
display: none;
|
|
204
|
+
}
|
|
197
205
|
}
|
|
198
206
|
|
|
199
207
|
&--pending {
|
|
@@ -206,6 +214,10 @@ $icon-size: 30px;
|
|
|
206
214
|
background-color: $wizardstep-color-circle-background-pending;
|
|
207
215
|
color: $wizardstep-color-circle-content-pending;
|
|
208
216
|
}
|
|
217
|
+
|
|
218
|
+
#{$line-down-selector} {
|
|
219
|
+
display: none;
|
|
220
|
+
}
|
|
209
221
|
}
|
|
210
222
|
|
|
211
223
|
@media (forced-colors: active) {
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
+
@use "variables" as *;
|
|
2
|
+
|
|
1
3
|
$anchor-underline-width: 2px !default;
|
|
2
4
|
|
|
3
5
|
@mixin anchor() {
|
|
4
6
|
$anchor-underline-offset: 0.25em;
|
|
5
7
|
|
|
6
|
-
color:
|
|
8
|
+
color: $anchor-color-text-standard-default;
|
|
7
9
|
text-decoration: underline;
|
|
8
10
|
text-decoration-thickness: $anchor-underline-width;
|
|
9
11
|
text-underline-offset: $anchor-underline-offset;
|
|
10
|
-
text-decoration-color:
|
|
12
|
+
text-decoration-color: $anchor-color-text-standard-default;
|
|
11
13
|
font-weight: var(--f-font-weight-medium);
|
|
12
14
|
|
|
13
15
|
&:hover {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
+
text-decoration-thickness: 3px;
|
|
17
|
+
color: $anchor-color-text-standard-default;
|
|
18
|
+
text-decoration-color: $anchor-color-text-standard-default;
|
|
16
19
|
}
|
|
17
20
|
}
|
|
@@ -2,3 +2,6 @@ $button-color-border-default: transparent !default;
|
|
|
2
2
|
$button-color-background-disabled: var(--fkds-color-background-disabled) !default;
|
|
3
3
|
$button-color-border-disabled: var(--fkds-color-border-disabled) !default;
|
|
4
4
|
$button-color-text-disabled: var(--fkds-color-text-disabled) !default;
|
|
5
|
+
|
|
6
|
+
// ANCHOR
|
|
7
|
+
$anchor-color-text-standard-default: var(--fkds-color-action-text-primary-default) !default;
|
|
@@ -26,12 +26,19 @@
|
|
|
26
26
|
|
|
27
27
|
@function get-min-for($key) {
|
|
28
28
|
$value: map.get(config-variables.$f-breakpoints, $key);
|
|
29
|
-
@
|
|
29
|
+
@if $value != 0 {
|
|
30
|
+
@return $value;
|
|
31
|
+
} @else {
|
|
32
|
+
@return null;
|
|
33
|
+
}
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
@function get-max-for($key) {
|
|
33
37
|
$breakpoint-keys: map.keys(config-variables.$f-breakpoints);
|
|
34
38
|
$index: list.index($breakpoint-keys, $key);
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
@if $index < list.length($breakpoint-keys) {
|
|
40
|
+
@return get-min-for(list.nth($breakpoint-keys, $index + 1)) - 0.02px;
|
|
41
|
+
} @else {
|
|
42
|
+
@return null;
|
|
43
|
+
}
|
|
37
44
|
}
|
|
@@ -6,9 +6,14 @@
|
|
|
6
6
|
top: -200px;
|
|
7
7
|
|
|
8
8
|
&:focus {
|
|
9
|
-
color:
|
|
10
|
-
background-color: var(--
|
|
11
|
-
left:
|
|
12
|
-
top:
|
|
9
|
+
color: var(--fkds-color-action-text-primary-default);
|
|
10
|
+
background-color: var(--fkds-color-background-primary);
|
|
11
|
+
left: 20px;
|
|
12
|
+
top: 20px;
|
|
13
|
+
font-size: var(--f-font-size-standard);
|
|
14
|
+
font-weight: var(--f-font-weight-medium);
|
|
15
|
+
text-decoration: underline;
|
|
16
|
+
text-underline-offset: 0.25em;
|
|
17
|
+
padding: size.$padding-025 size.$padding-050;
|
|
13
18
|
}
|
|
14
19
|
}
|