@apexcura/ui-components 0.0.11-Beta265 → 0.0.11-Beta266

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.
package/dist/index.js CHANGED
@@ -243,8 +243,8 @@ var CheckboxElement = (props) => {
243
243
  const [checkedList, setCheckedList] = (0, import_react7.useState)(defaultCheckedList);
244
244
  const checkAll = props.options && props.options.length === checkedList.length;
245
245
  const handleChange = (list) => {
246
- console.log("list========", list);
247
246
  setCheckedList(list);
247
+ console.log("checkedList-----", checkedList);
248
248
  if (props.onChange) {
249
249
  const selectedOptions = list.map((value) => {
250
250
  return { id: list.indexOf(value), value };
package/dist/index.mjs CHANGED
@@ -190,8 +190,8 @@ var CheckboxElement = (props) => {
190
190
  const [checkedList, setCheckedList] = useState3(defaultCheckedList);
191
191
  const checkAll = props.options && props.options.length === checkedList.length;
192
192
  const handleChange = (list) => {
193
- console.log("list========", list);
194
193
  setCheckedList(list);
194
+ console.log("checkedList-----", checkedList);
195
195
  if (props.onChange) {
196
196
  const selectedOptions = list.map((value) => {
197
197
  return { id: list.indexOf(value), value };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta265",
3
+ "version": "0.0.11-Beta266",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",