@takeoff-design/tokens 0.3.0 → 0.4.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.
@@ -2096,7 +2096,6 @@ body {
2096
2096
  width: 100%;
2097
2097
  height: 100%;
2098
2098
  fill: currentColor;
2099
- stroke: currentColor;
2100
2099
  }
2101
2100
  .tk-button .tk-button-content-symbol {
2102
2101
  display: inline-flex;
@@ -3451,6 +3450,7 @@ body {
3451
3450
  .tk-alert[data-variant=success][data-type=gradient] {
3452
3451
  color: var(--text-darkest);
3453
3452
  background: linear-gradient(270deg, var(--background-lightest, #f9fafc) 89%, var(--states-success-sub-base, #a0e6ba) 100%);
3453
+ border-color: var(--states-success-base);
3454
3454
  }
3455
3455
  .tk-alert[data-variant=warning] {
3456
3456
  border-color: var(--states-warning-sub-base);
@@ -3472,6 +3472,7 @@ body {
3472
3472
  .tk-alert[data-variant=warning][data-type=gradient] {
3473
3473
  color: var(--text-darkest);
3474
3474
  background: linear-gradient(270deg, var(--background-lightest, #f9fafc) 89%, var(--states-warning-sub-base, #f6de95) 100%);
3475
+ border-color: var(--states-warning-base);
3475
3476
  }
3476
3477
  .tk-alert[data-variant=info] {
3477
3478
  border-color: var(--states-info-sub-base);
@@ -3493,6 +3494,7 @@ body {
3493
3494
  .tk-alert[data-variant=info][data-type=gradient] {
3494
3495
  color: var(--text-darkest);
3495
3496
  background: linear-gradient(270deg, var(--background-lightest, #f9fafc) 89%, var(--states-info-sub-base, #abc9fb) 100%);
3497
+ border-color: var(--states-info-base);
3496
3498
  }
3497
3499
  .tk-alert[data-variant=danger] {
3498
3500
  border-color: var(--states-danger-sub-base);
@@ -3514,6 +3516,7 @@ body {
3514
3516
  .tk-alert[data-variant=danger][data-type=gradient] {
3515
3517
  color: var(--text-darkest);
3516
3518
  background: linear-gradient(270deg, var(--background-lightest, #f9fafc) 89%, var(--states-danger-sub-base, #ffaca7) 100%);
3519
+ border-color: var(--states-danger-base);
3517
3520
  }
3518
3521
  .tk-alert[data-variant=neutral] {
3519
3522
  border-color: var(--border-sub-base);
@@ -3535,12 +3538,16 @@ body {
3535
3538
  .tk-alert[data-variant=neutral][data-type=gradient] {
3536
3539
  color: var(--text-darkest);
3537
3540
  background: linear-gradient(270deg, var(--background-lightest, #f9fafc) 89%, var(--background-sub-base, #cacfd8) 100%);
3541
+ border-color: var(--background-sub-base);
3538
3542
  }
3539
3543
  .tk-alert[data-type=filled]:not([data-variant=neutral]) .tk-alert-title,
3540
3544
  .tk-alert[data-type=filled]:not([data-variant=neutral]) .tk-alert-description,
3541
3545
  .tk-alert[data-type=filled]:not([data-variant=neutral]) .tk-alert-action {
3542
3546
  color: var(--text-lightest);
3543
3547
  }
3548
+ .tk-alert[data-type=filled]:not([data-variant=neutral]) .tk-alert-action.tk-button {
3549
+ color: var(--text-lightest);
3550
+ }
3544
3551
  .tk-alert[data-type=filled]:not([data-variant=neutral]) .tk-alert-action:hover,
3545
3552
  .tk-alert[data-type=filled]:not([data-variant=neutral]) .tk-alert-close:hover {
3546
3553
  background-color: var(--overlay-white-light);
@@ -3585,6 +3592,8 @@ body {
3585
3592
  align-items: center;
3586
3593
  justify-content: center;
3587
3594
  flex-shrink: 0;
3595
+ align-self: flex-start;
3596
+ margin-inline-start: auto;
3588
3597
  border: 0;
3589
3598
  border-radius: var(--radius-m-base);
3590
3599
  background: transparent;
@@ -4713,18 +4722,6 @@ body {
4713
4722
  .tk-drawer-panel[data-placement=bottom][data-state=closed] {
4714
4723
  transform: translateY(100%);
4715
4724
  }
4716
- .tk-drawer-panel[data-placement=full-screen] {
4717
- inset: 0;
4718
- width: 100%;
4719
- height: 100%;
4720
- border-radius: 0;
4721
- transition: none;
4722
- transform: none;
4723
- }
4724
- .tk-drawer-panel[data-placement=full-screen][data-state=closed] {
4725
- transform: scale(0.95);
4726
- opacity: 0;
4727
- }
4728
4725
 
4729
4726
  .tk-drawer-header {
4730
4727
  display: flex;
@@ -4868,6 +4865,10 @@ body {
4868
4865
  gap: var(--dropdown-items-basic-large-gap);
4869
4866
  border-radius: var(--dropdown-items-basic-large-radius);
4870
4867
  }
4868
+ .tk-dropdown-content[data-size=large] .tk-dropdown-label {
4869
+ font-size: var(--desktop-body-s-size);
4870
+ line-height: var(--desktop-body-s-line-height);
4871
+ }
4871
4872
  .tk-dropdown-content[data-size=base] {
4872
4873
  font-size: var(--desktop-body-s-size);
4873
4874
  line-height: var(--desktop-body-s-line-height);
@@ -4881,6 +4882,9 @@ body {
4881
4882
  gap: var(--dropdown-items-basic-small-gap);
4882
4883
  border-radius: var(--dropdown-items-basic-small-radius);
4883
4884
  }
4885
+ .tk-dropdown-content[data-size=small] .tk-dropdown-label {
4886
+ font-size: 11px;
4887
+ }
4884
4888
 
4885
4889
  .tk-dropdown-viewport {
4886
4890
  display: flex;
@@ -4936,16 +4940,23 @@ body {
4936
4940
  }
4937
4941
 
4938
4942
  .tk-dropdown-label {
4939
- padding-inline: 0.5rem;
4943
+ display: flex;
4944
+ align-items: center;
4945
+ gap: var(--spacing-l);
4946
+ padding-inline: var(--spacing-m-base);
4940
4947
  padding-block: 0.25rem;
4941
4948
  font-size: var(--desktop-body-xs-size);
4942
4949
  line-height: var(--desktop-body-xs-line-height);
4943
- font-weight: 500;
4944
- color: var(--text-sub-base);
4945
- text-transform: uppercase;
4946
- letter-spacing: 0.02em;
4950
+ font-weight: 400;
4951
+ color: var(--text-dark);
4947
4952
  user-select: none;
4948
4953
  }
4954
+ .tk-dropdown-label::after {
4955
+ content: "";
4956
+ flex: 1 1 auto;
4957
+ height: 1px;
4958
+ background-color: var(--border-light);
4959
+ }
4949
4960
 
4950
4961
  .tk-dropdown-separator {
4951
4962
  flex-shrink: 0;
@@ -4976,18 +4987,21 @@ body {
4976
4987
  width: 100%;
4977
4988
  }
4978
4989
  .tk-field .tk-field-label {
4990
+ padding: var(--input-external-label-large-label-v-padding) var(--input-external-label-large-label-h-padding);
4979
4991
  color: var(--text-darkest);
4980
4992
  font-weight: 400;
4981
4993
  font-size: var(--desktop-label-m-base-size);
4982
4994
  line-height: var(--desktop-label-m-base-line-height);
4983
4995
  cursor: default;
4984
4996
  }
4997
+ .tk-field:has(> [data-size=small]) > .tk-field-label {
4998
+ padding: var(--input-external-label-small-label-v-padding) var(--input-external-label-small-label-h-padding);
4999
+ }
4985
5000
  .tk-field .tk-field-asterisk {
4986
5001
  color: var(--states-danger-base);
4987
5002
  font-size: var(--desktop-label-s-size);
4988
5003
  font-weight: 300;
4989
5004
  line-height: var(--desktop-label-s-line-height);
4990
- margin-inline-start: 0.125rem;
4991
5005
  }
4992
5006
  .tk-field[data-disabled] .tk-field-label {
4993
5007
  color: var(--text-sub-base);
@@ -5003,7 +5017,6 @@ body {
5003
5017
  font-size: var(--desktop-body-xs-size);
5004
5018
  line-height: var(--desktop-body-xs-line-height);
5005
5019
  font-weight: 400;
5006
- margin-block-start: var(--spacing-xxs);
5007
5020
  }
5008
5021
  .tk-field .tk-field-description-icon,
5009
5022
  .tk-field .tk-field-error-message-icon {
@@ -5012,8 +5025,9 @@ body {
5012
5025
  justify-content: center;
5013
5026
  flex-shrink: 0;
5014
5027
  height: var(--desktop-body-xs-line-height);
5015
- font-size: 0.875rem;
5028
+ font-size: var(--desktop-body-xs-size);
5016
5029
  line-height: 1;
5030
+ transform: translateY(-1px);
5017
5031
  }
5018
5032
  .tk-field .tk-field-description {
5019
5033
  color: var(--text-base);
@@ -5300,6 +5314,9 @@ body {
5300
5314
  min-height: 3rem;
5301
5315
  height: auto;
5302
5316
  }
5317
+ .tk-input[data-size=large]:has(.tk-input-chips) .tk-chip {
5318
+ height: var(--desktop-body-m-base-line-height);
5319
+ }
5303
5320
  .tk-input[data-size=large] .tk-input-field {
5304
5321
  font-size: var(--desktop-body-m-base-size);
5305
5322
  line-height: var(--desktop-body-m-base-line-height);
@@ -5349,6 +5366,9 @@ body {
5349
5366
  min-height: 2.5rem;
5350
5367
  height: auto;
5351
5368
  }
5369
+ .tk-input[data-size=base]:has(.tk-input-chips) .tk-chip {
5370
+ height: var(--desktop-body-s-line-height);
5371
+ }
5352
5372
  .tk-input[data-size=base] .tk-input-field {
5353
5373
  font-size: var(--desktop-body-s-size);
5354
5374
  line-height: var(--desktop-body-s-line-height);
@@ -5398,6 +5418,9 @@ body {
5398
5418
  min-height: 2rem;
5399
5419
  height: auto;
5400
5420
  }
5421
+ .tk-input[data-size=small]:has(.tk-input-chips) .tk-chip {
5422
+ height: var(--desktop-body-xs-line-height);
5423
+ }
5401
5424
  .tk-input[data-size=small] .tk-input-field {
5402
5425
  font-size: var(--desktop-body-xs-size);
5403
5426
  line-height: var(--desktop-body-xs-line-height);
@@ -5475,6 +5498,7 @@ body {
5475
5498
  line-height: var(--desktop-label-m-base-line-height);
5476
5499
  cursor: default;
5477
5500
  margin: 0;
5501
+ padding: var(--input-external-label-large-label-v-padding) var(--input-external-label-large-label-h-padding);
5478
5502
  }
5479
5503
  .tk-label[for] {
5480
5504
  cursor: pointer;
@@ -5485,7 +5509,6 @@ body {
5485
5509
  font-size: var(--desktop-label-s-size);
5486
5510
  font-weight: 300;
5487
5511
  line-height: var(--desktop-label-s-line-height);
5488
- margin-inline-start: 0.125rem;
5489
5512
  }
5490
5513
  .tk-label[data-disabled], .tk-label[data-readonly] {
5491
5514
  color: var(--text-sub-base);
@@ -5607,6 +5630,10 @@ body {
5607
5630
  gap: var(--dropdown-items-basic-large-gap);
5608
5631
  border-radius: var(--dropdown-items-basic-large-radius);
5609
5632
  }
5633
+ .tk-select-content[data-size=large] .tk-select-label {
5634
+ font-size: var(--desktop-body-s-size);
5635
+ line-height: var(--desktop-body-s-line-height);
5636
+ }
5610
5637
  .tk-select-content[data-size=base] {
5611
5638
  font-size: var(--desktop-body-s-size);
5612
5639
  line-height: var(--desktop-body-s-line-height);
@@ -5620,6 +5647,9 @@ body {
5620
5647
  gap: var(--dropdown-items-basic-small-gap);
5621
5648
  border-radius: var(--dropdown-items-basic-small-radius);
5622
5649
  }
5650
+ .tk-select-content[data-size=small] .tk-select-label {
5651
+ font-size: 11px;
5652
+ }
5623
5653
 
5624
5654
  .tk-select-viewport {
5625
5655
  display: flex;
@@ -5685,16 +5715,23 @@ body {
5685
5715
  }
5686
5716
 
5687
5717
  .tk-select-label {
5688
- padding-inline: 0.5rem;
5718
+ display: flex;
5719
+ align-items: center;
5720
+ gap: var(--spacing-l);
5721
+ padding-inline: var(--spacing-m-base);
5689
5722
  padding-block: 0.25rem;
5690
5723
  font-size: var(--desktop-body-xs-size);
5691
5724
  line-height: var(--desktop-body-xs-line-height);
5692
- font-weight: 500;
5693
- color: var(--text-sub-base);
5694
- text-transform: uppercase;
5695
- letter-spacing: 0.02em;
5725
+ font-weight: 400;
5726
+ color: var(--text-dark);
5696
5727
  user-select: none;
5697
5728
  }
5729
+ .tk-select-label::after {
5730
+ content: "";
5731
+ flex: 1 1 auto;
5732
+ height: 1px;
5733
+ background-color: var(--border-light);
5734
+ }
5698
5735
 
5699
5736
  .tk-select-separator {
5700
5737
  flex-shrink: 0;
@@ -7026,6 +7063,9 @@ body {
7026
7063
  .tk-checkbox[data-invalid][data-focus][data-checked]:not([data-disabled]) .tk-checkbox-indicator, .tk-checkbox[data-invalid][data-focus][data-indeterminate]:not([data-disabled]) .tk-checkbox-indicator {
7027
7064
  border-color: var(--states-danger-light);
7028
7065
  }
7066
+ .tk-checkbox .tk-checkbox-icon svg {
7067
+ flex: none;
7068
+ }
7029
7069
  .tk-checkbox[data-size=base] .tk-checkbox-indicator {
7030
7070
  width: 20px;
7031
7071
  height: 20px;
@@ -7036,6 +7076,14 @@ body {
7036
7076
  width: 12px;
7037
7077
  height: 12px;
7038
7078
  }
7079
+ .tk-checkbox[data-size=base] .tk-checkbox-icon svg {
7080
+ width: 22px;
7081
+ height: 22px;
7082
+ }
7083
+ .tk-checkbox[data-size=base][data-indeterminate] .tk-checkbox-icon svg {
7084
+ width: 14px;
7085
+ height: 14px;
7086
+ }
7039
7087
  .tk-checkbox[data-size=small] .tk-checkbox-indicator {
7040
7088
  width: 16px;
7041
7089
  height: 16px;
@@ -7046,6 +7094,14 @@ body {
7046
7094
  width: 10px;
7047
7095
  height: 10px;
7048
7096
  }
7097
+ .tk-checkbox[data-size=small] .tk-checkbox-icon svg {
7098
+ width: 18px;
7099
+ height: 18px;
7100
+ }
7101
+ .tk-checkbox[data-size=small][data-indeterminate] .tk-checkbox-icon svg {
7102
+ width: 12px;
7103
+ height: 12px;
7104
+ }
7049
7105
 
7050
7106
  .tk-chip {
7051
7107
  font-family: var(--family-body, "tk-text", sans-serif);
@@ -7090,7 +7146,6 @@ body {
7090
7146
  width: 100%;
7091
7147
  height: 100%;
7092
7148
  fill: currentColor;
7093
- stroke: currentColor;
7094
7149
  }
7095
7150
  .tk-chip .tk-chip-remove {
7096
7151
  appearance: none;
@@ -7106,7 +7161,7 @@ body {
7106
7161
  cursor: pointer;
7107
7162
  }
7108
7163
  .tk-chip[data-size=small] {
7109
- min-height: 20px;
7164
+ height: 20px;
7110
7165
  font-size: var(--desktop-body-xs-size);
7111
7166
  line-height: var(--desktop-body-xs-line-height);
7112
7167
  border-radius: var(--chips-small-radius);
@@ -7122,7 +7177,7 @@ body {
7122
7177
  padding-inline-end: var(--chips-small-v-padding);
7123
7178
  }
7124
7179
  .tk-chip[data-size=base] {
7125
- min-height: 24px;
7180
+ height: 24px;
7126
7181
  font-size: var(--desktop-body-s-size);
7127
7182
  line-height: var(--desktop-body-s-line-height);
7128
7183
  border-radius: var(--chips-base-radius);
@@ -7138,7 +7193,7 @@ body {
7138
7193
  padding-inline-end: var(--chips-base-v-padding);
7139
7194
  }
7140
7195
  .tk-chip[data-size=large] {
7141
- min-height: 28px;
7196
+ height: 28px;
7142
7197
  font-size: var(--desktop-body-m-base-size);
7143
7198
  line-height: var(--desktop-body-m-base-line-height);
7144
7199
  border-radius: var(--chips-large-radius);
@@ -8000,6 +8055,11 @@ body {
8000
8055
  border-bottom: 0;
8001
8056
  border-inline-end: 1px solid var(--background-light);
8002
8057
  }
8058
+ .tk-tabs-list[data-type=divided]:not([data-orientation=vertical]) {
8059
+ border-bottom: 0;
8060
+ padding-block-end: 1px;
8061
+ background-image: linear-gradient(to top, var(--border-light) 1px, transparent 1px);
8062
+ }
8003
8063
  .tk-tabs-list[data-type=compact] {
8004
8064
  gap: 0;
8005
8065
  border-bottom: 0;
@@ -8137,6 +8197,13 @@ body {
8137
8197
  .tk-tabs-trigger[data-type=divided]:hover:not([data-disabled], :disabled, [aria-disabled=true]):not([data-orientation=vertical]), .tk-tabs-trigger[data-type=divided][data-state=active]:not([data-orientation=vertical]) {
8138
8198
  box-shadow: var(--effect-1-default-base);
8139
8199
  }
8200
+ .tk-tabs-trigger[data-type=divided]:not([data-orientation=vertical]) {
8201
+ border-bottom: 1px solid var(--border-light);
8202
+ margin-block-end: -1px;
8203
+ }
8204
+ .tk-tabs-trigger[data-type=divided][data-state=active]:not([data-orientation=vertical]) {
8205
+ border-bottom-color: var(--static-light);
8206
+ }
8140
8207
  .tk-tabs-trigger[data-type=divided]::after {
8141
8208
  display: none;
8142
8209
  }
@@ -9656,4 +9723,207 @@ body {
9656
9723
  background-color: rgba(255, 255, 255, 0.6);
9657
9724
  background-color: color-mix(in srgb, var(--static-light) 60%, transparent);
9658
9725
  z-index: 4;
9726
+ }
9727
+
9728
+ .tk-upload {
9729
+ font-family: var(--family-body, "tk-text", sans-serif);
9730
+ display: flex;
9731
+ flex-direction: column;
9732
+ gap: var(--upload-card-gap);
9733
+ width: 100%;
9734
+ box-sizing: border-box;
9735
+ }
9736
+ .tk-upload:not([data-disabled]):not([data-readonly]) .tk-upload-dropzone:hover {
9737
+ background: var(--background-lightest);
9738
+ }
9739
+ .tk-upload:not([data-disabled]) .tk-upload-item:hover {
9740
+ background: var(--background-lightest);
9741
+ }
9742
+ .tk-upload[data-disabled] .tk-upload-dropzone {
9743
+ --tk-upload-dropzone-mark: var(--icon-sub-base);
9744
+ --tk-upload-dropzone-support: var(--text-sub-base);
9745
+ border-color: var(--border-light);
9746
+ background: var(--background-lightest);
9747
+ color: var(--text-sub-base);
9748
+ cursor: not-allowed;
9749
+ }
9750
+ .tk-upload[data-invalid] .tk-upload-dropzone {
9751
+ border-color: var(--states-danger-base);
9752
+ }
9753
+ .tk-upload[data-invalid] .tk-upload-item {
9754
+ border-color: var(--states-danger-sub-base);
9755
+ }
9756
+
9757
+ .tk-upload-dropzone {
9758
+ --tk-upload-dropzone-mark: var(--primary-base);
9759
+ --tk-upload-dropzone-support: var(--text-base);
9760
+ display: flex;
9761
+ flex-direction: column;
9762
+ align-items: center;
9763
+ justify-content: center;
9764
+ gap: var(--upload-basic-gap);
9765
+ padding: var(--upload-basic-v-padding) var(--upload-basic-h-padding);
9766
+ text-align: center;
9767
+ border: 1px dashed var(--border-sub-base);
9768
+ border-radius: var(--radius-m-base);
9769
+ background: transparent;
9770
+ color: var(--text-darkest);
9771
+ font-size: var(--desktop-body-s-size);
9772
+ line-height: var(--desktop-body-s-line-height);
9773
+ box-sizing: border-box;
9774
+ cursor: default;
9775
+ transition: border-color 160ms ease, background-color 160ms ease;
9776
+ }
9777
+
9778
+ .tk-upload-actions {
9779
+ display: flex;
9780
+ align-items: center;
9781
+ gap: var(--spacing-m-base);
9782
+ }
9783
+
9784
+ .tk-upload-list {
9785
+ display: flex;
9786
+ flex-direction: column;
9787
+ gap: var(--upload-card-gap);
9788
+ }
9789
+ .tk-upload-list::-webkit-scrollbar {
9790
+ width: 4px;
9791
+ height: 4px;
9792
+ }
9793
+ .tk-upload-list::-webkit-scrollbar-track {
9794
+ background: var(--background-lightest);
9795
+ border-radius: 2px;
9796
+ }
9797
+ .tk-upload-list::-webkit-scrollbar-thumb {
9798
+ border-radius: 3px;
9799
+ background: var(--secondary-sub-base);
9800
+ }
9801
+ .tk-upload-list::-webkit-scrollbar-thumb:hover {
9802
+ background: var(--secondary-dark);
9803
+ }
9804
+ .tk-upload-list::-webkit-scrollbar-corner {
9805
+ background: var(--background-lightest);
9806
+ }
9807
+
9808
+ .tk-upload-item {
9809
+ display: flex;
9810
+ align-items: flex-start;
9811
+ align-self: stretch;
9812
+ gap: var(--upload-card-gap);
9813
+ padding: var(--upload-card-v-padding) var(--upload-card-h-padding);
9814
+ border: 1px solid var(--border-sub-base);
9815
+ border-radius: var(--radius-m-base);
9816
+ background: var(--static-light);
9817
+ box-sizing: border-box;
9818
+ transition: border-color 160ms ease, background-color 160ms ease;
9819
+ }
9820
+ .tk-upload-item[data-status=completed] .tk-upload-item-status svg {
9821
+ color: var(--states-success-base);
9822
+ }
9823
+ .tk-upload-item[data-status=error] .tk-upload-item-status svg {
9824
+ color: var(--states-danger-base);
9825
+ }
9826
+
9827
+ .tk-upload-item-content {
9828
+ flex: 1 1 auto;
9829
+ min-width: 0;
9830
+ display: flex;
9831
+ flex-wrap: wrap;
9832
+ align-items: center;
9833
+ gap: var(--upload-card-content-gap) var(--spacing-m-base);
9834
+ }
9835
+ .tk-upload-item-content .tk-upload-item-name {
9836
+ flex: 1 1 100%;
9837
+ min-width: 0;
9838
+ overflow: hidden;
9839
+ text-overflow: ellipsis;
9840
+ white-space: nowrap;
9841
+ font-size: var(--desktop-body-s-size);
9842
+ line-height: var(--desktop-body-s-line-height);
9843
+ color: var(--text-darkest);
9844
+ }
9845
+ .tk-upload-item-content .tk-upload-item-size {
9846
+ font-size: var(--desktop-body-xs-size);
9847
+ font-weight: 300;
9848
+ line-height: var(--desktop-body-xs-line-height);
9849
+ color: var(--text-base);
9850
+ }
9851
+ .tk-upload-item-content .tk-upload-item-status {
9852
+ flex: 0 1 auto;
9853
+ min-width: 0;
9854
+ display: inline-flex;
9855
+ align-items: center;
9856
+ gap: 4px;
9857
+ font-size: var(--desktop-body-xs-size);
9858
+ font-weight: 300;
9859
+ line-height: var(--desktop-body-xs-line-height);
9860
+ color: var(--text-base);
9861
+ }
9862
+ .tk-upload-item-content .tk-upload-item-status svg {
9863
+ flex-shrink: 0;
9864
+ width: 16px;
9865
+ height: 16px;
9866
+ }
9867
+ .tk-upload-item-content .tk-upload-item-status .tk-spinner {
9868
+ flex-shrink: 0;
9869
+ --tk-spinner-size: 16px;
9870
+ }
9871
+ .tk-upload-item-content .tk-upload-item-progress {
9872
+ flex-basis: 100%;
9873
+ }
9874
+ .tk-upload-item-content .tk-upload-item-progress .tk-progress {
9875
+ inline-size: 100%;
9876
+ }
9877
+
9878
+ .tk-upload-item-preview {
9879
+ flex-shrink: 0;
9880
+ display: flex;
9881
+ align-items: center;
9882
+ justify-content: center;
9883
+ width: 40px;
9884
+ height: 40px;
9885
+ overflow: hidden;
9886
+ border-radius: var(--radius-s);
9887
+ color: var(--text-sub-base);
9888
+ box-sizing: border-box;
9889
+ }
9890
+ .tk-upload-item-preview .tk-upload-item-preview-image,
9891
+ .tk-upload-item-preview img {
9892
+ display: block;
9893
+ width: 100%;
9894
+ height: 100%;
9895
+ object-fit: cover;
9896
+ background: var(--background-light);
9897
+ }
9898
+ .tk-upload-item-preview .tk-upload-item-preview-icon {
9899
+ display: block;
9900
+ width: 100%;
9901
+ height: 100%;
9902
+ }
9903
+ .tk-upload-item-preview .tk-upload-item-preview-extension {
9904
+ display: flex;
9905
+ align-items: center;
9906
+ justify-content: center;
9907
+ width: 100%;
9908
+ height: 100%;
9909
+ border-radius: inherit;
9910
+ background: var(--background-light);
9911
+ font-size: var(--desktop-body-xs-size);
9912
+ font-weight: 600;
9913
+ text-transform: uppercase;
9914
+ }
9915
+
9916
+ .tk-upload-item-actions {
9917
+ margin-inline-start: auto;
9918
+ display: inline-flex;
9919
+ align-items: center;
9920
+ gap: var(--spacing-xs);
9921
+ flex-shrink: 0;
9922
+ }
9923
+ .tk-upload-item-actions:empty {
9924
+ display: none;
9925
+ }
9926
+
9927
+ .tk-upload-item-action {
9928
+ flex-shrink: 0;
9659
9929
  }