@revikornmann/muka-ui 0.3.0 → 0.4.1

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.
@@ -3499,114 +3499,6 @@ body {
3499
3499
  }
3500
3500
 
3501
3501
 
3502
- /* SwipeActions */
3503
- /* SwipeActions Component Styles */
3504
-
3505
- .muka-swipe-actions {
3506
- position: relative;
3507
- overflow: hidden;
3508
- touch-action: pan-y;
3509
- -webkit-user-select: none;
3510
- user-select: none;
3511
- background-color: var(--color-surface-level3);
3512
- }
3513
-
3514
- .muka-swipe-actions--disabled {
3515
- touch-action: auto;
3516
- }
3517
-
3518
- /* ─── Row that holds the actual content ────────────────── */
3519
-
3520
- .muka-swipe-actions__row {
3521
- position: relative;
3522
- z-index: 1;
3523
- background-color: inherit;
3524
- will-change: transform;
3525
- }
3526
-
3527
- /* ─── Action panels — sit beneath the row ──────────────── */
3528
-
3529
- .muka-swipe-actions__panel {
3530
- position: absolute;
3531
- top: 0;
3532
- bottom: 0;
3533
- display: flex;
3534
- align-items: stretch;
3535
- z-index: 0;
3536
- }
3537
-
3538
- .muka-swipe-actions__panel--left {
3539
- left: 0;
3540
- }
3541
-
3542
- .muka-swipe-actions__panel--right {
3543
- right: 0;
3544
- }
3545
-
3546
- /* ─── Single action button ─────────────────────────────── */
3547
-
3548
- .muka-swipe-actions__button {
3549
- display: flex;
3550
- flex-direction: column;
3551
- align-items: center;
3552
- justify-content: center;
3553
- gap: var(--spacing-1);
3554
- border: none;
3555
- cursor: pointer;
3556
- padding: var(--spacing-2);
3557
- background-color: var(--color-surface-level2);
3558
- color: var(--color-text-default-default);
3559
- font-family: var(--text-label-sm-semibold-fontFamily);
3560
- font-weight: var(--text-label-sm-semibold-fontWeight);
3561
- font-size: var(--text-label-sm-semibold-fontSize);
3562
- line-height: var(--text-label-sm-semibold-lineHeight);
3563
- -webkit-tap-highlight-color: transparent;
3564
- transition: filter 0.12s ease;
3565
- }
3566
-
3567
- .muka-swipe-actions__button:hover {
3568
- filter: brightness(0.95);
3569
- }
3570
-
3571
- .muka-swipe-actions__button:focus-visible {
3572
- outline: 2px solid var(--color-action-default);
3573
- outline-offset: -2px;
3574
- }
3575
-
3576
- .muka-swipe-actions__button-icon {
3577
- display: inline-flex;
3578
- align-items: center;
3579
- justify-content: center;
3580
- }
3581
-
3582
- /* ─── Color variants ───────────────────────────────────── */
3583
-
3584
- .muka-swipe-actions__button--neutral {
3585
- background-color: var(--color-surface-level2);
3586
- color: var(--color-text-default-default);
3587
- }
3588
-
3589
- .muka-swipe-actions__button--primary {
3590
- background-color: var(--color-action-default);
3591
- color: var(--color-text-inverse-default, #fff);
3592
- }
3593
-
3594
- .muka-swipe-actions__button--success {
3595
- background-color: var(--color-state-success-default, var(--color-action-default));
3596
- color: var(--color-text-inverse-default, #fff);
3597
- }
3598
-
3599
- .muka-swipe-actions__button--warning {
3600
- background-color: var(--color-state-warning-default, var(--color-action-default));
3601
- color: var(--color-text-default-default);
3602
- }
3603
-
3604
- .muka-swipe-actions__button--destructive {
3605
- background-color: var(--color-state-error-default, #c0392b);
3606
- color: var(--color-text-inverse-default, #fff);
3607
- }
3608
-
3609
-
3610
3502
  /* Table */
3611
3503
  /* Table Component Styles - Using Muka Design Tokens */
3612
3504
 
@@ -3959,6 +3851,114 @@ body {
3959
3851
  }
3960
3852
 
3961
3853
 
3854
+ /* SwipeActions */
3855
+ /* SwipeActions Component Styles */
3856
+
3857
+ .muka-swipe-actions {
3858
+ position: relative;
3859
+ overflow: hidden;
3860
+ touch-action: pan-y;
3861
+ -webkit-user-select: none;
3862
+ user-select: none;
3863
+ background-color: var(--color-surface-level3);
3864
+ }
3865
+
3866
+ .muka-swipe-actions--disabled {
3867
+ touch-action: auto;
3868
+ }
3869
+
3870
+ /* ─── Row that holds the actual content ────────────────── */
3871
+
3872
+ .muka-swipe-actions__row {
3873
+ position: relative;
3874
+ z-index: 1;
3875
+ background-color: inherit;
3876
+ will-change: transform;
3877
+ }
3878
+
3879
+ /* ─── Action panels — sit beneath the row ──────────────── */
3880
+
3881
+ .muka-swipe-actions__panel {
3882
+ position: absolute;
3883
+ top: 0;
3884
+ bottom: 0;
3885
+ display: flex;
3886
+ align-items: stretch;
3887
+ z-index: 0;
3888
+ }
3889
+
3890
+ .muka-swipe-actions__panel--left {
3891
+ left: 0;
3892
+ }
3893
+
3894
+ .muka-swipe-actions__panel--right {
3895
+ right: 0;
3896
+ }
3897
+
3898
+ /* ─── Single action button ─────────────────────────────── */
3899
+
3900
+ .muka-swipe-actions__button {
3901
+ display: flex;
3902
+ flex-direction: column;
3903
+ align-items: center;
3904
+ justify-content: center;
3905
+ gap: var(--spacing-1);
3906
+ border: none;
3907
+ cursor: pointer;
3908
+ padding: var(--spacing-2);
3909
+ background-color: var(--color-surface-level2);
3910
+ color: var(--color-text-default-default);
3911
+ font-family: var(--text-label-sm-semibold-fontFamily);
3912
+ font-weight: var(--text-label-sm-semibold-fontWeight);
3913
+ font-size: var(--text-label-sm-semibold-fontSize);
3914
+ line-height: var(--text-label-sm-semibold-lineHeight);
3915
+ -webkit-tap-highlight-color: transparent;
3916
+ transition: filter 0.12s ease;
3917
+ }
3918
+
3919
+ .muka-swipe-actions__button:hover {
3920
+ filter: brightness(0.95);
3921
+ }
3922
+
3923
+ .muka-swipe-actions__button:focus-visible {
3924
+ outline: 2px solid var(--color-action-default);
3925
+ outline-offset: -2px;
3926
+ }
3927
+
3928
+ .muka-swipe-actions__button-icon {
3929
+ display: inline-flex;
3930
+ align-items: center;
3931
+ justify-content: center;
3932
+ }
3933
+
3934
+ /* ─── Color variants ───────────────────────────────────── */
3935
+
3936
+ .muka-swipe-actions__button--neutral {
3937
+ background-color: var(--color-surface-level2);
3938
+ color: var(--color-text-default-default);
3939
+ }
3940
+
3941
+ .muka-swipe-actions__button--primary {
3942
+ background-color: var(--color-action-default);
3943
+ color: var(--color-text-inverse-default, #fff);
3944
+ }
3945
+
3946
+ .muka-swipe-actions__button--success {
3947
+ background-color: var(--color-state-success-default, var(--color-action-default));
3948
+ color: var(--color-text-inverse-default, #fff);
3949
+ }
3950
+
3951
+ .muka-swipe-actions__button--warning {
3952
+ background-color: var(--color-state-warning-default, var(--color-action-default));
3953
+ color: var(--color-text-default-default);
3954
+ }
3955
+
3956
+ .muka-swipe-actions__button--destructive {
3957
+ background-color: var(--color-state-error-default, #c0392b);
3958
+ color: var(--color-text-inverse-default, #fff);
3959
+ }
3960
+
3961
+
3962
3962
  /* Spinner */
3963
3963
  /* Spinner Component Styles */
3964
3964
 
@@ -4109,189 +4109,34 @@ body {
4109
4109
  }
4110
4110
 
4111
4111
 
4112
- /* Skeleton */
4113
- /* Skeleton Component Styles */
4112
+ /* SmsOtpField */
4113
+ /* SmsOtpField Component Styles - Using Muka Design Tokens */
4114
4114
 
4115
- .muka-skeleton {
4116
- background-color: var(--color-surface-level1);
4117
- display: block;
4115
+ /* Wrapper */
4116
+ .muka-sms-otp-field {
4117
+ display: inline-flex;
4118
+ flex-direction: column;
4119
+ gap: var(--spacing-2);
4118
4120
  }
4119
4121
 
4120
- /* Variants */
4121
- .muka-skeleton--text {
4122
- height: 1em;
4123
- border-radius: var(--radius-md);
4124
- width: 100%;
4122
+ /* Label */
4123
+ .muka-sms-otp-field__label {
4124
+ color: var(--color-text-default-default);
4125
+ cursor: pointer;
4125
4126
  }
4126
4127
 
4127
- .muka-skeleton--circular {
4128
- width: 2.5rem;
4129
- height: 2.5rem;
4130
- border-radius: var(--radius-full);
4128
+ .muka-sms-otp-field__label--sm {
4129
+ font-family: var(--text-label-sm-semibold-fontFamily);
4130
+ font-weight: var(--text-label-sm-semibold-fontWeight);
4131
+ font-size: var(--text-label-sm-semibold-fontSize);
4132
+ line-height: var(--text-label-sm-semibold-lineHeight);
4131
4133
  }
4132
4134
 
4133
- .muka-skeleton--rectangular {
4134
- height: 7.5rem;
4135
- border-radius: var(--radius-md);
4136
- width: 100%;
4137
- }
4138
-
4139
- /* Last line in multi-line text is shorter */
4140
- .muka-skeleton--last-line {
4141
- width: 80%;
4142
- }
4143
-
4144
- /* Lines container */
4145
- .muka-skeleton__lines {
4146
- display: flex;
4147
- flex-direction: column;
4148
- gap: var(--spacing-2);
4149
- }
4150
-
4151
- /* Shimmer animation */
4152
- @keyframes muka-skeleton-shimmer {
4153
- 0% {
4154
- background-position: -200% 0;
4155
- }
4156
- 100% {
4157
- background-position: 200% 0;
4158
- }
4159
- }
4160
-
4161
- .muka-skeleton--shimmer {
4162
- background: linear-gradient(
4163
- 90deg,
4164
- var(--color-surface-level1) 25%,
4165
- var(--color-surface-level2) 50%,
4166
- var(--color-surface-level1) 75%
4167
- );
4168
- background-size: 200% 100%;
4169
- animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
4170
- }
4171
-
4172
- /* Pulse animation */
4173
- @keyframes muka-skeleton-pulse {
4174
- 0%, 100% {
4175
- opacity: 1;
4176
- }
4177
- 50% {
4178
- opacity: 0.4;
4179
- }
4180
- }
4181
-
4182
- .muka-skeleton--pulse {
4183
- animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
4184
- }
4185
-
4186
-
4187
- /* Sheet */
4188
- /* Sheet Component Styles */
4189
-
4190
- /* ─── Backdrop ────────────────────────────────────────── */
4191
-
4192
- .muka-sheet__overlay {
4193
- position: fixed;
4194
- inset: 0;
4195
- background-color: var(--color-surface-backdrop);
4196
- z-index: 50;
4197
- }
4198
-
4199
- /* ─── Surface ─────────────────────────────────────────── */
4200
-
4201
- .muka-sheet {
4202
- position: fixed;
4203
- left: 0;
4204
- right: 0;
4205
- bottom: 0;
4206
- z-index: 51;
4207
-
4208
- display: flex;
4209
- flex-direction: column;
4210
-
4211
- max-height: 96dvh;
4212
-
4213
- background-color: var(--color-surface-level3);
4214
- border-top-left-radius: var(--radius-lg);
4215
- border-top-right-radius: var(--radius-lg);
4216
- box-shadow: var(--shadow-level5);
4217
-
4218
- outline: none;
4219
- }
4220
-
4221
- /* Safe-area bottom inset for the iPhone home indicator. */
4222
- .muka-sheet:not(.muka-sheet--no-safe-area) {
4223
- padding-bottom: env(safe-area-inset-bottom);
4224
- }
4225
-
4226
- /* ─── Drag handle ─────────────────────────────────────── */
4227
-
4228
- .muka-sheet__handle-container {
4229
- display: flex;
4230
- justify-content: center;
4231
- flex-shrink: 0;
4232
- padding: var(--spacing-3) 0;
4233
- }
4234
-
4235
- .muka-sheet__handle {
4236
- width: var(--dialog-drag-handle-width);
4237
- height: var(--dialog-drag-handle-height);
4238
- background-color: var(--dialog-drag-handle-color);
4239
- border-radius: var(--dialog-drag-handle-radius);
4240
- }
4241
-
4242
- /* ─── Body (scrollable) ───────────────────────────────── */
4243
-
4244
- .muka-sheet__body {
4245
- flex: 1 1 0%;
4246
- min-height: 0;
4247
- overflow-y: auto;
4248
- -webkit-overflow-scrolling: touch;
4249
- overscroll-behavior: contain;
4250
- }
4251
-
4252
- /* ─── Visually-hidden title (a11y) ────────────────────── */
4253
-
4254
- .muka-sheet__sr-title {
4255
- position: absolute;
4256
- width: 1px;
4257
- height: 1px;
4258
- padding: 0;
4259
- margin: -1px;
4260
- overflow: hidden;
4261
- clip: rect(0, 0, 0, 0);
4262
- white-space: nowrap;
4263
- border: 0;
4264
- }
4265
-
4266
-
4267
- /* SmsOtpField */
4268
- /* SmsOtpField Component Styles - Using Muka Design Tokens */
4269
-
4270
- /* Wrapper */
4271
- .muka-sms-otp-field {
4272
- display: inline-flex;
4273
- flex-direction: column;
4274
- gap: var(--spacing-2);
4275
- }
4276
-
4277
- /* Label */
4278
- .muka-sms-otp-field__label {
4279
- color: var(--color-text-default-default);
4280
- cursor: pointer;
4281
- }
4282
-
4283
- .muka-sms-otp-field__label--sm {
4284
- font-family: var(--text-label-sm-semibold-fontFamily);
4285
- font-weight: var(--text-label-sm-semibold-fontWeight);
4286
- font-size: var(--text-label-sm-semibold-fontSize);
4287
- line-height: var(--text-label-sm-semibold-lineHeight);
4288
- }
4289
-
4290
- .muka-sms-otp-field__label--md {
4291
- font-family: var(--text-label-md-semibold-fontFamily);
4292
- font-weight: var(--text-label-md-semibold-fontWeight);
4293
- font-size: var(--text-label-md-semibold-fontSize);
4294
- line-height: var(--text-label-md-semibold-lineHeight);
4135
+ .muka-sms-otp-field__label--md {
4136
+ font-family: var(--text-label-md-semibold-fontFamily);
4137
+ font-weight: var(--text-label-md-semibold-fontWeight);
4138
+ font-size: var(--text-label-md-semibold-fontSize);
4139
+ line-height: var(--text-label-md-semibold-lineHeight);
4295
4140
  }
4296
4141
 
4297
4142
  .muka-sms-otp-field__label--lg {
@@ -4456,6 +4301,161 @@ body {
4456
4301
  }
4457
4302
 
4458
4303
 
4304
+ /* Skeleton */
4305
+ /* Skeleton Component Styles */
4306
+
4307
+ .muka-skeleton {
4308
+ background-color: var(--color-surface-level1);
4309
+ display: block;
4310
+ }
4311
+
4312
+ /* Variants */
4313
+ .muka-skeleton--text {
4314
+ height: 1em;
4315
+ border-radius: var(--radius-md);
4316
+ width: 100%;
4317
+ }
4318
+
4319
+ .muka-skeleton--circular {
4320
+ width: 2.5rem;
4321
+ height: 2.5rem;
4322
+ border-radius: var(--radius-full);
4323
+ }
4324
+
4325
+ .muka-skeleton--rectangular {
4326
+ height: 7.5rem;
4327
+ border-radius: var(--radius-md);
4328
+ width: 100%;
4329
+ }
4330
+
4331
+ /* Last line in multi-line text is shorter */
4332
+ .muka-skeleton--last-line {
4333
+ width: 80%;
4334
+ }
4335
+
4336
+ /* Lines container */
4337
+ .muka-skeleton__lines {
4338
+ display: flex;
4339
+ flex-direction: column;
4340
+ gap: var(--spacing-2);
4341
+ }
4342
+
4343
+ /* Shimmer animation */
4344
+ @keyframes muka-skeleton-shimmer {
4345
+ 0% {
4346
+ background-position: -200% 0;
4347
+ }
4348
+ 100% {
4349
+ background-position: 200% 0;
4350
+ }
4351
+ }
4352
+
4353
+ .muka-skeleton--shimmer {
4354
+ background: linear-gradient(
4355
+ 90deg,
4356
+ var(--color-surface-level1) 25%,
4357
+ var(--color-surface-level2) 50%,
4358
+ var(--color-surface-level1) 75%
4359
+ );
4360
+ background-size: 200% 100%;
4361
+ animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
4362
+ }
4363
+
4364
+ /* Pulse animation */
4365
+ @keyframes muka-skeleton-pulse {
4366
+ 0%, 100% {
4367
+ opacity: 1;
4368
+ }
4369
+ 50% {
4370
+ opacity: 0.4;
4371
+ }
4372
+ }
4373
+
4374
+ .muka-skeleton--pulse {
4375
+ animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
4376
+ }
4377
+
4378
+
4379
+ /* Sheet */
4380
+ /* Sheet Component Styles */
4381
+
4382
+ /* ─── Backdrop ────────────────────────────────────────── */
4383
+
4384
+ .muka-sheet__overlay {
4385
+ position: fixed;
4386
+ inset: 0;
4387
+ background-color: var(--color-surface-backdrop);
4388
+ z-index: 50;
4389
+ }
4390
+
4391
+ /* ─── Surface ─────────────────────────────────────────── */
4392
+
4393
+ .muka-sheet {
4394
+ position: fixed;
4395
+ left: 0;
4396
+ right: 0;
4397
+ bottom: 0;
4398
+ z-index: 51;
4399
+
4400
+ display: flex;
4401
+ flex-direction: column;
4402
+
4403
+ max-height: 96dvh;
4404
+
4405
+ background-color: var(--color-surface-level3);
4406
+ border-top-left-radius: var(--radius-lg);
4407
+ border-top-right-radius: var(--radius-lg);
4408
+ box-shadow: var(--shadow-level5);
4409
+
4410
+ outline: none;
4411
+ }
4412
+
4413
+ /* Safe-area bottom inset for the iPhone home indicator. */
4414
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
4415
+ padding-bottom: env(safe-area-inset-bottom);
4416
+ }
4417
+
4418
+ /* ─── Drag handle ─────────────────────────────────────── */
4419
+
4420
+ .muka-sheet__handle-container {
4421
+ display: flex;
4422
+ justify-content: center;
4423
+ flex-shrink: 0;
4424
+ padding: var(--spacing-3) 0;
4425
+ }
4426
+
4427
+ .muka-sheet__handle {
4428
+ width: var(--dialog-drag-handle-width);
4429
+ height: var(--dialog-drag-handle-height);
4430
+ background-color: var(--dialog-drag-handle-color);
4431
+ border-radius: var(--dialog-drag-handle-radius);
4432
+ }
4433
+
4434
+ /* ─── Body (scrollable) ───────────────────────────────── */
4435
+
4436
+ .muka-sheet__body {
4437
+ flex: 1 1 0%;
4438
+ min-height: 0;
4439
+ overflow-y: auto;
4440
+ -webkit-overflow-scrolling: touch;
4441
+ overscroll-behavior: contain;
4442
+ }
4443
+
4444
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
4445
+
4446
+ .muka-sheet__sr-title {
4447
+ position: absolute;
4448
+ width: 1px;
4449
+ height: 1px;
4450
+ padding: 0;
4451
+ margin: -1px;
4452
+ overflow: hidden;
4453
+ clip: rect(0, 0, 0, 0);
4454
+ white-space: nowrap;
4455
+ border: 0;
4456
+ }
4457
+
4458
+
4459
4459
  /* Select */
4460
4460
  /* Select Component Styles - Aligned with Input for consistency */
4461
4461
 
@@ -4861,6 +4861,175 @@ body {
4861
4861
  }
4862
4862
 
4863
4863
 
4864
+ /* SearchInput */
4865
+ /* SearchInput Component Styles */
4866
+
4867
+ .muka-search-input {
4868
+ display: flex;
4869
+ align-items: center;
4870
+ gap: var(--spacing-3);
4871
+ width: 100%;
4872
+ }
4873
+
4874
+ /* ─── Field wrapper ───────────────────────────────────── */
4875
+
4876
+ .muka-search-input__field {
4877
+ flex: 1 1 auto;
4878
+ display: flex;
4879
+ align-items: center;
4880
+ gap: var(--spacing-2);
4881
+ background-color: var(--input-field-color-default-background);
4882
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
4883
+ border-radius: var(--input-field-radius-md);
4884
+ padding: 0 var(--input-field-padding-x);
4885
+ transition: border-color 0.12s ease, background-color 0.12s ease;
4886
+ }
4887
+
4888
+ .muka-search-input--focused .muka-search-input__field {
4889
+ border-color: var(--input-field-color-focus-border, var(--color-action-default));
4890
+ }
4891
+
4892
+ /* ─── Sizes ───────────────────────────────────────────── */
4893
+
4894
+ .muka-search-input--sm .muka-search-input__field {
4895
+ min-height: var(--input-field-height-sm);
4896
+ border-radius: var(--input-field-radius-sm);
4897
+ }
4898
+
4899
+ .muka-search-input--md .muka-search-input__field {
4900
+ min-height: var(--input-field-height-default);
4901
+ }
4902
+
4903
+ .muka-search-input--lg .muka-search-input__field {
4904
+ min-height: var(--input-field-height-lg);
4905
+ border-radius: var(--input-field-radius-lg);
4906
+ }
4907
+
4908
+ /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
4909
+
4910
+ .muka-search-input--embedded .muka-search-input__field {
4911
+ background-color: var(--color-surface-level1);
4912
+ border-color: transparent;
4913
+ }
4914
+
4915
+ .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
4916
+ border-color: transparent;
4917
+ background-color: var(--color-surface-level2);
4918
+ }
4919
+
4920
+ /* ─── Disabled ────────────────────────────────────────── */
4921
+
4922
+ .muka-search-input--disabled .muka-search-input__field {
4923
+ opacity: 0.5;
4924
+ pointer-events: none;
4925
+ }
4926
+
4927
+ /* ─── Leading icon ────────────────────────────────────── */
4928
+
4929
+ .muka-search-input__leading {
4930
+ display: inline-flex;
4931
+ align-items: center;
4932
+ justify-content: center;
4933
+ flex-shrink: 0;
4934
+ color: var(--color-text-subtle-default);
4935
+ }
4936
+
4937
+ /* ─── Input element ───────────────────────────────────── */
4938
+
4939
+ .muka-search-input__input {
4940
+ flex: 1 1 auto;
4941
+ min-width: 0;
4942
+ border: none;
4943
+ background: transparent;
4944
+ outline: none;
4945
+ padding: 0;
4946
+ color: var(--color-text-default-default);
4947
+ font-family: var(--text-body-md-regular-fontFamily);
4948
+ font-weight: var(--text-body-md-regular-fontWeight);
4949
+ font-size: var(--text-body-md-regular-fontSize);
4950
+ line-height: var(--text-body-md-regular-lineHeight);
4951
+ appearance: none;
4952
+ -webkit-appearance: none;
4953
+ }
4954
+
4955
+ .muka-search-input__input::placeholder {
4956
+ color: var(--color-text-subtle-default);
4957
+ }
4958
+
4959
+ /* Hide the browser-supplied clear button (WebKit + Edge) */
4960
+ .muka-search-input__input::-webkit-search-cancel-button,
4961
+ .muka-search-input__input::-webkit-search-decoration {
4962
+ -webkit-appearance: none;
4963
+ appearance: none;
4964
+ }
4965
+
4966
+ .muka-search-input__input::-ms-clear {
4967
+ display: none;
4968
+ }
4969
+
4970
+ /* ─── Trailing slot (loading spinner) ─────────────────── */
4971
+
4972
+ .muka-search-input__trailing {
4973
+ display: inline-flex;
4974
+ align-items: center;
4975
+ justify-content: center;
4976
+ flex-shrink: 0;
4977
+ }
4978
+
4979
+ /* ─── Clear button ────────────────────────────────────── */
4980
+
4981
+ .muka-search-input__clear {
4982
+ display: inline-flex;
4983
+ align-items: center;
4984
+ justify-content: center;
4985
+ width: 20px;
4986
+ height: 20px;
4987
+ border: none;
4988
+ background: none;
4989
+ padding: 0;
4990
+ cursor: pointer;
4991
+ color: var(--color-text-subtle-default);
4992
+ flex-shrink: 0;
4993
+ -webkit-tap-highlight-color: transparent;
4994
+ }
4995
+
4996
+ .muka-search-input__clear:hover {
4997
+ color: var(--color-text-default-default);
4998
+ }
4999
+
5000
+ .muka-search-input__clear:focus-visible {
5001
+ outline: 2px solid var(--color-action-default);
5002
+ outline-offset: 2px;
5003
+ border-radius: 50%;
5004
+ }
5005
+
5006
+ /* ─── Cancel button ───────────────────────────────────── */
5007
+
5008
+ .muka-search-input__cancel {
5009
+ flex-shrink: 0;
5010
+ background: none;
5011
+ border: none;
5012
+ padding: var(--spacing-1) var(--spacing-2);
5013
+ cursor: pointer;
5014
+ color: var(--color-action-default);
5015
+ font-family: var(--text-label-md-regular-fontFamily);
5016
+ font-weight: var(--text-label-md-regular-fontWeight);
5017
+ font-size: var(--text-label-md-regular-fontSize);
5018
+ line-height: var(--text-label-md-regular-lineHeight);
5019
+ -webkit-tap-highlight-color: transparent;
5020
+ }
5021
+
5022
+ .muka-search-input__cancel:hover {
5023
+ color: var(--color-action-hover);
5024
+ }
5025
+
5026
+ .muka-search-input__cancel:focus-visible {
5027
+ outline: 2px solid var(--color-action-default);
5028
+ outline-offset: 2px;
5029
+ border-radius: var(--radius-sm);
5030
+ }
5031
+
5032
+
4864
5033
  /* RangeSlider */
4865
5034
  /* RangeSlider Component Styles - Using Muka Design Tokens */
4866
5035
 
@@ -6703,47 +6872,6 @@ li.muka-listitem {
6703
6872
  }
6704
6873
 
6705
6874
 
6706
- /* Label */
6707
- /* Label Component Styles - Using Muka Design Tokens */
6708
-
6709
- .muka-label {
6710
- display: inline-flex;
6711
- align-items: center;
6712
- color: var(--color-text-default-default);
6713
- cursor: pointer;
6714
- }
6715
-
6716
- .muka-label--sm {
6717
- font-family: var(--text-label-sm-semibold-fontFamily);
6718
- font-weight: var(--text-label-sm-semibold-fontWeight);
6719
- font-size: var(--text-label-sm-semibold-fontSize);
6720
- line-height: var(--text-label-sm-semibold-lineHeight);
6721
- }
6722
-
6723
- .muka-label--md {
6724
- font-family: var(--text-label-md-semibold-fontFamily);
6725
- font-weight: var(--text-label-md-semibold-fontWeight);
6726
- font-size: var(--text-label-md-semibold-fontSize);
6727
- line-height: var(--text-label-md-semibold-lineHeight);
6728
- }
6729
-
6730
- .muka-label--lg {
6731
- font-family: var(--text-label-lg-semibold-fontFamily);
6732
- font-weight: var(--text-label-lg-semibold-fontWeight);
6733
- font-size: var(--text-label-lg-semibold-fontSize);
6734
- line-height: var(--text-label-lg-semibold-lineHeight);
6735
- }
6736
-
6737
- .muka-label--disabled {
6738
- color: var(--color-text-subtle-default);
6739
- cursor: not-allowed;
6740
- }
6741
-
6742
- .muka-label__required {
6743
- color: var(--color-state-error-foreground);
6744
- }
6745
-
6746
-
6747
6875
  /* Input */
6748
6876
  /* Input Component Styles - Using Muka Design Tokens */
6749
6877
 
@@ -7436,6 +7564,47 @@ li.muka-listitem {
7436
7564
  }
7437
7565
 
7438
7566
 
7567
+ /* Label */
7568
+ /* Label Component Styles - Using Muka Design Tokens */
7569
+
7570
+ .muka-label {
7571
+ display: inline-flex;
7572
+ align-items: center;
7573
+ color: var(--color-text-default-default);
7574
+ cursor: pointer;
7575
+ }
7576
+
7577
+ .muka-label--sm {
7578
+ font-family: var(--text-label-sm-semibold-fontFamily);
7579
+ font-weight: var(--text-label-sm-semibold-fontWeight);
7580
+ font-size: var(--text-label-sm-semibold-fontSize);
7581
+ line-height: var(--text-label-sm-semibold-lineHeight);
7582
+ }
7583
+
7584
+ .muka-label--md {
7585
+ font-family: var(--text-label-md-semibold-fontFamily);
7586
+ font-weight: var(--text-label-md-semibold-fontWeight);
7587
+ font-size: var(--text-label-md-semibold-fontSize);
7588
+ line-height: var(--text-label-md-semibold-lineHeight);
7589
+ }
7590
+
7591
+ .muka-label--lg {
7592
+ font-family: var(--text-label-lg-semibold-fontFamily);
7593
+ font-weight: var(--text-label-lg-semibold-fontWeight);
7594
+ font-size: var(--text-label-lg-semibold-fontSize);
7595
+ line-height: var(--text-label-lg-semibold-lineHeight);
7596
+ }
7597
+
7598
+ .muka-label--disabled {
7599
+ color: var(--color-text-subtle-default);
7600
+ cursor: not-allowed;
7601
+ }
7602
+
7603
+ .muka-label__required {
7604
+ color: var(--color-state-error-foreground);
7605
+ }
7606
+
7607
+
7439
7608
  /* FAB */
7440
7609
  /* FAB (Floating Action Button) Component Styles */
7441
7610
 
@@ -12058,172 +12227,3 @@ li.muka-listitem {
12058
12227
  border-bottom: none;
12059
12228
  }
12060
12229
 
12061
-
12062
- /* SearchInput */
12063
- /* SearchInput Component Styles */
12064
-
12065
- .muka-search-input {
12066
- display: flex;
12067
- align-items: center;
12068
- gap: var(--spacing-3);
12069
- width: 100%;
12070
- }
12071
-
12072
- /* ─── Field wrapper ───────────────────────────────────── */
12073
-
12074
- .muka-search-input__field {
12075
- flex: 1 1 auto;
12076
- display: flex;
12077
- align-items: center;
12078
- gap: var(--spacing-2);
12079
- background-color: var(--input-field-color-default-background);
12080
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
12081
- border-radius: var(--input-field-radius-md);
12082
- padding: 0 var(--input-field-padding-x);
12083
- transition: border-color 0.12s ease, background-color 0.12s ease;
12084
- }
12085
-
12086
- .muka-search-input--focused .muka-search-input__field {
12087
- border-color: var(--input-field-color-focus-border, var(--color-action-default));
12088
- }
12089
-
12090
- /* ─── Sizes ───────────────────────────────────────────── */
12091
-
12092
- .muka-search-input--sm .muka-search-input__field {
12093
- min-height: var(--input-field-height-sm);
12094
- border-radius: var(--input-field-radius-sm);
12095
- }
12096
-
12097
- .muka-search-input--md .muka-search-input__field {
12098
- min-height: var(--input-field-height-default);
12099
- }
12100
-
12101
- .muka-search-input--lg .muka-search-input__field {
12102
- min-height: var(--input-field-height-lg);
12103
- border-radius: var(--input-field-radius-lg);
12104
- }
12105
-
12106
- /* ─── Embedded variant (e.g. inside TopBar) ───────────── */
12107
-
12108
- .muka-search-input--embedded .muka-search-input__field {
12109
- background-color: var(--color-surface-level1);
12110
- border-color: transparent;
12111
- }
12112
-
12113
- .muka-search-input--embedded.muka-search-input--focused .muka-search-input__field {
12114
- border-color: transparent;
12115
- background-color: var(--color-surface-level2);
12116
- }
12117
-
12118
- /* ─── Disabled ────────────────────────────────────────── */
12119
-
12120
- .muka-search-input--disabled .muka-search-input__field {
12121
- opacity: 0.5;
12122
- pointer-events: none;
12123
- }
12124
-
12125
- /* ─── Leading icon ────────────────────────────────────── */
12126
-
12127
- .muka-search-input__leading {
12128
- display: inline-flex;
12129
- align-items: center;
12130
- justify-content: center;
12131
- flex-shrink: 0;
12132
- color: var(--color-text-subtle-default);
12133
- }
12134
-
12135
- /* ─── Input element ───────────────────────────────────── */
12136
-
12137
- .muka-search-input__input {
12138
- flex: 1 1 auto;
12139
- min-width: 0;
12140
- border: none;
12141
- background: transparent;
12142
- outline: none;
12143
- padding: 0;
12144
- color: var(--color-text-default-default);
12145
- font-family: var(--text-body-md-regular-fontFamily);
12146
- font-weight: var(--text-body-md-regular-fontWeight);
12147
- font-size: var(--text-body-md-regular-fontSize);
12148
- line-height: var(--text-body-md-regular-lineHeight);
12149
- appearance: none;
12150
- -webkit-appearance: none;
12151
- }
12152
-
12153
- .muka-search-input__input::placeholder {
12154
- color: var(--color-text-subtle-default);
12155
- }
12156
-
12157
- /* Hide the browser-supplied clear button (WebKit + Edge) */
12158
- .muka-search-input__input::-webkit-search-cancel-button,
12159
- .muka-search-input__input::-webkit-search-decoration {
12160
- -webkit-appearance: none;
12161
- appearance: none;
12162
- }
12163
-
12164
- .muka-search-input__input::-ms-clear {
12165
- display: none;
12166
- }
12167
-
12168
- /* ─── Trailing slot (loading spinner) ─────────────────── */
12169
-
12170
- .muka-search-input__trailing {
12171
- display: inline-flex;
12172
- align-items: center;
12173
- justify-content: center;
12174
- flex-shrink: 0;
12175
- }
12176
-
12177
- /* ─── Clear button ────────────────────────────────────── */
12178
-
12179
- .muka-search-input__clear {
12180
- display: inline-flex;
12181
- align-items: center;
12182
- justify-content: center;
12183
- width: 20px;
12184
- height: 20px;
12185
- border: none;
12186
- background: none;
12187
- padding: 0;
12188
- cursor: pointer;
12189
- color: var(--color-text-subtle-default);
12190
- flex-shrink: 0;
12191
- -webkit-tap-highlight-color: transparent;
12192
- }
12193
-
12194
- .muka-search-input__clear:hover {
12195
- color: var(--color-text-default-default);
12196
- }
12197
-
12198
- .muka-search-input__clear:focus-visible {
12199
- outline: 2px solid var(--color-action-default);
12200
- outline-offset: 2px;
12201
- border-radius: 50%;
12202
- }
12203
-
12204
- /* ─── Cancel button ───────────────────────────────────── */
12205
-
12206
- .muka-search-input__cancel {
12207
- flex-shrink: 0;
12208
- background: none;
12209
- border: none;
12210
- padding: var(--spacing-1) var(--spacing-2);
12211
- cursor: pointer;
12212
- color: var(--color-action-default);
12213
- font-family: var(--text-label-md-regular-fontFamily);
12214
- font-weight: var(--text-label-md-regular-fontWeight);
12215
- font-size: var(--text-label-md-regular-fontSize);
12216
- line-height: var(--text-label-md-regular-lineHeight);
12217
- -webkit-tap-highlight-color: transparent;
12218
- }
12219
-
12220
- .muka-search-input__cancel:hover {
12221
- color: var(--color-action-hover);
12222
- }
12223
-
12224
- .muka-search-input__cancel:focus-visible {
12225
- outline: 2px solid var(--color-action-default);
12226
- outline-offset: 2px;
12227
- border-radius: var(--radius-sm);
12228
- }
12229
-