@fkui/design 6.26.0 → 6.28.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 +71 -51
- package/lib/fkui.min.css +1 -1
- package/package.json +7 -7
- package/src/components/expandable-panel/_expandable-panel.scss +56 -53
- package/src/components/expandable-panel/_variables.scss +13 -1
- package/src/components/table/_table.scss +7 -0
- package/src/components/table/_table_button.scss +0 -1
- package/src/components/table-ng/_cell.scss +6 -0
- package/src/components/table-ng/_column.scss +2 -1
- package/stylelint/rules/deprecated-variable.js +3 -3
- package/stylelint/rules/deprecated-variable.test.mjs +16 -16
package/lib/fkui.css
CHANGED
|
@@ -107,7 +107,6 @@ h2,
|
|
|
107
107
|
.heading--h2,
|
|
108
108
|
h3,
|
|
109
109
|
.heading--h3,
|
|
110
|
-
.expandable-panel__heading,
|
|
111
110
|
h4,
|
|
112
111
|
.heading--h4,
|
|
113
112
|
h5,
|
|
@@ -129,7 +128,7 @@ h2, .heading--h2 {
|
|
|
129
128
|
color: var(--f-text-color-heading-2, inherit);
|
|
130
129
|
}
|
|
131
130
|
|
|
132
|
-
h3, .heading--h3
|
|
131
|
+
h3, .heading--h3 {
|
|
133
132
|
font-size: var(--f-font-size-h3, 1.375rem);
|
|
134
133
|
color: var(--f-text-color-heading-3, inherit);
|
|
135
134
|
}
|
|
@@ -159,7 +158,6 @@ h6, .heading--h6 {
|
|
|
159
158
|
* + .heading--h2,
|
|
160
159
|
* + h3,
|
|
161
160
|
* + .heading--h3,
|
|
162
|
-
* + .expandable-panel__heading,
|
|
163
161
|
* + h4,
|
|
164
162
|
* + .heading--h4,
|
|
165
163
|
* + h5,
|
|
@@ -176,7 +174,7 @@ h6, .heading--h6 {
|
|
|
176
174
|
h2, .heading--h2 {
|
|
177
175
|
font-size: var(--f-font-size-xxx-large, 1.5rem);
|
|
178
176
|
}
|
|
179
|
-
h3, .heading--h3
|
|
177
|
+
h3, .heading--h3 {
|
|
180
178
|
font-size: var(--f-font-size-h4, 1.25rem);
|
|
181
179
|
}
|
|
182
180
|
h4, .heading--h4 {
|
|
@@ -201,7 +199,7 @@ h6, .heading--h6 {
|
|
|
201
199
|
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder -- technical debt */
|
|
202
200
|
}
|
|
203
201
|
|
|
204
|
-
.heading--h3
|
|
202
|
+
.heading--h3 {
|
|
205
203
|
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder -- technical debt */
|
|
206
204
|
}
|
|
207
205
|
|
|
@@ -221,11 +219,11 @@ h1 + h2, .heading--h1 + h2, h1 + .heading--h2, .heading--h1 + .heading--h2 {
|
|
|
221
219
|
margin-top: 1rem;
|
|
222
220
|
}
|
|
223
221
|
|
|
224
|
-
h2 + h3, .heading--h2 + h3, h2 + .heading--h3,
|
|
222
|
+
h2 + h3, .heading--h2 + h3, h2 + .heading--h3, .heading--h2 + .heading--h3 {
|
|
225
223
|
margin-top: 1rem;
|
|
226
224
|
}
|
|
227
225
|
|
|
228
|
-
h3 + h4, .heading--h3 + h4,
|
|
226
|
+
h3 + h4, .heading--h3 + h4, h3 + .heading--h4, .heading--h3 + .heading--h4 {
|
|
229
227
|
margin-top: 1rem;
|
|
230
228
|
}
|
|
231
229
|
|
|
@@ -2701,70 +2699,80 @@ input[type=search]:focus,
|
|
|
2701
2699
|
.expandable-panel {
|
|
2702
2700
|
margin-bottom: calc(2rem * var(--f-density-factor, 1));
|
|
2703
2701
|
}
|
|
2704
|
-
.expandable-panel__icon {
|
|
2705
|
-
border-radius: 50%;
|
|
2706
|
-
background-color: var(--f-icon-color-expandable-panel, #fff);
|
|
2702
|
+
.expandable-panel__icon svg {
|
|
2707
2703
|
width: var(--f-icon-size-medium, 1.25rem);
|
|
2708
2704
|
height: var(--f-icon-size-medium, 1.25rem);
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
padding: 3px;
|
|
2713
|
-
flex-shrink: 0;
|
|
2714
|
-
margin-right: 0.5rem;
|
|
2715
|
-
}
|
|
2716
|
-
.expandable-panel__icon .icon {
|
|
2717
|
-
transition: transform var(--f-animation-duration-long, 500ms) ease;
|
|
2705
|
+
max-height: initial;
|
|
2706
|
+
max-width: initial;
|
|
2707
|
+
vertical-align: middle;
|
|
2718
2708
|
}
|
|
2719
|
-
.expandable-panel.expandable-panel--expanded .expandable-panel__icon svg
|
|
2720
|
-
transform: rotate(
|
|
2709
|
+
.expandable-panel.expandable-panel--expanded .expandable-panel__icon svg {
|
|
2710
|
+
transform: rotate(180deg);
|
|
2721
2711
|
}
|
|
2722
2712
|
.expandable-panel.expandable-panel--expanded .expandable-panel__content {
|
|
2723
2713
|
height: auto;
|
|
2724
2714
|
}
|
|
2725
2715
|
.expandable-panel.expandable-panel--expanded .expandable-panel__heading button {
|
|
2726
|
-
border: var(--f-
|
|
2716
|
+
border-radius: var(--f-border-radius-medium, 4px) var(--f-border-radius-medium, 4px) 0 0;
|
|
2727
2717
|
}
|
|
2728
|
-
.expandable-panel.expandable-panel--collapsed .expandable-panel__icon svg
|
|
2729
|
-
transform: rotate(
|
|
2718
|
+
.expandable-panel.expandable-panel--collapsed .expandable-panel__icon svg {
|
|
2719
|
+
transform: rotate(0);
|
|
2730
2720
|
}
|
|
2731
2721
|
.expandable-panel__heading {
|
|
2732
|
-
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder -- technical debt */
|
|
2733
2722
|
margin-bottom: 0 !important;
|
|
2734
2723
|
}
|
|
2735
2724
|
.expandable-panel__heading button {
|
|
2736
|
-
background-color: var(--
|
|
2737
|
-
border: var(--f-
|
|
2738
|
-
border-radius: var(--f-
|
|
2739
|
-
color: var(--
|
|
2725
|
+
background-color: var(--fkds-color-background-secondary, #f4f4f4);
|
|
2726
|
+
border: var(--f-border-width-medium, 2px) solid var(--fkds-color-border-primary, #8d8e91);
|
|
2727
|
+
border-radius: var(--f-border-radius-medium, 4px);
|
|
2728
|
+
color: var(--fkds-color-text-primary, #1b1e23);
|
|
2740
2729
|
cursor: pointer;
|
|
2741
|
-
display: flex;
|
|
2730
|
+
display: inline-flex;
|
|
2731
|
+
align-items: center;
|
|
2742
2732
|
margin: 0;
|
|
2743
2733
|
padding: calc(1rem * var(--f-density-factor, 1)) 1rem;
|
|
2744
|
-
position: relative;
|
|
2745
2734
|
text-align: left;
|
|
2746
2735
|
width: 100%;
|
|
2736
|
+
font-size: var(--f-font-size-large, 1.125rem);
|
|
2737
|
+
font-weight: var(--f-font-weight-bold, 900);
|
|
2738
|
+
line-height: var(--f-line-height-large, 1.5);
|
|
2747
2739
|
}
|
|
2748
2740
|
.expandable-panel__heading button:focus, .expandable-panel__heading button:hover {
|
|
2749
|
-
background-color: var(--
|
|
2741
|
+
background-color: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
|
|
2742
|
+
}
|
|
2743
|
+
.expandable-panel__title {
|
|
2744
|
+
flex-grow: 1;
|
|
2745
|
+
text-wrap: pretty;
|
|
2746
|
+
}
|
|
2747
|
+
.expandable-panel__title__text {
|
|
2748
|
+
vertical-align: middle;
|
|
2750
2749
|
}
|
|
2751
2750
|
.expandable-panel__notification {
|
|
2751
|
+
margin-left: 0.25em;
|
|
2752
|
+
width: var(--f-icon-size-large, 1.5rem);
|
|
2753
|
+
height: var(--f-icon-size-large, 1.5rem);
|
|
2754
|
+
background: var(--fkds-color-feedback-background-negative-strong, #ca1515);
|
|
2755
|
+
border: var(--f-border-radius-small, 2px) solid transparent;
|
|
2752
2756
|
border-radius: 50%;
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
line-height: 0;
|
|
2757
|
+
display: inline-flex;
|
|
2758
|
+
justify-content: center;
|
|
2759
|
+
align-items: center;
|
|
2760
|
+
vertical-align: middle;
|
|
2761
|
+
}
|
|
2762
|
+
@media (forced-colors: active) {
|
|
2763
|
+
.expandable-panel__notification {
|
|
2764
|
+
background: canvas;
|
|
2765
|
+
}
|
|
2763
2766
|
}
|
|
2764
2767
|
.expandable-panel__notification svg {
|
|
2765
|
-
color: var(--
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
+
color: var(--fkds-color-text-inverted, #fff);
|
|
2769
|
+
width: var(--f-icon-size-small, 1rem);
|
|
2770
|
+
height: var(--f-icon-size-small, 1rem);
|
|
2771
|
+
}
|
|
2772
|
+
@media (forced-colors: active) {
|
|
2773
|
+
.expandable-panel__notification svg {
|
|
2774
|
+
color: buttonText;
|
|
2775
|
+
}
|
|
2768
2776
|
}
|
|
2769
2777
|
.expandable-panel__content {
|
|
2770
2778
|
height: 0;
|
|
@@ -2772,11 +2780,12 @@ input[type=search]:focus,
|
|
|
2772
2780
|
transition: height var(--f-animation-duration-medium, 350ms) ease-in;
|
|
2773
2781
|
}
|
|
2774
2782
|
.expandable-panel__body {
|
|
2775
|
-
background-color: var(--
|
|
2776
|
-
border: var(--f-border-width-medium, 2px) solid var(--
|
|
2783
|
+
background-color: var(--fkds-color-background-primary, #fff);
|
|
2784
|
+
border: var(--f-border-width-medium, 2px) solid var(--fkds-color-border-primary, #8d8e91);
|
|
2777
2785
|
border-top: 0;
|
|
2786
|
+
border-radius: 0 0 var(--f-border-radius-medium, 4px) var(--f-border-radius-medium, 4px);
|
|
2778
2787
|
line-height: inherit;
|
|
2779
|
-
padding: calc(
|
|
2788
|
+
padding: calc(1rem * var(--f-density-factor, 1)) 1rem;
|
|
2780
2789
|
}
|
|
2781
2790
|
|
|
2782
2791
|
.expandable-paragraph {
|
|
@@ -4973,6 +4982,12 @@ input[type=search]:focus,
|
|
|
4973
4982
|
color: var(--fkds-color-text-secondary, #5f6165);
|
|
4974
4983
|
font-weight: var(--f-font-weight-normal, 400);
|
|
4975
4984
|
}
|
|
4985
|
+
.table__column__wrapper {
|
|
4986
|
+
pointer-events: none;
|
|
4987
|
+
}
|
|
4988
|
+
.table__column__wrapper > * {
|
|
4989
|
+
pointer-events: auto;
|
|
4990
|
+
}
|
|
4976
4991
|
.table--selectable .table__row td:hover,
|
|
4977
4992
|
.table--selectable .table__row th:hover {
|
|
4978
4993
|
cursor: pointer;
|
|
@@ -5082,7 +5097,6 @@ input[type=search]:focus,
|
|
|
5082
5097
|
}
|
|
5083
5098
|
.table__button .button__icon {
|
|
5084
5099
|
margin: var(--f-button-tertiary-table-column-action-icon-margin, 0 8px 0 2px);
|
|
5085
|
-
transform: translate(0, 10%);
|
|
5086
5100
|
height: 14px;
|
|
5087
5101
|
width: 14px;
|
|
5088
5102
|
}
|
|
@@ -5181,6 +5195,7 @@ input[type=search]:focus,
|
|
|
5181
5195
|
.table-ng__cell--checkbox input, .table-ng__cell--radio input {
|
|
5182
5196
|
height: var(--f-icon-size-medium, 1.25rem);
|
|
5183
5197
|
width: var(--f-icon-size-medium, 1.25rem);
|
|
5198
|
+
vertical-align: middle;
|
|
5184
5199
|
}
|
|
5185
5200
|
.table-ng__cell--expand button, .table-ng__cell--button button {
|
|
5186
5201
|
padding: 0;
|
|
@@ -5196,6 +5211,10 @@ input[type=search]:focus,
|
|
|
5196
5211
|
}
|
|
5197
5212
|
.table-ng__cell--expand {
|
|
5198
5213
|
width: var(--f-icon-size-medium, 1.25rem);
|
|
5214
|
+
padding: calc(0.25rem * var(--f-density-factor, 1));
|
|
5215
|
+
}
|
|
5216
|
+
.table-ng__cell--select {
|
|
5217
|
+
width: var(--f-icon-size-medium, 1.25rem);
|
|
5199
5218
|
}
|
|
5200
5219
|
.table-ng__cell--rowheader {
|
|
5201
5220
|
font-weight: var(--f-font-weight-medium, 700);
|
|
@@ -5259,13 +5278,14 @@ input[type=search]:focus,
|
|
|
5259
5278
|
border-bottom: 2px solid var(--f-color-focus, #1b1e23);
|
|
5260
5279
|
border-right: 1px solid var(--f-color-focus, #1b1e23);
|
|
5261
5280
|
}
|
|
5262
|
-
.table-ng__column--
|
|
5281
|
+
.table-ng__column--select {
|
|
5263
5282
|
text-align: center;
|
|
5264
5283
|
padding: calc(0.25rem * var(--f-density-factor, 1));
|
|
5265
5284
|
}
|
|
5266
|
-
.table-ng__column--
|
|
5285
|
+
.table-ng__column--select input {
|
|
5267
5286
|
height: var(--f-icon-size-medium, 1.25rem);
|
|
5268
5287
|
width: var(--f-icon-size-medium, 1.25rem);
|
|
5288
|
+
vertical-align: middle;
|
|
5269
5289
|
}
|
|
5270
5290
|
.table-ng__column--rowheader {
|
|
5271
5291
|
text-align: left;
|