cdslibrary 1.2.35 → 1.2.37

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.
@@ -19,10 +19,10 @@ export const CDSSwitch = ({ label, onValueChange, value }) => {
19
19
  value={value}
20
20
  onValueChange={onValueChange}
21
21
  // Colores dinámicos basados en tu tema
22
- rackColor={{ false: theme.surface.neutral.tertiaryVariant, true: theme.surface.special.progress }}
22
+ trackColor={{ false: theme.surface.neutral.tertiaryVariant, true: theme.surface.special.progress }}
23
23
  activeThumbColor={theme.surface.neutral.primary}
24
24
  thumbColor={
25
- useAverage
25
+ onValueChange
26
26
  ? theme.surface.neutral.primary
27
27
  : theme.surface.neutral.primary
28
28
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cdslibrary",
3
3
  "license": "0BSD",
4
- "version": "1.2.35",
4
+ "version": "1.2.37",
5
5
  "main": "index.js",
6
6
  "author": "Nat Viramontes",
7
7
  "description": "A library of components for the CDS project",