@fkui/design 6.47.0 → 6.49.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 +53 -43
- package/lib/fkui.min.css +1 -1
- package/package.json +7 -11
- package/src/components/button/_button.scss +6 -4
- package/src/components/button/_variables.scss +3 -3
- package/src/components/expandable-panel/_expandable-panel.scss +1 -2
- package/src/components/expandable-paragraph/_expandable-paragraph.scss +2 -0
- package/src/components/layout-navigation/_layout-navigation.scss +8 -16
- package/src/components/layout-navigation/_variables.scss +6 -1
- package/src/components/layout-secondary/_layout-secondary.scss +8 -16
- package/src/components/layout-secondary/_variables.scss +6 -1
- package/src/components/table-ng/_cell.scss +36 -5
- package/src/core/mixins/_focus.scss +3 -2
- package/src/internal-components/calendar-month/_calendar-month.scss +2 -1
- package/src/internal-components/calendar-navbar/_calendar-navbar.scss +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/design",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.49.0",
|
|
4
4
|
"description": "fkui design",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -39,19 +39,15 @@
|
|
|
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.49.0",
|
|
43
|
+
"@fkui/theme-default": "6.49.0",
|
|
44
44
|
"autoprefixer": "10.5.0",
|
|
45
45
|
"cssnano": "8.0.1",
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"postcss": "8.5.14",
|
|
49
|
-
"postcss-url": "10.1.3",
|
|
50
|
-
"postcss-var-func-fallback": "3.0.1",
|
|
51
|
-
"svgo": "4.0.1"
|
|
46
|
+
"postcss": "8.5.15",
|
|
47
|
+
"postcss-var-func-fallback": "3.0.1"
|
|
52
48
|
},
|
|
53
49
|
"peerDependencies": {
|
|
54
|
-
"@fkui/theme-default": "^6.
|
|
50
|
+
"@fkui/theme-default": "^6.49.0",
|
|
55
51
|
"sass": "^1.92.0",
|
|
56
52
|
"stylelint": ">= 14"
|
|
57
53
|
},
|
|
@@ -68,5 +64,5 @@
|
|
|
68
64
|
"npm": ">= 7"
|
|
69
65
|
},
|
|
70
66
|
"sass": "./src/fkui.scss",
|
|
71
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "898025dacd95f7c1aba2e08de8f9f36ee148b62e"
|
|
72
68
|
}
|
|
@@ -90,7 +90,7 @@ $button--tertiary: (
|
|
|
90
90
|
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder -- technical debt */
|
|
91
91
|
@extend .button--discrete--black;
|
|
92
92
|
|
|
93
|
-
color: $button-tertiary-
|
|
93
|
+
color: $button-tertiary-muted-color-text-default;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -153,7 +153,7 @@ $button--tertiary: (
|
|
|
153
153
|
padding-bottom: core.densify(var(--f-button-discrete-black-padding-bottom));
|
|
154
154
|
padding-left: var(--f-button-discrete-black-padding-left);
|
|
155
155
|
/* stylelint-enable declaration-block-no-redundant-longhand-properties */
|
|
156
|
-
color: $button-tertiary-
|
|
156
|
+
color: $button-tertiary-muted-color-text-default;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
&:hover {
|
|
@@ -209,13 +209,15 @@ $button--tertiary: (
|
|
|
209
209
|
width: auto;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
+
&--muted,
|
|
213
|
+
// Deprecated since v6.49.0, replaced by `muted`.
|
|
212
214
|
&--black {
|
|
213
|
-
color: $button-tertiary-
|
|
215
|
+
color: $button-tertiary-muted-color-text-default;
|
|
214
216
|
|
|
215
217
|
&:hover,
|
|
216
218
|
&:active,
|
|
217
219
|
&:focus {
|
|
218
|
-
color: $button-tertiary-
|
|
220
|
+
color: $button-tertiary-muted-color-text-focus;
|
|
219
221
|
}
|
|
220
222
|
}
|
|
221
223
|
|
|
@@ -18,9 +18,9 @@ $button-tertiary-color-text-disabled: var(--fkds-color-text-disabled) !default;
|
|
|
18
18
|
$button-tertiary-color-background-hover: var(--fkds-color-action-background-secondary-hover) !default;
|
|
19
19
|
$button-tertiary-color-text-hover: var(--fkds-color-action-text-primary-default) !default;
|
|
20
20
|
|
|
21
|
-
// TERTIARY -
|
|
22
|
-
$button-tertiary-
|
|
23
|
-
$button-tertiary-
|
|
21
|
+
// TERTIARY - muted
|
|
22
|
+
$button-tertiary-muted-color-text-default: var(--fkds-color-action-text-secondary-default) !default;
|
|
23
|
+
$button-tertiary-muted-color-text-focus: var(--fkds-color-action-text-secondary-default) !default;
|
|
24
24
|
|
|
25
25
|
// TERTIARY - inverted
|
|
26
26
|
$button-tertiary-inverted-color-text-default: var(--fkds-color-action-text-inverted-default) !default;
|
|
@@ -84,6 +84,8 @@ $EXPANDABLE_PARAGRAPH_LINE_HEIGHT: var(--f-line-height-medium);
|
|
|
84
84
|
&__content {
|
|
85
85
|
margin-top: core.densify(size.$margin-075);
|
|
86
86
|
margin-bottom: core.densify(size.$margin-100);
|
|
87
|
+
overflow: hidden;
|
|
88
|
+
transition: height 400ms cubic-bezier(0.46, 0.03, 0.52, 0.96);
|
|
87
89
|
}
|
|
88
90
|
|
|
89
91
|
&__separator {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../z-index";
|
|
2
|
+
@use "variables" as *;
|
|
2
3
|
|
|
3
4
|
$ZINDEX: z-index.$MODAL_ZINDEX - 1 !default;
|
|
4
5
|
|
|
@@ -10,15 +11,6 @@ $layout-navigation-content-padding: 4px !default;
|
|
|
10
11
|
$layout-navigation-dot-diameter: 4px !default;
|
|
11
12
|
$layout-navigation-dot-spacing: 4px !default;
|
|
12
13
|
|
|
13
|
-
// Colors
|
|
14
|
-
$palette-color-fk-black-5: #f4f4f4 !default;
|
|
15
|
-
$palette-color-fk-black-50: #8d8e91 !default;
|
|
16
|
-
$palette-color-bluebell-15: #e5e5f5 !default;
|
|
17
|
-
$background-navigation: #{$palette-color-fk-black-5};
|
|
18
|
-
$border-hover-navigation: #{$palette-color-bluebell-15};
|
|
19
|
-
$border-dots-navigation: #{$palette-color-fk-black-50};
|
|
20
|
-
$scrollbar-navigation: #{$palette-color-fk-black-50};
|
|
21
|
-
|
|
22
14
|
.layout-navigation {
|
|
23
15
|
min-height: 100%;
|
|
24
16
|
width: 100%;
|
|
@@ -36,7 +28,7 @@ $scrollbar-navigation: #{$palette-color-fk-black-50};
|
|
|
36
28
|
}
|
|
37
29
|
|
|
38
30
|
&__navigation {
|
|
39
|
-
background-color:
|
|
31
|
+
background-color: $layout-navigation-color-background;
|
|
40
32
|
display: flex;
|
|
41
33
|
position: fixed;
|
|
42
34
|
z-index: $ZINDEX;
|
|
@@ -45,12 +37,12 @@ $scrollbar-navigation: #{$palette-color-fk-black-50};
|
|
|
45
37
|
}
|
|
46
38
|
|
|
47
39
|
&__navigation .button.button--tertiary:hover {
|
|
48
|
-
background-color:
|
|
40
|
+
background-color: $layout-navigation-button-tertiary-color-background-hover;
|
|
49
41
|
}
|
|
50
42
|
|
|
51
43
|
&__navigation__border {
|
|
52
44
|
width: #{$layout-navigation-border-width};
|
|
53
|
-
background-color:
|
|
45
|
+
background-color: $layout-navigation-resize-handle-color-background-default;
|
|
54
46
|
cursor: w-resize;
|
|
55
47
|
flex-shrink: 0;
|
|
56
48
|
display: flex;
|
|
@@ -59,7 +51,7 @@ $scrollbar-navigation: #{$palette-color-fk-black-50};
|
|
|
59
51
|
flex-direction: column;
|
|
60
52
|
|
|
61
53
|
&__dot {
|
|
62
|
-
background-color:
|
|
54
|
+
background-color: $layout-navigation-resize-handle-dot-color-background;
|
|
63
55
|
width: #{$layout-navigation-dot-diameter};
|
|
64
56
|
height: #{$layout-navigation-dot-diameter};
|
|
65
57
|
border-radius: 2px;
|
|
@@ -68,7 +60,7 @@ $scrollbar-navigation: #{$palette-color-fk-black-50};
|
|
|
68
60
|
}
|
|
69
61
|
|
|
70
62
|
&__navigation__border:hover {
|
|
71
|
-
background-color:
|
|
63
|
+
background-color: $layout-navigation-resize-handle-color-background-hover;
|
|
72
64
|
}
|
|
73
65
|
|
|
74
66
|
&__navigation__inner {
|
|
@@ -107,8 +99,8 @@ $scrollbar-navigation: #{$palette-color-fk-black-50};
|
|
|
107
99
|
}
|
|
108
100
|
|
|
109
101
|
&::-webkit-scrollbar-thumb {
|
|
110
|
-
background:
|
|
111
|
-
border: 1px solid
|
|
102
|
+
background: $layout-navigation-scrollbar-thumb-color-background;
|
|
103
|
+
border: 1px solid $layout-navigation-scrollbar-thumb-color-background;
|
|
112
104
|
box-sizing: border-box;
|
|
113
105
|
border-radius: 33px;
|
|
114
106
|
}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
$layout-navigation-color-background: var(--fkds-color-background-secondary) !default;
|
|
2
|
+
$layout-navigation-resize-handle-color-background-default: var(--fkds-color-background-secondary) !default;
|
|
3
|
+
$layout-navigation-resize-handle-color-background-hover: var(--fkds-color-action-background-secondary-hover) !default;
|
|
4
|
+
$layout-navigation-resize-handle-dot-color-background: var(--fkds-color-action-text-secondary-default) !default;
|
|
5
|
+
$layout-navigation-scrollbar-thumb-color-background: var(--fkds-color-border-primary) !default;
|
|
6
|
+
$layout-navigation-button-tertiary-color-background-hover: var(--fkds-color-action-background-secondary-hover) !default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../z-index";
|
|
2
|
+
@use "variables" as *;
|
|
2
3
|
|
|
3
4
|
$ZINDEX: z-index.$MODAL_ZINDEX - 1 !default;
|
|
4
5
|
|
|
@@ -10,15 +11,6 @@ $layout-secondary-content-padding: 4px !default;
|
|
|
10
11
|
$layout-secondary-dot-diameter: 4px !default;
|
|
11
12
|
$layout-secondary-dot-spacing: 4px !default;
|
|
12
13
|
|
|
13
|
-
// Colors
|
|
14
|
-
$palette-color-fk-black-5: #f4f4f4 !default;
|
|
15
|
-
$palette-color-fk-black-50: #8d8e91 !default;
|
|
16
|
-
$palette-color-bluebell-15: #e5e5f5 !default;
|
|
17
|
-
$background-secondary: #{$palette-color-fk-black-5};
|
|
18
|
-
$border-hover-secondary: #{$palette-color-bluebell-15};
|
|
19
|
-
$border-dots-secondary: #{$palette-color-fk-black-50};
|
|
20
|
-
$scrollbar-secondary: #{$palette-color-fk-black-50};
|
|
21
|
-
|
|
22
14
|
.layout-secondary {
|
|
23
15
|
width: 100%;
|
|
24
16
|
min-height: 100%;
|
|
@@ -36,7 +28,7 @@ $scrollbar-secondary: #{$palette-color-fk-black-50};
|
|
|
36
28
|
}
|
|
37
29
|
|
|
38
30
|
&__secondary {
|
|
39
|
-
background-color:
|
|
31
|
+
background-color: $layout-secondary-color-background;
|
|
40
32
|
position: fixed;
|
|
41
33
|
display: flex;
|
|
42
34
|
right: 0;
|
|
@@ -44,12 +36,12 @@ $scrollbar-secondary: #{$palette-color-fk-black-50};
|
|
|
44
36
|
z-index: $ZINDEX;
|
|
45
37
|
|
|
46
38
|
.button.button--tertiary:hover {
|
|
47
|
-
background-color:
|
|
39
|
+
background-color: $layout-secondary-button-tertiary-color-background-hover;
|
|
48
40
|
}
|
|
49
41
|
|
|
50
42
|
&__border {
|
|
51
43
|
width: #{$layout-secondary-border-width};
|
|
52
|
-
background-color:
|
|
44
|
+
background-color: $layout-secondary-resize-handle-color-background-default;
|
|
53
45
|
cursor: w-resize;
|
|
54
46
|
flex-shrink: 0;
|
|
55
47
|
display: flex;
|
|
@@ -58,7 +50,7 @@ $scrollbar-secondary: #{$palette-color-fk-black-50};
|
|
|
58
50
|
flex-direction: column;
|
|
59
51
|
|
|
60
52
|
&__dot {
|
|
61
|
-
background-color:
|
|
53
|
+
background-color: $layout-secondary-resize-handle-dot-color-background;
|
|
62
54
|
width: #{$layout-secondary-dot-diameter};
|
|
63
55
|
height: #{$layout-secondary-dot-diameter};
|
|
64
56
|
border-radius: 2px;
|
|
@@ -67,7 +59,7 @@ $scrollbar-secondary: #{$palette-color-fk-black-50};
|
|
|
67
59
|
}
|
|
68
60
|
|
|
69
61
|
&__border:hover {
|
|
70
|
-
background-color:
|
|
62
|
+
background-color: $layout-secondary-resize-handle-color-background-hover;
|
|
71
63
|
}
|
|
72
64
|
|
|
73
65
|
&__inner {
|
|
@@ -108,8 +100,8 @@ $scrollbar-secondary: #{$palette-color-fk-black-50};
|
|
|
108
100
|
}
|
|
109
101
|
|
|
110
102
|
&::-webkit-scrollbar-thumb {
|
|
111
|
-
background:
|
|
112
|
-
border: 1px solid
|
|
103
|
+
background: $layout-secondary-scrollbar-thumb-color-background;
|
|
104
|
+
border: 1px solid $layout-secondary-scrollbar-thumb-color-background;
|
|
113
105
|
box-sizing: border-box;
|
|
114
106
|
border-radius: 33px;
|
|
115
107
|
}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
$layout-secondary-color-background: var(--fkds-color-background-secondary) !default;
|
|
2
|
+
$layout-secondary-resize-handle-color-background-default: var(--fkds-color-background-secondary) !default;
|
|
3
|
+
$layout-secondary-resize-handle-color-background-hover: var(--fkds-color-action-background-secondary-hover) !default;
|
|
4
|
+
$layout-secondary-resize-handle-dot-color-background: var(--fkds-color-action-text-secondary-default) !default;
|
|
5
|
+
$layout-secondary-scrollbar-thumb-color-background: var(--fkds-color-border-primary) !default;
|
|
6
|
+
$layout-secondary-button-tertiary-color-background-hover: var(--fkds-color-action-background-secondary-hover) !default;
|
|
@@ -6,11 +6,14 @@ $vertical-padding: core.densify(size.$padding-025);
|
|
|
6
6
|
$horizontal-padding: size.$padding-050;
|
|
7
7
|
$underline-thickness: 3px;
|
|
8
8
|
$editable-min-height: calc(var(--f-font-size-standard) * var(--f-line-height-large) + ($vertical-padding * 2) + ($table-ng-selection-outline * 2));
|
|
9
|
+
$editable-margin-block: 2px;
|
|
10
|
+
$editable-border-width: 3px;
|
|
11
|
+
$cell-border-width: 1px;
|
|
9
12
|
|
|
10
13
|
.table-ng__cell {
|
|
11
14
|
padding: $vertical-padding $horizontal-padding;
|
|
12
15
|
text-wrap: nowrap;
|
|
13
|
-
border:
|
|
16
|
+
border: $cell-border-width solid transparent;
|
|
14
17
|
|
|
15
18
|
&:focus,
|
|
16
19
|
&:focus-within {
|
|
@@ -39,6 +42,11 @@ $editable-min-height: calc(var(--f-font-size-standard) * var(--f-line-height-lar
|
|
|
39
42
|
input {
|
|
40
43
|
text-align: left;
|
|
41
44
|
}
|
|
45
|
+
|
|
46
|
+
.table-ng__cell--static__text {
|
|
47
|
+
justify-content: flex-start;
|
|
48
|
+
text-align: left;
|
|
49
|
+
}
|
|
42
50
|
}
|
|
43
51
|
|
|
44
52
|
&--align-right {
|
|
@@ -48,6 +56,15 @@ $editable-min-height: calc(var(--f-font-size-standard) * var(--f-line-height-lar
|
|
|
48
56
|
input {
|
|
49
57
|
text-align: right;
|
|
50
58
|
}
|
|
59
|
+
|
|
60
|
+
.table-ng__cell--static__text {
|
|
61
|
+
justify-content: flex-end;
|
|
62
|
+
text-align: right;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&--numeric {
|
|
67
|
+
font-feature-settings: "tnum" 1;
|
|
51
68
|
}
|
|
52
69
|
|
|
53
70
|
&--select,
|
|
@@ -83,7 +100,7 @@ $editable-min-height: calc(var(--f-font-size-standard) * var(--f-line-height-lar
|
|
|
83
100
|
|
|
84
101
|
&--select {
|
|
85
102
|
.table-ng__editable {
|
|
86
|
-
border:
|
|
103
|
+
border: $editable-border-width solid transparent;
|
|
87
104
|
box-sizing: border-box;
|
|
88
105
|
}
|
|
89
106
|
}
|
|
@@ -115,7 +132,7 @@ $editable-min-height: calc(var(--f-font-size-standard) * var(--f-line-height-lar
|
|
|
115
132
|
}
|
|
116
133
|
|
|
117
134
|
.table-ng__editable {
|
|
118
|
-
border:
|
|
135
|
+
border: $editable-border-width solid transparent;
|
|
119
136
|
box-sizing: border-box;
|
|
120
137
|
position: relative;
|
|
121
138
|
|
|
@@ -200,9 +217,18 @@ $editable-min-height: calc(var(--f-font-size-standard) * var(--f-line-height-lar
|
|
|
200
217
|
text-align: left;
|
|
201
218
|
}
|
|
202
219
|
|
|
220
|
+
&--static {
|
|
221
|
+
.table-ng__cell--static__text {
|
|
222
|
+
display: flex;
|
|
223
|
+
align-items: center;
|
|
224
|
+
min-block-size: calc($editable-min-height - ($editable-margin-block * 2));
|
|
225
|
+
border: $editable-border-width solid transparent;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
203
229
|
&--custom {
|
|
204
230
|
padding: $vertical-padding $horizontal-padding;
|
|
205
|
-
border:
|
|
231
|
+
border: $cell-border-width solid transparent;
|
|
206
232
|
|
|
207
233
|
&:focus {
|
|
208
234
|
box-shadow: none;
|
|
@@ -241,7 +267,7 @@ $editable-min-height: calc(var(--f-font-size-standard) * var(--f-line-height-lar
|
|
|
241
267
|
padding: $vertical-padding $horizontal-padding;
|
|
242
268
|
display: flex;
|
|
243
269
|
align-items: center;
|
|
244
|
-
margin-block:
|
|
270
|
+
margin-block: $editable-margin-block;
|
|
245
271
|
|
|
246
272
|
&__text {
|
|
247
273
|
flex: 1 1 auto;
|
|
@@ -262,6 +288,11 @@ $editable-min-height: calc(var(--f-font-size-standard) * var(--f-line-height-lar
|
|
|
262
288
|
color: CanvasText;
|
|
263
289
|
}
|
|
264
290
|
|
|
291
|
+
.table-ng__cell--static__text {
|
|
292
|
+
forced-color-adjust: none;
|
|
293
|
+
color: CanvasText;
|
|
294
|
+
}
|
|
295
|
+
|
|
265
296
|
.table-ng__cell--text:hover .table-ng__editable,
|
|
266
297
|
.table-ng__cell--select:hover .table-ng__editable,
|
|
267
298
|
.table-ng__cell--text:focus-within .table-ng__editable,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use "../../components/z-index";
|
|
2
|
+
@use "../../core/mixins/focus";
|
|
2
3
|
@use "variables" as *;
|
|
3
4
|
|
|
4
5
|
$days: 7;
|
|
@@ -66,7 +67,7 @@ $day-width: calc((100% - $week-width) / $days);
|
|
|
66
67
|
z-index: z-index.$CALENDAR_MONTH;
|
|
67
68
|
|
|
68
69
|
&[tabindex="-1"] {
|
|
69
|
-
box-shadow:
|
|
70
|
+
box-shadow: focus.$focus-box-shadow;
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
}
|
|
@@ -47,7 +47,7 @@ $calendar-icon-forced-colors-padding: calc($calendar-icon-padding - $calendar-ic
|
|
|
47
47
|
&__year-selector-button {
|
|
48
48
|
/* stylelint-disable scss/at-extend-no-missing-placeholder -- technical debt */
|
|
49
49
|
@extend .button--margin-bottom-0;
|
|
50
|
-
@extend .button--tertiary--
|
|
50
|
+
@extend .button--tertiary--muted;
|
|
51
51
|
@extend .button--tertiary;
|
|
52
52
|
@extend .button;
|
|
53
53
|
|