@itilite/iui-user-management 0.4.501 → 0.4.503

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.
@@ -9554,7 +9554,11 @@ var UserList = function UserList(_ref2) {
9554
9554
  width: "400px",
9555
9555
  subHanderText: "",
9556
9556
  submitBtnClass: styles$5.deactivateBtn,
9557
- isDisabledSubmitBtn: isDisabledSubmitBtn
9557
+ isDisabledSubmitBtn: isDisabledSubmitBtn,
9558
+ modalClass: "deactivateSingleModal",
9559
+ modalBodyStyle: {
9560
+ overflowY: 'unset'
9561
+ }
9558
9562
  }, /*#__PURE__*/React.createElement(IUIBox, {
9559
9563
  className: clsx(styles$5.deactivateSingle, 'iui__mb-16')
9560
9564
  }, /*#__PURE__*/React.createElement(IUIBox, {
@@ -9562,7 +9566,7 @@ var UserList = function UserList(_ref2) {
9562
9566
  }, /*#__PURE__*/React.createElement(InfoYellowIcon, {
9563
9567
  width: "9",
9564
9568
  height: "9"
9565
- }), /*#__PURE__*/React.createElement(IUITypography, null, /*#__PURE__*/React.createElement("b", null, deactivateUser), " is linked with multiple roles. You can deactivate them only once you transfer the roles to another user.")), /*#__PURE__*/React.createElement(IUIBox, {
9569
+ }), /*#__PURE__*/React.createElement(IUITypography, null, /*#__PURE__*/React.createElement("b", null, deactivateUser), " is linked with following role. You can deactivate them only once you transfer the role to another user.")), /*#__PURE__*/React.createElement(IUIBox, {
9566
9570
  className: "iui__mt-15"
9567
9571
  }, /*#__PURE__*/React.createElement(IUIAsyncSelect, {
9568
9572
  isMove: true,
@@ -9619,17 +9623,20 @@ var UserList = function UserList(_ref2) {
9619
9623
  submitHandler: handleDeactivateSafeUsers,
9620
9624
  width: "640px",
9621
9625
  customButtonClass: clsx(styles$5.deactivateCustomButtonClass),
9622
- headerText: "Deactivate users?"
9626
+ headerText: "Deactivate users?",
9627
+ modalBodyStyle: {
9628
+ maxHeight: 'calc(100vh - 50vh)'
9629
+ }
9623
9630
  }, /*#__PURE__*/React.createElement(IUIBox, {
9624
9631
  className: clsx(styles$5.deactivateAlert, styles$5.warningSvg)
9625
9632
  }, /*#__PURE__*/React.createElement(RedWarningIcon, {
9626
9633
  color: "#9A6700",
9627
9634
  size: "14"
9628
- }), /*#__PURE__*/React.createElement(IUITypography, null, "Some users are linked with multiple roles. Deactivating these users will result in missing roles and approvers. Deactivate these users individually and transfer their roles to avoid missing roles.")), /*#__PURE__*/React.createElement(IUIBox, {
9635
+ }), /*#__PURE__*/React.createElement(IUITypography, null, "Some users are linked with approval roles. Deactivating these users will result in missing roles and approvers. Deactivate these users individually and transfer their roles to avoid missing roles.")), /*#__PURE__*/React.createElement(IUIBox, {
9629
9636
  className: "iui__my-15"
9630
9637
  }, /*#__PURE__*/React.createElement(IUIBox, {
9631
9638
  className: "iui__font--para-large iui__font--weight-medium"
9632
- }, "Users with multiple roles"), /*#__PURE__*/React.createElement(IUIBox, {
9639
+ }, "Users with roles"), /*#__PURE__*/React.createElement(IUIBox, {
9633
9640
  className: "iui__font--color-black500 iui__font--size-sm iui__mt-2"
9634
9641
  }, "Deactivating these users will affect the associated approval rules."), (selectedUsersApprover === null || selectedUsersApprover === void 0 ? void 0 : selectedUsersApprover.length) && selectedUsersApprover.map(function (item, index) {
9635
9642
  var _item$data;