@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.modern.js
CHANGED
|
@@ -10871,7 +10871,7 @@ const useRadioGroupFieldContext = () => {
|
|
|
10871
10871
|
return context;
|
|
10872
10872
|
};
|
|
10873
10873
|
|
|
10874
|
-
var styles$i = {"label":"_xzukU","label--truncate":"_iVWRB","radio-group-field__label":"_2KvuU"};
|
|
10874
|
+
var styles$i = {"label":"_xzukU","label--truncate":"_iVWRB","caption":"_JNfQO","radio-group-field__label":"_2KvuU","radio-group-field__caption":"_ZeIOd"};
|
|
10875
10875
|
|
|
10876
10876
|
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"};
|
|
10877
10877
|
|
|
@@ -11058,6 +11058,7 @@ const RadioGroupField = ({
|
|
|
11058
11058
|
value,
|
|
11059
11059
|
onChange,
|
|
11060
11060
|
label,
|
|
11061
|
+
caption,
|
|
11061
11062
|
error,
|
|
11062
11063
|
inline: _inline = false,
|
|
11063
11064
|
disabled: _disabled = false,
|
|
@@ -11096,7 +11097,9 @@ const RadioGroupField = ({
|
|
|
11096
11097
|
}, children) : React__default.createElement(BoxOptions, {
|
|
11097
11098
|
columns: columns,
|
|
11098
11099
|
testId: testId
|
|
11099
|
-
}, children),
|
|
11100
|
+
}, children), caption && React__default.createElement("div", {
|
|
11101
|
+
className: styles$i['radio-group-caption']
|
|
11102
|
+
}, caption), controllers.error && React__default.createElement(ErrorMessage, null, controllers.error))));
|
|
11100
11103
|
};
|
|
11101
11104
|
|
|
11102
11105
|
var styles$f = {"text-field":"_6Of1F","text-field--invalid":"_NQPNK","text-field--prefixed":"_BpQWQ","text-field--suffixed":"_cpYWb","password-container":"_pAoib","password-toggle":"_WVvS6"};
|