@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
package/dist/styles/index.css
CHANGED
|
@@ -5258,114 +5258,6 @@ body {
|
|
|
5258
5258
|
}
|
|
5259
5259
|
|
|
5260
5260
|
|
|
5261
|
-
/* SwipeActions */
|
|
5262
|
-
/* SwipeActions Component Styles */
|
|
5263
|
-
|
|
5264
|
-
.muka-swipe-actions {
|
|
5265
|
-
position: relative;
|
|
5266
|
-
overflow: hidden;
|
|
5267
|
-
touch-action: pan-y;
|
|
5268
|
-
-webkit-user-select: none;
|
|
5269
|
-
user-select: none;
|
|
5270
|
-
background-color: var(--color-surface-level3);
|
|
5271
|
-
}
|
|
5272
|
-
|
|
5273
|
-
.muka-swipe-actions--disabled {
|
|
5274
|
-
touch-action: auto;
|
|
5275
|
-
}
|
|
5276
|
-
|
|
5277
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
5278
|
-
|
|
5279
|
-
.muka-swipe-actions__row {
|
|
5280
|
-
position: relative;
|
|
5281
|
-
z-index: 1;
|
|
5282
|
-
background-color: inherit;
|
|
5283
|
-
will-change: transform;
|
|
5284
|
-
}
|
|
5285
|
-
|
|
5286
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
5287
|
-
|
|
5288
|
-
.muka-swipe-actions__panel {
|
|
5289
|
-
position: absolute;
|
|
5290
|
-
top: 0;
|
|
5291
|
-
bottom: 0;
|
|
5292
|
-
display: flex;
|
|
5293
|
-
align-items: stretch;
|
|
5294
|
-
z-index: 0;
|
|
5295
|
-
}
|
|
5296
|
-
|
|
5297
|
-
.muka-swipe-actions__panel--left {
|
|
5298
|
-
left: 0;
|
|
5299
|
-
}
|
|
5300
|
-
|
|
5301
|
-
.muka-swipe-actions__panel--right {
|
|
5302
|
-
right: 0;
|
|
5303
|
-
}
|
|
5304
|
-
|
|
5305
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
5306
|
-
|
|
5307
|
-
.muka-swipe-actions__button {
|
|
5308
|
-
display: flex;
|
|
5309
|
-
flex-direction: column;
|
|
5310
|
-
align-items: center;
|
|
5311
|
-
justify-content: center;
|
|
5312
|
-
gap: var(--spacing-1);
|
|
5313
|
-
border: none;
|
|
5314
|
-
cursor: pointer;
|
|
5315
|
-
padding: var(--spacing-2);
|
|
5316
|
-
background-color: var(--color-surface-level2);
|
|
5317
|
-
color: var(--color-text-default-default);
|
|
5318
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5319
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5320
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5321
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5322
|
-
-webkit-tap-highlight-color: transparent;
|
|
5323
|
-
transition: filter 0.12s ease;
|
|
5324
|
-
}
|
|
5325
|
-
|
|
5326
|
-
.muka-swipe-actions__button:hover {
|
|
5327
|
-
filter: brightness(0.95);
|
|
5328
|
-
}
|
|
5329
|
-
|
|
5330
|
-
.muka-swipe-actions__button:focus-visible {
|
|
5331
|
-
outline: 2px solid var(--color-action-default);
|
|
5332
|
-
outline-offset: -2px;
|
|
5333
|
-
}
|
|
5334
|
-
|
|
5335
|
-
.muka-swipe-actions__button-icon {
|
|
5336
|
-
display: inline-flex;
|
|
5337
|
-
align-items: center;
|
|
5338
|
-
justify-content: center;
|
|
5339
|
-
}
|
|
5340
|
-
|
|
5341
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
5342
|
-
|
|
5343
|
-
.muka-swipe-actions__button--neutral {
|
|
5344
|
-
background-color: var(--color-surface-level2);
|
|
5345
|
-
color: var(--color-text-default-default);
|
|
5346
|
-
}
|
|
5347
|
-
|
|
5348
|
-
.muka-swipe-actions__button--primary {
|
|
5349
|
-
background-color: var(--color-action-default);
|
|
5350
|
-
color: var(--color-text-default-inverse);
|
|
5351
|
-
}
|
|
5352
|
-
|
|
5353
|
-
.muka-swipe-actions__button--success {
|
|
5354
|
-
background-color: var(--color-state-success-default);
|
|
5355
|
-
color: var(--color-text-default-inverse);
|
|
5356
|
-
}
|
|
5357
|
-
|
|
5358
|
-
.muka-swipe-actions__button--warning {
|
|
5359
|
-
background-color: var(--color-state-warning-default);
|
|
5360
|
-
color: var(--color-text-default-default);
|
|
5361
|
-
}
|
|
5362
|
-
|
|
5363
|
-
.muka-swipe-actions__button--destructive {
|
|
5364
|
-
background-color: var(--color-state-error-default);
|
|
5365
|
-
color: var(--color-text-default-inverse);
|
|
5366
|
-
}
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
5261
|
/* Spinner */
|
|
5370
5262
|
/* Spinner Component Styles */
|
|
5371
5263
|
|
|
@@ -5679,84 +5571,276 @@ body {
|
|
|
5679
5571
|
}
|
|
5680
5572
|
|
|
5681
5573
|
|
|
5682
|
-
/*
|
|
5683
|
-
/*
|
|
5574
|
+
/* SmsOtpField */
|
|
5575
|
+
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5684
5576
|
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
display:
|
|
5577
|
+
/* Wrapper */
|
|
5578
|
+
.muka-sms-otp-field {
|
|
5579
|
+
display: inline-flex;
|
|
5580
|
+
flex-direction: column;
|
|
5581
|
+
gap: var(--spacing-2);
|
|
5688
5582
|
}
|
|
5689
5583
|
|
|
5690
|
-
/*
|
|
5691
|
-
.muka-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
width: 100%;
|
|
5584
|
+
/* Label */
|
|
5585
|
+
.muka-sms-otp-field__label {
|
|
5586
|
+
color: var(--color-text-default-default);
|
|
5587
|
+
cursor: pointer;
|
|
5695
5588
|
}
|
|
5696
5589
|
|
|
5697
|
-
.muka-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5590
|
+
.muka-sms-otp-field__label--sm {
|
|
5591
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5592
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5593
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5594
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5701
5595
|
}
|
|
5702
5596
|
|
|
5703
|
-
.muka-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5597
|
+
.muka-sms-otp-field__label--md {
|
|
5598
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5599
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5600
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
5601
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5707
5602
|
}
|
|
5708
5603
|
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5604
|
+
.muka-sms-otp-field__label--lg {
|
|
5605
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5606
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5607
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5608
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5712
5609
|
}
|
|
5713
5610
|
|
|
5714
|
-
|
|
5715
|
-
|
|
5611
|
+
.muka-sms-otp-field__required {
|
|
5612
|
+
color: var(--color-state-error-default);
|
|
5613
|
+
}
|
|
5614
|
+
|
|
5615
|
+
/* Hidden input for browser autofill */
|
|
5616
|
+
.muka-sms-otp-field__hidden-input {
|
|
5617
|
+
position: absolute;
|
|
5618
|
+
width: 1px;
|
|
5619
|
+
height: 1px;
|
|
5620
|
+
padding: 0;
|
|
5621
|
+
margin: -1px;
|
|
5622
|
+
overflow: hidden;
|
|
5623
|
+
clip: rect(0, 0, 0, 0);
|
|
5624
|
+
white-space: nowrap;
|
|
5625
|
+
border: 0;
|
|
5626
|
+
opacity: 0;
|
|
5627
|
+
pointer-events: none;
|
|
5628
|
+
}
|
|
5629
|
+
|
|
5630
|
+
/* Digits container */
|
|
5631
|
+
.muka-sms-otp-field__digits {
|
|
5716
5632
|
display: flex;
|
|
5717
|
-
|
|
5633
|
+
align-items: center;
|
|
5718
5634
|
gap: var(--spacing-2);
|
|
5719
5635
|
}
|
|
5720
5636
|
|
|
5721
|
-
/*
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5637
|
+
/* Separator */
|
|
5638
|
+
.muka-sms-otp-field__separator {
|
|
5639
|
+
display: inline-flex;
|
|
5640
|
+
align-items: center;
|
|
5641
|
+
justify-content: center;
|
|
5642
|
+
color: var(--color-text-subtle-default);
|
|
5643
|
+
font-size: 1.25rem;
|
|
5644
|
+
padding: 0 var(--spacing-1);
|
|
5645
|
+
user-select: none;
|
|
5729
5646
|
}
|
|
5730
5647
|
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
);
|
|
5738
|
-
|
|
5739
|
-
|
|
5648
|
+
/* Individual digit box */
|
|
5649
|
+
.muka-sms-otp-field__digit {
|
|
5650
|
+
display: flex;
|
|
5651
|
+
align-items: center;
|
|
5652
|
+
justify-content: center;
|
|
5653
|
+
text-align: center;
|
|
5654
|
+
background-color: var(--input-field-color-default-background);
|
|
5655
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
5656
|
+
color: var(--input-field-color-default-foreground);
|
|
5657
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
5658
|
+
box-sizing: border-box;
|
|
5659
|
+
caret-color: var(--input-field-color-focus-border);
|
|
5660
|
+
-moz-appearance: textfield;
|
|
5661
|
+
appearance: textfield;
|
|
5740
5662
|
}
|
|
5741
5663
|
|
|
5742
|
-
/*
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
50% {
|
|
5748
|
-
opacity: 0.4;
|
|
5749
|
-
}
|
|
5664
|
+
/* Remove spinner buttons */
|
|
5665
|
+
.muka-sms-otp-field__digit::-webkit-inner-spin-button,
|
|
5666
|
+
.muka-sms-otp-field__digit::-webkit-outer-spin-button {
|
|
5667
|
+
-webkit-appearance: none;
|
|
5668
|
+
margin: 0;
|
|
5750
5669
|
}
|
|
5751
5670
|
|
|
5752
|
-
|
|
5753
|
-
|
|
5671
|
+
/* Size variants */
|
|
5672
|
+
.muka-sms-otp-field__digit--sm {
|
|
5673
|
+
width: 36px;
|
|
5674
|
+
height: var(--input-field-height-sm);
|
|
5675
|
+
border-radius: var(--input-field-radius-sm);
|
|
5676
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
5677
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
5678
|
+
font-size: var(--text-input-sm-fontSize);
|
|
5679
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
5754
5680
|
}
|
|
5755
5681
|
|
|
5682
|
+
.muka-sms-otp-field__digit--md {
|
|
5683
|
+
width: 44px;
|
|
5684
|
+
height: var(--input-field-height-default);
|
|
5685
|
+
border-radius: var(--input-field-radius-md);
|
|
5686
|
+
font-family: var(--text-input-md-fontFamily);
|
|
5687
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
5688
|
+
font-size: var(--text-input-md-fontSize);
|
|
5689
|
+
line-height: var(--text-input-md-lineHeight);
|
|
5690
|
+
}
|
|
5691
|
+
|
|
5692
|
+
.muka-sms-otp-field__digit--lg {
|
|
5693
|
+
width: 52px;
|
|
5694
|
+
height: var(--input-field-height-lg);
|
|
5695
|
+
border-radius: var(--input-field-radius-lg);
|
|
5696
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
5697
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
5698
|
+
font-size: var(--text-input-lg-fontSize);
|
|
5699
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
5700
|
+
}
|
|
5701
|
+
|
|
5702
|
+
/* Inset shadow (matches Input component) */
|
|
5703
|
+
.muka-sms-otp-field__digit::after {
|
|
5704
|
+
content: '';
|
|
5705
|
+
position: absolute;
|
|
5706
|
+
inset: 0;
|
|
5707
|
+
border-radius: inherit;
|
|
5708
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
5709
|
+
pointer-events: none;
|
|
5710
|
+
}
|
|
5711
|
+
|
|
5712
|
+
/* Focus state */
|
|
5713
|
+
.muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
|
|
5714
|
+
border-width: var(--border-width-bold);
|
|
5715
|
+
border-color: var(--input-field-color-focus-border);
|
|
5716
|
+
background-color: var(--input-field-color-focus-background);
|
|
5717
|
+
outline: none;
|
|
5718
|
+
}
|
|
5719
|
+
|
|
5720
|
+
/* Also handle native :focus for keyboard navigation */
|
|
5721
|
+
.muka-sms-otp-field__digit:focus {
|
|
5722
|
+
outline: none;
|
|
5723
|
+
}
|
|
5724
|
+
|
|
5725
|
+
/* Error state */
|
|
5726
|
+
.muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
|
|
5727
|
+
border-width: var(--border-width-bold);
|
|
5728
|
+
border-color: var(--input-field-color-error-border);
|
|
5729
|
+
background-color: var(--input-field-color-error-background);
|
|
5730
|
+
}
|
|
5731
|
+
|
|
5732
|
+
/* Disabled state */
|
|
5733
|
+
.muka-sms-otp-field__digit--disabled {
|
|
5734
|
+
background-color: var(--input-field-color-disabled-background);
|
|
5735
|
+
border-color: var(--input-field-color-disabled-border);
|
|
5736
|
+
color: var(--input-field-color-disabled-foreground);
|
|
5737
|
+
cursor: not-allowed;
|
|
5738
|
+
}
|
|
5739
|
+
|
|
5740
|
+
/* Filled state — slightly bolder text */
|
|
5741
|
+
.muka-sms-otp-field__digit--filled {
|
|
5742
|
+
color: var(--input-field-color-default-foreground);
|
|
5743
|
+
}
|
|
5744
|
+
|
|
5745
|
+
/* Helper text */
|
|
5746
|
+
.muka-sms-otp-field__helper {
|
|
5747
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
5748
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
5749
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
5750
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5751
|
+
color: var(--color-text-subtle-default);
|
|
5752
|
+
margin: 0;
|
|
5753
|
+
}
|
|
5754
|
+
|
|
5755
|
+
/* Error message */
|
|
5756
|
+
.muka-sms-otp-field__error {
|
|
5757
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
5758
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
5759
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
5760
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5761
|
+
color: var(--color-state-error-default);
|
|
5762
|
+
margin: 0;
|
|
5763
|
+
}
|
|
5764
|
+
|
|
5765
|
+
|
|
5766
|
+
/* Skeleton */
|
|
5767
|
+
/* Skeleton Component Styles */
|
|
5768
|
+
|
|
5769
|
+
.muka-skeleton {
|
|
5770
|
+
background-color: var(--color-surface-level1);
|
|
5771
|
+
display: block;
|
|
5772
|
+
}
|
|
5773
|
+
|
|
5774
|
+
/* Variants */
|
|
5775
|
+
.muka-skeleton--text {
|
|
5776
|
+
height: 1em;
|
|
5777
|
+
border-radius: var(--radius-md);
|
|
5778
|
+
width: 100%;
|
|
5779
|
+
}
|
|
5780
|
+
|
|
5781
|
+
.muka-skeleton--circular {
|
|
5782
|
+
width: 2.5rem;
|
|
5783
|
+
height: 2.5rem;
|
|
5784
|
+
border-radius: var(--radius-full);
|
|
5785
|
+
}
|
|
5786
|
+
|
|
5787
|
+
.muka-skeleton--rectangular {
|
|
5788
|
+
height: 7.5rem;
|
|
5789
|
+
border-radius: var(--radius-md);
|
|
5790
|
+
width: 100%;
|
|
5791
|
+
}
|
|
5792
|
+
|
|
5793
|
+
/* Last line in multi-line text is shorter */
|
|
5794
|
+
.muka-skeleton--last-line {
|
|
5795
|
+
width: 80%;
|
|
5796
|
+
}
|
|
5797
|
+
|
|
5798
|
+
/* Lines container */
|
|
5799
|
+
.muka-skeleton__lines {
|
|
5800
|
+
display: flex;
|
|
5801
|
+
flex-direction: column;
|
|
5802
|
+
gap: var(--spacing-2);
|
|
5803
|
+
}
|
|
5804
|
+
|
|
5805
|
+
/* Shimmer animation */
|
|
5806
|
+
@keyframes muka-skeleton-shimmer {
|
|
5807
|
+
0% {
|
|
5808
|
+
background-position: -200% 0;
|
|
5809
|
+
}
|
|
5810
|
+
100% {
|
|
5811
|
+
background-position: 200% 0;
|
|
5812
|
+
}
|
|
5813
|
+
}
|
|
5814
|
+
|
|
5815
|
+
.muka-skeleton--shimmer {
|
|
5816
|
+
background: linear-gradient(
|
|
5817
|
+
90deg,
|
|
5818
|
+
var(--color-surface-level1) 25%,
|
|
5819
|
+
var(--color-surface-level2) 50%,
|
|
5820
|
+
var(--color-surface-level1) 75%
|
|
5821
|
+
);
|
|
5822
|
+
background-size: 200% 100%;
|
|
5823
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5824
|
+
}
|
|
5825
|
+
|
|
5826
|
+
/* Pulse animation */
|
|
5827
|
+
@keyframes muka-skeleton-pulse {
|
|
5828
|
+
0%, 100% {
|
|
5829
|
+
opacity: 1;
|
|
5830
|
+
}
|
|
5831
|
+
50% {
|
|
5832
|
+
opacity: 0.4;
|
|
5833
|
+
}
|
|
5834
|
+
}
|
|
5835
|
+
|
|
5836
|
+
.muka-skeleton--pulse {
|
|
5837
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5838
|
+
}
|
|
5839
|
+
|
|
5840
|
+
|
|
5841
|
+
/* SiteHeader */
|
|
5842
|
+
/* SiteHeader Component Styles */
|
|
5756
5843
|
|
|
5757
|
-
/* SiteHeader */
|
|
5758
|
-
/* SiteHeader Component Styles */
|
|
5759
|
-
|
|
5760
5844
|
/*
|
|
5761
5845
|
* Header for document-scrolling pages. Its colour comes from, in order:
|
|
5762
5846
|
* `--muka-site-header-background` (set by the consumer), the surrounding
|
|
@@ -5899,198 +5983,6 @@ body {
|
|
|
5899
5983
|
}
|
|
5900
5984
|
|
|
5901
5985
|
|
|
5902
|
-
/* SmsOtpField */
|
|
5903
|
-
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5904
|
-
|
|
5905
|
-
/* Wrapper */
|
|
5906
|
-
.muka-sms-otp-field {
|
|
5907
|
-
display: inline-flex;
|
|
5908
|
-
flex-direction: column;
|
|
5909
|
-
gap: var(--spacing-2);
|
|
5910
|
-
}
|
|
5911
|
-
|
|
5912
|
-
/* Label */
|
|
5913
|
-
.muka-sms-otp-field__label {
|
|
5914
|
-
color: var(--color-text-default-default);
|
|
5915
|
-
cursor: pointer;
|
|
5916
|
-
}
|
|
5917
|
-
|
|
5918
|
-
.muka-sms-otp-field__label--sm {
|
|
5919
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5920
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5921
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5922
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5923
|
-
}
|
|
5924
|
-
|
|
5925
|
-
.muka-sms-otp-field__label--md {
|
|
5926
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5927
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5928
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
5929
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5930
|
-
}
|
|
5931
|
-
|
|
5932
|
-
.muka-sms-otp-field__label--lg {
|
|
5933
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5934
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5935
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5936
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5937
|
-
}
|
|
5938
|
-
|
|
5939
|
-
.muka-sms-otp-field__required {
|
|
5940
|
-
color: var(--color-state-error-default);
|
|
5941
|
-
}
|
|
5942
|
-
|
|
5943
|
-
/* Hidden input for browser autofill */
|
|
5944
|
-
.muka-sms-otp-field__hidden-input {
|
|
5945
|
-
position: absolute;
|
|
5946
|
-
width: 1px;
|
|
5947
|
-
height: 1px;
|
|
5948
|
-
padding: 0;
|
|
5949
|
-
margin: -1px;
|
|
5950
|
-
overflow: hidden;
|
|
5951
|
-
clip: rect(0, 0, 0, 0);
|
|
5952
|
-
white-space: nowrap;
|
|
5953
|
-
border: 0;
|
|
5954
|
-
opacity: 0;
|
|
5955
|
-
pointer-events: none;
|
|
5956
|
-
}
|
|
5957
|
-
|
|
5958
|
-
/* Digits container */
|
|
5959
|
-
.muka-sms-otp-field__digits {
|
|
5960
|
-
display: flex;
|
|
5961
|
-
align-items: center;
|
|
5962
|
-
gap: var(--spacing-2);
|
|
5963
|
-
}
|
|
5964
|
-
|
|
5965
|
-
/* Separator */
|
|
5966
|
-
.muka-sms-otp-field__separator {
|
|
5967
|
-
display: inline-flex;
|
|
5968
|
-
align-items: center;
|
|
5969
|
-
justify-content: center;
|
|
5970
|
-
color: var(--color-text-subtle-default);
|
|
5971
|
-
font-size: 1.25rem;
|
|
5972
|
-
padding: 0 var(--spacing-1);
|
|
5973
|
-
user-select: none;
|
|
5974
|
-
}
|
|
5975
|
-
|
|
5976
|
-
/* Individual digit box */
|
|
5977
|
-
.muka-sms-otp-field__digit {
|
|
5978
|
-
display: flex;
|
|
5979
|
-
align-items: center;
|
|
5980
|
-
justify-content: center;
|
|
5981
|
-
text-align: center;
|
|
5982
|
-
background-color: var(--input-field-color-default-background);
|
|
5983
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
5984
|
-
color: var(--input-field-color-default-foreground);
|
|
5985
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
5986
|
-
box-sizing: border-box;
|
|
5987
|
-
caret-color: var(--input-field-color-focus-border);
|
|
5988
|
-
-moz-appearance: textfield;
|
|
5989
|
-
appearance: textfield;
|
|
5990
|
-
}
|
|
5991
|
-
|
|
5992
|
-
/* Remove spinner buttons */
|
|
5993
|
-
.muka-sms-otp-field__digit::-webkit-inner-spin-button,
|
|
5994
|
-
.muka-sms-otp-field__digit::-webkit-outer-spin-button {
|
|
5995
|
-
-webkit-appearance: none;
|
|
5996
|
-
margin: 0;
|
|
5997
|
-
}
|
|
5998
|
-
|
|
5999
|
-
/* Size variants */
|
|
6000
|
-
.muka-sms-otp-field__digit--sm {
|
|
6001
|
-
width: 36px;
|
|
6002
|
-
height: var(--input-field-height-sm);
|
|
6003
|
-
border-radius: var(--input-field-radius-sm);
|
|
6004
|
-
font-family: var(--text-input-sm-fontFamily);
|
|
6005
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
6006
|
-
font-size: var(--text-input-sm-fontSize);
|
|
6007
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
6008
|
-
}
|
|
6009
|
-
|
|
6010
|
-
.muka-sms-otp-field__digit--md {
|
|
6011
|
-
width: 44px;
|
|
6012
|
-
height: var(--input-field-height-default);
|
|
6013
|
-
border-radius: var(--input-field-radius-md);
|
|
6014
|
-
font-family: var(--text-input-md-fontFamily);
|
|
6015
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
6016
|
-
font-size: var(--text-input-md-fontSize);
|
|
6017
|
-
line-height: var(--text-input-md-lineHeight);
|
|
6018
|
-
}
|
|
6019
|
-
|
|
6020
|
-
.muka-sms-otp-field__digit--lg {
|
|
6021
|
-
width: 52px;
|
|
6022
|
-
height: var(--input-field-height-lg);
|
|
6023
|
-
border-radius: var(--input-field-radius-lg);
|
|
6024
|
-
font-family: var(--text-input-lg-fontFamily);
|
|
6025
|
-
font-weight: var(--text-input-lg-fontWeight);
|
|
6026
|
-
font-size: var(--text-input-lg-fontSize);
|
|
6027
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
6028
|
-
}
|
|
6029
|
-
|
|
6030
|
-
/* Inset shadow (matches Input component) */
|
|
6031
|
-
.muka-sms-otp-field__digit::after {
|
|
6032
|
-
content: '';
|
|
6033
|
-
position: absolute;
|
|
6034
|
-
inset: 0;
|
|
6035
|
-
border-radius: inherit;
|
|
6036
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
6037
|
-
pointer-events: none;
|
|
6038
|
-
}
|
|
6039
|
-
|
|
6040
|
-
/* Focus state */
|
|
6041
|
-
.muka-sms-otp-field__digit--focused:not(.muka-sms-otp-field__digit--disabled) {
|
|
6042
|
-
border-width: var(--border-width-bold);
|
|
6043
|
-
border-color: var(--input-field-color-focus-border);
|
|
6044
|
-
background-color: var(--input-field-color-focus-background);
|
|
6045
|
-
outline: none;
|
|
6046
|
-
}
|
|
6047
|
-
|
|
6048
|
-
/* Also handle native :focus for keyboard navigation */
|
|
6049
|
-
.muka-sms-otp-field__digit:focus {
|
|
6050
|
-
outline: none;
|
|
6051
|
-
}
|
|
6052
|
-
|
|
6053
|
-
/* Error state */
|
|
6054
|
-
.muka-sms-otp-field__digit--error:not(.muka-sms-otp-field__digit--disabled) {
|
|
6055
|
-
border-width: var(--border-width-bold);
|
|
6056
|
-
border-color: var(--input-field-color-error-border);
|
|
6057
|
-
background-color: var(--input-field-color-error-background);
|
|
6058
|
-
}
|
|
6059
|
-
|
|
6060
|
-
/* Disabled state */
|
|
6061
|
-
.muka-sms-otp-field__digit--disabled {
|
|
6062
|
-
background-color: var(--input-field-color-disabled-background);
|
|
6063
|
-
border-color: var(--input-field-color-disabled-border);
|
|
6064
|
-
color: var(--input-field-color-disabled-foreground);
|
|
6065
|
-
cursor: not-allowed;
|
|
6066
|
-
}
|
|
6067
|
-
|
|
6068
|
-
/* Filled state — slightly bolder text */
|
|
6069
|
-
.muka-sms-otp-field__digit--filled {
|
|
6070
|
-
color: var(--input-field-color-default-foreground);
|
|
6071
|
-
}
|
|
6072
|
-
|
|
6073
|
-
/* Helper text */
|
|
6074
|
-
.muka-sms-otp-field__helper {
|
|
6075
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6076
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6077
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6078
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6079
|
-
color: var(--color-text-subtle-default);
|
|
6080
|
-
margin: 0;
|
|
6081
|
-
}
|
|
6082
|
-
|
|
6083
|
-
/* Error message */
|
|
6084
|
-
.muka-sms-otp-field__error {
|
|
6085
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6086
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6087
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6088
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6089
|
-
color: var(--color-state-error-default);
|
|
6090
|
-
margin: 0;
|
|
6091
|
-
}
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
5986
|
/* Sheet */
|
|
6095
5987
|
/* Sheet Component Styles */
|
|
6096
5988
|
|
|
@@ -7190,95 +7082,239 @@ body {
|
|
|
7190
7082
|
left: var(--spacing-4);
|
|
7191
7083
|
}
|
|
7192
7084
|
|
|
7193
|
-
/* Adjust corner position when selected (border is thicker) */
|
|
7194
|
-
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7195
|
-
top: calc(var(--spacing-4) - 1px);
|
|
7196
|
-
left: calc(var(--spacing-4) - 1px);
|
|
7085
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
7086
|
+
.muka-radio-tile[data-checked] .muka-radio-tile__radio--corner {
|
|
7087
|
+
top: calc(var(--spacing-4) - 1px);
|
|
7088
|
+
left: calc(var(--spacing-4) - 1px);
|
|
7089
|
+
}
|
|
7090
|
+
|
|
7091
|
+
/* Icon */
|
|
7092
|
+
.muka-radio-tile__icon {
|
|
7093
|
+
display: flex;
|
|
7094
|
+
align-items: center;
|
|
7095
|
+
justify-content: center;
|
|
7096
|
+
flex-shrink: 0;
|
|
7097
|
+
width: var(--icon-size-default);
|
|
7098
|
+
height: var(--icon-size-default);
|
|
7099
|
+
color: var(--color-text-default-default);
|
|
7100
|
+
}
|
|
7101
|
+
|
|
7102
|
+
.muka-radio-tile__icon svg {
|
|
7103
|
+
width: 100%;
|
|
7104
|
+
height: 100%;
|
|
7105
|
+
}
|
|
7106
|
+
|
|
7107
|
+
/* Image */
|
|
7108
|
+
.muka-radio-tile__image {
|
|
7109
|
+
flex-shrink: 0;
|
|
7110
|
+
overflow: hidden;
|
|
7111
|
+
border-radius: var(--border-radius-sm);
|
|
7112
|
+
}
|
|
7113
|
+
|
|
7114
|
+
.muka-radio-tile__image img {
|
|
7115
|
+
display: block;
|
|
7116
|
+
width: 100%;
|
|
7117
|
+
height: 100%;
|
|
7118
|
+
object-fit: cover;
|
|
7119
|
+
}
|
|
7120
|
+
|
|
7121
|
+
/* Horizontal image sizing */
|
|
7122
|
+
.muka-radio-tile__image--horizontal {
|
|
7123
|
+
width: 40px;
|
|
7124
|
+
height: 40px;
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
/* Vertical image sizing */
|
|
7128
|
+
.muka-radio-tile--vertical .muka-radio-tile__image {
|
|
7129
|
+
width: 100%;
|
|
7130
|
+
aspect-ratio: 4/3;
|
|
7131
|
+
}
|
|
7132
|
+
|
|
7133
|
+
/* Content container */
|
|
7134
|
+
.muka-radio-tile__content {
|
|
7135
|
+
display: flex;
|
|
7136
|
+
flex-direction: column;
|
|
7137
|
+
flex: 1;
|
|
7138
|
+
min-width: 0;
|
|
7139
|
+
gap: var(--spacing-1);
|
|
7140
|
+
}
|
|
7141
|
+
|
|
7142
|
+
/* Label */
|
|
7143
|
+
.muka-radio-tile__label {
|
|
7144
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
7145
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
7146
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
7147
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
7148
|
+
color: var(--color-text-default-default);
|
|
7149
|
+
}
|
|
7150
|
+
|
|
7151
|
+
.muka-radio-tile__label--bold {
|
|
7152
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
7153
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
7154
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
7155
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
7156
|
+
}
|
|
7157
|
+
|
|
7158
|
+
.muka-radio-tile__label--center {
|
|
7159
|
+
text-align: center;
|
|
7160
|
+
}
|
|
7161
|
+
|
|
7162
|
+
/* Caption */
|
|
7163
|
+
.muka-radio-tile__caption {
|
|
7164
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7165
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7166
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7167
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
7168
|
+
color: var(--color-text-subtle-default);
|
|
7169
|
+
}
|
|
7170
|
+
|
|
7171
|
+
/* Disabled states */
|
|
7172
|
+
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7173
|
+
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7174
|
+
color: var(--color-text-subtle-default);
|
|
7175
|
+
}
|
|
7176
|
+
|
|
7177
|
+
|
|
7178
|
+
/* Radio */
|
|
7179
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7180
|
+
|
|
7181
|
+
/* Wrapper - clickable label container */
|
|
7182
|
+
.muka-radio {
|
|
7183
|
+
display: inline-flex;
|
|
7184
|
+
align-items: center;
|
|
7185
|
+
gap: var(--spacing-4);
|
|
7186
|
+
cursor: pointer;
|
|
7187
|
+
user-select: none;
|
|
7188
|
+
}
|
|
7189
|
+
|
|
7190
|
+
.muka-radio--disabled {
|
|
7191
|
+
cursor: not-allowed;
|
|
7192
|
+
opacity: 0.6;
|
|
7193
|
+
}
|
|
7194
|
+
|
|
7195
|
+
/* Control container */
|
|
7196
|
+
.muka-radio__control {
|
|
7197
|
+
position: relative;
|
|
7198
|
+
display: inline-flex;
|
|
7199
|
+
align-items: center;
|
|
7200
|
+
justify-content: center;
|
|
7201
|
+
flex-shrink: 0;
|
|
7202
|
+
}
|
|
7203
|
+
|
|
7204
|
+
/* Hidden native input */
|
|
7205
|
+
.muka-radio__input {
|
|
7206
|
+
position: absolute;
|
|
7207
|
+
width: 1px;
|
|
7208
|
+
height: 1px;
|
|
7209
|
+
padding: 0;
|
|
7210
|
+
margin: -1px;
|
|
7211
|
+
overflow: hidden;
|
|
7212
|
+
clip: rect(0, 0, 0, 0);
|
|
7213
|
+
white-space: nowrap;
|
|
7214
|
+
border: 0;
|
|
7215
|
+
}
|
|
7216
|
+
|
|
7217
|
+
/* Visual indicator (circle) */
|
|
7218
|
+
.muka-radio__indicator {
|
|
7219
|
+
display: flex;
|
|
7220
|
+
align-items: center;
|
|
7221
|
+
justify-content: center;
|
|
7222
|
+
width: var(--radio-size-default);
|
|
7223
|
+
height: var(--radio-size-default);
|
|
7224
|
+
border-radius: var(--border-radius-full);
|
|
7225
|
+
background-color: var(--radio-color-default-background);
|
|
7226
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7227
|
+
transition: all 0.15s ease;
|
|
7228
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7229
|
+
}
|
|
7230
|
+
|
|
7231
|
+
/* Size variants */
|
|
7232
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7233
|
+
width: var(--radio-size-sm);
|
|
7234
|
+
height: var(--radio-size-sm);
|
|
7235
|
+
}
|
|
7236
|
+
|
|
7237
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7238
|
+
width: var(--radio-size-lg);
|
|
7239
|
+
height: var(--radio-size-lg);
|
|
7240
|
+
}
|
|
7241
|
+
|
|
7242
|
+
/* Inner dot (shown when checked) */
|
|
7243
|
+
.muka-radio__dot {
|
|
7244
|
+
width: var(--radio-dot-size-default);
|
|
7245
|
+
height: var(--radio-dot-size-default);
|
|
7246
|
+
border-radius: var(--border-radius-full);
|
|
7247
|
+
background-color: var(--radio-color-default-dot);
|
|
7248
|
+
transform: scale(0);
|
|
7249
|
+
transition: transform 0.15s ease;
|
|
7250
|
+
}
|
|
7251
|
+
|
|
7252
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7253
|
+
width: var(--radio-dot-size-sm);
|
|
7254
|
+
height: var(--radio-dot-size-sm);
|
|
7197
7255
|
}
|
|
7198
7256
|
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
align-items: center;
|
|
7203
|
-
justify-content: center;
|
|
7204
|
-
flex-shrink: 0;
|
|
7205
|
-
width: var(--icon-size-default);
|
|
7206
|
-
height: var(--icon-size-default);
|
|
7207
|
-
color: var(--color-text-default-default);
|
|
7257
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7258
|
+
width: var(--radio-dot-size-lg);
|
|
7259
|
+
height: var(--radio-dot-size-lg);
|
|
7208
7260
|
}
|
|
7209
7261
|
|
|
7210
|
-
|
|
7211
|
-
width: 100%;
|
|
7212
|
-
height: 100%;
|
|
7213
|
-
}
|
|
7262
|
+
/* Hover state - removed per design */
|
|
7214
7263
|
|
|
7215
|
-
/*
|
|
7216
|
-
.muka-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
border-radius: var(--border-radius-sm);
|
|
7264
|
+
/* Focus state */
|
|
7265
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7266
|
+
outline: 2px solid var(--color-border-focus);
|
|
7267
|
+
outline-offset: 2px;
|
|
7220
7268
|
}
|
|
7221
7269
|
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7270
|
+
/* Checked state */
|
|
7271
|
+
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7272
|
+
background-color: var(--radio-color-checked-background);
|
|
7273
|
+
border-width: var(--border-width-bold);
|
|
7274
|
+
border-color: var(--radio-color-checked-border);
|
|
7275
|
+
box-shadow: none;
|
|
7227
7276
|
}
|
|
7228
7277
|
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
height: 40px;
|
|
7278
|
+
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7279
|
+
background-color: var(--radio-color-checked-dot);
|
|
7280
|
+
transform: scale(1);
|
|
7233
7281
|
}
|
|
7234
7282
|
|
|
7235
|
-
/*
|
|
7236
|
-
.muka-radio
|
|
7237
|
-
|
|
7238
|
-
|
|
7283
|
+
/* Disabled state */
|
|
7284
|
+
.muka-radio--disabled .muka-radio__indicator {
|
|
7285
|
+
background-color: var(--radio-color-disabled-background);
|
|
7286
|
+
border-color: var(--radio-color-disabled-border);
|
|
7287
|
+
box-shadow: none;
|
|
7239
7288
|
}
|
|
7240
7289
|
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
display: flex;
|
|
7244
|
-
flex-direction: column;
|
|
7245
|
-
flex: 1;
|
|
7246
|
-
min-width: 0;
|
|
7247
|
-
gap: var(--spacing-1);
|
|
7290
|
+
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7291
|
+
background-color: var(--radio-color-disabled-dot);
|
|
7248
7292
|
}
|
|
7249
7293
|
|
|
7250
|
-
/* Label */
|
|
7251
|
-
.muka-
|
|
7252
|
-
font-family: var(--text-
|
|
7253
|
-
font-weight: var(--text-
|
|
7254
|
-
font-size: var(--text-
|
|
7255
|
-
line-height: var(--text-
|
|
7294
|
+
/* Label text */
|
|
7295
|
+
.muka-radio__label {
|
|
7296
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7297
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7298
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
7299
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7256
7300
|
color: var(--color-text-default-default);
|
|
7257
7301
|
}
|
|
7258
7302
|
|
|
7259
|
-
.muka-radio
|
|
7260
|
-
font-family: var(--text-label-
|
|
7261
|
-
font-weight: var(--text-label-
|
|
7262
|
-
font-size: var(--text-label-
|
|
7263
|
-
line-height: var(--text-label-
|
|
7264
|
-
}
|
|
7265
|
-
|
|
7266
|
-
.muka-radio-tile__label--center {
|
|
7267
|
-
text-align: center;
|
|
7303
|
+
.muka-radio--sm .muka-radio__label {
|
|
7304
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7305
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7306
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7307
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7268
7308
|
}
|
|
7269
7309
|
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
font-
|
|
7273
|
-
font-
|
|
7274
|
-
|
|
7275
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7276
|
-
color: var(--color-text-subtle-default);
|
|
7310
|
+
.muka-radio--lg .muka-radio__label {
|
|
7311
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7312
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7313
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
7314
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7277
7315
|
}
|
|
7278
7316
|
|
|
7279
|
-
|
|
7280
|
-
.muka-radio-tile--disabled .muka-radio-tile__label,
|
|
7281
|
-
.muka-radio-tile--disabled .muka-radio-tile__icon {
|
|
7317
|
+
.muka-radio--disabled .muka-radio__label {
|
|
7282
7318
|
color: var(--color-text-subtle-default);
|
|
7283
7319
|
}
|
|
7284
7320
|
|
|
@@ -7832,209 +7868,65 @@ body {
|
|
|
7832
7868
|
position: absolute;
|
|
7833
7869
|
bottom: 0;
|
|
7834
7870
|
width: var(--border-radius-xl);
|
|
7835
|
-
height: var(--border-radius-xl);
|
|
7836
|
-
pointer-events: none;
|
|
7837
|
-
}
|
|
7838
|
-
|
|
7839
|
-
.muka-progress-tracker__tab::before {
|
|
7840
|
-
right: 100%;
|
|
7841
|
-
background: radial-gradient(
|
|
7842
|
-
circle at 0 0,
|
|
7843
|
-
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7844
|
-
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7845
|
-
);
|
|
7846
|
-
}
|
|
7847
|
-
|
|
7848
|
-
.muka-progress-tracker__tab::after {
|
|
7849
|
-
left: 100%;
|
|
7850
|
-
background: radial-gradient(
|
|
7851
|
-
circle at 100% 0,
|
|
7852
|
-
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7853
|
-
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7854
|
-
);
|
|
7855
|
-
}
|
|
7856
|
-
|
|
7857
|
-
.muka-progress-tracker__tab--selected {
|
|
7858
|
-
--muka-progress-tracker-tab-surface: var(
|
|
7859
|
-
--muka-progress-tracker-tab-selected,
|
|
7860
|
-
var(--color-surface-level3)
|
|
7861
|
-
);
|
|
7862
|
-
}
|
|
7863
|
-
|
|
7864
|
-
button.muka-progress-tracker__tab {
|
|
7865
|
-
cursor: pointer;
|
|
7866
|
-
}
|
|
7867
|
-
|
|
7868
|
-
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
7869
|
-
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
7870
|
-
}
|
|
7871
|
-
|
|
7872
|
-
button.muka-progress-tracker__tab:focus-visible {
|
|
7873
|
-
outline: 2px solid var(--color-border-focus);
|
|
7874
|
-
outline-offset: -2px;
|
|
7875
|
-
}
|
|
7876
|
-
|
|
7877
|
-
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7878
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
7879
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7880
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
7881
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
7882
|
-
}
|
|
7883
|
-
|
|
7884
|
-
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7885
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
7886
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7887
|
-
}
|
|
7888
|
-
|
|
7889
|
-
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7890
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7891
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7892
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
7893
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7894
|
-
}
|
|
7895
|
-
|
|
7896
|
-
|
|
7897
|
-
/* Radio */
|
|
7898
|
-
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7899
|
-
|
|
7900
|
-
/* Wrapper - clickable label container */
|
|
7901
|
-
.muka-radio {
|
|
7902
|
-
display: inline-flex;
|
|
7903
|
-
align-items: center;
|
|
7904
|
-
gap: var(--spacing-4);
|
|
7905
|
-
cursor: pointer;
|
|
7906
|
-
user-select: none;
|
|
7907
|
-
}
|
|
7908
|
-
|
|
7909
|
-
.muka-radio--disabled {
|
|
7910
|
-
cursor: not-allowed;
|
|
7911
|
-
opacity: 0.6;
|
|
7912
|
-
}
|
|
7913
|
-
|
|
7914
|
-
/* Control container */
|
|
7915
|
-
.muka-radio__control {
|
|
7916
|
-
position: relative;
|
|
7917
|
-
display: inline-flex;
|
|
7918
|
-
align-items: center;
|
|
7919
|
-
justify-content: center;
|
|
7920
|
-
flex-shrink: 0;
|
|
7921
|
-
}
|
|
7922
|
-
|
|
7923
|
-
/* Hidden native input */
|
|
7924
|
-
.muka-radio__input {
|
|
7925
|
-
position: absolute;
|
|
7926
|
-
width: 1px;
|
|
7927
|
-
height: 1px;
|
|
7928
|
-
padding: 0;
|
|
7929
|
-
margin: -1px;
|
|
7930
|
-
overflow: hidden;
|
|
7931
|
-
clip: rect(0, 0, 0, 0);
|
|
7932
|
-
white-space: nowrap;
|
|
7933
|
-
border: 0;
|
|
7934
|
-
}
|
|
7935
|
-
|
|
7936
|
-
/* Visual indicator (circle) */
|
|
7937
|
-
.muka-radio__indicator {
|
|
7938
|
-
display: flex;
|
|
7939
|
-
align-items: center;
|
|
7940
|
-
justify-content: center;
|
|
7941
|
-
width: var(--radio-size-default);
|
|
7942
|
-
height: var(--radio-size-default);
|
|
7943
|
-
border-radius: var(--border-radius-full);
|
|
7944
|
-
background-color: var(--radio-color-default-background);
|
|
7945
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7946
|
-
transition: all 0.15s ease;
|
|
7947
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7948
|
-
}
|
|
7949
|
-
|
|
7950
|
-
/* Size variants */
|
|
7951
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
7952
|
-
width: var(--radio-size-sm);
|
|
7953
|
-
height: var(--radio-size-sm);
|
|
7954
|
-
}
|
|
7955
|
-
|
|
7956
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7957
|
-
width: var(--radio-size-lg);
|
|
7958
|
-
height: var(--radio-size-lg);
|
|
7959
|
-
}
|
|
7960
|
-
|
|
7961
|
-
/* Inner dot (shown when checked) */
|
|
7962
|
-
.muka-radio__dot {
|
|
7963
|
-
width: var(--radio-dot-size-default);
|
|
7964
|
-
height: var(--radio-dot-size-default);
|
|
7965
|
-
border-radius: var(--border-radius-full);
|
|
7966
|
-
background-color: var(--radio-color-default-dot);
|
|
7967
|
-
transform: scale(0);
|
|
7968
|
-
transition: transform 0.15s ease;
|
|
7969
|
-
}
|
|
7970
|
-
|
|
7971
|
-
.muka-radio--sm .muka-radio__dot {
|
|
7972
|
-
width: var(--radio-dot-size-sm);
|
|
7973
|
-
height: var(--radio-dot-size-sm);
|
|
7974
|
-
}
|
|
7975
|
-
|
|
7976
|
-
.muka-radio--lg .muka-radio__dot {
|
|
7977
|
-
width: var(--radio-dot-size-lg);
|
|
7978
|
-
height: var(--radio-dot-size-lg);
|
|
7871
|
+
height: var(--border-radius-xl);
|
|
7872
|
+
pointer-events: none;
|
|
7979
7873
|
}
|
|
7980
7874
|
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7875
|
+
.muka-progress-tracker__tab::before {
|
|
7876
|
+
right: 100%;
|
|
7877
|
+
background: radial-gradient(
|
|
7878
|
+
circle at 0 0,
|
|
7879
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7880
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7881
|
+
);
|
|
7987
7882
|
}
|
|
7988
7883
|
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
background
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7884
|
+
.muka-progress-tracker__tab::after {
|
|
7885
|
+
left: 100%;
|
|
7886
|
+
background: radial-gradient(
|
|
7887
|
+
circle at 100% 0,
|
|
7888
|
+
transparent calc(var(--border-radius-xl) - 0.5px),
|
|
7889
|
+
var(--muka-progress-tracker-tab-surface) var(--border-radius-xl)
|
|
7890
|
+
);
|
|
7995
7891
|
}
|
|
7996
7892
|
|
|
7997
|
-
.muka-
|
|
7998
|
-
|
|
7999
|
-
|
|
7893
|
+
.muka-progress-tracker__tab--selected {
|
|
7894
|
+
--muka-progress-tracker-tab-surface: var(
|
|
7895
|
+
--muka-progress-tracker-tab-selected,
|
|
7896
|
+
var(--color-surface-level3)
|
|
7897
|
+
);
|
|
8000
7898
|
}
|
|
8001
7899
|
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
background-color: var(--radio-color-disabled-background);
|
|
8005
|
-
border-color: var(--radio-color-disabled-border);
|
|
8006
|
-
box-shadow: none;
|
|
7900
|
+
button.muka-progress-tracker__tab {
|
|
7901
|
+
cursor: pointer;
|
|
8007
7902
|
}
|
|
8008
7903
|
|
|
8009
|
-
.muka-
|
|
8010
|
-
background-
|
|
7904
|
+
button.muka-progress-tracker__tab:not(.muka-progress-tracker__tab--selected):hover {
|
|
7905
|
+
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
8011
7906
|
}
|
|
8012
7907
|
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
8017
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
8018
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
8019
|
-
color: var(--color-text-default-default);
|
|
7908
|
+
button.muka-progress-tracker__tab:focus-visible {
|
|
7909
|
+
outline: 2px solid var(--color-border-focus);
|
|
7910
|
+
outline-offset: -2px;
|
|
8020
7911
|
}
|
|
8021
7912
|
|
|
8022
|
-
.muka-
|
|
8023
|
-
font-family: var(--text-
|
|
8024
|
-
font-weight: var(--text-
|
|
8025
|
-
font-size: var(--text-
|
|
8026
|
-
line-height: var(--text-
|
|
7913
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__label {
|
|
7914
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
7915
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
7916
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
7917
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
8027
7918
|
}
|
|
8028
7919
|
|
|
8029
|
-
.muka-
|
|
8030
|
-
font-family: var(--text-
|
|
8031
|
-
font-weight: var(--text-
|
|
8032
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
8033
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7920
|
+
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7921
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
7922
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
8034
7923
|
}
|
|
8035
7924
|
|
|
8036
|
-
.muka-
|
|
8037
|
-
|
|
7925
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7926
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7927
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7928
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7929
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
8038
7930
|
}
|
|
8039
7931
|
|
|
8040
7932
|
|
|
@@ -10796,88 +10688,266 @@ li.muka-listitem {
|
|
|
10796
10688
|
caret-color: var(--plate-text);
|
|
10797
10689
|
}
|
|
10798
10690
|
|
|
10799
|
-
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
10800
|
-
font-size: 22px;
|
|
10691
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
10692
|
+
font-size: 22px;
|
|
10693
|
+
}
|
|
10694
|
+
|
|
10695
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
10696
|
+
font-size: 30px;
|
|
10697
|
+
}
|
|
10698
|
+
|
|
10699
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
10700
|
+
font-size: 42px;
|
|
10701
|
+
}
|
|
10702
|
+
|
|
10703
|
+
.muka-license-plate-input__native::placeholder {
|
|
10704
|
+
color: var(--plate-text);
|
|
10705
|
+
opacity: 0.55;
|
|
10706
|
+
font-weight: 700;
|
|
10707
|
+
letter-spacing: 0.08em;
|
|
10708
|
+
}
|
|
10709
|
+
|
|
10710
|
+
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
10711
|
+
cursor: not-allowed;
|
|
10712
|
+
}
|
|
10713
|
+
|
|
10714
|
+
/* Helper text */
|
|
10715
|
+
.muka-license-plate-input__helper {
|
|
10716
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10717
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10718
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10719
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10720
|
+
color: var(--color-text-subtle-default);
|
|
10721
|
+
margin: 0;
|
|
10722
|
+
}
|
|
10723
|
+
|
|
10724
|
+
/* Error message */
|
|
10725
|
+
.muka-license-plate-input__error {
|
|
10726
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10727
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10728
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10729
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10730
|
+
color: var(--color-state-error-default);
|
|
10731
|
+
margin: 0;
|
|
10732
|
+
}
|
|
10733
|
+
|
|
10734
|
+
|
|
10735
|
+
/* Label */
|
|
10736
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
10737
|
+
|
|
10738
|
+
.muka-label {
|
|
10739
|
+
display: inline-flex;
|
|
10740
|
+
align-items: center;
|
|
10741
|
+
color: var(--color-text-default-default);
|
|
10742
|
+
cursor: pointer;
|
|
10743
|
+
}
|
|
10744
|
+
|
|
10745
|
+
.muka-label--sm {
|
|
10746
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10747
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10748
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10749
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10750
|
+
}
|
|
10751
|
+
|
|
10752
|
+
.muka-label--md {
|
|
10753
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10754
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10755
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
10756
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10757
|
+
}
|
|
10758
|
+
|
|
10759
|
+
.muka-label--lg {
|
|
10760
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10761
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10762
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10763
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10764
|
+
}
|
|
10765
|
+
|
|
10766
|
+
.muka-label--disabled {
|
|
10767
|
+
color: var(--color-text-subtle-default);
|
|
10768
|
+
cursor: not-allowed;
|
|
10769
|
+
}
|
|
10770
|
+
|
|
10771
|
+
.muka-label__required {
|
|
10772
|
+
color: var(--color-state-error-default);
|
|
10773
|
+
}
|
|
10774
|
+
|
|
10775
|
+
|
|
10776
|
+
/* InputCounter */
|
|
10777
|
+
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
10778
|
+
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
10779
|
+
Field and button group share one radius per size:
|
|
10780
|
+
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
10781
|
+
|
|
10782
|
+
.muka-inputcounter {
|
|
10783
|
+
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
10784
|
+
--muka-inputcounter-height: var(--input-field-height-default);
|
|
10785
|
+
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
10786
|
+
--muka-inputcounter-min: var(--size-3xl);
|
|
10787
|
+
|
|
10788
|
+
display: inline-flex;
|
|
10789
|
+
flex-direction: column;
|
|
10790
|
+
gap: var(--spacing-2);
|
|
10791
|
+
}
|
|
10792
|
+
|
|
10793
|
+
.muka-inputcounter--sm {
|
|
10794
|
+
--muka-inputcounter-height: var(--input-field-height-sm);
|
|
10795
|
+
--muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
|
|
10796
|
+
--muka-inputcounter-min: var(--size-2xl);
|
|
10797
|
+
}
|
|
10798
|
+
|
|
10799
|
+
.muka-inputcounter--lg {
|
|
10800
|
+
--muka-inputcounter-radius: var(--input-field-radius-lg);
|
|
10801
|
+
--muka-inputcounter-height: var(--input-field-height-lg);
|
|
10802
|
+
}
|
|
10803
|
+
|
|
10804
|
+
/* Label row — label, info tooltip trigger, optional hint */
|
|
10805
|
+
.muka-inputcounter__label-row {
|
|
10806
|
+
display: flex;
|
|
10807
|
+
align-items: center;
|
|
10808
|
+
gap: var(--spacing-2);
|
|
10809
|
+
min-height: var(--size-xl);
|
|
10810
|
+
}
|
|
10811
|
+
|
|
10812
|
+
.muka-inputcounter__info {
|
|
10813
|
+
display: inline-flex;
|
|
10814
|
+
align-items: center;
|
|
10815
|
+
justify-content: center;
|
|
10816
|
+
padding: 0;
|
|
10817
|
+
border: none;
|
|
10818
|
+
border-radius: 50%;
|
|
10819
|
+
background: transparent;
|
|
10820
|
+
cursor: pointer;
|
|
10821
|
+
}
|
|
10822
|
+
|
|
10823
|
+
.muka-inputcounter__info .muka-icon {
|
|
10824
|
+
color: var(--color-action-default);
|
|
10825
|
+
}
|
|
10826
|
+
|
|
10827
|
+
.muka-inputcounter__info:focus-visible {
|
|
10828
|
+
outline: 2px solid var(--color-border-focus);
|
|
10829
|
+
outline-offset: 2px;
|
|
10830
|
+
}
|
|
10831
|
+
|
|
10832
|
+
.muka-inputcounter__optional {
|
|
10833
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10834
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10835
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10836
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10837
|
+
color: var(--color-text-subtle-default);
|
|
10838
|
+
}
|
|
10839
|
+
|
|
10840
|
+
/* Field + button group */
|
|
10841
|
+
.muka-inputcounter__row {
|
|
10842
|
+
display: flex;
|
|
10843
|
+
align-items: center;
|
|
10844
|
+
gap: var(--spacing-3);
|
|
10845
|
+
}
|
|
10846
|
+
|
|
10847
|
+
/* Field — grows with the value (in ch), never narrower than the Figma width.
|
|
10848
|
+
Padding sits on the native input so the 2px focus/error border doesn't
|
|
10849
|
+
need compensating: content is centred in a fixed box. */
|
|
10850
|
+
.muka-inputcounter__field {
|
|
10851
|
+
position: relative;
|
|
10852
|
+
display: flex;
|
|
10853
|
+
align-items: center;
|
|
10854
|
+
box-sizing: border-box;
|
|
10855
|
+
height: var(--muka-inputcounter-height);
|
|
10856
|
+
width: calc(
|
|
10857
|
+
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
10858
|
+
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
10859
|
+
);
|
|
10860
|
+
background-color: var(--input-field-color-default-background);
|
|
10861
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
10862
|
+
border-radius: var(--muka-inputcounter-radius);
|
|
10863
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
10864
|
+
}
|
|
10865
|
+
|
|
10866
|
+
.muka-inputcounter__field::after {
|
|
10867
|
+
content: '';
|
|
10868
|
+
position: absolute;
|
|
10869
|
+
inset: 0;
|
|
10870
|
+
border-radius: inherit;
|
|
10871
|
+
box-shadow: var(--shadow-sunken);
|
|
10872
|
+
pointer-events: none;
|
|
10801
10873
|
}
|
|
10802
10874
|
|
|
10803
|
-
.muka-
|
|
10804
|
-
|
|
10875
|
+
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
10876
|
+
border-width: var(--border-width-bold);
|
|
10877
|
+
border-color: var(--input-field-color-focus-border);
|
|
10878
|
+
background-color: var(--input-field-color-focus-background);
|
|
10805
10879
|
}
|
|
10806
10880
|
|
|
10807
|
-
.muka-
|
|
10808
|
-
|
|
10881
|
+
.muka-inputcounter__field--error:not(.muka-inputcounter__field--disabled) {
|
|
10882
|
+
border-width: var(--border-width-bold);
|
|
10883
|
+
border-color: var(--input-field-color-error-border);
|
|
10884
|
+
background-color: var(--input-field-color-error-background);
|
|
10809
10885
|
}
|
|
10810
10886
|
|
|
10811
|
-
.muka-
|
|
10812
|
-
color: var(--
|
|
10813
|
-
|
|
10814
|
-
font-weight: 700;
|
|
10815
|
-
letter-spacing: 0.08em;
|
|
10887
|
+
.muka-inputcounter__field--disabled {
|
|
10888
|
+
background-color: var(--input-field-color-disabled-background);
|
|
10889
|
+
border-color: var(--input-field-color-disabled-border);
|
|
10816
10890
|
}
|
|
10817
10891
|
|
|
10818
|
-
.muka-
|
|
10819
|
-
|
|
10892
|
+
.muka-inputcounter__field--disabled::after {
|
|
10893
|
+
display: none;
|
|
10820
10894
|
}
|
|
10821
10895
|
|
|
10822
|
-
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
|
|
10826
|
-
|
|
10827
|
-
|
|
10828
|
-
|
|
10829
|
-
|
|
10896
|
+
.muka-inputcounter__native {
|
|
10897
|
+
width: 100%;
|
|
10898
|
+
min-width: 0;
|
|
10899
|
+
height: 100%;
|
|
10900
|
+
box-sizing: border-box;
|
|
10901
|
+
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
10902
|
+
border: none;
|
|
10903
|
+
outline: none;
|
|
10904
|
+
background: transparent;
|
|
10905
|
+
text-align: center;
|
|
10906
|
+
font-variant-numeric: tabular-nums;
|
|
10907
|
+
color: var(--input-field-color-default-foreground);
|
|
10908
|
+
font-family: var(--text-input-md-fontFamily);
|
|
10909
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
10910
|
+
font-size: var(--text-input-md-fontSize);
|
|
10911
|
+
line-height: var(--text-input-md-lineHeight);
|
|
10830
10912
|
}
|
|
10831
10913
|
|
|
10832
|
-
|
|
10833
|
-
|
|
10834
|
-
font-
|
|
10835
|
-
font-
|
|
10836
|
-
|
|
10837
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10838
|
-
color: var(--color-state-error-default);
|
|
10839
|
-
margin: 0;
|
|
10914
|
+
.muka-inputcounter--sm .muka-inputcounter__native {
|
|
10915
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
10916
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
10917
|
+
font-size: var(--text-input-sm-fontSize);
|
|
10918
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
10840
10919
|
}
|
|
10841
10920
|
|
|
10842
|
-
|
|
10843
|
-
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
.muka-label {
|
|
10847
|
-
display: inline-flex;
|
|
10848
|
-
align-items: center;
|
|
10849
|
-
color: var(--color-text-default-default);
|
|
10850
|
-
cursor: pointer;
|
|
10921
|
+
.muka-inputcounter__field--disabled .muka-inputcounter__native {
|
|
10922
|
+
color: var(--input-field-color-disabled-foreground);
|
|
10923
|
+
cursor: not-allowed;
|
|
10851
10924
|
}
|
|
10852
10925
|
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10926
|
+
/* Button group — secondary icon-only Buttons joined by a divider.
|
|
10927
|
+
Only the outer corners are rounded. */
|
|
10928
|
+
.muka-inputcounter__group {
|
|
10929
|
+
display: inline-flex;
|
|
10930
|
+
align-items: stretch;
|
|
10858
10931
|
}
|
|
10859
10932
|
|
|
10860
|
-
.muka-
|
|
10861
|
-
|
|
10862
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10863
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
10864
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10933
|
+
.muka-inputcounter__group .muka-button {
|
|
10934
|
+
border-radius: 0;
|
|
10865
10935
|
}
|
|
10866
10936
|
|
|
10867
|
-
.muka-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10871
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10937
|
+
.muka-inputcounter__group .muka-button:first-child {
|
|
10938
|
+
border-start-start-radius: var(--muka-inputcounter-radius);
|
|
10939
|
+
border-end-start-radius: var(--muka-inputcounter-radius);
|
|
10872
10940
|
}
|
|
10873
10941
|
|
|
10874
|
-
.muka-
|
|
10875
|
-
|
|
10876
|
-
|
|
10942
|
+
.muka-inputcounter__group .muka-button:last-child {
|
|
10943
|
+
border-start-end-radius: var(--muka-inputcounter-radius);
|
|
10944
|
+
border-end-end-radius: var(--muka-inputcounter-radius);
|
|
10877
10945
|
}
|
|
10878
10946
|
|
|
10879
|
-
.muka-
|
|
10880
|
-
|
|
10947
|
+
.muka-inputcounter__divider {
|
|
10948
|
+
flex: none;
|
|
10949
|
+
width: var(--border-width-regular);
|
|
10950
|
+
background-color: var(--color-border-default);
|
|
10881
10951
|
}
|
|
10882
10952
|
|
|
10883
10953
|
|
|
@@ -11125,272 +11195,94 @@ li.muka-listitem {
|
|
|
11125
11195
|
.muka-input__field--disabled .muka-input__icon .muka-icon,
|
|
11126
11196
|
.muka-input__field--disabled .muka-input__clear,
|
|
11127
11197
|
.muka-input__field--disabled .muka-input__clear .muka-icon,
|
|
11128
|
-
.muka-input__field--disabled .muka-input__reveal,
|
|
11129
|
-
.muka-input__field--disabled .muka-input__reveal .muka-icon {
|
|
11130
|
-
color: var(--input-field-color-disabled-foreground);
|
|
11131
|
-
}
|
|
11132
|
-
|
|
11133
|
-
.muka-input__icon svg {
|
|
11134
|
-
width: 100%;
|
|
11135
|
-
height: 100%;
|
|
11136
|
-
}
|
|
11137
|
-
|
|
11138
|
-
.muka-input__native::-webkit-search-cancel-button,
|
|
11139
|
-
.muka-input__native::-webkit-search-decoration {
|
|
11140
|
-
-webkit-appearance: none;
|
|
11141
|
-
appearance: none;
|
|
11142
|
-
}
|
|
11143
|
-
|
|
11144
|
-
/* Helper text */
|
|
11145
|
-
.muka-input__helper {
|
|
11146
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11147
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11148
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11149
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11150
|
-
color: var(--color-text-subtle-default);
|
|
11151
|
-
margin: 0;
|
|
11152
|
-
}
|
|
11153
|
-
|
|
11154
|
-
/* Error message */
|
|
11155
|
-
.muka-input__error {
|
|
11156
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11157
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11158
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11159
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11160
|
-
color: var(--color-state-error-default);
|
|
11161
|
-
margin: 0;
|
|
11162
|
-
}
|
|
11163
|
-
|
|
11164
|
-
|
|
11165
|
-
/* Icon */
|
|
11166
|
-
/* Icon Component Styles - Using Muka Design Tokens */
|
|
11167
|
-
|
|
11168
|
-
.muka-icon {
|
|
11169
|
-
display: inline-flex;
|
|
11170
|
-
align-items: center;
|
|
11171
|
-
justify-content: center;
|
|
11172
|
-
flex-shrink: 0;
|
|
11173
|
-
color: var(--color-icon-default-default, currentColor);
|
|
11174
|
-
}
|
|
11175
|
-
|
|
11176
|
-
/* Icons inside buttons should inherit from button's foreground color */
|
|
11177
|
-
.muka-button .muka-icon {
|
|
11178
|
-
color: inherit;
|
|
11179
|
-
}
|
|
11180
|
-
|
|
11181
|
-
.muka-icon--subtle {
|
|
11182
|
-
color: var(--color-icon-subtle-default);
|
|
11183
|
-
}
|
|
11184
|
-
|
|
11185
|
-
.muka-icon--muted {
|
|
11186
|
-
color: var(--color-icon-muted-default);
|
|
11187
|
-
}
|
|
11188
|
-
|
|
11189
|
-
.muka-icon--inverse {
|
|
11190
|
-
color: var(--color-icon-default-inverse);
|
|
11191
|
-
}
|
|
11192
|
-
|
|
11193
|
-
.muka-icon--xs {
|
|
11194
|
-
width: var(--icon-size-xs);
|
|
11195
|
-
height: var(--icon-size-xs);
|
|
11196
|
-
}
|
|
11197
|
-
|
|
11198
|
-
.muka-icon--sm {
|
|
11199
|
-
width: var(--icon-size-sm);
|
|
11200
|
-
height: var(--icon-size-sm);
|
|
11201
|
-
}
|
|
11202
|
-
|
|
11203
|
-
.muka-icon--md {
|
|
11204
|
-
width: var(--icon-size-default);
|
|
11205
|
-
height: var(--icon-size-default);
|
|
11206
|
-
}
|
|
11207
|
-
|
|
11208
|
-
.muka-icon--lg {
|
|
11209
|
-
width: var(--icon-size-lg);
|
|
11210
|
-
height: var(--icon-size-lg);
|
|
11211
|
-
}
|
|
11212
|
-
|
|
11213
|
-
.muka-icon svg {
|
|
11214
|
-
width: 100%;
|
|
11215
|
-
height: 100%;
|
|
11216
|
-
}
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
/* InputCounter */
|
|
11220
|
-
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
11221
|
-
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
11222
|
-
Field and button group share one radius per size:
|
|
11223
|
-
sm/md → input.field.radius.md, lg → input.field.radius.lg. */
|
|
11224
|
-
|
|
11225
|
-
.muka-inputcounter {
|
|
11226
|
-
--muka-inputcounter-radius: var(--input-field-radius-md);
|
|
11227
|
-
--muka-inputcounter-height: var(--input-field-height-default);
|
|
11228
|
-
--muka-inputcounter-pad: calc(var(--spacing-2) + var(--spacing-1));
|
|
11229
|
-
--muka-inputcounter-min: var(--size-3xl);
|
|
11230
|
-
|
|
11231
|
-
display: inline-flex;
|
|
11232
|
-
flex-direction: column;
|
|
11233
|
-
gap: var(--spacing-2);
|
|
11234
|
-
}
|
|
11235
|
-
|
|
11236
|
-
.muka-inputcounter--sm {
|
|
11237
|
-
--muka-inputcounter-height: var(--input-field-height-sm);
|
|
11238
|
-
--muka-inputcounter-pad: calc(var(--spacing-1) + var(--spacing-1));
|
|
11239
|
-
--muka-inputcounter-min: var(--size-2xl);
|
|
11240
|
-
}
|
|
11241
|
-
|
|
11242
|
-
.muka-inputcounter--lg {
|
|
11243
|
-
--muka-inputcounter-radius: var(--input-field-radius-lg);
|
|
11244
|
-
--muka-inputcounter-height: var(--input-field-height-lg);
|
|
11245
|
-
}
|
|
11246
|
-
|
|
11247
|
-
/* Label row — label, info tooltip trigger, optional hint */
|
|
11248
|
-
.muka-inputcounter__label-row {
|
|
11249
|
-
display: flex;
|
|
11250
|
-
align-items: center;
|
|
11251
|
-
gap: var(--spacing-2);
|
|
11252
|
-
min-height: var(--size-xl);
|
|
11253
|
-
}
|
|
11254
|
-
|
|
11255
|
-
.muka-inputcounter__info {
|
|
11256
|
-
display: inline-flex;
|
|
11257
|
-
align-items: center;
|
|
11258
|
-
justify-content: center;
|
|
11259
|
-
padding: 0;
|
|
11260
|
-
border: none;
|
|
11261
|
-
border-radius: 50%;
|
|
11262
|
-
background: transparent;
|
|
11263
|
-
cursor: pointer;
|
|
11198
|
+
.muka-input__field--disabled .muka-input__reveal,
|
|
11199
|
+
.muka-input__field--disabled .muka-input__reveal .muka-icon {
|
|
11200
|
+
color: var(--input-field-color-disabled-foreground);
|
|
11264
11201
|
}
|
|
11265
11202
|
|
|
11266
|
-
.muka-
|
|
11267
|
-
|
|
11203
|
+
.muka-input__icon svg {
|
|
11204
|
+
width: 100%;
|
|
11205
|
+
height: 100%;
|
|
11268
11206
|
}
|
|
11269
11207
|
|
|
11270
|
-
.muka-
|
|
11271
|
-
|
|
11272
|
-
|
|
11208
|
+
.muka-input__native::-webkit-search-cancel-button,
|
|
11209
|
+
.muka-input__native::-webkit-search-decoration {
|
|
11210
|
+
-webkit-appearance: none;
|
|
11211
|
+
appearance: none;
|
|
11273
11212
|
}
|
|
11274
11213
|
|
|
11275
|
-
|
|
11214
|
+
/* Helper text */
|
|
11215
|
+
.muka-input__helper {
|
|
11276
11216
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11277
11217
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11278
11218
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
11279
11219
|
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11280
11220
|
color: var(--color-text-subtle-default);
|
|
11221
|
+
margin: 0;
|
|
11281
11222
|
}
|
|
11282
11223
|
|
|
11283
|
-
/*
|
|
11284
|
-
.muka-
|
|
11285
|
-
|
|
11286
|
-
|
|
11287
|
-
|
|
11288
|
-
|
|
11289
|
-
|
|
11290
|
-
|
|
11291
|
-
Padding sits on the native input so the 2px focus/error border doesn't
|
|
11292
|
-
need compensating: content is centred in a fixed box. */
|
|
11293
|
-
.muka-inputcounter__field {
|
|
11294
|
-
position: relative;
|
|
11295
|
-
display: flex;
|
|
11296
|
-
align-items: center;
|
|
11297
|
-
box-sizing: border-box;
|
|
11298
|
-
height: var(--muka-inputcounter-height);
|
|
11299
|
-
width: calc(
|
|
11300
|
-
max(var(--muka-inputcounter-min), calc(var(--muka-inputcounter-chars, 1) * 1ch)) +
|
|
11301
|
-
2 * var(--muka-inputcounter-pad) + 2 * var(--border-width-regular)
|
|
11302
|
-
);
|
|
11303
|
-
background-color: var(--input-field-color-default-background);
|
|
11304
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
11305
|
-
border-radius: var(--muka-inputcounter-radius);
|
|
11306
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
11307
|
-
}
|
|
11308
|
-
|
|
11309
|
-
.muka-inputcounter__field::after {
|
|
11310
|
-
content: '';
|
|
11311
|
-
position: absolute;
|
|
11312
|
-
inset: 0;
|
|
11313
|
-
border-radius: inherit;
|
|
11314
|
-
box-shadow: var(--shadow-sunken);
|
|
11315
|
-
pointer-events: none;
|
|
11224
|
+
/* Error message */
|
|
11225
|
+
.muka-input__error {
|
|
11226
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11227
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11228
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11229
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11230
|
+
color: var(--color-state-error-default);
|
|
11231
|
+
margin: 0;
|
|
11316
11232
|
}
|
|
11317
11233
|
|
|
11318
|
-
.muka-inputcounter__field--focused:not(.muka-inputcounter__field--disabled) {
|
|
11319
|
-
border-width: var(--border-width-bold);
|
|
11320
|
-
border-color: var(--input-field-color-focus-border);
|
|
11321
|
-
background-color: var(--input-field-color-focus-background);
|
|
11322
|
-
}
|
|
11323
11234
|
|
|
11324
|
-
|
|
11325
|
-
|
|
11326
|
-
border-color: var(--input-field-color-error-border);
|
|
11327
|
-
background-color: var(--input-field-color-error-background);
|
|
11328
|
-
}
|
|
11235
|
+
/* Icon */
|
|
11236
|
+
/* Icon Component Styles - Using Muka Design Tokens */
|
|
11329
11237
|
|
|
11330
|
-
.muka-
|
|
11331
|
-
|
|
11332
|
-
|
|
11238
|
+
.muka-icon {
|
|
11239
|
+
display: inline-flex;
|
|
11240
|
+
align-items: center;
|
|
11241
|
+
justify-content: center;
|
|
11242
|
+
flex-shrink: 0;
|
|
11243
|
+
color: var(--color-icon-default-default, currentColor);
|
|
11333
11244
|
}
|
|
11334
11245
|
|
|
11335
|
-
|
|
11336
|
-
|
|
11246
|
+
/* Icons inside buttons should inherit from button's foreground color */
|
|
11247
|
+
.muka-button .muka-icon {
|
|
11248
|
+
color: inherit;
|
|
11337
11249
|
}
|
|
11338
11250
|
|
|
11339
|
-
.muka-
|
|
11340
|
-
|
|
11341
|
-
min-width: 0;
|
|
11342
|
-
height: 100%;
|
|
11343
|
-
box-sizing: border-box;
|
|
11344
|
-
padding: 0 calc(var(--muka-inputcounter-pad) - var(--border-width-regular));
|
|
11345
|
-
border: none;
|
|
11346
|
-
outline: none;
|
|
11347
|
-
background: transparent;
|
|
11348
|
-
text-align: center;
|
|
11349
|
-
font-variant-numeric: tabular-nums;
|
|
11350
|
-
color: var(--input-field-color-default-foreground);
|
|
11351
|
-
font-family: var(--text-input-md-fontFamily);
|
|
11352
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
11353
|
-
font-size: var(--text-input-md-fontSize);
|
|
11354
|
-
line-height: var(--text-input-md-lineHeight);
|
|
11251
|
+
.muka-icon--subtle {
|
|
11252
|
+
color: var(--color-icon-subtle-default);
|
|
11355
11253
|
}
|
|
11356
11254
|
|
|
11357
|
-
.muka-
|
|
11358
|
-
|
|
11359
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
11360
|
-
font-size: var(--text-input-sm-fontSize);
|
|
11361
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
11255
|
+
.muka-icon--muted {
|
|
11256
|
+
color: var(--color-icon-muted-default);
|
|
11362
11257
|
}
|
|
11363
11258
|
|
|
11364
|
-
.muka-
|
|
11365
|
-
color: var(--
|
|
11366
|
-
cursor: not-allowed;
|
|
11259
|
+
.muka-icon--inverse {
|
|
11260
|
+
color: var(--color-icon-default-inverse);
|
|
11367
11261
|
}
|
|
11368
11262
|
|
|
11369
|
-
|
|
11370
|
-
|
|
11371
|
-
|
|
11372
|
-
display: inline-flex;
|
|
11373
|
-
align-items: stretch;
|
|
11263
|
+
.muka-icon--xs {
|
|
11264
|
+
width: var(--icon-size-xs);
|
|
11265
|
+
height: var(--icon-size-xs);
|
|
11374
11266
|
}
|
|
11375
11267
|
|
|
11376
|
-
.muka-
|
|
11377
|
-
|
|
11268
|
+
.muka-icon--sm {
|
|
11269
|
+
width: var(--icon-size-sm);
|
|
11270
|
+
height: var(--icon-size-sm);
|
|
11378
11271
|
}
|
|
11379
11272
|
|
|
11380
|
-
.muka-
|
|
11381
|
-
|
|
11382
|
-
|
|
11273
|
+
.muka-icon--md {
|
|
11274
|
+
width: var(--icon-size-default);
|
|
11275
|
+
height: var(--icon-size-default);
|
|
11383
11276
|
}
|
|
11384
11277
|
|
|
11385
|
-
.muka-
|
|
11386
|
-
|
|
11387
|
-
|
|
11278
|
+
.muka-icon--lg {
|
|
11279
|
+
width: var(--icon-size-lg);
|
|
11280
|
+
height: var(--icon-size-lg);
|
|
11388
11281
|
}
|
|
11389
11282
|
|
|
11390
|
-
.muka-
|
|
11391
|
-
|
|
11392
|
-
|
|
11393
|
-
background-color: var(--color-border-default);
|
|
11283
|
+
.muka-icon svg {
|
|
11284
|
+
width: 100%;
|
|
11285
|
+
height: 100%;
|
|
11394
11286
|
}
|
|
11395
11287
|
|
|
11396
11288
|
|
|
@@ -18397,3 +18289,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18397
18289
|
border-bottom: none;
|
|
18398
18290
|
}
|
|
18399
18291
|
|
|
18292
|
+
|
|
18293
|
+
/* SwipeActions */
|
|
18294
|
+
/* SwipeActions Component Styles */
|
|
18295
|
+
|
|
18296
|
+
.muka-swipe-actions {
|
|
18297
|
+
position: relative;
|
|
18298
|
+
overflow: hidden;
|
|
18299
|
+
touch-action: pan-y;
|
|
18300
|
+
-webkit-user-select: none;
|
|
18301
|
+
user-select: none;
|
|
18302
|
+
background-color: var(--color-surface-level3);
|
|
18303
|
+
}
|
|
18304
|
+
|
|
18305
|
+
.muka-swipe-actions--disabled {
|
|
18306
|
+
touch-action: auto;
|
|
18307
|
+
}
|
|
18308
|
+
|
|
18309
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
18310
|
+
|
|
18311
|
+
.muka-swipe-actions__row {
|
|
18312
|
+
position: relative;
|
|
18313
|
+
z-index: 1;
|
|
18314
|
+
background-color: inherit;
|
|
18315
|
+
will-change: transform;
|
|
18316
|
+
}
|
|
18317
|
+
|
|
18318
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
18319
|
+
|
|
18320
|
+
.muka-swipe-actions__panel {
|
|
18321
|
+
position: absolute;
|
|
18322
|
+
top: 0;
|
|
18323
|
+
bottom: 0;
|
|
18324
|
+
display: flex;
|
|
18325
|
+
align-items: stretch;
|
|
18326
|
+
z-index: 0;
|
|
18327
|
+
}
|
|
18328
|
+
|
|
18329
|
+
.muka-swipe-actions__panel--left {
|
|
18330
|
+
left: 0;
|
|
18331
|
+
}
|
|
18332
|
+
|
|
18333
|
+
.muka-swipe-actions__panel--right {
|
|
18334
|
+
right: 0;
|
|
18335
|
+
}
|
|
18336
|
+
|
|
18337
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
18338
|
+
|
|
18339
|
+
.muka-swipe-actions__button {
|
|
18340
|
+
display: flex;
|
|
18341
|
+
flex-direction: column;
|
|
18342
|
+
align-items: center;
|
|
18343
|
+
justify-content: center;
|
|
18344
|
+
gap: var(--spacing-1);
|
|
18345
|
+
border: none;
|
|
18346
|
+
cursor: pointer;
|
|
18347
|
+
padding: var(--spacing-2);
|
|
18348
|
+
background-color: var(--color-surface-level2);
|
|
18349
|
+
color: var(--color-text-default-default);
|
|
18350
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18351
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18352
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18353
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
18354
|
+
-webkit-tap-highlight-color: transparent;
|
|
18355
|
+
transition: filter 0.12s ease;
|
|
18356
|
+
}
|
|
18357
|
+
|
|
18358
|
+
.muka-swipe-actions__button:hover {
|
|
18359
|
+
filter: brightness(0.95);
|
|
18360
|
+
}
|
|
18361
|
+
|
|
18362
|
+
.muka-swipe-actions__button:focus-visible {
|
|
18363
|
+
outline: 2px solid var(--color-action-default);
|
|
18364
|
+
outline-offset: -2px;
|
|
18365
|
+
}
|
|
18366
|
+
|
|
18367
|
+
.muka-swipe-actions__button-icon {
|
|
18368
|
+
display: inline-flex;
|
|
18369
|
+
align-items: center;
|
|
18370
|
+
justify-content: center;
|
|
18371
|
+
}
|
|
18372
|
+
|
|
18373
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
18374
|
+
|
|
18375
|
+
.muka-swipe-actions__button--neutral {
|
|
18376
|
+
background-color: var(--color-surface-level2);
|
|
18377
|
+
color: var(--color-text-default-default);
|
|
18378
|
+
}
|
|
18379
|
+
|
|
18380
|
+
.muka-swipe-actions__button--primary {
|
|
18381
|
+
background-color: var(--color-action-default);
|
|
18382
|
+
color: var(--color-text-default-inverse);
|
|
18383
|
+
}
|
|
18384
|
+
|
|
18385
|
+
.muka-swipe-actions__button--success {
|
|
18386
|
+
background-color: var(--color-state-success-default);
|
|
18387
|
+
color: var(--color-text-default-inverse);
|
|
18388
|
+
}
|
|
18389
|
+
|
|
18390
|
+
.muka-swipe-actions__button--warning {
|
|
18391
|
+
background-color: var(--color-state-warning-default);
|
|
18392
|
+
color: var(--color-text-default-default);
|
|
18393
|
+
}
|
|
18394
|
+
|
|
18395
|
+
.muka-swipe-actions__button--destructive {
|
|
18396
|
+
background-color: var(--color-state-error-default);
|
|
18397
|
+
color: var(--color-text-default-inverse);
|
|
18398
|
+
}
|
|
18399
|
+
|