@councilbox/councilbox-ui 2.0.49 → 2.0.50

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.
@@ -16,7 +16,7 @@ a.noStyles:hover{
16
16
  `}</style>
17
17
 
18
18
 
19
- # Librería de componentes ui-councilbox NEW v2.0.48 &#127881;
19
+ # Librería de componentes ui-councilbox NEW v2.0.50 &#127881;
20
20
 
21
21
  <h2>Componentes:</h2>
22
22
  <div><a class='noStyles' href='/story/components-accordion--default'>Accordion</a></div>
@@ -25,6 +25,9 @@ a.noStyles:hover{
25
25
  <div>Fix zIndex label InputText y SelectInput</div>
26
26
  </div>
27
27
 
28
+ <h2>v2.0.50</h2>
29
+ <div>Fix controlled Toggle.</div>
30
+
28
31
  <h2>v2.0.49</h2>
29
32
  <div>Update InputText: replace helper icon with tooltip on adornment icons.</div>
30
33
 
@@ -71,7 +71,7 @@ var Toggle = function Toggle(_ref) {
71
71
  var handleChange = function handleChange(event) {
72
72
  if (disabled) return;
73
73
  var newChecked = event.target.checked;
74
- if (controlled) setChecked(newChecked);
74
+ if (!controlled) setChecked(newChecked);
75
75
 
76
76
  if (onChange) {
77
77
  onChange(event, newChecked);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@councilbox/councilbox-ui",
3
- "version": "2.0.49",
3
+ "version": "2.0.50",
4
4
  "main": "dist/build-index.js",
5
5
  "files": [
6
6
  "dist",