@revikornmann/muka-ui 0.4.1 → 0.6.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/cli/commands/brand.js +7 -0
- package/cli/commands/init.js +7 -1
- package/cli/templates/CLAUDE.md +18 -4
- package/cli/templates/muka-ui-guidelines.md +20 -0
- package/dist/cjs/components/DataPieChart/DataPieChart.js +1 -1
- package/dist/cjs/components/DataPieChart/DataPieChart.js.map +1 -1
- package/dist/cjs/components/DataTable/DataTable.css +17 -0
- package/dist/cjs/components/DataTable/DataTable.js +15 -2
- package/dist/cjs/components/DataTable/DataTable.js.map +1 -1
- package/dist/cjs/components/ListItem/ListItem.css +10 -4
- package/dist/cjs/components/ProgressAccordeon/ProgressAccordeon.css +207 -0
- package/dist/cjs/components/ProgressAccordeon/ProgressAccordeon.js +66 -0
- package/dist/cjs/components/ProgressAccordeon/ProgressAccordeon.js.map +1 -0
- package/dist/cjs/components/ProgressAccordeon/index.js +11 -0
- package/dist/cjs/components/ProgressAccordeon/index.js.map +1 -0
- package/dist/cjs/components/{FormProgressBar/FormProgressBar.css → ProgressTracker/ProgressTracker.css} +28 -22
- package/dist/cjs/components/{FormProgressBar/FormProgressBar.js → ProgressTracker/ProgressTracker.js} +20 -20
- package/dist/cjs/components/{FormProgressBar/FormProgressBar.js.map → ProgressTracker/ProgressTracker.js.map} +1 -1
- package/dist/cjs/components/ProgressTracker/index.js +8 -0
- package/dist/cjs/components/{FormProgressBar → ProgressTracker}/index.js.map +1 -1
- package/dist/cjs/components/index.js +7 -5
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/DataPieChart/DataPieChart.js +1 -1
- package/dist/esm/components/DataPieChart/DataPieChart.js.map +1 -1
- package/dist/esm/components/DataTable/DataTable.css +17 -0
- package/dist/esm/components/DataTable/DataTable.js +15 -2
- package/dist/esm/components/DataTable/DataTable.js.map +1 -1
- package/dist/esm/components/ListItem/ListItem.css +10 -4
- package/dist/esm/components/ProgressAccordeon/ProgressAccordeon.css +207 -0
- package/dist/esm/components/ProgressAccordeon/ProgressAccordeon.js +62 -0
- package/dist/esm/components/ProgressAccordeon/ProgressAccordeon.js.map +1 -0
- package/dist/esm/components/ProgressAccordeon/index.js +3 -0
- package/dist/esm/components/ProgressAccordeon/index.js.map +1 -0
- package/dist/{styles/components/FormProgressBar.css → esm/components/ProgressTracker/ProgressTracker.css} +28 -22
- package/dist/esm/components/{FormProgressBar/FormProgressBar.js → ProgressTracker/ProgressTracker.js} +18 -18
- package/dist/esm/components/{FormProgressBar/FormProgressBar.js.map → ProgressTracker/ProgressTracker.js.map} +1 -1
- package/dist/esm/components/ProgressTracker/index.js +3 -0
- package/dist/esm/components/{FormProgressBar → ProgressTracker}/index.js.map +1 -1
- package/dist/esm/components/index.js +2 -1
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/DataTable.css +17 -0
- package/dist/styles/components/ListItem.css +10 -4
- package/dist/styles/components/ProgressAccordeon.css +207 -0
- package/dist/{esm/components/FormProgressBar/FormProgressBar.css → styles/components/ProgressTracker.css} +28 -22
- package/dist/styles/fonts/funnel-display-latin-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/funnel-display.LICENSE.txt +93 -0
- package/dist/styles/fonts/funnel-sans-latin-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/funnel-sans.LICENSE.txt +93 -0
- package/dist/styles/fonts/ibm-plex-sans-latin-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/ibm-plex-sans.LICENSE.txt +93 -0
- package/dist/styles/fonts/lora-latin-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/lora.LICENSE.txt +93 -0
- package/dist/styles/fonts/quicksand-latin-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/quicksand.LICENSE.txt +93 -0
- package/dist/styles/fonts/red-hat-display-latin-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/red-hat-display.LICENSE.txt +93 -0
- package/dist/styles/fonts/red-hat-text-latin-wght-normal.woff2 +0 -0
- package/dist/styles/fonts/red-hat-text.LICENSE.txt +93 -0
- package/dist/styles/fonts/yesteryear-latin-400-normal.woff2 +0 -0
- package/dist/styles/fonts/yesteryear.LICENSE.txt +93 -0
- package/dist/styles/fonts-all.css +75 -0
- package/dist/styles/fonts-bouwplan.css +30 -0
- package/dist/styles/fonts-fscl.css +21 -0
- package/dist/styles/fonts-grip.css +21 -0
- package/dist/styles/fonts-muka.css +30 -0
- package/dist/styles/fonts-wireframe.css +5 -0
- package/dist/styles/index.css +947 -568
- package/dist/styles/muka-dark.css +947 -568
- package/dist/styles/muka-light.css +947 -568
- package/dist/styles/tokens-bouwplan-dark.css +174 -66
- package/dist/styles/tokens-bouwplan-light.css +174 -66
- package/dist/styles/tokens-fscl-dark.css +113 -5
- package/dist/styles/tokens-fscl-light.css +113 -5
- package/dist/styles/tokens-grip-dark.css +113 -5
- package/dist/styles/tokens-grip-light.css +113 -5
- package/dist/styles/tokens-muka-dark.css +113 -5
- package/dist/styles/tokens-muka-light.css +113 -5
- package/dist/styles/tokens-wireframe-dark.css +113 -5
- package/dist/styles/tokens-wireframe-light.css +113 -5
- package/dist/styles/wireframe-dark.css +915 -568
- package/dist/styles/wireframe-light.css +915 -568
- package/dist/types/components/DataPieChart/DataPieChart.d.ts +1 -1
- package/dist/types/components/DataPieChart/DataPieChart.d.ts.map +1 -1
- package/dist/types/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/types/components/ProgressAccordeon/ProgressAccordeon.d.ts +91 -0
- package/dist/types/components/ProgressAccordeon/ProgressAccordeon.d.ts.map +1 -0
- package/dist/types/components/ProgressAccordeon/index.d.ts +3 -0
- package/dist/types/components/ProgressAccordeon/index.d.ts.map +1 -0
- package/dist/types/components/{FormProgressBar/FormProgressBar.d.ts → ProgressTracker/ProgressTracker.d.ts} +9 -9
- package/dist/types/components/{FormProgressBar/FormProgressBar.d.ts.map → ProgressTracker/ProgressTracker.d.ts.map} +1 -1
- package/dist/types/components/ProgressTracker/index.d.ts +3 -0
- package/dist/types/components/{FormProgressBar → ProgressTracker}/index.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -1
- package/dist/types/components/index.d.ts.map +1 -1
- package/docs/consumers/setup-instructions.md +22 -3
- package/package.json +12 -2
- package/scripts/build-fonts.js +248 -0
- package/tokens/t1-primitives/color.json +400 -0
- package/tokens/t2-alias/brand/bouwplan/dark.json +15 -1
- package/tokens/t2-alias/brand/bouwplan/fonts.json +5 -5
- package/tokens/t2-alias/brand/bouwplan/light.json +15 -1
- package/tokens/t2-alias/brand/fscl/dark.json +15 -1
- package/tokens/t2-alias/brand/fscl/light.json +15 -1
- package/tokens/t2-alias/brand/grip/dark.json +51 -1
- package/tokens/t2-alias/brand/grip/light.json +51 -1
- package/tokens/t2-alias/brand/muka/dark.json +51 -1
- package/tokens/t2-alias/brand/muka/light.json +51 -1
- package/tokens/t2-alias/brand/wireframe/dark.json +51 -1
- package/tokens/t2-alias/brand/wireframe/light.json +51 -1
- package/tokens/t3-semantics/ui.json +13 -13
- package/dist/cjs/components/FormProgressBar/index.js +0 -8
- package/dist/esm/components/FormProgressBar/index.js +0 -3
- package/dist/types/components/FormProgressBar/index.d.ts +0 -3
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
position: relative;
|
|
20
20
|
|
|
21
21
|
/* Interaction - only apply if interactive */
|
|
22
|
-
transition: background-color 0.2s ease;
|
|
22
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/* Interactive state */
|
|
@@ -27,13 +27,19 @@
|
|
|
27
27
|
cursor: pointer;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
/*
|
|
31
|
+
* surface.hover / surface.pressed are theme-adaptive translucent tints, so they
|
|
32
|
+
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
33
|
+
* rather than replacing background-color. This preserves the base level (level3,
|
|
34
|
+
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
35
|
+
*/
|
|
30
36
|
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
31
|
-
|
|
37
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
32
38
|
}
|
|
33
39
|
|
|
34
40
|
.muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
|
|
35
41
|
.muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
|
|
36
|
-
|
|
42
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
|
|
37
43
|
}
|
|
38
44
|
|
|
39
45
|
/* Focus styles for accessibility */
|
|
@@ -59,7 +65,7 @@
|
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
.muka-listitem--selected:hover {
|
|
62
|
-
|
|
68
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
63
69
|
}
|
|
64
70
|
|
|
65
71
|
/* No divider modifier */
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
2
|
+
|
|
3
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
4
|
+
.muka-progress-accordeon {
|
|
5
|
+
container-type: inline-size;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
align-items: stretch;
|
|
9
|
+
width: 100%;
|
|
10
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
11
|
+
padding-top: var(--spacing-8);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
15
|
+
.muka-progress-accordeon--current,
|
|
16
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded {
|
|
17
|
+
gap: var(--spacing-6);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.muka-progress-accordeon--upcoming,
|
|
21
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--collapsed {
|
|
22
|
+
gap: var(--spacing-8);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Past-expanded groups header + slot with a tighter internal gap */
|
|
26
|
+
.muka-progress-accordeon__body {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
gap: var(--spacing-4);
|
|
30
|
+
width: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* ─── Header ─────────────────────────────────────────────── */
|
|
34
|
+
.muka-progress-accordeon__header {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
gap: var(--spacing-3);
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.muka-progress-accordeon__header-row {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: flex-start;
|
|
44
|
+
gap: var(--spacing-3);
|
|
45
|
+
width: 100%;
|
|
46
|
+
min-height: 40px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.muka-progress-accordeon__heading-group {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex: 1 0 0;
|
|
52
|
+
min-width: 0;
|
|
53
|
+
align-items: flex-start;
|
|
54
|
+
gap: var(--spacing-4);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Past steps carry 40px controls; nudge the heading to vertically centre it */
|
|
58
|
+
.muka-progress-accordeon--past .muka-progress-accordeon__heading-group {
|
|
59
|
+
padding-top: var(--spacing-1);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.muka-progress-accordeon__controls {
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-shrink: 0;
|
|
65
|
+
align-items: center;
|
|
66
|
+
gap: var(--spacing-3);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
70
|
+
.muka-progress-accordeon__indicator {
|
|
71
|
+
width: 32px;
|
|
72
|
+
height: 32px;
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
border-radius: var(--border-radius-full);
|
|
75
|
+
display: flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Past: dark accent-contrast circle with inverse checkmark */
|
|
81
|
+
.muka-progress-accordeon__indicator--past {
|
|
82
|
+
background-color: var(--alias-color-accent-contrast);
|
|
83
|
+
color: var(--color-text-default-inverse);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* Current: accent circle with inverse bold number */
|
|
87
|
+
.muka-progress-accordeon__indicator--current {
|
|
88
|
+
background-color: var(--alias-color-accent-default);
|
|
89
|
+
color: var(--color-text-default-inverse);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Upcoming: sunken/muted circle with default-color number */
|
|
93
|
+
.muka-progress-accordeon__indicator--upcoming {
|
|
94
|
+
background-color: var(--color-surface-sunken);
|
|
95
|
+
color: var(--color-text-default-default);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.muka-progress-accordeon__check-icon {
|
|
99
|
+
width: 20px;
|
|
100
|
+
height: 20px;
|
|
101
|
+
color: var(--color-text-default-inverse);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.muka-progress-accordeon__number {
|
|
105
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
106
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
107
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
108
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
109
|
+
text-align: center;
|
|
110
|
+
user-select: none;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Upcoming number is semibold (not bold) per Figma */
|
|
114
|
+
.muka-progress-accordeon__indicator--upcoming .muka-progress-accordeon__number {
|
|
115
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
116
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* ─── Heading (responsive: heading/md on wide, heading/sm on narrow) ─────── */
|
|
120
|
+
.muka-progress-accordeon__heading {
|
|
121
|
+
flex: 1 0 0;
|
|
122
|
+
min-width: 0;
|
|
123
|
+
margin: 0;
|
|
124
|
+
font-family: var(--text-heading-md-fontFamily);
|
|
125
|
+
font-weight: var(--text-heading-md-fontWeight);
|
|
126
|
+
font-size: var(--text-heading-md-fontSize);
|
|
127
|
+
line-height: var(--text-heading-md-lineHeight);
|
|
128
|
+
letter-spacing: var(--text-heading-md-letterSpacing);
|
|
129
|
+
color: var(--color-text-default-default);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* ─── Description ────────────────────────────────────────── */
|
|
133
|
+
/* Indented 48px (32px indicator + 16px gap) to align under the heading text */
|
|
134
|
+
.muka-progress-accordeon__description {
|
|
135
|
+
width: 100%;
|
|
136
|
+
padding-left: 48px;
|
|
137
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
138
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
139
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
140
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
141
|
+
color: var(--color-text-default-default);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* ─── Edit button ────────────────────────────────────────── */
|
|
145
|
+
.muka-progress-accordeon__edit {
|
|
146
|
+
flex-shrink: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Wide container shows the labelled button; the icon-only one is hidden */
|
|
150
|
+
.muka-progress-accordeon__edit--narrow {
|
|
151
|
+
display: none;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* ─── Content slot ───────────────────────────────────────── */
|
|
155
|
+
.muka-progress-accordeon__slot {
|
|
156
|
+
display: flex;
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
align-items: stretch;
|
|
159
|
+
width: 100%;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* ─── Action buttons (current state) ─────────────────────── */
|
|
163
|
+
.muka-progress-accordeon__actions {
|
|
164
|
+
display: flex;
|
|
165
|
+
justify-content: flex-end;
|
|
166
|
+
gap: var(--spacing-4);
|
|
167
|
+
width: 100%;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.muka-progress-accordeon__action {
|
|
171
|
+
min-width: 160px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* ─── Divider ────────────────────────────────────────────── */
|
|
175
|
+
.muka-progress-accordeon__divider {
|
|
176
|
+
width: 100%;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* ─── Responsive (narrow container) ──────────────────────── */
|
|
180
|
+
@container (max-width: 480px) {
|
|
181
|
+
/* Heading steps down to heading/sm. The 24px line-height is shorter than the
|
|
182
|
+
32px step indicator, so nudge the text down to keep a single line centred. */
|
|
183
|
+
.muka-progress-accordeon__heading {
|
|
184
|
+
font-size: var(--text-heading-sm-fontSize);
|
|
185
|
+
line-height: var(--text-heading-sm-lineHeight);
|
|
186
|
+
padding-top: var(--spacing-1);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* Edit button swaps to the icon-only variant */
|
|
190
|
+
.muka-progress-accordeon__edit--wide {
|
|
191
|
+
display: none;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.muka-progress-accordeon__edit--narrow {
|
|
195
|
+
display: inline-flex;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/* Action buttons stretch to fill the row */
|
|
199
|
+
.muka-progress-accordeon__actions {
|
|
200
|
+
justify-content: stretch;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.muka-progress-accordeon__action {
|
|
204
|
+
flex: 1 0 0;
|
|
205
|
+
min-width: 0;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* ProgressTracker Component Styles — Using Muka Design Tokens */
|
|
2
2
|
|
|
3
3
|
/* ─── Root ──────────────────────────────────────────────── */
|
|
4
|
-
.muka-progress-
|
|
4
|
+
.muka-progress-tracker {
|
|
5
5
|
width: 100%;
|
|
6
6
|
padding-bottom: var(--spacing-7);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
/* ─── Track (layered container) ─────────────────────────── */
|
|
10
|
-
.muka-progress-
|
|
10
|
+
.muka-progress-tracker__track {
|
|
11
11
|
position: relative;
|
|
12
12
|
/* Vertical padding = (indicator size - connector height) / 2 = (32 - 4) / 2 = 14px */
|
|
13
13
|
padding-top: 14px;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/* ─── Steps layer (on top) ──────────────────────────────── */
|
|
18
|
-
.muka-progress-
|
|
18
|
+
.muka-progress-tracker__steps {
|
|
19
19
|
position: absolute;
|
|
20
20
|
inset: 0;
|
|
21
21
|
display: flex;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* ─── Individual step ───────────────────────────────────── */
|
|
28
|
-
.muka-progress-
|
|
28
|
+
.muka-progress-tracker__step {
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
align-items: center;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* ─── Step indicator (circle) ───────────────────────────── */
|
|
37
|
-
.muka-progress-
|
|
37
|
+
.muka-progress-tracker__indicator {
|
|
38
38
|
width: 32px;
|
|
39
39
|
height: 32px;
|
|
40
40
|
border-radius: var(--border-radius-full);
|
|
@@ -46,35 +46,35 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/* Past: dark accent contrast circle with white checkmark */
|
|
49
|
-
.muka-progress-
|
|
49
|
+
.muka-progress-tracker__indicator--past {
|
|
50
50
|
background-color: var(--alias-color-accent-contrast);
|
|
51
51
|
color: var(--color-text-default-inverse);
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.muka-progress-
|
|
56
|
-
|
|
55
|
+
.muka-progress-tracker__indicator--past:hover {
|
|
56
|
+
background-color: var(--alias-color-accent-pressed);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
.muka-progress-
|
|
59
|
+
.muka-progress-tracker__indicator--past:focus-visible {
|
|
60
60
|
outline: 2px solid var(--color-border-focus);
|
|
61
61
|
outline-offset: 2px;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/* Current: accent default circle with white number */
|
|
65
|
-
.muka-progress-
|
|
65
|
+
.muka-progress-tracker__indicator--current {
|
|
66
66
|
background-color: var(--alias-color-accent-default);
|
|
67
67
|
color: var(--color-text-default-inverse);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
/* Upcoming: sunken/gray circle with dark number */
|
|
71
|
-
.muka-progress-
|
|
71
|
+
.muka-progress-tracker__indicator--upcoming {
|
|
72
72
|
background-color: var(--color-surface-sunken);
|
|
73
73
|
color: var(--color-text-default-default);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/* ─── Step number text ──────────────────────────────────── */
|
|
77
|
-
.muka-progress-
|
|
77
|
+
.muka-progress-tracker__number {
|
|
78
78
|
font-family: var(--text-label-md-bold-fontFamily);
|
|
79
79
|
font-weight: var(--text-label-md-bold-fontWeight);
|
|
80
80
|
font-size: var(--text-label-md-bold-fontSize);
|
|
@@ -84,13 +84,19 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/* ─── Checkmark icon ────────────────────────────────────── */
|
|
87
|
-
.muka-progress-
|
|
87
|
+
.muka-progress-tracker__check-icon {
|
|
88
88
|
width: 20px;
|
|
89
89
|
height: 20px;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
/* Past checkmark uses inverse foreground, matching the active step number.
|
|
93
|
+
Scoped under the indicator to override the Icon component's default color. */
|
|
94
|
+
.muka-progress-tracker__indicator--past .muka-progress-tracker__check-icon {
|
|
95
|
+
color: var(--color-text-default-inverse);
|
|
96
|
+
}
|
|
97
|
+
|
|
92
98
|
/* ─── Step label ────────────────────────────────────────── */
|
|
93
|
-
.muka-progress-
|
|
99
|
+
.muka-progress-tracker__label {
|
|
94
100
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
95
101
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
96
102
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
@@ -104,13 +110,13 @@
|
|
|
104
110
|
}
|
|
105
111
|
|
|
106
112
|
/* Current step label is bold */
|
|
107
|
-
.muka-progress-
|
|
113
|
+
.muka-progress-tracker__label--current {
|
|
108
114
|
font-family: var(--text-label-sm-bold-fontFamily);
|
|
109
115
|
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
110
116
|
}
|
|
111
117
|
|
|
112
118
|
/* ─── Connectors layer (behind indicators) ──────────────── */
|
|
113
|
-
.muka-progress-
|
|
119
|
+
.muka-progress-tracker__connectors {
|
|
114
120
|
display: flex;
|
|
115
121
|
align-items: center;
|
|
116
122
|
/* Horizontal padding = indicator radius (32/2 = 16px) so lines meet circle centers */
|
|
@@ -121,19 +127,19 @@
|
|
|
121
127
|
}
|
|
122
128
|
|
|
123
129
|
/* ─── Individual connector line ─────────────────────────── */
|
|
124
|
-
.muka-progress-
|
|
130
|
+
.muka-progress-tracker__connector {
|
|
125
131
|
flex: 1 0 0;
|
|
126
132
|
height: 4px;
|
|
127
133
|
min-width: 1px;
|
|
128
134
|
}
|
|
129
135
|
|
|
130
136
|
/* Past: solid dark line */
|
|
131
|
-
.muka-progress-
|
|
137
|
+
.muka-progress-tracker__connector--past {
|
|
132
138
|
background-color: var(--alias-color-accent-contrast);
|
|
133
139
|
}
|
|
134
140
|
|
|
135
141
|
/* Current: gradient from past (dark) toward current step */
|
|
136
|
-
.muka-progress-
|
|
142
|
+
.muka-progress-tracker__connector--current {
|
|
137
143
|
background: linear-gradient(
|
|
138
144
|
to right,
|
|
139
145
|
var(--alias-color-accent-contrast) 0%,
|
|
@@ -142,7 +148,7 @@
|
|
|
142
148
|
}
|
|
143
149
|
|
|
144
150
|
/* Current-right: gradient fading from current step into upcoming */
|
|
145
|
-
.muka-progress-
|
|
151
|
+
.muka-progress-tracker__connector--current-right {
|
|
146
152
|
background: linear-gradient(
|
|
147
153
|
to right,
|
|
148
154
|
var(--alias-color-accent-default) 0%,
|
|
@@ -152,6 +158,6 @@
|
|
|
152
158
|
}
|
|
153
159
|
|
|
154
160
|
/* Upcoming: solid gray line */
|
|
155
|
-
.muka-progress-
|
|
161
|
+
.muka-progress-tracker__connector--upcoming {
|
|
156
162
|
background-color: var(--color-surface-sunken);
|
|
157
163
|
}
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2023 The Funnel Project Authors (https://github.com/Dicotype/Funnel)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2023 The Funnel Project Authors (https://github.com/Dicotype/Funnel) FunnelSans-Italic[wght].ttf: Copyright 2023 The Funnel Project Authors (https://github.com/Dicotype/Funnel)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|