@fkui/design 6.17.0 → 6.18.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 +188 -12
- package/lib/fkui.min.css +1 -1
- package/package.json +9 -16
- package/src/components/_index.scss +2 -0
- package/src/components/table-ng/_cell.scss +152 -0
- package/src/components/table-ng/_column.scss +39 -0
- package/src/components/table-ng/_index.scss +4 -0
- package/src/components/table-ng/_pager.scss +7 -0
- package/src/components/table-ng/_table-ng.scss +68 -0
- package/src/components/table-ng/_variables.scss +17 -0
- package/stylelint/rules/deprecated-variable.test.mjs +172 -0
- package/stylelint/rules/index.js +1 -1
- /package/stylelint/rules/{deprecatedVariable/index.js → deprecated-variable.js} +0 -0
package/lib/fkui.css
CHANGED
|
@@ -4268,7 +4268,6 @@ input[type=search]:focus,
|
|
|
4268
4268
|
background-color: var(--fkds-color-feedback-background-negative, #fcf3f3);
|
|
4269
4269
|
border-radius: var(--f-border-radius-small, 2px);
|
|
4270
4270
|
border-left: 1rem solid var(--fkds-color-feedback-border-negative, #ca1515);
|
|
4271
|
-
padding: 1.5rem;
|
|
4272
4271
|
}
|
|
4273
4272
|
.offline .offline__icon {
|
|
4274
4273
|
font-size: 0;
|
|
@@ -4297,6 +4296,9 @@ input[type=search]:focus,
|
|
|
4297
4296
|
.offline .iflex__item > p {
|
|
4298
4297
|
margin-bottom: 0;
|
|
4299
4298
|
}
|
|
4299
|
+
.offline {
|
|
4300
|
+
padding: 1.5rem;
|
|
4301
|
+
}
|
|
4300
4302
|
.offline__wrapper {
|
|
4301
4303
|
position: fixed;
|
|
4302
4304
|
position: sticky;
|
|
@@ -4903,16 +4905,6 @@ input[type=search]:focus,
|
|
|
4903
4905
|
box-shadow: none;
|
|
4904
4906
|
color: var(--fkds-color-action-text-primary-default, #4a52b6);
|
|
4905
4907
|
padding: calc(var(--f-button-tertiary-padding-top, 0.75rem) * var(--f-density-factor, 1)) var(--f-button-tertiary-padding-right, 0.5rem) calc(var(--f-button-tertiary-padding-bottom, 0.75rem) * var(--f-density-factor, 1)) var(--f-button-tertiary-padding-left, 0.5rem);
|
|
4906
|
-
font-weight: var(--f-font-weight-medium, 700);
|
|
4907
|
-
outline-offset: 0.25rem;
|
|
4908
|
-
font-size: 14px;
|
|
4909
|
-
line-height: 1.25rem;
|
|
4910
|
-
min-width: 24px;
|
|
4911
|
-
padding: calc(0.375rem * var(--f-density-factor, 1)) 0.25rem;
|
|
4912
|
-
text-underline-offset: 3.5px;
|
|
4913
|
-
margin: var(--f-button-tertiary-table-column-action-margin, 0 0 0 0.5rem);
|
|
4914
|
-
width: -moz-max-content;
|
|
4915
|
-
width: max-content;
|
|
4916
4908
|
}
|
|
4917
4909
|
.table__button:hover {
|
|
4918
4910
|
background-color: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
|
|
@@ -4933,6 +4925,18 @@ input[type=search]:focus,
|
|
|
4933
4925
|
border-color: transparent;
|
|
4934
4926
|
color: var(--fkds-color-text-disabled, #8d8e91);
|
|
4935
4927
|
}
|
|
4928
|
+
.table__button {
|
|
4929
|
+
font-weight: var(--f-font-weight-medium, 700);
|
|
4930
|
+
outline-offset: 0.25rem;
|
|
4931
|
+
font-size: 14px;
|
|
4932
|
+
line-height: 1.25rem;
|
|
4933
|
+
min-width: 24px;
|
|
4934
|
+
padding: calc(0.375rem * var(--f-density-factor, 1)) 0.25rem;
|
|
4935
|
+
text-underline-offset: 3.5px;
|
|
4936
|
+
margin: var(--f-button-tertiary-table-column-action-margin, 0 0 0 0.5rem);
|
|
4937
|
+
width: -moz-max-content;
|
|
4938
|
+
width: max-content;
|
|
4939
|
+
}
|
|
4936
4940
|
.table__button .button__icon {
|
|
4937
4941
|
margin: var(--f-button-tertiary-table-column-action-icon-margin, 0 2px 0 2px);
|
|
4938
4942
|
transform: translate(0, 10%);
|
|
@@ -4940,6 +4944,176 @@ input[type=search]:focus,
|
|
|
4940
4944
|
width: 14px;
|
|
4941
4945
|
}
|
|
4942
4946
|
|
|
4947
|
+
.table-ng {
|
|
4948
|
+
border-collapse: separate;
|
|
4949
|
+
border-spacing: 0;
|
|
4950
|
+
font-size: var(--f-font-size-standard, 1rem);
|
|
4951
|
+
margin: 0 0 calc(var(--f-margin-component-bottom, 1.5rem) * var(--f-density-factor, 1));
|
|
4952
|
+
width: 100%;
|
|
4953
|
+
}
|
|
4954
|
+
.table-ng caption {
|
|
4955
|
+
background: transparent;
|
|
4956
|
+
color: var(--f-text-color-default, #1b1e23);
|
|
4957
|
+
font-size: var(--f-font-size-standard, 1rem);
|
|
4958
|
+
font-weight: var(--f-font-weight-medium, 700);
|
|
4959
|
+
line-height: var(--f-line-height-large, 1.5);
|
|
4960
|
+
margin-bottom: calc(0.25rem * var(--f-density-factor, 1));
|
|
4961
|
+
width: var(--f-width-full, 100%);
|
|
4962
|
+
text-align: left;
|
|
4963
|
+
}
|
|
4964
|
+
.table-ng thead th {
|
|
4965
|
+
background: var(--f-background-grid-header, #f4f4f4);
|
|
4966
|
+
border-bottom: 2px solid var(--f-border-color-grid-header, #8d8e91);
|
|
4967
|
+
border-right: 1px solid var(--f-border-color-grid, #8d8e91);
|
|
4968
|
+
color: var(--f-text-color-default, #1b1e23);
|
|
4969
|
+
font-weight: var(--f-font-weight-medium, 700);
|
|
4970
|
+
line-height: var(--f-line-height-large, 1.5);
|
|
4971
|
+
padding: calc(0.25rem * var(--f-density-factor, 1)) 0.5rem;
|
|
4972
|
+
text-align: left;
|
|
4973
|
+
vertical-align: top;
|
|
4974
|
+
}
|
|
4975
|
+
.table-ng thead th:last-child {
|
|
4976
|
+
border-right: none;
|
|
4977
|
+
}
|
|
4978
|
+
.table-ng tbody .table-ng__row {
|
|
4979
|
+
background: var(--f-background-grid-default, #ffffff);
|
|
4980
|
+
color: var(--f-text-color-default, #1b1e23);
|
|
4981
|
+
}
|
|
4982
|
+
.table-ng tbody .table-ng__row--empty {
|
|
4983
|
+
text-align: center;
|
|
4984
|
+
}
|
|
4985
|
+
.table-ng--striped tbody .table-ng__row:nth-child(even) {
|
|
4986
|
+
background: var(--f-background-grid-striped, #f4f4f4);
|
|
4987
|
+
color: var(--f-text-color-default, #1b1e23);
|
|
4988
|
+
}
|
|
4989
|
+
|
|
4990
|
+
.table-ng__cell {
|
|
4991
|
+
padding: calc(0.25rem * var(--f-density-factor, 1)) 0.5rem;
|
|
4992
|
+
text-wrap: nowrap;
|
|
4993
|
+
border: 2px solid transparent;
|
|
4994
|
+
}
|
|
4995
|
+
.table-ng__cell:focus, .table-ng__cell:focus-within {
|
|
4996
|
+
box-shadow: none;
|
|
4997
|
+
border: 2px solid var(--f-color-focus, #1b1e23);
|
|
4998
|
+
}
|
|
4999
|
+
.table-ng__cell input:focus,
|
|
5000
|
+
.table-ng__cell button:focus,
|
|
5001
|
+
.table-ng__cell a:focus,
|
|
5002
|
+
.table-ng__cell [role=combobox]:focus {
|
|
5003
|
+
box-shadow: none;
|
|
5004
|
+
}
|
|
5005
|
+
.table-ng__cell--select, .table-ng__cell--text {
|
|
5006
|
+
padding: 0 0.25rem;
|
|
5007
|
+
}
|
|
5008
|
+
.table-ng__cell--select:focus-visible .table-ng__editable__icon, .table-ng__cell--text:focus-visible .table-ng__editable__icon {
|
|
5009
|
+
visibility: visible;
|
|
5010
|
+
}
|
|
5011
|
+
.table-ng__cell--text:focus-visible {
|
|
5012
|
+
outline: none !important;
|
|
5013
|
+
box-shadow: none !important;
|
|
5014
|
+
}
|
|
5015
|
+
.table-ng__cell--text.table-ng__cell--error:not(:focus-within) .table-ng__editable__icon {
|
|
5016
|
+
visibility: visible;
|
|
5017
|
+
}
|
|
5018
|
+
.table-ng__cell--text .table-ng__editable {
|
|
5019
|
+
border-width: 2px;
|
|
5020
|
+
border-style: solid;
|
|
5021
|
+
border-color: transparent;
|
|
5022
|
+
}
|
|
5023
|
+
.table-ng__cell--text .table-ng__editable:focus-within .table-ng__editable__text {
|
|
5024
|
+
display: none;
|
|
5025
|
+
}
|
|
5026
|
+
.table-ng__cell--text .table-ng__editable:focus-within .table-ng__textedit {
|
|
5027
|
+
flex: 1 0 auto;
|
|
5028
|
+
}
|
|
5029
|
+
.table-ng__cell--checkbox, .table-ng__cell--radio {
|
|
5030
|
+
text-align: center;
|
|
5031
|
+
padding: calc(0.25rem * var(--f-density-factor, 1));
|
|
5032
|
+
}
|
|
5033
|
+
.table-ng__cell--checkbox input, .table-ng__cell--radio input {
|
|
5034
|
+
height: var(--f-icon-size-medium, 1.25rem);
|
|
5035
|
+
width: var(--f-icon-size-medium, 1.25rem);
|
|
5036
|
+
}
|
|
5037
|
+
.table-ng__cell--button button {
|
|
5038
|
+
background: inherit;
|
|
5039
|
+
border: 0;
|
|
5040
|
+
cursor: pointer;
|
|
5041
|
+
margin: 0;
|
|
5042
|
+
min-width: var(--f-icon-size-medium, 1.25rem);
|
|
5043
|
+
padding: 0;
|
|
5044
|
+
width: 100%;
|
|
5045
|
+
}
|
|
5046
|
+
|
|
5047
|
+
.table-ng__textedit {
|
|
5048
|
+
flex: 0 1 0;
|
|
5049
|
+
width: 0;
|
|
5050
|
+
border: none;
|
|
5051
|
+
padding: 0;
|
|
5052
|
+
background: transparent;
|
|
5053
|
+
}
|
|
5054
|
+
.table-ng__textedit:focus {
|
|
5055
|
+
box-shadow: none !important;
|
|
5056
|
+
outline: none !important;
|
|
5057
|
+
}
|
|
5058
|
+
|
|
5059
|
+
.table-ng__editable {
|
|
5060
|
+
padding: calc(0.25rem * var(--f-density-factor, 1)) 0.5rem;
|
|
5061
|
+
display: flex;
|
|
5062
|
+
align-items: center;
|
|
5063
|
+
}
|
|
5064
|
+
.table-ng__editable:hover:not(:focus-within) .table-ng__editable__icon {
|
|
5065
|
+
visibility: visible;
|
|
5066
|
+
}
|
|
5067
|
+
.table-ng__editable__text {
|
|
5068
|
+
flex: 1 1 auto;
|
|
5069
|
+
}
|
|
5070
|
+
.table-ng__editable__icon {
|
|
5071
|
+
visibility: hidden;
|
|
5072
|
+
margin-left: 1rem;
|
|
5073
|
+
flex: none;
|
|
5074
|
+
}
|
|
5075
|
+
|
|
5076
|
+
.table-ng__cell--select:hover .table-ng__editable, .table-ng__cell--text:hover .table-ng__editable {
|
|
5077
|
+
background: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
|
|
5078
|
+
}
|
|
5079
|
+
|
|
5080
|
+
.table-ng__cell--text.table-ng__cell--error:not(:focus-within) .table-ng__editable, .table-ng__cell--text.table-ng__cell--error:hover:not(:focus-within) .table-ng__editable, .table-ng__cell--text.table-ng__cell--error:focus .table-ng__editable {
|
|
5081
|
+
color: var(--fkds-color-feedback-text-negative, #ca1515);
|
|
5082
|
+
border-bottom-color: var(--fkds-color-feedback-text-negative, #ca1515);
|
|
5083
|
+
}
|
|
5084
|
+
|
|
5085
|
+
.table-ng__column {
|
|
5086
|
+
padding: calc(0.25rem * var(--f-density-factor, 1)) 0.5rem;
|
|
5087
|
+
border-bottom: 2px solid transparent;
|
|
5088
|
+
border-right: 1px solid transparent;
|
|
5089
|
+
}
|
|
5090
|
+
.table-ng__column:focus, .table-ng__column:focus-within {
|
|
5091
|
+
box-shadow: none;
|
|
5092
|
+
border-bottom: 2px solid var(--f-color-focus, #1b1e23);
|
|
5093
|
+
border-right: 1px solid var(--f-color-focus, #1b1e23);
|
|
5094
|
+
}
|
|
5095
|
+
.table-ng__column--checkbox {
|
|
5096
|
+
text-align: center;
|
|
5097
|
+
padding: calc(0.25rem * var(--f-density-factor, 1));
|
|
5098
|
+
}
|
|
5099
|
+
.table-ng__column--checkbox input {
|
|
5100
|
+
height: var(--f-icon-size-medium, 1.25rem);
|
|
5101
|
+
width: var(--f-icon-size-medium, 1.25rem);
|
|
5102
|
+
}
|
|
5103
|
+
.table-ng__column__sort-icon {
|
|
5104
|
+
color: var(--f-icon-color-table-header, #1b1e23);
|
|
5105
|
+
height: var(--f-icon-size-x-small, 0.75rem);
|
|
5106
|
+
width: var(--f-icon-size-x-small, 0.75rem);
|
|
5107
|
+
min-width: var(--f-icon-size-x-small, 0.75rem);
|
|
5108
|
+
}
|
|
5109
|
+
.table-ng__column__sort-icon--discrete {
|
|
5110
|
+
color: var(--f-icon-color-table-header-discrete, #8d8e91);
|
|
5111
|
+
}
|
|
5112
|
+
|
|
5113
|
+
.pager {
|
|
5114
|
+
border-bottom: 1px solid var(--f-border-color-grid, #8d8e91);
|
|
5115
|
+
}
|
|
5116
|
+
|
|
4943
5117
|
.text-field {
|
|
4944
5118
|
display: flex;
|
|
4945
5119
|
flex-direction: column;
|
|
@@ -4947,7 +5121,6 @@ input[type=search]:focus,
|
|
|
4947
5121
|
margin: 0 0 calc(var(--f-margin-component-bottom, 1.5rem) * var(--f-density-factor, 1));
|
|
4948
5122
|
position: relative;
|
|
4949
5123
|
width: var(--f-width-full, 100%);
|
|
4950
|
-
/* stylelint-disable property-no-vendor-prefix */
|
|
4951
5124
|
}
|
|
4952
5125
|
@media (min-width: 640px) {
|
|
4953
5126
|
.text-field--inline {
|
|
@@ -5042,6 +5215,9 @@ input[type=search]:focus,
|
|
|
5042
5215
|
height: var(--f-icon-size-x-small, 0.75rem);
|
|
5043
5216
|
width: var(--f-icon-size-x-small, 0.75rem);
|
|
5044
5217
|
}
|
|
5218
|
+
.text-field {
|
|
5219
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
5220
|
+
}
|
|
5045
5221
|
.text-field input[type=search]::-webkit-search-decoration,
|
|
5046
5222
|
.text-field input[type=search]::-webkit-search-cancel-button,
|
|
5047
5223
|
.text-field input[type=search]::-webkit-search-results-button,
|