@fkui/design 6.39.0 → 6.40.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 +127 -60
- package/lib/fkui.min.css +1 -1
- package/package.json +5 -5
- package/src/components/_index.scss +2 -0
- package/src/components/button/_button.scss +8 -3
- package/src/components/datepicker-field/_datepicker-field.scss +1 -0
- package/src/components/definition-list/_definition-list.scss +23 -0
- package/src/components/definition-list/_index.scss +1 -0
- package/src/components/definition-list/_variables.scss +1 -0
- package/src/components/dialogue-tree/_dialogue-tree.scss +1 -1
- package/src/components/file-item/_file-item.scss +2 -1
- package/src/components/file-selector/_file-selector.scss +10 -5
- package/src/components/paginator/_paginator.scss +1 -1
- package/src/components/sort-filter-dataset/_sort-filter-dataset.scss +4 -58
- package/src/components/sort-filter-dataset/_variables.scss +1 -2
- package/src/components/table-ng/_cell.scss +9 -6
- package/src/components/table-ng/_column.scss +7 -2
- package/src/components/table-ng/_variables.scss +3 -0
- package/src/core/mixins/_button.scss +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/design",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.40.0",
|
|
4
4
|
"description": "fkui design",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -39,8 +39,8 @@
|
|
|
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.40.0",
|
|
43
|
+
"@fkui/theme-default": "6.40.0",
|
|
44
44
|
"autoprefixer": "10.4.27",
|
|
45
45
|
"cssnano": "7.1.3",
|
|
46
46
|
"glob": "13.0.6",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"svgo": "4.0.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@fkui/theme-default": "^6.
|
|
54
|
+
"@fkui/theme-default": "^6.40.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": "fffdc47340a925f20f586117a1a5bbb2e2ec8a48"
|
|
72
72
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
@forward "contextmenu/variables";
|
|
11
11
|
@forward "crud-dataset/variables";
|
|
12
12
|
@forward "datepicker-field/variables";
|
|
13
|
+
@forward "definition-list/variables";
|
|
13
14
|
@forward "dialogue-tree/variables";
|
|
14
15
|
@forward "entrypoint/variables";
|
|
15
16
|
@forward "error-list/variables";
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
@use "contextmenu";
|
|
62
63
|
@use "crud-dataset";
|
|
63
64
|
@use "datepicker-field";
|
|
65
|
+
@use "definition-list";
|
|
64
66
|
@use "dialogue-tree";
|
|
65
67
|
@use "entrypoint";
|
|
66
68
|
@use "error-list";
|
|
@@ -323,7 +323,8 @@ $button--tertiary: (
|
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
&:disabled
|
|
326
|
+
&:disabled,
|
|
327
|
+
&[aria-disabled="true"] {
|
|
327
328
|
border: none;
|
|
328
329
|
}
|
|
329
330
|
|
|
@@ -337,7 +338,8 @@ $button--tertiary: (
|
|
|
337
338
|
background-color: $button-tertiary-inverted-color-background-focus;
|
|
338
339
|
}
|
|
339
340
|
|
|
340
|
-
&:disabled
|
|
341
|
+
&:disabled,
|
|
342
|
+
&[aria-disabled="true"] {
|
|
341
343
|
color: $button-tertiary-inverted-color-text-disabled;
|
|
342
344
|
border: none;
|
|
343
345
|
border-width: 0;
|
|
@@ -350,7 +352,8 @@ $button--tertiary: (
|
|
|
350
352
|
text-decoration-thickness: 2px;
|
|
351
353
|
text-underline-offset: 4px;
|
|
352
354
|
|
|
353
|
-
&:disabled
|
|
355
|
+
&:disabled,
|
|
356
|
+
&[aria-disabled="true"] {
|
|
354
357
|
text-decoration: none;
|
|
355
358
|
}
|
|
356
359
|
}
|
|
@@ -464,6 +467,8 @@ $button--tertiary: (
|
|
|
464
467
|
&.disabled:hover,
|
|
465
468
|
&:disabled,
|
|
466
469
|
&:disabled:hover,
|
|
470
|
+
&[aria-disabled="true"],
|
|
471
|
+
&[aria-disabled="true"]:hover,
|
|
467
472
|
&.button--disabled {
|
|
468
473
|
border-width: var(--f-border-width-medium);
|
|
469
474
|
box-shadow: none;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "variables" as *;
|
|
3
|
+
|
|
4
|
+
.definition-list {
|
|
5
|
+
margin: 0;
|
|
6
|
+
color: $definitionlist-text-color-default;
|
|
7
|
+
|
|
8
|
+
&__term {
|
|
9
|
+
float: left;
|
|
10
|
+
clear: left;
|
|
11
|
+
margin-right: size.$margin-025;
|
|
12
|
+
font-weight: var(--f-font-weight-medium);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__term::after {
|
|
16
|
+
content: ":";
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__definition {
|
|
20
|
+
margin-left: 0;
|
|
21
|
+
margin-bottom: 0.25rem;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "definition-list";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
$definitionlist-text-color-default: var(--fkds-color-text-primary) !default;
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
display: flex;
|
|
35
35
|
align-items: center;
|
|
36
36
|
justify-content: space-between;
|
|
37
|
+
cursor: pointer;
|
|
37
38
|
|
|
38
39
|
span {
|
|
39
40
|
display: -webkit-box;
|
|
@@ -43,7 +44,6 @@
|
|
|
43
44
|
font-weight: var(--f-font-weight-medium);
|
|
44
45
|
font-size: var(--f-font-size-standard);
|
|
45
46
|
text-align: left;
|
|
46
|
-
cursor: pointer;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.icon {
|
|
@@ -9,14 +9,19 @@
|
|
|
9
9
|
@include focus-indicator;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
label.button.button--tertiary {
|
|
13
|
+
@media (forced-colors: active) {
|
|
14
|
+
border-color: ButtonBorder;
|
|
15
|
+
color: ButtonText;
|
|
16
|
+
}
|
|
12
17
|
|
|
13
|
-
label {
|
|
14
18
|
cursor: pointer;
|
|
15
19
|
}
|
|
16
|
-
|
|
17
|
-
input:disabled + label {
|
|
18
|
-
background-color: transparent;
|
|
19
|
-
border-color: transparent;
|
|
20
|
+
input[aria-disabled="true"] + label.button.button--tertiary {
|
|
20
21
|
cursor: default;
|
|
22
|
+
@media (forced-colors: active) {
|
|
23
|
+
color: GrayText;
|
|
24
|
+
border-color: GrayText;
|
|
25
|
+
}
|
|
21
26
|
}
|
|
22
27
|
}
|
|
@@ -38,7 +38,7 @@ $paginator-width-full: $button-width + $gap-size + $page-width * $number-of-page
|
|
|
38
38
|
|
|
39
39
|
&--active {
|
|
40
40
|
color: var(--fkds-color-action-text-inverted-default);
|
|
41
|
-
background-color: var(--fkds-color-
|
|
41
|
+
background-color: var(--fkds-color-select-background-primary-default);
|
|
42
42
|
@include forcedcolors.selected-indicator;
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -1,69 +1,15 @@
|
|
|
1
1
|
@use "../../core";
|
|
2
2
|
@use "../../core/size";
|
|
3
|
-
@use "variables" as *;
|
|
4
|
-
|
|
5
|
-
// Selectfield
|
|
6
|
-
$sortfilter-field-margin-bottom: 0.85rem !default;
|
|
7
|
-
|
|
8
|
-
// Selectfield label
|
|
9
|
-
$sortfilter-field-label-margin-right: size.$margin-100 !default;
|
|
10
|
-
$sortfilter-field-label-padding-top: size.$padding-050 !default;
|
|
11
|
-
|
|
12
|
-
// Header
|
|
13
|
-
$sortfilter-header-font-size: var(--f-font-size-h2) !default;
|
|
14
|
-
$sortfilter-header-padding-top: size.$padding-025 !default;
|
|
15
3
|
|
|
16
4
|
.sort-filter-dataset {
|
|
17
5
|
&__sort {
|
|
18
6
|
min-width: 80px;
|
|
19
7
|
}
|
|
20
8
|
|
|
21
|
-
&__search {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
padding-left: 2.1rem;
|
|
26
|
-
padding-right: 2.1rem;
|
|
27
|
-
|
|
28
|
-
@include core.breakpoint-up(md) {
|
|
29
|
-
width: 160px;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&__magnify-icon {
|
|
34
|
-
position: absolute;
|
|
35
|
-
left: size.$margin-175;
|
|
36
|
-
height: var(--f-height-large);
|
|
37
|
-
|
|
38
|
-
/* same as textfield */
|
|
39
|
-
z-index: 1;
|
|
40
|
-
|
|
41
|
-
/* In front of input field */
|
|
42
|
-
width: 1.2rem;
|
|
43
|
-
color: $sort-filter-dateset-color-icon-search;
|
|
44
|
-
|
|
45
|
-
@include core.breakpoint-down(sm) {
|
|
46
|
-
top: size.$margin-150;
|
|
47
|
-
left: size.$margin-075;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&__close-icon.button--discrete {
|
|
52
|
-
position: absolute;
|
|
53
|
-
top: calc(-1 * size.$margin-075);
|
|
54
|
-
right: 0;
|
|
55
|
-
color: $sort-filter-dateset-color-icon-clear;
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
padding: 1rem;
|
|
58
|
-
|
|
59
|
-
@include core.breakpoint-down(sm) {
|
|
60
|
-
top: size.$margin-100;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&__close-icon.button--discrete:hover {
|
|
65
|
-
box-shadow: none;
|
|
66
|
-
background-color: transparent;
|
|
9
|
+
&__search input {
|
|
10
|
+
@include core.breakpoint-up(md) {
|
|
11
|
+
// technical debt: should use `FTextField` `input-width` prop but is not compatible with `inline`.
|
|
12
|
+
width: 160px;
|
|
67
13
|
}
|
|
68
14
|
}
|
|
69
15
|
}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
$sort-filter-dateset-color-icon-search: var(--fkds-color-text-secondary) !default;
|
|
1
|
+
// stylelint-disable no-empty-source -- placeholder file
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
$vertical-padding: core.densify(size.$padding-025);
|
|
6
6
|
$horizontal-padding: size.$padding-050;
|
|
7
7
|
$underline-thickness: 3px;
|
|
8
|
+
$editable-min-height: calc(var(--f-font-size-standard) * var(--f-line-height-large) + ($vertical-padding * 2) + ($table-ng-selection-outline * 2));
|
|
8
9
|
|
|
9
10
|
.table-ng__cell {
|
|
10
11
|
padding: $vertical-padding $horizontal-padding;
|
|
@@ -14,8 +15,8 @@ $underline-thickness: 3px;
|
|
|
14
15
|
&:focus,
|
|
15
16
|
&:focus-within {
|
|
16
17
|
box-shadow: none;
|
|
17
|
-
outline:
|
|
18
|
-
outline-offset: -
|
|
18
|
+
outline: $table-ng-selection-outline solid $table-ng-cell-color-outline;
|
|
19
|
+
outline-offset: -$table-ng-selection-outline;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
&:not(&--menu-open):hover:has(button) {
|
|
@@ -67,6 +68,8 @@ $underline-thickness: 3px;
|
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
.table-ng__editable {
|
|
71
|
+
min-block-size: $editable-min-height;
|
|
72
|
+
|
|
70
73
|
&:focus-within {
|
|
71
74
|
box-shadow: inset 0 (-$underline-thickness) 0 0 $table-ng-cell-color-underline;
|
|
72
75
|
border-radius: 0;
|
|
@@ -203,8 +206,8 @@ $underline-thickness: 3px;
|
|
|
203
206
|
|
|
204
207
|
&:focus {
|
|
205
208
|
box-shadow: none;
|
|
206
|
-
outline:
|
|
207
|
-
outline-offset: -
|
|
209
|
+
outline: $table-ng-selection-outline solid $table-ng-cell-color-outline;
|
|
210
|
+
outline-offset: -$table-ng-selection-outline;
|
|
208
211
|
}
|
|
209
212
|
}
|
|
210
213
|
|
|
@@ -268,8 +271,8 @@ $underline-thickness: 3px;
|
|
|
268
271
|
|
|
269
272
|
.table-ng [tabindex="0"]:focus,
|
|
270
273
|
.table-ng [tabindex="0"]:focus-visible {
|
|
271
|
-
outline:
|
|
272
|
-
outline-offset: -
|
|
274
|
+
outline: $table-ng-selection-outline solid CanvasText;
|
|
275
|
+
outline-offset: -$table-ng-selection-outline;
|
|
273
276
|
background: transparent;
|
|
274
277
|
}
|
|
275
278
|
|
|
@@ -13,8 +13,8 @@ $horizontal-padding: size.$padding-050;
|
|
|
13
13
|
&:focus,
|
|
14
14
|
&:focus-within {
|
|
15
15
|
box-shadow: none;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
outline: $table-ng-selection-outline solid $table-ng-cell-color-outline;
|
|
17
|
+
outline-offset: -$table-ng-selection-outline;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&--selectable {
|
|
@@ -27,6 +27,11 @@ $horizontal-padding: size.$padding-050;
|
|
|
27
27
|
vertical-align: middle;
|
|
28
28
|
accent-color: $table-ng-button-primary-color-background-default;
|
|
29
29
|
}
|
|
30
|
+
|
|
31
|
+
input[type="checkbox"]:focus,
|
|
32
|
+
input[type="checkbox"]:focus-visible {
|
|
33
|
+
box-shadow: none;
|
|
34
|
+
}
|
|
30
35
|
}
|
|
31
36
|
|
|
32
37
|
&--rowheader {
|
|
@@ -50,10 +50,21 @@
|
|
|
50
50
|
&.disabled:hover,
|
|
51
51
|
&:disabled,
|
|
52
52
|
&:disabled:hover,
|
|
53
|
+
&[aria-disabled="true"],
|
|
54
|
+
&[aria-disabled="true"]:hover,
|
|
53
55
|
&#{$name}--disabled,
|
|
54
56
|
&#{$name}--disabled:hover {
|
|
55
57
|
background-color: $background-color--disabled;
|
|
56
58
|
border-color: $border-color--disabled;
|
|
57
59
|
color: $color--disabled;
|
|
60
|
+
pointer-events: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&[aria-disabled="true"] {
|
|
64
|
+
pointer-events: none;
|
|
65
|
+
@media (forced-colors: active) {
|
|
66
|
+
color: GrayText;
|
|
67
|
+
border-color: GrayText;
|
|
68
|
+
}
|
|
58
69
|
}
|
|
59
70
|
}
|