@revikornmann/muka-ui 0.34.0 → 0.35.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.
@@ -3680,88 +3680,6 @@ body {
3680
3680
  }
3681
3681
 
3682
3682
 
3683
- /* TextLink */
3684
- /* TextLink Component Styles - Using Muka Design Tokens */
3685
-
3686
- .muka-text-link {
3687
- display: inline;
3688
- cursor: pointer;
3689
- text-decoration: underline;
3690
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3691
- text-underline-offset: 0.2em;
3692
- text-decoration-thickness: from-font;
3693
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3694
- border-radius: var(--border-radius-sm);
3695
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3696
- }
3697
-
3698
- /* ─── Sizes ───────────────────────────────────────────────
3699
- Mirrors the body text scale so a link matches the copy it sits in. */
3700
- .muka-text-link--sm {
3701
- font-family: var(--text-body-sm-regular-fontFamily);
3702
- font-weight: var(--text-body-sm-regular-fontWeight);
3703
- font-size: var(--text-body-sm-regular-fontSize);
3704
- line-height: var(--text-body-sm-regular-lineHeight);
3705
- }
3706
-
3707
- .muka-text-link--base {
3708
- font-family: var(--text-body-base-regular-fontFamily);
3709
- font-weight: var(--text-body-base-regular-fontWeight);
3710
- font-size: var(--text-body-base-regular-fontSize);
3711
- line-height: var(--text-body-base-regular-lineHeight);
3712
- }
3713
-
3714
- .muka-text-link--lg {
3715
- font-family: var(--text-body-lg-regular-fontFamily);
3716
- font-weight: var(--text-body-lg-regular-fontWeight);
3717
- font-size: var(--text-body-lg-regular-fontSize);
3718
- line-height: var(--text-body-lg-regular-lineHeight);
3719
- }
3720
-
3721
- /* ─── Variant: default (accent) ───────────────────────────
3722
- Visited repeats the default colour on purpose: the design treats visited and
3723
- default the same, and pinning it stops the browser's purple from showing. */
3724
- .muka-text-link--default,
3725
- .muka-text-link--default:visited {
3726
- color: var(--color-text-action-default);
3727
- }
3728
-
3729
- .muka-text-link--default:hover,
3730
- .muka-text-link--default:focus-visible {
3731
- color: var(--color-text-action-hover);
3732
- }
3733
-
3734
- .muka-text-link--default:active {
3735
- color: var(--color-text-action-pressed);
3736
- }
3737
-
3738
- /* ─── Variant: subtle (neutral) ───────────────────────────
3739
- Hover, focus and pressed all darken to the default text colour. */
3740
- .muka-text-link--subtle,
3741
- .muka-text-link--subtle:visited {
3742
- color: var(--color-text-subtle-default);
3743
- }
3744
-
3745
- .muka-text-link--subtle:hover,
3746
- .muka-text-link--subtle:focus-visible,
3747
- .muka-text-link--subtle:active {
3748
- color: var(--color-text-default-default);
3749
- }
3750
-
3751
- /* ─── Focus ───────────────────────────────────────────────
3752
- Same ring as every other focusable Muka component. */
3753
- .muka-text-link:focus-visible {
3754
- outline: 2px solid var(--color-border-focus);
3755
- outline-offset: 2px;
3756
- }
3757
-
3758
- @media (prefers-reduced-motion: reduce) {
3759
- .muka-text-link {
3760
- transition: none;
3761
- }
3762
- }
3763
-
3764
-
3765
3683
  /* Thumbnail */
3766
3684
  /* Thumbnail Component Styles - Using Muka Design Tokens */
3767
3685
 
@@ -3947,6 +3865,252 @@ body {
3947
3865
  }
3948
3866
 
3949
3867
 
3868
+ /* Textarea */
3869
+ /* Textarea Component Styles - Using Muka Design Tokens */
3870
+
3871
+ .muka-textarea {
3872
+ display: inline-flex;
3873
+ flex-direction: column;
3874
+ gap: var(--spacing-2);
3875
+ }
3876
+
3877
+ /* Label */
3878
+ .muka-textarea__label {
3879
+ color: var(--color-text-default-default);
3880
+ cursor: pointer;
3881
+ }
3882
+
3883
+ .muka-textarea__label--sm {
3884
+ font-family: var(--text-label-sm-semibold-fontFamily);
3885
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3886
+ font-size: var(--text-label-sm-semibold-fontSize);
3887
+ line-height: var(--text-label-sm-semibold-lineHeight);
3888
+ }
3889
+
3890
+ .muka-textarea__label--md {
3891
+ font-family: var(--text-label-md-semibold-fontFamily);
3892
+ font-weight: var(--text-label-md-semibold-fontWeight);
3893
+ font-size: var(--text-label-md-semibold-fontSize);
3894
+ line-height: var(--text-label-md-semibold-lineHeight);
3895
+ }
3896
+
3897
+ .muka-textarea__label--lg {
3898
+ font-family: var(--text-label-lg-semibold-fontFamily);
3899
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3900
+ font-size: var(--text-label-lg-semibold-fontSize);
3901
+ line-height: var(--text-label-lg-semibold-lineHeight);
3902
+ }
3903
+
3904
+ .muka-textarea__required {
3905
+ color: var(--color-state-error-default);
3906
+ }
3907
+
3908
+ /* Field container */
3909
+ .muka-textarea__field {
3910
+ display: flex;
3911
+ background-color: var(--input-field-color-default-background);
3912
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3913
+ border-radius: var(--input-field-radius-md);
3914
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3915
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3916
+ box-sizing: border-box;
3917
+ }
3918
+
3919
+ .muka-textarea__field--sm {
3920
+ min-height: var(--input-textarea-height-sm);
3921
+ border-radius: var(--input-field-radius-sm);
3922
+ }
3923
+
3924
+ .muka-textarea__field--md {
3925
+ min-height: var(--input-textarea-height-default);
3926
+ border-radius: var(--input-field-radius-md);
3927
+ }
3928
+
3929
+ .muka-textarea__field--lg {
3930
+ min-height: var(--input-textarea-height-lg);
3931
+ border-radius: var(--input-field-radius-lg);
3932
+ }
3933
+
3934
+ /* Focus state */
3935
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3936
+ border-width: var(--border-width-bold);
3937
+ border-color: var(--input-field-color-focus-border);
3938
+ background-color: var(--input-field-color-focus-background);
3939
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3940
+ }
3941
+
3942
+ /* Error state */
3943
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3944
+ border-width: var(--border-width-bold);
3945
+ border-color: var(--input-field-color-error-border);
3946
+ background-color: var(--input-field-color-error-background);
3947
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3948
+ }
3949
+
3950
+ /* Disabled state */
3951
+ .muka-textarea__field--disabled {
3952
+ background-color: var(--input-field-color-disabled-background);
3953
+ border-color: var(--input-field-color-disabled-border);
3954
+ cursor: not-allowed;
3955
+ }
3956
+
3957
+ /* Native textarea */
3958
+ .muka-textarea__native {
3959
+ flex: 1;
3960
+ border: none;
3961
+ outline: none;
3962
+ background: transparent;
3963
+ color: var(--input-field-color-default-foreground);
3964
+ font-family: var(--text-input-md-fontFamily);
3965
+ font-weight: var(--text-input-md-fontWeight);
3966
+ font-size: var(--text-input-md-fontSize);
3967
+ line-height: var(--text-input-md-lineHeight);
3968
+ padding: 0;
3969
+ width: 100%;
3970
+ min-width: 0;
3971
+ }
3972
+
3973
+ .muka-textarea__field--sm .muka-textarea__native {
3974
+ font-family: var(--text-input-sm-fontFamily);
3975
+ font-weight: var(--text-input-sm-fontWeight);
3976
+ font-size: var(--text-input-sm-fontSize);
3977
+ line-height: var(--text-input-sm-lineHeight);
3978
+ }
3979
+
3980
+ .muka-textarea__field--lg .muka-textarea__native {
3981
+ font-family: var(--text-input-lg-fontFamily);
3982
+ font-weight: var(--text-input-lg-fontWeight);
3983
+ font-size: var(--text-input-lg-fontSize);
3984
+ line-height: var(--text-input-lg-lineHeight);
3985
+ }
3986
+
3987
+ .muka-textarea__native::placeholder {
3988
+ color: var(--color-text-subtle-default);
3989
+ }
3990
+
3991
+ .muka-textarea__field--disabled .muka-textarea__native {
3992
+ color: var(--input-field-color-disabled-foreground);
3993
+ cursor: not-allowed;
3994
+ }
3995
+
3996
+ /* Footer (helper/error + count) */
3997
+ .muka-textarea__footer {
3998
+ display: flex;
3999
+ justify-content: space-between;
4000
+ align-items: flex-start;
4001
+ gap: var(--spacing-2);
4002
+ }
4003
+
4004
+ .muka-textarea__helper {
4005
+ font-family: var(--text-label-sm-regular-fontFamily);
4006
+ font-weight: var(--text-label-sm-regular-fontWeight);
4007
+ font-size: var(--text-label-sm-regular-fontSize);
4008
+ line-height: var(--text-label-sm-regular-lineHeight);
4009
+ color: var(--color-text-subtle-default);
4010
+ margin: 0;
4011
+ }
4012
+
4013
+ .muka-textarea__error {
4014
+ font-family: var(--text-label-sm-regular-fontFamily);
4015
+ font-weight: var(--text-label-sm-regular-fontWeight);
4016
+ font-size: var(--text-label-sm-regular-fontSize);
4017
+ line-height: var(--text-label-sm-regular-lineHeight);
4018
+ color: var(--color-state-error-default);
4019
+ margin: 0;
4020
+ }
4021
+
4022
+ .muka-textarea__count {
4023
+ font-family: var(--text-label-sm-regular-fontFamily);
4024
+ font-weight: var(--text-label-sm-regular-fontWeight);
4025
+ font-size: var(--text-label-sm-regular-fontSize);
4026
+ line-height: var(--text-label-sm-regular-lineHeight);
4027
+ color: var(--color-text-subtle-default);
4028
+ margin-left: auto;
4029
+ }
4030
+
4031
+
4032
+ /* TextLink */
4033
+ /* TextLink Component Styles - Using Muka Design Tokens */
4034
+
4035
+ .muka-text-link {
4036
+ display: inline;
4037
+ cursor: pointer;
4038
+ text-decoration: underline;
4039
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4040
+ text-underline-offset: 0.2em;
4041
+ text-decoration-thickness: from-font;
4042
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4043
+ border-radius: var(--border-radius-sm);
4044
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4045
+ }
4046
+
4047
+ /* ─── Sizes ───────────────────────────────────────────────
4048
+ Mirrors the body text scale so a link matches the copy it sits in. */
4049
+ .muka-text-link--sm {
4050
+ font-family: var(--text-body-sm-regular-fontFamily);
4051
+ font-weight: var(--text-body-sm-regular-fontWeight);
4052
+ font-size: var(--text-body-sm-regular-fontSize);
4053
+ line-height: var(--text-body-sm-regular-lineHeight);
4054
+ }
4055
+
4056
+ .muka-text-link--base {
4057
+ font-family: var(--text-body-base-regular-fontFamily);
4058
+ font-weight: var(--text-body-base-regular-fontWeight);
4059
+ font-size: var(--text-body-base-regular-fontSize);
4060
+ line-height: var(--text-body-base-regular-lineHeight);
4061
+ }
4062
+
4063
+ .muka-text-link--lg {
4064
+ font-family: var(--text-body-lg-regular-fontFamily);
4065
+ font-weight: var(--text-body-lg-regular-fontWeight);
4066
+ font-size: var(--text-body-lg-regular-fontSize);
4067
+ line-height: var(--text-body-lg-regular-lineHeight);
4068
+ }
4069
+
4070
+ /* ─── Variant: default (accent) ───────────────────────────
4071
+ Visited repeats the default colour on purpose: the design treats visited and
4072
+ default the same, and pinning it stops the browser's purple from showing. */
4073
+ .muka-text-link--default,
4074
+ .muka-text-link--default:visited {
4075
+ color: var(--color-text-action-default);
4076
+ }
4077
+
4078
+ .muka-text-link--default:hover,
4079
+ .muka-text-link--default:focus-visible {
4080
+ color: var(--color-text-action-hover);
4081
+ }
4082
+
4083
+ .muka-text-link--default:active {
4084
+ color: var(--color-text-action-pressed);
4085
+ }
4086
+
4087
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4088
+ Hover, focus and pressed all darken to the default text colour. */
4089
+ .muka-text-link--subtle,
4090
+ .muka-text-link--subtle:visited {
4091
+ color: var(--color-text-subtle-default);
4092
+ }
4093
+
4094
+ .muka-text-link--subtle:hover,
4095
+ .muka-text-link--subtle:focus-visible,
4096
+ .muka-text-link--subtle:active {
4097
+ color: var(--color-text-default-default);
4098
+ }
4099
+
4100
+ /* ─── Focus ───────────────────────────────────────────────
4101
+ Same ring as every other focusable Muka component. */
4102
+ .muka-text-link:focus-visible {
4103
+ outline: 2px solid var(--color-border-focus);
4104
+ outline-offset: 2px;
4105
+ }
4106
+
4107
+ @media (prefers-reduced-motion: reduce) {
4108
+ .muka-text-link {
4109
+ transition: none;
4110
+ }
4111
+ }
4112
+
4113
+
3950
4114
  /* Tabs */
3951
4115
  /* Tabs Component Styles - Clean underline style tabs matching Figma */
3952
4116
 
@@ -4137,170 +4301,6 @@ body {
4137
4301
  }
4138
4302
 
4139
4303
 
4140
- /* Textarea */
4141
- /* Textarea Component Styles - Using Muka Design Tokens */
4142
-
4143
- .muka-textarea {
4144
- display: inline-flex;
4145
- flex-direction: column;
4146
- gap: var(--spacing-2);
4147
- }
4148
-
4149
- /* Label */
4150
- .muka-textarea__label {
4151
- color: var(--color-text-default-default);
4152
- cursor: pointer;
4153
- }
4154
-
4155
- .muka-textarea__label--sm {
4156
- font-family: var(--text-label-sm-semibold-fontFamily);
4157
- font-weight: var(--text-label-sm-semibold-fontWeight);
4158
- font-size: var(--text-label-sm-semibold-fontSize);
4159
- line-height: var(--text-label-sm-semibold-lineHeight);
4160
- }
4161
-
4162
- .muka-textarea__label--md {
4163
- font-family: var(--text-label-md-semibold-fontFamily);
4164
- font-weight: var(--text-label-md-semibold-fontWeight);
4165
- font-size: var(--text-label-md-semibold-fontSize);
4166
- line-height: var(--text-label-md-semibold-lineHeight);
4167
- }
4168
-
4169
- .muka-textarea__label--lg {
4170
- font-family: var(--text-label-lg-semibold-fontFamily);
4171
- font-weight: var(--text-label-lg-semibold-fontWeight);
4172
- font-size: var(--text-label-lg-semibold-fontSize);
4173
- line-height: var(--text-label-lg-semibold-lineHeight);
4174
- }
4175
-
4176
- .muka-textarea__required {
4177
- color: var(--color-state-error-default);
4178
- }
4179
-
4180
- /* Field container */
4181
- .muka-textarea__field {
4182
- display: flex;
4183
- background-color: var(--input-field-color-default-background);
4184
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
4185
- border-radius: var(--input-field-radius-md);
4186
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
4187
- transition: border-color 0.2s ease, background-color 0.2s ease;
4188
- box-sizing: border-box;
4189
- }
4190
-
4191
- .muka-textarea__field--sm {
4192
- min-height: var(--input-textarea-height-sm);
4193
- border-radius: var(--input-field-radius-sm);
4194
- }
4195
-
4196
- .muka-textarea__field--md {
4197
- min-height: var(--input-textarea-height-default);
4198
- border-radius: var(--input-field-radius-md);
4199
- }
4200
-
4201
- .muka-textarea__field--lg {
4202
- min-height: var(--input-textarea-height-lg);
4203
- border-radius: var(--input-field-radius-lg);
4204
- }
4205
-
4206
- /* Focus state */
4207
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4208
- border-width: var(--border-width-bold);
4209
- border-color: var(--input-field-color-focus-border);
4210
- background-color: var(--input-field-color-focus-background);
4211
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4212
- }
4213
-
4214
- /* Error state */
4215
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4216
- border-width: var(--border-width-bold);
4217
- border-color: var(--input-field-color-error-border);
4218
- background-color: var(--input-field-color-error-background);
4219
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4220
- }
4221
-
4222
- /* Disabled state */
4223
- .muka-textarea__field--disabled {
4224
- background-color: var(--input-field-color-disabled-background);
4225
- border-color: var(--input-field-color-disabled-border);
4226
- cursor: not-allowed;
4227
- }
4228
-
4229
- /* Native textarea */
4230
- .muka-textarea__native {
4231
- flex: 1;
4232
- border: none;
4233
- outline: none;
4234
- background: transparent;
4235
- color: var(--input-field-color-default-foreground);
4236
- font-family: var(--text-input-md-fontFamily);
4237
- font-weight: var(--text-input-md-fontWeight);
4238
- font-size: var(--text-input-md-fontSize);
4239
- line-height: var(--text-input-md-lineHeight);
4240
- padding: 0;
4241
- width: 100%;
4242
- min-width: 0;
4243
- }
4244
-
4245
- .muka-textarea__field--sm .muka-textarea__native {
4246
- font-family: var(--text-input-sm-fontFamily);
4247
- font-weight: var(--text-input-sm-fontWeight);
4248
- font-size: var(--text-input-sm-fontSize);
4249
- line-height: var(--text-input-sm-lineHeight);
4250
- }
4251
-
4252
- .muka-textarea__field--lg .muka-textarea__native {
4253
- font-family: var(--text-input-lg-fontFamily);
4254
- font-weight: var(--text-input-lg-fontWeight);
4255
- font-size: var(--text-input-lg-fontSize);
4256
- line-height: var(--text-input-lg-lineHeight);
4257
- }
4258
-
4259
- .muka-textarea__native::placeholder {
4260
- color: var(--color-text-subtle-default);
4261
- }
4262
-
4263
- .muka-textarea__field--disabled .muka-textarea__native {
4264
- color: var(--input-field-color-disabled-foreground);
4265
- cursor: not-allowed;
4266
- }
4267
-
4268
- /* Footer (helper/error + count) */
4269
- .muka-textarea__footer {
4270
- display: flex;
4271
- justify-content: space-between;
4272
- align-items: flex-start;
4273
- gap: var(--spacing-2);
4274
- }
4275
-
4276
- .muka-textarea__helper {
4277
- font-family: var(--text-label-sm-regular-fontFamily);
4278
- font-weight: var(--text-label-sm-regular-fontWeight);
4279
- font-size: var(--text-label-sm-regular-fontSize);
4280
- line-height: var(--text-label-sm-regular-lineHeight);
4281
- color: var(--color-text-subtle-default);
4282
- margin: 0;
4283
- }
4284
-
4285
- .muka-textarea__error {
4286
- font-family: var(--text-label-sm-regular-fontFamily);
4287
- font-weight: var(--text-label-sm-regular-fontWeight);
4288
- font-size: var(--text-label-sm-regular-fontSize);
4289
- line-height: var(--text-label-sm-regular-lineHeight);
4290
- color: var(--color-state-error-default);
4291
- margin: 0;
4292
- }
4293
-
4294
- .muka-textarea__count {
4295
- font-family: var(--text-label-sm-regular-fontFamily);
4296
- font-weight: var(--text-label-sm-regular-fontWeight);
4297
- font-size: var(--text-label-sm-regular-fontSize);
4298
- line-height: var(--text-label-sm-regular-lineHeight);
4299
- color: var(--color-text-subtle-default);
4300
- margin-left: auto;
4301
- }
4302
-
4303
-
4304
4304
  /* Table */
4305
4305
  /* Table Component Styles - Using Muka Design Tokens */
4306
4306
 
@@ -4354,6 +4354,20 @@ body {
4354
4354
  background-color: var(--color-surface-level0);
4355
4355
  }
4356
4356
 
4357
+ /* Plain (MUK-103): no tint; small subtle capitals under a section heading. */
4358
+ .muka-table__head--plain .muka-table__row {
4359
+ background-color: transparent;
4360
+ }
4361
+
4362
+ .muka-table__head--plain .muka-table__header-cell {
4363
+ font-family: var(--text-label-sm-regular-fontFamily);
4364
+ font-weight: var(--text-label-sm-regular-fontWeight);
4365
+ font-size: var(--text-label-sm-regular-fontSize);
4366
+ line-height: var(--text-label-sm-regular-lineHeight);
4367
+ color: var(--color-text-subtle-default);
4368
+ text-transform: uppercase;
4369
+ }
4370
+
4357
4371
  /* ========================================
4358
4372
  TABLE BODY
4359
4373
  ======================================== */
@@ -4530,6 +4544,20 @@ body {
4530
4544
  background-color: var(--color-surface-level0);
4531
4545
  }
4532
4546
 
4547
+ /* Plain (MUK-103): no tint; small subtle capitals under a section heading. */
4548
+ .muka-table__head--plain .muka-table__row {
4549
+ background-color: transparent;
4550
+ }
4551
+
4552
+ .muka-table__head--plain .muka-table__header-cell {
4553
+ font-family: var(--text-label-sm-regular-fontFamily);
4554
+ font-weight: var(--text-label-sm-regular-fontWeight);
4555
+ font-size: var(--text-label-sm-regular-fontSize);
4556
+ line-height: var(--text-label-sm-regular-lineHeight);
4557
+ color: var(--color-text-subtle-default);
4558
+ text-transform: uppercase;
4559
+ }
4560
+
4533
4561
  /* ========================================
4534
4562
  TABLE BODY
4535
4563
  ======================================== */
@@ -5074,6 +5102,86 @@ body {
5074
5102
  }
5075
5103
 
5076
5104
 
5105
+ /* Sheet */
5106
+ /* Sheet Component Styles */
5107
+
5108
+ /* ─── Backdrop ────────────────────────────────────────── */
5109
+
5110
+ .muka-sheet__overlay {
5111
+ position: fixed;
5112
+ inset: 0;
5113
+ background-color: var(--color-surface-backdrop);
5114
+ z-index: 50;
5115
+ }
5116
+
5117
+ /* ─── Surface ─────────────────────────────────────────── */
5118
+
5119
+ .muka-sheet {
5120
+ position: fixed;
5121
+ left: 0;
5122
+ right: 0;
5123
+ bottom: 0;
5124
+ z-index: 51;
5125
+
5126
+ display: flex;
5127
+ flex-direction: column;
5128
+
5129
+ max-height: 96dvh;
5130
+
5131
+ background-color: var(--color-surface-level3);
5132
+ border-top-left-radius: var(--radius-lg);
5133
+ border-top-right-radius: var(--radius-lg);
5134
+ box-shadow: var(--shadow-level5);
5135
+
5136
+ outline: none;
5137
+ }
5138
+
5139
+ /* Safe-area bottom inset for the iPhone home indicator. */
5140
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5141
+ padding-bottom: env(safe-area-inset-bottom);
5142
+ }
5143
+
5144
+ /* ─── Drag handle ─────────────────────────────────────── */
5145
+
5146
+ .muka-sheet__handle-container {
5147
+ display: flex;
5148
+ justify-content: center;
5149
+ flex-shrink: 0;
5150
+ padding: var(--spacing-3) 0;
5151
+ }
5152
+
5153
+ .muka-sheet__handle {
5154
+ width: var(--dialog-drag-handle-width);
5155
+ height: var(--dialog-drag-handle-height);
5156
+ background-color: var(--dialog-drag-handle-color);
5157
+ border-radius: var(--dialog-drag-handle-radius);
5158
+ }
5159
+
5160
+ /* ─── Body (scrollable) ───────────────────────────────── */
5161
+
5162
+ .muka-sheet__body {
5163
+ flex: 1 1 0%;
5164
+ min-height: 0;
5165
+ overflow-y: auto;
5166
+ -webkit-overflow-scrolling: touch;
5167
+ overscroll-behavior: contain;
5168
+ }
5169
+
5170
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5171
+
5172
+ .muka-sheet__sr-title {
5173
+ position: absolute;
5174
+ width: 1px;
5175
+ height: 1px;
5176
+ padding: 0;
5177
+ margin: -1px;
5178
+ overflow: hidden;
5179
+ clip: rect(0, 0, 0, 0);
5180
+ white-space: nowrap;
5181
+ border: 0;
5182
+ }
5183
+
5184
+
5077
5185
  /* SmsOtpField */
5078
5186
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5079
5187
 
@@ -5250,174 +5358,19 @@ body {
5250
5358
  font-family: var(--text-label-sm-regular-fontFamily);
5251
5359
  font-weight: var(--text-label-sm-regular-fontWeight);
5252
5360
  font-size: var(--text-label-sm-regular-fontSize);
5253
- line-height: var(--text-label-sm-regular-lineHeight);
5254
- color: var(--color-text-subtle-default);
5255
- margin: 0;
5256
- }
5257
-
5258
- /* Error message */
5259
- .muka-sms-otp-field__error {
5260
- font-family: var(--text-label-sm-regular-fontFamily);
5261
- font-weight: var(--text-label-sm-regular-fontWeight);
5262
- font-size: var(--text-label-sm-regular-fontSize);
5263
- line-height: var(--text-label-sm-regular-lineHeight);
5264
- color: var(--color-state-error-default);
5265
- margin: 0;
5266
- }
5267
-
5268
-
5269
- /* Skeleton */
5270
- /* Skeleton Component Styles */
5271
-
5272
- .muka-skeleton {
5273
- background-color: var(--color-surface-level1);
5274
- display: block;
5275
- }
5276
-
5277
- /* Variants */
5278
- .muka-skeleton--text {
5279
- height: 1em;
5280
- border-radius: var(--radius-md);
5281
- width: 100%;
5282
- }
5283
-
5284
- .muka-skeleton--circular {
5285
- width: 2.5rem;
5286
- height: 2.5rem;
5287
- border-radius: var(--radius-full);
5288
- }
5289
-
5290
- .muka-skeleton--rectangular {
5291
- height: 7.5rem;
5292
- border-radius: var(--radius-md);
5293
- width: 100%;
5294
- }
5295
-
5296
- /* Last line in multi-line text is shorter */
5297
- .muka-skeleton--last-line {
5298
- width: 80%;
5299
- }
5300
-
5301
- /* Lines container */
5302
- .muka-skeleton__lines {
5303
- display: flex;
5304
- flex-direction: column;
5305
- gap: var(--spacing-2);
5306
- }
5307
-
5308
- /* Shimmer animation */
5309
- @keyframes muka-skeleton-shimmer {
5310
- 0% {
5311
- background-position: -200% 0;
5312
- }
5313
- 100% {
5314
- background-position: 200% 0;
5315
- }
5316
- }
5317
-
5318
- .muka-skeleton--shimmer {
5319
- background: linear-gradient(
5320
- 90deg,
5321
- var(--color-surface-level1) 25%,
5322
- var(--color-surface-level2) 50%,
5323
- var(--color-surface-level1) 75%
5324
- );
5325
- background-size: 200% 100%;
5326
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5327
- }
5328
-
5329
- /* Pulse animation */
5330
- @keyframes muka-skeleton-pulse {
5331
- 0%, 100% {
5332
- opacity: 1;
5333
- }
5334
- 50% {
5335
- opacity: 0.4;
5336
- }
5337
- }
5338
-
5339
- .muka-skeleton--pulse {
5340
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5341
- }
5342
-
5343
-
5344
- /* Sheet */
5345
- /* Sheet Component Styles */
5346
-
5347
- /* ─── Backdrop ────────────────────────────────────────── */
5348
-
5349
- .muka-sheet__overlay {
5350
- position: fixed;
5351
- inset: 0;
5352
- background-color: var(--color-surface-backdrop);
5353
- z-index: 50;
5354
- }
5355
-
5356
- /* ─── Surface ─────────────────────────────────────────── */
5357
-
5358
- .muka-sheet {
5359
- position: fixed;
5360
- left: 0;
5361
- right: 0;
5362
- bottom: 0;
5363
- z-index: 51;
5364
-
5365
- display: flex;
5366
- flex-direction: column;
5367
-
5368
- max-height: 96dvh;
5369
-
5370
- background-color: var(--color-surface-level3);
5371
- border-top-left-radius: var(--radius-lg);
5372
- border-top-right-radius: var(--radius-lg);
5373
- box-shadow: var(--shadow-level5);
5374
-
5375
- outline: none;
5376
- }
5377
-
5378
- /* Safe-area bottom inset for the iPhone home indicator. */
5379
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5380
- padding-bottom: env(safe-area-inset-bottom);
5381
- }
5382
-
5383
- /* ─── Drag handle ─────────────────────────────────────── */
5384
-
5385
- .muka-sheet__handle-container {
5386
- display: flex;
5387
- justify-content: center;
5388
- flex-shrink: 0;
5389
- padding: var(--spacing-3) 0;
5390
- }
5391
-
5392
- .muka-sheet__handle {
5393
- width: var(--dialog-drag-handle-width);
5394
- height: var(--dialog-drag-handle-height);
5395
- background-color: var(--dialog-drag-handle-color);
5396
- border-radius: var(--dialog-drag-handle-radius);
5397
- }
5398
-
5399
- /* ─── Body (scrollable) ───────────────────────────────── */
5400
-
5401
- .muka-sheet__body {
5402
- flex: 1 1 0%;
5403
- min-height: 0;
5404
- overflow-y: auto;
5405
- -webkit-overflow-scrolling: touch;
5406
- overscroll-behavior: contain;
5361
+ line-height: var(--text-label-sm-regular-lineHeight);
5362
+ color: var(--color-text-subtle-default);
5363
+ margin: 0;
5407
5364
  }
5408
5365
 
5409
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5410
-
5411
- .muka-sheet__sr-title {
5412
- position: absolute;
5413
- width: 1px;
5414
- height: 1px;
5415
- padding: 0;
5416
- margin: -1px;
5417
- overflow: hidden;
5418
- clip: rect(0, 0, 0, 0);
5419
- white-space: nowrap;
5420
- border: 0;
5366
+ /* Error message */
5367
+ .muka-sms-otp-field__error {
5368
+ font-family: var(--text-label-sm-regular-fontFamily);
5369
+ font-weight: var(--text-label-sm-regular-fontWeight);
5370
+ font-size: var(--text-label-sm-regular-fontSize);
5371
+ line-height: var(--text-label-sm-regular-lineHeight);
5372
+ color: var(--color-state-error-default);
5373
+ margin: 0;
5421
5374
  }
5422
5375
 
5423
5376
 
@@ -5615,6 +5568,81 @@ body {
5615
5568
  }
5616
5569
 
5617
5570
 
5571
+ /* Skeleton */
5572
+ /* Skeleton Component Styles */
5573
+
5574
+ .muka-skeleton {
5575
+ background-color: var(--color-surface-level1);
5576
+ display: block;
5577
+ }
5578
+
5579
+ /* Variants */
5580
+ .muka-skeleton--text {
5581
+ height: 1em;
5582
+ border-radius: var(--radius-md);
5583
+ width: 100%;
5584
+ }
5585
+
5586
+ .muka-skeleton--circular {
5587
+ width: 2.5rem;
5588
+ height: 2.5rem;
5589
+ border-radius: var(--radius-full);
5590
+ }
5591
+
5592
+ .muka-skeleton--rectangular {
5593
+ height: 7.5rem;
5594
+ border-radius: var(--radius-md);
5595
+ width: 100%;
5596
+ }
5597
+
5598
+ /* Last line in multi-line text is shorter */
5599
+ .muka-skeleton--last-line {
5600
+ width: 80%;
5601
+ }
5602
+
5603
+ /* Lines container */
5604
+ .muka-skeleton__lines {
5605
+ display: flex;
5606
+ flex-direction: column;
5607
+ gap: var(--spacing-2);
5608
+ }
5609
+
5610
+ /* Shimmer animation */
5611
+ @keyframes muka-skeleton-shimmer {
5612
+ 0% {
5613
+ background-position: -200% 0;
5614
+ }
5615
+ 100% {
5616
+ background-position: 200% 0;
5617
+ }
5618
+ }
5619
+
5620
+ .muka-skeleton--shimmer {
5621
+ background: linear-gradient(
5622
+ 90deg,
5623
+ var(--color-surface-level1) 25%,
5624
+ var(--color-surface-level2) 50%,
5625
+ var(--color-surface-level1) 75%
5626
+ );
5627
+ background-size: 200% 100%;
5628
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5629
+ }
5630
+
5631
+ /* Pulse animation */
5632
+ @keyframes muka-skeleton-pulse {
5633
+ 0%, 100% {
5634
+ opacity: 1;
5635
+ }
5636
+ 50% {
5637
+ opacity: 0.4;
5638
+ }
5639
+ }
5640
+
5641
+ .muka-skeleton--pulse {
5642
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5643
+ }
5644
+
5645
+
5618
5646
  /* SegmentGroup */
5619
5647
  /* SegmentGroup Component Styles - Using Muka Design Tokens */
5620
5648
 
@@ -5757,241 +5785,72 @@ body {
5757
5785
  }
5758
5786
  .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
5759
5787
  width: 24px;
5760
- height: 24px;
5761
- }
5762
-
5763
- /* Icon */
5764
- .muka-segmentgroup__icon {
5765
- display: inline-flex;
5766
- align-items: center;
5767
- justify-content: center;
5768
- }
5769
-
5770
- /* Selected state */
5771
- .muka-segmentgroup__segment--selected {
5772
- background-color: transparent;
5773
- box-shadow: none;
5774
- color: var(--segmentgroup-segment-color-selected-foreground);
5775
- z-index: 2; /* Highlight pill when focused is tested below */
5776
- }
5777
-
5778
- /* Hover state (only for unselected) */
5779
- .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
5780
- color: var(--segmentgroup-segment-color-hover-foreground);
5781
- }
5782
-
5783
- /* Focus visible */
5784
- .muka-segmentgroup__segment:focus-visible {
5785
- outline: 2px solid var(--color-border-focus);
5786
- outline-offset: 2px;
5787
- z-index: 2;
5788
- }
5789
-
5790
- /* Disabled state */
5791
- .muka-segmentgroup__segment--disabled,
5792
- .muka-segmentgroup__segment:disabled {
5793
- cursor: not-allowed;
5794
- opacity: 0.5;
5795
- }
5796
-
5797
- /* Label */
5798
- .muka-segmentgroup__label {
5799
- display: inline-flex;
5800
- align-items: center;
5801
- white-space: nowrap;
5802
- user-select: none;
5803
- }
5804
-
5805
-
5806
- /* Section */
5807
- /* Section Component - Layout tokens (section.padding) */
5808
-
5809
- .muka-section {
5810
- box-sizing: border-box;
5811
- }
5812
-
5813
- .muka-section--padding-compact {
5814
- padding-block: var(--section-padding-vertical-compact);
5815
- padding-inline: var(--section-padding-horizontal-compact);
5816
- }
5817
-
5818
- .muka-section--padding-default {
5819
- padding-block: var(--section-padding-vertical-default);
5820
- padding-inline: var(--section-padding-horizontal-default);
5821
- }
5822
-
5823
- .muka-section--padding-spacious {
5824
- padding-block: var(--section-padding-vertical-spacious);
5825
- padding-inline: var(--section-padding-horizontal-spacious);
5826
- }
5827
-
5828
-
5829
- /* SearchInput */
5830
- /* SearchInput Component Styles */
5831
-
5832
- .muka-search-input {
5833
- display: flex;
5834
- align-items: center;
5835
- gap: var(--spacing-3);
5836
- width: 100%;
5837
- }
5838
-
5839
- /* ─── Field wrapper ───────────────────────────────────── */
5840
-
5841
- .muka-search-input__field {
5842
- flex: 1 1 auto;
5843
- display: flex;
5844
- align-items: center;
5845
- gap: var(--spacing-2);
5846
- background-color: var(--input-field-color-default-background);
5847
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
5848
- border-radius: var(--input-field-radius-md);
5849
- padding: 0 var(--input-field-padding-x);
5850
- transition: border-color 0.12s ease, background-color 0.12s ease;
5851
- }
5852
-
5853
- .muka-search-input--focused .muka-search-input__field {
5854
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
5855
- }
5856
-
5857
- /* ─── Sizes ───────────────────────────────────────────── */
5858
-
5859
- .muka-search-input--sm .muka-search-input__field {
5860
- min-height: var(--input-field-height-sm);
5861
- border-radius: var(--input-field-radius-sm);
5862
- }
5863
-
5864
- .muka-search-input--md .muka-search-input__field {
5865
- min-height: var(--input-field-height-default);
5866
- }
5867
-
5868
- .muka-search-input--lg .muka-search-input__field {
5869
- min-height: var(--input-field-height-lg);
5870
- border-radius: var(--input-field-radius-lg);
5871
- }
5872
-
5873
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
5874
-
5875
- .muka-search-input--embedded .muka-search-input__field {
5876
- background-color: var(--color-surface-level1);
5877
- border-color: transparent;
5878
- }
5879
-
5880
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
5881
- border-color: transparent;
5882
- background-color: var(--color-surface-level2);
5883
- }
5884
-
5885
- /* ─── Disabled ────────────────────────────────────────── */
5886
-
5887
- .muka-search-input--disabled .muka-search-input__field {
5888
- opacity: 0.5;
5889
- pointer-events: none;
5890
- }
5891
-
5892
- /* ─── Leading icon ────────────────────────────────────── */
5893
-
5894
- .muka-search-input__leading {
5895
- display: inline-flex;
5896
- align-items: center;
5897
- justify-content: center;
5898
- flex-shrink: 0;
5899
- color: var(--color-text-subtle-default);
5900
- }
5901
-
5902
- /* ─── Input element ───────────────────────────────────── */
5903
-
5904
- .muka-search-input__input {
5905
- flex: 1 1 auto;
5906
- min-width: 0;
5907
- border: none;
5908
- background: transparent;
5909
- outline: none;
5910
- padding: 0;
5911
- color: var(--color-text-default-default);
5912
- font-family: var(--text-body-base-regular-fontFamily);
5913
- font-weight: var(--text-body-base-regular-fontWeight);
5914
- font-size: var(--text-body-base-regular-fontSize);
5915
- line-height: var(--text-body-base-regular-lineHeight);
5916
- appearance: none;
5917
- -webkit-appearance: none;
5788
+ height: 24px;
5918
5789
  }
5919
5790
 
5920
- .muka-search-input__input::placeholder {
5921
- color: var(--color-text-subtle-default);
5791
+ /* Icon */
5792
+ .muka-segmentgroup__icon {
5793
+ display: inline-flex;
5794
+ align-items: center;
5795
+ justify-content: center;
5922
5796
  }
5923
5797
 
5924
- /* Hide the browser-supplied clear button (WebKit + Edge) */
5925
- .muka-search-input__input::-webkit-search-cancel-button,
5926
- .muka-search-input__input::-webkit-search-decoration {
5927
- -webkit-appearance: none;
5928
- appearance: none;
5798
+ /* Selected state */
5799
+ .muka-segmentgroup__segment--selected {
5800
+ background-color: transparent;
5801
+ box-shadow: none;
5802
+ color: var(--segmentgroup-segment-color-selected-foreground);
5803
+ z-index: 2; /* Highlight pill when focused is tested below */
5929
5804
  }
5930
5805
 
5931
- .muka-search-input__input::-ms-clear {
5932
- display: none;
5806
+ /* Hover state (only for unselected) */
5807
+ .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
5808
+ color: var(--segmentgroup-segment-color-hover-foreground);
5933
5809
  }
5934
5810
 
5935
- /* ─── Trailing slot (loading spinner) ─────────────────── */
5936
-
5937
- .muka-search-input__trailing {
5938
- display: inline-flex;
5939
- align-items: center;
5940
- justify-content: center;
5941
- flex-shrink: 0;
5811
+ /* Focus visible */
5812
+ .muka-segmentgroup__segment:focus-visible {
5813
+ outline: 2px solid var(--color-border-focus);
5814
+ outline-offset: 2px;
5815
+ z-index: 2;
5942
5816
  }
5943
5817
 
5944
- /* ─── Clear button ────────────────────────────────────── */
5818
+ /* Disabled state */
5819
+ .muka-segmentgroup__segment--disabled,
5820
+ .muka-segmentgroup__segment:disabled {
5821
+ cursor: not-allowed;
5822
+ opacity: 0.5;
5823
+ }
5945
5824
 
5946
- .muka-search-input__clear {
5825
+ /* Label */
5826
+ .muka-segmentgroup__label {
5947
5827
  display: inline-flex;
5948
5828
  align-items: center;
5949
- justify-content: center;
5950
- width: 20px;
5951
- height: 20px;
5952
- border: none;
5953
- background: none;
5954
- padding: 0;
5955
- cursor: pointer;
5956
- color: var(--color-text-subtle-default);
5957
- flex-shrink: 0;
5958
- -webkit-tap-highlight-color: transparent;
5829
+ white-space: nowrap;
5830
+ user-select: none;
5959
5831
  }
5960
5832
 
5961
- .muka-search-input__clear:hover {
5962
- color: var(--color-text-default-default);
5963
- }
5964
5833
 
5965
- .muka-search-input__clear:focus-visible {
5966
- outline: 2px solid var(--color-action-default);
5967
- outline-offset: 2px;
5968
- border-radius: 50%;
5969
- }
5834
+ /* Section */
5835
+ /* Section Component - Layout tokens (section.padding) */
5970
5836
 
5971
- /* ─── Cancel button ───────────────────────────────────── */
5837
+ .muka-section {
5838
+ box-sizing: border-box;
5839
+ }
5972
5840
 
5973
- .muka-search-input__cancel {
5974
- flex-shrink: 0;
5975
- background: none;
5976
- border: none;
5977
- padding: var(--spacing-1) var(--spacing-2);
5978
- cursor: pointer;
5979
- color: var(--color-action-default);
5980
- font-family: var(--text-label-md-regular-fontFamily);
5981
- font-weight: var(--text-label-md-regular-fontWeight);
5982
- font-size: var(--text-label-md-regular-fontSize);
5983
- line-height: var(--text-label-md-regular-lineHeight);
5984
- -webkit-tap-highlight-color: transparent;
5841
+ .muka-section--padding-compact {
5842
+ padding-block: var(--section-padding-vertical-compact);
5843
+ padding-inline: var(--section-padding-horizontal-compact);
5985
5844
  }
5986
5845
 
5987
- .muka-search-input__cancel:hover {
5988
- color: var(--color-action-hover);
5846
+ .muka-section--padding-default {
5847
+ padding-block: var(--section-padding-vertical-default);
5848
+ padding-inline: var(--section-padding-horizontal-default);
5989
5849
  }
5990
5850
 
5991
- .muka-search-input__cancel:focus-visible {
5992
- outline: 2px solid var(--color-action-default);
5993
- outline-offset: 2px;
5994
- border-radius: var(--radius-sm);
5851
+ .muka-section--padding-spacious {
5852
+ padding-block: var(--section-padding-vertical-spacious);
5853
+ padding-inline: var(--section-padding-horizontal-spacious);
5995
5854
  }
5996
5855
 
5997
5856
 
@@ -6467,67 +6326,236 @@ body {
6467
6326
  border-radius: var(--border-radius-sm);
6468
6327
  }
6469
6328
 
6470
- .muka-radio-tile__image img {
6471
- display: block;
6472
- width: 100%;
6473
- height: 100%;
6474
- object-fit: cover;
6329
+ .muka-radio-tile__image img {
6330
+ display: block;
6331
+ width: 100%;
6332
+ height: 100%;
6333
+ object-fit: cover;
6334
+ }
6335
+
6336
+ /* Horizontal image sizing */
6337
+ .muka-radio-tile__image--horizontal {
6338
+ width: 40px;
6339
+ height: 40px;
6340
+ }
6341
+
6342
+ /* Vertical image sizing */
6343
+ .muka-radio-tile--vertical .muka-radio-tile__image {
6344
+ width: 100%;
6345
+ aspect-ratio: 4/3;
6346
+ }
6347
+
6348
+ /* Content container */
6349
+ .muka-radio-tile__content {
6350
+ display: flex;
6351
+ flex-direction: column;
6352
+ flex: 1;
6353
+ min-width: 0;
6354
+ gap: var(--spacing-1);
6355
+ }
6356
+
6357
+ /* Label */
6358
+ .muka-radio-tile__label {
6359
+ font-family: var(--text-body-lg-regular-fontFamily);
6360
+ font-weight: var(--text-body-lg-regular-fontWeight);
6361
+ font-size: var(--text-body-lg-regular-fontSize);
6362
+ line-height: var(--text-body-lg-regular-lineHeight);
6363
+ color: var(--color-text-default-default);
6364
+ }
6365
+
6366
+ .muka-radio-tile__label--bold {
6367
+ font-family: var(--text-label-lg-semibold-fontFamily);
6368
+ font-weight: var(--text-label-lg-semibold-fontWeight);
6369
+ font-size: var(--text-label-lg-semibold-fontSize);
6370
+ line-height: var(--text-label-lg-semibold-lineHeight);
6371
+ }
6372
+
6373
+ .muka-radio-tile__label--center {
6374
+ text-align: center;
6375
+ }
6376
+
6377
+ /* Caption */
6378
+ .muka-radio-tile__caption {
6379
+ font-family: var(--text-body-base-regular-fontFamily);
6380
+ font-weight: var(--text-body-base-regular-fontWeight);
6381
+ font-size: var(--text-body-base-regular-fontSize);
6382
+ line-height: var(--text-body-base-regular-lineHeight);
6383
+ color: var(--color-text-subtle-default);
6384
+ }
6385
+
6386
+ /* Disabled states */
6387
+ .muka-radio-tile--disabled .muka-radio-tile__label,
6388
+ .muka-radio-tile--disabled .muka-radio-tile__icon {
6389
+ color: var(--color-text-subtle-default);
6390
+ }
6391
+
6392
+
6393
+ /* SearchInput */
6394
+ /* SearchInput Component Styles */
6395
+
6396
+ .muka-search-input {
6397
+ display: flex;
6398
+ align-items: center;
6399
+ gap: var(--spacing-3);
6400
+ width: 100%;
6401
+ }
6402
+
6403
+ /* ─── Field wrapper ───────────────────────────────────── */
6404
+
6405
+ .muka-search-input__field {
6406
+ flex: 1 1 auto;
6407
+ display: flex;
6408
+ align-items: center;
6409
+ gap: var(--spacing-2);
6410
+ background-color: var(--input-field-color-default-background);
6411
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6412
+ border-radius: var(--input-field-radius-md);
6413
+ padding: 0 var(--input-field-padding-x);
6414
+ transition: border-color 0.12s ease, background-color 0.12s ease;
6415
+ }
6416
+
6417
+ .muka-search-input--focused .muka-search-input__field {
6418
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
6419
+ }
6420
+
6421
+ /* ─── Sizes ───────────────────────────────────────────── */
6422
+
6423
+ .muka-search-input--sm .muka-search-input__field {
6424
+ min-height: var(--input-field-height-sm);
6425
+ border-radius: var(--input-field-radius-sm);
6426
+ }
6427
+
6428
+ .muka-search-input--md .muka-search-input__field {
6429
+ min-height: var(--input-field-height-default);
6430
+ }
6431
+
6432
+ .muka-search-input--lg .muka-search-input__field {
6433
+ min-height: var(--input-field-height-lg);
6434
+ border-radius: var(--input-field-radius-lg);
6435
+ }
6436
+
6437
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6438
+
6439
+ .muka-search-input--embedded .muka-search-input__field {
6440
+ background-color: var(--color-surface-level1);
6441
+ border-color: transparent;
6442
+ }
6443
+
6444
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6445
+ border-color: transparent;
6446
+ background-color: var(--color-surface-level2);
6447
+ }
6448
+
6449
+ /* ─── Disabled ────────────────────────────────────────── */
6450
+
6451
+ .muka-search-input--disabled .muka-search-input__field {
6452
+ opacity: 0.5;
6453
+ pointer-events: none;
6454
+ }
6455
+
6456
+ /* ─── Leading icon ────────────────────────────────────── */
6457
+
6458
+ .muka-search-input__leading {
6459
+ display: inline-flex;
6460
+ align-items: center;
6461
+ justify-content: center;
6462
+ flex-shrink: 0;
6463
+ color: var(--color-text-subtle-default);
6464
+ }
6465
+
6466
+ /* ─── Input element ───────────────────────────────────── */
6467
+
6468
+ .muka-search-input__input {
6469
+ flex: 1 1 auto;
6470
+ min-width: 0;
6471
+ border: none;
6472
+ background: transparent;
6473
+ outline: none;
6474
+ padding: 0;
6475
+ color: var(--color-text-default-default);
6476
+ font-family: var(--text-body-base-regular-fontFamily);
6477
+ font-weight: var(--text-body-base-regular-fontWeight);
6478
+ font-size: var(--text-body-base-regular-fontSize);
6479
+ line-height: var(--text-body-base-regular-lineHeight);
6480
+ appearance: none;
6481
+ -webkit-appearance: none;
6482
+ }
6483
+
6484
+ .muka-search-input__input::placeholder {
6485
+ color: var(--color-text-subtle-default);
6486
+ }
6487
+
6488
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
6489
+ .muka-search-input__input::-webkit-search-cancel-button,
6490
+ .muka-search-input__input::-webkit-search-decoration {
6491
+ -webkit-appearance: none;
6492
+ appearance: none;
6475
6493
  }
6476
6494
 
6477
- /* Horizontal image sizing */
6478
- .muka-radio-tile__image--horizontal {
6479
- width: 40px;
6480
- height: 40px;
6495
+ .muka-search-input__input::-ms-clear {
6496
+ display: none;
6481
6497
  }
6482
6498
 
6483
- /* Vertical image sizing */
6484
- .muka-radio-tile--vertical .muka-radio-tile__image {
6485
- width: 100%;
6486
- aspect-ratio: 4/3;
6499
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
6500
+
6501
+ .muka-search-input__trailing {
6502
+ display: inline-flex;
6503
+ align-items: center;
6504
+ justify-content: center;
6505
+ flex-shrink: 0;
6487
6506
  }
6488
6507
 
6489
- /* Content container */
6490
- .muka-radio-tile__content {
6491
- display: flex;
6492
- flex-direction: column;
6493
- flex: 1;
6494
- min-width: 0;
6495
- gap: var(--spacing-1);
6508
+ /* ─── Clear button ────────────────────────────────────── */
6509
+
6510
+ .muka-search-input__clear {
6511
+ display: inline-flex;
6512
+ align-items: center;
6513
+ justify-content: center;
6514
+ width: 20px;
6515
+ height: 20px;
6516
+ border: none;
6517
+ background: none;
6518
+ padding: 0;
6519
+ cursor: pointer;
6520
+ color: var(--color-text-subtle-default);
6521
+ flex-shrink: 0;
6522
+ -webkit-tap-highlight-color: transparent;
6496
6523
  }
6497
6524
 
6498
- /* Label */
6499
- .muka-radio-tile__label {
6500
- font-family: var(--text-body-lg-regular-fontFamily);
6501
- font-weight: var(--text-body-lg-regular-fontWeight);
6502
- font-size: var(--text-body-lg-regular-fontSize);
6503
- line-height: var(--text-body-lg-regular-lineHeight);
6525
+ .muka-search-input__clear:hover {
6504
6526
  color: var(--color-text-default-default);
6505
6527
  }
6506
6528
 
6507
- .muka-radio-tile__label--bold {
6508
- font-family: var(--text-label-lg-semibold-fontFamily);
6509
- font-weight: var(--text-label-lg-semibold-fontWeight);
6510
- font-size: var(--text-label-lg-semibold-fontSize);
6511
- line-height: var(--text-label-lg-semibold-lineHeight);
6529
+ .muka-search-input__clear:focus-visible {
6530
+ outline: 2px solid var(--color-action-default);
6531
+ outline-offset: 2px;
6532
+ border-radius: 50%;
6512
6533
  }
6513
6534
 
6514
- .muka-radio-tile__label--center {
6515
- text-align: center;
6535
+ /* ─── Cancel button ───────────────────────────────────── */
6536
+
6537
+ .muka-search-input__cancel {
6538
+ flex-shrink: 0;
6539
+ background: none;
6540
+ border: none;
6541
+ padding: var(--spacing-1) var(--spacing-2);
6542
+ cursor: pointer;
6543
+ color: var(--color-action-default);
6544
+ font-family: var(--text-label-md-regular-fontFamily);
6545
+ font-weight: var(--text-label-md-regular-fontWeight);
6546
+ font-size: var(--text-label-md-regular-fontSize);
6547
+ line-height: var(--text-label-md-regular-lineHeight);
6548
+ -webkit-tap-highlight-color: transparent;
6516
6549
  }
6517
6550
 
6518
- /* Caption */
6519
- .muka-radio-tile__caption {
6520
- font-family: var(--text-body-base-regular-fontFamily);
6521
- font-weight: var(--text-body-base-regular-fontWeight);
6522
- font-size: var(--text-body-base-regular-fontSize);
6523
- line-height: var(--text-body-base-regular-lineHeight);
6524
- color: var(--color-text-subtle-default);
6551
+ .muka-search-input__cancel:hover {
6552
+ color: var(--color-action-hover);
6525
6553
  }
6526
6554
 
6527
- /* Disabled states */
6528
- .muka-radio-tile--disabled .muka-radio-tile__label,
6529
- .muka-radio-tile--disabled .muka-radio-tile__icon {
6530
- color: var(--color-text-subtle-default);
6555
+ .muka-search-input__cancel:focus-visible {
6556
+ outline: 2px solid var(--color-action-default);
6557
+ outline-offset: 2px;
6558
+ border-radius: var(--radius-sm);
6531
6559
  }
6532
6560
 
6533
6561
 
@@ -7884,37 +7912,6 @@ button.muka-progress-tracker__tab:focus-visible {
7884
7912
  }
7885
7913
 
7886
7914
 
7887
- /* Popover */
7888
- /* Popover Component Styles */
7889
-
7890
- .muka-popover__content {
7891
- background-color: var(--color-surface-level3);
7892
- border: var(--border-width-regular) solid var(--color-border-default);
7893
- border-radius: var(--radius-md);
7894
- padding: var(--spacing-4);
7895
- box-shadow: var(--shadow-level3);
7896
- max-width: 20rem;
7897
- z-index: 50;
7898
- animation: muka-popover-fade-in 150ms ease;
7899
- }
7900
-
7901
- @keyframes muka-popover-fade-in {
7902
- from {
7903
- opacity: 0;
7904
- transform: scale(0.96);
7905
- }
7906
- to {
7907
- opacity: 1;
7908
- transform: scale(1);
7909
- }
7910
- }
7911
-
7912
- /* Arrow */
7913
- .muka-popover__arrow {
7914
- fill: var(--color-surface-level3);
7915
- }
7916
-
7917
-
7918
7915
  /* PieChart */
7919
7916
  /* PieChart Component Styles - Using Muka Design Tokens */
7920
7917
 
@@ -8260,6 +8257,37 @@ button.muka-progress-tracker__tab:focus-visible {
8260
8257
  }
8261
8258
 
8262
8259
 
8260
+ /* Popover */
8261
+ /* Popover Component Styles */
8262
+
8263
+ .muka-popover__content {
8264
+ background-color: var(--color-surface-level3);
8265
+ border: var(--border-width-regular) solid var(--color-border-default);
8266
+ border-radius: var(--radius-md);
8267
+ padding: var(--spacing-4);
8268
+ box-shadow: var(--shadow-level3);
8269
+ max-width: 20rem;
8270
+ z-index: 50;
8271
+ animation: muka-popover-fade-in 150ms ease;
8272
+ }
8273
+
8274
+ @keyframes muka-popover-fade-in {
8275
+ from {
8276
+ opacity: 0;
8277
+ transform: scale(0.96);
8278
+ }
8279
+ to {
8280
+ opacity: 1;
8281
+ transform: scale(1);
8282
+ }
8283
+ }
8284
+
8285
+ /* Arrow */
8286
+ .muka-popover__arrow {
8287
+ fill: var(--color-surface-level3);
8288
+ }
8289
+
8290
+
8263
8291
  /* NumberInput */
8264
8292
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
8265
8293
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -9870,6 +9898,26 @@ li.muka-listitem {
9870
9898
  }
9871
9899
 
9872
9900
 
9901
+ /* Form */
9902
+ .muka-form {
9903
+ display: flex;
9904
+ flex-direction: column;
9905
+ width: 100%;
9906
+ }
9907
+
9908
+ .muka-form--gap-sm {
9909
+ gap: var(--size-sm);
9910
+ }
9911
+
9912
+ .muka-form--gap-md {
9913
+ gap: var(--size-md);
9914
+ }
9915
+
9916
+ .muka-form--gap-lg {
9917
+ gap: var(--size-lg);
9918
+ }
9919
+
9920
+
9873
9921
  /* Icon */
9874
9922
  /* Icon Component Styles - Using Muka Design Tokens */
9875
9923
 
@@ -9924,26 +9972,6 @@ li.muka-listitem {
9924
9972
  }
9925
9973
 
9926
9974
 
9927
- /* Form */
9928
- .muka-form {
9929
- display: flex;
9930
- flex-direction: column;
9931
- width: 100%;
9932
- }
9933
-
9934
- .muka-form--gap-sm {
9935
- gap: var(--size-sm);
9936
- }
9937
-
9938
- .muka-form--gap-md {
9939
- gap: var(--size-md);
9940
- }
9941
-
9942
- .muka-form--gap-lg {
9943
- gap: var(--size-lg);
9944
- }
9945
-
9946
-
9947
9975
  /* FileUpload */
9948
9976
  /* FileUpload Component Styles */
9949
9977
 
@@ -11173,33 +11201,6 @@ li.muka-listitem {
11173
11201
  }
11174
11202
 
11175
11203
 
11176
- /* Divider */
11177
- /* Divider Component Styles - Using Muka Design Tokens */
11178
-
11179
- .muka-divider {
11180
- flex-shrink: 0;
11181
- }
11182
-
11183
- .muka-divider--horizontal {
11184
- width: 100%;
11185
- height: var(--separator-width);
11186
- }
11187
-
11188
- .muka-divider--vertical {
11189
- height: 100%;
11190
- width: var(--separator-width);
11191
- align-self: stretch;
11192
- }
11193
-
11194
- .muka-divider--default {
11195
- background-color: var(--separator-color-default);
11196
- }
11197
-
11198
- .muka-divider--contrast {
11199
- background-color: var(--separator-color-contrast);
11200
- }
11201
-
11202
-
11203
11204
  /* Dialog */
11204
11205
  /* Dialog Component Styles */
11205
11206
 
@@ -11471,6 +11472,33 @@ li.muka-listitem {
11471
11472
  }
11472
11473
 
11473
11474
 
11475
+ /* Divider */
11476
+ /* Divider Component Styles - Using Muka Design Tokens */
11477
+
11478
+ .muka-divider {
11479
+ flex-shrink: 0;
11480
+ }
11481
+
11482
+ .muka-divider--horizontal {
11483
+ width: 100%;
11484
+ height: var(--separator-width);
11485
+ }
11486
+
11487
+ .muka-divider--vertical {
11488
+ height: 100%;
11489
+ width: var(--separator-width);
11490
+ align-self: stretch;
11491
+ }
11492
+
11493
+ .muka-divider--default {
11494
+ background-color: var(--separator-color-default);
11495
+ }
11496
+
11497
+ .muka-divider--contrast {
11498
+ background-color: var(--separator-color-contrast);
11499
+ }
11500
+
11501
+
11474
11502
  /* DatePicker */
11475
11503
  /* DatePicker — compact native date field. */
11476
11504
  /* Field/label/helper styling is inherited from ../Input/Input.css. */