@revikornmann/muka-ui 0.19.0 → 0.20.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/ActionSheet/ActionSheet.css +4 -4
- package/dist/cjs/components/BottomBar/BottomBar.css +0 -3
- package/dist/cjs/components/Breadcrumb/Breadcrumb.css +26 -2
- package/dist/cjs/components/Combobox/Combobox.css +2 -2
- package/dist/cjs/components/ContextSelect/ContextSelect.css +4 -4
- package/dist/cjs/components/DocumentViewer/DocumentViewer.css +2 -2
- package/dist/cjs/components/DropdownSelect/DropdownSelect.css +3 -3
- package/dist/cjs/components/EmptyState/EmptyState.css +8 -8
- package/dist/cjs/components/FAB/FAB.css +1 -1
- package/dist/cjs/components/FileUpload/FileUpload.css +10 -10
- package/dist/cjs/components/Icon/iconRegistry.js +9 -1
- package/dist/cjs/components/Icon/iconRegistry.js.map +1 -1
- package/dist/cjs/components/Input/Input.css +2 -2
- package/dist/cjs/components/Label/Label.css +1 -1
- package/dist/cjs/components/LicensePlateInput/LicensePlateInput.css +1 -1
- package/dist/cjs/components/Menu/Menu.css +1 -1
- package/dist/cjs/components/Pagination/Pagination.css +15 -15
- package/dist/cjs/components/PhotoUploader/PhotoUploader.css +4 -4
- package/dist/cjs/components/ProgressAccordeon/ProgressAccordeon.css +10 -6
- package/dist/cjs/components/ProgressAccordeon/ProgressAccordeon.js +27 -16
- package/dist/cjs/components/ProgressAccordeon/ProgressAccordeon.js.map +1 -1
- package/dist/cjs/components/SearchInput/SearchInput.css +4 -4
- package/dist/cjs/components/Select/Select.css +2 -2
- package/dist/cjs/components/SmsOtpField/SmsOtpField.css +2 -2
- package/dist/cjs/components/SpecList/SpecList.css +8 -8
- package/dist/cjs/components/Spinner/Spinner.css +1 -1
- package/dist/cjs/components/SwipeActions/SwipeActions.css +6 -6
- package/dist/cjs/components/Table/Table.css +3 -3
- package/dist/cjs/components/Table/TablePagination.css +1 -1
- package/dist/cjs/components/Tabs/Tabs.css +6 -6
- package/dist/cjs/components/Textarea/Textarea.css +2 -2
- package/dist/cjs/components/Waveform/Waveform.css +1 -1
- package/dist/esm/components/ActionSheet/ActionSheet.css +4 -4
- package/dist/esm/components/BottomBar/BottomBar.css +0 -3
- package/dist/esm/components/Breadcrumb/Breadcrumb.css +26 -2
- package/dist/esm/components/Combobox/Combobox.css +2 -2
- package/dist/esm/components/ContextSelect/ContextSelect.css +4 -4
- package/dist/esm/components/DocumentViewer/DocumentViewer.css +2 -2
- package/dist/esm/components/DropdownSelect/DropdownSelect.css +3 -3
- package/dist/esm/components/EmptyState/EmptyState.css +8 -8
- package/dist/esm/components/FAB/FAB.css +1 -1
- package/dist/esm/components/FileUpload/FileUpload.css +10 -10
- package/dist/esm/components/Icon/iconRegistry.js +9 -1
- package/dist/esm/components/Icon/iconRegistry.js.map +1 -1
- package/dist/esm/components/Input/Input.css +2 -2
- package/dist/esm/components/Label/Label.css +1 -1
- package/dist/esm/components/LicensePlateInput/LicensePlateInput.css +1 -1
- package/dist/esm/components/Menu/Menu.css +1 -1
- package/dist/esm/components/Pagination/Pagination.css +15 -15
- package/dist/esm/components/PhotoUploader/PhotoUploader.css +4 -4
- package/dist/esm/components/ProgressAccordeon/ProgressAccordeon.css +10 -6
- package/dist/esm/components/ProgressAccordeon/ProgressAccordeon.js +27 -16
- package/dist/esm/components/ProgressAccordeon/ProgressAccordeon.js.map +1 -1
- package/dist/esm/components/SearchInput/SearchInput.css +4 -4
- package/dist/esm/components/Select/Select.css +2 -2
- package/dist/esm/components/SmsOtpField/SmsOtpField.css +2 -2
- package/dist/esm/components/SpecList/SpecList.css +8 -8
- package/dist/esm/components/Spinner/Spinner.css +1 -1
- package/dist/esm/components/SwipeActions/SwipeActions.css +6 -6
- package/dist/esm/components/Table/Table.css +3 -3
- package/dist/esm/components/Table/TablePagination.css +1 -1
- package/dist/esm/components/Tabs/Tabs.css +6 -6
- package/dist/esm/components/Textarea/Textarea.css +2 -2
- package/dist/esm/components/Waveform/Waveform.css +1 -1
- package/dist/styles/components/ActionSheet.css +4 -4
- package/dist/styles/components/BottomBar.css +0 -3
- package/dist/styles/components/Breadcrumb.css +26 -2
- package/dist/styles/components/Combobox.css +2 -2
- package/dist/styles/components/ContextSelect.css +4 -4
- package/dist/styles/components/DocumentViewer.css +2 -2
- package/dist/styles/components/DropdownSelect.css +3 -3
- package/dist/styles/components/EmptyState.css +8 -8
- package/dist/styles/components/FAB.css +1 -1
- package/dist/styles/components/FileUpload.css +10 -10
- package/dist/styles/components/Input.css +2 -2
- package/dist/styles/components/Label.css +1 -1
- package/dist/styles/components/LicensePlateInput.css +1 -1
- package/dist/styles/components/Menu.css +1 -1
- package/dist/styles/components/Pagination.css +15 -15
- package/dist/styles/components/PhotoUploader.css +4 -4
- package/dist/styles/components/ProgressAccordeon.css +10 -6
- package/dist/styles/components/SearchInput.css +4 -4
- package/dist/styles/components/Select.css +2 -2
- package/dist/styles/components/SmsOtpField.css +2 -2
- package/dist/styles/components/SpecList.css +8 -8
- package/dist/styles/components/Spinner.css +1 -1
- package/dist/styles/components/SwipeActions.css +6 -6
- package/dist/styles/components/Table.css +3 -3
- package/dist/styles/components/Tabs.css +6 -6
- package/dist/styles/components/Textarea.css +2 -2
- package/dist/styles/components/Waveform.css +1 -1
- package/dist/styles/index.css +404 -379
- package/dist/styles/muka-dark.css +404 -379
- package/dist/styles/muka-light.css +404 -379
- package/dist/styles/wireframe-dark.css +404 -379
- package/dist/styles/wireframe-light.css +404 -379
- package/dist/types/components/Icon/iconRegistry.d.ts.map +1 -1
- package/dist/types/components/ProgressAccordeon/ProgressAccordeon.d.ts +17 -12
- package/dist/types/components/ProgressAccordeon/ProgressAccordeon.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
flex: 0 0 auto;
|
|
21
21
|
margin: 0;
|
|
22
22
|
color: var(--color-text-subtle-default);
|
|
23
|
-
font-family: var(--text-body-
|
|
24
|
-
font-weight: var(--text-body-
|
|
25
|
-
font-size: var(--text-body-
|
|
26
|
-
line-height: var(--text-body-
|
|
23
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
24
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
25
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
26
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
27
27
|
overflow: hidden;
|
|
28
28
|
text-overflow: ellipsis;
|
|
29
29
|
white-space: nowrap;
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.muka-spec-row__value-text {
|
|
44
|
-
font-family: var(--text-body-
|
|
45
|
-
font-weight: var(--text-body-
|
|
46
|
-
font-size: var(--text-body-
|
|
47
|
-
line-height: var(--text-body-
|
|
44
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
45
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
46
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
47
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.muka-spec-row__hint {
|
|
@@ -86,20 +86,20 @@
|
|
|
86
86
|
|
|
87
87
|
.muka-swipe-actions__button--primary {
|
|
88
88
|
background-color: var(--color-action-default);
|
|
89
|
-
color: var(--color-text-inverse
|
|
89
|
+
color: var(--color-text-default-inverse);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.muka-swipe-actions__button--success {
|
|
93
|
-
background-color: var(--color-state-success-default
|
|
94
|
-
color: var(--color-text-inverse
|
|
93
|
+
background-color: var(--color-state-success-default);
|
|
94
|
+
color: var(--color-text-default-inverse);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.muka-swipe-actions__button--warning {
|
|
98
|
-
background-color: var(--color-state-warning-default
|
|
98
|
+
background-color: var(--color-state-warning-default);
|
|
99
99
|
color: var(--color-text-default-default);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.muka-swipe-actions__button--destructive {
|
|
103
|
-
background-color: var(--color-state-error-default
|
|
104
|
-
color: var(--color-text-inverse
|
|
103
|
+
background-color: var(--color-state-error-default);
|
|
104
|
+
color: var(--color-text-default-inverse);
|
|
105
105
|
}
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
======================================== */
|
|
56
56
|
|
|
57
57
|
.muka-table__body .muka-table__row {
|
|
58
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-
|
|
58
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-muted);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.muka-table__body .muka-table__row:last-child {
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.muka-table__body .muka-table__row--selected {
|
|
70
|
-
background-color: var(--table-row-selected-background, var(--color-action-
|
|
70
|
+
background-color: var(--table-row-selected-background, var(--color-action-default));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.muka-table__body .muka-table__row--selected:hover {
|
|
74
|
-
background-color: var(--table-row-selected-background, var(--color-action-
|
|
74
|
+
background-color: var(--table-row-selected-background, var(--color-action-default));
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.muka-table__row--clickable {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
padding: var(--table-pagination-padding, var(--spacing-3));
|
|
14
14
|
background-color: var(--table-pagination-background, var(--color-surface-level1));
|
|
15
15
|
border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
|
|
16
|
-
font-family: var(--text-body-
|
|
16
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17
17
|
font-size: var(--text-body-sm-regular-fontSize);
|
|
18
18
|
line-height: var(--text-body-sm-regular-lineHeight);
|
|
19
19
|
color: var(--color-text-default-default);
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
align-items: center;
|
|
26
26
|
position: relative;
|
|
27
27
|
z-index: 2;
|
|
28
|
-
border-bottom: 1px solid var(--color-border
|
|
28
|
+
border-bottom: 1px solid var(--tabs-trigger-color-default-border);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/* Tab Trigger — clean underline style */
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
white-space: nowrap;
|
|
44
44
|
position: relative;
|
|
45
45
|
z-index: 2;
|
|
46
|
-
color: var(--
|
|
46
|
+
color: var(--tabs-trigger-color-default-foreground);
|
|
47
47
|
|
|
48
48
|
/* Default MD size values */
|
|
49
49
|
height: 48px;
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
|
|
76
76
|
/* Hover state */
|
|
77
77
|
.muka-tabs__trigger:hover:not(:disabled):not(.muka-tabs__trigger--current) {
|
|
78
|
-
color: var(--color-
|
|
78
|
+
color: var(--tabs-trigger-color-hover-foreground);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* Current tab */
|
|
82
82
|
.muka-tabs__trigger--current {
|
|
83
|
-
color: var(--color-
|
|
83
|
+
color: var(--tabs-trigger-color-current-foreground);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/* Active bottom border (underline) */
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
left: 0;
|
|
92
92
|
right: 0;
|
|
93
93
|
height: 3px;
|
|
94
|
-
background-color: var(--color-
|
|
94
|
+
background-color: var(--tabs-trigger-color-current-foreground);
|
|
95
95
|
border-bottom-left-radius: 1px;
|
|
96
96
|
border-bottom-right-radius: 1px;
|
|
97
97
|
border-top-left-radius: 3px;
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.muka-tabs__trigger--disabled {
|
|
103
|
-
color: var(--color-
|
|
103
|
+
color: var(--tabs-trigger-color-disabled-foreground);
|
|
104
104
|
cursor: not-allowed;
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.muka-textarea__required {
|
|
37
|
-
color: var(--color-state-error-
|
|
37
|
+
color: var(--color-state-error-default);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Field container */
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
148
148
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
149
149
|
line-height: var(--text-label-sm-regular-lineHeight);
|
|
150
|
-
color: var(--color-state-error-
|
|
150
|
+
color: var(--color-state-error-default);
|
|
151
151
|
margin: 0;
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
cursor: pointer;
|
|
57
57
|
text-align: left;
|
|
58
58
|
color: var(--color-text-default-default);
|
|
59
|
-
font-family: var(--text-body-
|
|
60
|
-
font-weight: var(--text-body-
|
|
61
|
-
font-size: var(--text-body-
|
|
62
|
-
line-height: var(--text-body-
|
|
59
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
60
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
61
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
62
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
63
63
|
-webkit-tap-highlight-color: transparent;
|
|
64
64
|
transition: background-color 0.12s ease;
|
|
65
65
|
}
|
|
@@ -141,7 +141,6 @@
|
|
|
141
141
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
142
142
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
143
143
|
line-height: var(--text-label-sm-regular-lineHeight);
|
|
144
|
-
letter-spacing: var(--text-label-sm-regular-letterSpacing);
|
|
145
144
|
}
|
|
146
145
|
|
|
147
146
|
/* ─── Floating modifier ───────────────────────────────── */
|
|
@@ -227,7 +226,6 @@
|
|
|
227
226
|
font-weight: var(--text-label-md-regular-fontWeight);
|
|
228
227
|
font-size: var(--text-label-md-regular-fontSize);
|
|
229
228
|
line-height: var(--text-label-md-regular-lineHeight);
|
|
230
|
-
letter-spacing: var(--text-label-md-regular-letterSpacing);
|
|
231
229
|
}
|
|
232
230
|
|
|
233
231
|
/* When floating and sidebar, remove the floating card styles */
|
|
@@ -292,7 +290,6 @@
|
|
|
292
290
|
font-weight: var(--text-label-md-regular-fontWeight);
|
|
293
291
|
font-size: var(--text-label-md-regular-fontSize);
|
|
294
292
|
line-height: var(--text-label-md-regular-lineHeight);
|
|
295
|
-
letter-spacing: var(--text-label-md-regular-letterSpacing);
|
|
296
293
|
}
|
|
297
294
|
|
|
298
295
|
/* When floating and topnav, remove the floating card styles */
|
|
@@ -16,19 +16,36 @@
|
|
|
16
16
|
gap: var(--spacing-1);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) {
|
|
20
|
+
padding-left: var(--spacing-1);
|
|
21
|
+
}
|
|
22
|
+
|
|
19
23
|
.muka-breadcrumb__icon {
|
|
20
24
|
display: inline-flex;
|
|
21
25
|
align-items: center;
|
|
22
26
|
color: var(--color-text-subtle-default);
|
|
23
27
|
}
|
|
24
28
|
|
|
29
|
+
.muka-breadcrumb__icon .muka-icon {
|
|
30
|
+
color: inherit;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.muka-breadcrumb__item:has(.muka-breadcrumb__current) .muka-breadcrumb__icon {
|
|
34
|
+
color: var(--color-text-default-default);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.muka-breadcrumb__item:has(.muka-breadcrumb__link:hover) .muka-breadcrumb__icon {
|
|
38
|
+
color: var(--color-text-action-default);
|
|
39
|
+
}
|
|
40
|
+
|
|
25
41
|
/* Link styles */
|
|
26
42
|
.muka-breadcrumb__link {
|
|
27
43
|
color: var(--color-text-subtle-default);
|
|
28
44
|
text-decoration: none;
|
|
29
45
|
border: none;
|
|
30
46
|
background: none;
|
|
31
|
-
padding:
|
|
47
|
+
padding-inline: var(--spacing-2);
|
|
48
|
+
padding-block: 0;
|
|
32
49
|
cursor: pointer;
|
|
33
50
|
font: inherit;
|
|
34
51
|
transition: color 0.15s ease;
|
|
@@ -39,10 +56,17 @@
|
|
|
39
56
|
text-decoration: underline;
|
|
40
57
|
}
|
|
41
58
|
|
|
42
|
-
/*
|
|
59
|
+
/* Tighter gap after leading icon */
|
|
60
|
+
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) .muka-breadcrumb__link,
|
|
61
|
+
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) .muka-breadcrumb__current {
|
|
62
|
+
padding-left: var(--spacing-1);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Current page (last item, no context switcher) */
|
|
43
66
|
.muka-breadcrumb__current {
|
|
44
67
|
color: var(--color-text-default-default);
|
|
45
68
|
font-weight: 600;
|
|
69
|
+
padding-inline: var(--spacing-2);
|
|
46
70
|
}
|
|
47
71
|
|
|
48
72
|
/* Separator */
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.muka-combobox__field--error:not(.muka-combobox__field--disabled) {
|
|
87
|
-
border-color: var(--color-state-error-
|
|
87
|
+
border-color: var(--color-state-error-contrast);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.muka-combobox__field--disabled {
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
|
|
142
142
|
.muka-combobox__error {
|
|
143
143
|
margin: 0;
|
|
144
|
-
color: var(--color-state-error-
|
|
144
|
+
color: var(--color-state-error-default);
|
|
145
145
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
146
146
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
147
147
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.muka-context-select__label {
|
|
74
|
-
font-family: var(--text-label-sm-regular-
|
|
75
|
-
font-size: var(--text-label-sm-regular-
|
|
76
|
-
font-weight: var(--text-label-sm-regular-
|
|
77
|
-
line-height: var(--text-label-sm-regular-
|
|
74
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
75
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
76
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
77
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
78
78
|
white-space: nowrap;
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
line-height: var(--text-label-sm-lineHeight);
|
|
66
66
|
border: 1px solid var(--color-border-default);
|
|
67
67
|
border-radius: var(--border-radius-md);
|
|
68
|
-
background-color: var(--color-surface-
|
|
68
|
+
background-color: var(--color-surface-level0);
|
|
69
69
|
color: var(--color-text-default-default);
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
|
|
211
211
|
.muka-documentviewer__thumbnail-label {
|
|
212
212
|
font-family: var(--alias-font-brand-family);
|
|
213
|
-
font-size: var(--text-label-xs-fontSize);
|
|
213
|
+
font-size: var(--text-label-xs-regular-fontSize);
|
|
214
214
|
color: var(--color-text-default-default);
|
|
215
215
|
font-weight: var(--alias-font-brand-weight-medium);
|
|
216
216
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.muka-dropdown-select__required {
|
|
41
|
-
color: var(--color-state-error-
|
|
41
|
+
color: var(--color-state-error-default);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.muka-dropdown-select__field {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.muka-dropdown-select__field--error:not(.muka-dropdown-select__field--disabled) {
|
|
101
|
-
border-color: var(--color-state-error-
|
|
101
|
+
border-color: var(--color-state-error-contrast);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.muka-dropdown-select__field--disabled {
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
|
|
214
214
|
.muka-dropdown-select__error {
|
|
215
215
|
margin: 0;
|
|
216
|
-
color: var(--color-state-error-
|
|
216
|
+
color: var(--color-state-error-default);
|
|
217
217
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
218
218
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
219
219
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
.muka-emptystate__title {
|
|
81
81
|
color: var(--emptystate-title-color);
|
|
82
82
|
margin: 0;
|
|
83
|
-
font-family: var(--text-heading-
|
|
84
|
-
font-weight: var(--text-heading-
|
|
85
|
-
font-size: var(--text-heading-
|
|
86
|
-
line-height: var(--text-heading-
|
|
83
|
+
font-family: var(--text-heading-sm-fontFamily);
|
|
84
|
+
font-weight: var(--text-heading-sm-fontWeight);
|
|
85
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
86
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.muka-emptystate--sm .muka-emptystate__title {
|
|
@@ -94,10 +94,10 @@
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.muka-emptystate--lg .muka-emptystate__title {
|
|
97
|
-
font-family: var(--text-heading-
|
|
98
|
-
font-weight: var(--text-heading-
|
|
99
|
-
font-size: var(--text-heading-
|
|
100
|
-
line-height: var(--text-heading-
|
|
97
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
98
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
99
|
+
font-size: var(--text-heading-md-fontSize);
|
|
100
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
/* Description */
|
|
@@ -118,10 +118,10 @@
|
|
|
118
118
|
|
|
119
119
|
/* Text */
|
|
120
120
|
.muka-fileupload__text {
|
|
121
|
-
font-family: var(--text-body-
|
|
122
|
-
font-size: var(--text-body-
|
|
123
|
-
font-weight: var(--text-body-
|
|
124
|
-
line-height: var(--text-body-
|
|
121
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
122
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
123
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
124
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
125
125
|
color: var(--color-text-default-default);
|
|
126
126
|
}
|
|
127
127
|
|
|
@@ -204,10 +204,10 @@
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
.muka-fileupload-item__name {
|
|
207
|
-
font-family: var(--text-body-sm-
|
|
208
|
-
font-size: var(--text-body-sm-
|
|
209
|
-
font-weight: var(--text-body-sm-
|
|
210
|
-
line-height: var(--text-body-sm-
|
|
207
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
208
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
209
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
210
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
211
211
|
color: var(--fileupload-item-color-default-foreground);
|
|
212
212
|
white-space: nowrap;
|
|
213
213
|
overflow: hidden;
|
|
@@ -243,11 +243,11 @@
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
.muka-fileupload-item__status-icon--success {
|
|
246
|
-
color: var(--color-
|
|
246
|
+
color: var(--fileupload-item-color-success-foreground);
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
.muka-fileupload-item__status-icon--error {
|
|
250
|
-
color: var(--color-
|
|
250
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
.muka-fileupload-item__remove {
|
|
@@ -3,12 +3,13 @@ import { ArrowDropUpDownIcon } from './custom/ArrowDropUpDownIcon';
|
|
|
3
3
|
import { ArrowReturnIcon } from './custom/ArrowReturnIcon';
|
|
4
4
|
/**
|
|
5
5
|
* Convert PascalCase to kebab-case
|
|
6
|
-
* e.g., "ArrowLeftS" -> "arrow-left-s"
|
|
6
|
+
* e.g., "ArrowLeftS" -> "arrow-left-s", "Home4" -> "home-4"
|
|
7
7
|
*/
|
|
8
8
|
function toKebabCase(str) {
|
|
9
9
|
return str
|
|
10
10
|
.replace(/([a-z0-9])([A-Z])/g, '$1-$2')
|
|
11
11
|
.replace(/([A-Z])([A-Z][a-z])/g, '$1-$2')
|
|
12
|
+
.replace(/([a-zA-Z])(\d+)/g, '$1-$2')
|
|
12
13
|
.toLowerCase();
|
|
13
14
|
}
|
|
14
15
|
const NullComponent = function NullIcon() {
|
|
@@ -85,6 +86,13 @@ iconRegistry['arrow-return'] = {
|
|
|
85
86
|
line: ArrowReturnIcon,
|
|
86
87
|
fill: ArrowReturnIcon,
|
|
87
88
|
};
|
|
89
|
+
// Alias digit-hyphen names without the hyphen (home-4 → home4) for older call sites
|
|
90
|
+
for (const key of Object.keys(iconRegistry)) {
|
|
91
|
+
const compact = key.replace(/-(\d+)/g, '$1');
|
|
92
|
+
if (compact !== key && !iconRegistry[compact]) {
|
|
93
|
+
iconRegistry[compact] = iconRegistry[key];
|
|
94
|
+
}
|
|
95
|
+
}
|
|
88
96
|
export function getIconComponent(name, variant) {
|
|
89
97
|
const entry = iconRegistry[name];
|
|
90
98
|
if (!entry)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconRegistry.js","sourceRoot":"","sources":["../../../../components/Icon/iconRegistry.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,UAAU,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAO3D;;;GAGG;AACH,SAAS,WAAW,CAAC,GAAW;IAC9B,OAAO,GAAG;SACP,OAAO,CAAC,oBAAoB,EAAE,OAAO,CAAC;SACtC,OAAO,CAAC,sBAAsB,EAAE,OAAO,CAAC;SACxC,WAAW,EAAE,CAAC;AACnB,CAAC;AAED,MAAM,aAAa,GAAgD,SAAS,QAAQ;IAClF,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,CAAC,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C,IAAI,CAAC;IAC1B,CAAC;AACH,CAAC;AAED,6DAA6D;AAC7D,YAAY,CAAC,oBAAoB,CAAC,GAAG;IACnC,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,mBAAmB;CAC1B,CAAC;AAEF,YAAY,CAAC,cAAc,CAAC,GAAG;IAC7B,IAAI,EAAE,eAAe;IACrB,IAAI,EAAE,eAAe;CACtB,CAAC;AAEF,oFAAoF;AACpF,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;IAC5C,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAC7C,IAAI,OAAO,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC;QAC9C,YAAY,CAAC,OAAO,CAAC,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;IAC5C,CAAC;AACH,CAAC;AAID,MAAM,UAAU,gBAAgB,CAC9B,IAAc,EACd,OAAwB;IAExB,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;IACjC,IAAI,CAAC,KAAK;QAAE,OAAO,aAAa,CAAC;IACjC,OAAO,OAAO,KAAK,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC;AACtD,CAAC"}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.muka-input__required {
|
|
42
|
-
color: var(--color-state-error-
|
|
42
|
+
color: var(--color-state-error-default);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.muka-input__label--sm + .muka-input__field--disabled,
|
|
@@ -245,6 +245,6 @@
|
|
|
245
245
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
246
246
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
247
247
|
line-height: var(--text-label-sm-regular-lineHeight);
|
|
248
|
-
color: var(--color-state-error-
|
|
248
|
+
color: var(--color-state-error-default);
|
|
249
249
|
margin: 0;
|
|
250
250
|
}
|
|
@@ -185,6 +185,6 @@
|
|
|
185
185
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
186
186
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
187
187
|
line-height: var(--text-label-sm-regular-lineHeight);
|
|
188
|
-
color: var(--color-state-error-
|
|
188
|
+
color: var(--color-state-error-default);
|
|
189
189
|
margin: 0;
|
|
190
190
|
}
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
|
|
31
31
|
/* Active page */
|
|
32
32
|
.muka-pagination__button--active {
|
|
33
|
-
background-color: var(--button-color-primary-default
|
|
34
|
-
color: var(--button-color-primary-default
|
|
35
|
-
border-color: var(--button-color-primary-default
|
|
33
|
+
background-color: var(--button-color-primary-background-default);
|
|
34
|
+
color: var(--button-color-primary-foreground-default);
|
|
35
|
+
border-color: var(--button-color-primary-background-default);
|
|
36
36
|
font-weight: 600;
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -63,37 +63,37 @@
|
|
|
63
63
|
|
|
64
64
|
/* Size variants */
|
|
65
65
|
.muka-pagination--sm .muka-pagination__button {
|
|
66
|
-
min-width: var(--
|
|
67
|
-
height: var(--
|
|
66
|
+
min-width: var(--size-2xl);
|
|
67
|
+
height: var(--size-2xl);
|
|
68
68
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.muka-pagination--sm .muka-pagination__ellipsis {
|
|
72
|
-
min-width: var(--
|
|
73
|
-
height: var(--
|
|
72
|
+
min-width: var(--size-2xl);
|
|
73
|
+
height: var(--size-2xl);
|
|
74
74
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.muka-pagination--md .muka-pagination__button {
|
|
78
|
-
min-width: var(--
|
|
79
|
-
height: var(--
|
|
78
|
+
min-width: var(--size-3xl);
|
|
79
|
+
height: var(--size-3xl);
|
|
80
80
|
font-size: var(--text-label-md-regular-fontSize);
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
.muka-pagination--md .muka-pagination__ellipsis {
|
|
84
|
-
min-width: var(--
|
|
85
|
-
height: var(--
|
|
84
|
+
min-width: var(--size-3xl);
|
|
85
|
+
height: var(--size-3xl);
|
|
86
86
|
font-size: var(--text-label-md-regular-fontSize);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.muka-pagination--lg .muka-pagination__button {
|
|
90
|
-
min-width: var(--
|
|
91
|
-
height: var(--
|
|
90
|
+
min-width: var(--size-4xl);
|
|
91
|
+
height: var(--size-4xl);
|
|
92
92
|
font-size: var(--text-label-lg-regular-fontSize);
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.muka-pagination--lg .muka-pagination__ellipsis {
|
|
96
|
-
min-width: var(--
|
|
97
|
-
height: var(--
|
|
96
|
+
min-width: var(--size-4xl);
|
|
97
|
+
height: var(--size-4xl);
|
|
98
98
|
font-size: var(--text-label-lg-regular-fontSize);
|
|
99
99
|
}
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.muka-photo-uploader__dropzone-text {
|
|
82
|
-
font-family: var(--text-body-
|
|
83
|
-
font-size: var(--text-body-
|
|
84
|
-
font-weight: var(--text-body-
|
|
85
|
-
line-height: var(--text-body-
|
|
82
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
83
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
84
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
85
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
86
86
|
color: var(--color-text-subtle-default);
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -13,16 +13,18 @@
|
|
|
13
13
|
|
|
14
14
|
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
15
15
|
.muka-progress-accordeon--current,
|
|
16
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--expanded
|
|
16
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
17
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
17
18
|
gap: var(--spacing-6);
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.muka-progress-accordeon--upcoming,
|
|
21
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed
|
|
22
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed,
|
|
23
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--collapsed {
|
|
22
24
|
gap: var(--spacing-8);
|
|
23
25
|
}
|
|
24
26
|
|
|
25
|
-
/*
|
|
27
|
+
/* Collapsible steps group header + slot. The header↔content gap lives inside the
|
|
26
28
|
collapsing slot (as padding-top) so it collapses with the content, so the
|
|
27
29
|
body gap itself is 0. */
|
|
28
30
|
.muka-progress-accordeon__body {
|
|
@@ -56,8 +58,10 @@
|
|
|
56
58
|
gap: var(--spacing-4);
|
|
57
59
|
}
|
|
58
60
|
|
|
59
|
-
/*
|
|
60
|
-
|
|
61
|
+
/* Steps with header controls (edit / chevron) are 40px tall; nudge the heading
|
|
62
|
+
so a single line centres against the indicator + controls row. */
|
|
63
|
+
.muka-progress-accordeon:has(.muka-progress-accordeon__controls)
|
|
64
|
+
.muka-progress-accordeon__heading-group {
|
|
61
65
|
padding-top: var(--spacing-1);
|
|
62
66
|
}
|
|
63
67
|
|
|
@@ -161,7 +165,7 @@
|
|
|
161
165
|
width: 100%;
|
|
162
166
|
}
|
|
163
167
|
|
|
164
|
-
/* ─── Collapse/expand animation (past steps)
|
|
168
|
+
/* ─── Collapse/expand animation (past & upcoming steps) ──────
|
|
165
169
|
The grid-template-rows 1fr → 0fr technique animates the content to/from its
|
|
166
170
|
intrinsic (auto) height with no magic max-height. Under prefers-reduced-motion
|
|
167
171
|
--motion-duration-view resolves to 0ms, so the toggle stays instant. */
|