@cashub/ui 0.48.20 → 0.48.21

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/select/Select.js +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cashub/ui",
3
- "version": "0.48.20",
3
+ "version": "0.48.21",
4
4
  "private": false,
5
5
  "author": "CasHUB Team",
6
6
  "description": "CasHUB UI components library",
package/select/Select.js CHANGED
@@ -331,7 +331,7 @@ const Select = _ref => {
331
331
  id: option.text,
332
332
  children: option.text
333
333
  }), option.child.map(option => {
334
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Option.default, {
334
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Option.default, {
335
335
  role: "option",
336
336
  tabIndex: option.isDisable ? '-1' : '0',
337
337
  id: option.id,
@@ -341,7 +341,10 @@ const Select = _ref => {
341
341
  "aria-selected": option.selected,
342
342
  "aria-disabled": option.isDisable,
343
343
  disabled: option.isDisable,
344
- children: renderOptionContent(option)
344
+ children: [showCheckbox && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Checkbox.default, {
345
+ selected: option.selected,
346
+ disabled: option.isDisable
347
+ }), renderOptionContent(option)]
345
348
  }, option.id);
346
349
  })]
347
350
  }, option.text);