@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
|
@@ -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. */
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
outline: none;
|
|
81
81
|
padding: 0;
|
|
82
82
|
color: var(--color-text-default-default);
|
|
83
|
-
font-family: var(--text-body-
|
|
84
|
-
font-weight: var(--text-body-
|
|
85
|
-
font-size: var(--text-body-
|
|
86
|
-
line-height: var(--text-body-
|
|
83
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
84
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
85
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
86
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
87
87
|
appearance: none;
|
|
88
88
|
-webkit-appearance: none;
|
|
89
89
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.muka-select__required {
|
|
41
|
-
color: var(--color-state-error-
|
|
41
|
+
color: var(--color-state-error-default);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.muka-select__label--sm + .muka-select__field--disabled,
|
|
@@ -186,6 +186,6 @@
|
|
|
186
186
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
187
187
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
188
188
|
line-height: var(--text-label-sm-regular-lineHeight);
|
|
189
|
-
color: var(--color-state-error-
|
|
189
|
+
color: var(--color-state-error-default);
|
|
190
190
|
margin: 0;
|
|
191
191
|
}
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.muka-sms-otp-field__required {
|
|
38
|
-
color: var(--color-state-error-
|
|
38
|
+
color: var(--color-state-error-default);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/* Hidden input for browser autofill */
|
|
@@ -184,6 +184,6 @@
|
|
|
184
184
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
185
185
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
186
186
|
line-height: var(--text-label-sm-regular-lineHeight);
|
|
187
|
-
color: var(--color-state-error-
|
|
187
|
+
color: var(--color-state-error-default);
|
|
188
188
|
margin: 0;
|
|
189
189
|
}
|
|
@@ -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 {
|
|
@@ -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
|
|