@doist/reactist 15.0.0 → 15.1.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.
@@ -1205,7 +1205,7 @@ function BaseField({
1205
1205
  }, /*#__PURE__*/React.createElement(Box, {
1206
1206
  className: [className, modules_540a88ff.container, tone === 'error' ? modules_540a88ff.error : null, variant === 'bordered' ? modules_540a88ff.bordered : null],
1207
1207
  maxWidth: maxWidth
1208
- }, /*#__PURE__*/React.createElement(Box, {
1208
+ }, label || secondaryLabel || auxiliaryLabel ? /*#__PURE__*/React.createElement(Box, {
1209
1209
  as: "span",
1210
1210
  display: "flex",
1211
1211
  justifyContent: "spaceBetween",
@@ -1221,7 +1221,7 @@ function BaseField({
1221
1221
  }, "\u00A0(", secondaryLabel, ")") : null), auxiliaryLabel ? /*#__PURE__*/React.createElement(Box, {
1222
1222
  className: modules_540a88ff.auxiliaryLabel,
1223
1223
  paddingLeft: "small"
1224
- }, auxiliaryLabel) : null), children(childrenProps)), message ? /*#__PURE__*/React.createElement(FieldMessage, {
1224
+ }, auxiliaryLabel) : null) : null, children(childrenProps)), message ? /*#__PURE__*/React.createElement(FieldMessage, {
1225
1225
  id: messageId,
1226
1226
  tone: tone
1227
1227
  }, message) : null, hint ? /*#__PURE__*/React.createElement(FieldHint, {
@@ -1465,9 +1465,9 @@ const SwitchField = /*#__PURE__*/React.forwardRef(function SwitchField(_ref, ref
1465
1465
  }, hint) : null);
1466
1466
  });
1467
1467
 
1468
- var modules_2728c236 = {"container":"d6ec37c5","bordered":"a60d6043","error":"bef49c61"};
1468
+ var modules_2728c236 = {"textAreaContainer":"_61447829","bordered":"_76f4ad88","error":"_4df3452b"};
1469
1469
 
1470
- const _excluded$k = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "maxWidth"];
1470
+ const _excluded$k = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "maxWidth", "hidden", "aria-describedby"];
1471
1471
 
1472
1472
  function TextArea(_ref) {
1473
1473
  let {
@@ -1479,7 +1479,9 @@ function TextArea(_ref) {
1479
1479
  hint,
1480
1480
  message,
1481
1481
  tone,
1482
- maxWidth
1482
+ maxWidth,
1483
+ hidden,
1484
+ 'aria-describedby': ariaDescribedBy
1483
1485
  } = _ref,
1484
1486
  props = _objectWithoutProperties(_ref, _excluded$k);
1485
1487
 
@@ -1492,7 +1494,9 @@ function TextArea(_ref) {
1492
1494
  hint: hint,
1493
1495
  message: message,
1494
1496
  tone: tone,
1495
- className: [modules_2728c236.container, tone === 'error' ? modules_2728c236.error : null, variant === 'bordered' ? modules_2728c236.bordered : null],
1497
+ hidden: hidden,
1498
+ "aria-describedby": ariaDescribedBy,
1499
+ className: [modules_2728c236.textAreaContainer, tone === 'error' ? modules_2728c236.error : null, variant === 'bordered' ? modules_2728c236.bordered : null],
1496
1500
  maxWidth: maxWidth
1497
1501
  }, extraProps => /*#__PURE__*/React.createElement(Box, {
1498
1502
  width: "full",