cynx-ui 1.2.3 → 1.2.4

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.
@@ -43,7 +43,7 @@ export default function Toggle({
43
43
  styleInjected = true;
44
44
  }
45
45
 
46
- const sizeClass = size !== 'md' ? ` tgl-${size}` : '';
46
+ const sizeClass = ` tgl-${size}`;
47
47
  const classes = `tgl${sizeClass}${className ? ' ' + className : ''}`;
48
48
  const trackColor = checked ? (COLORS[color] || COLORS.primary) : 'var(--bd2,#d7d8e0)';
49
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cynx-ui",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.js"