@carbonid1/design-system 5.7.8 → 5.7.9

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.
Files changed (2) hide show
  1. package/dist/Kbd/Kbd.js +2 -0
  2. package/package.json +1 -1
package/dist/Kbd/Kbd.js CHANGED
@@ -20,6 +20,8 @@ const resolveKey = (key) => {
20
20
  const lower = key.toLowerCase();
21
21
  if (lower === 'mod')
22
22
  return MOD_SYMBOLS[getModKey()] ?? 'Ctrl';
23
+ if (lower === 'ctrl')
24
+ return getModKey() === 'Cmd' ? '⌃' : 'Ctrl';
23
25
  return KEY_SYMBOLS[lower] ?? key;
24
26
  };
25
27
  const kbdVariants = cva('inline-flex items-center justify-center rounded-sm border font-mono leading-none select-none', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbonid1/design-system",
3
- "version": "5.7.8",
3
+ "version": "5.7.9",
4
4
  "description": "Shared React UI primitives + design tokens (themes, postcss config)",
5
5
  "repository": {
6
6
  "type": "git",