@fkui/design 6.27.0 → 6.29.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
@@ -107,7 +107,6 @@ h2,
107
107
  .heading--h2,
108
108
  h3,
109
109
  .heading--h3,
110
- .expandable-panel__heading,
111
110
  h4,
112
111
  .heading--h4,
113
112
  h5,
@@ -129,7 +128,7 @@ h2, .heading--h2 {
129
128
  color: var(--f-text-color-heading-2, inherit);
130
129
  }
131
130
 
132
- h3, .heading--h3, .expandable-panel__heading {
131
+ h3, .heading--h3 {
133
132
  font-size: var(--f-font-size-h3, 1.375rem);
134
133
  color: var(--f-text-color-heading-3, inherit);
135
134
  }
@@ -159,7 +158,6 @@ h6, .heading--h6 {
159
158
  * + .heading--h2,
160
159
  * + h3,
161
160
  * + .heading--h3,
162
- * + .expandable-panel__heading,
163
161
  * + h4,
164
162
  * + .heading--h4,
165
163
  * + h5,
@@ -176,7 +174,7 @@ h6, .heading--h6 {
176
174
  h2, .heading--h2 {
177
175
  font-size: var(--f-font-size-xxx-large, 1.5rem);
178
176
  }
179
- h3, .heading--h3, .expandable-panel__heading {
177
+ h3, .heading--h3 {
180
178
  font-size: var(--f-font-size-h4, 1.25rem);
181
179
  }
182
180
  h4, .heading--h4 {
@@ -201,7 +199,7 @@ h6, .heading--h6 {
201
199
  /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder -- technical debt */
202
200
  }
203
201
 
204
- .heading--h3, .expandable-panel__heading {
202
+ .heading--h3 {
205
203
  /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder -- technical debt */
206
204
  }
207
205
 
@@ -221,11 +219,11 @@ h1 + h2, .heading--h1 + h2, h1 + .heading--h2, .heading--h1 + .heading--h2 {
221
219
  margin-top: 1rem;
222
220
  }
223
221
 
224
- h2 + h3, .heading--h2 + h3, h2 + .heading--h3, h2 + .expandable-panel__heading, .heading--h2 + .heading--h3, .heading--h2 + .expandable-panel__heading {
222
+ h2 + h3, .heading--h2 + h3, h2 + .heading--h3, .heading--h2 + .heading--h3 {
225
223
  margin-top: 1rem;
226
224
  }
227
225
 
228
- h3 + h4, .heading--h3 + h4, .expandable-panel__heading + h4, h3 + .heading--h4, .heading--h3 + .heading--h4, .expandable-panel__heading + .heading--h4 {
226
+ h3 + h4, .heading--h3 + h4, h3 + .heading--h4, .heading--h3 + .heading--h4 {
229
227
  margin-top: 1rem;
230
228
  }
231
229
 
@@ -2701,70 +2699,80 @@ input[type=search]:focus,
2701
2699
  .expandable-panel {
2702
2700
  margin-bottom: calc(2rem * var(--f-density-factor, 1));
2703
2701
  }
2704
- .expandable-panel__icon {
2705
- border-radius: 50%;
2706
- background-color: var(--f-icon-color-expandable-panel, #fff);
2702
+ .expandable-panel__icon svg {
2707
2703
  width: var(--f-icon-size-medium, 1.25rem);
2708
2704
  height: var(--f-icon-size-medium, 1.25rem);
2709
- margin-top: calc((var(--f-line-height-medium, 1.4) * 1em - var(--f-icon-size-medium, 1.25rem)) / 2);
2710
- display: flex;
2711
- color: var(--f-background-heading-expandable-panel, #116a3e);
2712
- padding: 3px;
2713
- flex-shrink: 0;
2714
- margin-right: 0.5rem;
2715
- }
2716
- .expandable-panel__icon .icon {
2717
- transition: transform var(--f-animation-duration-long, 500ms) ease;
2705
+ max-height: initial;
2706
+ max-width: initial;
2707
+ vertical-align: middle;
2718
2708
  }
2719
- .expandable-panel.expandable-panel--expanded .expandable-panel__icon svg:nth-child(2) {
2720
- transform: rotate(0);
2709
+ .expandable-panel.expandable-panel--expanded .expandable-panel__icon svg {
2710
+ transform: rotate(180deg);
2721
2711
  }
2722
2712
  .expandable-panel.expandable-panel--expanded .expandable-panel__content {
2723
2713
  height: auto;
2724
2714
  }
2725
2715
  .expandable-panel.expandable-panel--expanded .expandable-panel__heading button {
2726
- border: var(--f-expandable-panel-heading-border-open, none);
2716
+ border-radius: var(--f-border-radius-medium, 4px) var(--f-border-radius-medium, 4px) 0 0;
2727
2717
  }
2728
- .expandable-panel.expandable-panel--collapsed .expandable-panel__icon svg:nth-child(2) {
2729
- transform: rotate(-90deg);
2718
+ .expandable-panel.expandable-panel--collapsed .expandable-panel__icon svg {
2719
+ transform: rotate(0);
2730
2720
  }
2731
2721
  .expandable-panel__heading {
2732
- /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder -- technical debt */
2733
2722
  margin-bottom: 0 !important;
2734
2723
  }
2735
2724
  .expandable-panel__heading button {
2736
- background-color: var(--f-background-heading-expandable-panel, #116a3e);
2737
- border: var(--f-expandable-panel-heading-border-close, none);
2738
- border-radius: var(--f-expandable-panel-heading-border-radius, 4px 4px 0 0);
2739
- color: var(--f-text-color-heading-expandable-panel, #fff);
2725
+ background-color: var(--fkds-color-background-secondary, #f4f4f4);
2726
+ border: var(--f-border-width-medium, 2px) solid var(--fkds-color-border-primary, #8d8e91);
2727
+ border-radius: var(--f-border-radius-medium, 4px);
2728
+ color: var(--fkds-color-text-primary, #1b1e23);
2740
2729
  cursor: pointer;
2741
- display: flex;
2730
+ display: inline-flex;
2731
+ align-items: center;
2742
2732
  margin: 0;
2743
2733
  padding: calc(1rem * var(--f-density-factor, 1)) 1rem;
2744
- position: relative;
2745
2734
  text-align: left;
2746
2735
  width: 100%;
2736
+ font-size: var(--f-font-size-large, 1.125rem);
2737
+ font-weight: var(--f-font-weight-bold, 900);
2738
+ line-height: var(--f-line-height-large, 1.5);
2747
2739
  }
2748
2740
  .expandable-panel__heading button:focus, .expandable-panel__heading button:hover {
2749
- background-color: var(--f-background-heading-expandable-panel-hover, #35805b);
2741
+ background-color: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
2742
+ }
2743
+ .expandable-panel__title {
2744
+ flex-grow: 1;
2745
+ text-wrap: pretty;
2746
+ }
2747
+ .expandable-panel__title__text {
2748
+ vertical-align: middle;
2750
2749
  }
2751
2750
  .expandable-panel__notification {
2751
+ margin-left: 0.25em;
2752
+ width: var(--f-icon-size-large, 1.5rem);
2753
+ height: var(--f-icon-size-large, 1.5rem);
2754
+ background: var(--fkds-color-feedback-background-negative-strong, #ca1515);
2755
+ border: var(--f-border-radius-small, 2px) solid transparent;
2752
2756
  border-radius: 50%;
2753
- background-color: var(--f-icon-color-notice, #d34503);
2754
- border: var(--f-border-width-medium, 2px) solid var(--f-icon-color-white, #fff);
2755
- width: var(--f-icon-size-x-large, 2rem);
2756
- height: var(--f-icon-size-x-large, 2rem);
2757
- display: inline-block;
2758
- padding: 0.27rem;
2759
- position: absolute;
2760
- right: 1.5rem;
2761
- top: -0.75rem;
2762
- line-height: 0;
2757
+ display: inline-flex;
2758
+ justify-content: center;
2759
+ align-items: center;
2760
+ vertical-align: middle;
2761
+ }
2762
+ @media (forced-colors: active) {
2763
+ .expandable-panel__notification {
2764
+ background: canvas;
2765
+ }
2763
2766
  }
2764
2767
  .expandable-panel__notification svg {
2765
- color: var(--f-icon-color-white, #fff);
2766
- height: auto;
2767
- width: auto;
2768
+ color: var(--fkds-color-text-inverted, #fff);
2769
+ width: var(--f-icon-size-small, 1rem);
2770
+ height: var(--f-icon-size-small, 1rem);
2771
+ }
2772
+ @media (forced-colors: active) {
2773
+ .expandable-panel__notification svg {
2774
+ color: buttonText;
2775
+ }
2768
2776
  }
2769
2777
  .expandable-panel__content {
2770
2778
  height: 0;
@@ -2772,11 +2780,12 @@ input[type=search]:focus,
2772
2780
  transition: height var(--f-animation-duration-medium, 350ms) ease-in;
2773
2781
  }
2774
2782
  .expandable-panel__body {
2775
- background-color: var(--f-background-expandable-panel, #fff);
2776
- border: var(--f-border-width-medium, 2px) solid var(--f-border-color-panel, #e7f0e9);
2783
+ background-color: var(--fkds-color-background-primary, #fff);
2784
+ border: var(--f-border-width-medium, 2px) solid var(--fkds-color-border-primary, #8d8e91);
2777
2785
  border-top: 0;
2786
+ border-radius: 0 0 var(--f-border-radius-medium, 4px) var(--f-border-radius-medium, 4px);
2778
2787
  line-height: inherit;
2779
- padding: calc(1.5rem * var(--f-density-factor, 1)) 1.5rem;
2788
+ padding: calc(1rem * var(--f-density-factor, 1)) 1rem;
2780
2789
  }
2781
2790
 
2782
2791
  .expandable-paragraph {
@@ -4516,6 +4525,61 @@ input[type=search]:focus,
4516
4525
  padding-right: 1rem;
4517
4526
  }
4518
4527
 
4528
+ .paginator {
4529
+ display: flex;
4530
+ gap: 0.5rem;
4531
+ align-items: center;
4532
+ justify-content: center;
4533
+ white-space: nowrap;
4534
+ container-type: inline-size;
4535
+ }
4536
+ .paginator__icon {
4537
+ align-items: center;
4538
+ }
4539
+ .paginator__page, .paginator__previous, .paginator__next {
4540
+ border: none;
4541
+ color: black;
4542
+ height: 2.5rem;
4543
+ background-color: transparent;
4544
+ padding: 0.25rem;
4545
+ border-radius: 2px;
4546
+ cursor: pointer;
4547
+ }
4548
+ .paginator__page--active, .paginator__previous--active, .paginator__next--active {
4549
+ color: white;
4550
+ background-color: var(--fkds-color-action-background-primary-default, #4a52b6);
4551
+ }
4552
+ .paginator__page:hover:enabled:not(.paginator__page--active, .paginator__previous--active, .paginator__next--active), .paginator__previous:hover:enabled:not(.paginator__page--active, .paginator__previous--active, .paginator__next--active), .paginator__next:hover:enabled:not(.paginator__page--active, .paginator__previous--active, .paginator__next--active) {
4553
+ color: black;
4554
+ background-color: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
4555
+ }
4556
+ .paginator__next, .paginator__previous {
4557
+ display: flex;
4558
+ align-items: center;
4559
+ justify-content: center;
4560
+ gap: 0.25rem;
4561
+ }
4562
+ .paginator__page {
4563
+ width: 2.5rem;
4564
+ display: none;
4565
+ }
4566
+ .paginator__next, .paginator__page-counter, .paginator__previous {
4567
+ width: 8rem;
4568
+ }
4569
+ .paginator__page-counter {
4570
+ padding: 0.25rem;
4571
+ text-align: center;
4572
+ color: var(--fkds-color-text-primary, #1b1e23);
4573
+ }
4574
+ @container (width >= 43.5rem) {
4575
+ .paginator__page-counter {
4576
+ display: none;
4577
+ }
4578
+ .paginator__page {
4579
+ display: inline-block;
4580
+ }
4581
+ }
4582
+
4519
4583
  .progress {
4520
4584
  background-color: var(--fkds-color-background-primary, #fff);
4521
4585
  border-radius: var(--f-border-radius-medium, 4px);
@@ -5088,7 +5152,6 @@ input[type=search]:focus,
5088
5152
  }
5089
5153
  .table__button .button__icon {
5090
5154
  margin: var(--f-button-tertiary-table-column-action-icon-margin, 0 8px 0 2px);
5091
- transform: translate(0, 10%);
5092
5155
  height: 14px;
5093
5156
  width: 14px;
5094
5157
  }
@@ -5124,11 +5187,13 @@ input[type=search]:focus,
5124
5187
  .table-ng thead th:last-child {
5125
5188
  border-right: none;
5126
5189
  }
5127
- .table-ng tbody .table-ng__row {
5190
+ .table-ng tbody .table-ng__row,
5191
+ .table-ng tfoot .table-ng__row {
5128
5192
  background: var(--fkds-color-background-primary, #fff);
5129
5193
  color: var(--fkds-color-text-primary, #1b1e23);
5130
5194
  }
5131
- .table-ng tbody .table-ng__row--empty {
5195
+ .table-ng tbody .table-ng__row--empty,
5196
+ .table-ng tfoot .table-ng__row--empty {
5132
5197
  text-align: center;
5133
5198
  }
5134
5199
  .table-ng__column__description {
@@ -5212,6 +5277,14 @@ input[type=search]:focus,
5212
5277
  font-weight: var(--f-font-weight-medium, 700);
5213
5278
  text-align: left;
5214
5279
  }
5280
+ .table-ng__cell--custom {
5281
+ padding: calc(0.25rem * var(--f-density-factor, 1)) 0.5rem;
5282
+ border: 2px solid transparent;
5283
+ }
5284
+ .table-ng__cell--custom:focus {
5285
+ box-shadow: none;
5286
+ border: 2px solid var(--f-color-focus, #1b1e23);
5287
+ }
5215
5288
 
5216
5289
  .table-ng__textedit {
5217
5290
  flex: 0 1 0;
@@ -5242,15 +5315,6 @@ input[type=search]:focus,
5242
5315
  flex: none;
5243
5316
  }
5244
5317
 
5245
- .table-ng__custom-expandable {
5246
- padding: calc(0.25rem * var(--f-density-factor, 1)) 0.5rem;
5247
- border: 2px solid transparent;
5248
- }
5249
- .table-ng__custom-expandable:focus {
5250
- box-shadow: none;
5251
- border: 2px solid var(--f-color-focus, #1b1e23);
5252
- }
5253
-
5254
5318
  .table-ng__cell--select:hover .table-ng__editable, .table-ng__cell--text:hover .table-ng__editable {
5255
5319
  background: var(--fkds-color-action-background-secondary-hover, #e5e5f5);
5256
5320
  }