@fkui/design 6.6.0 → 6.7.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 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
 
@@ -3276,6 +3276,7 @@ input[type=search]:focus,
3276
3276
  .fieldset {
3277
3277
  border: 0;
3278
3278
  margin: 0 0 calc(var(--f-margin-component-bottom, 1.5rem) * var(--f-density-factor, 1));
3279
+ min-width: 0;
3279
3280
  padding: 0;
3280
3281
  width: var(--f-width-full, 100%);
3281
3282
  }
@@ -5412,27 +5413,14 @@ input[type=search]:focus,
5412
5413
  .table tbody .table__column--placeholder + .table__column {
5413
5414
  padding-left: 1.5rem;
5414
5415
  }
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 {
5416
+ .table tbody .table__column--action .button--discrete, .table tbody .table__column--action .button--tertiary {
5429
5417
  margin: var(--f-button-tertiary-table-column-action-margin, 0 0 0 0.5rem);
5430
5418
  min-width: 24px;
5431
5419
  width: -moz-max-content;
5432
5420
  width: max-content;
5433
5421
  }
5434
5422
  .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);
5423
+ margin: var(--f-button-tertiary-table-column-action-icon-margin, 0 2px 0 2px);
5436
5424
  transform: translate(0, 10%);
5437
5425
  }
5438
5426
  .table__column--text {
@@ -5466,6 +5454,7 @@ input[type=search]:focus,
5466
5454
  }
5467
5455
  .table__scroll {
5468
5456
  margin: 0 0 calc(var(--f-margin-component-bottom, 1.5rem) * var(--f-density-factor, 1));
5457
+ overflow: hidden;
5469
5458
  }
5470
5459
  .table__scroll thead th,
5471
5460
  .table__scroll thead td,
@@ -5479,9 +5468,6 @@ input[type=search]:focus,
5479
5468
  .table__scroll--horizontal {
5480
5469
  overflow-x: auto;
5481
5470
  }
5482
- .table__scroll--vertical {
5483
- overflow-y: auto;
5484
- }
5485
5471
  .table__input {
5486
5472
  margin-top: calc(0.25rem * var(--f-density-factor, 1));
5487
5473
  }
@@ -5512,6 +5498,74 @@ input[type=search]:focus,
5512
5498
  justify-content: center;
5513
5499
  }
5514
5500
 
5501
+ .table__anchor {
5502
+ cursor: pointer;
5503
+ display: inline-flex;
5504
+ gap: 0.25rem;
5505
+ }
5506
+ .table__anchor > svg.icon {
5507
+ flex-shrink: 0;
5508
+ align-self: center;
5509
+ min-width: auto;
5510
+ max-width: none;
5511
+ }
5512
+
5513
+ .table__button {
5514
+ background-color: transparent;
5515
+ border-color: transparent;
5516
+ border-width: 0;
5517
+ box-shadow: none;
5518
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5519
+ 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);
5520
+ font-weight: var(--f-font-weight-medium, 700);
5521
+ outline-offset: 0.25rem;
5522
+ font-size: 14px;
5523
+ line-height: 1.25rem;
5524
+ min-width: 24px;
5525
+ padding: densify(0.375rem) 0.25rem;
5526
+ text-underline-offset: 3.5px;
5527
+ margin: var(--f-button-tertiary-table-column-action-margin, 0 0 0 0.5rem);
5528
+ width: -moz-max-content;
5529
+ width: max-content;
5530
+ }
5531
+ .table__button > .button__icon {
5532
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5533
+ }
5534
+ .table__button:hover {
5535
+ background-color: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
5536
+ border-color: transparent;
5537
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5538
+ box-shadow: none;
5539
+ }
5540
+ .table__button:hover > .button__icon {
5541
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5542
+ }
5543
+ .table__button:active, .table__button:focus {
5544
+ border-radius: 0;
5545
+ box-shadow: var(--f-focus-box-shadow, 0 0 0 2px #ffffff, 0 0 0 4px #1b1e23, 0 0 0 6px #ffffff);
5546
+ outline: 2px solid transparent;
5547
+ background-color: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
5548
+ border-color: transparent;
5549
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5550
+ }
5551
+ .table__button:active > .button__icon, .table__button:focus > .button__icon {
5552
+ color: var(--fkds-color-action-text-primary-default, #4a52b6);
5553
+ }
5554
+ .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 {
5555
+ background-color: transparent;
5556
+ border-color: transparent;
5557
+ color: var(--fkds-color-text-disabled, #8d8e91);
5558
+ }
5559
+ .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 {
5560
+ color: var(--fkds-color-text-disabled, #8d8e91);
5561
+ }
5562
+ .table__button .button__icon {
5563
+ margin: var(--f-button-tertiary-table-column-action-icon-margin, 0 2px 0 2px);
5564
+ transform: translate(0, 10%);
5565
+ height: 14px;
5566
+ width: 14px;
5567
+ }
5568
+
5515
5569
  .text-field {
5516
5570
  display: flex;
5517
5571
  flex-direction: column;
@@ -5790,256 +5844,143 @@ input[type=search]:focus,
5790
5844
  /* Selectors */
5791
5845
  /* position adjustments for lines */
5792
5846
  /* 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;
5847
+ .wizard-step {
5848
+ display: grid;
5849
+ 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;
5850
+ gap: 0 0.5rem;
5797
5851
  }
5798
- .wizard-step .wizard-step__header__title-container {
5799
- height: 30px;
5852
+ .wizard-step:first-of-type .wizard-step__line-up {
5853
+ border: 0;
5800
5854
  }
5801
- .wizard-step .wizard-step__header__line-adjustment {
5802
- height: calc(13px + 4px);
5855
+ .wizard-step:last-of-type .wizard-step__line-down,
5856
+ .wizard-step:last-of-type .wizard-step__icon-container__line-down {
5857
+ border: 0;
5803
5858
  }
5804
- .wizard-step .wizard-step__header {
5805
- margin-left: -10px;
5859
+ .wizard-step .wizard-step__header__title {
5860
+ font-size: 1.125rem;
5861
+ margin-top: 2px;
5862
+ margin-bottom: 20px;
5806
5863
  }
5807
- .wizard-step .wizard-step__header .icon-stack {
5808
- display: block;
5864
+ .wizard-step .wizard-step__icon-container {
5865
+ grid-area: wizard-step__icon-container;
5866
+ display: flex;
5867
+ flex-direction: column;
5868
+ }
5869
+ .wizard-step .wizard-step__icon-container__circle {
5809
5870
  width: 30px;
5810
5871
  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;
5872
+ border-radius: 50%;
5873
+ border: 2px solid var(--fkds-color-border-strong, #5f6165);
5874
+ display: flex;
5875
+ justify-content: center;
5876
+ align-items: center;
5877
+ font-size: 1.25rem;
5818
5878
  font-weight: bold;
5879
+ text-align: center;
5880
+ transition: background-color 400ms ease-out, border-color 400ms ease-out, opacity 400ms ease-out;
5819
5881
  }
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;
5882
+ @media (max-width: 639.98px) {
5883
+ .wizard-step .wizard-step-body__border-container {
5884
+ display: none;
5885
+ }
5886
+ }
5887
+ .wizard-step .wizard-step-body__border-container .wizard-step__line-down {
5888
+ margin-top: 0;
5824
5889
  }
5825
- .wizard-step .wizard-step__header .icon.f-icon-success {
5890
+ .wizard-step .icon.f-icon-success {
5826
5891
  display: none;
5827
5892
  }
5828
- .wizard-step .wizard-step__header__step-of {
5893
+ .wizard-step .wizard-step__header {
5894
+ grid-area: wizard-step__header;
5895
+ }
5896
+ .wizard-step .wizard-step__step-of {
5829
5897
  color: var(--fkds-color-text-secondary, #5f6165);
5830
5898
  font-weight: normal;
5831
5899
  font-size: 1rem;
5832
5900
  }
5833
- .wizard-step .wizard-step__header__line-down {
5834
- position: relative;
5835
- margin-bottom: 4px;
5901
+ .wizard-step .wizard-step__line-down,
5902
+ .wizard-step .wizard-step__icon-container__line-down,
5903
+ .wizard-step .wizard-step__line-up {
5904
+ border-left: 2px solid var(--fkds-color-border-strong, #5f6165);
5836
5905
  margin-left: 14px;
5837
- height: 13px;
5838
- margin-top: 4px;
5839
- width: 2px;
5840
- background-color: var(--fkds-color-border-strong, #5f6165);
5841
5906
  }
5842
- .wizard-step .wizard-step__header__line-up {
5843
- margin-left: 14px;
5844
- height: 20px;
5845
- width: 2px;
5907
+ .wizard-step .wizard-step__icon-container__line-down {
5846
5908
  margin-top: 4px;
5909
+ }
5910
+ .wizard-step .wizard-step__line-down {
5911
+ grid-area: wizard-step__line-down;
5912
+ }
5913
+ .wizard-step .wizard-step__content {
5914
+ margin-left: 0.5rem;
5915
+ grid-area: wizard-step__content;
5916
+ }
5917
+ .wizard-step .wizard-step__line-up {
5847
5918
  margin-bottom: 4px;
5848
- background-color: var(--fkds-color-border-strong, #5f6165);
5919
+ grid-area: wizard-step__line-up;
5849
5920
  }
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
- }
5921
+ .wizard-step--open + .wizard-step--pending .wizard-step__line-up {
5922
+ padding-top: 20px;
5923
+ margin-top: -0.5rem;
5854
5924
  }
5855
- @media (min-width: 640px) {
5856
- .wizard-step .wizard-step__header__line-up {
5857
- margin-bottom: 4px;
5858
- }
5925
+ .wizard-step .wizard-step__icon-container__line-down {
5926
+ flex: 1;
5859
5927
  }
5860
5928
  @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;
5929
+ .wizard-step {
5930
+ 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;
5931
+ }
5932
+ .wizard-step--open + .wizard-step--pending .wizard-step__line-up {
5933
+ margin-top: 0;
5934
+ padding-top: 0;
5935
+ }
5936
+ .wizard-step .wizard-step__content {
5937
+ margin-left: 0;
5868
5938
  }
5869
5939
  }
5870
- .wizard-step--open .wizard-step__header .wizard-step__header__title {
5940
+ .wizard-step--open .wizard-step__header__title {
5871
5941
  color: var(--fkds-color-text-primary, #1b1e23);
5872
5942
  }
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 {
5943
+ .wizard-step--open .wizard-step__step-of {
5881
5944
  display: block;
5882
5945
  }
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 {
5946
+ .wizard-step--done .wizard-step__header__title .anchor {
5902
5947
  color: var(--fkds-color-feedback-text-positive, #35805b);
5903
5948
  text-decoration-color: var(--fkds-color-feedback-text-positive, #35805b);
5904
5949
  text-decoration-thickness: 2px;
5905
5950
  text-underline-offset: 0.25em;
5906
5951
  }
5907
- .wizard-step--done .wizard-step__header .wizard-step__header__title .anchor:hover {
5952
+ .wizard-step--done .wizard-step__header__title .anchor:hover {
5908
5953
  text-decoration-color: var(--fkds-color-feedback-text-positive, #35805b);
5909
5954
  text-decoration-thickness: 3px;
5910
5955
  text-underline-offset: 0.25em;
5911
5956
  }
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 {
5957
+ .wizard-step--done .icon.f-icon-success {
5926
5958
  display: block;
5927
5959
  color: var(--fkds-icon-color-content-inverted, #ffffff);
5928
5960
  width: 20px;
5929
- height: 20px;
5930
- left: 5px;
5931
- top: 5px;
5961
+ height: auto;
5932
5962
  }
5933
- .wizard-step--done .wizard-step__header .wizard-step__header__line-adjustment {
5934
- height: calc(13px + 4px);
5963
+ .wizard-step--done .wizard-step__icon-container__circle {
5964
+ background-color: var(--f-icon-color-wizard-step-done, #35805b);
5965
+ border-color: var(--f-icon-color-wizard-step-done, #35805b);
5935
5966
  }
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
- }
5967
+ .wizard-step--done .wizard-step__icon-container__number {
5968
+ display: none;
5944
5969
  }
5945
- .wizard-step--pending .wizard-step__header .wizard-step__header__title {
5970
+ .wizard-step--pending .wizard-step__header__title {
5946
5971
  color: var(--f-text-color-discrete, #5f6165);
5947
5972
  }
5948
- .wizard-step--pending .wizard-step__header .icon-stack div {
5973
+ .wizard-step--pending .wizard-step__icon-container__circle {
5974
+ border: 2px solid var(--fkds-color-border-strong, #5f6165);
5975
+ background-color: var(--fkds-color-background-disabled, #f4f4f4);
5949
5976
  color: var(--f-icon-color-discrete, #5f6165);
5950
5977
  }
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
5978
  @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;
5979
+ .wizard-step .icon.f-icon-success {
5980
+ color: CanvasText;
6028
5981
  }
6029
5982
  }
6030
5983
 
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
5984
  /* stylelint-disable no-invalid-position-at-import-rule -- technical debt */
6044
5985
  .iflex {
6045
5986
  display: flex;