@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.
@@ -3648,88 +3648,6 @@ body {
3648
3648
  }
3649
3649
 
3650
3650
 
3651
- /* TextLink */
3652
- /* TextLink Component Styles - Using Muka Design Tokens */
3653
-
3654
- .muka-text-link {
3655
- display: inline;
3656
- cursor: pointer;
3657
- text-decoration: underline;
3658
- /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
3659
- text-underline-offset: 0.2em;
3660
- text-decoration-thickness: from-font;
3661
- /* Rounds the focus ring's corners; the link itself has no visible box. */
3662
- border-radius: var(--border-radius-sm);
3663
- transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
3664
- }
3665
-
3666
- /* ─── Sizes ───────────────────────────────────────────────
3667
- Mirrors the body text scale so a link matches the copy it sits in. */
3668
- .muka-text-link--sm {
3669
- font-family: var(--text-body-sm-regular-fontFamily);
3670
- font-weight: var(--text-body-sm-regular-fontWeight);
3671
- font-size: var(--text-body-sm-regular-fontSize);
3672
- line-height: var(--text-body-sm-regular-lineHeight);
3673
- }
3674
-
3675
- .muka-text-link--base {
3676
- font-family: var(--text-body-base-regular-fontFamily);
3677
- font-weight: var(--text-body-base-regular-fontWeight);
3678
- font-size: var(--text-body-base-regular-fontSize);
3679
- line-height: var(--text-body-base-regular-lineHeight);
3680
- }
3681
-
3682
- .muka-text-link--lg {
3683
- font-family: var(--text-body-lg-regular-fontFamily);
3684
- font-weight: var(--text-body-lg-regular-fontWeight);
3685
- font-size: var(--text-body-lg-regular-fontSize);
3686
- line-height: var(--text-body-lg-regular-lineHeight);
3687
- }
3688
-
3689
- /* ─── Variant: default (accent) ───────────────────────────
3690
- Visited repeats the default colour on purpose: the design treats visited and
3691
- default the same, and pinning it stops the browser's purple from showing. */
3692
- .muka-text-link--default,
3693
- .muka-text-link--default:visited {
3694
- color: var(--color-text-action-default);
3695
- }
3696
-
3697
- .muka-text-link--default:hover,
3698
- .muka-text-link--default:focus-visible {
3699
- color: var(--color-text-action-hover);
3700
- }
3701
-
3702
- .muka-text-link--default:active {
3703
- color: var(--color-text-action-pressed);
3704
- }
3705
-
3706
- /* ─── Variant: subtle (neutral) ───────────────────────────
3707
- Hover, focus and pressed all darken to the default text colour. */
3708
- .muka-text-link--subtle,
3709
- .muka-text-link--subtle:visited {
3710
- color: var(--color-text-subtle-default);
3711
- }
3712
-
3713
- .muka-text-link--subtle:hover,
3714
- .muka-text-link--subtle:focus-visible,
3715
- .muka-text-link--subtle:active {
3716
- color: var(--color-text-default-default);
3717
- }
3718
-
3719
- /* ─── Focus ───────────────────────────────────────────────
3720
- Same ring as every other focusable Muka component. */
3721
- .muka-text-link:focus-visible {
3722
- outline: 2px solid var(--color-border-focus);
3723
- outline-offset: 2px;
3724
- }
3725
-
3726
- @media (prefers-reduced-motion: reduce) {
3727
- .muka-text-link {
3728
- transition: none;
3729
- }
3730
- }
3731
-
3732
-
3733
3651
  /* Thumbnail */
3734
3652
  /* Thumbnail Component Styles - Using Muka Design Tokens */
3735
3653
 
@@ -3915,6 +3833,252 @@ body {
3915
3833
  }
3916
3834
 
3917
3835
 
3836
+ /* Textarea */
3837
+ /* Textarea Component Styles - Using Muka Design Tokens */
3838
+
3839
+ .muka-textarea {
3840
+ display: inline-flex;
3841
+ flex-direction: column;
3842
+ gap: var(--spacing-2);
3843
+ }
3844
+
3845
+ /* Label */
3846
+ .muka-textarea__label {
3847
+ color: var(--color-text-default-default);
3848
+ cursor: pointer;
3849
+ }
3850
+
3851
+ .muka-textarea__label--sm {
3852
+ font-family: var(--text-label-sm-semibold-fontFamily);
3853
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3854
+ font-size: var(--text-label-sm-semibold-fontSize);
3855
+ line-height: var(--text-label-sm-semibold-lineHeight);
3856
+ }
3857
+
3858
+ .muka-textarea__label--md {
3859
+ font-family: var(--text-label-md-semibold-fontFamily);
3860
+ font-weight: var(--text-label-md-semibold-fontWeight);
3861
+ font-size: var(--text-label-md-semibold-fontSize);
3862
+ line-height: var(--text-label-md-semibold-lineHeight);
3863
+ }
3864
+
3865
+ .muka-textarea__label--lg {
3866
+ font-family: var(--text-label-lg-semibold-fontFamily);
3867
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3868
+ font-size: var(--text-label-lg-semibold-fontSize);
3869
+ line-height: var(--text-label-lg-semibold-lineHeight);
3870
+ }
3871
+
3872
+ .muka-textarea__required {
3873
+ color: var(--color-state-error-default);
3874
+ }
3875
+
3876
+ /* Field container */
3877
+ .muka-textarea__field {
3878
+ display: flex;
3879
+ background-color: var(--input-field-color-default-background);
3880
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
3881
+ border-radius: var(--input-field-radius-md);
3882
+ padding: var(--input-field-padding-y) var(--input-field-padding-x);
3883
+ transition: border-color 0.2s ease, background-color 0.2s ease;
3884
+ box-sizing: border-box;
3885
+ }
3886
+
3887
+ .muka-textarea__field--sm {
3888
+ min-height: var(--input-textarea-height-sm);
3889
+ border-radius: var(--input-field-radius-sm);
3890
+ }
3891
+
3892
+ .muka-textarea__field--md {
3893
+ min-height: var(--input-textarea-height-default);
3894
+ border-radius: var(--input-field-radius-md);
3895
+ }
3896
+
3897
+ .muka-textarea__field--lg {
3898
+ min-height: var(--input-textarea-height-lg);
3899
+ border-radius: var(--input-field-radius-lg);
3900
+ }
3901
+
3902
+ /* Focus state */
3903
+ .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
3904
+ border-width: var(--border-width-bold);
3905
+ border-color: var(--input-field-color-focus-border);
3906
+ background-color: var(--input-field-color-focus-background);
3907
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3908
+ }
3909
+
3910
+ /* Error state */
3911
+ .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
3912
+ border-width: var(--border-width-bold);
3913
+ border-color: var(--input-field-color-error-border);
3914
+ background-color: var(--input-field-color-error-background);
3915
+ padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
3916
+ }
3917
+
3918
+ /* Disabled state */
3919
+ .muka-textarea__field--disabled {
3920
+ background-color: var(--input-field-color-disabled-background);
3921
+ border-color: var(--input-field-color-disabled-border);
3922
+ cursor: not-allowed;
3923
+ }
3924
+
3925
+ /* Native textarea */
3926
+ .muka-textarea__native {
3927
+ flex: 1;
3928
+ border: none;
3929
+ outline: none;
3930
+ background: transparent;
3931
+ color: var(--input-field-color-default-foreground);
3932
+ font-family: var(--text-input-md-fontFamily);
3933
+ font-weight: var(--text-input-md-fontWeight);
3934
+ font-size: var(--text-input-md-fontSize);
3935
+ line-height: var(--text-input-md-lineHeight);
3936
+ padding: 0;
3937
+ width: 100%;
3938
+ min-width: 0;
3939
+ }
3940
+
3941
+ .muka-textarea__field--sm .muka-textarea__native {
3942
+ font-family: var(--text-input-sm-fontFamily);
3943
+ font-weight: var(--text-input-sm-fontWeight);
3944
+ font-size: var(--text-input-sm-fontSize);
3945
+ line-height: var(--text-input-sm-lineHeight);
3946
+ }
3947
+
3948
+ .muka-textarea__field--lg .muka-textarea__native {
3949
+ font-family: var(--text-input-lg-fontFamily);
3950
+ font-weight: var(--text-input-lg-fontWeight);
3951
+ font-size: var(--text-input-lg-fontSize);
3952
+ line-height: var(--text-input-lg-lineHeight);
3953
+ }
3954
+
3955
+ .muka-textarea__native::placeholder {
3956
+ color: var(--color-text-subtle-default);
3957
+ }
3958
+
3959
+ .muka-textarea__field--disabled .muka-textarea__native {
3960
+ color: var(--input-field-color-disabled-foreground);
3961
+ cursor: not-allowed;
3962
+ }
3963
+
3964
+ /* Footer (helper/error + count) */
3965
+ .muka-textarea__footer {
3966
+ display: flex;
3967
+ justify-content: space-between;
3968
+ align-items: flex-start;
3969
+ gap: var(--spacing-2);
3970
+ }
3971
+
3972
+ .muka-textarea__helper {
3973
+ font-family: var(--text-label-sm-regular-fontFamily);
3974
+ font-weight: var(--text-label-sm-regular-fontWeight);
3975
+ font-size: var(--text-label-sm-regular-fontSize);
3976
+ line-height: var(--text-label-sm-regular-lineHeight);
3977
+ color: var(--color-text-subtle-default);
3978
+ margin: 0;
3979
+ }
3980
+
3981
+ .muka-textarea__error {
3982
+ font-family: var(--text-label-sm-regular-fontFamily);
3983
+ font-weight: var(--text-label-sm-regular-fontWeight);
3984
+ font-size: var(--text-label-sm-regular-fontSize);
3985
+ line-height: var(--text-label-sm-regular-lineHeight);
3986
+ color: var(--color-state-error-default);
3987
+ margin: 0;
3988
+ }
3989
+
3990
+ .muka-textarea__count {
3991
+ font-family: var(--text-label-sm-regular-fontFamily);
3992
+ font-weight: var(--text-label-sm-regular-fontWeight);
3993
+ font-size: var(--text-label-sm-regular-fontSize);
3994
+ line-height: var(--text-label-sm-regular-lineHeight);
3995
+ color: var(--color-text-subtle-default);
3996
+ margin-left: auto;
3997
+ }
3998
+
3999
+
4000
+ /* TextLink */
4001
+ /* TextLink Component Styles - Using Muka Design Tokens */
4002
+
4003
+ .muka-text-link {
4004
+ display: inline;
4005
+ cursor: pointer;
4006
+ text-decoration: underline;
4007
+ /* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
4008
+ text-underline-offset: 0.2em;
4009
+ text-decoration-thickness: from-font;
4010
+ /* Rounds the focus ring's corners; the link itself has no visible box. */
4011
+ border-radius: var(--border-radius-sm);
4012
+ transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
4013
+ }
4014
+
4015
+ /* ─── Sizes ───────────────────────────────────────────────
4016
+ Mirrors the body text scale so a link matches the copy it sits in. */
4017
+ .muka-text-link--sm {
4018
+ font-family: var(--text-body-sm-regular-fontFamily);
4019
+ font-weight: var(--text-body-sm-regular-fontWeight);
4020
+ font-size: var(--text-body-sm-regular-fontSize);
4021
+ line-height: var(--text-body-sm-regular-lineHeight);
4022
+ }
4023
+
4024
+ .muka-text-link--base {
4025
+ font-family: var(--text-body-base-regular-fontFamily);
4026
+ font-weight: var(--text-body-base-regular-fontWeight);
4027
+ font-size: var(--text-body-base-regular-fontSize);
4028
+ line-height: var(--text-body-base-regular-lineHeight);
4029
+ }
4030
+
4031
+ .muka-text-link--lg {
4032
+ font-family: var(--text-body-lg-regular-fontFamily);
4033
+ font-weight: var(--text-body-lg-regular-fontWeight);
4034
+ font-size: var(--text-body-lg-regular-fontSize);
4035
+ line-height: var(--text-body-lg-regular-lineHeight);
4036
+ }
4037
+
4038
+ /* ─── Variant: default (accent) ───────────────────────────
4039
+ Visited repeats the default colour on purpose: the design treats visited and
4040
+ default the same, and pinning it stops the browser's purple from showing. */
4041
+ .muka-text-link--default,
4042
+ .muka-text-link--default:visited {
4043
+ color: var(--color-text-action-default);
4044
+ }
4045
+
4046
+ .muka-text-link--default:hover,
4047
+ .muka-text-link--default:focus-visible {
4048
+ color: var(--color-text-action-hover);
4049
+ }
4050
+
4051
+ .muka-text-link--default:active {
4052
+ color: var(--color-text-action-pressed);
4053
+ }
4054
+
4055
+ /* ─── Variant: subtle (neutral) ───────────────────────────
4056
+ Hover, focus and pressed all darken to the default text colour. */
4057
+ .muka-text-link--subtle,
4058
+ .muka-text-link--subtle:visited {
4059
+ color: var(--color-text-subtle-default);
4060
+ }
4061
+
4062
+ .muka-text-link--subtle:hover,
4063
+ .muka-text-link--subtle:focus-visible,
4064
+ .muka-text-link--subtle:active {
4065
+ color: var(--color-text-default-default);
4066
+ }
4067
+
4068
+ /* ─── Focus ───────────────────────────────────────────────
4069
+ Same ring as every other focusable Muka component. */
4070
+ .muka-text-link:focus-visible {
4071
+ outline: 2px solid var(--color-border-focus);
4072
+ outline-offset: 2px;
4073
+ }
4074
+
4075
+ @media (prefers-reduced-motion: reduce) {
4076
+ .muka-text-link {
4077
+ transition: none;
4078
+ }
4079
+ }
4080
+
4081
+
3918
4082
  /* Tabs */
3919
4083
  /* Tabs Component Styles - Clean underline style tabs matching Figma */
3920
4084
 
@@ -4105,170 +4269,6 @@ body {
4105
4269
  }
4106
4270
 
4107
4271
 
4108
- /* Textarea */
4109
- /* Textarea Component Styles - Using Muka Design Tokens */
4110
-
4111
- .muka-textarea {
4112
- display: inline-flex;
4113
- flex-direction: column;
4114
- gap: var(--spacing-2);
4115
- }
4116
-
4117
- /* Label */
4118
- .muka-textarea__label {
4119
- color: var(--color-text-default-default);
4120
- cursor: pointer;
4121
- }
4122
-
4123
- .muka-textarea__label--sm {
4124
- font-family: var(--text-label-sm-semibold-fontFamily);
4125
- font-weight: var(--text-label-sm-semibold-fontWeight);
4126
- font-size: var(--text-label-sm-semibold-fontSize);
4127
- line-height: var(--text-label-sm-semibold-lineHeight);
4128
- }
4129
-
4130
- .muka-textarea__label--md {
4131
- font-family: var(--text-label-md-semibold-fontFamily);
4132
- font-weight: var(--text-label-md-semibold-fontWeight);
4133
- font-size: var(--text-label-md-semibold-fontSize);
4134
- line-height: var(--text-label-md-semibold-lineHeight);
4135
- }
4136
-
4137
- .muka-textarea__label--lg {
4138
- font-family: var(--text-label-lg-semibold-fontFamily);
4139
- font-weight: var(--text-label-lg-semibold-fontWeight);
4140
- font-size: var(--text-label-lg-semibold-fontSize);
4141
- line-height: var(--text-label-lg-semibold-lineHeight);
4142
- }
4143
-
4144
- .muka-textarea__required {
4145
- color: var(--color-state-error-default);
4146
- }
4147
-
4148
- /* Field container */
4149
- .muka-textarea__field {
4150
- display: flex;
4151
- background-color: var(--input-field-color-default-background);
4152
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
4153
- border-radius: var(--input-field-radius-md);
4154
- padding: var(--input-field-padding-y) var(--input-field-padding-x);
4155
- transition: border-color 0.2s ease, background-color 0.2s ease;
4156
- box-sizing: border-box;
4157
- }
4158
-
4159
- .muka-textarea__field--sm {
4160
- min-height: var(--input-textarea-height-sm);
4161
- border-radius: var(--input-field-radius-sm);
4162
- }
4163
-
4164
- .muka-textarea__field--md {
4165
- min-height: var(--input-textarea-height-default);
4166
- border-radius: var(--input-field-radius-md);
4167
- }
4168
-
4169
- .muka-textarea__field--lg {
4170
- min-height: var(--input-textarea-height-lg);
4171
- border-radius: var(--input-field-radius-lg);
4172
- }
4173
-
4174
- /* Focus state */
4175
- .muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
4176
- border-width: var(--border-width-bold);
4177
- border-color: var(--input-field-color-focus-border);
4178
- background-color: var(--input-field-color-focus-background);
4179
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4180
- }
4181
-
4182
- /* Error state */
4183
- .muka-textarea__field--error:not(.muka-textarea__field--disabled) {
4184
- border-width: var(--border-width-bold);
4185
- border-color: var(--input-field-color-error-border);
4186
- background-color: var(--input-field-color-error-background);
4187
- padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
4188
- }
4189
-
4190
- /* Disabled state */
4191
- .muka-textarea__field--disabled {
4192
- background-color: var(--input-field-color-disabled-background);
4193
- border-color: var(--input-field-color-disabled-border);
4194
- cursor: not-allowed;
4195
- }
4196
-
4197
- /* Native textarea */
4198
- .muka-textarea__native {
4199
- flex: 1;
4200
- border: none;
4201
- outline: none;
4202
- background: transparent;
4203
- color: var(--input-field-color-default-foreground);
4204
- font-family: var(--text-input-md-fontFamily);
4205
- font-weight: var(--text-input-md-fontWeight);
4206
- font-size: var(--text-input-md-fontSize);
4207
- line-height: var(--text-input-md-lineHeight);
4208
- padding: 0;
4209
- width: 100%;
4210
- min-width: 0;
4211
- }
4212
-
4213
- .muka-textarea__field--sm .muka-textarea__native {
4214
- font-family: var(--text-input-sm-fontFamily);
4215
- font-weight: var(--text-input-sm-fontWeight);
4216
- font-size: var(--text-input-sm-fontSize);
4217
- line-height: var(--text-input-sm-lineHeight);
4218
- }
4219
-
4220
- .muka-textarea__field--lg .muka-textarea__native {
4221
- font-family: var(--text-input-lg-fontFamily);
4222
- font-weight: var(--text-input-lg-fontWeight);
4223
- font-size: var(--text-input-lg-fontSize);
4224
- line-height: var(--text-input-lg-lineHeight);
4225
- }
4226
-
4227
- .muka-textarea__native::placeholder {
4228
- color: var(--color-text-subtle-default);
4229
- }
4230
-
4231
- .muka-textarea__field--disabled .muka-textarea__native {
4232
- color: var(--input-field-color-disabled-foreground);
4233
- cursor: not-allowed;
4234
- }
4235
-
4236
- /* Footer (helper/error + count) */
4237
- .muka-textarea__footer {
4238
- display: flex;
4239
- justify-content: space-between;
4240
- align-items: flex-start;
4241
- gap: var(--spacing-2);
4242
- }
4243
-
4244
- .muka-textarea__helper {
4245
- font-family: var(--text-label-sm-regular-fontFamily);
4246
- font-weight: var(--text-label-sm-regular-fontWeight);
4247
- font-size: var(--text-label-sm-regular-fontSize);
4248
- line-height: var(--text-label-sm-regular-lineHeight);
4249
- color: var(--color-text-subtle-default);
4250
- margin: 0;
4251
- }
4252
-
4253
- .muka-textarea__error {
4254
- font-family: var(--text-label-sm-regular-fontFamily);
4255
- font-weight: var(--text-label-sm-regular-fontWeight);
4256
- font-size: var(--text-label-sm-regular-fontSize);
4257
- line-height: var(--text-label-sm-regular-lineHeight);
4258
- color: var(--color-state-error-default);
4259
- margin: 0;
4260
- }
4261
-
4262
- .muka-textarea__count {
4263
- font-family: var(--text-label-sm-regular-fontFamily);
4264
- font-weight: var(--text-label-sm-regular-fontWeight);
4265
- font-size: var(--text-label-sm-regular-fontSize);
4266
- line-height: var(--text-label-sm-regular-lineHeight);
4267
- color: var(--color-text-subtle-default);
4268
- margin-left: auto;
4269
- }
4270
-
4271
-
4272
4272
  /* Table */
4273
4273
  /* Table Component Styles - Using Muka Design Tokens */
4274
4274
 
@@ -4322,6 +4322,20 @@ body {
4322
4322
  background-color: var(--color-surface-level0);
4323
4323
  }
4324
4324
 
4325
+ /* Plain (MUK-103): no tint; small subtle capitals under a section heading. */
4326
+ .muka-table__head--plain .muka-table__row {
4327
+ background-color: transparent;
4328
+ }
4329
+
4330
+ .muka-table__head--plain .muka-table__header-cell {
4331
+ font-family: var(--text-label-sm-regular-fontFamily);
4332
+ font-weight: var(--text-label-sm-regular-fontWeight);
4333
+ font-size: var(--text-label-sm-regular-fontSize);
4334
+ line-height: var(--text-label-sm-regular-lineHeight);
4335
+ color: var(--color-text-subtle-default);
4336
+ text-transform: uppercase;
4337
+ }
4338
+
4325
4339
  /* ========================================
4326
4340
  TABLE BODY
4327
4341
  ======================================== */
@@ -4498,6 +4512,20 @@ body {
4498
4512
  background-color: var(--color-surface-level0);
4499
4513
  }
4500
4514
 
4515
+ /* Plain (MUK-103): no tint; small subtle capitals under a section heading. */
4516
+ .muka-table__head--plain .muka-table__row {
4517
+ background-color: transparent;
4518
+ }
4519
+
4520
+ .muka-table__head--plain .muka-table__header-cell {
4521
+ font-family: var(--text-label-sm-regular-fontFamily);
4522
+ font-weight: var(--text-label-sm-regular-fontWeight);
4523
+ font-size: var(--text-label-sm-regular-fontSize);
4524
+ line-height: var(--text-label-sm-regular-lineHeight);
4525
+ color: var(--color-text-subtle-default);
4526
+ text-transform: uppercase;
4527
+ }
4528
+
4501
4529
  /* ========================================
4502
4530
  TABLE BODY
4503
4531
  ======================================== */
@@ -5042,6 +5070,86 @@ body {
5042
5070
  }
5043
5071
 
5044
5072
 
5073
+ /* Sheet */
5074
+ /* Sheet Component Styles */
5075
+
5076
+ /* ─── Backdrop ────────────────────────────────────────── */
5077
+
5078
+ .muka-sheet__overlay {
5079
+ position: fixed;
5080
+ inset: 0;
5081
+ background-color: var(--color-surface-backdrop);
5082
+ z-index: 50;
5083
+ }
5084
+
5085
+ /* ─── Surface ─────────────────────────────────────────── */
5086
+
5087
+ .muka-sheet {
5088
+ position: fixed;
5089
+ left: 0;
5090
+ right: 0;
5091
+ bottom: 0;
5092
+ z-index: 51;
5093
+
5094
+ display: flex;
5095
+ flex-direction: column;
5096
+
5097
+ max-height: 96dvh;
5098
+
5099
+ background-color: var(--color-surface-level3);
5100
+ border-top-left-radius: var(--radius-lg);
5101
+ border-top-right-radius: var(--radius-lg);
5102
+ box-shadow: var(--shadow-level5);
5103
+
5104
+ outline: none;
5105
+ }
5106
+
5107
+ /* Safe-area bottom inset for the iPhone home indicator. */
5108
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
5109
+ padding-bottom: env(safe-area-inset-bottom);
5110
+ }
5111
+
5112
+ /* ─── Drag handle ─────────────────────────────────────── */
5113
+
5114
+ .muka-sheet__handle-container {
5115
+ display: flex;
5116
+ justify-content: center;
5117
+ flex-shrink: 0;
5118
+ padding: var(--spacing-3) 0;
5119
+ }
5120
+
5121
+ .muka-sheet__handle {
5122
+ width: var(--dialog-drag-handle-width);
5123
+ height: var(--dialog-drag-handle-height);
5124
+ background-color: var(--dialog-drag-handle-color);
5125
+ border-radius: var(--dialog-drag-handle-radius);
5126
+ }
5127
+
5128
+ /* ─── Body (scrollable) ───────────────────────────────── */
5129
+
5130
+ .muka-sheet__body {
5131
+ flex: 1 1 0%;
5132
+ min-height: 0;
5133
+ overflow-y: auto;
5134
+ -webkit-overflow-scrolling: touch;
5135
+ overscroll-behavior: contain;
5136
+ }
5137
+
5138
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5139
+
5140
+ .muka-sheet__sr-title {
5141
+ position: absolute;
5142
+ width: 1px;
5143
+ height: 1px;
5144
+ padding: 0;
5145
+ margin: -1px;
5146
+ overflow: hidden;
5147
+ clip: rect(0, 0, 0, 0);
5148
+ white-space: nowrap;
5149
+ border: 0;
5150
+ }
5151
+
5152
+
5045
5153
  /* SmsOtpField */
5046
5154
  /* SmsOtpField Component Styles - Using Muka Design Tokens */
5047
5155
 
@@ -5218,174 +5326,19 @@ body {
5218
5326
  font-family: var(--text-label-sm-regular-fontFamily);
5219
5327
  font-weight: var(--text-label-sm-regular-fontWeight);
5220
5328
  font-size: var(--text-label-sm-regular-fontSize);
5221
- line-height: var(--text-label-sm-regular-lineHeight);
5222
- color: var(--color-text-subtle-default);
5223
- margin: 0;
5224
- }
5225
-
5226
- /* Error message */
5227
- .muka-sms-otp-field__error {
5228
- font-family: var(--text-label-sm-regular-fontFamily);
5229
- font-weight: var(--text-label-sm-regular-fontWeight);
5230
- font-size: var(--text-label-sm-regular-fontSize);
5231
- line-height: var(--text-label-sm-regular-lineHeight);
5232
- color: var(--color-state-error-default);
5233
- margin: 0;
5234
- }
5235
-
5236
-
5237
- /* Skeleton */
5238
- /* Skeleton Component Styles */
5239
-
5240
- .muka-skeleton {
5241
- background-color: var(--color-surface-level1);
5242
- display: block;
5243
- }
5244
-
5245
- /* Variants */
5246
- .muka-skeleton--text {
5247
- height: 1em;
5248
- border-radius: var(--radius-md);
5249
- width: 100%;
5250
- }
5251
-
5252
- .muka-skeleton--circular {
5253
- width: 2.5rem;
5254
- height: 2.5rem;
5255
- border-radius: var(--radius-full);
5256
- }
5257
-
5258
- .muka-skeleton--rectangular {
5259
- height: 7.5rem;
5260
- border-radius: var(--radius-md);
5261
- width: 100%;
5262
- }
5263
-
5264
- /* Last line in multi-line text is shorter */
5265
- .muka-skeleton--last-line {
5266
- width: 80%;
5267
- }
5268
-
5269
- /* Lines container */
5270
- .muka-skeleton__lines {
5271
- display: flex;
5272
- flex-direction: column;
5273
- gap: var(--spacing-2);
5274
- }
5275
-
5276
- /* Shimmer animation */
5277
- @keyframes muka-skeleton-shimmer {
5278
- 0% {
5279
- background-position: -200% 0;
5280
- }
5281
- 100% {
5282
- background-position: 200% 0;
5283
- }
5284
- }
5285
-
5286
- .muka-skeleton--shimmer {
5287
- background: linear-gradient(
5288
- 90deg,
5289
- var(--color-surface-level1) 25%,
5290
- var(--color-surface-level2) 50%,
5291
- var(--color-surface-level1) 75%
5292
- );
5293
- background-size: 200% 100%;
5294
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5295
- }
5296
-
5297
- /* Pulse animation */
5298
- @keyframes muka-skeleton-pulse {
5299
- 0%, 100% {
5300
- opacity: 1;
5301
- }
5302
- 50% {
5303
- opacity: 0.4;
5304
- }
5305
- }
5306
-
5307
- .muka-skeleton--pulse {
5308
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5309
- }
5310
-
5311
-
5312
- /* Sheet */
5313
- /* Sheet Component Styles */
5314
-
5315
- /* ─── Backdrop ────────────────────────────────────────── */
5316
-
5317
- .muka-sheet__overlay {
5318
- position: fixed;
5319
- inset: 0;
5320
- background-color: var(--color-surface-backdrop);
5321
- z-index: 50;
5322
- }
5323
-
5324
- /* ─── Surface ─────────────────────────────────────────── */
5325
-
5326
- .muka-sheet {
5327
- position: fixed;
5328
- left: 0;
5329
- right: 0;
5330
- bottom: 0;
5331
- z-index: 51;
5332
-
5333
- display: flex;
5334
- flex-direction: column;
5335
-
5336
- max-height: 96dvh;
5337
-
5338
- background-color: var(--color-surface-level3);
5339
- border-top-left-radius: var(--radius-lg);
5340
- border-top-right-radius: var(--radius-lg);
5341
- box-shadow: var(--shadow-level5);
5342
-
5343
- outline: none;
5344
- }
5345
-
5346
- /* Safe-area bottom inset for the iPhone home indicator. */
5347
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5348
- padding-bottom: env(safe-area-inset-bottom);
5349
- }
5350
-
5351
- /* ─── Drag handle ─────────────────────────────────────── */
5352
-
5353
- .muka-sheet__handle-container {
5354
- display: flex;
5355
- justify-content: center;
5356
- flex-shrink: 0;
5357
- padding: var(--spacing-3) 0;
5358
- }
5359
-
5360
- .muka-sheet__handle {
5361
- width: var(--dialog-drag-handle-width);
5362
- height: var(--dialog-drag-handle-height);
5363
- background-color: var(--dialog-drag-handle-color);
5364
- border-radius: var(--dialog-drag-handle-radius);
5365
- }
5366
-
5367
- /* ─── Body (scrollable) ───────────────────────────────── */
5368
-
5369
- .muka-sheet__body {
5370
- flex: 1 1 0%;
5371
- min-height: 0;
5372
- overflow-y: auto;
5373
- -webkit-overflow-scrolling: touch;
5374
- overscroll-behavior: contain;
5329
+ line-height: var(--text-label-sm-regular-lineHeight);
5330
+ color: var(--color-text-subtle-default);
5331
+ margin: 0;
5375
5332
  }
5376
5333
 
5377
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5378
-
5379
- .muka-sheet__sr-title {
5380
- position: absolute;
5381
- width: 1px;
5382
- height: 1px;
5383
- padding: 0;
5384
- margin: -1px;
5385
- overflow: hidden;
5386
- clip: rect(0, 0, 0, 0);
5387
- white-space: nowrap;
5388
- border: 0;
5334
+ /* Error message */
5335
+ .muka-sms-otp-field__error {
5336
+ font-family: var(--text-label-sm-regular-fontFamily);
5337
+ font-weight: var(--text-label-sm-regular-fontWeight);
5338
+ font-size: var(--text-label-sm-regular-fontSize);
5339
+ line-height: var(--text-label-sm-regular-lineHeight);
5340
+ color: var(--color-state-error-default);
5341
+ margin: 0;
5389
5342
  }
5390
5343
 
5391
5344
 
@@ -5583,6 +5536,81 @@ body {
5583
5536
  }
5584
5537
 
5585
5538
 
5539
+ /* Skeleton */
5540
+ /* Skeleton Component Styles */
5541
+
5542
+ .muka-skeleton {
5543
+ background-color: var(--color-surface-level1);
5544
+ display: block;
5545
+ }
5546
+
5547
+ /* Variants */
5548
+ .muka-skeleton--text {
5549
+ height: 1em;
5550
+ border-radius: var(--radius-md);
5551
+ width: 100%;
5552
+ }
5553
+
5554
+ .muka-skeleton--circular {
5555
+ width: 2.5rem;
5556
+ height: 2.5rem;
5557
+ border-radius: var(--radius-full);
5558
+ }
5559
+
5560
+ .muka-skeleton--rectangular {
5561
+ height: 7.5rem;
5562
+ border-radius: var(--radius-md);
5563
+ width: 100%;
5564
+ }
5565
+
5566
+ /* Last line in multi-line text is shorter */
5567
+ .muka-skeleton--last-line {
5568
+ width: 80%;
5569
+ }
5570
+
5571
+ /* Lines container */
5572
+ .muka-skeleton__lines {
5573
+ display: flex;
5574
+ flex-direction: column;
5575
+ gap: var(--spacing-2);
5576
+ }
5577
+
5578
+ /* Shimmer animation */
5579
+ @keyframes muka-skeleton-shimmer {
5580
+ 0% {
5581
+ background-position: -200% 0;
5582
+ }
5583
+ 100% {
5584
+ background-position: 200% 0;
5585
+ }
5586
+ }
5587
+
5588
+ .muka-skeleton--shimmer {
5589
+ background: linear-gradient(
5590
+ 90deg,
5591
+ var(--color-surface-level1) 25%,
5592
+ var(--color-surface-level2) 50%,
5593
+ var(--color-surface-level1) 75%
5594
+ );
5595
+ background-size: 200% 100%;
5596
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
5597
+ }
5598
+
5599
+ /* Pulse animation */
5600
+ @keyframes muka-skeleton-pulse {
5601
+ 0%, 100% {
5602
+ opacity: 1;
5603
+ }
5604
+ 50% {
5605
+ opacity: 0.4;
5606
+ }
5607
+ }
5608
+
5609
+ .muka-skeleton--pulse {
5610
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
5611
+ }
5612
+
5613
+
5586
5614
  /* SegmentGroup */
5587
5615
  /* SegmentGroup Component Styles - Using Muka Design Tokens */
5588
5616
 
@@ -5725,241 +5753,72 @@ body {
5725
5753
  }
5726
5754
  .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
5727
5755
  width: 24px;
5728
- height: 24px;
5729
- }
5730
-
5731
- /* Icon */
5732
- .muka-segmentgroup__icon {
5733
- display: inline-flex;
5734
- align-items: center;
5735
- justify-content: center;
5736
- }
5737
-
5738
- /* Selected state */
5739
- .muka-segmentgroup__segment--selected {
5740
- background-color: transparent;
5741
- box-shadow: none;
5742
- color: var(--segmentgroup-segment-color-selected-foreground);
5743
- z-index: 2; /* Highlight pill when focused is tested below */
5744
- }
5745
-
5746
- /* Hover state (only for unselected) */
5747
- .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
5748
- color: var(--segmentgroup-segment-color-hover-foreground);
5749
- }
5750
-
5751
- /* Focus visible */
5752
- .muka-segmentgroup__segment:focus-visible {
5753
- outline: 2px solid var(--color-border-focus);
5754
- outline-offset: 2px;
5755
- z-index: 2;
5756
- }
5757
-
5758
- /* Disabled state */
5759
- .muka-segmentgroup__segment--disabled,
5760
- .muka-segmentgroup__segment:disabled {
5761
- cursor: not-allowed;
5762
- opacity: 0.5;
5763
- }
5764
-
5765
- /* Label */
5766
- .muka-segmentgroup__label {
5767
- display: inline-flex;
5768
- align-items: center;
5769
- white-space: nowrap;
5770
- user-select: none;
5771
- }
5772
-
5773
-
5774
- /* Section */
5775
- /* Section Component - Layout tokens (section.padding) */
5776
-
5777
- .muka-section {
5778
- box-sizing: border-box;
5779
- }
5780
-
5781
- .muka-section--padding-compact {
5782
- padding-block: var(--section-padding-vertical-compact);
5783
- padding-inline: var(--section-padding-horizontal-compact);
5784
- }
5785
-
5786
- .muka-section--padding-default {
5787
- padding-block: var(--section-padding-vertical-default);
5788
- padding-inline: var(--section-padding-horizontal-default);
5789
- }
5790
-
5791
- .muka-section--padding-spacious {
5792
- padding-block: var(--section-padding-vertical-spacious);
5793
- padding-inline: var(--section-padding-horizontal-spacious);
5794
- }
5795
-
5796
-
5797
- /* SearchInput */
5798
- /* SearchInput Component Styles */
5799
-
5800
- .muka-search-input {
5801
- display: flex;
5802
- align-items: center;
5803
- gap: var(--spacing-3);
5804
- width: 100%;
5805
- }
5806
-
5807
- /* ─── Field wrapper ───────────────────────────────────── */
5808
-
5809
- .muka-search-input__field {
5810
- flex: 1 1 auto;
5811
- display: flex;
5812
- align-items: center;
5813
- gap: var(--spacing-2);
5814
- background-color: var(--input-field-color-default-background);
5815
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
5816
- border-radius: var(--input-field-radius-md);
5817
- padding: 0 var(--input-field-padding-x);
5818
- transition: border-color 0.12s ease, background-color 0.12s ease;
5819
- }
5820
-
5821
- .muka-search-input--focused .muka-search-input__field {
5822
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
5823
- }
5824
-
5825
- /* ─── Sizes ───────────────────────────────────────────── */
5826
-
5827
- .muka-search-input--sm .muka-search-input__field {
5828
- min-height: var(--input-field-height-sm);
5829
- border-radius: var(--input-field-radius-sm);
5830
- }
5831
-
5832
- .muka-search-input--md .muka-search-input__field {
5833
- min-height: var(--input-field-height-default);
5834
- }
5835
-
5836
- .muka-search-input--lg .muka-search-input__field {
5837
- min-height: var(--input-field-height-lg);
5838
- border-radius: var(--input-field-radius-lg);
5839
- }
5840
-
5841
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
5842
-
5843
- .muka-search-input--embedded .muka-search-input__field {
5844
- background-color: var(--color-surface-level1);
5845
- border-color: transparent;
5846
- }
5847
-
5848
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
5849
- border-color: transparent;
5850
- background-color: var(--color-surface-level2);
5851
- }
5852
-
5853
- /* ─── Disabled ────────────────────────────────────────── */
5854
-
5855
- .muka-search-input--disabled .muka-search-input__field {
5856
- opacity: 0.5;
5857
- pointer-events: none;
5858
- }
5859
-
5860
- /* ─── Leading icon ────────────────────────────────────── */
5861
-
5862
- .muka-search-input__leading {
5863
- display: inline-flex;
5864
- align-items: center;
5865
- justify-content: center;
5866
- flex-shrink: 0;
5867
- color: var(--color-text-subtle-default);
5868
- }
5869
-
5870
- /* ─── Input element ───────────────────────────────────── */
5871
-
5872
- .muka-search-input__input {
5873
- flex: 1 1 auto;
5874
- min-width: 0;
5875
- border: none;
5876
- background: transparent;
5877
- outline: none;
5878
- padding: 0;
5879
- color: var(--color-text-default-default);
5880
- font-family: var(--text-body-base-regular-fontFamily);
5881
- font-weight: var(--text-body-base-regular-fontWeight);
5882
- font-size: var(--text-body-base-regular-fontSize);
5883
- line-height: var(--text-body-base-regular-lineHeight);
5884
- appearance: none;
5885
- -webkit-appearance: none;
5756
+ height: 24px;
5886
5757
  }
5887
5758
 
5888
- .muka-search-input__input::placeholder {
5889
- color: var(--color-text-subtle-default);
5759
+ /* Icon */
5760
+ .muka-segmentgroup__icon {
5761
+ display: inline-flex;
5762
+ align-items: center;
5763
+ justify-content: center;
5890
5764
  }
5891
5765
 
5892
- /* Hide the browser-supplied clear button (WebKit + Edge) */
5893
- .muka-search-input__input::-webkit-search-cancel-button,
5894
- .muka-search-input__input::-webkit-search-decoration {
5895
- -webkit-appearance: none;
5896
- appearance: none;
5766
+ /* Selected state */
5767
+ .muka-segmentgroup__segment--selected {
5768
+ background-color: transparent;
5769
+ box-shadow: none;
5770
+ color: var(--segmentgroup-segment-color-selected-foreground);
5771
+ z-index: 2; /* Highlight pill when focused is tested below */
5897
5772
  }
5898
5773
 
5899
- .muka-search-input__input::-ms-clear {
5900
- display: none;
5774
+ /* Hover state (only for unselected) */
5775
+ .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
5776
+ color: var(--segmentgroup-segment-color-hover-foreground);
5901
5777
  }
5902
5778
 
5903
- /* ─── Trailing slot (loading spinner) ─────────────────── */
5904
-
5905
- .muka-search-input__trailing {
5906
- display: inline-flex;
5907
- align-items: center;
5908
- justify-content: center;
5909
- flex-shrink: 0;
5779
+ /* Focus visible */
5780
+ .muka-segmentgroup__segment:focus-visible {
5781
+ outline: 2px solid var(--color-border-focus);
5782
+ outline-offset: 2px;
5783
+ z-index: 2;
5910
5784
  }
5911
5785
 
5912
- /* ─── Clear button ────────────────────────────────────── */
5786
+ /* Disabled state */
5787
+ .muka-segmentgroup__segment--disabled,
5788
+ .muka-segmentgroup__segment:disabled {
5789
+ cursor: not-allowed;
5790
+ opacity: 0.5;
5791
+ }
5913
5792
 
5914
- .muka-search-input__clear {
5793
+ /* Label */
5794
+ .muka-segmentgroup__label {
5915
5795
  display: inline-flex;
5916
5796
  align-items: center;
5917
- justify-content: center;
5918
- width: 20px;
5919
- height: 20px;
5920
- border: none;
5921
- background: none;
5922
- padding: 0;
5923
- cursor: pointer;
5924
- color: var(--color-text-subtle-default);
5925
- flex-shrink: 0;
5926
- -webkit-tap-highlight-color: transparent;
5797
+ white-space: nowrap;
5798
+ user-select: none;
5927
5799
  }
5928
5800
 
5929
- .muka-search-input__clear:hover {
5930
- color: var(--color-text-default-default);
5931
- }
5932
5801
 
5933
- .muka-search-input__clear:focus-visible {
5934
- outline: 2px solid var(--color-action-default);
5935
- outline-offset: 2px;
5936
- border-radius: 50%;
5937
- }
5802
+ /* Section */
5803
+ /* Section Component - Layout tokens (section.padding) */
5938
5804
 
5939
- /* ─── Cancel button ───────────────────────────────────── */
5805
+ .muka-section {
5806
+ box-sizing: border-box;
5807
+ }
5940
5808
 
5941
- .muka-search-input__cancel {
5942
- flex-shrink: 0;
5943
- background: none;
5944
- border: none;
5945
- padding: var(--spacing-1) var(--spacing-2);
5946
- cursor: pointer;
5947
- color: var(--color-action-default);
5948
- font-family: var(--text-label-md-regular-fontFamily);
5949
- font-weight: var(--text-label-md-regular-fontWeight);
5950
- font-size: var(--text-label-md-regular-fontSize);
5951
- line-height: var(--text-label-md-regular-lineHeight);
5952
- -webkit-tap-highlight-color: transparent;
5809
+ .muka-section--padding-compact {
5810
+ padding-block: var(--section-padding-vertical-compact);
5811
+ padding-inline: var(--section-padding-horizontal-compact);
5953
5812
  }
5954
5813
 
5955
- .muka-search-input__cancel:hover {
5956
- color: var(--color-action-hover);
5814
+ .muka-section--padding-default {
5815
+ padding-block: var(--section-padding-vertical-default);
5816
+ padding-inline: var(--section-padding-horizontal-default);
5957
5817
  }
5958
5818
 
5959
- .muka-search-input__cancel:focus-visible {
5960
- outline: 2px solid var(--color-action-default);
5961
- outline-offset: 2px;
5962
- border-radius: var(--radius-sm);
5819
+ .muka-section--padding-spacious {
5820
+ padding-block: var(--section-padding-vertical-spacious);
5821
+ padding-inline: var(--section-padding-horizontal-spacious);
5963
5822
  }
5964
5823
 
5965
5824
 
@@ -6435,67 +6294,236 @@ body {
6435
6294
  border-radius: var(--border-radius-sm);
6436
6295
  }
6437
6296
 
6438
- .muka-radio-tile__image img {
6439
- display: block;
6440
- width: 100%;
6441
- height: 100%;
6442
- object-fit: cover;
6297
+ .muka-radio-tile__image img {
6298
+ display: block;
6299
+ width: 100%;
6300
+ height: 100%;
6301
+ object-fit: cover;
6302
+ }
6303
+
6304
+ /* Horizontal image sizing */
6305
+ .muka-radio-tile__image--horizontal {
6306
+ width: 40px;
6307
+ height: 40px;
6308
+ }
6309
+
6310
+ /* Vertical image sizing */
6311
+ .muka-radio-tile--vertical .muka-radio-tile__image {
6312
+ width: 100%;
6313
+ aspect-ratio: 4/3;
6314
+ }
6315
+
6316
+ /* Content container */
6317
+ .muka-radio-tile__content {
6318
+ display: flex;
6319
+ flex-direction: column;
6320
+ flex: 1;
6321
+ min-width: 0;
6322
+ gap: var(--spacing-1);
6323
+ }
6324
+
6325
+ /* Label */
6326
+ .muka-radio-tile__label {
6327
+ font-family: var(--text-body-lg-regular-fontFamily);
6328
+ font-weight: var(--text-body-lg-regular-fontWeight);
6329
+ font-size: var(--text-body-lg-regular-fontSize);
6330
+ line-height: var(--text-body-lg-regular-lineHeight);
6331
+ color: var(--color-text-default-default);
6332
+ }
6333
+
6334
+ .muka-radio-tile__label--bold {
6335
+ font-family: var(--text-label-lg-semibold-fontFamily);
6336
+ font-weight: var(--text-label-lg-semibold-fontWeight);
6337
+ font-size: var(--text-label-lg-semibold-fontSize);
6338
+ line-height: var(--text-label-lg-semibold-lineHeight);
6339
+ }
6340
+
6341
+ .muka-radio-tile__label--center {
6342
+ text-align: center;
6343
+ }
6344
+
6345
+ /* Caption */
6346
+ .muka-radio-tile__caption {
6347
+ font-family: var(--text-body-base-regular-fontFamily);
6348
+ font-weight: var(--text-body-base-regular-fontWeight);
6349
+ font-size: var(--text-body-base-regular-fontSize);
6350
+ line-height: var(--text-body-base-regular-lineHeight);
6351
+ color: var(--color-text-subtle-default);
6352
+ }
6353
+
6354
+ /* Disabled states */
6355
+ .muka-radio-tile--disabled .muka-radio-tile__label,
6356
+ .muka-radio-tile--disabled .muka-radio-tile__icon {
6357
+ color: var(--color-text-subtle-default);
6358
+ }
6359
+
6360
+
6361
+ /* SearchInput */
6362
+ /* SearchInput Component Styles */
6363
+
6364
+ .muka-search-input {
6365
+ display: flex;
6366
+ align-items: center;
6367
+ gap: var(--spacing-3);
6368
+ width: 100%;
6369
+ }
6370
+
6371
+ /* ─── Field wrapper ───────────────────────────────────── */
6372
+
6373
+ .muka-search-input__field {
6374
+ flex: 1 1 auto;
6375
+ display: flex;
6376
+ align-items: center;
6377
+ gap: var(--spacing-2);
6378
+ background-color: var(--input-field-color-default-background);
6379
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
6380
+ border-radius: var(--input-field-radius-md);
6381
+ padding: 0 var(--input-field-padding-x);
6382
+ transition: border-color 0.12s ease, background-color 0.12s ease;
6383
+ }
6384
+
6385
+ .muka-search-input--focused .muka-search-input__field {
6386
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
6387
+ }
6388
+
6389
+ /* ─── Sizes ───────────────────────────────────────────── */
6390
+
6391
+ .muka-search-input--sm .muka-search-input__field {
6392
+ min-height: var(--input-field-height-sm);
6393
+ border-radius: var(--input-field-radius-sm);
6394
+ }
6395
+
6396
+ .muka-search-input--md .muka-search-input__field {
6397
+ min-height: var(--input-field-height-default);
6398
+ }
6399
+
6400
+ .muka-search-input--lg .muka-search-input__field {
6401
+ min-height: var(--input-field-height-lg);
6402
+ border-radius: var(--input-field-radius-lg);
6403
+ }
6404
+
6405
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
6406
+
6407
+ .muka-search-input--embedded .muka-search-input__field {
6408
+ background-color: var(--color-surface-level1);
6409
+ border-color: transparent;
6410
+ }
6411
+
6412
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
6413
+ border-color: transparent;
6414
+ background-color: var(--color-surface-level2);
6415
+ }
6416
+
6417
+ /* ─── Disabled ────────────────────────────────────────── */
6418
+
6419
+ .muka-search-input--disabled .muka-search-input__field {
6420
+ opacity: 0.5;
6421
+ pointer-events: none;
6422
+ }
6423
+
6424
+ /* ─── Leading icon ────────────────────────────────────── */
6425
+
6426
+ .muka-search-input__leading {
6427
+ display: inline-flex;
6428
+ align-items: center;
6429
+ justify-content: center;
6430
+ flex-shrink: 0;
6431
+ color: var(--color-text-subtle-default);
6432
+ }
6433
+
6434
+ /* ─── Input element ───────────────────────────────────── */
6435
+
6436
+ .muka-search-input__input {
6437
+ flex: 1 1 auto;
6438
+ min-width: 0;
6439
+ border: none;
6440
+ background: transparent;
6441
+ outline: none;
6442
+ padding: 0;
6443
+ color: var(--color-text-default-default);
6444
+ font-family: var(--text-body-base-regular-fontFamily);
6445
+ font-weight: var(--text-body-base-regular-fontWeight);
6446
+ font-size: var(--text-body-base-regular-fontSize);
6447
+ line-height: var(--text-body-base-regular-lineHeight);
6448
+ appearance: none;
6449
+ -webkit-appearance: none;
6450
+ }
6451
+
6452
+ .muka-search-input__input::placeholder {
6453
+ color: var(--color-text-subtle-default);
6454
+ }
6455
+
6456
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
6457
+ .muka-search-input__input::-webkit-search-cancel-button,
6458
+ .muka-search-input__input::-webkit-search-decoration {
6459
+ -webkit-appearance: none;
6460
+ appearance: none;
6443
6461
  }
6444
6462
 
6445
- /* Horizontal image sizing */
6446
- .muka-radio-tile__image--horizontal {
6447
- width: 40px;
6448
- height: 40px;
6463
+ .muka-search-input__input::-ms-clear {
6464
+ display: none;
6449
6465
  }
6450
6466
 
6451
- /* Vertical image sizing */
6452
- .muka-radio-tile--vertical .muka-radio-tile__image {
6453
- width: 100%;
6454
- aspect-ratio: 4/3;
6467
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
6468
+
6469
+ .muka-search-input__trailing {
6470
+ display: inline-flex;
6471
+ align-items: center;
6472
+ justify-content: center;
6473
+ flex-shrink: 0;
6455
6474
  }
6456
6475
 
6457
- /* Content container */
6458
- .muka-radio-tile__content {
6459
- display: flex;
6460
- flex-direction: column;
6461
- flex: 1;
6462
- min-width: 0;
6463
- gap: var(--spacing-1);
6476
+ /* ─── Clear button ────────────────────────────────────── */
6477
+
6478
+ .muka-search-input__clear {
6479
+ display: inline-flex;
6480
+ align-items: center;
6481
+ justify-content: center;
6482
+ width: 20px;
6483
+ height: 20px;
6484
+ border: none;
6485
+ background: none;
6486
+ padding: 0;
6487
+ cursor: pointer;
6488
+ color: var(--color-text-subtle-default);
6489
+ flex-shrink: 0;
6490
+ -webkit-tap-highlight-color: transparent;
6464
6491
  }
6465
6492
 
6466
- /* Label */
6467
- .muka-radio-tile__label {
6468
- font-family: var(--text-body-lg-regular-fontFamily);
6469
- font-weight: var(--text-body-lg-regular-fontWeight);
6470
- font-size: var(--text-body-lg-regular-fontSize);
6471
- line-height: var(--text-body-lg-regular-lineHeight);
6493
+ .muka-search-input__clear:hover {
6472
6494
  color: var(--color-text-default-default);
6473
6495
  }
6474
6496
 
6475
- .muka-radio-tile__label--bold {
6476
- font-family: var(--text-label-lg-semibold-fontFamily);
6477
- font-weight: var(--text-label-lg-semibold-fontWeight);
6478
- font-size: var(--text-label-lg-semibold-fontSize);
6479
- line-height: var(--text-label-lg-semibold-lineHeight);
6497
+ .muka-search-input__clear:focus-visible {
6498
+ outline: 2px solid var(--color-action-default);
6499
+ outline-offset: 2px;
6500
+ border-radius: 50%;
6480
6501
  }
6481
6502
 
6482
- .muka-radio-tile__label--center {
6483
- text-align: center;
6503
+ /* ─── Cancel button ───────────────────────────────────── */
6504
+
6505
+ .muka-search-input__cancel {
6506
+ flex-shrink: 0;
6507
+ background: none;
6508
+ border: none;
6509
+ padding: var(--spacing-1) var(--spacing-2);
6510
+ cursor: pointer;
6511
+ color: var(--color-action-default);
6512
+ font-family: var(--text-label-md-regular-fontFamily);
6513
+ font-weight: var(--text-label-md-regular-fontWeight);
6514
+ font-size: var(--text-label-md-regular-fontSize);
6515
+ line-height: var(--text-label-md-regular-lineHeight);
6516
+ -webkit-tap-highlight-color: transparent;
6484
6517
  }
6485
6518
 
6486
- /* Caption */
6487
- .muka-radio-tile__caption {
6488
- font-family: var(--text-body-base-regular-fontFamily);
6489
- font-weight: var(--text-body-base-regular-fontWeight);
6490
- font-size: var(--text-body-base-regular-fontSize);
6491
- line-height: var(--text-body-base-regular-lineHeight);
6492
- color: var(--color-text-subtle-default);
6519
+ .muka-search-input__cancel:hover {
6520
+ color: var(--color-action-hover);
6493
6521
  }
6494
6522
 
6495
- /* Disabled states */
6496
- .muka-radio-tile--disabled .muka-radio-tile__label,
6497
- .muka-radio-tile--disabled .muka-radio-tile__icon {
6498
- color: var(--color-text-subtle-default);
6523
+ .muka-search-input__cancel:focus-visible {
6524
+ outline: 2px solid var(--color-action-default);
6525
+ outline-offset: 2px;
6526
+ border-radius: var(--radius-sm);
6499
6527
  }
6500
6528
 
6501
6529
 
@@ -7852,37 +7880,6 @@ button.muka-progress-tracker__tab:focus-visible {
7852
7880
  }
7853
7881
 
7854
7882
 
7855
- /* Popover */
7856
- /* Popover Component Styles */
7857
-
7858
- .muka-popover__content {
7859
- background-color: var(--color-surface-level3);
7860
- border: var(--border-width-regular) solid var(--color-border-default);
7861
- border-radius: var(--radius-md);
7862
- padding: var(--spacing-4);
7863
- box-shadow: var(--shadow-level3);
7864
- max-width: 20rem;
7865
- z-index: 50;
7866
- animation: muka-popover-fade-in 150ms ease;
7867
- }
7868
-
7869
- @keyframes muka-popover-fade-in {
7870
- from {
7871
- opacity: 0;
7872
- transform: scale(0.96);
7873
- }
7874
- to {
7875
- opacity: 1;
7876
- transform: scale(1);
7877
- }
7878
- }
7879
-
7880
- /* Arrow */
7881
- .muka-popover__arrow {
7882
- fill: var(--color-surface-level3);
7883
- }
7884
-
7885
-
7886
7883
  /* PieChart */
7887
7884
  /* PieChart Component Styles - Using Muka Design Tokens */
7888
7885
 
@@ -8228,6 +8225,37 @@ button.muka-progress-tracker__tab:focus-visible {
8228
8225
  }
8229
8226
 
8230
8227
 
8228
+ /* Popover */
8229
+ /* Popover Component Styles */
8230
+
8231
+ .muka-popover__content {
8232
+ background-color: var(--color-surface-level3);
8233
+ border: var(--border-width-regular) solid var(--color-border-default);
8234
+ border-radius: var(--radius-md);
8235
+ padding: var(--spacing-4);
8236
+ box-shadow: var(--shadow-level3);
8237
+ max-width: 20rem;
8238
+ z-index: 50;
8239
+ animation: muka-popover-fade-in 150ms ease;
8240
+ }
8241
+
8242
+ @keyframes muka-popover-fade-in {
8243
+ from {
8244
+ opacity: 0;
8245
+ transform: scale(0.96);
8246
+ }
8247
+ to {
8248
+ opacity: 1;
8249
+ transform: scale(1);
8250
+ }
8251
+ }
8252
+
8253
+ /* Arrow */
8254
+ .muka-popover__arrow {
8255
+ fill: var(--color-surface-level3);
8256
+ }
8257
+
8258
+
8231
8259
  /* NumberInput */
8232
8260
  /* NumberInput — reuses Input field styles (../Input/Input.css). */
8233
8261
  /* Only the prefix/suffix affixes are NumberInput-specific. */
@@ -9838,6 +9866,26 @@ li.muka-listitem {
9838
9866
  }
9839
9867
 
9840
9868
 
9869
+ /* Form */
9870
+ .muka-form {
9871
+ display: flex;
9872
+ flex-direction: column;
9873
+ width: 100%;
9874
+ }
9875
+
9876
+ .muka-form--gap-sm {
9877
+ gap: var(--size-sm);
9878
+ }
9879
+
9880
+ .muka-form--gap-md {
9881
+ gap: var(--size-md);
9882
+ }
9883
+
9884
+ .muka-form--gap-lg {
9885
+ gap: var(--size-lg);
9886
+ }
9887
+
9888
+
9841
9889
  /* Icon */
9842
9890
  /* Icon Component Styles - Using Muka Design Tokens */
9843
9891
 
@@ -9892,26 +9940,6 @@ li.muka-listitem {
9892
9940
  }
9893
9941
 
9894
9942
 
9895
- /* Form */
9896
- .muka-form {
9897
- display: flex;
9898
- flex-direction: column;
9899
- width: 100%;
9900
- }
9901
-
9902
- .muka-form--gap-sm {
9903
- gap: var(--size-sm);
9904
- }
9905
-
9906
- .muka-form--gap-md {
9907
- gap: var(--size-md);
9908
- }
9909
-
9910
- .muka-form--gap-lg {
9911
- gap: var(--size-lg);
9912
- }
9913
-
9914
-
9915
9943
  /* FileUpload */
9916
9944
  /* FileUpload Component Styles */
9917
9945
 
@@ -11141,33 +11169,6 @@ li.muka-listitem {
11141
11169
  }
11142
11170
 
11143
11171
 
11144
- /* Divider */
11145
- /* Divider Component Styles - Using Muka Design Tokens */
11146
-
11147
- .muka-divider {
11148
- flex-shrink: 0;
11149
- }
11150
-
11151
- .muka-divider--horizontal {
11152
- width: 100%;
11153
- height: var(--separator-width);
11154
- }
11155
-
11156
- .muka-divider--vertical {
11157
- height: 100%;
11158
- width: var(--separator-width);
11159
- align-self: stretch;
11160
- }
11161
-
11162
- .muka-divider--default {
11163
- background-color: var(--separator-color-default);
11164
- }
11165
-
11166
- .muka-divider--contrast {
11167
- background-color: var(--separator-color-contrast);
11168
- }
11169
-
11170
-
11171
11172
  /* Dialog */
11172
11173
  /* Dialog Component Styles */
11173
11174
 
@@ -11439,6 +11440,33 @@ li.muka-listitem {
11439
11440
  }
11440
11441
 
11441
11442
 
11443
+ /* Divider */
11444
+ /* Divider Component Styles - Using Muka Design Tokens */
11445
+
11446
+ .muka-divider {
11447
+ flex-shrink: 0;
11448
+ }
11449
+
11450
+ .muka-divider--horizontal {
11451
+ width: 100%;
11452
+ height: var(--separator-width);
11453
+ }
11454
+
11455
+ .muka-divider--vertical {
11456
+ height: 100%;
11457
+ width: var(--separator-width);
11458
+ align-self: stretch;
11459
+ }
11460
+
11461
+ .muka-divider--default {
11462
+ background-color: var(--separator-color-default);
11463
+ }
11464
+
11465
+ .muka-divider--contrast {
11466
+ background-color: var(--separator-color-contrast);
11467
+ }
11468
+
11469
+
11442
11470
  /* DatePicker */
11443
11471
  /* DatePicker — compact native date field. */
11444
11472
  /* Field/label/helper styling is inherited from ../Input/Input.css. */