@fkui/design 6.16.1 → 6.18.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 CHANGED
@@ -2156,7 +2156,7 @@ input[type=search]:focus,
2156
2156
  background-color: var(--fkds-color-select-background-primary-hover, #e5e5f5);
2157
2157
  color: var(--fkds-color-text-primary, #1b1e23);
2158
2158
  }
2159
- .calendar__year-selector__year--highlight {
2159
+ .calendar__year-selector__year--highlight, .combobox__listbox__option--highlight {
2160
2160
  background-color: var(--fkds-color-select-background-primary-default, #4a52b6);
2161
2161
  color: var(--fkds-color-text-inverted, #ffffff);
2162
2162
  font-weight: var(--f-font-weight-medium, 700);
@@ -2175,11 +2175,12 @@ input[type=search]:focus,
2175
2175
 
2176
2176
  .contextmenu {
2177
2177
  min-width: 260px;
2178
- background-color: var(--f-background-popupmenu, #ffffff);
2178
+ background-color: var(--fkds-color-background-primary, #ffffff);
2179
+ color: var(--fkds-color-text-primary, #1b1e23);
2179
2180
  }
2180
2181
  .contextmenu__list {
2181
2182
  margin: 0;
2182
- border: 1px solid var(--f-border-color-popupmenu, #ddddde);
2183
+ border: var(--f-border-width-small, 1px) solid var(--fkds-color-border-primary, #8d8e91);
2183
2184
  padding: 0.5rem;
2184
2185
  display: block;
2185
2186
  list-style-type: none;
@@ -2194,11 +2195,11 @@ input[type=search]:focus,
2194
2195
  .contextmenu__list__item a,
2195
2196
  .contextmenu__list__item a:visited,
2196
2197
  .contextmenu__list__item a:active {
2197
- color: var(--f-text-color-popupmenu, #1b1e23);
2198
+ color: var(--fkds-color-text-primary, #1b1e23);
2198
2199
  }
2199
2200
  .contextmenu__list__item:hover {
2200
- color: var(--f-text-color-popupmenu-hover, #1b1e23);
2201
- background-color: var(--f-background-popupmenu-vertical-hover, #ddddde);
2201
+ color: var(--fkds-color-text-primary, #1b1e23);
2202
+ background-color: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
2202
2203
  }
2203
2204
  @media (min-width: 640px) {
2204
2205
  .contextmenu__list__item {
@@ -2209,7 +2210,7 @@ input[type=search]:focus,
2209
2210
  margin: 0.75rem;
2210
2211
  height: 1px;
2211
2212
  border: none;
2212
- border-top: 1px solid var(--f-border-color-separator-contextmenu, #8d8e91);
2213
+ border-top: var(--f-border-width-small, 1px) solid var(--fkds-color-border-primary, #8d8e91);
2213
2214
  }
2214
2215
  .contextmenu__lefticon {
2215
2216
  margin-right: 0.75rem;
@@ -4267,7 +4268,6 @@ input[type=search]:focus,
4267
4268
  background-color: var(--fkds-color-feedback-background-negative, #fcf3f3);
4268
4269
  border-radius: var(--f-border-radius-small, 2px);
4269
4270
  border-left: 1rem solid var(--fkds-color-feedback-border-negative, #ca1515);
4270
- padding: 1.5rem;
4271
4271
  }
4272
4272
  .offline .offline__icon {
4273
4273
  font-size: 0;
@@ -4296,6 +4296,9 @@ input[type=search]:focus,
4296
4296
  .offline .iflex__item > p {
4297
4297
  margin-bottom: 0;
4298
4298
  }
4299
+ .offline {
4300
+ padding: 1.5rem;
4301
+ }
4299
4302
  .offline__wrapper {
4300
4303
  position: fixed;
4301
4304
  position: sticky;
@@ -4902,16 +4905,6 @@ input[type=search]:focus,
4902
4905
  box-shadow: none;
4903
4906
  color: var(--fkds-color-action-text-primary-default, #4a52b6);
4904
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);
4905
- font-weight: var(--f-font-weight-medium, 700);
4906
- outline-offset: 0.25rem;
4907
- font-size: 14px;
4908
- line-height: 1.25rem;
4909
- min-width: 24px;
4910
- padding: calc(0.375rem * var(--f-density-factor, 1)) 0.25rem;
4911
- text-underline-offset: 3.5px;
4912
- margin: var(--f-button-tertiary-table-column-action-margin, 0 0 0 0.5rem);
4913
- width: -moz-max-content;
4914
- width: max-content;
4915
4908
  }
4916
4909
  .table__button:hover {
4917
4910
  background-color: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
@@ -4932,6 +4925,18 @@ input[type=search]:focus,
4932
4925
  border-color: transparent;
4933
4926
  color: var(--fkds-color-text-disabled, #8d8e91);
4934
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
+ }
4935
4940
  .table__button .button__icon {
4936
4941
  margin: var(--f-button-tertiary-table-column-action-icon-margin, 0 2px 0 2px);
4937
4942
  transform: translate(0, 10%);
@@ -4939,6 +4944,173 @@ input[type=search]:focus,
4939
4944
  width: 14px;
4940
4945
  }
4941
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--striped tbody .table-ng__row:nth-child(even) {
4983
+ background: var(--f-background-grid-striped, #f4f4f4);
4984
+ color: var(--f-text-color-default, #1b1e23);
4985
+ }
4986
+
4987
+ .table-ng__cell {
4988
+ padding: calc(0.25rem * var(--f-density-factor, 1)) 0.5rem;
4989
+ text-wrap: nowrap;
4990
+ border: 2px solid transparent;
4991
+ }
4992
+ .table-ng__cell:focus, .table-ng__cell:focus-within {
4993
+ box-shadow: none;
4994
+ border: 2px solid var(--f-color-focus, #1b1e23);
4995
+ }
4996
+ .table-ng__cell input:focus,
4997
+ .table-ng__cell button:focus,
4998
+ .table-ng__cell a:focus,
4999
+ .table-ng__cell [role=combobox]:focus {
5000
+ box-shadow: none;
5001
+ }
5002
+ .table-ng__cell--select, .table-ng__cell--text {
5003
+ padding: 0 0.25rem;
5004
+ }
5005
+ .table-ng__cell--select:focus-visible .table-ng__editable__icon, .table-ng__cell--text:focus-visible .table-ng__editable__icon {
5006
+ visibility: visible;
5007
+ }
5008
+ .table-ng__cell--text:focus-visible {
5009
+ outline: none !important;
5010
+ box-shadow: none !important;
5011
+ }
5012
+ .table-ng__cell--text.table-ng__cell--error:not(:focus-within) .table-ng__editable__icon {
5013
+ visibility: visible;
5014
+ }
5015
+ .table-ng__cell--text .table-ng__editable {
5016
+ border-width: 2px;
5017
+ border-style: solid;
5018
+ border-color: transparent;
5019
+ }
5020
+ .table-ng__cell--text .table-ng__editable:focus-within .table-ng__editable__text {
5021
+ display: none;
5022
+ }
5023
+ .table-ng__cell--text .table-ng__editable:focus-within .table-ng__textedit {
5024
+ flex: 1 0 auto;
5025
+ }
5026
+ .table-ng__cell--checkbox, .table-ng__cell--radio {
5027
+ text-align: center;
5028
+ padding: calc(0.25rem * var(--f-density-factor, 1));
5029
+ }
5030
+ .table-ng__cell--checkbox input, .table-ng__cell--radio input {
5031
+ height: var(--f-icon-size-medium, 1.25rem);
5032
+ width: var(--f-icon-size-medium, 1.25rem);
5033
+ }
5034
+ .table-ng__cell--button button {
5035
+ background: inherit;
5036
+ border: 0;
5037
+ cursor: pointer;
5038
+ margin: 0;
5039
+ min-width: var(--f-icon-size-medium, 1.25rem);
5040
+ padding: 0;
5041
+ width: 100%;
5042
+ }
5043
+
5044
+ .table-ng__textedit {
5045
+ flex: 0 1 0;
5046
+ width: 0;
5047
+ border: none;
5048
+ padding: 0;
5049
+ background: transparent;
5050
+ }
5051
+ .table-ng__textedit:focus {
5052
+ box-shadow: none !important;
5053
+ outline: none !important;
5054
+ }
5055
+
5056
+ .table-ng__editable {
5057
+ padding: calc(0.25rem * var(--f-density-factor, 1)) 0.5rem;
5058
+ display: flex;
5059
+ align-items: center;
5060
+ }
5061
+ .table-ng__editable:hover:not(:focus-within) .table-ng__editable__icon {
5062
+ visibility: visible;
5063
+ }
5064
+ .table-ng__editable__text {
5065
+ flex: 1 1 auto;
5066
+ }
5067
+ .table-ng__editable__icon {
5068
+ visibility: hidden;
5069
+ margin-left: 1rem;
5070
+ flex: none;
5071
+ }
5072
+
5073
+ .table-ng__cell--select:hover .table-ng__editable, .table-ng__cell--text:hover .table-ng__editable {
5074
+ background: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
5075
+ }
5076
+
5077
+ .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 {
5078
+ color: var(--fkds-color-feedback-text-negative, #ca1515);
5079
+ border-bottom-color: var(--fkds-color-feedback-text-negative, #ca1515);
5080
+ }
5081
+
5082
+ .table-ng__column {
5083
+ padding: calc(0.25rem * var(--f-density-factor, 1)) 0.5rem;
5084
+ border-bottom: 2px solid transparent;
5085
+ border-right: 1px solid transparent;
5086
+ }
5087
+ .table-ng__column:focus, .table-ng__column:focus-within {
5088
+ box-shadow: none;
5089
+ border-bottom: 2px solid var(--f-color-focus, #1b1e23);
5090
+ border-right: 1px solid var(--f-color-focus, #1b1e23);
5091
+ }
5092
+ .table-ng__column--checkbox {
5093
+ text-align: center;
5094
+ padding: calc(0.25rem * var(--f-density-factor, 1));
5095
+ }
5096
+ .table-ng__column--checkbox input {
5097
+ height: var(--f-icon-size-medium, 1.25rem);
5098
+ width: var(--f-icon-size-medium, 1.25rem);
5099
+ }
5100
+ .table-ng__column__sort-icon {
5101
+ color: var(--f-icon-color-table-header, #1b1e23);
5102
+ height: var(--f-icon-size-x-small, 0.75rem);
5103
+ width: var(--f-icon-size-x-small, 0.75rem);
5104
+ min-width: var(--f-icon-size-x-small, 0.75rem);
5105
+ }
5106
+ .table-ng__column__sort-icon--discrete {
5107
+ color: var(--f-icon-color-table-header-discrete, #8d8e91);
5108
+ }
5109
+
5110
+ .pager {
5111
+ border-bottom: 1px solid var(--f-border-color-grid, #8d8e91);
5112
+ }
5113
+
4942
5114
  .text-field {
4943
5115
  display: flex;
4944
5116
  flex-direction: column;
@@ -4946,7 +5118,6 @@ input[type=search]:focus,
4946
5118
  margin: 0 0 calc(var(--f-margin-component-bottom, 1.5rem) * var(--f-density-factor, 1));
4947
5119
  position: relative;
4948
5120
  width: var(--f-width-full, 100%);
4949
- /* stylelint-disable property-no-vendor-prefix */
4950
5121
  }
4951
5122
  @media (min-width: 640px) {
4952
5123
  .text-field--inline {
@@ -5041,6 +5212,9 @@ input[type=search]:focus,
5041
5212
  height: var(--f-icon-size-x-small, 0.75rem);
5042
5213
  width: var(--f-icon-size-x-small, 0.75rem);
5043
5214
  }
5215
+ .text-field {
5216
+ /* stylelint-disable property-no-vendor-prefix */
5217
+ }
5044
5218
  .text-field input[type=search]::-webkit-search-decoration,
5045
5219
  .text-field input[type=search]::-webkit-search-cancel-button,
5046
5220
  .text-field input[type=search]::-webkit-search-results-button,