@revikornmann/muka-ui 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3498,114 +3498,6 @@ body {
3498
3498
  }
3499
3499
 
3500
3500
 
3501
- /* SwipeActions */
3502
- /* SwipeActions Component Styles */
3503
-
3504
- .muka-swipe-actions {
3505
- position: relative;
3506
- overflow: hidden;
3507
- touch-action: pan-y;
3508
- -webkit-user-select: none;
3509
- user-select: none;
3510
- background-color: var(--color-surface-level3);
3511
- }
3512
-
3513
- .muka-swipe-actions--disabled {
3514
- touch-action: auto;
3515
- }
3516
-
3517
- /* ─── Row that holds the actual content ────────────────── */
3518
-
3519
- .muka-swipe-actions__row {
3520
- position: relative;
3521
- z-index: 1;
3522
- background-color: inherit;
3523
- will-change: transform;
3524
- }
3525
-
3526
- /* ─── Action panels — sit beneath the row ──────────────── */
3527
-
3528
- .muka-swipe-actions__panel {
3529
- position: absolute;
3530
- top: 0;
3531
- bottom: 0;
3532
- display: flex;
3533
- align-items: stretch;
3534
- z-index: 0;
3535
- }
3536
-
3537
- .muka-swipe-actions__panel--left {
3538
- left: 0;
3539
- }
3540
-
3541
- .muka-swipe-actions__panel--right {
3542
- right: 0;
3543
- }
3544
-
3545
- /* ─── Single action button ─────────────────────────────── */
3546
-
3547
- .muka-swipe-actions__button {
3548
- display: flex;
3549
- flex-direction: column;
3550
- align-items: center;
3551
- justify-content: center;
3552
- gap: var(--spacing-1);
3553
- border: none;
3554
- cursor: pointer;
3555
- padding: var(--spacing-2);
3556
- background-color: var(--color-surface-level2);
3557
- color: var(--color-text-default-default);
3558
- font-family: var(--text-label-sm-semibold-fontFamily);
3559
- font-weight: var(--text-label-sm-semibold-fontWeight);
3560
- font-size: var(--text-label-sm-semibold-fontSize);
3561
- line-height: var(--text-label-sm-semibold-lineHeight);
3562
- -webkit-tap-highlight-color: transparent;
3563
- transition: filter 0.12s ease;
3564
- }
3565
-
3566
- .muka-swipe-actions__button:hover {
3567
- filter: brightness(0.95);
3568
- }
3569
-
3570
- .muka-swipe-actions__button:focus-visible {
3571
- outline: 2px solid var(--color-action-default);
3572
- outline-offset: -2px;
3573
- }
3574
-
3575
- .muka-swipe-actions__button-icon {
3576
- display: inline-flex;
3577
- align-items: center;
3578
- justify-content: center;
3579
- }
3580
-
3581
- /* ─── Color variants ───────────────────────────────────── */
3582
-
3583
- .muka-swipe-actions__button--neutral {
3584
- background-color: var(--color-surface-level2);
3585
- color: var(--color-text-default-default);
3586
- }
3587
-
3588
- .muka-swipe-actions__button--primary {
3589
- background-color: var(--color-action-default);
3590
- color: var(--color-text-inverse-default, #fff);
3591
- }
3592
-
3593
- .muka-swipe-actions__button--success {
3594
- background-color: var(--color-state-success-default, var(--color-action-default));
3595
- color: var(--color-text-inverse-default, #fff);
3596
- }
3597
-
3598
- .muka-swipe-actions__button--warning {
3599
- background-color: var(--color-state-warning-default, var(--color-action-default));
3600
- color: var(--color-text-default-default);
3601
- }
3602
-
3603
- .muka-swipe-actions__button--destructive {
3604
- background-color: var(--color-state-error-default, #c0392b);
3605
- color: var(--color-text-inverse-default, #fff);
3606
- }
3607
-
3608
-
3609
3501
  /* Table */
3610
3502
  /* Table Component Styles - Using Muka Design Tokens */
3611
3503
 
@@ -3958,6 +3850,114 @@ body {
3958
3850
  }
3959
3851
 
3960
3852
 
3853
+ /* SwipeActions */
3854
+ /* SwipeActions Component Styles */
3855
+
3856
+ .muka-swipe-actions {
3857
+ position: relative;
3858
+ overflow: hidden;
3859
+ touch-action: pan-y;
3860
+ -webkit-user-select: none;
3861
+ user-select: none;
3862
+ background-color: var(--color-surface-level3);
3863
+ }
3864
+
3865
+ .muka-swipe-actions--disabled {
3866
+ touch-action: auto;
3867
+ }
3868
+
3869
+ /* ─── Row that holds the actual content ────────────────── */
3870
+
3871
+ .muka-swipe-actions__row {
3872
+ position: relative;
3873
+ z-index: 1;
3874
+ background-color: inherit;
3875
+ will-change: transform;
3876
+ }
3877
+
3878
+ /* ─── Action panels — sit beneath the row ──────────────── */
3879
+
3880
+ .muka-swipe-actions__panel {
3881
+ position: absolute;
3882
+ top: 0;
3883
+ bottom: 0;
3884
+ display: flex;
3885
+ align-items: stretch;
3886
+ z-index: 0;
3887
+ }
3888
+
3889
+ .muka-swipe-actions__panel--left {
3890
+ left: 0;
3891
+ }
3892
+
3893
+ .muka-swipe-actions__panel--right {
3894
+ right: 0;
3895
+ }
3896
+
3897
+ /* ─── Single action button ─────────────────────────────── */
3898
+
3899
+ .muka-swipe-actions__button {
3900
+ display: flex;
3901
+ flex-direction: column;
3902
+ align-items: center;
3903
+ justify-content: center;
3904
+ gap: var(--spacing-1);
3905
+ border: none;
3906
+ cursor: pointer;
3907
+ padding: var(--spacing-2);
3908
+ background-color: var(--color-surface-level2);
3909
+ color: var(--color-text-default-default);
3910
+ font-family: var(--text-label-sm-semibold-fontFamily);
3911
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3912
+ font-size: var(--text-label-sm-semibold-fontSize);
3913
+ line-height: var(--text-label-sm-semibold-lineHeight);
3914
+ -webkit-tap-highlight-color: transparent;
3915
+ transition: filter 0.12s ease;
3916
+ }
3917
+
3918
+ .muka-swipe-actions__button:hover {
3919
+ filter: brightness(0.95);
3920
+ }
3921
+
3922
+ .muka-swipe-actions__button:focus-visible {
3923
+ outline: 2px solid var(--color-action-default);
3924
+ outline-offset: -2px;
3925
+ }
3926
+
3927
+ .muka-swipe-actions__button-icon {
3928
+ display: inline-flex;
3929
+ align-items: center;
3930
+ justify-content: center;
3931
+ }
3932
+
3933
+ /* ─── Color variants ───────────────────────────────────── */
3934
+
3935
+ .muka-swipe-actions__button--neutral {
3936
+ background-color: var(--color-surface-level2);
3937
+ color: var(--color-text-default-default);
3938
+ }
3939
+
3940
+ .muka-swipe-actions__button--primary {
3941
+ background-color: var(--color-action-default);
3942
+ color: var(--color-text-inverse-default, #fff);
3943
+ }
3944
+
3945
+ .muka-swipe-actions__button--success {
3946
+ background-color: var(--color-state-success-default, var(--color-action-default));
3947
+ color: var(--color-text-inverse-default, #fff);
3948
+ }
3949
+
3950
+ .muka-swipe-actions__button--warning {
3951
+ background-color: var(--color-state-warning-default, var(--color-action-default));
3952
+ color: var(--color-text-default-default);
3953
+ }
3954
+
3955
+ .muka-swipe-actions__button--destructive {
3956
+ background-color: var(--color-state-error-default, #c0392b);
3957
+ color: var(--color-text-inverse-default, #fff);
3958
+ }
3959
+
3960
+
3961
3961
  /* Spinner */
3962
3962
  /* Spinner Component Styles */
3963
3963
 
@@ -4108,189 +4108,34 @@ body {
4108
4108
  }
4109
4109
 
4110
4110
 
4111
- /* Skeleton */
4112
- /* Skeleton Component Styles */
4111
+ /* SmsOtpField */
4112
+ /* SmsOtpField Component Styles - Using Muka Design Tokens */
4113
4113
 
4114
- .muka-skeleton {
4115
- background-color: var(--color-surface-level1);
4116
- display: block;
4114
+ /* Wrapper */
4115
+ .muka-sms-otp-field {
4116
+ display: inline-flex;
4117
+ flex-direction: column;
4118
+ gap: var(--spacing-2);
4117
4119
  }
4118
4120
 
4119
- /* Variants */
4120
- .muka-skeleton--text {
4121
- height: 1em;
4122
- border-radius: var(--radius-md);
4123
- width: 100%;
4121
+ /* Label */
4122
+ .muka-sms-otp-field__label {
4123
+ color: var(--color-text-default-default);
4124
+ cursor: pointer;
4124
4125
  }
4125
4126
 
4126
- .muka-skeleton--circular {
4127
- width: 2.5rem;
4128
- height: 2.5rem;
4129
- border-radius: var(--radius-full);
4127
+ .muka-sms-otp-field__label--sm {
4128
+ font-family: var(--text-label-sm-semibold-fontFamily);
4129
+ font-weight: var(--text-label-sm-semibold-fontWeight);
4130
+ font-size: var(--text-label-sm-semibold-fontSize);
4131
+ line-height: var(--text-label-sm-semibold-lineHeight);
4130
4132
  }
4131
4133
 
4132
- .muka-skeleton--rectangular {
4133
- height: 7.5rem;
4134
- border-radius: var(--radius-md);
4135
- width: 100%;
4136
- }
4137
-
4138
- /* Last line in multi-line text is shorter */
4139
- .muka-skeleton--last-line {
4140
- width: 80%;
4141
- }
4142
-
4143
- /* Lines container */
4144
- .muka-skeleton__lines {
4145
- display: flex;
4146
- flex-direction: column;
4147
- gap: var(--spacing-2);
4148
- }
4149
-
4150
- /* Shimmer animation */
4151
- @keyframes muka-skeleton-shimmer {
4152
- 0% {
4153
- background-position: -200% 0;
4154
- }
4155
- 100% {
4156
- background-position: 200% 0;
4157
- }
4158
- }
4159
-
4160
- .muka-skeleton--shimmer {
4161
- background: linear-gradient(
4162
- 90deg,
4163
- var(--color-surface-level1) 25%,
4164
- var(--color-surface-level2) 50%,
4165
- var(--color-surface-level1) 75%
4166
- );
4167
- background-size: 200% 100%;
4168
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
4169
- }
4170
-
4171
- /* Pulse animation */
4172
- @keyframes muka-skeleton-pulse {
4173
- 0%, 100% {
4174
- opacity: 1;
4175
- }
4176
- 50% {
4177
- opacity: 0.4;
4178
- }
4179
- }
4180
-
4181
- .muka-skeleton--pulse {
4182
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
4183
- }
4184
-
4185
-
4186
- /* Sheet */
4187
- /* Sheet Component Styles */
4188
-
4189
- /* ─── Backdrop ────────────────────────────────────────── */
4190
-
4191
- .muka-sheet__overlay {
4192
- position: fixed;
4193
- inset: 0;
4194
- background-color: var(--color-surface-backdrop);
4195
- z-index: 50;
4196
- }
4197
-
4198
- /* ─── Surface ─────────────────────────────────────────── */
4199
-
4200
- .muka-sheet {
4201
- position: fixed;
4202
- left: 0;
4203
- right: 0;
4204
- bottom: 0;
4205
- z-index: 51;
4206
-
4207
- display: flex;
4208
- flex-direction: column;
4209
-
4210
- max-height: 96dvh;
4211
-
4212
- background-color: var(--color-surface-level3);
4213
- border-top-left-radius: var(--radius-lg);
4214
- border-top-right-radius: var(--radius-lg);
4215
- box-shadow: var(--shadow-level5);
4216
-
4217
- outline: none;
4218
- }
4219
-
4220
- /* Safe-area bottom inset for the iPhone home indicator. */
4221
- .muka-sheet:not(.muka-sheet--no-safe-area) {
4222
- padding-bottom: env(safe-area-inset-bottom);
4223
- }
4224
-
4225
- /* ─── Drag handle ─────────────────────────────────────── */
4226
-
4227
- .muka-sheet__handle-container {
4228
- display: flex;
4229
- justify-content: center;
4230
- flex-shrink: 0;
4231
- padding: var(--spacing-3) 0;
4232
- }
4233
-
4234
- .muka-sheet__handle {
4235
- width: var(--dialog-drag-handle-width);
4236
- height: var(--dialog-drag-handle-height);
4237
- background-color: var(--dialog-drag-handle-color);
4238
- border-radius: var(--dialog-drag-handle-radius);
4239
- }
4240
-
4241
- /* ─── Body (scrollable) ───────────────────────────────── */
4242
-
4243
- .muka-sheet__body {
4244
- flex: 1 1 0%;
4245
- min-height: 0;
4246
- overflow-y: auto;
4247
- -webkit-overflow-scrolling: touch;
4248
- overscroll-behavior: contain;
4249
- }
4250
-
4251
- /* ─── Visually-hidden title (a11y) ────────────────────── */
4252
-
4253
- .muka-sheet__sr-title {
4254
- position: absolute;
4255
- width: 1px;
4256
- height: 1px;
4257
- padding: 0;
4258
- margin: -1px;
4259
- overflow: hidden;
4260
- clip: rect(0, 0, 0, 0);
4261
- white-space: nowrap;
4262
- border: 0;
4263
- }
4264
-
4265
-
4266
- /* SmsOtpField */
4267
- /* SmsOtpField Component Styles - Using Muka Design Tokens */
4268
-
4269
- /* Wrapper */
4270
- .muka-sms-otp-field {
4271
- display: inline-flex;
4272
- flex-direction: column;
4273
- gap: var(--spacing-2);
4274
- }
4275
-
4276
- /* Label */
4277
- .muka-sms-otp-field__label {
4278
- color: var(--color-text-default-default);
4279
- cursor: pointer;
4280
- }
4281
-
4282
- .muka-sms-otp-field__label--sm {
4283
- font-family: var(--text-label-sm-semibold-fontFamily);
4284
- font-weight: var(--text-label-sm-semibold-fontWeight);
4285
- font-size: var(--text-label-sm-semibold-fontSize);
4286
- line-height: var(--text-label-sm-semibold-lineHeight);
4287
- }
4288
-
4289
- .muka-sms-otp-field__label--md {
4290
- font-family: var(--text-label-md-semibold-fontFamily);
4291
- font-weight: var(--text-label-md-semibold-fontWeight);
4292
- font-size: var(--text-label-md-semibold-fontSize);
4293
- line-height: var(--text-label-md-semibold-lineHeight);
4134
+ .muka-sms-otp-field__label--md {
4135
+ font-family: var(--text-label-md-semibold-fontFamily);
4136
+ font-weight: var(--text-label-md-semibold-fontWeight);
4137
+ font-size: var(--text-label-md-semibold-fontSize);
4138
+ line-height: var(--text-label-md-semibold-lineHeight);
4294
4139
  }
4295
4140
 
4296
4141
  .muka-sms-otp-field__label--lg {
@@ -4414,44 +4259,199 @@ body {
4414
4259
  outline: none;
4415
4260
  }
4416
4261
 
4417
- /* Error state */
4418
- .muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
4419
- border-width: var(--border-width-bold);
4420
- border-color: var(--input-field-color-error-border);
4421
- background-color: var(--input-field-color-error-background);
4262
+ /* Error state */
4263
+ .muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
4264
+ border-width: var(--border-width-bold);
4265
+ border-color: var(--input-field-color-error-border);
4266
+ background-color: var(--input-field-color-error-background);
4267
+ }
4268
+
4269
+ /* Disabled state */
4270
+ .muka-sms-otp-field__digit--disabled {
4271
+ background-color: var(--input-field-color-disabled-background);
4272
+ border-color: var(--input-field-color-disabled-border);
4273
+ color: var(--input-field-color-disabled-foreground);
4274
+ cursor: not-allowed;
4275
+ }
4276
+
4277
+ /* Filled state — slightly bolder text */
4278
+ .muka-sms-otp-field__digit--filled {
4279
+ color: var(--input-field-color-default-foreground);
4280
+ }
4281
+
4282
+ /* Helper text */
4283
+ .muka-sms-otp-field__helper {
4284
+ font-family: var(--text-label-sm-regular-fontFamily);
4285
+ font-weight: var(--text-label-sm-regular-fontWeight);
4286
+ font-size: var(--text-label-sm-regular-fontSize);
4287
+ line-height: var(--text-label-sm-regular-lineHeight);
4288
+ color: var(--color-text-subtle-default);
4289
+ margin: 0;
4290
+ }
4291
+
4292
+ /* Error message */
4293
+ .muka-sms-otp-field__error {
4294
+ font-family: var(--text-label-sm-regular-fontFamily);
4295
+ font-weight: var(--text-label-sm-regular-fontWeight);
4296
+ font-size: var(--text-label-sm-regular-fontSize);
4297
+ line-height: var(--text-label-sm-regular-lineHeight);
4298
+ color: var(--color-state-error-foreground);
4299
+ margin: 0;
4300
+ }
4301
+
4302
+
4303
+ /* Skeleton */
4304
+ /* Skeleton Component Styles */
4305
+
4306
+ .muka-skeleton {
4307
+ background-color: var(--color-surface-level1);
4308
+ display: block;
4309
+ }
4310
+
4311
+ /* Variants */
4312
+ .muka-skeleton--text {
4313
+ height: 1em;
4314
+ border-radius: var(--radius-md);
4315
+ width: 100%;
4316
+ }
4317
+
4318
+ .muka-skeleton--circular {
4319
+ width: 2.5rem;
4320
+ height: 2.5rem;
4321
+ border-radius: var(--radius-full);
4322
+ }
4323
+
4324
+ .muka-skeleton--rectangular {
4325
+ height: 7.5rem;
4326
+ border-radius: var(--radius-md);
4327
+ width: 100%;
4328
+ }
4329
+
4330
+ /* Last line in multi-line text is shorter */
4331
+ .muka-skeleton--last-line {
4332
+ width: 80%;
4333
+ }
4334
+
4335
+ /* Lines container */
4336
+ .muka-skeleton__lines {
4337
+ display: flex;
4338
+ flex-direction: column;
4339
+ gap: var(--spacing-2);
4340
+ }
4341
+
4342
+ /* Shimmer animation */
4343
+ @keyframes muka-skeleton-shimmer {
4344
+ 0% {
4345
+ background-position: -200% 0;
4346
+ }
4347
+ 100% {
4348
+ background-position: 200% 0;
4349
+ }
4350
+ }
4351
+
4352
+ .muka-skeleton--shimmer {
4353
+ background: linear-gradient(
4354
+ 90deg,
4355
+ var(--color-surface-level1) 25%,
4356
+ var(--color-surface-level2) 50%,
4357
+ var(--color-surface-level1) 75%
4358
+ );
4359
+ background-size: 200% 100%;
4360
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
4361
+ }
4362
+
4363
+ /* Pulse animation */
4364
+ @keyframes muka-skeleton-pulse {
4365
+ 0%, 100% {
4366
+ opacity: 1;
4367
+ }
4368
+ 50% {
4369
+ opacity: 0.4;
4370
+ }
4371
+ }
4372
+
4373
+ .muka-skeleton--pulse {
4374
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
4375
+ }
4376
+
4377
+
4378
+ /* Sheet */
4379
+ /* Sheet Component Styles */
4380
+
4381
+ /* ─── Backdrop ────────────────────────────────────────── */
4382
+
4383
+ .muka-sheet__overlay {
4384
+ position: fixed;
4385
+ inset: 0;
4386
+ background-color: var(--color-surface-backdrop);
4387
+ z-index: 50;
4388
+ }
4389
+
4390
+ /* ─── Surface ─────────────────────────────────────────── */
4391
+
4392
+ .muka-sheet {
4393
+ position: fixed;
4394
+ left: 0;
4395
+ right: 0;
4396
+ bottom: 0;
4397
+ z-index: 51;
4398
+
4399
+ display: flex;
4400
+ flex-direction: column;
4401
+
4402
+ max-height: 96dvh;
4403
+
4404
+ background-color: var(--color-surface-level3);
4405
+ border-top-left-radius: var(--radius-lg);
4406
+ border-top-right-radius: var(--radius-lg);
4407
+ box-shadow: var(--shadow-level5);
4408
+
4409
+ outline: none;
4410
+ }
4411
+
4412
+ /* Safe-area bottom inset for the iPhone home indicator. */
4413
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
4414
+ padding-bottom: env(safe-area-inset-bottom);
4415
+ }
4416
+
4417
+ /* ─── Drag handle ─────────────────────────────────────── */
4418
+
4419
+ .muka-sheet__handle-container {
4420
+ display: flex;
4421
+ justify-content: center;
4422
+ flex-shrink: 0;
4423
+ padding: var(--spacing-3) 0;
4424
+ }
4425
+
4426
+ .muka-sheet__handle {
4427
+ width: var(--dialog-drag-handle-width);
4428
+ height: var(--dialog-drag-handle-height);
4429
+ background-color: var(--dialog-drag-handle-color);
4430
+ border-radius: var(--dialog-drag-handle-radius);
4422
4431
  }
4423
4432
 
4424
- /* Disabled state */
4425
- .muka-sms-otp-field__digit--disabled {
4426
- background-color: var(--input-field-color-disabled-background);
4427
- border-color: var(--input-field-color-disabled-border);
4428
- color: var(--input-field-color-disabled-foreground);
4429
- cursor: not-allowed;
4430
- }
4433
+ /* ─── Body (scrollable) ───────────────────────────────── */
4431
4434
 
4432
- /* Filled state — slightly bolder text */
4433
- .muka-sms-otp-field__digit--filled {
4434
- color: var(--input-field-color-default-foreground);
4435
+ .muka-sheet__body {
4436
+ flex: 1 1 0%;
4437
+ min-height: 0;
4438
+ overflow-y: auto;
4439
+ -webkit-overflow-scrolling: touch;
4440
+ overscroll-behavior: contain;
4435
4441
  }
4436
4442
 
4437
- /* Helper text */
4438
- .muka-sms-otp-field__helper {
4439
- font-family: var(--text-label-sm-regular-fontFamily);
4440
- font-weight: var(--text-label-sm-regular-fontWeight);
4441
- font-size: var(--text-label-sm-regular-fontSize);
4442
- line-height: var(--text-label-sm-regular-lineHeight);
4443
- color: var(--color-text-subtle-default);
4444
- margin: 0;
4445
- }
4443
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
4446
4444
 
4447
- /* Error message */
4448
- .muka-sms-otp-field__error {
4449
- font-family: var(--text-label-sm-regular-fontFamily);
4450
- font-weight: var(--text-label-sm-regular-fontWeight);
4451
- font-size: var(--text-label-sm-regular-fontSize);
4452
- line-height: var(--text-label-sm-regular-lineHeight);
4453
- color: var(--color-state-error-foreground);
4454
- margin: 0;
4445
+ .muka-sheet__sr-title {
4446
+ position: absolute;
4447
+ width: 1px;
4448
+ height: 1px;
4449
+ padding: 0;
4450
+ margin: -1px;
4451
+ overflow: hidden;
4452
+ clip: rect(0, 0, 0, 0);
4453
+ white-space: nowrap;
4454
+ border: 0;
4455
4455
  }
4456
4456
 
4457
4457
 
@@ -4860,6 +4860,175 @@ body {
4860
4860
  }
4861
4861
 
4862
4862
 
4863
+ /* SearchInput */
4864
+ /* SearchInput Component Styles */
4865
+
4866
+ .muka-search-input {
4867
+ display: flex;
4868
+ align-items: center;
4869
+ gap: var(--spacing-3);
4870
+ width: 100%;
4871
+ }
4872
+
4873
+ /* ─── Field wrapper ───────────────────────────────────── */
4874
+
4875
+ .muka-search-input__field {
4876
+ flex: 1 1 auto;
4877
+ display: flex;
4878
+ align-items: center;
4879
+ gap: var(--spacing-2);
4880
+ background-color: var(--input-field-color-default-background);
4881
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
4882
+ border-radius: var(--input-field-radius-md);
4883
+ padding: 0 var(--input-field-padding-x);
4884
+ transition: border-color 0.12s ease, background-color 0.12s ease;
4885
+ }
4886
+
4887
+ .muka-search-input--focused .muka-search-input__field {
4888
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
4889
+ }
4890
+
4891
+ /* ─── Sizes ───────────────────────────────────────────── */
4892
+
4893
+ .muka-search-input--sm .muka-search-input__field {
4894
+ min-height: var(--input-field-height-sm);
4895
+ border-radius: var(--input-field-radius-sm);
4896
+ }
4897
+
4898
+ .muka-search-input--md .muka-search-input__field {
4899
+ min-height: var(--input-field-height-default);
4900
+ }
4901
+
4902
+ .muka-search-input--lg .muka-search-input__field {
4903
+ min-height: var(--input-field-height-lg);
4904
+ border-radius: var(--input-field-radius-lg);
4905
+ }
4906
+
4907
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
4908
+
4909
+ .muka-search-input--embedded .muka-search-input__field {
4910
+ background-color: var(--color-surface-level1);
4911
+ border-color: transparent;
4912
+ }
4913
+
4914
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
4915
+ border-color: transparent;
4916
+ background-color: var(--color-surface-level2);
4917
+ }
4918
+
4919
+ /* ─── Disabled ────────────────────────────────────────── */
4920
+
4921
+ .muka-search-input--disabled .muka-search-input__field {
4922
+ opacity: 0.5;
4923
+ pointer-events: none;
4924
+ }
4925
+
4926
+ /* ─── Leading icon ────────────────────────────────────── */
4927
+
4928
+ .muka-search-input__leading {
4929
+ display: inline-flex;
4930
+ align-items: center;
4931
+ justify-content: center;
4932
+ flex-shrink: 0;
4933
+ color: var(--color-text-subtle-default);
4934
+ }
4935
+
4936
+ /* ─── Input element ───────────────────────────────────── */
4937
+
4938
+ .muka-search-input__input {
4939
+ flex: 1 1 auto;
4940
+ min-width: 0;
4941
+ border: none;
4942
+ background: transparent;
4943
+ outline: none;
4944
+ padding: 0;
4945
+ color: var(--color-text-default-default);
4946
+ font-family: var(--text-body-md-regular-fontFamily);
4947
+ font-weight: var(--text-body-md-regular-fontWeight);
4948
+ font-size: var(--text-body-md-regular-fontSize);
4949
+ line-height: var(--text-body-md-regular-lineHeight);
4950
+ appearance: none;
4951
+ -webkit-appearance: none;
4952
+ }
4953
+
4954
+ .muka-search-input__input::placeholder {
4955
+ color: var(--color-text-subtle-default);
4956
+ }
4957
+
4958
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
4959
+ .muka-search-input__input::-webkit-search-cancel-button,
4960
+ .muka-search-input__input::-webkit-search-decoration {
4961
+ -webkit-appearance: none;
4962
+ appearance: none;
4963
+ }
4964
+
4965
+ .muka-search-input__input::-ms-clear {
4966
+ display: none;
4967
+ }
4968
+
4969
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
4970
+
4971
+ .muka-search-input__trailing {
4972
+ display: inline-flex;
4973
+ align-items: center;
4974
+ justify-content: center;
4975
+ flex-shrink: 0;
4976
+ }
4977
+
4978
+ /* ─── Clear button ────────────────────────────────────── */
4979
+
4980
+ .muka-search-input__clear {
4981
+ display: inline-flex;
4982
+ align-items: center;
4983
+ justify-content: center;
4984
+ width: 20px;
4985
+ height: 20px;
4986
+ border: none;
4987
+ background: none;
4988
+ padding: 0;
4989
+ cursor: pointer;
4990
+ color: var(--color-text-subtle-default);
4991
+ flex-shrink: 0;
4992
+ -webkit-tap-highlight-color: transparent;
4993
+ }
4994
+
4995
+ .muka-search-input__clear:hover {
4996
+ color: var(--color-text-default-default);
4997
+ }
4998
+
4999
+ .muka-search-input__clear:focus-visible {
5000
+ outline: 2px solid var(--color-action-default);
5001
+ outline-offset: 2px;
5002
+ border-radius: 50%;
5003
+ }
5004
+
5005
+ /* ─── Cancel button ───────────────────────────────────── */
5006
+
5007
+ .muka-search-input__cancel {
5008
+ flex-shrink: 0;
5009
+ background: none;
5010
+ border: none;
5011
+ padding: var(--spacing-1) var(--spacing-2);
5012
+ cursor: pointer;
5013
+ color: var(--color-action-default);
5014
+ font-family: var(--text-label-md-regular-fontFamily);
5015
+ font-weight: var(--text-label-md-regular-fontWeight);
5016
+ font-size: var(--text-label-md-regular-fontSize);
5017
+ line-height: var(--text-label-md-regular-lineHeight);
5018
+ -webkit-tap-highlight-color: transparent;
5019
+ }
5020
+
5021
+ .muka-search-input__cancel:hover {
5022
+ color: var(--color-action-hover);
5023
+ }
5024
+
5025
+ .muka-search-input__cancel:focus-visible {
5026
+ outline: 2px solid var(--color-action-default);
5027
+ outline-offset: 2px;
5028
+ border-radius: var(--radius-sm);
5029
+ }
5030
+
5031
+
4863
5032
  /* RangeSlider */
4864
5033
  /* RangeSlider Component Styles - Using Muka Design Tokens */
4865
5034
 
@@ -5344,69 +5513,22 @@ body {
5344
5513
  color: var(--color-text-default-default);
5345
5514
  }
5346
5515
 
5347
- .muka-radio--sm .muka-radio__label {
5348
- font-family: var(--text-label-md-regular-fontFamily);
5349
- font-weight: var(--text-label-md-regular-fontWeight);
5350
- font-size: var(--text-label-md-regular-fontSize);
5351
- line-height: var(--text-label-md-regular-lineHeight);
5352
- }
5353
-
5354
- .muka-radio--lg .muka-radio__label {
5355
- font-family: var(--text-label-xl-regular-fontFamily);
5356
- font-weight: var(--text-label-xl-regular-fontWeight);
5357
- font-size: var(--text-label-xl-regular-fontSize);
5358
- line-height: var(--text-label-xl-regular-lineHeight);
5359
- }
5360
-
5361
- .muka-radio--disabled .muka-radio__label {
5362
- color: var(--color-text-subtle-default);
5363
- }
5364
-
5365
-
5366
- /* PullToRefresh */
5367
- /* PullToRefresh Component Styles */
5368
-
5369
- .muka-pull-to-refresh {
5370
- position: relative;
5371
- display: flex;
5372
- flex-direction: column;
5373
- width: 100%;
5374
- height: 100%;
5375
- overflow: hidden;
5376
- }
5377
-
5378
- .muka-pull-to-refresh__indicator {
5379
- position: absolute;
5380
- top: 0;
5381
- left: 0;
5382
- right: 0;
5383
- display: flex;
5384
- align-items: flex-end;
5385
- justify-content: center;
5386
- padding-bottom: var(--spacing-2);
5387
- color: var(--color-text-subtle-default);
5388
- overflow: hidden;
5389
- pointer-events: none;
5390
- z-index: 1;
5516
+ .muka-radio--sm .muka-radio__label {
5517
+ font-family: var(--text-label-md-regular-fontFamily);
5518
+ font-weight: var(--text-label-md-regular-fontWeight);
5519
+ font-size: var(--text-label-md-regular-fontSize);
5520
+ line-height: var(--text-label-md-regular-lineHeight);
5391
5521
  }
5392
5522
 
5393
- .muka-pull-to-refresh__chevron {
5394
- display: inline-flex;
5395
- align-items: center;
5396
- justify-content: center;
5397
- transition: transform 0.16s ease;
5523
+ .muka-radio--lg .muka-radio__label {
5524
+ font-family: var(--text-label-xl-regular-fontFamily);
5525
+ font-weight: var(--text-label-xl-regular-fontWeight);
5526
+ font-size: var(--text-label-xl-regular-fontSize);
5527
+ line-height: var(--text-label-xl-regular-lineHeight);
5398
5528
  }
5399
5529
 
5400
- .muka-pull-to-refresh__scroller {
5401
- flex: 1 1 auto;
5402
- min-height: 0;
5403
- width: 100%;
5404
- overflow-x: clip;
5405
- overflow-y: auto;
5406
- -webkit-overflow-scrolling: touch;
5407
- overscroll-behavior-y: contain;
5408
- touch-action: pan-y;
5409
- will-change: transform;
5530
+ .muka-radio--disabled .muka-radio__label {
5531
+ color: var(--color-text-subtle-default);
5410
5532
  }
5411
5533
 
5412
5534
 
@@ -5582,6 +5704,53 @@ body {
5582
5704
  }
5583
5705
 
5584
5706
 
5707
+ /* PullToRefresh */
5708
+ /* PullToRefresh Component Styles */
5709
+
5710
+ .muka-pull-to-refresh {
5711
+ position: relative;
5712
+ display: flex;
5713
+ flex-direction: column;
5714
+ width: 100%;
5715
+ height: 100%;
5716
+ overflow: hidden;
5717
+ }
5718
+
5719
+ .muka-pull-to-refresh__indicator {
5720
+ position: absolute;
5721
+ top: 0;
5722
+ left: 0;
5723
+ right: 0;
5724
+ display: flex;
5725
+ align-items: flex-end;
5726
+ justify-content: center;
5727
+ padding-bottom: var(--spacing-2);
5728
+ color: var(--color-text-subtle-default);
5729
+ overflow: hidden;
5730
+ pointer-events: none;
5731
+ z-index: 1;
5732
+ }
5733
+
5734
+ .muka-pull-to-refresh__chevron {
5735
+ display: inline-flex;
5736
+ align-items: center;
5737
+ justify-content: center;
5738
+ transition: transform 0.16s ease;
5739
+ }
5740
+
5741
+ .muka-pull-to-refresh__scroller {
5742
+ flex: 1 1 auto;
5743
+ min-height: 0;
5744
+ width: 100%;
5745
+ overflow-x: clip;
5746
+ overflow-y: auto;
5747
+ -webkit-overflow-scrolling: touch;
5748
+ overscroll-behavior-y: contain;
5749
+ touch-action: pan-y;
5750
+ will-change: transform;
5751
+ }
5752
+
5753
+
5585
5754
  /* ProfileBadge */
5586
5755
  /* ProfileBadge Component Styles - Using Muka Design Tokens */
5587
5756
 
@@ -12057,172 +12226,3 @@ li.muka-listitem {
12057
12226
  border-bottom: none;
12058
12227
  }
12059
12228
 
12060
-
12061
- /* SearchInput */
12062
- /* SearchInput Component Styles */
12063
-
12064
- .muka-search-input {
12065
- display: flex;
12066
- align-items: center;
12067
- gap: var(--spacing-3);
12068
- width: 100%;
12069
- }
12070
-
12071
- /* ─── Field wrapper ───────────────────────────────────── */
12072
-
12073
- .muka-search-input__field {
12074
- flex: 1 1 auto;
12075
- display: flex;
12076
- align-items: center;
12077
- gap: var(--spacing-2);
12078
- background-color: var(--input-field-color-default-background);
12079
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
12080
- border-radius: var(--input-field-radius-md);
12081
- padding: 0 var(--input-field-padding-x);
12082
- transition: border-color 0.12s ease, background-color 0.12s ease;
12083
- }
12084
-
12085
- .muka-search-input--focused .muka-search-input__field {
12086
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
12087
- }
12088
-
12089
- /* ─── Sizes ───────────────────────────────────────────── */
12090
-
12091
- .muka-search-input--sm .muka-search-input__field {
12092
- min-height: var(--input-field-height-sm);
12093
- border-radius: var(--input-field-radius-sm);
12094
- }
12095
-
12096
- .muka-search-input--md .muka-search-input__field {
12097
- min-height: var(--input-field-height-default);
12098
- }
12099
-
12100
- .muka-search-input--lg .muka-search-input__field {
12101
- min-height: var(--input-field-height-lg);
12102
- border-radius: var(--input-field-radius-lg);
12103
- }
12104
-
12105
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
12106
-
12107
- .muka-search-input--embedded .muka-search-input__field {
12108
- background-color: var(--color-surface-level1);
12109
- border-color: transparent;
12110
- }
12111
-
12112
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
12113
- border-color: transparent;
12114
- background-color: var(--color-surface-level2);
12115
- }
12116
-
12117
- /* ─── Disabled ────────────────────────────────────────── */
12118
-
12119
- .muka-search-input--disabled .muka-search-input__field {
12120
- opacity: 0.5;
12121
- pointer-events: none;
12122
- }
12123
-
12124
- /* ─── Leading icon ────────────────────────────────────── */
12125
-
12126
- .muka-search-input__leading {
12127
- display: inline-flex;
12128
- align-items: center;
12129
- justify-content: center;
12130
- flex-shrink: 0;
12131
- color: var(--color-text-subtle-default);
12132
- }
12133
-
12134
- /* ─── Input element ───────────────────────────────────── */
12135
-
12136
- .muka-search-input__input {
12137
- flex: 1 1 auto;
12138
- min-width: 0;
12139
- border: none;
12140
- background: transparent;
12141
- outline: none;
12142
- padding: 0;
12143
- color: var(--color-text-default-default);
12144
- font-family: var(--text-body-md-regular-fontFamily);
12145
- font-weight: var(--text-body-md-regular-fontWeight);
12146
- font-size: var(--text-body-md-regular-fontSize);
12147
- line-height: var(--text-body-md-regular-lineHeight);
12148
- appearance: none;
12149
- -webkit-appearance: none;
12150
- }
12151
-
12152
- .muka-search-input__input::placeholder {
12153
- color: var(--color-text-subtle-default);
12154
- }
12155
-
12156
- /* Hide the browser-supplied clear button (WebKit + Edge) */
12157
- .muka-search-input__input::-webkit-search-cancel-button,
12158
- .muka-search-input__input::-webkit-search-decoration {
12159
- -webkit-appearance: none;
12160
- appearance: none;
12161
- }
12162
-
12163
- .muka-search-input__input::-ms-clear {
12164
- display: none;
12165
- }
12166
-
12167
- /* ─── Trailing slot (loading spinner) ─────────────────── */
12168
-
12169
- .muka-search-input__trailing {
12170
- display: inline-flex;
12171
- align-items: center;
12172
- justify-content: center;
12173
- flex-shrink: 0;
12174
- }
12175
-
12176
- /* ─── Clear button ────────────────────────────────────── */
12177
-
12178
- .muka-search-input__clear {
12179
- display: inline-flex;
12180
- align-items: center;
12181
- justify-content: center;
12182
- width: 20px;
12183
- height: 20px;
12184
- border: none;
12185
- background: none;
12186
- padding: 0;
12187
- cursor: pointer;
12188
- color: var(--color-text-subtle-default);
12189
- flex-shrink: 0;
12190
- -webkit-tap-highlight-color: transparent;
12191
- }
12192
-
12193
- .muka-search-input__clear:hover {
12194
- color: var(--color-text-default-default);
12195
- }
12196
-
12197
- .muka-search-input__clear:focus-visible {
12198
- outline: 2px solid var(--color-action-default);
12199
- outline-offset: 2px;
12200
- border-radius: 50%;
12201
- }
12202
-
12203
- /* ─── Cancel button ───────────────────────────────────── */
12204
-
12205
- .muka-search-input__cancel {
12206
- flex-shrink: 0;
12207
- background: none;
12208
- border: none;
12209
- padding: var(--spacing-1) var(--spacing-2);
12210
- cursor: pointer;
12211
- color: var(--color-action-default);
12212
- font-family: var(--text-label-md-regular-fontFamily);
12213
- font-weight: var(--text-label-md-regular-fontWeight);
12214
- font-size: var(--text-label-md-regular-fontSize);
12215
- line-height: var(--text-label-md-regular-lineHeight);
12216
- -webkit-tap-highlight-color: transparent;
12217
- }
12218
-
12219
- .muka-search-input__cancel:hover {
12220
- color: var(--color-action-hover);
12221
- }
12222
-
12223
- .muka-search-input__cancel:focus-visible {
12224
- outline: 2px solid var(--color-action-default);
12225
- outline-offset: 2px;
12226
- border-radius: var(--radius-sm);
12227
- }
12228
-