@doist/reactist 17.2.0 → 17.3.0

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.
@@ -1486,14 +1486,15 @@ function CheckboxIcon(_ref) {
1486
1486
  }));
1487
1487
  }
1488
1488
 
1489
- var modules_664a6a80 = {"container":"_699e1db3","disabled":"_75d63cc5","checked":"_9b28a965","keyFocused":"f892a2b4"};
1489
+ var modules_664a6a80 = {"container":"_84dfdb83","disabled":"_131a2ca4","checked":"_95b1556d","keyFocused":"_49de7ebd","icon":"_6b4b1851","label":"_9047f3bd"};
1490
1490
 
1491
- const _excluded$i = ["label", "disabled", "indeterminate", "defaultChecked", "onChange"];
1491
+ const _excluded$i = ["label", "icon", "disabled", "indeterminate", "defaultChecked", "onChange"];
1492
1492
  const CheckboxField = /*#__PURE__*/React.forwardRef(function CheckboxField(_ref, ref) {
1493
1493
  var _ref2, _props$checked, _props$checked2;
1494
1494
 
1495
1495
  let {
1496
1496
  label,
1497
+ icon,
1497
1498
  disabled,
1498
1499
  indeterminate,
1499
1500
  defaultChecked,
@@ -1555,7 +1556,14 @@ const CheckboxField = /*#__PURE__*/React.forwardRef(function CheckboxField(_ref,
1555
1556
  disabled: disabled,
1556
1557
  indeterminate: indeterminate,
1557
1558
  "aria-hidden": true
1558
- }), label ? /*#__PURE__*/React.createElement(Text, null, label) : null);
1559
+ }), icon ? /*#__PURE__*/React.createElement(Box, {
1560
+ display: "flex",
1561
+ className: modules_664a6a80.icon,
1562
+ "aria-hidden": true
1563
+ }, icon) : null, label ? /*#__PURE__*/React.createElement(Box, {
1564
+ display: "flex",
1565
+ className: modules_664a6a80.label
1566
+ }, /*#__PURE__*/React.createElement(Text, null, label)) : null);
1559
1567
  });
1560
1568
 
1561
1569
  var modules_540a88ff = {"container":"_2e189908","auxiliaryLabel":"_83051e0a","bordered":"fd20ef50","error":"d1a17d92","primaryLabel":"_75e0afa0","secondaryLabel":"d04a867d","messageIcon":"_77b2107e"};