hrm_ui_lib 2.4.18 → 2.4.19

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.
@@ -620,7 +620,10 @@ var Checkbox = /*#__PURE__*/forwardRef(function (props, ref) {
620
620
  'controller--checkbox': true,
621
621
  'controller--disabled': disabled,
622
622
  'controller--error': isInvalid
623
- }, className, !!className))
623
+ }, className, !!className)),
624
+ onClick: function onClick(e) {
625
+ return e.stopPropagation();
626
+ }
624
627
  }, /*#__PURE__*/React.createElement("input", {
625
628
  "data-id": dataId,
626
629
  type: "checkbox",
@@ -38,6 +38,6 @@ export const Checkbox = forwardRef((props, ref) => {
38
38
  'controller--disabled': disabled,
39
39
  'controller--error': isInvalid,
40
40
  [className]: !!className
41
- }), children: [_jsx("input", { "data-id": dataId, type: "checkbox", ref: inputRef, tabIndex: 0, onChange: changeHandler, checked: Boolean(isChecked), disabled: disabled }), _jsx("span", { className: "controller__icon", children: _jsx(IconDynamicComponent, { componentName: iconProps.name, size: "xxsmall", type: disabled ? 'disabled' : 'inverse', className: "controller__mark" }) }), checkboxLabel ? (_jsxs("div", { className: "controller__right", children: [_jsxs("div", { className: "flexbox", children: [checkboxLabel, checkboxLabelPopover] }), helperText ? (_jsx(Text, { size: "small", type: disabled ? 'disabled' : 'secondary', children: helperText })) : null] })) : null] }) }));
41
+ }), onClick: (e) => e.stopPropagation(), children: [_jsx("input", { "data-id": dataId, type: "checkbox", ref: inputRef, tabIndex: 0, onChange: changeHandler, checked: Boolean(isChecked), disabled: disabled }), _jsx("span", { className: "controller__icon", children: _jsx(IconDynamicComponent, { componentName: iconProps.name, size: "xxsmall", type: disabled ? 'disabled' : 'inverse', className: "controller__mark" }) }), checkboxLabel ? (_jsxs("div", { className: "controller__right", children: [_jsxs("div", { className: "flexbox", children: [checkboxLabel, checkboxLabelPopover] }), helperText ? (_jsx(Text, { size: "small", type: disabled ? 'disabled' : 'secondary', children: helperText })) : null] })) : null] }) }));
42
42
  });
43
43
  Checkbox.displayName = 'Checkbox';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hrm_ui_lib",
3
- "version": "2.4.18",
3
+ "version": "2.4.19",
4
4
  "description": "UI library for Dino",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",