@raiadrogasil/pulso-react-components
Advanced tools
Comparing version 2.20.1 to 2.21.0
@@ -33,3 +33,2 @@ "use strict"; | ||
var Checkbox_utils_1 = require("./Checkbox.utils"); | ||
var CHECKBOX_REFERENCE = "checkbox__reference"; | ||
/** | ||
@@ -62,2 +61,3 @@ * <blockquote style="background-color:#ffb3b3; font-size:14px; lineHeight:25px;"> | ||
error = _a.error; | ||
var CHECKBOX_REFERENCE = "checkbox__reference_".concat(name); | ||
var _e = React.useState(checked || false), isChecked = _e[0], setIsChecked = _e[1]; | ||
@@ -64,0 +64,0 @@ var renderElementBaseComponent = externalLabel ? "span" : "label"; |
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "2.20.1", | ||
"version": "2.21.0", | ||
"main": "./index.js", | ||
@@ -20,5 +20,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@raiadrogasil/pulso-icons": "^2.5.1", | ||
"@raiadrogasil/pulso-tokens": "^2.8.1" | ||
"@raiadrogasil/pulso-icons": "^2.5.2", | ||
"@raiadrogasil/pulso-tokens": "^2.8.2" | ||
} | ||
} |
@@ -174,2 +174,5 @@ "use strict"; | ||
}); | ||
(0, react_1.useEffect)(function () { | ||
setOptionsList(options); | ||
}, [options]); | ||
return (react_1.default.createElement(react_1.default.Fragment, null, | ||
@@ -176,0 +179,0 @@ react_1.default.createElement(ClosedSelect_1.default, { backgroundColorName: backgroundColorName, dataQA: dataQAClosedField ? dataQAClosedField : undefined, dataCollectInfo: dataCollectInfoClosedField ? dataCollectInfoClosedField : undefined, dataCollect: dataCollectClosedField ? dataCollectClosedField : undefined, dataTestId: dataTestIdClosedField ? dataTestIdClosedField : undefined, disabled: disabled, helperText: helperText, inverse: inverse, legend: selected ? label : undefined, onClick: onClosedSelectInteraction, onFocus: onClosedSelectInteraction, ref: closedSelectRef, value: selected ? selected.label : label }), |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1037621
12782
0