@thecb/components 4.3.4 → 4.3.5
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.cjs.js
CHANGED
|
@@ -37289,7 +37289,7 @@ var InternalUserInfoForm = function InternalUserInfoForm(_ref) {
|
|
|
37289
37289
|
return e.key === "Enter" && handleSubmit(e);
|
|
37290
37290
|
},
|
|
37291
37291
|
disabled: disabled || roleDisabled
|
|
37292
|
-
}))), formType === ADD || formType === EDIT && /*#__PURE__*/React__default.createElement(Box, {
|
|
37292
|
+
}))), (formType === ADD || formType === EDIT) && /*#__PURE__*/React__default.createElement(Box, {
|
|
37293
37293
|
padding: "0.5rem 0 1.5rem"
|
|
37294
37294
|
}, /*#__PURE__*/React__default.createElement(FormInputColumn, null, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
37295
37295
|
variant: "p"
|
package/package.json
CHANGED
|
@@ -213,24 +213,23 @@ const InternalUserInfoForm = ({
|
|
|
213
213
|
</FormInputColumn>
|
|
214
214
|
</Box>
|
|
215
215
|
)}
|
|
216
|
-
{formType === ADD ||
|
|
217
|
-
|
|
218
|
-
<
|
|
219
|
-
<
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
))}
|
|
216
|
+
{(formType === ADD || formType === EDIT) && (
|
|
217
|
+
<Box padding="0.5rem 0 1.5rem">
|
|
218
|
+
<FormInputColumn>
|
|
219
|
+
<Text variant="p">Select which agencies the user can view</Text>
|
|
220
|
+
<SearchableSelect
|
|
221
|
+
actions={actions}
|
|
222
|
+
fields={fields}
|
|
223
|
+
items={allAgencyOptions}
|
|
224
|
+
selectedItems={selectedAgencies}
|
|
225
|
+
allSelected={allSelected}
|
|
226
|
+
toggleSelectAllItems={toggleSelectAllAgencies}
|
|
227
|
+
selectItem={selectAgency}
|
|
228
|
+
disabled={disabled}
|
|
229
|
+
/>
|
|
230
|
+
</FormInputColumn>
|
|
231
|
+
</Box>
|
|
232
|
+
)}
|
|
234
233
|
<Box padding="0">
|
|
235
234
|
<Stack childGap="1rem" direction="row" justify="flex-end">
|
|
236
235
|
<ButtonWithAction
|