@uncinc/uncinc-react-kitchen-sink 2.23.1 → 2.23.2
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.
|
@@ -19,7 +19,8 @@ export var Checkbox = function Checkbox(props) {
|
|
|
19
19
|
className = props.className,
|
|
20
20
|
wrapperClassName = props.wrapperClassName,
|
|
21
21
|
disabled = props.disabled,
|
|
22
|
-
id = props.id
|
|
22
|
+
id = props.id,
|
|
23
|
+
descriptionAboveInput = props.descriptionAboveInput;
|
|
23
24
|
var _useExtendedFormikCon = useExtendedFormikContext(),
|
|
24
25
|
values = _useExtendedFormikCon.values,
|
|
25
26
|
errors = _useExtendedFormikCon.errors,
|
|
@@ -49,7 +50,8 @@ export var Checkbox = function Checkbox(props) {
|
|
|
49
50
|
error: error,
|
|
50
51
|
errorId: errorId,
|
|
51
52
|
descriptionId: descriptionId,
|
|
52
|
-
displayRequiredIndicator: displayRequiredIndicator
|
|
53
|
+
displayRequiredIndicator: displayRequiredIndicator,
|
|
54
|
+
descriptionAboveInput: descriptionAboveInput
|
|
53
55
|
}, /*#__PURE__*/React.createElement(Field, {
|
|
54
56
|
required: required,
|
|
55
57
|
name: fieldName,
|
|
@@ -125,7 +125,8 @@ var Checkboxes = function Checkboxes(props) {
|
|
|
125
125
|
otherLabel = props.otherLabel,
|
|
126
126
|
otherPlaceholder = props.otherPlaceholder,
|
|
127
127
|
onChange = props.onChange,
|
|
128
|
-
includeFieldSet = props.includeFieldSet
|
|
128
|
+
includeFieldSet = props.includeFieldSet,
|
|
129
|
+
descriptionAboveInput = props.descriptionAboveInput;
|
|
129
130
|
var _useExtendedFormikCon = useExtendedFormikContext(),
|
|
130
131
|
errors = _useExtendedFormikCon.errors,
|
|
131
132
|
touched = _useExtendedFormikCon.touched,
|
|
@@ -156,7 +157,8 @@ var Checkboxes = function Checkboxes(props) {
|
|
|
156
157
|
isTouched: isTouched,
|
|
157
158
|
descriptionId: descriptionId,
|
|
158
159
|
displayRequiredIndicator: displayRequiredIndicator,
|
|
159
|
-
includeFieldSet: includeFieldSet
|
|
160
|
+
includeFieldSet: includeFieldSet,
|
|
161
|
+
descriptionAboveInput: descriptionAboveInput
|
|
160
162
|
}, Object.keys(options).map(function (item) {
|
|
161
163
|
var label = _typeof(options[item]) === 'object' ? options[item].label : options[item];
|
|
162
164
|
var value = _typeof(options[item]) === 'object' ? options[item].value : item;
|