@itilite/iui-user-management 0.3.15 → 0.3.16

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.css CHANGED
@@ -771,8 +771,13 @@
771
771
  ._25xUk ._3vGmU {
772
772
  width: 100%;
773
773
  }
774
- ._25xUk ._3-Xu_ ._tLw43 ._7TYUZ.MuiBox-root {
775
- width: 360px;
774
+ ._25xUk ._3-Xu_ ._tLw43 {
775
+ gap: 1rem;
776
+ }
777
+ ._25xUk ._3-Xu_ ._tLw43 ._7TYUZ {
778
+ display: flex;
779
+ flex-direction: column;
780
+ gap: 4px;
776
781
  }
777
782
  ._25xUk ._3-Xu_ ._tLw43 ._7TYUZ .__CZpe {
778
783
  font-family: "Inter", sans-serif;
@@ -790,6 +795,14 @@
790
795
  font-size: 0.875rem;
791
796
  line-height: 20px;
792
797
  color: #6b7280;
798
+ margin-left: 25px;
799
+ }
800
+ ._25xUk ._3-Xu_ ._tLw43 ._1qXtq {
801
+ color: #EC5D25;
802
+ margin-left: 25px;
803
+ }
804
+ ._25xUk ._3-Xu_ ._tLw43 ._1YVz2 {
805
+ margin-left: 25px;
793
806
  }
794
807
  ._25xUk ._3-Xu_ ._3vnY5 {
795
808
  gap: 16px;
package/dist/index.js CHANGED
@@ -161,52 +161,24 @@ function _catch(body, recover) {
161
161
 
162
162
  var styles = {"UUIUserManagementAddEdit":"_3n-WG","pageHeader":"_3qWcA","buttonWrapper":"_1IP9P","scrolled":"_m8f96","headingButtonWrapper":"_w9z7b","headingButtonWrapperProfile":"_12Wd9","hintText":"_ySdbZ","heading":"_2Y1Aw","headingLarge":"_2K1NF","headingMedium":"_RUuAz","headingSmall":"_23Dye","additionalInfoContainer":"_1Suhw","additionalInfoTitle":"_56iJF","titleContainer":"_H5nfl","expandIconAlign":"_3F4i0","detailsContainer":"_2G0LW","formWrapper":"_2fPRc","sectionWrapper":"_37Gqp","margin":"_2Sdl7","minGridWidth":"_2D7iu","firstRowMargin":"_1BozG","firstChildMargin":"_2C3Mb","paddingTop":"_DBPjV","backGrdColorOnHover":"_5oE6H","fieldMargin":"_RCWjq","productContainerGap":"_tuCbi","containerWidth":"_1oWos","productItemBroder":"_T0Hcd","headingPadding":"_2MFfQ","emptyFieldContainer":"_3VWtw","emptyFieldDescription":"_2jC5u","rowGap":"_1NJFY","formTitle":"_GAKk2","formDescription":"_3TZ6Z","themeLink":"_eJ_1B","dashedLine":"_3ZOs1","dividerColor":"_2pxEJ","errorTextCls":"_27eth","backdrop":"_Pm0Au","inputWidth":"_ajB82"};
163
163
 
164
- function toVal(mix) {
165
- var k,
166
- y,
167
- str = '';
168
-
169
- if (typeof mix === 'string' || typeof mix === 'number') {
170
- str += mix;
171
- } else if (typeof mix === 'object') {
172
- if (Array.isArray(mix)) {
173
- for (k = 0; k < mix.length; k++) {
174
- if (mix[k]) {
175
- if (y = toVal(mix[k])) {
176
- str && (str += ' ');
177
- str += y;
178
- }
179
- }
180
- }
181
- } else {
182
- for (k in mix) {
183
- if (mix[k]) {
184
- str && (str += ' ');
185
- str += k;
186
- }
187
- }
188
- }
164
+ function r(e) {
165
+ var t,
166
+ f,
167
+ n = "";
168
+ if ("string" == typeof e || "number" == typeof e) n += e;else if ("object" == typeof e) if (Array.isArray(e)) for (t = 0; t < e.length; t++) {
169
+ e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
170
+ } else for (t in e) {
171
+ e[t] && (n && (n += " "), n += t);
189
172
  }
190
-
191
- return str;
173
+ return n;
192
174
  }
193
175
 
194
176
  function clsx() {
195
- var i = 0,
196
- tmp,
197
- x,
198
- str = '';
199
-
200
- while (i < arguments.length) {
201
- if (tmp = arguments[i++]) {
202
- if (x = toVal(tmp)) {
203
- str && (str += ' ');
204
- str += x;
205
- }
206
- }
177
+ for (var e, t, f = 0, n = ""; f < arguments.length;) {
178
+ (e = arguments[f++]) && (t = r(e)) && (n && (n += " "), n += t);
207
179
  }
208
180
 
209
- return str;
181
+ return n;
210
182
  }
211
183
 
212
184
  var GetInputType = React__default.forwardRef(function (props, ref) {
@@ -7204,7 +7176,7 @@ var fetchBulkactionHistory = function fetchBulkactionHistory(url) {
7204
7176
  };
7205
7177
  };
7206
7178
 
7207
- var styles$5 = {"UUIUserManagementList":"_3WNHx","pageHeader":"_1WLpc","buttonWrapper":"_2egTG","headingWrapper":"_1He01","heading":"_1uPaO","headingLarge":"_2FsLd","headingMedium":"_nGXA9","headingSmall":"_2rpwF","description":"_25vb9","headerText":"_1Ny9J","letterImage":"_2hr3R","tablewrapper":"_1-RPw","rowText":"_1LXyO","textTransform":"_3kFQS","lightColor":"_3Ghgw","avatarClassName":"_2qO_X","importModalBodyContainer":"_25xUk","dividerColor":"_2HZv9","w100":"_3vGmU","downloadTemplateContainer":"_3-Xu_","downloadTemplateDescContainer":"_tLw43","labelContainer":"_7TYUZ","downlTempHeader":"__CZpe","downlTempDescription":"_19jEe","colGap":"_3vnY5","deActivateModalContainer":"_28H9H","backdrop":"_1ky1x","errorText":"_26_if"};
7179
+ var styles$5 = {"UUIUserManagementList":"_3WNHx","pageHeader":"_1WLpc","buttonWrapper":"_2egTG","headingWrapper":"_1He01","heading":"_1uPaO","headingLarge":"_2FsLd","headingMedium":"_nGXA9","headingSmall":"_2rpwF","description":"_25vb9","headerText":"_1Ny9J","letterImage":"_2hr3R","tablewrapper":"_1-RPw","rowText":"_1LXyO","textTransform":"_3kFQS","lightColor":"_3Ghgw","avatarClassName":"_2qO_X","importModalBodyContainer":"_25xUk","dividerColor":"_2HZv9","w100":"_3vGmU","downloadTemplateContainer":"_3-Xu_","downloadTemplateDescContainer":"_tLw43","labelContainer":"_7TYUZ","downlTempHeader":"__CZpe","downlTempDescription":"_19jEe","downloadTemplateButton":"_1qXtq","fileUploaderContainer":"_1YVz2","colGap":"_3vnY5","deActivateModalContainer":"_28H9H","backdrop":"_1ky1x","errorText":"_26_if"};
7208
7180
 
7209
7181
  var BulkUploadModal = function BulkUploadModal(props) {
7210
7182
  var isOpenImportUsersModal = props.isOpenImportUsersModal,
@@ -7346,10 +7318,10 @@ var BulkUploadModal = function BulkUploadModal(props) {
7346
7318
  submitHandler: handleBulkUploading,
7347
7319
  width: "640px",
7348
7320
  headerText: "Import users using XLSX file",
7349
- footerStyle: {
7350
- justifyContent: 'center'
7351
- },
7352
- isDisabledSubmitBtn: fileNames.length === 0 || isFileUploading || isError
7321
+ isDisabledSubmitBtn: fileNames.length === 0 || isFileUploading || isError,
7322
+ modalBodyStyle: {
7323
+ padding: '40px 24px 0px'
7324
+ }
7353
7325
  }, /*#__PURE__*/React__default.createElement(iuistyles.IUIGrid, {
7354
7326
  container: true,
7355
7327
  className: styles$5.importModalBodyContainer
@@ -7363,19 +7335,20 @@ var BulkUploadModal = function BulkUploadModal(props) {
7363
7335
  className: styles$5.downloadTemplateContainer
7364
7336
  }, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
7365
7337
  display: "flex",
7366
- flexDirection: "row",
7338
+ flexDirection: "column",
7367
7339
  justifyContent: "space-between",
7368
7340
  className: styles$5.downloadTemplateDescContainer
7369
7341
  }, /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
7370
7342
  className: styles$5.labelContainer
7371
7343
  }, /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
7372
7344
  className: styles$5.downlTempHeader
7373
- }, "1. Download the template"), /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
7345
+ }, "1.\xA0\xA0 Download the template"), /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
7374
7346
  className: styles$5.downlTempDescription
7375
7347
  }, "Use this template with predefined columns and add users to your team")), /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, null, /*#__PURE__*/React__default.createElement(iuistyles.IUIButton, {
7376
- type: "text",
7348
+ type: "outlined",
7377
7349
  buttonText: "Download template",
7378
7350
  onClick: downloadTemplate,
7351
+ className: styles$5.downloadTemplateButton,
7379
7352
  isLink: true
7380
7353
  })))), /*#__PURE__*/React__default.createElement(iuistyles.IUIDivider, {
7381
7354
  className: clsx(styles$5.dividerColor, styles$5.w100)
@@ -7395,13 +7368,15 @@ var BulkUploadModal = function BulkUploadModal(props) {
7395
7368
  className: styles$5.labelContainer
7396
7369
  }, /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
7397
7370
  className: styles$5.downlTempHeader
7398
- }, "2. Upload XLSX"), /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
7371
+ }, "2.\xA0\xA0 Upload XLSX"), /*#__PURE__*/React__default.createElement(iuistyles.IUITypography, {
7399
7372
  className: styles$5.downlTempDescription
7400
- }, "Once you\u2019ve filled out the file, upload it here")), /*#__PURE__*/React__default.createElement(iuistyles.IUIDropzone, {
7373
+ }, "Once you\u2019ve filled out the file, upload it here")), /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
7374
+ className: styles$5.fileUploaderContainer
7375
+ }, /*#__PURE__*/React__default.createElement(iuistyles.IUIDropzone, {
7401
7376
  handleDrop: handleDrop,
7402
7377
  fileNames: fileNames,
7403
7378
  removeSelectedFiles: removeSelectedFiles
7404
- }), isError && /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
7379
+ })), isError && /*#__PURE__*/React__default.createElement(iuistyles.IUIBox, {
7405
7380
  display: "flex",
7406
7381
  alignItems: "center",
7407
7382
  style: {