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