@7shifts/sous-chef 3.58.0 → 3.59.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.
package/dist/index.js
CHANGED
|
@@ -10717,7 +10717,7 @@ var useRadioGroupFieldContext = function useRadioGroupFieldContext() {
|
|
|
10717
10717
|
return context;
|
|
10718
10718
|
};
|
|
10719
10719
|
|
|
10720
|
-
var styles$i = {"label":"_xzukU","label--truncate":"_iVWRB","radio-group-field__label":"_2KvuU"};
|
|
10720
|
+
var styles$i = {"label":"_xzukU","label--truncate":"_iVWRB","caption":"_JNfQO","radio-group-field__label":"_2KvuU","radio-group-field__caption":"_ZeIOd"};
|
|
10721
10721
|
|
|
10722
10722
|
var styles$h = {"label":"_s7mjc","label--truncate":"_dZjDs","caption":"_JIw-5","radio-group-box-option":"_IIX-P","radio-group-box-option__box":"_P588B","radio-group-box-option__box--disabled":"_Ir3Og","radio-group-box-option__label":"_U--9r","radio-group-box-option__label--disabled":"_Lvxmy","radio-group-box-option__caption":"_NC-bO","radio-group-box-option__caption--disabled":"_04Cjp"};
|
|
10723
10723
|
|
|
@@ -10900,6 +10900,7 @@ var RadioGroupField = function RadioGroupField(_ref) {
|
|
|
10900
10900
|
value = _ref.value,
|
|
10901
10901
|
onChange = _ref.onChange,
|
|
10902
10902
|
label = _ref.label,
|
|
10903
|
+
caption = _ref.caption,
|
|
10903
10904
|
error = _ref.error,
|
|
10904
10905
|
_ref$inline = _ref.inline,
|
|
10905
10906
|
inline = _ref$inline === void 0 ? false : _ref$inline,
|
|
@@ -10939,7 +10940,9 @@ var RadioGroupField = function RadioGroupField(_ref) {
|
|
|
10939
10940
|
}, children) : React__default["default"].createElement(BoxOptions, {
|
|
10940
10941
|
columns: columns,
|
|
10941
10942
|
testId: testId
|
|
10942
|
-
}, children),
|
|
10943
|
+
}, children), caption && React__default["default"].createElement("div", {
|
|
10944
|
+
className: styles$i['radio-group-caption']
|
|
10945
|
+
}, caption), controllers.error && React__default["default"].createElement(ErrorMessage, null, controllers.error))));
|
|
10943
10946
|
};
|
|
10944
10947
|
|
|
10945
10948
|
var styles$f = {"text-field":"_6Of1F","text-field--invalid":"_NQPNK","text-field--prefixed":"_BpQWQ","text-field--suffixed":"_cpYWb","password-container":"_pAoib","password-toggle":"_WVvS6"};
|