@fkui/design 6.5.0 → 6.7.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
@@ -1082,6 +1082,14 @@ input[type=search]:focus,
1082
1082
  --f-density-factor: 0.6;
1083
1083
  }
1084
1084
 
1085
+ .formatter--date, .formatter--date-full, .formatter--date-long, .formatter--date-range, .formatter--text {
1086
+ white-space: nowrap;
1087
+ }
1088
+ .formatter--bankgiro, .formatter--number, .formatter--orgnr, .formatter--plusgiro, .formatter--pnr, .formatter--postnummer {
1089
+ white-space: nowrap;
1090
+ font-feature-settings: "tnum";
1091
+ }
1092
+
1085
1093
  .offline .icon, .icon, .offline .icon-stack, .icon-stack,
1086
1094
  .icon--stack {
1087
1095
  display: inline-block;
@@ -2622,8 +2630,8 @@ input[type=search]:focus,
2622
2630
  background: var(--f-background-grid-default, #ffffff);
2623
2631
  }
2624
2632
 
2625
- .radio-button-group--border .radio-button-group__content .radio-button:hover, .checkbox-group--border .checkbox-group__content .checkbox:hover, .list--hover .list__item:focus-within,
2626
- .list--hover .list__item:hover, .list__item--hover {
2633
+ .radio-button-group--border .radio-button-group__content .radio-button:not(.disabled):hover, .checkbox-group--border .checkbox-group__content .checkbox:not(.disabled):hover, .list--hover .list__item:not(.disabled):focus-within,
2634
+ .list--hover .list__item:not(.disabled):hover, .list__item--hover:not(.disabled) {
2627
2635
  background: var(--f-background-grid-hover, #f5f6fa);
2628
2636
  }
2629
2637
 
@@ -5404,27 +5412,14 @@ input[type=search]:focus,
5404
5412
  .table tbody .table__column--placeholder + .table__column {
5405
5413
  padding-left: 1.5rem;
5406
5414
  }
5407
- .table tbody .table__column--action .button--discrete {
5408
- border-radius: var(--f-button-discrete-table-column-action-border-radius, 4px);
5409
- margin: var(--f-button-discrete-table-column-action-margin, 0);
5410
- /* stylelint-disable declaration-block-no-redundant-longhand-properties -- readability */
5411
- padding-top: calc(var(--f-button-discrete-table-column-action-padding-top, 0.571rem) * var(--f-density-factor, 1));
5412
- padding-right: var(--f-button-discrete-table-column-action-padding-right, 0.571rem);
5413
- padding-bottom: calc(var(--f-button-discrete-table-column-action-padding-bottom, 0.571rem) * var(--f-density-factor, 1));
5414
- padding-left: var(--f-button-discrete-table-column-action-padding-left, 0.571rem);
5415
- /* stylelint-enable declaration-block-no-redundant-longhand-properties */
5416
- min-width: 24px;
5417
- width: -moz-max-content;
5418
- width: max-content;
5419
- }
5420
- .table tbody .table__column--action .button--tertiary {
5415
+ .table tbody .table__column--action .button--discrete, .table tbody .table__column--action .button--tertiary {
5421
5416
  margin: var(--f-button-tertiary-table-column-action-margin, 0 0 0 0.5rem);
5422
5417
  min-width: 24px;
5423
5418
  width: -moz-max-content;
5424
5419
  width: max-content;
5425
5420
  }
5426
5421
  .table tbody .table__column--action .button--discrete .button__icon, .table tbody .table__column--action .button--tertiary .button__icon {
5427
- margin: var(--f-button-discrete-table-column-action-icon-margin, 0 2px 0 2px);
5422
+ margin: var(--f-button-tertiary-table-column-action-icon-margin, 0 2px 0 2px);
5428
5423
  transform: translate(0, 10%);
5429
5424
  }
5430
5425
  .table__column--text {
@@ -5458,6 +5453,7 @@ input[type=search]:focus,
5458
5453
  }
5459
5454
  .table__scroll {
5460
5455
  margin: 0 0 calc(var(--f-margin-component-bottom, 1.5rem) * var(--f-density-factor, 1));
5456
+ overflow: hidden;
5461
5457
  }
5462
5458
  .table__scroll thead th,
5463
5459
  .table__scroll thead td,
@@ -5471,9 +5467,6 @@ input[type=search]:focus,
5471
5467
  .table__scroll--horizontal {
5472
5468
  overflow-x: auto;
5473
5469
  }
5474
- .table__scroll--vertical {
5475
- overflow-y: auto;
5476
- }
5477
5470
  .table__input {
5478
5471
  margin-top: calc(0.25rem * var(--f-density-factor, 1));
5479
5472
  }
@@ -5504,6 +5497,74 @@ input[type=search]:focus,
5504
5497
  justify-content: center;
5505
5498
  }
5506
5499
 
5500
+ .table__anchor {
5501
+ cursor: pointer;
5502
+ display: inline-flex;
5503
+ gap: 0.25rem;
5504
+ }
5505
+ .table__anchor > svg.icon {
5506
+ flex-shrink: 0;
5507
+ align-self: center;
5508
+ min-width: auto;
5509
+ max-width: none;
5510
+ }
5511
+
5512
+ .table__button {
5513
+ background-color: transparent;
5514
+ border-color: transparent;
5515
+ border-width: 0;
5516
+ box-shadow: none;
5517
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5518
+ 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);
5519
+ font-weight: var(--f-font-weight-medium, 700);
5520
+ outline-offset: 0.25rem;
5521
+ font-size: 14px;
5522
+ line-height: 1.25rem;
5523
+ min-width: 24px;
5524
+ padding: densify(0.375rem) 0.25rem;
5525
+ text-underline-offset: 3.5px;
5526
+ margin: var(--f-button-tertiary-table-column-action-margin, 0 0 0 0.5rem);
5527
+ width: -moz-max-content;
5528
+ width: max-content;
5529
+ }
5530
+ .table__button > .button__icon {
5531
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5532
+ }
5533
+ .table__button:hover {
5534
+ background-color: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
5535
+ border-color: transparent;
5536
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5537
+ box-shadow: none;
5538
+ }
5539
+ .table__button:hover > .button__icon {
5540
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5541
+ }
5542
+ .table__button:active, .table__button:focus {
5543
+ border-radius: 0;
5544
+ box-shadow: var(--f-focus-box-shadow, 0 0 0 2px #ffffff, 0 0 0 4px #1b1e23, 0 0 0 6px #ffffff);
5545
+ outline: 2px solid transparent;
5546
+ background-color: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
5547
+ border-color: transparent;
5548
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5549
+ }
5550
+ .table__button:active > .button__icon, .table__button:focus > .button__icon {
5551
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5552
+ }
5553
+ .table__button.disabled, .table__button.disabled:hover, .table__button:disabled, .table__button:disabled:hover, .table__button.table__button--disabled, .table__button.table__button--disabled:hover {
5554
+ background-color: transparent;
5555
+ border-color: transparent;
5556
+ color: var(--fkds-color-text-disabled, #8d8e91);
5557
+ }
5558
+ .table__button.disabled > .button__icon, .table__button.disabled:hover > .button__icon, .table__button:disabled > .button__icon, .table__button:disabled:hover > .button__icon, .table__button.table__button--disabled > .button__icon, .table__button.table__button--disabled:hover > .button__icon {
5559
+ color: var(--fkds-color-text-disabled, #8d8e91);
5560
+ }
5561
+ .table__button .button__icon {
5562
+ margin: var(--f-button-tertiary-table-column-action-icon-margin, 0 2px 0 2px);
5563
+ transform: translate(0, 10%);
5564
+ height: 14px;
5565
+ width: 14px;
5566
+ }
5567
+
5507
5568
  .text-field {
5508
5569
  display: flex;
5509
5570
  flex-direction: column;
@@ -5782,256 +5843,143 @@ input[type=search]:focus,
5782
5843
  /* Selectors */
5783
5844
  /* position adjustments for lines */
5784
5845
  /* change line-gap-to-circle variable to change distances */
5785
- .wizard-step .wizard-step__header__title {
5786
- font-size: 1.125rem;
5787
- margin-top: 0;
5788
- margin-bottom: 0;
5846
+ .wizard-step {
5847
+ display: grid;
5848
+ grid-template: "wizard-step__line-up wizard-step__step-of" min-content "wizard-step__icon-container wizard-step__header" min-content "wizard-step__content wizard-step__content" min-content/min-content 1fr;
5849
+ gap: 0 0.5rem;
5789
5850
  }
5790
- .wizard-step .wizard-step__header__title-container {
5791
- height: 30px;
5851
+ .wizard-step:first-of-type .wizard-step__line-up {
5852
+ border: 0;
5792
5853
  }
5793
- .wizard-step .wizard-step__header__line-adjustment {
5794
- height: calc(13px + 4px);
5854
+ .wizard-step:last-of-type .wizard-step__line-down,
5855
+ .wizard-step:last-of-type .wizard-step__icon-container__line-down {
5856
+ border: 0;
5795
5857
  }
5796
- .wizard-step .wizard-step__header {
5797
- margin-left: -10px;
5858
+ .wizard-step .wizard-step__header__title {
5859
+ font-size: 1.125rem;
5860
+ margin-top: 2px;
5861
+ margin-bottom: 20px;
5798
5862
  }
5799
- .wizard-step .wizard-step__header .icon-stack {
5800
- display: block;
5863
+ .wizard-step .wizard-step__icon-container {
5864
+ grid-area: wizard-step__icon-container;
5865
+ display: flex;
5866
+ flex-direction: column;
5867
+ }
5868
+ .wizard-step .wizard-step__icon-container__circle {
5801
5869
  width: 30px;
5802
5870
  height: 30px;
5803
- margin-right: 8px;
5804
- }
5805
- .wizard-step .wizard-step__header .icon-stack div {
5806
- width: 100%;
5807
- text-align: center;
5808
- font-size: 20px;
5809
- position: absolute;
5871
+ border-radius: 50%;
5872
+ border: 2px solid var(--fkds-color-border-strong, #5f6165);
5873
+ display: flex;
5874
+ justify-content: center;
5875
+ align-items: center;
5876
+ font-size: 1.25rem;
5810
5877
  font-weight: bold;
5878
+ text-align: center;
5879
+ transition: background-color 400ms ease-out, border-color 400ms ease-out, opacity 400ms ease-out;
5811
5880
  }
5812
- .wizard-step .wizard-step__header .icon.f-icon-circle {
5813
- width: 30px;
5814
- height: 30px;
5815
- transition: color 400ms ease-out, fill 400ms ease-out, opacity 400ms ease-out;
5881
+ @media (max-width: 639.98px) {
5882
+ .wizard-step .wizard-step-body__border-container {
5883
+ display: none;
5884
+ }
5816
5885
  }
5817
- .wizard-step .wizard-step__header .icon.f-icon-success {
5886
+ .wizard-step .wizard-step-body__border-container .wizard-step__line-down {
5887
+ margin-top: 0;
5888
+ }
5889
+ .wizard-step .icon.f-icon-success {
5818
5890
  display: none;
5819
5891
  }
5820
- .wizard-step .wizard-step__header__step-of {
5892
+ .wizard-step .wizard-step__header {
5893
+ grid-area: wizard-step__header;
5894
+ }
5895
+ .wizard-step .wizard-step__step-of {
5821
5896
  color: var(--fkds-color-text-secondary, #5f6165);
5822
5897
  font-weight: normal;
5823
5898
  font-size: 1rem;
5824
5899
  }
5825
- .wizard-step .wizard-step__header__line-down {
5826
- position: relative;
5827
- margin-bottom: 4px;
5900
+ .wizard-step .wizard-step__line-down,
5901
+ .wizard-step .wizard-step__icon-container__line-down,
5902
+ .wizard-step .wizard-step__line-up {
5903
+ border-left: 2px solid var(--fkds-color-border-strong, #5f6165);
5828
5904
  margin-left: 14px;
5829
- height: 13px;
5830
- margin-top: 4px;
5831
- width: 2px;
5832
- background-color: var(--fkds-color-border-strong, #5f6165);
5833
5905
  }
5834
- .wizard-step .wizard-step__header__line-up {
5835
- margin-left: 14px;
5836
- height: 20px;
5837
- width: 2px;
5906
+ .wizard-step .wizard-step__icon-container__line-down {
5838
5907
  margin-top: 4px;
5908
+ }
5909
+ .wizard-step .wizard-step__line-down {
5910
+ grid-area: wizard-step__line-down;
5911
+ }
5912
+ .wizard-step .wizard-step__content {
5913
+ margin-left: 0.5rem;
5914
+ grid-area: wizard-step__content;
5915
+ }
5916
+ .wizard-step .wizard-step__line-up {
5839
5917
  margin-bottom: 4px;
5840
- background-color: var(--fkds-color-border-strong, #5f6165);
5918
+ grid-area: wizard-step__line-up;
5841
5919
  }
5842
- @media (forced-colors: active) {
5843
- .wizard-step .wizard-step__header__line-up, .wizard-step .wizard-step__header__line-down {
5844
- background-color: CanvasText;
5845
- }
5920
+ .wizard-step--open + .wizard-step--pending .wizard-step__line-up {
5921
+ padding-top: 20px;
5922
+ margin-top: -0.5rem;
5846
5923
  }
5847
- @media (min-width: 640px) {
5848
- .wizard-step .wizard-step__header__line-up {
5849
- margin-bottom: 4px;
5850
- }
5924
+ .wizard-step .wizard-step__icon-container__line-down {
5925
+ flex: 1;
5851
5926
  }
5852
5927
  @media (min-width: 640px) {
5853
- .wizard-step__connector {
5854
- border-left: 2px solid var(--fkds-color-border-strong, #5f6165);
5855
- padding-left: 22px;
5856
- margin-top: -3px;
5857
- margin-left: 4px;
5858
- margin-bottom: -8px;
5859
- padding-top: 1px;
5928
+ .wizard-step {
5929
+ grid-template: "wizard-step__line-up wizard-step__step-of" min-content "wizard-step__icon-container wizard-step__header" min-content "wizard-step__line-down wizard-step__content" min-content/min-content 1fr;
5930
+ }
5931
+ .wizard-step--open + .wizard-step--pending .wizard-step__line-up {
5932
+ margin-top: 0;
5933
+ padding-top: 0;
5934
+ }
5935
+ .wizard-step .wizard-step__content {
5936
+ margin-left: 0;
5860
5937
  }
5861
5938
  }
5862
- .wizard-step--open .wizard-step__header .wizard-step__header__title {
5939
+ .wizard-step--open .wizard-step__header__title {
5863
5940
  color: var(--fkds-color-text-primary, #1b1e23);
5864
5941
  }
5865
- .wizard-step--open .wizard-step__header .icon.f-icon-circle {
5866
- fill: var(--fkds-color-border-strong, #5f6165);
5867
- color: var(--fkds-color-background-primary, #ffffff);
5868
- }
5869
- .wizard-step--open .wizard-step__header .icon-stack div {
5870
- color: var(--f-icon-color-black, #1b1e23);
5871
- }
5872
- .wizard-step--open .wizard-step__header .wizard-step__header__step-of {
5942
+ .wizard-step--open .wizard-step__step-of {
5873
5943
  display: block;
5874
5944
  }
5875
- .wizard-step--open .wizard-step__header .iflex--grow {
5876
- padding-top: 12px;
5877
- }
5878
- .wizard-step--open .wizard-step__header .wizard-step__header__line-up {
5879
- height: 35px;
5880
- }
5881
- .wizard-step--open .wizard-step__header .wizard-step__header__line-down {
5882
- margin-bottom: 0;
5883
- }
5884
- @media (forced-colors: active) {
5885
- .wizard-step--open .wizard-step__header .icon.f-icon-circle {
5886
- fill: CanvasText;
5887
- color: Canvas;
5888
- }
5889
- }
5890
- .wizard-step--done .wizard-step__header {
5891
- margin-top: 4px;
5892
- }
5893
- .wizard-step--done .wizard-step__header .wizard-step__header__title {
5945
+ .wizard-step--done .wizard-step__header__title .anchor {
5894
5946
  color: var(--fkds-color-feedback-text-positive, #35805b);
5895
5947
  text-decoration-color: var(--fkds-color-feedback-text-positive, #35805b);
5896
5948
  text-decoration-thickness: 2px;
5897
5949
  text-underline-offset: 0.25em;
5898
5950
  }
5899
- .wizard-step--done .wizard-step__header .wizard-step__header__title:hover {
5951
+ .wizard-step--done .wizard-step__header__title .anchor:hover {
5900
5952
  text-decoration-color: var(--fkds-color-feedback-text-positive, #35805b);
5901
5953
  text-decoration-thickness: 3px;
5902
5954
  text-underline-offset: 0.25em;
5903
5955
  }
5904
- .wizard-step--done .wizard-step__header .wizard-step__header__line-up {
5905
- display: none;
5906
- }
5907
- .wizard-step--done .wizard-step__header .wizard-step__header__line-down {
5908
- margin-bottom: 0;
5909
- }
5910
- .wizard-step--done .wizard-step__header .icon.f-icon-circle {
5911
- fill: var(--fkds-color-feedback-border-positive, #35805b);
5912
- color: var(--fkds-color-feedback-background-positive-strong, #35805b);
5913
- }
5914
- .wizard-step--done .wizard-step__header .icon-stack div {
5915
- display: none;
5916
- }
5917
- .wizard-step--done .wizard-step__header .icon.f-icon-success {
5956
+ .wizard-step--done .icon.f-icon-success {
5918
5957
  display: block;
5919
5958
  color: var(--fkds-icon-color-content-inverted, #ffffff);
5920
5959
  width: 20px;
5921
- height: 20px;
5922
- left: 5px;
5923
- top: 5px;
5960
+ height: auto;
5924
5961
  }
5925
- .wizard-step--done .wizard-step__header .wizard-step__header__line-adjustment {
5926
- height: calc(13px + 4px);
5962
+ .wizard-step--done .wizard-step__icon-container__circle {
5963
+ background-color: var(--f-icon-color-wizard-step-done, #35805b);
5964
+ border-color: var(--f-icon-color-wizard-step-done, #35805b);
5927
5965
  }
5928
- @media (forced-colors: active) {
5929
- .wizard-step--done .wizard-step__header .icon.f-icon-circle {
5930
- fill: CanvasText;
5931
- color: Canvas;
5932
- }
5933
- .wizard-step--done .wizard-step__header .icon.f-icon-success {
5934
- color: CanvasText;
5935
- }
5966
+ .wizard-step--done .wizard-step__icon-container__number {
5967
+ display: none;
5936
5968
  }
5937
- .wizard-step--pending .wizard-step__header .wizard-step__header__title {
5969
+ .wizard-step--pending .wizard-step__header__title {
5938
5970
  color: var(--f-text-color-discrete, #5f6165);
5939
5971
  }
5940
- .wizard-step--pending .wizard-step__header .icon-stack div {
5972
+ .wizard-step--pending .wizard-step__icon-container__circle {
5973
+ border: 2px solid var(--fkds-color-border-strong, #5f6165);
5974
+ background-color: var(--fkds-color-background-disabled, #f4f4f4);
5941
5975
  color: var(--f-icon-color-discrete, #5f6165);
5942
5976
  }
5943
- .wizard-step--pending .wizard-step__header .icon.f-icon-circle {
5944
- fill: var(--fkds-color-border-strong, #5f6165);
5945
- color: var(--fkds-color-background-disabled, #f4f4f4);
5946
- }
5947
- .wizard-step--pending .wizard-step__header .iflex--grow {
5948
- padding-top: 0;
5949
- }
5950
- .wizard-step--pending .wizard-step__header .wizard-step__header__line-adjustment {
5951
- height: calc(13px + 4px * 2);
5952
- }
5953
5977
  @media (forced-colors: active) {
5954
- .wizard-step--pending .wizard-step__header .icon.f-icon-circle {
5955
- fill: CanvasText;
5956
- color: Canvas;
5957
- }
5958
- }
5959
-
5960
- .wizard-step--pending + .wizard-step .wizard-step__header__line-up {
5961
- display: none;
5962
- }
5963
- .wizard-step--pending + .wizard-step .iflex--grow {
5964
- padding-top: 0;
5965
- }
5966
-
5967
- .wizard-step--open:first-child .wizard-step__header__line-up {
5968
- visibility: hidden;
5969
- height: 1.25rem;
5970
- }
5971
- .wizard-step--open:first-child .iflex--grow {
5972
- padding-top: 0;
5973
- }
5974
-
5975
- .wizard-step--done:first-child .wizard-step__header__line-up,
5976
- .wizard-step--pending:first-child .wizard-step__header__line-up {
5977
- display: none;
5978
- margin-top: 0;
5979
- }
5980
-
5981
- @media (min-width: 640px) {
5982
- .wizard-step--done .wizard-step__connector {
5983
- margin-top: 0;
5984
- margin-bottom: 0;
5985
- }
5986
- }
5987
-
5988
- @media (min-width: 640px) {
5989
- .wizard-step--pending .wizard-step__connector {
5990
- margin-top: -4px;
5991
- margin-bottom: 4px;
5992
- }
5993
- }
5994
-
5995
- @media (min-width: 640px) {
5996
- .wizard-step--done:last-child .wizard-step__connector,
5997
- .wizard-step--pending:last-child .wizard-step__connector {
5998
- border-left: none;
5999
- }
6000
- }
6001
-
6002
- @media (min-width: 640px) {
6003
- .wizard-step--done:last-child .wizard-step__connector {
6004
- border-left: none;
6005
- }
6006
- }
6007
-
6008
- .wizard-step:last-child .wizard-step__header__line-down {
6009
- display: none;
6010
- }
6011
- .wizard-step:last-child.wizard-step--open .wizard-step__connector {
6012
- margin-top: 1rem;
6013
- }
6014
- .wizard-step:last-child .wizard-step__header__line-adjustment {
6015
- display: none;
6016
- }
6017
- @media (min-width: 640px) {
6018
- .wizard-step:last-child .wizard-step__connector {
6019
- border-left: none;
5978
+ .wizard-step .icon.f-icon-success {
5979
+ color: CanvasText;
6020
5980
  }
6021
5981
  }
6022
5982
 
6023
- .wizard-step--open .wizard-step__header__line-up,
6024
- .wizard-step--pending .wizard-step__header__line-up {
6025
- margin-top: -7px;
6026
- }
6027
-
6028
- .wizard-step--done + .wizard-step--pending {
6029
- margin-top: 4px;
6030
- }
6031
- .wizard-step--done + .wizard-step--pending .wizard-step__header__line-up {
6032
- display: none;
6033
- }
6034
-
6035
5983
  /* stylelint-disable no-invalid-position-at-import-rule -- technical debt */
6036
5984
  .iflex {
6037
5985
  display: flex;