@fkui/design 6.6.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
@@ -2630,8 +2630,8 @@ input[type=search]:focus,
2630
2630
  background: var(--f-background-grid-default, #ffffff);
2631
2631
  }
2632
2632
 
2633
- .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,
2634
- .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) {
2635
2635
  background: var(--f-background-grid-hover, #f5f6fa);
2636
2636
  }
2637
2637
 
@@ -5412,27 +5412,14 @@ input[type=search]:focus,
5412
5412
  .table tbody .table__column--placeholder + .table__column {
5413
5413
  padding-left: 1.5rem;
5414
5414
  }
5415
- .table tbody .table__column--action .button--discrete {
5416
- border-radius: var(--f-button-discrete-table-column-action-border-radius, 4px);
5417
- margin: var(--f-button-discrete-table-column-action-margin, 0);
5418
- /* stylelint-disable declaration-block-no-redundant-longhand-properties -- readability */
5419
- padding-top: calc(var(--f-button-discrete-table-column-action-padding-top, 0.571rem) * var(--f-density-factor, 1));
5420
- padding-right: var(--f-button-discrete-table-column-action-padding-right, 0.571rem);
5421
- padding-bottom: calc(var(--f-button-discrete-table-column-action-padding-bottom, 0.571rem) * var(--f-density-factor, 1));
5422
- padding-left: var(--f-button-discrete-table-column-action-padding-left, 0.571rem);
5423
- /* stylelint-enable declaration-block-no-redundant-longhand-properties */
5424
- min-width: 24px;
5425
- width: -moz-max-content;
5426
- width: max-content;
5427
- }
5428
- .table tbody .table__column--action .button--tertiary {
5415
+ .table tbody .table__column--action .button--discrete, .table tbody .table__column--action .button--tertiary {
5429
5416
  margin: var(--f-button-tertiary-table-column-action-margin, 0 0 0 0.5rem);
5430
5417
  min-width: 24px;
5431
5418
  width: -moz-max-content;
5432
5419
  width: max-content;
5433
5420
  }
5434
5421
  .table tbody .table__column--action .button--discrete .button__icon, .table tbody .table__column--action .button--tertiary .button__icon {
5435
- 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);
5436
5423
  transform: translate(0, 10%);
5437
5424
  }
5438
5425
  .table__column--text {
@@ -5466,6 +5453,7 @@ input[type=search]:focus,
5466
5453
  }
5467
5454
  .table__scroll {
5468
5455
  margin: 0 0 calc(var(--f-margin-component-bottom, 1.5rem) * var(--f-density-factor, 1));
5456
+ overflow: hidden;
5469
5457
  }
5470
5458
  .table__scroll thead th,
5471
5459
  .table__scroll thead td,
@@ -5479,9 +5467,6 @@ input[type=search]:focus,
5479
5467
  .table__scroll--horizontal {
5480
5468
  overflow-x: auto;
5481
5469
  }
5482
- .table__scroll--vertical {
5483
- overflow-y: auto;
5484
- }
5485
5470
  .table__input {
5486
5471
  margin-top: calc(0.25rem * var(--f-density-factor, 1));
5487
5472
  }
@@ -5512,6 +5497,74 @@ input[type=search]:focus,
5512
5497
  justify-content: center;
5513
5498
  }
5514
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
+
5515
5568
  .text-field {
5516
5569
  display: flex;
5517
5570
  flex-direction: column;
@@ -5790,256 +5843,143 @@ input[type=search]:focus,
5790
5843
  /* Selectors */
5791
5844
  /* position adjustments for lines */
5792
5845
  /* change line-gap-to-circle variable to change distances */
5793
- .wizard-step .wizard-step__header__title {
5794
- font-size: 1.125rem;
5795
- margin-top: 0;
5796
- 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;
5797
5850
  }
5798
- .wizard-step .wizard-step__header__title-container {
5799
- height: 30px;
5851
+ .wizard-step:first-of-type .wizard-step__line-up {
5852
+ border: 0;
5800
5853
  }
5801
- .wizard-step .wizard-step__header__line-adjustment {
5802
- 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;
5803
5857
  }
5804
- .wizard-step .wizard-step__header {
5805
- margin-left: -10px;
5858
+ .wizard-step .wizard-step__header__title {
5859
+ font-size: 1.125rem;
5860
+ margin-top: 2px;
5861
+ margin-bottom: 20px;
5806
5862
  }
5807
- .wizard-step .wizard-step__header .icon-stack {
5808
- 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 {
5809
5869
  width: 30px;
5810
5870
  height: 30px;
5811
- margin-right: 8px;
5812
- }
5813
- .wizard-step .wizard-step__header .icon-stack div {
5814
- width: 100%;
5815
- text-align: center;
5816
- font-size: 20px;
5817
- 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;
5818
5877
  font-weight: bold;
5878
+ text-align: center;
5879
+ transition: background-color 400ms ease-out, border-color 400ms ease-out, opacity 400ms ease-out;
5819
5880
  }
5820
- .wizard-step .wizard-step__header .icon.f-icon-circle {
5821
- width: 30px;
5822
- height: 30px;
5823
- 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
+ }
5824
5885
  }
5825
- .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 {
5826
5890
  display: none;
5827
5891
  }
5828
- .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 {
5829
5896
  color: var(--fkds-color-text-secondary, #5f6165);
5830
5897
  font-weight: normal;
5831
5898
  font-size: 1rem;
5832
5899
  }
5833
- .wizard-step .wizard-step__header__line-down {
5834
- position: relative;
5835
- 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);
5836
5904
  margin-left: 14px;
5837
- height: 13px;
5838
- margin-top: 4px;
5839
- width: 2px;
5840
- background-color: var(--fkds-color-border-strong, #5f6165);
5841
5905
  }
5842
- .wizard-step .wizard-step__header__line-up {
5843
- margin-left: 14px;
5844
- height: 20px;
5845
- width: 2px;
5906
+ .wizard-step .wizard-step__icon-container__line-down {
5846
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 {
5847
5917
  margin-bottom: 4px;
5848
- background-color: var(--fkds-color-border-strong, #5f6165);
5918
+ grid-area: wizard-step__line-up;
5849
5919
  }
5850
- @media (forced-colors: active) {
5851
- .wizard-step .wizard-step__header__line-up, .wizard-step .wizard-step__header__line-down {
5852
- background-color: CanvasText;
5853
- }
5920
+ .wizard-step--open + .wizard-step--pending .wizard-step__line-up {
5921
+ padding-top: 20px;
5922
+ margin-top: -0.5rem;
5854
5923
  }
5855
- @media (min-width: 640px) {
5856
- .wizard-step .wizard-step__header__line-up {
5857
- margin-bottom: 4px;
5858
- }
5924
+ .wizard-step .wizard-step__icon-container__line-down {
5925
+ flex: 1;
5859
5926
  }
5860
5927
  @media (min-width: 640px) {
5861
- .wizard-step__connector {
5862
- border-left: 2px solid var(--fkds-color-border-strong, #5f6165);
5863
- padding-left: 22px;
5864
- margin-top: -3px;
5865
- margin-left: 4px;
5866
- margin-bottom: -8px;
5867
- 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;
5868
5937
  }
5869
5938
  }
5870
- .wizard-step--open .wizard-step__header .wizard-step__header__title {
5939
+ .wizard-step--open .wizard-step__header__title {
5871
5940
  color: var(--fkds-color-text-primary, #1b1e23);
5872
5941
  }
5873
- .wizard-step--open .wizard-step__header .icon.f-icon-circle {
5874
- fill: var(--fkds-color-border-strong, #5f6165);
5875
- color: var(--fkds-color-background-primary, #ffffff);
5876
- }
5877
- .wizard-step--open .wizard-step__header .icon-stack div {
5878
- color: var(--f-icon-color-black, #1b1e23);
5879
- }
5880
- .wizard-step--open .wizard-step__header .wizard-step__header__step-of {
5942
+ .wizard-step--open .wizard-step__step-of {
5881
5943
  display: block;
5882
5944
  }
5883
- .wizard-step--open .wizard-step__header .iflex--grow {
5884
- padding-top: 12px;
5885
- }
5886
- .wizard-step--open .wizard-step__header .wizard-step__header__line-up {
5887
- height: 35px;
5888
- }
5889
- .wizard-step--open .wizard-step__header .wizard-step__header__line-down {
5890
- margin-bottom: 0;
5891
- }
5892
- @media (forced-colors: active) {
5893
- .wizard-step--open .wizard-step__header .icon.f-icon-circle {
5894
- fill: CanvasText;
5895
- color: Canvas;
5896
- }
5897
- }
5898
- .wizard-step--done .wizard-step__header {
5899
- margin-top: 4px;
5900
- }
5901
- .wizard-step--done .wizard-step__header .wizard-step__header__title .anchor {
5945
+ .wizard-step--done .wizard-step__header__title .anchor {
5902
5946
  color: var(--fkds-color-feedback-text-positive, #35805b);
5903
5947
  text-decoration-color: var(--fkds-color-feedback-text-positive, #35805b);
5904
5948
  text-decoration-thickness: 2px;
5905
5949
  text-underline-offset: 0.25em;
5906
5950
  }
5907
- .wizard-step--done .wizard-step__header .wizard-step__header__title .anchor:hover {
5951
+ .wizard-step--done .wizard-step__header__title .anchor:hover {
5908
5952
  text-decoration-color: var(--fkds-color-feedback-text-positive, #35805b);
5909
5953
  text-decoration-thickness: 3px;
5910
5954
  text-underline-offset: 0.25em;
5911
5955
  }
5912
- .wizard-step--done .wizard-step__header .wizard-step__header__line-up {
5913
- display: none;
5914
- }
5915
- .wizard-step--done .wizard-step__header .wizard-step__header__line-down {
5916
- margin-bottom: 0;
5917
- }
5918
- .wizard-step--done .wizard-step__header .icon.f-icon-circle {
5919
- fill: var(--fkds-color-feedback-border-positive, #35805b);
5920
- color: var(--fkds-color-feedback-background-positive-strong, #35805b);
5921
- }
5922
- .wizard-step--done .wizard-step__header .icon-stack div {
5923
- display: none;
5924
- }
5925
- .wizard-step--done .wizard-step__header .icon.f-icon-success {
5956
+ .wizard-step--done .icon.f-icon-success {
5926
5957
  display: block;
5927
5958
  color: var(--fkds-icon-color-content-inverted, #ffffff);
5928
5959
  width: 20px;
5929
- height: 20px;
5930
- left: 5px;
5931
- top: 5px;
5960
+ height: auto;
5932
5961
  }
5933
- .wizard-step--done .wizard-step__header .wizard-step__header__line-adjustment {
5934
- 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);
5935
5965
  }
5936
- @media (forced-colors: active) {
5937
- .wizard-step--done .wizard-step__header .icon.f-icon-circle {
5938
- fill: CanvasText;
5939
- color: Canvas;
5940
- }
5941
- .wizard-step--done .wizard-step__header .icon.f-icon-success {
5942
- color: CanvasText;
5943
- }
5966
+ .wizard-step--done .wizard-step__icon-container__number {
5967
+ display: none;
5944
5968
  }
5945
- .wizard-step--pending .wizard-step__header .wizard-step__header__title {
5969
+ .wizard-step--pending .wizard-step__header__title {
5946
5970
  color: var(--f-text-color-discrete, #5f6165);
5947
5971
  }
5948
- .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);
5949
5975
  color: var(--f-icon-color-discrete, #5f6165);
5950
5976
  }
5951
- .wizard-step--pending .wizard-step__header .icon.f-icon-circle {
5952
- fill: var(--fkds-color-border-strong, #5f6165);
5953
- color: var(--fkds-color-background-disabled, #f4f4f4);
5954
- }
5955
- .wizard-step--pending .wizard-step__header .iflex--grow {
5956
- padding-top: 0;
5957
- }
5958
- .wizard-step--pending .wizard-step__header .wizard-step__header__line-adjustment {
5959
- height: calc(13px + 4px * 2);
5960
- }
5961
5977
  @media (forced-colors: active) {
5962
- .wizard-step--pending .wizard-step__header .icon.f-icon-circle {
5963
- fill: CanvasText;
5964
- color: Canvas;
5965
- }
5966
- }
5967
-
5968
- .wizard-step--pending + .wizard-step .wizard-step__header__line-up {
5969
- display: none;
5970
- }
5971
- .wizard-step--pending + .wizard-step .iflex--grow {
5972
- padding-top: 0;
5973
- }
5974
-
5975
- .wizard-step--open:first-child .wizard-step__header__line-up {
5976
- visibility: hidden;
5977
- height: 1.25rem;
5978
- }
5979
- .wizard-step--open:first-child .iflex--grow {
5980
- padding-top: 0;
5981
- }
5982
-
5983
- .wizard-step--done:first-child .wizard-step__header__line-up,
5984
- .wizard-step--pending:first-child .wizard-step__header__line-up {
5985
- display: none;
5986
- margin-top: 0;
5987
- }
5988
-
5989
- @media (min-width: 640px) {
5990
- .wizard-step--done .wizard-step__connector {
5991
- margin-top: 0;
5992
- margin-bottom: 0;
5993
- }
5994
- }
5995
-
5996
- @media (min-width: 640px) {
5997
- .wizard-step--pending .wizard-step__connector {
5998
- margin-top: -4px;
5999
- margin-bottom: 4px;
6000
- }
6001
- }
6002
-
6003
- @media (min-width: 640px) {
6004
- .wizard-step--done:last-child .wizard-step__connector,
6005
- .wizard-step--pending:last-child .wizard-step__connector {
6006
- border-left: none;
6007
- }
6008
- }
6009
-
6010
- @media (min-width: 640px) {
6011
- .wizard-step--done:last-child .wizard-step__connector {
6012
- border-left: none;
6013
- }
6014
- }
6015
-
6016
- .wizard-step:last-child .wizard-step__header__line-down {
6017
- display: none;
6018
- }
6019
- .wizard-step:last-child.wizard-step--open .wizard-step__connector {
6020
- margin-top: 1rem;
6021
- }
6022
- .wizard-step:last-child .wizard-step__header__line-adjustment {
6023
- display: none;
6024
- }
6025
- @media (min-width: 640px) {
6026
- .wizard-step:last-child .wizard-step__connector {
6027
- border-left: none;
5978
+ .wizard-step .icon.f-icon-success {
5979
+ color: CanvasText;
6028
5980
  }
6029
5981
  }
6030
5982
 
6031
- .wizard-step--open .wizard-step__header__line-up,
6032
- .wizard-step--pending .wizard-step__header__line-up {
6033
- margin-top: -7px;
6034
- }
6035
-
6036
- .wizard-step--done + .wizard-step--pending {
6037
- margin-top: 4px;
6038
- }
6039
- .wizard-step--done + .wizard-step--pending .wizard-step__header__line-up {
6040
- display: none;
6041
- }
6042
-
6043
5983
  /* stylelint-disable no-invalid-position-at-import-rule -- technical debt */
6044
5984
  .iflex {
6045
5985
  display: flex;