@hexure/ui 1.14.10 → 1.14.11
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/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Checklist/Checklist.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Checklist/Checklist.d.ts +1 -0
- package/dist/index.d.ts +83 -82
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -3712,8 +3712,8 @@ const Checklist = (_a) => {
|
|
|
3712
3712
|
React.createElement(Options$1, { "data-itemid": `${baseId}-options` }, options.map((option, i) => {
|
|
3713
3713
|
const label = `${option.label || option.value}`;
|
|
3714
3714
|
const checked = selected.includes(option.value);
|
|
3715
|
-
const optionId = `${baseId}-option-${i}`;
|
|
3716
|
-
return (React.createElement(Checkbox, Object.assign({
|
|
3715
|
+
const optionId = option.dataItemid || `${baseId}-option-${i}`;
|
|
3716
|
+
return (React.createElement(Checkbox, Object.assign({ dataItemid: `${optionId}-checkbox`, key: i }, accessibleProps, { checked: checked, color: option.color, disabled: disabled, onChange: handleChange.bind(null, option) }), label));
|
|
3717
3717
|
}))));
|
|
3718
3718
|
};
|
|
3719
3719
|
|