@revikornmann/muka-ui 0.5.0 → 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/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/index.js +5 -3
- package/dist/cjs/components/index.js.map +1 -1
- 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/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/ListItem.css +10 -4
- package/dist/styles/components/ProgressAccordeon.css +207 -0
- 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 +1936 -1580
- package/dist/styles/muka-dark.css +1936 -1580
- package/dist/styles/muka-light.css +1936 -1580
- package/dist/styles/tokens-bouwplan-dark.css +113 -5
- package/dist/styles/tokens-bouwplan-light.css +113 -5
- 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 +1303 -979
- package/dist/styles/wireframe-light.css +1303 -979
- 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/index.d.ts +1 -0
- 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/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
|
@@ -53,6 +53,56 @@
|
|
|
53
53
|
"12": {
|
|
54
54
|
"$type": "color",
|
|
55
55
|
"$value": "{color.mauve.12}"
|
|
56
|
+
},
|
|
57
|
+
"alphaHued": {
|
|
58
|
+
"1": {
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"$value": "{color.mauveA.1}"
|
|
61
|
+
},
|
|
62
|
+
"2": {
|
|
63
|
+
"$type": "color",
|
|
64
|
+
"$value": "{color.mauveA.2}"
|
|
65
|
+
},
|
|
66
|
+
"3": {
|
|
67
|
+
"$type": "color",
|
|
68
|
+
"$value": "{color.mauveA.3}"
|
|
69
|
+
},
|
|
70
|
+
"4": {
|
|
71
|
+
"$type": "color",
|
|
72
|
+
"$value": "{color.mauveA.4}"
|
|
73
|
+
},
|
|
74
|
+
"5": {
|
|
75
|
+
"$type": "color",
|
|
76
|
+
"$value": "{color.mauveA.5}"
|
|
77
|
+
},
|
|
78
|
+
"6": {
|
|
79
|
+
"$type": "color",
|
|
80
|
+
"$value": "{color.mauveA.6}"
|
|
81
|
+
},
|
|
82
|
+
"7": {
|
|
83
|
+
"$type": "color",
|
|
84
|
+
"$value": "{color.mauveA.7}"
|
|
85
|
+
},
|
|
86
|
+
"8": {
|
|
87
|
+
"$type": "color",
|
|
88
|
+
"$value": "{color.mauveA.8}"
|
|
89
|
+
},
|
|
90
|
+
"9": {
|
|
91
|
+
"$type": "color",
|
|
92
|
+
"$value": "{color.mauveA.9}"
|
|
93
|
+
},
|
|
94
|
+
"10": {
|
|
95
|
+
"$type": "color",
|
|
96
|
+
"$value": "{color.mauveA.10}"
|
|
97
|
+
},
|
|
98
|
+
"11": {
|
|
99
|
+
"$type": "color",
|
|
100
|
+
"$value": "{color.mauveA.11}"
|
|
101
|
+
},
|
|
102
|
+
"12": {
|
|
103
|
+
"$type": "color",
|
|
104
|
+
"$value": "{color.mauveA.12}"
|
|
105
|
+
}
|
|
56
106
|
}
|
|
57
107
|
},
|
|
58
108
|
"brand": {
|
|
@@ -305,4 +355,4 @@
|
|
|
305
355
|
}
|
|
306
356
|
}
|
|
307
357
|
}
|
|
308
|
-
}
|
|
358
|
+
}
|
|
@@ -53,6 +53,56 @@
|
|
|
53
53
|
"12": {
|
|
54
54
|
"$type": "color",
|
|
55
55
|
"$value": "{color.grayDark.12}"
|
|
56
|
+
},
|
|
57
|
+
"alphaHued": {
|
|
58
|
+
"1": {
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"$value": "{color.grayDarkA.1}"
|
|
61
|
+
},
|
|
62
|
+
"2": {
|
|
63
|
+
"$type": "color",
|
|
64
|
+
"$value": "{color.grayDarkA.2}"
|
|
65
|
+
},
|
|
66
|
+
"3": {
|
|
67
|
+
"$type": "color",
|
|
68
|
+
"$value": "{color.grayDarkA.3}"
|
|
69
|
+
},
|
|
70
|
+
"4": {
|
|
71
|
+
"$type": "color",
|
|
72
|
+
"$value": "{color.grayDarkA.4}"
|
|
73
|
+
},
|
|
74
|
+
"5": {
|
|
75
|
+
"$type": "color",
|
|
76
|
+
"$value": "{color.grayDarkA.5}"
|
|
77
|
+
},
|
|
78
|
+
"6": {
|
|
79
|
+
"$type": "color",
|
|
80
|
+
"$value": "{color.grayDarkA.6}"
|
|
81
|
+
},
|
|
82
|
+
"7": {
|
|
83
|
+
"$type": "color",
|
|
84
|
+
"$value": "{color.grayDarkA.7}"
|
|
85
|
+
},
|
|
86
|
+
"8": {
|
|
87
|
+
"$type": "color",
|
|
88
|
+
"$value": "{color.grayDarkA.8}"
|
|
89
|
+
},
|
|
90
|
+
"9": {
|
|
91
|
+
"$type": "color",
|
|
92
|
+
"$value": "{color.grayDarkA.9}"
|
|
93
|
+
},
|
|
94
|
+
"10": {
|
|
95
|
+
"$type": "color",
|
|
96
|
+
"$value": "{color.grayDarkA.10}"
|
|
97
|
+
},
|
|
98
|
+
"11": {
|
|
99
|
+
"$type": "color",
|
|
100
|
+
"$value": "{color.grayDarkA.11}"
|
|
101
|
+
},
|
|
102
|
+
"12": {
|
|
103
|
+
"$type": "color",
|
|
104
|
+
"$value": "{color.grayDarkA.12}"
|
|
105
|
+
}
|
|
56
106
|
}
|
|
57
107
|
},
|
|
58
108
|
"brand": {
|
|
@@ -293,4 +343,4 @@
|
|
|
293
343
|
}
|
|
294
344
|
}
|
|
295
345
|
}
|
|
296
|
-
}
|
|
346
|
+
}
|
|
@@ -53,6 +53,56 @@
|
|
|
53
53
|
"12": {
|
|
54
54
|
"$type": "color",
|
|
55
55
|
"$value": "{color.gray.12}"
|
|
56
|
+
},
|
|
57
|
+
"alphaHued": {
|
|
58
|
+
"1": {
|
|
59
|
+
"$type": "color",
|
|
60
|
+
"$value": "{color.grayA.1}"
|
|
61
|
+
},
|
|
62
|
+
"2": {
|
|
63
|
+
"$type": "color",
|
|
64
|
+
"$value": "{color.grayA.2}"
|
|
65
|
+
},
|
|
66
|
+
"3": {
|
|
67
|
+
"$type": "color",
|
|
68
|
+
"$value": "{color.grayA.3}"
|
|
69
|
+
},
|
|
70
|
+
"4": {
|
|
71
|
+
"$type": "color",
|
|
72
|
+
"$value": "{color.grayA.4}"
|
|
73
|
+
},
|
|
74
|
+
"5": {
|
|
75
|
+
"$type": "color",
|
|
76
|
+
"$value": "{color.grayA.5}"
|
|
77
|
+
},
|
|
78
|
+
"6": {
|
|
79
|
+
"$type": "color",
|
|
80
|
+
"$value": "{color.grayA.6}"
|
|
81
|
+
},
|
|
82
|
+
"7": {
|
|
83
|
+
"$type": "color",
|
|
84
|
+
"$value": "{color.grayA.7}"
|
|
85
|
+
},
|
|
86
|
+
"8": {
|
|
87
|
+
"$type": "color",
|
|
88
|
+
"$value": "{color.grayA.8}"
|
|
89
|
+
},
|
|
90
|
+
"9": {
|
|
91
|
+
"$type": "color",
|
|
92
|
+
"$value": "{color.grayA.9}"
|
|
93
|
+
},
|
|
94
|
+
"10": {
|
|
95
|
+
"$type": "color",
|
|
96
|
+
"$value": "{color.grayA.10}"
|
|
97
|
+
},
|
|
98
|
+
"11": {
|
|
99
|
+
"$type": "color",
|
|
100
|
+
"$value": "{color.grayA.11}"
|
|
101
|
+
},
|
|
102
|
+
"12": {
|
|
103
|
+
"$type": "color",
|
|
104
|
+
"$value": "{color.grayA.12}"
|
|
105
|
+
}
|
|
56
106
|
}
|
|
57
107
|
},
|
|
58
108
|
"brand": {
|
|
@@ -261,4 +311,4 @@
|
|
|
261
311
|
}
|
|
262
312
|
}
|
|
263
313
|
}
|
|
264
|
-
}
|
|
314
|
+
}
|
|
@@ -82,30 +82,30 @@
|
|
|
82
82
|
},
|
|
83
83
|
"hover": {
|
|
84
84
|
"$type": "color",
|
|
85
|
-
"$value": "{alias.color.neutral.2}",
|
|
85
|
+
"$value": "{alias.color.neutral.alphaHued.2}",
|
|
86
86
|
"$rag": {
|
|
87
|
-
"description": "
|
|
87
|
+
"description": "Brand-hued translucent overlay tint for hover interaction feedback",
|
|
88
88
|
"usage": ["List item hover", "Menu item hover", "Table row hover", "Any interactive surface hover state"],
|
|
89
|
-
"accessibility": "
|
|
90
|
-
"relationships": ["color.surface.
|
|
89
|
+
"accessibility": "Theme-adaptive alpha tint (dark-translucent in light themes, light-translucent in dark) that reads on any surface level without blending in",
|
|
90
|
+
"relationships": ["color.surface.pressed", "alias.color.neutral.alphaHued"],
|
|
91
91
|
"examples": ["ListItem hover background", "Menu option hover", "Table row hover highlight"],
|
|
92
|
-
"brand-impact": "Low - neutral interaction tint",
|
|
93
|
-
"semantic-meaning": "
|
|
94
|
-
"do": ["Use for hover states on interactive surfaces", "
|
|
92
|
+
"brand-impact": "Low - hued neutral interaction tint that tracks the brand gray",
|
|
93
|
+
"semantic-meaning": "Translucent surface overlay for hover interaction feedback",
|
|
94
|
+
"do": ["Use for hover states on interactive surfaces", "Layer over any surface level (level1/2/3 or transparent)"],
|
|
95
95
|
"dont": ["Use as a static surface level", "Use for non-interactive elements", "Use for selected states"]
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"pressed": {
|
|
99
99
|
"$type": "color",
|
|
100
|
-
"$value": "{alias.color.neutral.
|
|
100
|
+
"$value": "{alias.color.neutral.alphaHued.3}",
|
|
101
101
|
"$rag": {
|
|
102
|
-
"description": "
|
|
102
|
+
"description": "Brand-hued translucent overlay tint for pressed/active interaction feedback (stronger than hover)",
|
|
103
103
|
"usage": ["List item active/pressed", "Menu item active", "Table row active", "Any interactive surface pressed state"],
|
|
104
|
-
"accessibility": "
|
|
105
|
-
"relationships": ["color.surface.hover", "color.
|
|
104
|
+
"accessibility": "Theme-adaptive alpha tint stronger than hover, providing visible pressed feedback distinct from hover on any surface level",
|
|
105
|
+
"relationships": ["color.surface.hover", "alias.color.neutral.alphaHued"],
|
|
106
106
|
"examples": ["ListItem pressed background", "Menu option pressed", "Button active state"],
|
|
107
|
-
"brand-impact": "Low - neutral interaction tint",
|
|
108
|
-
"semantic-meaning": "
|
|
107
|
+
"brand-impact": "Low - hued neutral interaction tint that tracks the brand gray",
|
|
108
|
+
"semantic-meaning": "Translucent surface overlay for pressed interaction feedback",
|
|
109
109
|
"do": ["Use for active/pressed states on interactive surfaces", "Pair with hover token for full interaction scale"],
|
|
110
110
|
"dont": ["Use as a static surface level", "Use for hover states", "Use for selected states"]
|
|
111
111
|
}
|