@revikornmann/muka-ui 0.64.3 → 0.64.5
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.
- package/dist/cjs/components/View/viewNavigation.js +94 -11
- package/dist/cjs/components/View/viewNavigation.js.map +1 -1
- package/dist/esm/components/View/viewNavigation.js +94 -11
- package/dist/esm/components/View/viewNavigation.js.map +1 -1
- package/dist/styles/index.css +895 -895
- package/dist/styles/muka-dark.css +895 -895
- package/dist/styles/muka-light.css +895 -895
- package/dist/styles/wireframe-dark.css +895 -895
- package/dist/styles/wireframe-light.css +895 -895
- package/dist/types/components/View/viewNavigation.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5192,114 +5192,6 @@ body {
|
|
|
5192
5192
|
}
|
|
5193
5193
|
|
|
5194
5194
|
|
|
5195
|
-
/* SwipeActions */
|
|
5196
|
-
/* SwipeActions Component Styles */
|
|
5197
|
-
|
|
5198
|
-
.muka-swipe-actions {
|
|
5199
|
-
position: relative;
|
|
5200
|
-
overflow: hidden;
|
|
5201
|
-
touch-action: pan-y;
|
|
5202
|
-
-webkit-user-select: none;
|
|
5203
|
-
user-select: none;
|
|
5204
|
-
background-color: var(--color-surface-level3);
|
|
5205
|
-
}
|
|
5206
|
-
|
|
5207
|
-
.muka-swipe-actions--disabled {
|
|
5208
|
-
touch-action: auto;
|
|
5209
|
-
}
|
|
5210
|
-
|
|
5211
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
5212
|
-
|
|
5213
|
-
.muka-swipe-actions__row {
|
|
5214
|
-
position: relative;
|
|
5215
|
-
z-index: 1;
|
|
5216
|
-
background-color: inherit;
|
|
5217
|
-
will-change: transform;
|
|
5218
|
-
}
|
|
5219
|
-
|
|
5220
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
5221
|
-
|
|
5222
|
-
.muka-swipe-actions__panel {
|
|
5223
|
-
position: absolute;
|
|
5224
|
-
top: 0;
|
|
5225
|
-
bottom: 0;
|
|
5226
|
-
display: flex;
|
|
5227
|
-
align-items: stretch;
|
|
5228
|
-
z-index: 0;
|
|
5229
|
-
}
|
|
5230
|
-
|
|
5231
|
-
.muka-swipe-actions__panel--left {
|
|
5232
|
-
left: 0;
|
|
5233
|
-
}
|
|
5234
|
-
|
|
5235
|
-
.muka-swipe-actions__panel--right {
|
|
5236
|
-
right: 0;
|
|
5237
|
-
}
|
|
5238
|
-
|
|
5239
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
5240
|
-
|
|
5241
|
-
.muka-swipe-actions__button {
|
|
5242
|
-
display: flex;
|
|
5243
|
-
flex-direction: column;
|
|
5244
|
-
align-items: center;
|
|
5245
|
-
justify-content: center;
|
|
5246
|
-
gap: var(--spacing-1);
|
|
5247
|
-
border: none;
|
|
5248
|
-
cursor: pointer;
|
|
5249
|
-
padding: var(--spacing-2);
|
|
5250
|
-
background-color: var(--color-surface-level2);
|
|
5251
|
-
color: var(--color-text-default-default);
|
|
5252
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5253
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5254
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5255
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5256
|
-
-webkit-tap-highlight-color: transparent;
|
|
5257
|
-
transition: filter 0.12s ease;
|
|
5258
|
-
}
|
|
5259
|
-
|
|
5260
|
-
.muka-swipe-actions__button:hover {
|
|
5261
|
-
filter: brightness(0.95);
|
|
5262
|
-
}
|
|
5263
|
-
|
|
5264
|
-
.muka-swipe-actions__button:focus-visible {
|
|
5265
|
-
outline: 2px solid var(--color-action-default);
|
|
5266
|
-
outline-offset: -2px;
|
|
5267
|
-
}
|
|
5268
|
-
|
|
5269
|
-
.muka-swipe-actions__button-icon {
|
|
5270
|
-
display: inline-flex;
|
|
5271
|
-
align-items: center;
|
|
5272
|
-
justify-content: center;
|
|
5273
|
-
}
|
|
5274
|
-
|
|
5275
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
5276
|
-
|
|
5277
|
-
.muka-swipe-actions__button--neutral {
|
|
5278
|
-
background-color: var(--color-surface-level2);
|
|
5279
|
-
color: var(--color-text-default-default);
|
|
5280
|
-
}
|
|
5281
|
-
|
|
5282
|
-
.muka-swipe-actions__button--primary {
|
|
5283
|
-
background-color: var(--color-action-default);
|
|
5284
|
-
color: var(--color-text-default-inverse);
|
|
5285
|
-
}
|
|
5286
|
-
|
|
5287
|
-
.muka-swipe-actions__button--success {
|
|
5288
|
-
background-color: var(--color-state-success-default);
|
|
5289
|
-
color: var(--color-text-default-inverse);
|
|
5290
|
-
}
|
|
5291
|
-
|
|
5292
|
-
.muka-swipe-actions__button--warning {
|
|
5293
|
-
background-color: var(--color-state-warning-default);
|
|
5294
|
-
color: var(--color-text-default-default);
|
|
5295
|
-
}
|
|
5296
|
-
|
|
5297
|
-
.muka-swipe-actions__button--destructive {
|
|
5298
|
-
background-color: var(--color-state-error-default);
|
|
5299
|
-
color: var(--color-text-default-inverse);
|
|
5300
|
-
}
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
5195
|
/* Spinner */
|
|
5304
5196
|
/* Spinner Component Styles */
|
|
5305
5197
|
|
|
@@ -5613,84 +5505,276 @@ body {
|
|
|
5613
5505
|
}
|
|
5614
5506
|
|
|
5615
5507
|
|
|
5616
|
-
/*
|
|
5617
|
-
/*
|
|
5508
|
+
/* SmsOtpField */
|
|
5509
|
+
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5618
5510
|
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
display:
|
|
5511
|
+
/* Wrapper */
|
|
5512
|
+
.muka-sms-otp-field {
|
|
5513
|
+
display: inline-flex;
|
|
5514
|
+
flex-direction: column;
|
|
5515
|
+
gap: var(--spacing-2);
|
|
5622
5516
|
}
|
|
5623
5517
|
|
|
5624
|
-
/*
|
|
5625
|
-
.muka-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
width: 100%;
|
|
5518
|
+
/* Label */
|
|
5519
|
+
.muka-sms-otp-field__label {
|
|
5520
|
+
color: var(--color-text-default-default);
|
|
5521
|
+
cursor: pointer;
|
|
5629
5522
|
}
|
|
5630
5523
|
|
|
5631
|
-
.muka-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5524
|
+
.muka-sms-otp-field__label--sm {
|
|
5525
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5526
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5527
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5528
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5635
5529
|
}
|
|
5636
5530
|
|
|
5637
|
-
.muka-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5531
|
+
.muka-sms-otp-field__label--md {
|
|
5532
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5533
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5534
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
5535
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5641
5536
|
}
|
|
5642
5537
|
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5538
|
+
.muka-sms-otp-field__label--lg {
|
|
5539
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5540
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5541
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5542
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5646
5543
|
}
|
|
5647
5544
|
|
|
5648
|
-
|
|
5649
|
-
|
|
5545
|
+
.muka-sms-otp-field__required {
|
|
5546
|
+
color: var(--color-state-error-default);
|
|
5547
|
+
}
|
|
5548
|
+
|
|
5549
|
+
/* Hidden input for browser autofill */
|
|
5550
|
+
.muka-sms-otp-field__hidden-input {
|
|
5551
|
+
position: absolute;
|
|
5552
|
+
width: 1px;
|
|
5553
|
+
height: 1px;
|
|
5554
|
+
padding: 0;
|
|
5555
|
+
margin: -1px;
|
|
5556
|
+
overflow: hidden;
|
|
5557
|
+
clip: rect(0, 0, 0, 0);
|
|
5558
|
+
white-space: nowrap;
|
|
5559
|
+
border: 0;
|
|
5560
|
+
opacity: 0;
|
|
5561
|
+
pointer-events: none;
|
|
5562
|
+
}
|
|
5563
|
+
|
|
5564
|
+
/* Digits container */
|
|
5565
|
+
.muka-sms-otp-field__digits {
|
|
5650
5566
|
display: flex;
|
|
5651
|
-
|
|
5567
|
+
align-items: center;
|
|
5652
5568
|
gap: var(--spacing-2);
|
|
5653
5569
|
}
|
|
5654
5570
|
|
|
5655
|
-
/*
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5571
|
+
/* Separator */
|
|
5572
|
+
.muka-sms-otp-field__separator {
|
|
5573
|
+
display: inline-flex;
|
|
5574
|
+
align-items: center;
|
|
5575
|
+
justify-content: center;
|
|
5576
|
+
color: var(--color-text-subtle-default);
|
|
5577
|
+
font-size: 1.25rem;
|
|
5578
|
+
padding: 0 var(--spacing-1);
|
|
5579
|
+
user-select: none;
|
|
5663
5580
|
}
|
|
5664
5581
|
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
);
|
|
5672
|
-
|
|
5673
|
-
|
|
5582
|
+
/* Individual digit box */
|
|
5583
|
+
.muka-sms-otp-field__digit {
|
|
5584
|
+
display: flex;
|
|
5585
|
+
align-items: center;
|
|
5586
|
+
justify-content: center;
|
|
5587
|
+
text-align: center;
|
|
5588
|
+
background-color: var(--input-field-color-default-background);
|
|
5589
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
5590
|
+
color: var(--input-field-color-default-foreground);
|
|
5591
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
5592
|
+
box-sizing: border-box;
|
|
5593
|
+
caret-color: var(--input-field-color-focus-border);
|
|
5594
|
+
-moz-appearance: textfield;
|
|
5595
|
+
appearance: textfield;
|
|
5674
5596
|
}
|
|
5675
5597
|
|
|
5676
|
-
/*
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
50% {
|
|
5682
|
-
opacity: 0.4;
|
|
5683
|
-
}
|
|
5598
|
+
/* Remove spinner buttons */
|
|
5599
|
+
.muka-sms-otp-field__digit::-webkit-inner-spin-button,
|
|
5600
|
+
.muka-sms-otp-field__digit::-webkit-outer-spin-button {
|
|
5601
|
+
-webkit-appearance: none;
|
|
5602
|
+
margin: 0;
|
|
5684
5603
|
}
|
|
5685
5604
|
|
|
5686
|
-
|
|
5687
|
-
|
|
5605
|
+
/* Size variants */
|
|
5606
|
+
.muka-sms-otp-field__digit--sm {
|
|
5607
|
+
width: 36px;
|
|
5608
|
+
height: var(--input-field-height-sm);
|
|
5609
|
+
border-radius: var(--input-field-radius-sm);
|
|
5610
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
5611
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
5612
|
+
font-size: var(--text-input-sm-fontSize);
|
|
5613
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
5688
5614
|
}
|
|
5689
5615
|
|
|
5616
|
+
.muka-sms-otp-field__digit--md {
|
|
5617
|
+
width: 44px;
|
|
5618
|
+
height: var(--input-field-height-default);
|
|
5619
|
+
border-radius: var(--input-field-radius-md);
|
|
5620
|
+
font-family: var(--text-input-md-fontFamily);
|
|
5621
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
5622
|
+
font-size: var(--text-input-md-fontSize);
|
|
5623
|
+
line-height: var(--text-input-md-lineHeight);
|
|
5624
|
+
}
|
|
5625
|
+
|
|
5626
|
+
.muka-sms-otp-field__digit--lg {
|
|
5627
|
+
width: 52px;
|
|
5628
|
+
height: var(--input-field-height-lg);
|
|
5629
|
+
border-radius: var(--input-field-radius-lg);
|
|
5630
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
5631
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
5632
|
+
font-size: var(--text-input-lg-fontSize);
|
|
5633
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
5634
|
+
}
|
|
5635
|
+
|
|
5636
|
+
/* Inset shadow (matches Input component) */
|
|
5637
|
+
.muka-sms-otp-field__digit::after {
|
|
5638
|
+
content: '';
|
|
5639
|
+
position: absolute;
|
|
5640
|
+
inset: 0;
|
|
5641
|
+
border-radius: inherit;
|
|
5642
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
5643
|
+
pointer-events: none;
|
|
5644
|
+
}
|
|
5645
|
+
|
|
5646
|
+
/* Focus state */
|
|
5647
|
+
.muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
|
|
5648
|
+
border-width: var(--border-width-bold);
|
|
5649
|
+
border-color: var(--input-field-color-focus-border);
|
|
5650
|
+
background-color: var(--input-field-color-focus-background);
|
|
5651
|
+
outline: none;
|
|
5652
|
+
}
|
|
5653
|
+
|
|
5654
|
+
/* Also handle native :focus for keyboard navigation */
|
|
5655
|
+
.muka-sms-otp-field__digit:focus {
|
|
5656
|
+
outline: none;
|
|
5657
|
+
}
|
|
5658
|
+
|
|
5659
|
+
/* Error state */
|
|
5660
|
+
.muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
|
|
5661
|
+
border-width: var(--border-width-bold);
|
|
5662
|
+
border-color: var(--input-field-color-error-border);
|
|
5663
|
+
background-color: var(--input-field-color-error-background);
|
|
5664
|
+
}
|
|
5665
|
+
|
|
5666
|
+
/* Disabled state */
|
|
5667
|
+
.muka-sms-otp-field__digit--disabled {
|
|
5668
|
+
background-color: var(--input-field-color-disabled-background);
|
|
5669
|
+
border-color: var(--input-field-color-disabled-border);
|
|
5670
|
+
color: var(--input-field-color-disabled-foreground);
|
|
5671
|
+
cursor: not-allowed;
|
|
5672
|
+
}
|
|
5673
|
+
|
|
5674
|
+
/* Filled state — slightly bolder text */
|
|
5675
|
+
.muka-sms-otp-field__digit--filled {
|
|
5676
|
+
color: var(--input-field-color-default-foreground);
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5679
|
+
/* Helper text */
|
|
5680
|
+
.muka-sms-otp-field__helper {
|
|
5681
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
5682
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
5683
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
5684
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5685
|
+
color: var(--color-text-subtle-default);
|
|
5686
|
+
margin: 0;
|
|
5687
|
+
}
|
|
5688
|
+
|
|
5689
|
+
/* Error message */
|
|
5690
|
+
.muka-sms-otp-field__error {
|
|
5691
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
5692
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
5693
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
5694
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5695
|
+
color: var(--color-state-error-default);
|
|
5696
|
+
margin: 0;
|
|
5697
|
+
}
|
|
5698
|
+
|
|
5699
|
+
|
|
5700
|
+
/* Skeleton */
|
|
5701
|
+
/* Skeleton Component Styles */
|
|
5702
|
+
|
|
5703
|
+
.muka-skeleton {
|
|
5704
|
+
background-color: var(--color-surface-level1);
|
|
5705
|
+
display: block;
|
|
5706
|
+
}
|
|
5707
|
+
|
|
5708
|
+
/* Variants */
|
|
5709
|
+
.muka-skeleton--text {
|
|
5710
|
+
height: 1em;
|
|
5711
|
+
border-radius: var(--radius-md);
|
|
5712
|
+
width: 100%;
|
|
5713
|
+
}
|
|
5714
|
+
|
|
5715
|
+
.muka-skeleton--circular {
|
|
5716
|
+
width: 2.5rem;
|
|
5717
|
+
height: 2.5rem;
|
|
5718
|
+
border-radius: var(--radius-full);
|
|
5719
|
+
}
|
|
5720
|
+
|
|
5721
|
+
.muka-skeleton--rectangular {
|
|
5722
|
+
height: 7.5rem;
|
|
5723
|
+
border-radius: var(--radius-md);
|
|
5724
|
+
width: 100%;
|
|
5725
|
+
}
|
|
5726
|
+
|
|
5727
|
+
/* Last line in multi-line text is shorter */
|
|
5728
|
+
.muka-skeleton--last-line {
|
|
5729
|
+
width: 80%;
|
|
5730
|
+
}
|
|
5731
|
+
|
|
5732
|
+
/* Lines container */
|
|
5733
|
+
.muka-skeleton__lines {
|
|
5734
|
+
display: flex;
|
|
5735
|
+
flex-direction: column;
|
|
5736
|
+
gap: var(--spacing-2);
|
|
5737
|
+
}
|
|
5738
|
+
|
|
5739
|
+
/* Shimmer animation */
|
|
5740
|
+
@keyframes muka-skeleton-shimmer {
|
|
5741
|
+
0% {
|
|
5742
|
+
background-position: -200% 0;
|
|
5743
|
+
}
|
|
5744
|
+
100% {
|
|
5745
|
+
background-position: 200% 0;
|
|
5746
|
+
}
|
|
5747
|
+
}
|
|
5748
|
+
|
|
5749
|
+
.muka-skeleton--shimmer {
|
|
5750
|
+
background: linear-gradient(
|
|
5751
|
+
90deg,
|
|
5752
|
+
var(--color-surface-level1) 25%,
|
|
5753
|
+
var(--color-surface-level2) 50%,
|
|
5754
|
+
var(--color-surface-level1) 75%
|
|
5755
|
+
);
|
|
5756
|
+
background-size: 200% 100%;
|
|
5757
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5758
|
+
}
|
|
5759
|
+
|
|
5760
|
+
/* Pulse animation */
|
|
5761
|
+
@keyframes muka-skeleton-pulse {
|
|
5762
|
+
0%, 100% {
|
|
5763
|
+
opacity: 1;
|
|
5764
|
+
}
|
|
5765
|
+
50% {
|
|
5766
|
+
opacity: 0.4;
|
|
5767
|
+
}
|
|
5768
|
+
}
|
|
5769
|
+
|
|
5770
|
+
.muka-skeleton--pulse {
|
|
5771
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5772
|
+
}
|
|
5773
|
+
|
|
5774
|
+
|
|
5775
|
+
/* SiteHeader */
|
|
5776
|
+
/* SiteHeader Component Styles */
|
|
5690
5777
|
|
|
5691
|
-
/* SiteHeader */
|
|
5692
|
-
/* SiteHeader Component Styles */
|
|
5693
|
-
|
|
5694
5778
|
/*
|
|
5695
5779
|
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5696
5780
|
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
@@ -5833,198 +5917,6 @@ body {
|
|
|
5833
5917
|
}
|
|
5834
5918
|
|
|
5835
5919
|
|
|
5836
|
-
/* SmsOtpField */
|
|
5837
|
-
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5838
|
-
|
|
5839
|
-
/* Wrapper */
|
|
5840
|
-
.muka-sms-otp-field {
|
|
5841
|
-
display: inline-flex;
|
|
5842
|
-
flex-direction: column;
|
|
5843
|
-
gap: var(--spacing-2);
|
|
5844
|
-
}
|
|
5845
|
-
|
|
5846
|
-
/* Label */
|
|
5847
|
-
.muka-sms-otp-field__label {
|
|
5848
|
-
color: var(--color-text-default-default);
|
|
5849
|
-
cursor: pointer;
|
|
5850
|
-
}
|
|
5851
|
-
|
|
5852
|
-
.muka-sms-otp-field__label--sm {
|
|
5853
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5854
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5855
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5856
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5857
|
-
}
|
|
5858
|
-
|
|
5859
|
-
.muka-sms-otp-field__label--md {
|
|
5860
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5861
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5862
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
5863
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5864
|
-
}
|
|
5865
|
-
|
|
5866
|
-
.muka-sms-otp-field__label--lg {
|
|
5867
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5868
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5869
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5870
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5871
|
-
}
|
|
5872
|
-
|
|
5873
|
-
.muka-sms-otp-field__required {
|
|
5874
|
-
color: var(--color-state-error-default);
|
|
5875
|
-
}
|
|
5876
|
-
|
|
5877
|
-
/* Hidden input for browser autofill */
|
|
5878
|
-
.muka-sms-otp-field__hidden-input {
|
|
5879
|
-
position: absolute;
|
|
5880
|
-
width: 1px;
|
|
5881
|
-
height: 1px;
|
|
5882
|
-
padding: 0;
|
|
5883
|
-
margin: -1px;
|
|
5884
|
-
overflow: hidden;
|
|
5885
|
-
clip: rect(0, 0, 0, 0);
|
|
5886
|
-
white-space: nowrap;
|
|
5887
|
-
border: 0;
|
|
5888
|
-
opacity: 0;
|
|
5889
|
-
pointer-events: none;
|
|
5890
|
-
}
|
|
5891
|
-
|
|
5892
|
-
/* Digits container */
|
|
5893
|
-
.muka-sms-otp-field__digits {
|
|
5894
|
-
display: flex;
|
|
5895
|
-
align-items: center;
|
|
5896
|
-
gap: var(--spacing-2);
|
|
5897
|
-
}
|
|
5898
|
-
|
|
5899
|
-
/* Separator */
|
|
5900
|
-
.muka-sms-otp-field__separator {
|
|
5901
|
-
display: inline-flex;
|
|
5902
|
-
align-items: center;
|
|
5903
|
-
justify-content: center;
|
|
5904
|
-
color: var(--color-text-subtle-default);
|
|
5905
|
-
font-size: 1.25rem;
|
|
5906
|
-
padding: 0 var(--spacing-1);
|
|
5907
|
-
user-select: none;
|
|
5908
|
-
}
|
|
5909
|
-
|
|
5910
|
-
/* Individual digit box */
|
|
5911
|
-
.muka-sms-otp-field__digit {
|
|
5912
|
-
display: flex;
|
|
5913
|
-
align-items: center;
|
|
5914
|
-
justify-content: center;
|
|
5915
|
-
text-align: center;
|
|
5916
|
-
background-color: var(--input-field-color-default-background);
|
|
5917
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
5918
|
-
color: var(--input-field-color-default-foreground);
|
|
5919
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
5920
|
-
box-sizing: border-box;
|
|
5921
|
-
caret-color: var(--input-field-color-focus-border);
|
|
5922
|
-
-moz-appearance: textfield;
|
|
5923
|
-
appearance: textfield;
|
|
5924
|
-
}
|
|
5925
|
-
|
|
5926
|
-
/* Remove spinner buttons */
|
|
5927
|
-
.muka-sms-otp-field__digit::-webkit-inner-spin-button,
|
|
5928
|
-
.muka-sms-otp-field__digit::-webkit-outer-spin-button {
|
|
5929
|
-
-webkit-appearance: none;
|
|
5930
|
-
margin: 0;
|
|
5931
|
-
}
|
|
5932
|
-
|
|
5933
|
-
/* Size variants */
|
|
5934
|
-
.muka-sms-otp-field__digit--sm {
|
|
5935
|
-
width: 36px;
|
|
5936
|
-
height: var(--input-field-height-sm);
|
|
5937
|
-
border-radius: var(--input-field-radius-sm);
|
|
5938
|
-
font-family: var(--text-input-sm-fontFamily);
|
|
5939
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
5940
|
-
font-size: var(--text-input-sm-fontSize);
|
|
5941
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
5942
|
-
}
|
|
5943
|
-
|
|
5944
|
-
.muka-sms-otp-field__digit--md {
|
|
5945
|
-
width: 44px;
|
|
5946
|
-
height: var(--input-field-height-default);
|
|
5947
|
-
border-radius: var(--input-field-radius-md);
|
|
5948
|
-
font-family: var(--text-input-md-fontFamily);
|
|
5949
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
5950
|
-
font-size: var(--text-input-md-fontSize);
|
|
5951
|
-
line-height: var(--text-input-md-lineHeight);
|
|
5952
|
-
}
|
|
5953
|
-
|
|
5954
|
-
.muka-sms-otp-field__digit--lg {
|
|
5955
|
-
width: 52px;
|
|
5956
|
-
height: var(--input-field-height-lg);
|
|
5957
|
-
border-radius: var(--input-field-radius-lg);
|
|
5958
|
-
font-family: var(--text-input-lg-fontFamily);
|
|
5959
|
-
font-weight: var(--text-input-lg-fontWeight);
|
|
5960
|
-
font-size: var(--text-input-lg-fontSize);
|
|
5961
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
5962
|
-
}
|
|
5963
|
-
|
|
5964
|
-
/* Inset shadow (matches Input component) */
|
|
5965
|
-
.muka-sms-otp-field__digit::after {
|
|
5966
|
-
content: '';
|
|
5967
|
-
position: absolute;
|
|
5968
|
-
inset: 0;
|
|
5969
|
-
border-radius: inherit;
|
|
5970
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
5971
|
-
pointer-events: none;
|
|
5972
|
-
}
|
|
5973
|
-
|
|
5974
|
-
/* Focus state */
|
|
5975
|
-
.muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
|
|
5976
|
-
border-width: var(--border-width-bold);
|
|
5977
|
-
border-color: var(--input-field-color-focus-border);
|
|
5978
|
-
background-color: var(--input-field-color-focus-background);
|
|
5979
|
-
outline: none;
|
|
5980
|
-
}
|
|
5981
|
-
|
|
5982
|
-
/* Also handle native :focus for keyboard navigation */
|
|
5983
|
-
.muka-sms-otp-field__digit:focus {
|
|
5984
|
-
outline: none;
|
|
5985
|
-
}
|
|
5986
|
-
|
|
5987
|
-
/* Error state */
|
|
5988
|
-
.muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
|
|
5989
|
-
border-width: var(--border-width-bold);
|
|
5990
|
-
border-color: var(--input-field-color-error-border);
|
|
5991
|
-
background-color: var(--input-field-color-error-background);
|
|
5992
|
-
}
|
|
5993
|
-
|
|
5994
|
-
/* Disabled state */
|
|
5995
|
-
.muka-sms-otp-field__digit--disabled {
|
|
5996
|
-
background-color: var(--input-field-color-disabled-background);
|
|
5997
|
-
border-color: var(--input-field-color-disabled-border);
|
|
5998
|
-
color: var(--input-field-color-disabled-foreground);
|
|
5999
|
-
cursor: not-allowed;
|
|
6000
|
-
}
|
|
6001
|
-
|
|
6002
|
-
/* Filled state — slightly bolder text */
|
|
6003
|
-
.muka-sms-otp-field__digit--filled {
|
|
6004
|
-
color: var(--input-field-color-default-foreground);
|
|
6005
|
-
}
|
|
6006
|
-
|
|
6007
|
-
/* Helper text */
|
|
6008
|
-
.muka-sms-otp-field__helper {
|
|
6009
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6010
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6011
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6012
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6013
|
-
color: var(--color-text-subtle-default);
|
|
6014
|
-
margin: 0;
|
|
6015
|
-
}
|
|
6016
|
-
|
|
6017
|
-
/* Error message */
|
|
6018
|
-
.muka-sms-otp-field__error {
|
|
6019
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6020
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6021
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6022
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6023
|
-
color: var(--color-state-error-default);
|
|
6024
|
-
margin: 0;
|
|
6025
|
-
}
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
5920
|
/* Sheet */
|
|
6029
5921
|
/* Sheet Component Styles */
|
|
6030
5922
|
|
|
@@ -7124,95 +7016,239 @@ body {
|
|
|
7124
7016
|
left: var(--spacing-4);
|
|
7125
7017
|
}
|
|
7126
7018
|
|
|
7127
|
-
/* Adjust corner position when selected (border is thicker) */
|
|
7128
|
-
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7129
|
-
top: calc(var(--spacing-4) - 1px);
|
|
7130
|
-
left: calc(var(--spacing-4) - 1px);
|
|
7019
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
7020
|
+
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7021
|
+
top: calc(var(--spacing-4) - 1px);
|
|
7022
|
+
left: calc(var(--spacing-4) - 1px);
|
|
7023
|
+
}
|
|
7024
|
+
|
|
7025
|
+
/* Icon */
|
|
7026
|
+
.muka-radio-tile__icon {
|
|
7027
|
+
display: flex;
|
|
7028
|
+
align-items: center;
|
|
7029
|
+
justify-content: center;
|
|
7030
|
+
flex-shrink: 0;
|
|
7031
|
+
width: var(--icon-size-default);
|
|
7032
|
+
height: var(--icon-size-default);
|
|
7033
|
+
color: var(--color-text-default-default);
|
|
7034
|
+
}
|
|
7035
|
+
|
|
7036
|
+
.muka-radio-tile__icon svg {
|
|
7037
|
+
width: 100%;
|
|
7038
|
+
height: 100%;
|
|
7039
|
+
}
|
|
7040
|
+
|
|
7041
|
+
/* Image */
|
|
7042
|
+
.muka-radio-tile__image {
|
|
7043
|
+
flex-shrink: 0;
|
|
7044
|
+
overflow: hidden;
|
|
7045
|
+
border-radius: var(--border-radius-sm);
|
|
7046
|
+
}
|
|
7047
|
+
|
|
7048
|
+
.muka-radio-tile__image img {
|
|
7049
|
+
display: block;
|
|
7050
|
+
width: 100%;
|
|
7051
|
+
height: 100%;
|
|
7052
|
+
object-fit: cover;
|
|
7053
|
+
}
|
|
7054
|
+
|
|
7055
|
+
/* Horizontal image sizing */
|
|
7056
|
+
.muka-radio-tile__image--horizontal {
|
|
7057
|
+
width: 40px;
|
|
7058
|
+
height: 40px;
|
|
7059
|
+
}
|
|
7060
|
+
|
|
7061
|
+
/* Vertical image sizing */
|
|
7062
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7063
|
+
width: 100%;
|
|
7064
|
+
aspect-ratio: 4/3;
|
|
7065
|
+
}
|
|
7066
|
+
|
|
7067
|
+
/* Content container */
|
|
7068
|
+
.muka-radio-tile__content {
|
|
7069
|
+
display: flex;
|
|
7070
|
+
flex-direction: column;
|
|
7071
|
+
flex: 1;
|
|
7072
|
+
min-width: 0;
|
|
7073
|
+
gap: var(--spacing-1);
|
|
7074
|
+
}
|
|
7075
|
+
|
|
7076
|
+
/* Label */
|
|
7077
|
+
.muka-radio-tile__label {
|
|
7078
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7079
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7080
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
7081
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7082
|
+
color: var(--color-text-default-default);
|
|
7083
|
+
}
|
|
7084
|
+
|
|
7085
|
+
.muka-radio-tile__label--bold {
|
|
7086
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7087
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7088
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7089
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7090
|
+
}
|
|
7091
|
+
|
|
7092
|
+
.muka-radio-tile__label--center {
|
|
7093
|
+
text-align: center;
|
|
7094
|
+
}
|
|
7095
|
+
|
|
7096
|
+
/* Caption */
|
|
7097
|
+
.muka-radio-tile__caption {
|
|
7098
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7099
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7100
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7101
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7102
|
+
color: var(--color-text-subtle-default);
|
|
7103
|
+
}
|
|
7104
|
+
|
|
7105
|
+
/* Disabled states */
|
|
7106
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7107
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7108
|
+
color: var(--color-text-subtle-default);
|
|
7109
|
+
}
|
|
7110
|
+
|
|
7111
|
+
|
|
7112
|
+
/* Radio */
|
|
7113
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7114
|
+
|
|
7115
|
+
/* Wrapper - clickable label container */
|
|
7116
|
+
.muka-radio {
|
|
7117
|
+
display: inline-flex;
|
|
7118
|
+
align-items: center;
|
|
7119
|
+
gap: var(--spacing-4);
|
|
7120
|
+
cursor: pointer;
|
|
7121
|
+
user-select: none;
|
|
7122
|
+
}
|
|
7123
|
+
|
|
7124
|
+
.muka-radio--disabled {
|
|
7125
|
+
cursor: not-allowed;
|
|
7126
|
+
opacity: 0.6;
|
|
7127
|
+
}
|
|
7128
|
+
|
|
7129
|
+
/* Control container */
|
|
7130
|
+
.muka-radio__control {
|
|
7131
|
+
position: relative;
|
|
7132
|
+
display: inline-flex;
|
|
7133
|
+
align-items: center;
|
|
7134
|
+
justify-content: center;
|
|
7135
|
+
flex-shrink: 0;
|
|
7136
|
+
}
|
|
7137
|
+
|
|
7138
|
+
/* Hidden native input */
|
|
7139
|
+
.muka-radio__input {
|
|
7140
|
+
position: absolute;
|
|
7141
|
+
width: 1px;
|
|
7142
|
+
height: 1px;
|
|
7143
|
+
padding: 0;
|
|
7144
|
+
margin: -1px;
|
|
7145
|
+
overflow: hidden;
|
|
7146
|
+
clip: rect(0, 0, 0, 0);
|
|
7147
|
+
white-space: nowrap;
|
|
7148
|
+
border: 0;
|
|
7149
|
+
}
|
|
7150
|
+
|
|
7151
|
+
/* Visual indicator (circle) */
|
|
7152
|
+
.muka-radio__indicator {
|
|
7153
|
+
display: flex;
|
|
7154
|
+
align-items: center;
|
|
7155
|
+
justify-content: center;
|
|
7156
|
+
width: var(--radio-size-default);
|
|
7157
|
+
height: var(--radio-size-default);
|
|
7158
|
+
border-radius: var(--border-radius-full);
|
|
7159
|
+
background-color: var(--radio-color-default-background);
|
|
7160
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7161
|
+
transition: all 0.15s ease;
|
|
7162
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7163
|
+
}
|
|
7164
|
+
|
|
7165
|
+
/* Size variants */
|
|
7166
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7167
|
+
width: var(--radio-size-sm);
|
|
7168
|
+
height: var(--radio-size-sm);
|
|
7169
|
+
}
|
|
7170
|
+
|
|
7171
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7172
|
+
width: var(--radio-size-lg);
|
|
7173
|
+
height: var(--radio-size-lg);
|
|
7174
|
+
}
|
|
7175
|
+
|
|
7176
|
+
/* Inner dot (shown when checked) */
|
|
7177
|
+
.muka-radio__dot {
|
|
7178
|
+
width: var(--radio-dot-size-default);
|
|
7179
|
+
height: var(--radio-dot-size-default);
|
|
7180
|
+
border-radius: var(--border-radius-full);
|
|
7181
|
+
background-color: var(--radio-color-default-dot);
|
|
7182
|
+
transform: scale(0);
|
|
7183
|
+
transition: transform 0.15s ease;
|
|
7184
|
+
}
|
|
7185
|
+
|
|
7186
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7187
|
+
width: var(--radio-dot-size-sm);
|
|
7188
|
+
height: var(--radio-dot-size-sm);
|
|
7131
7189
|
}
|
|
7132
7190
|
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
align-items: center;
|
|
7137
|
-
justify-content: center;
|
|
7138
|
-
flex-shrink: 0;
|
|
7139
|
-
width: var(--icon-size-default);
|
|
7140
|
-
height: var(--icon-size-default);
|
|
7141
|
-
color: var(--color-text-default-default);
|
|
7191
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7192
|
+
width: var(--radio-dot-size-lg);
|
|
7193
|
+
height: var(--radio-dot-size-lg);
|
|
7142
7194
|
}
|
|
7143
7195
|
|
|
7144
|
-
|
|
7145
|
-
width: 100%;
|
|
7146
|
-
height: 100%;
|
|
7147
|
-
}
|
|
7196
|
+
/* Hover state - removed per design */
|
|
7148
7197
|
|
|
7149
|
-
/*
|
|
7150
|
-
.muka-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
border-radius: var(--border-radius-sm);
|
|
7198
|
+
/* Focus state */
|
|
7199
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7200
|
+
outline: 2px solid var(--color-border-focus);
|
|
7201
|
+
outline-offset: 2px;
|
|
7154
7202
|
}
|
|
7155
7203
|
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7204
|
+
/* Checked state */
|
|
7205
|
+
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7206
|
+
background-color: var(--radio-color-checked-background);
|
|
7207
|
+
border-width: var(--border-width-bold);
|
|
7208
|
+
border-color: var(--radio-color-checked-border);
|
|
7209
|
+
box-shadow: none;
|
|
7161
7210
|
}
|
|
7162
7211
|
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
height: 40px;
|
|
7212
|
+
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7213
|
+
background-color: var(--radio-color-checked-dot);
|
|
7214
|
+
transform: scale(1);
|
|
7167
7215
|
}
|
|
7168
7216
|
|
|
7169
|
-
/*
|
|
7170
|
-
.muka-radio
|
|
7171
|
-
|
|
7172
|
-
|
|
7217
|
+
/* Disabled state */
|
|
7218
|
+
.muka-radio--disabled .muka-radio__indicator {
|
|
7219
|
+
background-color: var(--radio-color-disabled-background);
|
|
7220
|
+
border-color: var(--radio-color-disabled-border);
|
|
7221
|
+
box-shadow: none;
|
|
7173
7222
|
}
|
|
7174
7223
|
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
display: flex;
|
|
7178
|
-
flex-direction: column;
|
|
7179
|
-
flex: 1;
|
|
7180
|
-
min-width: 0;
|
|
7181
|
-
gap: var(--spacing-1);
|
|
7224
|
+
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7225
|
+
background-color: var(--radio-color-disabled-dot);
|
|
7182
7226
|
}
|
|
7183
7227
|
|
|
7184
|
-
/* Label */
|
|
7185
|
-
.muka-
|
|
7186
|
-
font-family: var(--text-
|
|
7187
|
-
font-weight: var(--text-
|
|
7188
|
-
font-size: var(--text-
|
|
7189
|
-
line-height: var(--text-
|
|
7228
|
+
/* Label text */
|
|
7229
|
+
.muka-radio__label {
|
|
7230
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7231
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7232
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
7233
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7190
7234
|
color: var(--color-text-default-default);
|
|
7191
7235
|
}
|
|
7192
7236
|
|
|
7193
|
-
.muka-radio
|
|
7194
|
-
font-family: var(--text-label-
|
|
7195
|
-
font-weight: var(--text-label-
|
|
7196
|
-
font-size: var(--text-label-
|
|
7197
|
-
line-height: var(--text-label-
|
|
7198
|
-
}
|
|
7199
|
-
|
|
7200
|
-
.muka-radio-tile__label--center {
|
|
7201
|
-
text-align: center;
|
|
7237
|
+
.muka-radio--sm .muka-radio__label {
|
|
7238
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7239
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7240
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7241
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7202
7242
|
}
|
|
7203
7243
|
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
font-
|
|
7207
|
-
font-
|
|
7208
|
-
|
|
7209
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7210
|
-
color: var(--color-text-subtle-default);
|
|
7244
|
+
.muka-radio--lg .muka-radio__label {
|
|
7245
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7246
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7247
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
7248
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7211
7249
|
}
|
|
7212
7250
|
|
|
7213
|
-
|
|
7214
|
-
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7215
|
-
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7251
|
+
.muka-radio--disabled .muka-radio__label {
|
|
7216
7252
|
color: var(--color-text-subtle-default);
|
|
7217
7253
|
}
|
|
7218
7254
|
|
|
@@ -7766,209 +7802,65 @@ body {
|
|
|
7766
7802
|
position: absolute;
|
|
7767
7803
|
bottom: 0;
|
|
7768
7804
|
width: var(--border-radius-xl);
|
|
7769
|
-
height: var(--border-radius-xl);
|
|
7770
|
-
pointer-events: none;
|
|
7771
|
-
}
|
|
7772
|
-
|
|
7773
|
-
.muka-progress-tracker__tab::before {
|
|
7774
|
-
right: 100%;
|
|
7775
|
-
background: radial-gradient(
|
|
7776
|
-
circle at 0 0,
|
|
7777
|
-
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7778
|
-
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7779
|
-
);
|
|
7780
|
-
}
|
|
7781
|
-
|
|
7782
|
-
.muka-progress-tracker__tab::after {
|
|
7783
|
-
left: 100%;
|
|
7784
|
-
background: radial-gradient(
|
|
7785
|
-
circle at 100% 0,
|
|
7786
|
-
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7787
|
-
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7788
|
-
);
|
|
7789
|
-
}
|
|
7790
|
-
|
|
7791
|
-
.muka-progress-tracker__tab--selected {
|
|
7792
|
-
--muka-progress-tracker-tab-surface: var(
|
|
7793
|
-
--muka-progress-tracker-tab-selected,
|
|
7794
|
-
var(--color-surface-level3)
|
|
7795
|
-
);
|
|
7796
|
-
}
|
|
7797
|
-
|
|
7798
|
-
button.muka-progress-tracker__tab {
|
|
7799
|
-
cursor: pointer;
|
|
7800
|
-
}
|
|
7801
|
-
|
|
7802
|
-
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
7803
|
-
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
7804
|
-
}
|
|
7805
|
-
|
|
7806
|
-
button.muka-progress-tracker__tab:focus-visible {
|
|
7807
|
-
outline: 2px solid var(--color-border-focus);
|
|
7808
|
-
outline-offset: -2px;
|
|
7809
|
-
}
|
|
7810
|
-
|
|
7811
|
-
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7812
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7813
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7814
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7815
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7816
|
-
}
|
|
7817
|
-
|
|
7818
|
-
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7819
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
7820
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7821
|
-
}
|
|
7822
|
-
|
|
7823
|
-
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7824
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7825
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7826
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
7827
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7828
|
-
}
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
/* Radio */
|
|
7832
|
-
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7833
|
-
|
|
7834
|
-
/* Wrapper - clickable label container */
|
|
7835
|
-
.muka-radio {
|
|
7836
|
-
display: inline-flex;
|
|
7837
|
-
align-items: center;
|
|
7838
|
-
gap: var(--spacing-4);
|
|
7839
|
-
cursor: pointer;
|
|
7840
|
-
user-select: none;
|
|
7841
|
-
}
|
|
7842
|
-
|
|
7843
|
-
.muka-radio--disabled {
|
|
7844
|
-
cursor: not-allowed;
|
|
7845
|
-
opacity: 0.6;
|
|
7846
|
-
}
|
|
7847
|
-
|
|
7848
|
-
/* Control container */
|
|
7849
|
-
.muka-radio__control {
|
|
7850
|
-
position: relative;
|
|
7851
|
-
display: inline-flex;
|
|
7852
|
-
align-items: center;
|
|
7853
|
-
justify-content: center;
|
|
7854
|
-
flex-shrink: 0;
|
|
7855
|
-
}
|
|
7856
|
-
|
|
7857
|
-
/* Hidden native input */
|
|
7858
|
-
.muka-radio__input {
|
|
7859
|
-
position: absolute;
|
|
7860
|
-
width: 1px;
|
|
7861
|
-
height: 1px;
|
|
7862
|
-
padding: 0;
|
|
7863
|
-
margin: -1px;
|
|
7864
|
-
overflow: hidden;
|
|
7865
|
-
clip: rect(0, 0, 0, 0);
|
|
7866
|
-
white-space: nowrap;
|
|
7867
|
-
border: 0;
|
|
7868
|
-
}
|
|
7869
|
-
|
|
7870
|
-
/* Visual indicator (circle) */
|
|
7871
|
-
.muka-radio__indicator {
|
|
7872
|
-
display: flex;
|
|
7873
|
-
align-items: center;
|
|
7874
|
-
justify-content: center;
|
|
7875
|
-
width: var(--radio-size-default);
|
|
7876
|
-
height: var(--radio-size-default);
|
|
7877
|
-
border-radius: var(--border-radius-full);
|
|
7878
|
-
background-color: var(--radio-color-default-background);
|
|
7879
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7880
|
-
transition: all 0.15s ease;
|
|
7881
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7882
|
-
}
|
|
7883
|
-
|
|
7884
|
-
/* Size variants */
|
|
7885
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
7886
|
-
width: var(--radio-size-sm);
|
|
7887
|
-
height: var(--radio-size-sm);
|
|
7888
|
-
}
|
|
7889
|
-
|
|
7890
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7891
|
-
width: var(--radio-size-lg);
|
|
7892
|
-
height: var(--radio-size-lg);
|
|
7893
|
-
}
|
|
7894
|
-
|
|
7895
|
-
/* Inner dot (shown when checked) */
|
|
7896
|
-
.muka-radio__dot {
|
|
7897
|
-
width: var(--radio-dot-size-default);
|
|
7898
|
-
height: var(--radio-dot-size-default);
|
|
7899
|
-
border-radius: var(--border-radius-full);
|
|
7900
|
-
background-color: var(--radio-color-default-dot);
|
|
7901
|
-
transform: scale(0);
|
|
7902
|
-
transition: transform 0.15s ease;
|
|
7903
|
-
}
|
|
7904
|
-
|
|
7905
|
-
.muka-radio--sm .muka-radio__dot {
|
|
7906
|
-
width: var(--radio-dot-size-sm);
|
|
7907
|
-
height: var(--radio-dot-size-sm);
|
|
7908
|
-
}
|
|
7909
|
-
|
|
7910
|
-
.muka-radio--lg .muka-radio__dot {
|
|
7911
|
-
width: var(--radio-dot-size-lg);
|
|
7912
|
-
height: var(--radio-dot-size-lg);
|
|
7805
|
+
height: var(--border-radius-xl);
|
|
7806
|
+
pointer-events: none;
|
|
7913
7807
|
}
|
|
7914
7808
|
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7809
|
+
.muka-progress-tracker__tab::before {
|
|
7810
|
+
right: 100%;
|
|
7811
|
+
background: radial-gradient(
|
|
7812
|
+
circle at 0 0,
|
|
7813
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7814
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7815
|
+
);
|
|
7921
7816
|
}
|
|
7922
7817
|
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
background
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7818
|
+
.muka-progress-tracker__tab::after {
|
|
7819
|
+
left: 100%;
|
|
7820
|
+
background: radial-gradient(
|
|
7821
|
+
circle at 100% 0,
|
|
7822
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7823
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7824
|
+
);
|
|
7929
7825
|
}
|
|
7930
7826
|
|
|
7931
|
-
.muka-
|
|
7932
|
-
|
|
7933
|
-
|
|
7827
|
+
.muka-progress-tracker__tab--selected {
|
|
7828
|
+
--muka-progress-tracker-tab-surface: var(
|
|
7829
|
+
--muka-progress-tracker-tab-selected,
|
|
7830
|
+
var(--color-surface-level3)
|
|
7831
|
+
);
|
|
7934
7832
|
}
|
|
7935
7833
|
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
background-color: var(--radio-color-disabled-background);
|
|
7939
|
-
border-color: var(--radio-color-disabled-border);
|
|
7940
|
-
box-shadow: none;
|
|
7834
|
+
button.muka-progress-tracker__tab {
|
|
7835
|
+
cursor: pointer;
|
|
7941
7836
|
}
|
|
7942
7837
|
|
|
7943
|
-
.muka-
|
|
7944
|
-
background-
|
|
7838
|
+
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
7839
|
+
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
7945
7840
|
}
|
|
7946
7841
|
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7951
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
7952
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7953
|
-
color: var(--color-text-default-default);
|
|
7842
|
+
button.muka-progress-tracker__tab:focus-visible {
|
|
7843
|
+
outline: 2px solid var(--color-border-focus);
|
|
7844
|
+
outline-offset: -2px;
|
|
7954
7845
|
}
|
|
7955
7846
|
|
|
7956
|
-
.muka-
|
|
7957
|
-
font-family: var(--text-
|
|
7958
|
-
font-weight: var(--text-
|
|
7959
|
-
font-size: var(--text-
|
|
7960
|
-
line-height: var(--text-
|
|
7847
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7848
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7849
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7850
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7851
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7961
7852
|
}
|
|
7962
7853
|
|
|
7963
|
-
.muka-
|
|
7964
|
-
font-family: var(--text-
|
|
7965
|
-
font-weight: var(--text-
|
|
7966
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
7967
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7854
|
+
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7855
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
7856
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7968
7857
|
}
|
|
7969
7858
|
|
|
7970
|
-
.muka-
|
|
7971
|
-
|
|
7859
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7860
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7861
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7862
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7863
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7972
7864
|
}
|
|
7973
7865
|
|
|
7974
7866
|
|
|
@@ -10730,88 +10622,266 @@ li.muka-listitem {
|
|
|
10730
10622
|
caret-color: var(--plate-text);
|
|
10731
10623
|
}
|
|
10732
10624
|
|
|
10733
|
-
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
10734
|
-
font-size: 22px;
|
|
10625
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
10626
|
+
font-size: 22px;
|
|
10627
|
+
}
|
|
10628
|
+
|
|
10629
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
10630
|
+
font-size: 30px;
|
|
10631
|
+
}
|
|
10632
|
+
|
|
10633
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
10634
|
+
font-size: 42px;
|
|
10635
|
+
}
|
|
10636
|
+
|
|
10637
|
+
.muka-license-plate-input__native::placeholder {
|
|
10638
|
+
color: var(--plate-text);
|
|
10639
|
+
opacity: 0.55;
|
|
10640
|
+
font-weight: 700;
|
|
10641
|
+
letter-spacing: 0.08em;
|
|
10642
|
+
}
|
|
10643
|
+
|
|
10644
|
+
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
10645
|
+
cursor: not-allowed;
|
|
10646
|
+
}
|
|
10647
|
+
|
|
10648
|
+
/* Helper text */
|
|
10649
|
+
.muka-license-plate-input__helper {
|
|
10650
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10651
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10652
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10653
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10654
|
+
color: var(--color-text-subtle-default);
|
|
10655
|
+
margin: 0;
|
|
10656
|
+
}
|
|
10657
|
+
|
|
10658
|
+
/* Error message */
|
|
10659
|
+
.muka-license-plate-input__error {
|
|
10660
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10661
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10662
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10663
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10664
|
+
color: var(--color-state-error-default);
|
|
10665
|
+
margin: 0;
|
|
10666
|
+
}
|
|
10667
|
+
|
|
10668
|
+
|
|
10669
|
+
/* Label */
|
|
10670
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
10671
|
+
|
|
10672
|
+
.muka-label {
|
|
10673
|
+
display: inline-flex;
|
|
10674
|
+
align-items: center;
|
|
10675
|
+
color: var(--color-text-default-default);
|
|
10676
|
+
cursor: pointer;
|
|
10677
|
+
}
|
|
10678
|
+
|
|
10679
|
+
.muka-label--sm {
|
|
10680
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10681
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10682
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10683
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10684
|
+
}
|
|
10685
|
+
|
|
10686
|
+
.muka-label--md {
|
|
10687
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10688
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10689
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
10690
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10691
|
+
}
|
|
10692
|
+
|
|
10693
|
+
.muka-label--lg {
|
|
10694
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10695
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10696
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10697
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10698
|
+
}
|
|
10699
|
+
|
|
10700
|
+
.muka-label--disabled {
|
|
10701
|
+
color: var(--color-text-subtle-default);
|
|
10702
|
+
cursor: not-allowed;
|
|
10703
|
+
}
|
|
10704
|
+
|
|
10705
|
+
.muka-label__required {
|
|
10706
|
+
color: var(--color-state-error-default);
|
|
10707
|
+
}
|
|
10708
|
+
|
|
10709
|
+
|
|
10710
|
+
/* InputCounter */
|
|
10711
|
+
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
10712
|
+
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
10713
|
+
Field and button group share one radius per size:
|
|
10714
|
+
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
10715
|
+
|
|
10716
|
+
.muka-inputcounter {
|
|
10717
|
+
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
10718
|
+
--muka-inputcounter-height: var(--input-field-height-default);
|
|
10719
|
+
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
10720
|
+
--muka-inputcounter-min: var(--size-3xl);
|
|
10721
|
+
|
|
10722
|
+
display: inline-flex;
|
|
10723
|
+
flex-direction: column;
|
|
10724
|
+
gap: var(--spacing-2);
|
|
10725
|
+
}
|
|
10726
|
+
|
|
10727
|
+
.muka-inputcounter--sm {
|
|
10728
|
+
--muka-inputcounter-height: var(--input-field-height-sm);
|
|
10729
|
+
--muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
|
|
10730
|
+
--muka-inputcounter-min: var(--size-2xl);
|
|
10731
|
+
}
|
|
10732
|
+
|
|
10733
|
+
.muka-inputcounter--lg {
|
|
10734
|
+
--muka-inputcounter-radius: var(--input-field-radius-lg);
|
|
10735
|
+
--muka-inputcounter-height: var(--input-field-height-lg);
|
|
10736
|
+
}
|
|
10737
|
+
|
|
10738
|
+
/* Label row — label, info tooltip trigger, optional hint */
|
|
10739
|
+
.muka-inputcounter__label-row {
|
|
10740
|
+
display: flex;
|
|
10741
|
+
align-items: center;
|
|
10742
|
+
gap: var(--spacing-2);
|
|
10743
|
+
min-height: var(--size-xl);
|
|
10744
|
+
}
|
|
10745
|
+
|
|
10746
|
+
.muka-inputcounter__info {
|
|
10747
|
+
display: inline-flex;
|
|
10748
|
+
align-items: center;
|
|
10749
|
+
justify-content: center;
|
|
10750
|
+
padding: 0;
|
|
10751
|
+
border: none;
|
|
10752
|
+
border-radius: 50%;
|
|
10753
|
+
background: transparent;
|
|
10754
|
+
cursor: pointer;
|
|
10755
|
+
}
|
|
10756
|
+
|
|
10757
|
+
.muka-inputcounter__info .muka-icon {
|
|
10758
|
+
color: var(--color-action-default);
|
|
10759
|
+
}
|
|
10760
|
+
|
|
10761
|
+
.muka-inputcounter__info:focus-visible {
|
|
10762
|
+
outline: 2px solid var(--color-border-focus);
|
|
10763
|
+
outline-offset: 2px;
|
|
10764
|
+
}
|
|
10765
|
+
|
|
10766
|
+
.muka-inputcounter__optional {
|
|
10767
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10768
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10769
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10770
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10771
|
+
color: var(--color-text-subtle-default);
|
|
10772
|
+
}
|
|
10773
|
+
|
|
10774
|
+
/* Field + button group */
|
|
10775
|
+
.muka-inputcounter__row {
|
|
10776
|
+
display: flex;
|
|
10777
|
+
align-items: center;
|
|
10778
|
+
gap: var(--spacing-3);
|
|
10779
|
+
}
|
|
10780
|
+
|
|
10781
|
+
/* Field — grows with the value (in ch), never narrower than the Figma width.
|
|
10782
|
+
Padding sits on the native input so the 2px focus/error border doesn't
|
|
10783
|
+
need compensating: content is centred in a fixed box. */
|
|
10784
|
+
.muka-inputcounter__field {
|
|
10785
|
+
position: relative;
|
|
10786
|
+
display: flex;
|
|
10787
|
+
align-items: center;
|
|
10788
|
+
box-sizing: border-box;
|
|
10789
|
+
height: var(--muka-inputcounter-height);
|
|
10790
|
+
width: calc(
|
|
10791
|
+
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
10792
|
+
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
10793
|
+
);
|
|
10794
|
+
background-color: var(--input-field-color-default-background);
|
|
10795
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
10796
|
+
border-radius: var(--muka-inputcounter-radius);
|
|
10797
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
10798
|
+
}
|
|
10799
|
+
|
|
10800
|
+
.muka-inputcounter__field::after {
|
|
10801
|
+
content: '';
|
|
10802
|
+
position: absolute;
|
|
10803
|
+
inset: 0;
|
|
10804
|
+
border-radius: inherit;
|
|
10805
|
+
box-shadow: var(--shadow-sunken);
|
|
10806
|
+
pointer-events: none;
|
|
10735
10807
|
}
|
|
10736
10808
|
|
|
10737
|
-
.muka-
|
|
10738
|
-
|
|
10809
|
+
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
10810
|
+
border-width: var(--border-width-bold);
|
|
10811
|
+
border-color: var(--input-field-color-focus-border);
|
|
10812
|
+
background-color: var(--input-field-color-focus-background);
|
|
10739
10813
|
}
|
|
10740
10814
|
|
|
10741
|
-
.muka-
|
|
10742
|
-
|
|
10815
|
+
.muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
|
|
10816
|
+
border-width: var(--border-width-bold);
|
|
10817
|
+
border-color: var(--input-field-color-error-border);
|
|
10818
|
+
background-color: var(--input-field-color-error-background);
|
|
10743
10819
|
}
|
|
10744
10820
|
|
|
10745
|
-
.muka-
|
|
10746
|
-
color: var(--
|
|
10747
|
-
|
|
10748
|
-
font-weight: 700;
|
|
10749
|
-
letter-spacing: 0.08em;
|
|
10821
|
+
.muka-inputcounter__field--disabled {
|
|
10822
|
+
background-color: var(--input-field-color-disabled-background);
|
|
10823
|
+
border-color: var(--input-field-color-disabled-border);
|
|
10750
10824
|
}
|
|
10751
10825
|
|
|
10752
|
-
.muka-
|
|
10753
|
-
|
|
10826
|
+
.muka-inputcounter__field--disabled::after {
|
|
10827
|
+
display: none;
|
|
10754
10828
|
}
|
|
10755
10829
|
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10830
|
+
.muka-inputcounter__native {
|
|
10831
|
+
width: 100%;
|
|
10832
|
+
min-width: 0;
|
|
10833
|
+
height: 100%;
|
|
10834
|
+
box-sizing: border-box;
|
|
10835
|
+
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
10836
|
+
border: none;
|
|
10837
|
+
outline: none;
|
|
10838
|
+
background: transparent;
|
|
10839
|
+
text-align: center;
|
|
10840
|
+
font-variant-numeric: tabular-nums;
|
|
10841
|
+
color: var(--input-field-color-default-foreground);
|
|
10842
|
+
font-family: var(--text-input-md-fontFamily);
|
|
10843
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
10844
|
+
font-size: var(--text-input-md-fontSize);
|
|
10845
|
+
line-height: var(--text-input-md-lineHeight);
|
|
10764
10846
|
}
|
|
10765
10847
|
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
font-
|
|
10769
|
-
font-
|
|
10770
|
-
|
|
10771
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10772
|
-
color: var(--color-state-error-default);
|
|
10773
|
-
margin: 0;
|
|
10848
|
+
.muka-inputcounter--sm .muka-inputcounter__native {
|
|
10849
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
10850
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
10851
|
+
font-size: var(--text-input-sm-fontSize);
|
|
10852
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
10774
10853
|
}
|
|
10775
10854
|
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
|
|
10780
|
-
.muka-label {
|
|
10781
|
-
display: inline-flex;
|
|
10782
|
-
align-items: center;
|
|
10783
|
-
color: var(--color-text-default-default);
|
|
10784
|
-
cursor: pointer;
|
|
10855
|
+
.muka-inputcounter__field--disabled .muka-inputcounter__native {
|
|
10856
|
+
color: var(--input-field-color-disabled-foreground);
|
|
10857
|
+
cursor: not-allowed;
|
|
10785
10858
|
}
|
|
10786
10859
|
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
10791
|
-
|
|
10860
|
+
/* Button group — secondary icon-only Buttons joined by a divider.
|
|
10861
|
+
Only the outer corners are rounded. */
|
|
10862
|
+
.muka-inputcounter__group {
|
|
10863
|
+
display: inline-flex;
|
|
10864
|
+
align-items: stretch;
|
|
10792
10865
|
}
|
|
10793
10866
|
|
|
10794
|
-
.muka-
|
|
10795
|
-
|
|
10796
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10797
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
10798
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10867
|
+
.muka-inputcounter__group .muka-button {
|
|
10868
|
+
border-radius: 0;
|
|
10799
10869
|
}
|
|
10800
10870
|
|
|
10801
|
-
.muka-
|
|
10802
|
-
|
|
10803
|
-
|
|
10804
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10805
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10871
|
+
.muka-inputcounter__group .muka-button:first-child {
|
|
10872
|
+
border-start-start-radius: var(--muka-inputcounter-radius);
|
|
10873
|
+
border-end-start-radius: var(--muka-inputcounter-radius);
|
|
10806
10874
|
}
|
|
10807
10875
|
|
|
10808
|
-
.muka-
|
|
10809
|
-
|
|
10810
|
-
|
|
10876
|
+
.muka-inputcounter__group .muka-button:last-child {
|
|
10877
|
+
border-start-end-radius: var(--muka-inputcounter-radius);
|
|
10878
|
+
border-end-end-radius: var(--muka-inputcounter-radius);
|
|
10811
10879
|
}
|
|
10812
10880
|
|
|
10813
|
-
.muka-
|
|
10814
|
-
|
|
10881
|
+
.muka-inputcounter__divider {
|
|
10882
|
+
flex: none;
|
|
10883
|
+
width: var(--border-width-regular);
|
|
10884
|
+
background-color: var(--color-border-default);
|
|
10815
10885
|
}
|
|
10816
10886
|
|
|
10817
10887
|
|
|
@@ -11059,272 +11129,94 @@ li.muka-listitem {
|
|
|
11059
11129
|
.muka-input__field--disabled .muka-input__icon .muka-icon,
|
|
11060
11130
|
.muka-input__field--disabled .muka-input__clear,
|
|
11061
11131
|
.muka-input__field--disabled .muka-input__clear .muka-icon,
|
|
11062
|
-
.muka-input__field--disabled .muka-input__reveal,
|
|
11063
|
-
.muka-input__field--disabled .muka-input__reveal .muka-icon {
|
|
11064
|
-
color: var(--input-field-color-disabled-foreground);
|
|
11065
|
-
}
|
|
11066
|
-
|
|
11067
|
-
.muka-input__icon svg {
|
|
11068
|
-
width: 100%;
|
|
11069
|
-
height: 100%;
|
|
11070
|
-
}
|
|
11071
|
-
|
|
11072
|
-
.muka-input__native::-webkit-search-cancel-button,
|
|
11073
|
-
.muka-input__native::-webkit-search-decoration {
|
|
11074
|
-
-webkit-appearance: none;
|
|
11075
|
-
appearance: none;
|
|
11076
|
-
}
|
|
11077
|
-
|
|
11078
|
-
/* Helper text */
|
|
11079
|
-
.muka-input__helper {
|
|
11080
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11081
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11082
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11083
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11084
|
-
color: var(--color-text-subtle-default);
|
|
11085
|
-
margin: 0;
|
|
11086
|
-
}
|
|
11087
|
-
|
|
11088
|
-
/* Error message */
|
|
11089
|
-
.muka-input__error {
|
|
11090
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11091
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11092
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11093
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11094
|
-
color: var(--color-state-error-default);
|
|
11095
|
-
margin: 0;
|
|
11096
|
-
}
|
|
11097
|
-
|
|
11098
|
-
|
|
11099
|
-
/* Icon */
|
|
11100
|
-
/* Icon Component Styles - Using Muka Design Tokens */
|
|
11101
|
-
|
|
11102
|
-
.muka-icon {
|
|
11103
|
-
display: inline-flex;
|
|
11104
|
-
align-items: center;
|
|
11105
|
-
justify-content: center;
|
|
11106
|
-
flex-shrink: 0;
|
|
11107
|
-
color: var(--color-icon-default-default, currentColor);
|
|
11108
|
-
}
|
|
11109
|
-
|
|
11110
|
-
/* Icons inside buttons should inherit from button's foreground color */
|
|
11111
|
-
.muka-button .muka-icon {
|
|
11112
|
-
color: inherit;
|
|
11113
|
-
}
|
|
11114
|
-
|
|
11115
|
-
.muka-icon--subtle {
|
|
11116
|
-
color: var(--color-icon-subtle-default);
|
|
11117
|
-
}
|
|
11118
|
-
|
|
11119
|
-
.muka-icon--muted {
|
|
11120
|
-
color: var(--color-icon-muted-default);
|
|
11121
|
-
}
|
|
11122
|
-
|
|
11123
|
-
.muka-icon--inverse {
|
|
11124
|
-
color: var(--color-icon-default-inverse);
|
|
11125
|
-
}
|
|
11126
|
-
|
|
11127
|
-
.muka-icon--xs {
|
|
11128
|
-
width: var(--icon-size-xs);
|
|
11129
|
-
height: var(--icon-size-xs);
|
|
11130
|
-
}
|
|
11131
|
-
|
|
11132
|
-
.muka-icon--sm {
|
|
11133
|
-
width: var(--icon-size-sm);
|
|
11134
|
-
height: var(--icon-size-sm);
|
|
11135
|
-
}
|
|
11136
|
-
|
|
11137
|
-
.muka-icon--md {
|
|
11138
|
-
width: var(--icon-size-default);
|
|
11139
|
-
height: var(--icon-size-default);
|
|
11140
|
-
}
|
|
11141
|
-
|
|
11142
|
-
.muka-icon--lg {
|
|
11143
|
-
width: var(--icon-size-lg);
|
|
11144
|
-
height: var(--icon-size-lg);
|
|
11145
|
-
}
|
|
11146
|
-
|
|
11147
|
-
.muka-icon svg {
|
|
11148
|
-
width: 100%;
|
|
11149
|
-
height: 100%;
|
|
11150
|
-
}
|
|
11151
|
-
|
|
11152
|
-
|
|
11153
|
-
/* InputCounter */
|
|
11154
|
-
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
11155
|
-
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
11156
|
-
Field and button group share one radius per size:
|
|
11157
|
-
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
11158
|
-
|
|
11159
|
-
.muka-inputcounter {
|
|
11160
|
-
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
11161
|
-
--muka-inputcounter-height: var(--input-field-height-default);
|
|
11162
|
-
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
11163
|
-
--muka-inputcounter-min: var(--size-3xl);
|
|
11164
|
-
|
|
11165
|
-
display: inline-flex;
|
|
11166
|
-
flex-direction: column;
|
|
11167
|
-
gap: var(--spacing-2);
|
|
11168
|
-
}
|
|
11169
|
-
|
|
11170
|
-
.muka-inputcounter--sm {
|
|
11171
|
-
--muka-inputcounter-height: var(--input-field-height-sm);
|
|
11172
|
-
--muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
|
|
11173
|
-
--muka-inputcounter-min: var(--size-2xl);
|
|
11174
|
-
}
|
|
11175
|
-
|
|
11176
|
-
.muka-inputcounter--lg {
|
|
11177
|
-
--muka-inputcounter-radius: var(--input-field-radius-lg);
|
|
11178
|
-
--muka-inputcounter-height: var(--input-field-height-lg);
|
|
11179
|
-
}
|
|
11180
|
-
|
|
11181
|
-
/* Label row — label, info tooltip trigger, optional hint */
|
|
11182
|
-
.muka-inputcounter__label-row {
|
|
11183
|
-
display: flex;
|
|
11184
|
-
align-items: center;
|
|
11185
|
-
gap: var(--spacing-2);
|
|
11186
|
-
min-height: var(--size-xl);
|
|
11187
|
-
}
|
|
11188
|
-
|
|
11189
|
-
.muka-inputcounter__info {
|
|
11190
|
-
display: inline-flex;
|
|
11191
|
-
align-items: center;
|
|
11192
|
-
justify-content: center;
|
|
11193
|
-
padding: 0;
|
|
11194
|
-
border: none;
|
|
11195
|
-
border-radius: 50%;
|
|
11196
|
-
background: transparent;
|
|
11197
|
-
cursor: pointer;
|
|
11132
|
+
.muka-input__field--disabled .muka-input__reveal,
|
|
11133
|
+
.muka-input__field--disabled .muka-input__reveal .muka-icon {
|
|
11134
|
+
color: var(--input-field-color-disabled-foreground);
|
|
11198
11135
|
}
|
|
11199
11136
|
|
|
11200
|
-
.muka-
|
|
11201
|
-
|
|
11137
|
+
.muka-input__icon svg {
|
|
11138
|
+
width: 100%;
|
|
11139
|
+
height: 100%;
|
|
11202
11140
|
}
|
|
11203
11141
|
|
|
11204
|
-
.muka-
|
|
11205
|
-
|
|
11206
|
-
|
|
11142
|
+
.muka-input__native::-webkit-search-cancel-button,
|
|
11143
|
+
.muka-input__native::-webkit-search-decoration {
|
|
11144
|
+
-webkit-appearance: none;
|
|
11145
|
+
appearance: none;
|
|
11207
11146
|
}
|
|
11208
11147
|
|
|
11209
|
-
|
|
11148
|
+
/* Helper text */
|
|
11149
|
+
.muka-input__helper {
|
|
11210
11150
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11211
11151
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11212
11152
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
11213
11153
|
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11214
11154
|
color: var(--color-text-subtle-default);
|
|
11155
|
+
margin: 0;
|
|
11215
11156
|
}
|
|
11216
11157
|
|
|
11217
|
-
/*
|
|
11218
|
-
.muka-
|
|
11219
|
-
|
|
11220
|
-
|
|
11221
|
-
|
|
11222
|
-
|
|
11223
|
-
|
|
11224
|
-
|
|
11225
|
-
Padding sits on the native input so the 2px focus/error border doesn't
|
|
11226
|
-
need compensating: content is centred in a fixed box. */
|
|
11227
|
-
.muka-inputcounter__field {
|
|
11228
|
-
position: relative;
|
|
11229
|
-
display: flex;
|
|
11230
|
-
align-items: center;
|
|
11231
|
-
box-sizing: border-box;
|
|
11232
|
-
height: var(--muka-inputcounter-height);
|
|
11233
|
-
width: calc(
|
|
11234
|
-
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
11235
|
-
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
11236
|
-
);
|
|
11237
|
-
background-color: var(--input-field-color-default-background);
|
|
11238
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
11239
|
-
border-radius: var(--muka-inputcounter-radius);
|
|
11240
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
11241
|
-
}
|
|
11242
|
-
|
|
11243
|
-
.muka-inputcounter__field::after {
|
|
11244
|
-
content: '';
|
|
11245
|
-
position: absolute;
|
|
11246
|
-
inset: 0;
|
|
11247
|
-
border-radius: inherit;
|
|
11248
|
-
box-shadow: var(--shadow-sunken);
|
|
11249
|
-
pointer-events: none;
|
|
11158
|
+
/* Error message */
|
|
11159
|
+
.muka-input__error {
|
|
11160
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11161
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11162
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11163
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11164
|
+
color: var(--color-state-error-default);
|
|
11165
|
+
margin: 0;
|
|
11250
11166
|
}
|
|
11251
11167
|
|
|
11252
|
-
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
11253
|
-
border-width: var(--border-width-bold);
|
|
11254
|
-
border-color: var(--input-field-color-focus-border);
|
|
11255
|
-
background-color: var(--input-field-color-focus-background);
|
|
11256
|
-
}
|
|
11257
11168
|
|
|
11258
|
-
|
|
11259
|
-
|
|
11260
|
-
border-color: var(--input-field-color-error-border);
|
|
11261
|
-
background-color: var(--input-field-color-error-background);
|
|
11262
|
-
}
|
|
11169
|
+
/* Icon */
|
|
11170
|
+
/* Icon Component Styles - Using Muka Design Tokens */
|
|
11263
11171
|
|
|
11264
|
-
.muka-
|
|
11265
|
-
|
|
11266
|
-
|
|
11172
|
+
.muka-icon {
|
|
11173
|
+
display: inline-flex;
|
|
11174
|
+
align-items: center;
|
|
11175
|
+
justify-content: center;
|
|
11176
|
+
flex-shrink: 0;
|
|
11177
|
+
color: var(--color-icon-default-default, currentColor);
|
|
11267
11178
|
}
|
|
11268
11179
|
|
|
11269
|
-
|
|
11270
|
-
|
|
11180
|
+
/* Icons inside buttons should inherit from button's foreground color */
|
|
11181
|
+
.muka-button .muka-icon {
|
|
11182
|
+
color: inherit;
|
|
11271
11183
|
}
|
|
11272
11184
|
|
|
11273
|
-
.muka-
|
|
11274
|
-
|
|
11275
|
-
min-width: 0;
|
|
11276
|
-
height: 100%;
|
|
11277
|
-
box-sizing: border-box;
|
|
11278
|
-
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
11279
|
-
border: none;
|
|
11280
|
-
outline: none;
|
|
11281
|
-
background: transparent;
|
|
11282
|
-
text-align: center;
|
|
11283
|
-
font-variant-numeric: tabular-nums;
|
|
11284
|
-
color: var(--input-field-color-default-foreground);
|
|
11285
|
-
font-family: var(--text-input-md-fontFamily);
|
|
11286
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
11287
|
-
font-size: var(--text-input-md-fontSize);
|
|
11288
|
-
line-height: var(--text-input-md-lineHeight);
|
|
11185
|
+
.muka-icon--subtle {
|
|
11186
|
+
color: var(--color-icon-subtle-default);
|
|
11289
11187
|
}
|
|
11290
11188
|
|
|
11291
|
-
.muka-
|
|
11292
|
-
|
|
11293
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
11294
|
-
font-size: var(--text-input-sm-fontSize);
|
|
11295
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
11189
|
+
.muka-icon--muted {
|
|
11190
|
+
color: var(--color-icon-muted-default);
|
|
11296
11191
|
}
|
|
11297
11192
|
|
|
11298
|
-
.muka-
|
|
11299
|
-
color: var(--
|
|
11300
|
-
cursor: not-allowed;
|
|
11193
|
+
.muka-icon--inverse {
|
|
11194
|
+
color: var(--color-icon-default-inverse);
|
|
11301
11195
|
}
|
|
11302
11196
|
|
|
11303
|
-
|
|
11304
|
-
|
|
11305
|
-
|
|
11306
|
-
display: inline-flex;
|
|
11307
|
-
align-items: stretch;
|
|
11197
|
+
.muka-icon--xs {
|
|
11198
|
+
width: var(--icon-size-xs);
|
|
11199
|
+
height: var(--icon-size-xs);
|
|
11308
11200
|
}
|
|
11309
11201
|
|
|
11310
|
-
.muka-
|
|
11311
|
-
|
|
11202
|
+
.muka-icon--sm {
|
|
11203
|
+
width: var(--icon-size-sm);
|
|
11204
|
+
height: var(--icon-size-sm);
|
|
11312
11205
|
}
|
|
11313
11206
|
|
|
11314
|
-
.muka-
|
|
11315
|
-
|
|
11316
|
-
|
|
11207
|
+
.muka-icon--md {
|
|
11208
|
+
width: var(--icon-size-default);
|
|
11209
|
+
height: var(--icon-size-default);
|
|
11317
11210
|
}
|
|
11318
11211
|
|
|
11319
|
-
.muka-
|
|
11320
|
-
|
|
11321
|
-
|
|
11212
|
+
.muka-icon--lg {
|
|
11213
|
+
width: var(--icon-size-lg);
|
|
11214
|
+
height: var(--icon-size-lg);
|
|
11322
11215
|
}
|
|
11323
11216
|
|
|
11324
|
-
.muka-
|
|
11325
|
-
|
|
11326
|
-
|
|
11327
|
-
background-color: var(--color-border-default);
|
|
11217
|
+
.muka-icon svg {
|
|
11218
|
+
width: 100%;
|
|
11219
|
+
height: 100%;
|
|
11328
11220
|
}
|
|
11329
11221
|
|
|
11330
11222
|
|
|
@@ -18331,3 +18223,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18331
18223
|
border-bottom: none;
|
|
18332
18224
|
}
|
|
18333
18225
|
|
|
18226
|
+
|
|
18227
|
+
/* SwipeActions */
|
|
18228
|
+
/* SwipeActions Component Styles */
|
|
18229
|
+
|
|
18230
|
+
.muka-swipe-actions {
|
|
18231
|
+
position: relative;
|
|
18232
|
+
overflow: hidden;
|
|
18233
|
+
touch-action: pan-y;
|
|
18234
|
+
-webkit-user-select: none;
|
|
18235
|
+
user-select: none;
|
|
18236
|
+
background-color: var(--color-surface-level3);
|
|
18237
|
+
}
|
|
18238
|
+
|
|
18239
|
+
.muka-swipe-actions--disabled {
|
|
18240
|
+
touch-action: auto;
|
|
18241
|
+
}
|
|
18242
|
+
|
|
18243
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
18244
|
+
|
|
18245
|
+
.muka-swipe-actions__row {
|
|
18246
|
+
position: relative;
|
|
18247
|
+
z-index: 1;
|
|
18248
|
+
background-color: inherit;
|
|
18249
|
+
will-change: transform;
|
|
18250
|
+
}
|
|
18251
|
+
|
|
18252
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
18253
|
+
|
|
18254
|
+
.muka-swipe-actions__panel {
|
|
18255
|
+
position: absolute;
|
|
18256
|
+
top: 0;
|
|
18257
|
+
bottom: 0;
|
|
18258
|
+
display: flex;
|
|
18259
|
+
align-items: stretch;
|
|
18260
|
+
z-index: 0;
|
|
18261
|
+
}
|
|
18262
|
+
|
|
18263
|
+
.muka-swipe-actions__panel--left {
|
|
18264
|
+
left: 0;
|
|
18265
|
+
}
|
|
18266
|
+
|
|
18267
|
+
.muka-swipe-actions__panel--right {
|
|
18268
|
+
right: 0;
|
|
18269
|
+
}
|
|
18270
|
+
|
|
18271
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
18272
|
+
|
|
18273
|
+
.muka-swipe-actions__button {
|
|
18274
|
+
display: flex;
|
|
18275
|
+
flex-direction: column;
|
|
18276
|
+
align-items: center;
|
|
18277
|
+
justify-content: center;
|
|
18278
|
+
gap: var(--spacing-1);
|
|
18279
|
+
border: none;
|
|
18280
|
+
cursor: pointer;
|
|
18281
|
+
padding: var(--spacing-2);
|
|
18282
|
+
background-color: var(--color-surface-level2);
|
|
18283
|
+
color: var(--color-text-default-default);
|
|
18284
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18285
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18286
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18287
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
18288
|
+
-webkit-tap-highlight-color: transparent;
|
|
18289
|
+
transition: filter 0.12s ease;
|
|
18290
|
+
}
|
|
18291
|
+
|
|
18292
|
+
.muka-swipe-actions__button:hover {
|
|
18293
|
+
filter: brightness(0.95);
|
|
18294
|
+
}
|
|
18295
|
+
|
|
18296
|
+
.muka-swipe-actions__button:focus-visible {
|
|
18297
|
+
outline: 2px solid var(--color-action-default);
|
|
18298
|
+
outline-offset: -2px;
|
|
18299
|
+
}
|
|
18300
|
+
|
|
18301
|
+
.muka-swipe-actions__button-icon {
|
|
18302
|
+
display: inline-flex;
|
|
18303
|
+
align-items: center;
|
|
18304
|
+
justify-content: center;
|
|
18305
|
+
}
|
|
18306
|
+
|
|
18307
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
18308
|
+
|
|
18309
|
+
.muka-swipe-actions__button--neutral {
|
|
18310
|
+
background-color: var(--color-surface-level2);
|
|
18311
|
+
color: var(--color-text-default-default);
|
|
18312
|
+
}
|
|
18313
|
+
|
|
18314
|
+
.muka-swipe-actions__button--primary {
|
|
18315
|
+
background-color: var(--color-action-default);
|
|
18316
|
+
color: var(--color-text-default-inverse);
|
|
18317
|
+
}
|
|
18318
|
+
|
|
18319
|
+
.muka-swipe-actions__button--success {
|
|
18320
|
+
background-color: var(--color-state-success-default);
|
|
18321
|
+
color: var(--color-text-default-inverse);
|
|
18322
|
+
}
|
|
18323
|
+
|
|
18324
|
+
.muka-swipe-actions__button--warning {
|
|
18325
|
+
background-color: var(--color-state-warning-default);
|
|
18326
|
+
color: var(--color-text-default-default);
|
|
18327
|
+
}
|
|
18328
|
+
|
|
18329
|
+
.muka-swipe-actions__button--destructive {
|
|
18330
|
+
background-color: var(--color-state-error-default);
|
|
18331
|
+
color: var(--color-text-default-inverse);
|
|
18332
|
+
}
|
|
18333
|
+
|