@revikornmann/muka-ui 0.35.1 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/Table/Table.css +12 -0
- package/dist/cjs/components/Table/Table.js +2 -1
- package/dist/cjs/components/Table/Table.js.map +1 -1
- package/dist/esm/components/Table/Table.css +12 -0
- package/dist/esm/components/Table/Table.js +2 -1
- package/dist/esm/components/Table/Table.js.map +1 -1
- package/dist/styles/components/Table.css +12 -0
- package/dist/styles/index.css +1069 -1043
- package/dist/styles/muka-dark.css +1069 -1043
- package/dist/styles/muka-light.css +1069 -1043
- package/dist/styles/tokens-bouwplan-dark.css +2 -0
- package/dist/styles/tokens-bouwplan-light.css +2 -0
- package/dist/styles/tokens-fscl-dark.css +2 -0
- package/dist/styles/tokens-fscl-light.css +2 -0
- package/dist/styles/tokens-grip-dark.css +2 -0
- package/dist/styles/tokens-grip-light.css +2 -0
- package/dist/styles/tokens-muka-dark.css +2 -0
- package/dist/styles/tokens-muka-light.css +2 -0
- package/dist/styles/tokens-wireframe-dark.css +2 -0
- package/dist/styles/tokens-wireframe-light.css +2 -0
- package/dist/styles/wireframe-dark.css +1069 -1043
- package/dist/styles/wireframe-light.css +1069 -1043
- package/dist/types/components/Table/Table.d.ts +7 -0
- package/dist/types/components/Table/Table.d.ts.map +1 -1
- package/package.json +1 -1
- package/tokens/t4-components/table.json +13 -0
|
@@ -2220,6 +2220,8 @@ body {
|
|
|
2220
2220
|
--table-cell-padding-y-md: 0.75rem;
|
|
2221
2221
|
--table-cell-padding-y-lg: 1rem;
|
|
2222
2222
|
--table-row-selected-background: #edf2fe;
|
|
2223
|
+
--table-row-tone-warning-background: #fefbe9;
|
|
2224
|
+
--table-row-tone-warning-border: #ffee9c;
|
|
2223
2225
|
--table-pagination-padding: 0.75rem;
|
|
2224
2226
|
--table-pagination-gap: 1rem;
|
|
2225
2227
|
--table-pagination-background: #eae7ec;
|
|
@@ -4384,6 +4386,18 @@ body {
|
|
|
4384
4386
|
background-color: var(--color-surface-hover);
|
|
4385
4387
|
}
|
|
4386
4388
|
|
|
4389
|
+
/* Tone (MUK-102): a light warning tint. Hover lays its overlay on the tint
|
|
4390
|
+
instead of replacing it. */
|
|
4391
|
+
.muka-table__body .muka-table__row--warning {
|
|
4392
|
+
background-color: var(--table-row-tone-warning-background);
|
|
4393
|
+
border-bottom-color: var(--table-row-tone-warning-border);
|
|
4394
|
+
}
|
|
4395
|
+
|
|
4396
|
+
.muka-table__body .muka-table__row--warning:hover {
|
|
4397
|
+
background-color: var(--table-row-tone-warning-background);
|
|
4398
|
+
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
4399
|
+
}
|
|
4400
|
+
|
|
4387
4401
|
.muka-table__body .muka-table__row--selected {
|
|
4388
4402
|
background-color: var(--table-row-selected-background, var(--color-action-default));
|
|
4389
4403
|
}
|
|
@@ -4574,6 +4588,18 @@ body {
|
|
|
4574
4588
|
background-color: var(--color-surface-hover);
|
|
4575
4589
|
}
|
|
4576
4590
|
|
|
4591
|
+
/* Tone (MUK-102): a light warning tint. Hover lays its overlay on the tint
|
|
4592
|
+
instead of replacing it. */
|
|
4593
|
+
.muka-table__body .muka-table__row--warning {
|
|
4594
|
+
background-color: var(--table-row-tone-warning-background);
|
|
4595
|
+
border-bottom-color: var(--table-row-tone-warning-border);
|
|
4596
|
+
}
|
|
4597
|
+
|
|
4598
|
+
.muka-table__body .muka-table__row--warning:hover {
|
|
4599
|
+
background-color: var(--table-row-tone-warning-background);
|
|
4600
|
+
background-image: linear-gradient(var(--color-surface-hover), var(--color-surface-hover));
|
|
4601
|
+
}
|
|
4602
|
+
|
|
4577
4603
|
.muka-table__body .muka-table__row--selected {
|
|
4578
4604
|
background-color: var(--table-row-selected-background, var(--color-action-default));
|
|
4579
4605
|
}
|
|
@@ -4789,6 +4815,84 @@ body {
|
|
|
4789
4815
|
}
|
|
4790
4816
|
|
|
4791
4817
|
|
|
4818
|
+
/* Spinner */
|
|
4819
|
+
/* Spinner Component Styles */
|
|
4820
|
+
|
|
4821
|
+
.muka-spinner {
|
|
4822
|
+
display: inline-flex;
|
|
4823
|
+
align-items: center;
|
|
4824
|
+
justify-content: center;
|
|
4825
|
+
color: var(--color-text-default-default);
|
|
4826
|
+
line-height: 0;
|
|
4827
|
+
}
|
|
4828
|
+
|
|
4829
|
+
.muka-spinner--subtle {
|
|
4830
|
+
color: var(--color-text-subtle-default);
|
|
4831
|
+
}
|
|
4832
|
+
|
|
4833
|
+
.muka-spinner--inverse {
|
|
4834
|
+
color: var(--color-text-default-inverse);
|
|
4835
|
+
}
|
|
4836
|
+
|
|
4837
|
+
.muka-spinner__circle {
|
|
4838
|
+
display: inline-block;
|
|
4839
|
+
border-radius: 50%;
|
|
4840
|
+
border-style: solid;
|
|
4841
|
+
border-color: currentColor;
|
|
4842
|
+
border-right-color: transparent;
|
|
4843
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4844
|
+
box-sizing: border-box;
|
|
4845
|
+
}
|
|
4846
|
+
|
|
4847
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4848
|
+
|
|
4849
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
4850
|
+
width: 16px;
|
|
4851
|
+
height: 16px;
|
|
4852
|
+
border-width: 2px;
|
|
4853
|
+
}
|
|
4854
|
+
|
|
4855
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
4856
|
+
width: 20px;
|
|
4857
|
+
height: 20px;
|
|
4858
|
+
border-width: 2px;
|
|
4859
|
+
}
|
|
4860
|
+
|
|
4861
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
4862
|
+
width: 24px;
|
|
4863
|
+
height: 24px;
|
|
4864
|
+
border-width: 3px;
|
|
4865
|
+
}
|
|
4866
|
+
|
|
4867
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4868
|
+
|
|
4869
|
+
.muka-spinner__sr-label {
|
|
4870
|
+
position: absolute;
|
|
4871
|
+
width: 1px;
|
|
4872
|
+
height: 1px;
|
|
4873
|
+
padding: 0;
|
|
4874
|
+
margin: -1px;
|
|
4875
|
+
overflow: hidden;
|
|
4876
|
+
clip: rect(0, 0, 0, 0);
|
|
4877
|
+
white-space: nowrap;
|
|
4878
|
+
border: 0;
|
|
4879
|
+
}
|
|
4880
|
+
|
|
4881
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4882
|
+
|
|
4883
|
+
@keyframes muka-spinner-rotate {
|
|
4884
|
+
to {
|
|
4885
|
+
transform: rotate(360deg);
|
|
4886
|
+
}
|
|
4887
|
+
}
|
|
4888
|
+
|
|
4889
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4890
|
+
.muka-spinner__circle {
|
|
4891
|
+
animation-duration: 2.5s;
|
|
4892
|
+
}
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
|
|
4792
4896
|
/* SpecList */
|
|
4793
4897
|
/* SpecList Component Styles */
|
|
4794
4898
|
|
|
@@ -4874,84 +4978,6 @@ body {
|
|
|
4874
4978
|
}
|
|
4875
4979
|
|
|
4876
4980
|
|
|
4877
|
-
/* Spinner */
|
|
4878
|
-
/* Spinner Component Styles */
|
|
4879
|
-
|
|
4880
|
-
.muka-spinner {
|
|
4881
|
-
display: inline-flex;
|
|
4882
|
-
align-items: center;
|
|
4883
|
-
justify-content: center;
|
|
4884
|
-
color: var(--color-text-default-default);
|
|
4885
|
-
line-height: 0;
|
|
4886
|
-
}
|
|
4887
|
-
|
|
4888
|
-
.muka-spinner--subtle {
|
|
4889
|
-
color: var(--color-text-subtle-default);
|
|
4890
|
-
}
|
|
4891
|
-
|
|
4892
|
-
.muka-spinner--inverse {
|
|
4893
|
-
color: var(--color-text-default-inverse);
|
|
4894
|
-
}
|
|
4895
|
-
|
|
4896
|
-
.muka-spinner__circle {
|
|
4897
|
-
display: inline-block;
|
|
4898
|
-
border-radius: 50%;
|
|
4899
|
-
border-style: solid;
|
|
4900
|
-
border-color: currentColor;
|
|
4901
|
-
border-right-color: transparent;
|
|
4902
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4903
|
-
box-sizing: border-box;
|
|
4904
|
-
}
|
|
4905
|
-
|
|
4906
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4907
|
-
|
|
4908
|
-
.muka-spinner--sm .muka-spinner__circle {
|
|
4909
|
-
width: 16px;
|
|
4910
|
-
height: 16px;
|
|
4911
|
-
border-width: 2px;
|
|
4912
|
-
}
|
|
4913
|
-
|
|
4914
|
-
.muka-spinner--md .muka-spinner__circle {
|
|
4915
|
-
width: 20px;
|
|
4916
|
-
height: 20px;
|
|
4917
|
-
border-width: 2px;
|
|
4918
|
-
}
|
|
4919
|
-
|
|
4920
|
-
.muka-spinner--lg .muka-spinner__circle {
|
|
4921
|
-
width: 24px;
|
|
4922
|
-
height: 24px;
|
|
4923
|
-
border-width: 3px;
|
|
4924
|
-
}
|
|
4925
|
-
|
|
4926
|
-
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4927
|
-
|
|
4928
|
-
.muka-spinner__sr-label {
|
|
4929
|
-
position: absolute;
|
|
4930
|
-
width: 1px;
|
|
4931
|
-
height: 1px;
|
|
4932
|
-
padding: 0;
|
|
4933
|
-
margin: -1px;
|
|
4934
|
-
overflow: hidden;
|
|
4935
|
-
clip: rect(0, 0, 0, 0);
|
|
4936
|
-
white-space: nowrap;
|
|
4937
|
-
border: 0;
|
|
4938
|
-
}
|
|
4939
|
-
|
|
4940
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4941
|
-
|
|
4942
|
-
@keyframes muka-spinner-rotate {
|
|
4943
|
-
to {
|
|
4944
|
-
transform: rotate(360deg);
|
|
4945
|
-
}
|
|
4946
|
-
}
|
|
4947
|
-
|
|
4948
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4949
|
-
.muka-spinner__circle {
|
|
4950
|
-
animation-duration: 2.5s;
|
|
4951
|
-
}
|
|
4952
|
-
}
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
4981
|
/* SocialSignInButton */
|
|
4956
4982
|
/*
|
|
4957
4983
|
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
@@ -5643,29 +5669,6 @@ body {
|
|
|
5643
5669
|
}
|
|
5644
5670
|
|
|
5645
5671
|
|
|
5646
|
-
/* Section */
|
|
5647
|
-
/* Section Component - Layout tokens (section.padding) */
|
|
5648
|
-
|
|
5649
|
-
.muka-section {
|
|
5650
|
-
box-sizing: border-box;
|
|
5651
|
-
}
|
|
5652
|
-
|
|
5653
|
-
.muka-section--padding-compact {
|
|
5654
|
-
padding-block: var(--section-padding-vertical-compact);
|
|
5655
|
-
padding-inline: var(--section-padding-horizontal-compact);
|
|
5656
|
-
}
|
|
5657
|
-
|
|
5658
|
-
.muka-section--padding-default {
|
|
5659
|
-
padding-block: var(--section-padding-vertical-default);
|
|
5660
|
-
padding-inline: var(--section-padding-horizontal-default);
|
|
5661
|
-
}
|
|
5662
|
-
|
|
5663
|
-
.muka-section--padding-spacious {
|
|
5664
|
-
padding-block: var(--section-padding-vertical-spacious);
|
|
5665
|
-
padding-inline: var(--section-padding-horizontal-spacious);
|
|
5666
|
-
}
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
5672
|
/* SegmentGroup */
|
|
5670
5673
|
/* SegmentGroup Component Styles - Using Muka Design Tokens */
|
|
5671
5674
|
|
|
@@ -5854,6 +5857,29 @@ body {
|
|
|
5854
5857
|
}
|
|
5855
5858
|
|
|
5856
5859
|
|
|
5860
|
+
/* Section */
|
|
5861
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
5862
|
+
|
|
5863
|
+
.muka-section {
|
|
5864
|
+
box-sizing: border-box;
|
|
5865
|
+
}
|
|
5866
|
+
|
|
5867
|
+
.muka-section--padding-compact {
|
|
5868
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
5869
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
5870
|
+
}
|
|
5871
|
+
|
|
5872
|
+
.muka-section--padding-default {
|
|
5873
|
+
padding-block: var(--section-padding-vertical-default);
|
|
5874
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
5875
|
+
}
|
|
5876
|
+
|
|
5877
|
+
.muka-section--padding-spacious {
|
|
5878
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
5879
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
5880
|
+
}
|
|
5881
|
+
|
|
5882
|
+
|
|
5857
5883
|
/* SearchInput */
|
|
5858
5884
|
/* SearchInput Component Styles */
|
|
5859
5885
|
|
|
@@ -6200,42 +6226,258 @@ body {
|
|
|
6200
6226
|
}
|
|
6201
6227
|
|
|
6202
6228
|
|
|
6203
|
-
/*
|
|
6204
|
-
/*
|
|
6229
|
+
/* RangeSlider */
|
|
6230
|
+
/* RangeSlider Component Styles - Using Muka Design Tokens */
|
|
6205
6231
|
|
|
6206
|
-
|
|
6207
|
-
.muka-radio-tile {
|
|
6232
|
+
.muka-range-slider {
|
|
6208
6233
|
display: flex;
|
|
6209
|
-
|
|
6210
|
-
gap: var(--spacing-
|
|
6211
|
-
|
|
6212
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6213
|
-
border-radius: var(--input-field-radius-lg);
|
|
6214
|
-
background-color: var(--color-surface-level3);
|
|
6215
|
-
cursor: pointer;
|
|
6216
|
-
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
6217
|
-
overflow: hidden;
|
|
6218
|
-
box-sizing: border-box;
|
|
6234
|
+
flex-direction: column;
|
|
6235
|
+
gap: var(--spacing-1);
|
|
6236
|
+
width: 100%;
|
|
6219
6237
|
}
|
|
6220
6238
|
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
}
|
|
6239
|
+
/* ========================================
|
|
6240
|
+
HEADER: label group (label + info + optional) and value readout
|
|
6241
|
+
======================================== */
|
|
6225
6242
|
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6243
|
+
.muka-range-slider__header {
|
|
6244
|
+
display: flex;
|
|
6245
|
+
align-items: center;
|
|
6246
|
+
justify-content: space-between;
|
|
6247
|
+
gap: var(--spacing-2);
|
|
6248
|
+
min-height: 24px;
|
|
6230
6249
|
}
|
|
6231
6250
|
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
flex-direction: column;
|
|
6251
|
+
.muka-range-slider__label-group {
|
|
6252
|
+
display: inline-flex;
|
|
6235
6253
|
align-items: center;
|
|
6236
6254
|
gap: var(--spacing-2);
|
|
6237
|
-
|
|
6238
|
-
|
|
6255
|
+
}
|
|
6256
|
+
|
|
6257
|
+
.muka-range-slider__label {
|
|
6258
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6259
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6260
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
6261
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6262
|
+
color: var(--color-text-default-default);
|
|
6263
|
+
}
|
|
6264
|
+
|
|
6265
|
+
.muka-range-slider__info {
|
|
6266
|
+
color: var(--color-text-subtle-default);
|
|
6267
|
+
}
|
|
6268
|
+
|
|
6269
|
+
.muka-range-slider__optional {
|
|
6270
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6271
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6272
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6273
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6274
|
+
color: var(--color-text-subtle-default);
|
|
6275
|
+
}
|
|
6276
|
+
|
|
6277
|
+
.muka-range-slider__value {
|
|
6278
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
6279
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6280
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
6281
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
6282
|
+
color: var(--color-text-default-default);
|
|
6283
|
+
font-variant-numeric: tabular-nums;
|
|
6284
|
+
}
|
|
6285
|
+
|
|
6286
|
+
.muka-range-slider__helper {
|
|
6287
|
+
margin: 0;
|
|
6288
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
6289
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
6290
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
6291
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
6292
|
+
color: var(--color-text-subtle-default);
|
|
6293
|
+
}
|
|
6294
|
+
|
|
6295
|
+
/* ========================================
|
|
6296
|
+
TRACK + THUMB
|
|
6297
|
+
Native range input, restyled. A thick sunken track holds an accent fill up to
|
|
6298
|
+
the current value, with a circular grip handle. The filled portion is driven
|
|
6299
|
+
by the inline --muka-range-fill custom property (set from the component value).
|
|
6300
|
+
======================================== */
|
|
6301
|
+
|
|
6302
|
+
/* Size variants: track height, thumb diameter and grip geometry */
|
|
6303
|
+
.muka-range-slider--sm {
|
|
6304
|
+
--muka-range-track-h: 12px;
|
|
6305
|
+
--muka-range-thumb: 24px;
|
|
6306
|
+
--muka-range-grip-h: 9px;
|
|
6307
|
+
}
|
|
6308
|
+
.muka-range-slider--md {
|
|
6309
|
+
--muka-range-track-h: 16px;
|
|
6310
|
+
--muka-range-thumb: 32px;
|
|
6311
|
+
--muka-range-grip-h: 12px;
|
|
6312
|
+
}
|
|
6313
|
+
.muka-range-slider--lg {
|
|
6314
|
+
--muka-range-track-h: 20px;
|
|
6315
|
+
--muka-range-thumb: 40px;
|
|
6316
|
+
--muka-range-grip-h: 15px;
|
|
6317
|
+
}
|
|
6318
|
+
|
|
6319
|
+
.muka-range-slider__bar {
|
|
6320
|
+
/* Reserve the full thumb height so the handle never clips the layout. */
|
|
6321
|
+
display: flex;
|
|
6322
|
+
align-items: center;
|
|
6323
|
+
height: var(--muka-range-thumb);
|
|
6324
|
+
}
|
|
6325
|
+
|
|
6326
|
+
.muka-range-slider__input {
|
|
6327
|
+
-webkit-appearance: none;
|
|
6328
|
+
appearance: none;
|
|
6329
|
+
width: 100%;
|
|
6330
|
+
height: var(--muka-range-thumb);
|
|
6331
|
+
margin: 0;
|
|
6332
|
+
background: transparent;
|
|
6333
|
+
cursor: pointer;
|
|
6334
|
+
|
|
6335
|
+
/* Grip handle fill + two vertical grip bars, all theme-aware. */
|
|
6336
|
+
--muka-range-grip-color: var(--color-text-subtle-default);
|
|
6337
|
+
--muka-range-grip-w: 2px;
|
|
6338
|
+
--muka-range-grip-gap: 3px;
|
|
6339
|
+
|
|
6340
|
+
/* The track fill: action colour up to the value, sunken surface beyond it. */
|
|
6341
|
+
--muka-range-track-fill: linear-gradient(
|
|
6342
|
+
to right,
|
|
6343
|
+
var(--color-action-default) 0,
|
|
6344
|
+
var(--color-action-default) var(--muka-range-fill, 0%),
|
|
6345
|
+
var(--color-surface-sunken) var(--muka-range-fill, 0%),
|
|
6346
|
+
var(--color-surface-sunken) 100%
|
|
6347
|
+
);
|
|
6348
|
+
}
|
|
6349
|
+
|
|
6350
|
+
.muka-range-slider__input:focus {
|
|
6351
|
+
outline: none;
|
|
6352
|
+
}
|
|
6353
|
+
|
|
6354
|
+
/* WebKit / Blink track */
|
|
6355
|
+
.muka-range-slider__input::-webkit-slider-runnable-track {
|
|
6356
|
+
height: var(--muka-range-track-h);
|
|
6357
|
+
border-radius: var(--border-radius-full);
|
|
6358
|
+
background-image: var(--muka-range-track-fill);
|
|
6359
|
+
border: 1px solid var(--color-border-contrast);
|
|
6360
|
+
box-shadow: var(--shadow-sunken);
|
|
6361
|
+
}
|
|
6362
|
+
|
|
6363
|
+
/* Firefox track + progress */
|
|
6364
|
+
.muka-range-slider__input::-moz-range-track {
|
|
6365
|
+
height: var(--muka-range-track-h);
|
|
6366
|
+
border-radius: var(--border-radius-full);
|
|
6367
|
+
background: var(--color-surface-sunken);
|
|
6368
|
+
border: 1px solid var(--color-border-contrast);
|
|
6369
|
+
box-shadow: var(--shadow-sunken);
|
|
6370
|
+
}
|
|
6371
|
+
.muka-range-slider__input::-moz-range-progress {
|
|
6372
|
+
height: var(--muka-range-track-h);
|
|
6373
|
+
border-radius: var(--border-radius-full);
|
|
6374
|
+
background: var(--color-action-default);
|
|
6375
|
+
}
|
|
6376
|
+
|
|
6377
|
+
/* WebKit / Blink thumb (vertically centred over the track) */
|
|
6378
|
+
.muka-range-slider__input::-webkit-slider-thumb {
|
|
6379
|
+
-webkit-appearance: none;
|
|
6380
|
+
appearance: none;
|
|
6381
|
+
width: var(--muka-range-thumb);
|
|
6382
|
+
height: var(--muka-range-thumb);
|
|
6383
|
+
margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
|
|
6384
|
+
border-radius: var(--border-radius-full);
|
|
6385
|
+
border: 1px solid var(--color-border-contrast);
|
|
6386
|
+
box-shadow: var(--shadow-level2);
|
|
6387
|
+
background-color: var(--color-surface-level1);
|
|
6388
|
+
background-image:
|
|
6389
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6390
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6391
|
+
background-repeat: no-repeat;
|
|
6392
|
+
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6393
|
+
background-position:
|
|
6394
|
+
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6395
|
+
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6396
|
+
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6397
|
+
}
|
|
6398
|
+
|
|
6399
|
+
/* Firefox thumb */
|
|
6400
|
+
.muka-range-slider__input::-moz-range-thumb {
|
|
6401
|
+
width: var(--muka-range-thumb);
|
|
6402
|
+
height: var(--muka-range-thumb);
|
|
6403
|
+
border-radius: var(--border-radius-full);
|
|
6404
|
+
border: 1px solid var(--color-border-contrast);
|
|
6405
|
+
box-shadow: var(--shadow-level2);
|
|
6406
|
+
background-color: var(--color-surface-level1);
|
|
6407
|
+
background-image:
|
|
6408
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6409
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6410
|
+
background-repeat: no-repeat;
|
|
6411
|
+
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6412
|
+
background-position:
|
|
6413
|
+
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6414
|
+
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6415
|
+
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6416
|
+
}
|
|
6417
|
+
|
|
6418
|
+
/* Hover */
|
|
6419
|
+
.muka-range-slider__input:hover::-webkit-slider-thumb {
|
|
6420
|
+
background-color: var(--color-surface-level1);
|
|
6421
|
+
box-shadow: var(--shadow-level3);
|
|
6422
|
+
}
|
|
6423
|
+
.muka-range-slider__input:hover::-moz-range-thumb {
|
|
6424
|
+
background-color: var(--color-surface-level1);
|
|
6425
|
+
box-shadow: var(--shadow-level3);
|
|
6426
|
+
}
|
|
6427
|
+
|
|
6428
|
+
/* Focus ring */
|
|
6429
|
+
.muka-range-slider__input:focus-visible::-webkit-slider-thumb {
|
|
6430
|
+
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6431
|
+
}
|
|
6432
|
+
.muka-range-slider__input:focus-visible::-moz-range-thumb {
|
|
6433
|
+
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6434
|
+
}
|
|
6435
|
+
|
|
6436
|
+
/* Disabled */
|
|
6437
|
+
.muka-range-slider--disabled {
|
|
6438
|
+
opacity: 0.5;
|
|
6439
|
+
}
|
|
6440
|
+
.muka-range-slider--disabled .muka-range-slider__input {
|
|
6441
|
+
cursor: not-allowed;
|
|
6442
|
+
}
|
|
6443
|
+
|
|
6444
|
+
|
|
6445
|
+
/* RadioTile */
|
|
6446
|
+
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
6447
|
+
|
|
6448
|
+
/* Base tile styles - horizontal */
|
|
6449
|
+
.muka-radio-tile {
|
|
6450
|
+
display: flex;
|
|
6451
|
+
align-items: center;
|
|
6452
|
+
gap: var(--spacing-4);
|
|
6453
|
+
padding: var(--spacing-4);
|
|
6454
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
6455
|
+
border-radius: var(--input-field-radius-lg);
|
|
6456
|
+
background-color: var(--color-surface-level3);
|
|
6457
|
+
cursor: pointer;
|
|
6458
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
6459
|
+
overflow: hidden;
|
|
6460
|
+
box-sizing: border-box;
|
|
6461
|
+
}
|
|
6462
|
+
|
|
6463
|
+
.muka-radio-tile--disabled {
|
|
6464
|
+
cursor: not-allowed;
|
|
6465
|
+
opacity: 0.6;
|
|
6466
|
+
}
|
|
6467
|
+
|
|
6468
|
+
/* Selected state */
|
|
6469
|
+
.muka-radio-tile[data-checked] {
|
|
6470
|
+
border-width: var(--border-width-bold);
|
|
6471
|
+
border-color: var(--color-action-default);
|
|
6472
|
+
}
|
|
6473
|
+
|
|
6474
|
+
/* Vertical layout */
|
|
6475
|
+
.muka-radio-tile--vertical {
|
|
6476
|
+
flex-direction: column;
|
|
6477
|
+
align-items: center;
|
|
6478
|
+
gap: var(--spacing-2);
|
|
6479
|
+
position: relative;
|
|
6480
|
+
width: 160px;
|
|
6239
6481
|
}
|
|
6240
6482
|
|
|
6241
6483
|
/* Radio container */
|
|
@@ -6534,232 +6776,16 @@ body {
|
|
|
6534
6776
|
}
|
|
6535
6777
|
|
|
6536
6778
|
|
|
6537
|
-
/*
|
|
6538
|
-
/*
|
|
6779
|
+
/* ProgressTracker */
|
|
6780
|
+
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
6539
6781
|
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
flex-direction: column;
|
|
6543
|
-
gap: var(--spacing-1);
|
|
6782
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
6783
|
+
.muka-progress-tracker {
|
|
6544
6784
|
width: 100%;
|
|
6545
6785
|
}
|
|
6546
6786
|
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
======================================== */
|
|
6550
|
-
|
|
6551
|
-
.muka-range-slider__header {
|
|
6552
|
-
display: flex;
|
|
6553
|
-
align-items: center;
|
|
6554
|
-
justify-content: space-between;
|
|
6555
|
-
gap: var(--spacing-2);
|
|
6556
|
-
min-height: 24px;
|
|
6557
|
-
}
|
|
6558
|
-
|
|
6559
|
-
.muka-range-slider__label-group {
|
|
6560
|
-
display: inline-flex;
|
|
6561
|
-
align-items: center;
|
|
6562
|
-
gap: var(--spacing-2);
|
|
6563
|
-
}
|
|
6564
|
-
|
|
6565
|
-
.muka-range-slider__label {
|
|
6566
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
6567
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
6568
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
6569
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
6570
|
-
color: var(--color-text-default-default);
|
|
6571
|
-
}
|
|
6572
|
-
|
|
6573
|
-
.muka-range-slider__info {
|
|
6574
|
-
color: var(--color-text-subtle-default);
|
|
6575
|
-
}
|
|
6576
|
-
|
|
6577
|
-
.muka-range-slider__optional {
|
|
6578
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
6579
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
6580
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6581
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
6582
|
-
color: var(--color-text-subtle-default);
|
|
6583
|
-
}
|
|
6584
|
-
|
|
6585
|
-
.muka-range-slider__value {
|
|
6586
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
6587
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6588
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
6589
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
6590
|
-
color: var(--color-text-default-default);
|
|
6591
|
-
font-variant-numeric: tabular-nums;
|
|
6592
|
-
}
|
|
6593
|
-
|
|
6594
|
-
.muka-range-slider__helper {
|
|
6595
|
-
margin: 0;
|
|
6596
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
6597
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
6598
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
6599
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
6600
|
-
color: var(--color-text-subtle-default);
|
|
6601
|
-
}
|
|
6602
|
-
|
|
6603
|
-
/* ========================================
|
|
6604
|
-
TRACK + THUMB
|
|
6605
|
-
Native range input, restyled. A thick sunken track holds an accent fill up to
|
|
6606
|
-
the current value, with a circular grip handle. The filled portion is driven
|
|
6607
|
-
by the inline --muka-range-fill custom property (set from the component value).
|
|
6608
|
-
======================================== */
|
|
6609
|
-
|
|
6610
|
-
/* Size variants: track height, thumb diameter and grip geometry */
|
|
6611
|
-
.muka-range-slider--sm {
|
|
6612
|
-
--muka-range-track-h: 12px;
|
|
6613
|
-
--muka-range-thumb: 24px;
|
|
6614
|
-
--muka-range-grip-h: 9px;
|
|
6615
|
-
}
|
|
6616
|
-
.muka-range-slider--md {
|
|
6617
|
-
--muka-range-track-h: 16px;
|
|
6618
|
-
--muka-range-thumb: 32px;
|
|
6619
|
-
--muka-range-grip-h: 12px;
|
|
6620
|
-
}
|
|
6621
|
-
.muka-range-slider--lg {
|
|
6622
|
-
--muka-range-track-h: 20px;
|
|
6623
|
-
--muka-range-thumb: 40px;
|
|
6624
|
-
--muka-range-grip-h: 15px;
|
|
6625
|
-
}
|
|
6626
|
-
|
|
6627
|
-
.muka-range-slider__bar {
|
|
6628
|
-
/* Reserve the full thumb height so the handle never clips the layout. */
|
|
6629
|
-
display: flex;
|
|
6630
|
-
align-items: center;
|
|
6631
|
-
height: var(--muka-range-thumb);
|
|
6632
|
-
}
|
|
6633
|
-
|
|
6634
|
-
.muka-range-slider__input {
|
|
6635
|
-
-webkit-appearance: none;
|
|
6636
|
-
appearance: none;
|
|
6637
|
-
width: 100%;
|
|
6638
|
-
height: var(--muka-range-thumb);
|
|
6639
|
-
margin: 0;
|
|
6640
|
-
background: transparent;
|
|
6641
|
-
cursor: pointer;
|
|
6642
|
-
|
|
6643
|
-
/* Grip handle fill + two vertical grip bars, all theme-aware. */
|
|
6644
|
-
--muka-range-grip-color: var(--color-text-subtle-default);
|
|
6645
|
-
--muka-range-grip-w: 2px;
|
|
6646
|
-
--muka-range-grip-gap: 3px;
|
|
6647
|
-
|
|
6648
|
-
/* The track fill: action colour up to the value, sunken surface beyond it. */
|
|
6649
|
-
--muka-range-track-fill: linear-gradient(
|
|
6650
|
-
to right,
|
|
6651
|
-
var(--color-action-default) 0,
|
|
6652
|
-
var(--color-action-default) var(--muka-range-fill, 0%),
|
|
6653
|
-
var(--color-surface-sunken) var(--muka-range-fill, 0%),
|
|
6654
|
-
var(--color-surface-sunken) 100%
|
|
6655
|
-
);
|
|
6656
|
-
}
|
|
6657
|
-
|
|
6658
|
-
.muka-range-slider__input:focus {
|
|
6659
|
-
outline: none;
|
|
6660
|
-
}
|
|
6661
|
-
|
|
6662
|
-
/* WebKit / Blink track */
|
|
6663
|
-
.muka-range-slider__input::-webkit-slider-runnable-track {
|
|
6664
|
-
height: var(--muka-range-track-h);
|
|
6665
|
-
border-radius: var(--border-radius-full);
|
|
6666
|
-
background-image: var(--muka-range-track-fill);
|
|
6667
|
-
border: 1px solid var(--color-border-contrast);
|
|
6668
|
-
box-shadow: var(--shadow-sunken);
|
|
6669
|
-
}
|
|
6670
|
-
|
|
6671
|
-
/* Firefox track + progress */
|
|
6672
|
-
.muka-range-slider__input::-moz-range-track {
|
|
6673
|
-
height: var(--muka-range-track-h);
|
|
6674
|
-
border-radius: var(--border-radius-full);
|
|
6675
|
-
background: var(--color-surface-sunken);
|
|
6676
|
-
border: 1px solid var(--color-border-contrast);
|
|
6677
|
-
box-shadow: var(--shadow-sunken);
|
|
6678
|
-
}
|
|
6679
|
-
.muka-range-slider__input::-moz-range-progress {
|
|
6680
|
-
height: var(--muka-range-track-h);
|
|
6681
|
-
border-radius: var(--border-radius-full);
|
|
6682
|
-
background: var(--color-action-default);
|
|
6683
|
-
}
|
|
6684
|
-
|
|
6685
|
-
/* WebKit / Blink thumb (vertically centred over the track) */
|
|
6686
|
-
.muka-range-slider__input::-webkit-slider-thumb {
|
|
6687
|
-
-webkit-appearance: none;
|
|
6688
|
-
appearance: none;
|
|
6689
|
-
width: var(--muka-range-thumb);
|
|
6690
|
-
height: var(--muka-range-thumb);
|
|
6691
|
-
margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
|
|
6692
|
-
border-radius: var(--border-radius-full);
|
|
6693
|
-
border: 1px solid var(--color-border-contrast);
|
|
6694
|
-
box-shadow: var(--shadow-level2);
|
|
6695
|
-
background-color: var(--color-surface-level1);
|
|
6696
|
-
background-image:
|
|
6697
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6698
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6699
|
-
background-repeat: no-repeat;
|
|
6700
|
-
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6701
|
-
background-position:
|
|
6702
|
-
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6703
|
-
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6704
|
-
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6705
|
-
}
|
|
6706
|
-
|
|
6707
|
-
/* Firefox thumb */
|
|
6708
|
-
.muka-range-slider__input::-moz-range-thumb {
|
|
6709
|
-
width: var(--muka-range-thumb);
|
|
6710
|
-
height: var(--muka-range-thumb);
|
|
6711
|
-
border-radius: var(--border-radius-full);
|
|
6712
|
-
border: 1px solid var(--color-border-contrast);
|
|
6713
|
-
box-shadow: var(--shadow-level2);
|
|
6714
|
-
background-color: var(--color-surface-level1);
|
|
6715
|
-
background-image:
|
|
6716
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6717
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6718
|
-
background-repeat: no-repeat;
|
|
6719
|
-
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6720
|
-
background-position:
|
|
6721
|
-
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6722
|
-
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6723
|
-
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6724
|
-
}
|
|
6725
|
-
|
|
6726
|
-
/* Hover */
|
|
6727
|
-
.muka-range-slider__input:hover::-webkit-slider-thumb {
|
|
6728
|
-
background-color: var(--color-surface-level1);
|
|
6729
|
-
box-shadow: var(--shadow-level3);
|
|
6730
|
-
}
|
|
6731
|
-
.muka-range-slider__input:hover::-moz-range-thumb {
|
|
6732
|
-
background-color: var(--color-surface-level1);
|
|
6733
|
-
box-shadow: var(--shadow-level3);
|
|
6734
|
-
}
|
|
6735
|
-
|
|
6736
|
-
/* Focus ring */
|
|
6737
|
-
.muka-range-slider__input:focus-visible::-webkit-slider-thumb {
|
|
6738
|
-
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6739
|
-
}
|
|
6740
|
-
.muka-range-slider__input:focus-visible::-moz-range-thumb {
|
|
6741
|
-
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6742
|
-
}
|
|
6743
|
-
|
|
6744
|
-
/* Disabled */
|
|
6745
|
-
.muka-range-slider--disabled {
|
|
6746
|
-
opacity: 0.5;
|
|
6747
|
-
}
|
|
6748
|
-
.muka-range-slider--disabled .muka-range-slider__input {
|
|
6749
|
-
cursor: not-allowed;
|
|
6750
|
-
}
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
/* ProgressTracker */
|
|
6754
|
-
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
6755
|
-
|
|
6756
|
-
/* ─── Root ──────────────────────────────────────────────── */
|
|
6757
|
-
.muka-progress-tracker {
|
|
6758
|
-
width: 100%;
|
|
6759
|
-
}
|
|
6760
|
-
|
|
6761
|
-
.muka-progress-tracker--horizontal {
|
|
6762
|
-
padding-bottom: var(--spacing-7);
|
|
6787
|
+
.muka-progress-tracker--horizontal {
|
|
6788
|
+
padding-bottom: var(--spacing-7);
|
|
6763
6789
|
}
|
|
6764
6790
|
|
|
6765
6791
|
/* Scrollable: the root scrolls sideways when the steps don't fit. The inline
|
|
@@ -8825,49 +8851,235 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8825
8851
|
}
|
|
8826
8852
|
|
|
8827
8853
|
|
|
8828
|
-
/*
|
|
8829
|
-
/*
|
|
8854
|
+
/* MediaViewer */
|
|
8855
|
+
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
8830
8856
|
|
|
8831
|
-
/*
|
|
8832
|
-
.muka-
|
|
8833
|
-
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
8841
|
-
|
|
8842
|
-
/* Typography */
|
|
8843
|
-
font-family: var(--alias-font-brand-family);
|
|
8844
|
-
|
|
8845
|
-
/* Border and spacing */
|
|
8857
|
+
/* ─── Native dialog: full viewport ────────────────────── */
|
|
8858
|
+
.muka-media-viewer {
|
|
8859
|
+
position: fixed;
|
|
8860
|
+
inset: 0;
|
|
8861
|
+
width: 100%;
|
|
8862
|
+
height: 100%;
|
|
8863
|
+
max-width: none;
|
|
8864
|
+
max-height: none;
|
|
8865
|
+
margin: 0;
|
|
8866
|
+
padding: 0;
|
|
8846
8867
|
border: none;
|
|
8847
|
-
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8868
|
+
display: flex;
|
|
8869
|
+
flex-direction: column;
|
|
8870
|
+
overflow: hidden;
|
|
8871
|
+
overscroll-behavior: contain;
|
|
8872
|
+
color: var(--color-text-default-default);
|
|
8873
|
+
background-color: var(--color-black-alpha-12);
|
|
8874
|
+
animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
|
|
8851
8875
|
}
|
|
8852
8876
|
|
|
8853
|
-
|
|
8854
|
-
|
|
8855
|
-
cursor: pointer;
|
|
8877
|
+
.muka-media-viewer:not([open]) {
|
|
8878
|
+
display: none;
|
|
8856
8879
|
}
|
|
8857
8880
|
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
8861
|
-
* rather than replacing background-color. This preserves the base level (level3,
|
|
8862
|
-
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
8863
|
-
*/
|
|
8864
|
-
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
8865
|
-
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
8881
|
+
.muka-media-viewer::backdrop {
|
|
8882
|
+
background-color: var(--color-black-alpha-12);
|
|
8866
8883
|
}
|
|
8867
8884
|
|
|
8868
|
-
|
|
8869
|
-
|
|
8870
|
-
|
|
8885
|
+
@keyframes muka-media-viewer-in {
|
|
8886
|
+
from {
|
|
8887
|
+
opacity: 0;
|
|
8888
|
+
}
|
|
8889
|
+
to {
|
|
8890
|
+
opacity: 1;
|
|
8891
|
+
}
|
|
8892
|
+
}
|
|
8893
|
+
|
|
8894
|
+
/* ─── Chrome: TopBar and footer sit on a surface ──────── */
|
|
8895
|
+
.muka-media-viewer__topbar {
|
|
8896
|
+
flex-shrink: 0;
|
|
8897
|
+
background-color: var(--color-surface-level3);
|
|
8898
|
+
}
|
|
8899
|
+
|
|
8900
|
+
.muka-media-viewer__live {
|
|
8901
|
+
position: absolute;
|
|
8902
|
+
width: 1px;
|
|
8903
|
+
height: 1px;
|
|
8904
|
+
padding: 0;
|
|
8905
|
+
margin: -1px;
|
|
8906
|
+
overflow: hidden;
|
|
8907
|
+
clip: rect(0, 0, 0, 0);
|
|
8908
|
+
white-space: nowrap;
|
|
8909
|
+
border: 0;
|
|
8910
|
+
}
|
|
8911
|
+
|
|
8912
|
+
/* ─── Stage: the dark area the images slide across ────── */
|
|
8913
|
+
.muka-media-viewer__stage {
|
|
8914
|
+
position: relative;
|
|
8915
|
+
flex: 1 1 auto;
|
|
8916
|
+
min-height: 0;
|
|
8917
|
+
overflow: hidden;
|
|
8918
|
+
/* Gestures are handled in JS: no browser panning or pinch on the stage. */
|
|
8919
|
+
touch-action: none;
|
|
8920
|
+
user-select: none;
|
|
8921
|
+
-webkit-user-select: none;
|
|
8922
|
+
}
|
|
8923
|
+
|
|
8924
|
+
.muka-media-viewer__slide {
|
|
8925
|
+
position: absolute;
|
|
8926
|
+
inset: 0;
|
|
8927
|
+
display: flex;
|
|
8928
|
+
align-items: center;
|
|
8929
|
+
justify-content: center;
|
|
8930
|
+
padding: var(--spacing-4);
|
|
8931
|
+
transition: transform var(--motion-duration-component) var(--motion-easing-default);
|
|
8932
|
+
will-change: transform;
|
|
8933
|
+
}
|
|
8934
|
+
|
|
8935
|
+
/* While a finger drags, the image follows it without easing. */
|
|
8936
|
+
.muka-media-viewer--dragging .muka-media-viewer__slide {
|
|
8937
|
+
transition: none;
|
|
8938
|
+
}
|
|
8939
|
+
|
|
8940
|
+
.muka-media-viewer__image {
|
|
8941
|
+
display: block;
|
|
8942
|
+
max-width: 100%;
|
|
8943
|
+
max-height: 100%;
|
|
8944
|
+
object-fit: contain;
|
|
8945
|
+
/* The image takes touches, so a long press opens the OS menu (save, share,
|
|
8946
|
+
copy). The swipe still works: pointer events bubble to the stage, and a
|
|
8947
|
+
long press doesn't move far enough to start a drag. */
|
|
8948
|
+
-webkit-touch-callout: default;
|
|
8949
|
+
}
|
|
8950
|
+
|
|
8951
|
+
/* ─── Previous / next: devices that can hover ─────────── */
|
|
8952
|
+
.muka-media-viewer__nav {
|
|
8953
|
+
position: absolute;
|
|
8954
|
+
top: 50%;
|
|
8955
|
+
display: none;
|
|
8956
|
+
transform: translateY(-50%);
|
|
8957
|
+
opacity: 0;
|
|
8958
|
+
transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
|
|
8959
|
+
}
|
|
8960
|
+
|
|
8961
|
+
.muka-media-viewer__nav--previous {
|
|
8962
|
+
left: var(--spacing-4);
|
|
8963
|
+
}
|
|
8964
|
+
|
|
8965
|
+
.muka-media-viewer__nav--next {
|
|
8966
|
+
right: var(--spacing-4);
|
|
8967
|
+
}
|
|
8968
|
+
|
|
8969
|
+
@media (hover: hover) and (pointer: fine) {
|
|
8970
|
+
.muka-media-viewer__nav {
|
|
8971
|
+
display: block;
|
|
8972
|
+
}
|
|
8973
|
+
|
|
8974
|
+
.muka-media-viewer__stage:hover .muka-media-viewer__nav,
|
|
8975
|
+
.muka-media-viewer__nav:focus-within {
|
|
8976
|
+
opacity: 1;
|
|
8977
|
+
}
|
|
8978
|
+
}
|
|
8979
|
+
|
|
8980
|
+
/* ─── Footer: caption, meta and actions ───────────────── */
|
|
8981
|
+
.muka-media-viewer__footer {
|
|
8982
|
+
flex-shrink: 0;
|
|
8983
|
+
display: flex;
|
|
8984
|
+
flex-direction: column;
|
|
8985
|
+
gap: var(--spacing-3);
|
|
8986
|
+
padding: var(--spacing-4);
|
|
8987
|
+
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
8988
|
+
background-color: var(--color-surface-level3);
|
|
8989
|
+
}
|
|
8990
|
+
|
|
8991
|
+
.muka-media-viewer__details {
|
|
8992
|
+
display: flex;
|
|
8993
|
+
align-items: flex-start;
|
|
8994
|
+
justify-content: space-between;
|
|
8995
|
+
gap: var(--spacing-3);
|
|
8996
|
+
}
|
|
8997
|
+
|
|
8998
|
+
.muka-media-viewer__caption {
|
|
8999
|
+
min-width: 0;
|
|
9000
|
+
color: var(--color-text-subtle-default);
|
|
9001
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9002
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
9003
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9004
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9005
|
+
overflow-wrap: anywhere;
|
|
9006
|
+
}
|
|
9007
|
+
|
|
9008
|
+
.muka-media-viewer__meta {
|
|
9009
|
+
flex-shrink: 0;
|
|
9010
|
+
}
|
|
9011
|
+
|
|
9012
|
+
.muka-media-viewer__actions {
|
|
9013
|
+
display: flex;
|
|
9014
|
+
flex-wrap: wrap;
|
|
9015
|
+
gap: var(--spacing-2);
|
|
9016
|
+
}
|
|
9017
|
+
|
|
9018
|
+
/* Mobile: actions stack full width, like Dialog footers. */
|
|
9019
|
+
@media (max-width: 1023px) {
|
|
9020
|
+
.muka-media-viewer__actions {
|
|
9021
|
+
flex-direction: column;
|
|
9022
|
+
}
|
|
9023
|
+
|
|
9024
|
+
.muka-media-viewer__actions > * {
|
|
9025
|
+
width: 100%;
|
|
9026
|
+
}
|
|
9027
|
+
}
|
|
9028
|
+
|
|
9029
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
9030
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9031
|
+
.muka-media-viewer,
|
|
9032
|
+
.muka-media-viewer__slide,
|
|
9033
|
+
.muka-media-viewer__nav {
|
|
9034
|
+
animation: none;
|
|
9035
|
+
transition: none;
|
|
9036
|
+
}
|
|
9037
|
+
}
|
|
9038
|
+
|
|
9039
|
+
|
|
9040
|
+
/* ListItem */
|
|
9041
|
+
/* ListItem Component Styles - Using Muka Design Tokens */
|
|
9042
|
+
|
|
9043
|
+
/* Base list item styles */
|
|
9044
|
+
.muka-listitem {
|
|
9045
|
+
/* Layout */
|
|
9046
|
+
display: flex;
|
|
9047
|
+
align-items: flex-start;
|
|
9048
|
+
gap: var(--spacing-4);
|
|
9049
|
+
padding: var(--spacing-5) var(--spacing-4);
|
|
9050
|
+
|
|
9051
|
+
/* Background - using semantic tokens */
|
|
9052
|
+
background-color: var(--color-surface-level3);
|
|
9053
|
+
|
|
9054
|
+
/* Typography */
|
|
9055
|
+
font-family: var(--alias-font-brand-family);
|
|
9056
|
+
|
|
9057
|
+
/* Border and spacing */
|
|
9058
|
+
border: none;
|
|
9059
|
+
position: relative;
|
|
9060
|
+
|
|
9061
|
+
/* Interaction - only apply if interactive */
|
|
9062
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
9063
|
+
}
|
|
9064
|
+
|
|
9065
|
+
/* Interactive state */
|
|
9066
|
+
.muka-listitem--interactive {
|
|
9067
|
+
cursor: pointer;
|
|
9068
|
+
}
|
|
9069
|
+
|
|
9070
|
+
/*
|
|
9071
|
+
* surface.hover / surface.pressed are theme-adaptive translucent tints, so they
|
|
9072
|
+
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
9073
|
+
* rather than replacing background-color. This preserves the base level (level3,
|
|
9074
|
+
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
9075
|
+
*/
|
|
9076
|
+
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
9077
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
9078
|
+
}
|
|
9079
|
+
|
|
9080
|
+
.muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
|
|
9081
|
+
.muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
|
|
9082
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
|
|
8871
9083
|
}
|
|
8872
9084
|
|
|
8873
9085
|
/* Focus styles for accessibility */
|
|
@@ -9212,189 +9424,44 @@ li.muka-listitem {
|
|
|
9212
9424
|
}
|
|
9213
9425
|
|
|
9214
9426
|
|
|
9215
|
-
/*
|
|
9216
|
-
/*
|
|
9427
|
+
/* Label */
|
|
9428
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
9217
9429
|
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
inset: 0;
|
|
9222
|
-
width: 100%;
|
|
9223
|
-
height: 100%;
|
|
9224
|
-
max-width: none;
|
|
9225
|
-
max-height: none;
|
|
9226
|
-
margin: 0;
|
|
9227
|
-
padding: 0;
|
|
9228
|
-
border: none;
|
|
9229
|
-
display: flex;
|
|
9230
|
-
flex-direction: column;
|
|
9231
|
-
overflow: hidden;
|
|
9232
|
-
overscroll-behavior: contain;
|
|
9430
|
+
.muka-label {
|
|
9431
|
+
display: inline-flex;
|
|
9432
|
+
align-items: center;
|
|
9233
9433
|
color: var(--color-text-default-default);
|
|
9234
|
-
|
|
9235
|
-
animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
|
|
9434
|
+
cursor: pointer;
|
|
9236
9435
|
}
|
|
9237
9436
|
|
|
9238
|
-
.muka-
|
|
9239
|
-
|
|
9437
|
+
.muka-label--sm {
|
|
9438
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
9439
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
9440
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
9441
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
9240
9442
|
}
|
|
9241
9443
|
|
|
9242
|
-
.muka-
|
|
9243
|
-
|
|
9444
|
+
.muka-label--md {
|
|
9445
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
9446
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
9447
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
9448
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
9244
9449
|
}
|
|
9245
9450
|
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
|
|
9251
|
-
opacity: 1;
|
|
9252
|
-
}
|
|
9451
|
+
.muka-label--lg {
|
|
9452
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
9453
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
9454
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
9455
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
9253
9456
|
}
|
|
9254
9457
|
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
background-color: var(--color-surface-level3);
|
|
9458
|
+
.muka-label--disabled {
|
|
9459
|
+
color: var(--color-text-subtle-default);
|
|
9460
|
+
cursor: not-allowed;
|
|
9259
9461
|
}
|
|
9260
9462
|
|
|
9261
|
-
.muka-
|
|
9262
|
-
|
|
9263
|
-
width: 1px;
|
|
9264
|
-
height: 1px;
|
|
9265
|
-
padding: 0;
|
|
9266
|
-
margin: -1px;
|
|
9267
|
-
overflow: hidden;
|
|
9268
|
-
clip: rect(0, 0, 0, 0);
|
|
9269
|
-
white-space: nowrap;
|
|
9270
|
-
border: 0;
|
|
9271
|
-
}
|
|
9272
|
-
|
|
9273
|
-
/* ─── Stage: the dark area the images slide across ────── */
|
|
9274
|
-
.muka-media-viewer__stage {
|
|
9275
|
-
position: relative;
|
|
9276
|
-
flex: 1 1 auto;
|
|
9277
|
-
min-height: 0;
|
|
9278
|
-
overflow: hidden;
|
|
9279
|
-
/* Gestures are handled in JS: no browser panning or pinch on the stage. */
|
|
9280
|
-
touch-action: none;
|
|
9281
|
-
user-select: none;
|
|
9282
|
-
-webkit-user-select: none;
|
|
9283
|
-
}
|
|
9284
|
-
|
|
9285
|
-
.muka-media-viewer__slide {
|
|
9286
|
-
position: absolute;
|
|
9287
|
-
inset: 0;
|
|
9288
|
-
display: flex;
|
|
9289
|
-
align-items: center;
|
|
9290
|
-
justify-content: center;
|
|
9291
|
-
padding: var(--spacing-4);
|
|
9292
|
-
transition: transform var(--motion-duration-component) var(--motion-easing-default);
|
|
9293
|
-
will-change: transform;
|
|
9294
|
-
}
|
|
9295
|
-
|
|
9296
|
-
/* While a finger drags, the image follows it without easing. */
|
|
9297
|
-
.muka-media-viewer--dragging .muka-media-viewer__slide {
|
|
9298
|
-
transition: none;
|
|
9299
|
-
}
|
|
9300
|
-
|
|
9301
|
-
.muka-media-viewer__image {
|
|
9302
|
-
display: block;
|
|
9303
|
-
max-width: 100%;
|
|
9304
|
-
max-height: 100%;
|
|
9305
|
-
object-fit: contain;
|
|
9306
|
-
/* The image takes touches, so a long press opens the OS menu (save, share,
|
|
9307
|
-
copy). The swipe still works: pointer events bubble to the stage, and a
|
|
9308
|
-
long press doesn't move far enough to start a drag. */
|
|
9309
|
-
-webkit-touch-callout: default;
|
|
9310
|
-
}
|
|
9311
|
-
|
|
9312
|
-
/* ─── Previous / next: devices that can hover ─────────── */
|
|
9313
|
-
.muka-media-viewer__nav {
|
|
9314
|
-
position: absolute;
|
|
9315
|
-
top: 50%;
|
|
9316
|
-
display: none;
|
|
9317
|
-
transform: translateY(-50%);
|
|
9318
|
-
opacity: 0;
|
|
9319
|
-
transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
|
|
9320
|
-
}
|
|
9321
|
-
|
|
9322
|
-
.muka-media-viewer__nav--previous {
|
|
9323
|
-
left: var(--spacing-4);
|
|
9324
|
-
}
|
|
9325
|
-
|
|
9326
|
-
.muka-media-viewer__nav--next {
|
|
9327
|
-
right: var(--spacing-4);
|
|
9328
|
-
}
|
|
9329
|
-
|
|
9330
|
-
@media (hover: hover) and (pointer: fine) {
|
|
9331
|
-
.muka-media-viewer__nav {
|
|
9332
|
-
display: block;
|
|
9333
|
-
}
|
|
9334
|
-
|
|
9335
|
-
.muka-media-viewer__stage:hover .muka-media-viewer__nav,
|
|
9336
|
-
.muka-media-viewer__nav:focus-within {
|
|
9337
|
-
opacity: 1;
|
|
9338
|
-
}
|
|
9339
|
-
}
|
|
9340
|
-
|
|
9341
|
-
/* ─── Footer: caption, meta and actions ───────────────── */
|
|
9342
|
-
.muka-media-viewer__footer {
|
|
9343
|
-
flex-shrink: 0;
|
|
9344
|
-
display: flex;
|
|
9345
|
-
flex-direction: column;
|
|
9346
|
-
gap: var(--spacing-3);
|
|
9347
|
-
padding: var(--spacing-4);
|
|
9348
|
-
padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
|
|
9349
|
-
background-color: var(--color-surface-level3);
|
|
9350
|
-
}
|
|
9351
|
-
|
|
9352
|
-
.muka-media-viewer__details {
|
|
9353
|
-
display: flex;
|
|
9354
|
-
align-items: flex-start;
|
|
9355
|
-
justify-content: space-between;
|
|
9356
|
-
gap: var(--spacing-3);
|
|
9357
|
-
}
|
|
9358
|
-
|
|
9359
|
-
.muka-media-viewer__caption {
|
|
9360
|
-
min-width: 0;
|
|
9361
|
-
color: var(--color-text-subtle-default);
|
|
9362
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
9363
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
9364
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
9365
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
9366
|
-
overflow-wrap: anywhere;
|
|
9367
|
-
}
|
|
9368
|
-
|
|
9369
|
-
.muka-media-viewer__meta {
|
|
9370
|
-
flex-shrink: 0;
|
|
9371
|
-
}
|
|
9372
|
-
|
|
9373
|
-
.muka-media-viewer__actions {
|
|
9374
|
-
display: flex;
|
|
9375
|
-
flex-wrap: wrap;
|
|
9376
|
-
gap: var(--spacing-2);
|
|
9377
|
-
}
|
|
9378
|
-
|
|
9379
|
-
/* Mobile: actions stack full width, like Dialog footers. */
|
|
9380
|
-
@media (max-width: 1023px) {
|
|
9381
|
-
.muka-media-viewer__actions {
|
|
9382
|
-
flex-direction: column;
|
|
9383
|
-
}
|
|
9384
|
-
|
|
9385
|
-
.muka-media-viewer__actions > * {
|
|
9386
|
-
width: 100%;
|
|
9387
|
-
}
|
|
9388
|
-
}
|
|
9389
|
-
|
|
9390
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
9391
|
-
@media (prefers-reduced-motion: reduce) {
|
|
9392
|
-
.muka-media-viewer,
|
|
9393
|
-
.muka-media-viewer__slide,
|
|
9394
|
-
.muka-media-viewer__nav {
|
|
9395
|
-
animation: none;
|
|
9396
|
-
transition: none;
|
|
9397
|
-
}
|
|
9463
|
+
.muka-label__required {
|
|
9464
|
+
color: var(--color-state-error-default);
|
|
9398
9465
|
}
|
|
9399
9466
|
|
|
9400
9467
|
|
|
@@ -10334,93 +10401,302 @@ li.muka-listitem {
|
|
|
10334
10401
|
}
|
|
10335
10402
|
|
|
10336
10403
|
|
|
10337
|
-
/*
|
|
10338
|
-
/*
|
|
10404
|
+
/* EmojiPicker */
|
|
10405
|
+
/* EmojiPicker Component Styles */
|
|
10339
10406
|
|
|
10340
|
-
.muka-
|
|
10407
|
+
.muka-emoji-picker {
|
|
10408
|
+
display: grid;
|
|
10409
|
+
grid-template-columns: repeat(8, 1fr);
|
|
10410
|
+
gap: var(--spacing-1);
|
|
10411
|
+
padding: var(--spacing-2);
|
|
10412
|
+
max-height: 12rem;
|
|
10413
|
+
overflow-y: auto;
|
|
10414
|
+
background: var(--color-surface-level2);
|
|
10415
|
+
border: var(--border-width-regular, 1px) solid var(--color-border-default);
|
|
10416
|
+
border-radius: var(--radius-lg);
|
|
10417
|
+
box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
|
|
10418
|
+
}
|
|
10419
|
+
|
|
10420
|
+
.muka-emoji-picker__glyph {
|
|
10421
|
+
font-size: 1.25rem;
|
|
10422
|
+
line-height: 1;
|
|
10423
|
+
}
|
|
10424
|
+
|
|
10425
|
+
|
|
10426
|
+
/* DropdownSelect */
|
|
10427
|
+
/* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
|
|
10428
|
+
|
|
10429
|
+
.muka-dropdown-select {
|
|
10341
10430
|
display: inline-flex;
|
|
10342
|
-
|
|
10431
|
+
flex-direction: column;
|
|
10432
|
+
gap: var(--spacing-2);
|
|
10433
|
+
min-width: 200px;
|
|
10434
|
+
}
|
|
10435
|
+
|
|
10436
|
+
.muka-dropdown-select--full-width {
|
|
10437
|
+
width: 100%;
|
|
10438
|
+
}
|
|
10439
|
+
|
|
10440
|
+
.muka-dropdown-select__label {
|
|
10343
10441
|
color: var(--color-text-default-default);
|
|
10344
10442
|
cursor: pointer;
|
|
10345
10443
|
}
|
|
10346
10444
|
|
|
10347
|
-
.muka-
|
|
10445
|
+
.muka-dropdown-select__label--sm {
|
|
10348
10446
|
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10349
10447
|
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10350
10448
|
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10351
10449
|
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10352
10450
|
}
|
|
10353
10451
|
|
|
10354
|
-
.muka-
|
|
10452
|
+
.muka-dropdown-select__label--md {
|
|
10355
10453
|
font-family: var(--text-label-md-semibold-fontFamily);
|
|
10356
10454
|
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
10357
10455
|
font-size: var(--text-label-md-semibold-fontSize);
|
|
10358
10456
|
line-height: var(--text-label-md-semibold-lineHeight);
|
|
10359
10457
|
}
|
|
10360
10458
|
|
|
10361
|
-
.muka-
|
|
10459
|
+
.muka-dropdown-select__label--lg {
|
|
10362
10460
|
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
10363
10461
|
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
10364
10462
|
font-size: var(--text-label-lg-semibold-fontSize);
|
|
10365
10463
|
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
10366
10464
|
}
|
|
10367
10465
|
|
|
10368
|
-
.muka-
|
|
10369
|
-
color: var(--color-text-subtle-default);
|
|
10370
|
-
cursor: not-allowed;
|
|
10371
|
-
}
|
|
10372
|
-
|
|
10373
|
-
.muka-label__required {
|
|
10466
|
+
.muka-dropdown-select__required {
|
|
10374
10467
|
color: var(--color-state-error-default);
|
|
10375
10468
|
}
|
|
10376
10469
|
|
|
10377
|
-
|
|
10378
|
-
/* EmptyState */
|
|
10379
|
-
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
10380
|
-
|
|
10381
|
-
.muka-emptystate {
|
|
10470
|
+
.muka-dropdown-select__field {
|
|
10382
10471
|
display: flex;
|
|
10383
|
-
flex-direction: column;
|
|
10384
10472
|
align-items: center;
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
|
|
10388
|
-
|
|
10389
|
-
|
|
10390
|
-
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
align-items: flex-start;
|
|
10473
|
+
gap: var(--spacing-1);
|
|
10474
|
+
width: 100%;
|
|
10475
|
+
position: relative;
|
|
10476
|
+
box-sizing: border-box;
|
|
10477
|
+
background-color: var(--input-field-color-default-background);
|
|
10478
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
10479
|
+
border-radius: var(--input-field-radius-lg);
|
|
10480
|
+
padding: var(--spacing-2);
|
|
10481
|
+
padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem));
|
|
10395
10482
|
text-align: left;
|
|
10483
|
+
cursor: pointer;
|
|
10484
|
+
color: var(--color-text-default-default);
|
|
10485
|
+
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
10486
|
+
-webkit-tap-highlight-color: transparent;
|
|
10396
10487
|
}
|
|
10397
10488
|
|
|
10398
|
-
|
|
10399
|
-
|
|
10400
|
-
|
|
10489
|
+
.muka-dropdown-select__field::after {
|
|
10490
|
+
content: '';
|
|
10491
|
+
position: absolute;
|
|
10492
|
+
inset: 0;
|
|
10493
|
+
border-radius: inherit;
|
|
10494
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
10495
|
+
pointer-events: none;
|
|
10401
10496
|
}
|
|
10402
10497
|
|
|
10403
|
-
.muka-
|
|
10404
|
-
|
|
10498
|
+
.muka-dropdown-select__field--sm {
|
|
10499
|
+
min-height: var(--input-field-height-sm);
|
|
10500
|
+
border-radius: var(--input-field-radius-sm);
|
|
10501
|
+
padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem));
|
|
10405
10502
|
}
|
|
10406
10503
|
|
|
10407
|
-
.muka-
|
|
10408
|
-
|
|
10504
|
+
.muka-dropdown-select__field--md {
|
|
10505
|
+
min-height: var(--input-field-height-default);
|
|
10506
|
+
border-radius: var(--input-field-radius-md);
|
|
10409
10507
|
}
|
|
10410
10508
|
|
|
10411
|
-
|
|
10412
|
-
|
|
10413
|
-
|
|
10414
|
-
align-items: center;
|
|
10415
|
-
justify-content: center;
|
|
10416
|
-
color: var(--emptystate-icon-color);
|
|
10417
|
-
flex-shrink: 0;
|
|
10509
|
+
.muka-dropdown-select__field--lg {
|
|
10510
|
+
min-height: var(--input-field-height-lg);
|
|
10511
|
+
border-radius: var(--input-field-radius-lg);
|
|
10418
10512
|
}
|
|
10419
10513
|
|
|
10420
|
-
.muka-
|
|
10421
|
-
width: var(--
|
|
10422
|
-
|
|
10423
|
-
|
|
10514
|
+
.muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
|
|
10515
|
+
border-width: var(--border-width-bold);
|
|
10516
|
+
border-color: var(--input-field-color-focus-border);
|
|
10517
|
+
background-color: var(--input-field-color-focus-background);
|
|
10518
|
+
padding: calc(var(--spacing-2) - 1px);
|
|
10519
|
+
padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem) - 1px);
|
|
10520
|
+
}
|
|
10521
|
+
|
|
10522
|
+
.muka-dropdown-select__field--sm.muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
|
|
10523
|
+
padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem) - 1px);
|
|
10524
|
+
}
|
|
10525
|
+
|
|
10526
|
+
.muka-dropdown-select__field--error:not(.muka-dropdown-select__field--disabled) {
|
|
10527
|
+
border-color: var(--color-state-error-contrast);
|
|
10528
|
+
}
|
|
10529
|
+
|
|
10530
|
+
.muka-dropdown-select__field--disabled {
|
|
10531
|
+
opacity: 0.5;
|
|
10532
|
+
cursor: not-allowed;
|
|
10533
|
+
}
|
|
10534
|
+
|
|
10535
|
+
.muka-dropdown-select__content {
|
|
10536
|
+
position: relative;
|
|
10537
|
+
z-index: 1;
|
|
10538
|
+
display: flex;
|
|
10539
|
+
flex: 1 1 auto;
|
|
10540
|
+
min-width: 0;
|
|
10541
|
+
align-items: center;
|
|
10542
|
+
/* Let empty-field / value clicks reach the full-field MenuTrigger underneath. */
|
|
10543
|
+
pointer-events: none;
|
|
10544
|
+
}
|
|
10545
|
+
|
|
10546
|
+
.muka-dropdown-select__placeholder {
|
|
10547
|
+
color: var(--color-text-subtle-default);
|
|
10548
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
10549
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
10550
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
10551
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
10552
|
+
padding-inline: var(--spacing-1);
|
|
10553
|
+
}
|
|
10554
|
+
|
|
10555
|
+
.muka-dropdown-select__value {
|
|
10556
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
10557
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
10558
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
10559
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
10560
|
+
padding-inline: var(--spacing-1);
|
|
10561
|
+
white-space: nowrap;
|
|
10562
|
+
overflow: hidden;
|
|
10563
|
+
text-overflow: ellipsis;
|
|
10564
|
+
}
|
|
10565
|
+
|
|
10566
|
+
.muka-dropdown-select__chips {
|
|
10567
|
+
display: flex;
|
|
10568
|
+
flex: 1 1 auto;
|
|
10569
|
+
flex-wrap: wrap;
|
|
10570
|
+
gap: var(--spacing-2);
|
|
10571
|
+
align-items: flex-start;
|
|
10572
|
+
min-width: 0;
|
|
10573
|
+
/* Chip remove controls must remain clickable above the field hit target. */
|
|
10574
|
+
pointer-events: auto;
|
|
10575
|
+
}
|
|
10576
|
+
|
|
10577
|
+
.muka-dropdown-select__field--multiline {
|
|
10578
|
+
align-items: flex-start;
|
|
10579
|
+
min-height: 7rem;
|
|
10580
|
+
}
|
|
10581
|
+
|
|
10582
|
+
.muka-dropdown-select__menu-button {
|
|
10583
|
+
position: absolute;
|
|
10584
|
+
inset: 0;
|
|
10585
|
+
z-index: 0;
|
|
10586
|
+
display: inline-flex;
|
|
10587
|
+
align-items: center;
|
|
10588
|
+
justify-content: flex-end;
|
|
10589
|
+
width: auto;
|
|
10590
|
+
height: auto;
|
|
10591
|
+
padding: 0;
|
|
10592
|
+
padding-right: var(--spacing-2);
|
|
10593
|
+
border: none;
|
|
10594
|
+
border-radius: inherit;
|
|
10595
|
+
background: transparent;
|
|
10596
|
+
color: var(--color-text-subtle-default);
|
|
10597
|
+
cursor: pointer;
|
|
10598
|
+
}
|
|
10599
|
+
|
|
10600
|
+
.muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
|
|
10601
|
+
align-items: flex-start;
|
|
10602
|
+
padding-top: calc(var(--spacing-2) + 8px);
|
|
10603
|
+
}
|
|
10604
|
+
|
|
10605
|
+
.muka-dropdown-select__chevron {
|
|
10606
|
+
display: inline-flex;
|
|
10607
|
+
align-items: center;
|
|
10608
|
+
justify-content: center;
|
|
10609
|
+
width: var(--size-2xl, 2rem);
|
|
10610
|
+
height: var(--size-2xl, 2rem);
|
|
10611
|
+
pointer-events: none;
|
|
10612
|
+
color: var(--color-text-subtle-default);
|
|
10613
|
+
}
|
|
10614
|
+
|
|
10615
|
+
.muka-dropdown-select__chevron .muka-icon,
|
|
10616
|
+
.muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
|
|
10617
|
+
.muka-dropdown-select__menu-button:hover .muka-icon {
|
|
10618
|
+
color: var(--color-text-subtle-default);
|
|
10619
|
+
}
|
|
10620
|
+
|
|
10621
|
+
.muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
|
|
10622
|
+
width: var(--size-xl, 1.5rem);
|
|
10623
|
+
height: var(--size-xl, 1.5rem);
|
|
10624
|
+
}
|
|
10625
|
+
|
|
10626
|
+
.muka-dropdown-select__menu-button:focus-visible {
|
|
10627
|
+
outline: 2px solid var(--color-border-focus, var(--color-action-default));
|
|
10628
|
+
outline-offset: 2px;
|
|
10629
|
+
}
|
|
10630
|
+
|
|
10631
|
+
.muka-dropdown-select__helper {
|
|
10632
|
+
margin: 0;
|
|
10633
|
+
color: var(--color-text-subtle-default);
|
|
10634
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10635
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10636
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10637
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10638
|
+
}
|
|
10639
|
+
|
|
10640
|
+
.muka-dropdown-select__error {
|
|
10641
|
+
margin: 0;
|
|
10642
|
+
color: var(--color-state-error-default);
|
|
10643
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10644
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10645
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10646
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10647
|
+
}
|
|
10648
|
+
|
|
10649
|
+
.muka-dropdown-select__menu {
|
|
10650
|
+
/* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
|
|
10651
|
+
}
|
|
10652
|
+
|
|
10653
|
+
|
|
10654
|
+
/* EmptyState */
|
|
10655
|
+
/* EmptyState Component Styles - Using Muka Design Tokens */
|
|
10656
|
+
|
|
10657
|
+
.muka-emptystate {
|
|
10658
|
+
display: flex;
|
|
10659
|
+
flex-direction: column;
|
|
10660
|
+
align-items: center;
|
|
10661
|
+
justify-content: center;
|
|
10662
|
+
gap: var(--emptystate-container-gap);
|
|
10663
|
+
max-width: var(--emptystate-container-maxWidth);
|
|
10664
|
+
margin: 0 auto;
|
|
10665
|
+
text-align: center;
|
|
10666
|
+
}
|
|
10667
|
+
|
|
10668
|
+
/* Alignment variants */
|
|
10669
|
+
.muka-emptystate--left {
|
|
10670
|
+
align-items: flex-start;
|
|
10671
|
+
text-align: left;
|
|
10672
|
+
}
|
|
10673
|
+
|
|
10674
|
+
/* Size variants */
|
|
10675
|
+
.muka-emptystate--sm {
|
|
10676
|
+
padding: var(--emptystate-container-padding-sm);
|
|
10677
|
+
}
|
|
10678
|
+
|
|
10679
|
+
.muka-emptystate--md {
|
|
10680
|
+
padding: var(--emptystate-container-padding-md);
|
|
10681
|
+
}
|
|
10682
|
+
|
|
10683
|
+
.muka-emptystate--lg {
|
|
10684
|
+
padding: var(--emptystate-container-padding-lg);
|
|
10685
|
+
}
|
|
10686
|
+
|
|
10687
|
+
/* Visual (icon or illustration) */
|
|
10688
|
+
.muka-emptystate__visual {
|
|
10689
|
+
display: flex;
|
|
10690
|
+
align-items: center;
|
|
10691
|
+
justify-content: center;
|
|
10692
|
+
color: var(--emptystate-icon-color);
|
|
10693
|
+
flex-shrink: 0;
|
|
10694
|
+
}
|
|
10695
|
+
|
|
10696
|
+
.muka-emptystate--sm .muka-emptystate__visual {
|
|
10697
|
+
width: var(--emptystate-icon-size-sm);
|
|
10698
|
+
height: var(--emptystate-icon-size-sm);
|
|
10699
|
+
}
|
|
10424
10700
|
|
|
10425
10701
|
.muka-emptystate--md .muka-emptystate__visual {
|
|
10426
10702
|
width: var(--emptystate-icon-size-md);
|
|
@@ -10516,28 +10792,6 @@ li.muka-listitem {
|
|
|
10516
10792
|
}
|
|
10517
10793
|
|
|
10518
10794
|
|
|
10519
|
-
/* EmojiPicker */
|
|
10520
|
-
/* EmojiPicker Component Styles */
|
|
10521
|
-
|
|
10522
|
-
.muka-emoji-picker {
|
|
10523
|
-
display: grid;
|
|
10524
|
-
grid-template-columns: repeat(8, 1fr);
|
|
10525
|
-
gap: var(--spacing-1);
|
|
10526
|
-
padding: var(--spacing-2);
|
|
10527
|
-
max-height: 12rem;
|
|
10528
|
-
overflow-y: auto;
|
|
10529
|
-
background: var(--color-surface-level2);
|
|
10530
|
-
border: var(--border-width-regular, 1px) solid var(--color-border-default);
|
|
10531
|
-
border-radius: var(--radius-lg);
|
|
10532
|
-
box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
|
|
10533
|
-
}
|
|
10534
|
-
|
|
10535
|
-
.muka-emoji-picker__glyph {
|
|
10536
|
-
font-size: 1.25rem;
|
|
10537
|
-
line-height: 1;
|
|
10538
|
-
}
|
|
10539
|
-
|
|
10540
|
-
|
|
10541
10795
|
/* Drawer */
|
|
10542
10796
|
/* Drawer Component Styles */
|
|
10543
10797
|
|
|
@@ -12216,43 +12470,201 @@ li.muka-listitem {
|
|
|
12216
12470
|
}
|
|
12217
12471
|
|
|
12218
12472
|
|
|
12219
|
-
/*
|
|
12220
|
-
/*
|
|
12473
|
+
/* CheckboxTile */
|
|
12474
|
+
/* CheckboxTile Component Styles - Using Muka Design Tokens */
|
|
12221
12475
|
|
|
12222
|
-
|
|
12223
|
-
|
|
12476
|
+
/* Base tile styles - horizontal */
|
|
12477
|
+
.muka-checkbox-tile {
|
|
12478
|
+
display: flex;
|
|
12224
12479
|
align-items: center;
|
|
12225
|
-
|
|
12226
|
-
|
|
12227
|
-
|
|
12228
|
-
border: var(--
|
|
12480
|
+
gap: var(--spacing-4);
|
|
12481
|
+
padding: var(--spacing-4);
|
|
12482
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
12483
|
+
border-radius: var(--input-field-radius-lg);
|
|
12484
|
+
background-color: var(--color-surface-level3);
|
|
12485
|
+
cursor: pointer;
|
|
12486
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
12487
|
+
overflow: hidden;
|
|
12229
12488
|
box-sizing: border-box;
|
|
12230
12489
|
}
|
|
12231
12490
|
|
|
12232
|
-
|
|
12233
|
-
|
|
12234
|
-
|
|
12235
|
-
|
|
12236
|
-
|
|
12237
|
-
*/
|
|
12238
|
-
.muka-
|
|
12239
|
-
|
|
12240
|
-
|
|
12241
|
-
|
|
12242
|
-
|
|
12243
|
-
|
|
12244
|
-
|
|
12245
|
-
|
|
12246
|
-
|
|
12247
|
-
|
|
12248
|
-
|
|
12249
|
-
|
|
12250
|
-
|
|
12251
|
-
|
|
12252
|
-
|
|
12253
|
-
|
|
12254
|
-
|
|
12255
|
-
|
|
12491
|
+
.muka-checkbox-tile--disabled {
|
|
12492
|
+
cursor: not-allowed;
|
|
12493
|
+
opacity: 0.6;
|
|
12494
|
+
}
|
|
12495
|
+
|
|
12496
|
+
/* Selected state */
|
|
12497
|
+
.muka-checkbox-tile[data-checked] {
|
|
12498
|
+
border-width: var(--border-width-bold);
|
|
12499
|
+
border-color: var(--color-action-default);
|
|
12500
|
+
}
|
|
12501
|
+
|
|
12502
|
+
/* Vertical layout */
|
|
12503
|
+
.muka-checkbox-tile--vertical {
|
|
12504
|
+
flex-direction: column;
|
|
12505
|
+
align-items: center;
|
|
12506
|
+
gap: var(--spacing-2);
|
|
12507
|
+
position: relative;
|
|
12508
|
+
width: 160px;
|
|
12509
|
+
}
|
|
12510
|
+
|
|
12511
|
+
/* Checkbox container */
|
|
12512
|
+
.muka-checkbox-tile__checkbox {
|
|
12513
|
+
flex-shrink: 0;
|
|
12514
|
+
}
|
|
12515
|
+
|
|
12516
|
+
/* Corner-positioned checkbox for vertical */
|
|
12517
|
+
.muka-checkbox-tile__checkbox--corner {
|
|
12518
|
+
position: absolute;
|
|
12519
|
+
top: var(--spacing-4);
|
|
12520
|
+
left: var(--spacing-4);
|
|
12521
|
+
}
|
|
12522
|
+
|
|
12523
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
12524
|
+
.muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
|
|
12525
|
+
top: calc(var(--spacing-4) - 1px);
|
|
12526
|
+
left: calc(var(--spacing-4) - 1px);
|
|
12527
|
+
}
|
|
12528
|
+
|
|
12529
|
+
/* Icon */
|
|
12530
|
+
.muka-checkbox-tile__icon {
|
|
12531
|
+
display: flex;
|
|
12532
|
+
align-items: center;
|
|
12533
|
+
justify-content: center;
|
|
12534
|
+
flex-shrink: 0;
|
|
12535
|
+
width: var(--icon-size-default);
|
|
12536
|
+
height: var(--icon-size-default);
|
|
12537
|
+
color: var(--color-text-default-default);
|
|
12538
|
+
}
|
|
12539
|
+
|
|
12540
|
+
.muka-checkbox-tile__icon svg {
|
|
12541
|
+
width: 100%;
|
|
12542
|
+
height: 100%;
|
|
12543
|
+
}
|
|
12544
|
+
|
|
12545
|
+
/* Image */
|
|
12546
|
+
.muka-checkbox-tile__image {
|
|
12547
|
+
flex-shrink: 0;
|
|
12548
|
+
overflow: hidden;
|
|
12549
|
+
border-radius: var(--border-radius-sm);
|
|
12550
|
+
}
|
|
12551
|
+
|
|
12552
|
+
.muka-checkbox-tile__image img {
|
|
12553
|
+
display: block;
|
|
12554
|
+
width: 100%;
|
|
12555
|
+
height: 100%;
|
|
12556
|
+
object-fit: cover;
|
|
12557
|
+
}
|
|
12558
|
+
|
|
12559
|
+
/* Horizontal image sizing */
|
|
12560
|
+
.muka-checkbox-tile__image--horizontal {
|
|
12561
|
+
width: 40px;
|
|
12562
|
+
height: 40px;
|
|
12563
|
+
}
|
|
12564
|
+
|
|
12565
|
+
/* Vertical image sizing */
|
|
12566
|
+
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
12567
|
+
width: 100%;
|
|
12568
|
+
aspect-ratio: 4/3;
|
|
12569
|
+
}
|
|
12570
|
+
|
|
12571
|
+
/* Content container */
|
|
12572
|
+
.muka-checkbox-tile__content {
|
|
12573
|
+
display: flex;
|
|
12574
|
+
flex-direction: column;
|
|
12575
|
+
flex: 1;
|
|
12576
|
+
min-width: 0;
|
|
12577
|
+
gap: var(--spacing-2);
|
|
12578
|
+
}
|
|
12579
|
+
|
|
12580
|
+
.muka-checkbox-tile__content-inner {
|
|
12581
|
+
display: flex;
|
|
12582
|
+
flex-direction: column;
|
|
12583
|
+
gap: var(--spacing-1);
|
|
12584
|
+
}
|
|
12585
|
+
|
|
12586
|
+
/* Chip slot (replaces badge; use Chip component) */
|
|
12587
|
+
.muka-checkbox-tile__chip {
|
|
12588
|
+
flex-shrink: 0;
|
|
12589
|
+
}
|
|
12590
|
+
|
|
12591
|
+
.muka-checkbox-tile__chip--vertical {
|
|
12592
|
+
margin-top: var(--spacing-1);
|
|
12593
|
+
}
|
|
12594
|
+
|
|
12595
|
+
/* Label */
|
|
12596
|
+
.muka-checkbox-tile__label {
|
|
12597
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
12598
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
12599
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
12600
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
12601
|
+
color: var(--color-text-default-default);
|
|
12602
|
+
}
|
|
12603
|
+
|
|
12604
|
+
.muka-checkbox-tile__label--bold {
|
|
12605
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
12606
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
12607
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
12608
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
12609
|
+
}
|
|
12610
|
+
|
|
12611
|
+
.muka-checkbox-tile__label--center {
|
|
12612
|
+
text-align: center;
|
|
12613
|
+
}
|
|
12614
|
+
|
|
12615
|
+
/* Caption */
|
|
12616
|
+
.muka-checkbox-tile__caption {
|
|
12617
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
12618
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
12619
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
12620
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
12621
|
+
color: var(--color-text-subtle-default);
|
|
12622
|
+
}
|
|
12623
|
+
|
|
12624
|
+
/* Disabled states */
|
|
12625
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
12626
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
12627
|
+
color: var(--color-text-subtle-default);
|
|
12628
|
+
}
|
|
12629
|
+
|
|
12630
|
+
|
|
12631
|
+
/* Chip */
|
|
12632
|
+
/* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
|
|
12633
|
+
|
|
12634
|
+
.muka-chip {
|
|
12635
|
+
display: inline-flex;
|
|
12636
|
+
align-items: center;
|
|
12637
|
+
border-radius: var(--border-radius-full);
|
|
12638
|
+
white-space: nowrap;
|
|
12639
|
+
user-select: none;
|
|
12640
|
+
border: var(--border-width-regular) solid transparent;
|
|
12641
|
+
box-sizing: border-box;
|
|
12642
|
+
}
|
|
12643
|
+
|
|
12644
|
+
/*
|
|
12645
|
+
* Sizes — height, gap, type, and default (label-edge) horizontal padding.
|
|
12646
|
+
* Vertical centering is handled by the fixed height + align-items: center.
|
|
12647
|
+
* The side that carries an adornment (leading icon / dismiss button) gets a
|
|
12648
|
+
* tighter padding, applied via the --has-icon / --dismissible modifiers below.
|
|
12649
|
+
*/
|
|
12650
|
+
.muka-chip--sm {
|
|
12651
|
+
height: var(--chip-size-height-sm);
|
|
12652
|
+
gap: var(--chip-gap-sm);
|
|
12653
|
+
padding: 0 var(--chip-padding-label-sm);
|
|
12654
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12655
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12656
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
12657
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12658
|
+
}
|
|
12659
|
+
|
|
12660
|
+
.muka-chip--md {
|
|
12661
|
+
height: var(--chip-size-height-md);
|
|
12662
|
+
gap: var(--chip-gap-md);
|
|
12663
|
+
padding: 0 var(--chip-padding-label-md);
|
|
12664
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
12665
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
12666
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
12667
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
12256
12668
|
}
|
|
12257
12669
|
|
|
12258
12670
|
.muka-chip--lg {
|
|
@@ -12517,392 +12929,6 @@ li.muka-listitem {
|
|
|
12517
12929
|
}
|
|
12518
12930
|
|
|
12519
12931
|
|
|
12520
|
-
/* CheckboxTile */
|
|
12521
|
-
/* CheckboxTile Component Styles - Using Muka Design Tokens */
|
|
12522
|
-
|
|
12523
|
-
/* Base tile styles - horizontal */
|
|
12524
|
-
.muka-checkbox-tile {
|
|
12525
|
-
display: flex;
|
|
12526
|
-
align-items: center;
|
|
12527
|
-
gap: var(--spacing-4);
|
|
12528
|
-
padding: var(--spacing-4);
|
|
12529
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
12530
|
-
border-radius: var(--input-field-radius-lg);
|
|
12531
|
-
background-color: var(--color-surface-level3);
|
|
12532
|
-
cursor: pointer;
|
|
12533
|
-
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
12534
|
-
overflow: hidden;
|
|
12535
|
-
box-sizing: border-box;
|
|
12536
|
-
}
|
|
12537
|
-
|
|
12538
|
-
.muka-checkbox-tile--disabled {
|
|
12539
|
-
cursor: not-allowed;
|
|
12540
|
-
opacity: 0.6;
|
|
12541
|
-
}
|
|
12542
|
-
|
|
12543
|
-
/* Selected state */
|
|
12544
|
-
.muka-checkbox-tile[data-checked] {
|
|
12545
|
-
border-width: var(--border-width-bold);
|
|
12546
|
-
border-color: var(--color-action-default);
|
|
12547
|
-
}
|
|
12548
|
-
|
|
12549
|
-
/* Vertical layout */
|
|
12550
|
-
.muka-checkbox-tile--vertical {
|
|
12551
|
-
flex-direction: column;
|
|
12552
|
-
align-items: center;
|
|
12553
|
-
gap: var(--spacing-2);
|
|
12554
|
-
position: relative;
|
|
12555
|
-
width: 160px;
|
|
12556
|
-
}
|
|
12557
|
-
|
|
12558
|
-
/* Checkbox container */
|
|
12559
|
-
.muka-checkbox-tile__checkbox {
|
|
12560
|
-
flex-shrink: 0;
|
|
12561
|
-
}
|
|
12562
|
-
|
|
12563
|
-
/* Corner-positioned checkbox for vertical */
|
|
12564
|
-
.muka-checkbox-tile__checkbox--corner {
|
|
12565
|
-
position: absolute;
|
|
12566
|
-
top: var(--spacing-4);
|
|
12567
|
-
left: var(--spacing-4);
|
|
12568
|
-
}
|
|
12569
|
-
|
|
12570
|
-
/* Adjust corner position when selected (border is thicker) */
|
|
12571
|
-
.muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
|
|
12572
|
-
top: calc(var(--spacing-4) - 1px);
|
|
12573
|
-
left: calc(var(--spacing-4) - 1px);
|
|
12574
|
-
}
|
|
12575
|
-
|
|
12576
|
-
/* Icon */
|
|
12577
|
-
.muka-checkbox-tile__icon {
|
|
12578
|
-
display: flex;
|
|
12579
|
-
align-items: center;
|
|
12580
|
-
justify-content: center;
|
|
12581
|
-
flex-shrink: 0;
|
|
12582
|
-
width: var(--icon-size-default);
|
|
12583
|
-
height: var(--icon-size-default);
|
|
12584
|
-
color: var(--color-text-default-default);
|
|
12585
|
-
}
|
|
12586
|
-
|
|
12587
|
-
.muka-checkbox-tile__icon svg {
|
|
12588
|
-
width: 100%;
|
|
12589
|
-
height: 100%;
|
|
12590
|
-
}
|
|
12591
|
-
|
|
12592
|
-
/* Image */
|
|
12593
|
-
.muka-checkbox-tile__image {
|
|
12594
|
-
flex-shrink: 0;
|
|
12595
|
-
overflow: hidden;
|
|
12596
|
-
border-radius: var(--border-radius-sm);
|
|
12597
|
-
}
|
|
12598
|
-
|
|
12599
|
-
.muka-checkbox-tile__image img {
|
|
12600
|
-
display: block;
|
|
12601
|
-
width: 100%;
|
|
12602
|
-
height: 100%;
|
|
12603
|
-
object-fit: cover;
|
|
12604
|
-
}
|
|
12605
|
-
|
|
12606
|
-
/* Horizontal image sizing */
|
|
12607
|
-
.muka-checkbox-tile__image--horizontal {
|
|
12608
|
-
width: 40px;
|
|
12609
|
-
height: 40px;
|
|
12610
|
-
}
|
|
12611
|
-
|
|
12612
|
-
/* Vertical image sizing */
|
|
12613
|
-
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
12614
|
-
width: 100%;
|
|
12615
|
-
aspect-ratio: 4/3;
|
|
12616
|
-
}
|
|
12617
|
-
|
|
12618
|
-
/* Content container */
|
|
12619
|
-
.muka-checkbox-tile__content {
|
|
12620
|
-
display: flex;
|
|
12621
|
-
flex-direction: column;
|
|
12622
|
-
flex: 1;
|
|
12623
|
-
min-width: 0;
|
|
12624
|
-
gap: var(--spacing-2);
|
|
12625
|
-
}
|
|
12626
|
-
|
|
12627
|
-
.muka-checkbox-tile__content-inner {
|
|
12628
|
-
display: flex;
|
|
12629
|
-
flex-direction: column;
|
|
12630
|
-
gap: var(--spacing-1);
|
|
12631
|
-
}
|
|
12632
|
-
|
|
12633
|
-
/* Chip slot (replaces badge; use Chip component) */
|
|
12634
|
-
.muka-checkbox-tile__chip {
|
|
12635
|
-
flex-shrink: 0;
|
|
12636
|
-
}
|
|
12637
|
-
|
|
12638
|
-
.muka-checkbox-tile__chip--vertical {
|
|
12639
|
-
margin-top: var(--spacing-1);
|
|
12640
|
-
}
|
|
12641
|
-
|
|
12642
|
-
/* Label */
|
|
12643
|
-
.muka-checkbox-tile__label {
|
|
12644
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
12645
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
12646
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
12647
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
12648
|
-
color: var(--color-text-default-default);
|
|
12649
|
-
}
|
|
12650
|
-
|
|
12651
|
-
.muka-checkbox-tile__label--bold {
|
|
12652
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
12653
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
12654
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
12655
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
12656
|
-
}
|
|
12657
|
-
|
|
12658
|
-
.muka-checkbox-tile__label--center {
|
|
12659
|
-
text-align: center;
|
|
12660
|
-
}
|
|
12661
|
-
|
|
12662
|
-
/* Caption */
|
|
12663
|
-
.muka-checkbox-tile__caption {
|
|
12664
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
12665
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
12666
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
12667
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
12668
|
-
color: var(--color-text-subtle-default);
|
|
12669
|
-
}
|
|
12670
|
-
|
|
12671
|
-
/* Disabled states */
|
|
12672
|
-
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
12673
|
-
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
12674
|
-
color: var(--color-text-subtle-default);
|
|
12675
|
-
}
|
|
12676
|
-
|
|
12677
|
-
|
|
12678
|
-
/* DropdownSelect */
|
|
12679
|
-
/* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
|
|
12680
|
-
|
|
12681
|
-
.muka-dropdown-select {
|
|
12682
|
-
display: inline-flex;
|
|
12683
|
-
flex-direction: column;
|
|
12684
|
-
gap: var(--spacing-2);
|
|
12685
|
-
min-width: 200px;
|
|
12686
|
-
}
|
|
12687
|
-
|
|
12688
|
-
.muka-dropdown-select--full-width {
|
|
12689
|
-
width: 100%;
|
|
12690
|
-
}
|
|
12691
|
-
|
|
12692
|
-
.muka-dropdown-select__label {
|
|
12693
|
-
color: var(--color-text-default-default);
|
|
12694
|
-
cursor: pointer;
|
|
12695
|
-
}
|
|
12696
|
-
|
|
12697
|
-
.muka-dropdown-select__label--sm {
|
|
12698
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
12699
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
12700
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
12701
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
12702
|
-
}
|
|
12703
|
-
|
|
12704
|
-
.muka-dropdown-select__label--md {
|
|
12705
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
12706
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
12707
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
12708
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
12709
|
-
}
|
|
12710
|
-
|
|
12711
|
-
.muka-dropdown-select__label--lg {
|
|
12712
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
12713
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
12714
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
12715
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
12716
|
-
}
|
|
12717
|
-
|
|
12718
|
-
.muka-dropdown-select__required {
|
|
12719
|
-
color: var(--color-state-error-default);
|
|
12720
|
-
}
|
|
12721
|
-
|
|
12722
|
-
.muka-dropdown-select__field {
|
|
12723
|
-
display: flex;
|
|
12724
|
-
align-items: center;
|
|
12725
|
-
gap: var(--spacing-1);
|
|
12726
|
-
width: 100%;
|
|
12727
|
-
position: relative;
|
|
12728
|
-
box-sizing: border-box;
|
|
12729
|
-
background-color: var(--input-field-color-default-background);
|
|
12730
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
12731
|
-
border-radius: var(--input-field-radius-lg);
|
|
12732
|
-
padding: var(--spacing-2);
|
|
12733
|
-
padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem));
|
|
12734
|
-
text-align: left;
|
|
12735
|
-
cursor: pointer;
|
|
12736
|
-
color: var(--color-text-default-default);
|
|
12737
|
-
transition: border-color 0.12s ease, background-color 0.12s ease;
|
|
12738
|
-
-webkit-tap-highlight-color: transparent;
|
|
12739
|
-
}
|
|
12740
|
-
|
|
12741
|
-
.muka-dropdown-select__field::after {
|
|
12742
|
-
content: '';
|
|
12743
|
-
position: absolute;
|
|
12744
|
-
inset: 0;
|
|
12745
|
-
border-radius: inherit;
|
|
12746
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
12747
|
-
pointer-events: none;
|
|
12748
|
-
}
|
|
12749
|
-
|
|
12750
|
-
.muka-dropdown-select__field--sm {
|
|
12751
|
-
min-height: var(--input-field-height-sm);
|
|
12752
|
-
border-radius: var(--input-field-radius-sm);
|
|
12753
|
-
padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem));
|
|
12754
|
-
}
|
|
12755
|
-
|
|
12756
|
-
.muka-dropdown-select__field--md {
|
|
12757
|
-
min-height: var(--input-field-height-default);
|
|
12758
|
-
border-radius: var(--input-field-radius-md);
|
|
12759
|
-
}
|
|
12760
|
-
|
|
12761
|
-
.muka-dropdown-select__field--lg {
|
|
12762
|
-
min-height: var(--input-field-height-lg);
|
|
12763
|
-
border-radius: var(--input-field-radius-lg);
|
|
12764
|
-
}
|
|
12765
|
-
|
|
12766
|
-
.muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
|
|
12767
|
-
border-width: var(--border-width-bold);
|
|
12768
|
-
border-color: var(--input-field-color-focus-border);
|
|
12769
|
-
background-color: var(--input-field-color-focus-background);
|
|
12770
|
-
padding: calc(var(--spacing-2) - 1px);
|
|
12771
|
-
padding-right: calc(var(--spacing-2) + var(--size-2xl, 2rem) - 1px);
|
|
12772
|
-
}
|
|
12773
|
-
|
|
12774
|
-
.muka-dropdown-select__field--sm.muka-dropdown-select__field--focused:not(.muka-dropdown-select__field--disabled) {
|
|
12775
|
-
padding-right: calc(var(--spacing-2) + var(--size-xl, 1.5rem) - 1px);
|
|
12776
|
-
}
|
|
12777
|
-
|
|
12778
|
-
.muka-dropdown-select__field--error:not(.muka-dropdown-select__field--disabled) {
|
|
12779
|
-
border-color: var(--color-state-error-contrast);
|
|
12780
|
-
}
|
|
12781
|
-
|
|
12782
|
-
.muka-dropdown-select__field--disabled {
|
|
12783
|
-
opacity: 0.5;
|
|
12784
|
-
cursor: not-allowed;
|
|
12785
|
-
}
|
|
12786
|
-
|
|
12787
|
-
.muka-dropdown-select__content {
|
|
12788
|
-
position: relative;
|
|
12789
|
-
z-index: 1;
|
|
12790
|
-
display: flex;
|
|
12791
|
-
flex: 1 1 auto;
|
|
12792
|
-
min-width: 0;
|
|
12793
|
-
align-items: center;
|
|
12794
|
-
/* Let empty-field / value clicks reach the full-field MenuTrigger underneath. */
|
|
12795
|
-
pointer-events: none;
|
|
12796
|
-
}
|
|
12797
|
-
|
|
12798
|
-
.muka-dropdown-select__placeholder {
|
|
12799
|
-
color: var(--color-text-subtle-default);
|
|
12800
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
12801
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
12802
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
12803
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
12804
|
-
padding-inline: var(--spacing-1);
|
|
12805
|
-
}
|
|
12806
|
-
|
|
12807
|
-
.muka-dropdown-select__value {
|
|
12808
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
12809
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
12810
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
12811
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
12812
|
-
padding-inline: var(--spacing-1);
|
|
12813
|
-
white-space: nowrap;
|
|
12814
|
-
overflow: hidden;
|
|
12815
|
-
text-overflow: ellipsis;
|
|
12816
|
-
}
|
|
12817
|
-
|
|
12818
|
-
.muka-dropdown-select__chips {
|
|
12819
|
-
display: flex;
|
|
12820
|
-
flex: 1 1 auto;
|
|
12821
|
-
flex-wrap: wrap;
|
|
12822
|
-
gap: var(--spacing-2);
|
|
12823
|
-
align-items: flex-start;
|
|
12824
|
-
min-width: 0;
|
|
12825
|
-
/* Chip remove controls must remain clickable above the field hit target. */
|
|
12826
|
-
pointer-events: auto;
|
|
12827
|
-
}
|
|
12828
|
-
|
|
12829
|
-
.muka-dropdown-select__field--multiline {
|
|
12830
|
-
align-items: flex-start;
|
|
12831
|
-
min-height: 7rem;
|
|
12832
|
-
}
|
|
12833
|
-
|
|
12834
|
-
.muka-dropdown-select__menu-button {
|
|
12835
|
-
position: absolute;
|
|
12836
|
-
inset: 0;
|
|
12837
|
-
z-index: 0;
|
|
12838
|
-
display: inline-flex;
|
|
12839
|
-
align-items: center;
|
|
12840
|
-
justify-content: flex-end;
|
|
12841
|
-
width: auto;
|
|
12842
|
-
height: auto;
|
|
12843
|
-
padding: 0;
|
|
12844
|
-
padding-right: var(--spacing-2);
|
|
12845
|
-
border: none;
|
|
12846
|
-
border-radius: inherit;
|
|
12847
|
-
background: transparent;
|
|
12848
|
-
color: var(--color-text-subtle-default);
|
|
12849
|
-
cursor: pointer;
|
|
12850
|
-
}
|
|
12851
|
-
|
|
12852
|
-
.muka-dropdown-select__field--multiline .muka-dropdown-select__menu-button {
|
|
12853
|
-
align-items: flex-start;
|
|
12854
|
-
padding-top: calc(var(--spacing-2) + 8px);
|
|
12855
|
-
}
|
|
12856
|
-
|
|
12857
|
-
.muka-dropdown-select__chevron {
|
|
12858
|
-
display: inline-flex;
|
|
12859
|
-
align-items: center;
|
|
12860
|
-
justify-content: center;
|
|
12861
|
-
width: var(--size-2xl, 2rem);
|
|
12862
|
-
height: var(--size-2xl, 2rem);
|
|
12863
|
-
pointer-events: none;
|
|
12864
|
-
color: var(--color-text-subtle-default);
|
|
12865
|
-
}
|
|
12866
|
-
|
|
12867
|
-
.muka-dropdown-select__chevron .muka-icon,
|
|
12868
|
-
.muka-dropdown-select__menu-button:hover .muka-dropdown-select__chevron,
|
|
12869
|
-
.muka-dropdown-select__menu-button:hover .muka-icon {
|
|
12870
|
-
color: var(--color-text-subtle-default);
|
|
12871
|
-
}
|
|
12872
|
-
|
|
12873
|
-
.muka-dropdown-select__field--sm .muka-dropdown-select__chevron {
|
|
12874
|
-
width: var(--size-xl, 1.5rem);
|
|
12875
|
-
height: var(--size-xl, 1.5rem);
|
|
12876
|
-
}
|
|
12877
|
-
|
|
12878
|
-
.muka-dropdown-select__menu-button:focus-visible {
|
|
12879
|
-
outline: 2px solid var(--color-border-focus, var(--color-action-default));
|
|
12880
|
-
outline-offset: 2px;
|
|
12881
|
-
}
|
|
12882
|
-
|
|
12883
|
-
.muka-dropdown-select__helper {
|
|
12884
|
-
margin: 0;
|
|
12885
|
-
color: var(--color-text-subtle-default);
|
|
12886
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12887
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
12888
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12889
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12890
|
-
}
|
|
12891
|
-
|
|
12892
|
-
.muka-dropdown-select__error {
|
|
12893
|
-
margin: 0;
|
|
12894
|
-
color: var(--color-state-error-default);
|
|
12895
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12896
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
12897
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12898
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12899
|
-
}
|
|
12900
|
-
|
|
12901
|
-
.muka-dropdown-select__menu {
|
|
12902
|
-
/* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
|
|
12903
|
-
}
|
|
12904
|
-
|
|
12905
|
-
|
|
12906
12932
|
/* Checkbox */
|
|
12907
12933
|
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
12908
12934
|
|