@antscorp/antsomi-ui 1.3.5-beta.128 → 1.3.5-beta.129

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.
@@ -35,10 +35,10 @@ export const GeneralAccess = ({ generalAccessSettings }) => {
35
35
  const renderDescription = () => {
36
36
  let description = 'Only people with access can open this item';
37
37
  if (isPublic && publicRole === PUBLIC_ROLE.ONLY_VIEWER) {
38
- description = 'Anyone on the portal can view this item.';
38
+ description = 'Anyone on the portal can view this item';
39
39
  }
40
40
  if (isPublic && publicRole === PUBLIC_ROLE.ONLY_EDITOR) {
41
- description = 'Anyone on the portal can edit this item.';
41
+ description = 'Anyone on the portal can edit this item';
42
42
  }
43
43
  return description;
44
44
  };
@@ -25,7 +25,7 @@ export const TemplateSaveAs = props => {
25
25
  const { className, shareAccess, saveOptions, imageReview, isLoadingCategories, categories, omitCategories, templateNames: templateNameList, templateNamesOptions, descriptionOptions, form, value, onChange, onEvent, } = props;
26
26
  const { show: isShowShareAccess } = shareAccess, shareAccessProps = __rest(shareAccess, ["show"]);
27
27
  const { label: imageReviewLabel } = imageReview, restImageReviewProps = __rest(imageReview, ["label"]);
28
- const { isLoading, label: templateLabel, defaultNewTemplateName = `Untitled Media Template#${dayjs().format('YYYY-MM-DD HH:mm:ss')}`, selectPlaceholder, placeholder = 'Enter your media template name', onSearch, onNamePopupScroll, onScrollToBottom, } = templateNamesOptions || {};
28
+ const { isLoading, label: templateLabel, defaultNewTemplateName = `Untitled Media Template#${dayjs().format('YYYY-MM-DD HH:mm:ss')}`, selectPlaceholder = 'Please select an item', placeholder = 'Enter your media template name', onSearch, onNamePopupScroll, onScrollToBottom, } = templateNamesOptions || {};
29
29
  const { label: descriptionLabel, placeholder: descriptionPlaceholder } = descriptionOptions || {};
30
30
  const { saveNewText = 'Save as a new media Template', saveExistText = 'Save as an existing media Template', saveNewValue = 'save-new', saveExistValue = 'save-exist', } = saveOptions || {};
31
31
  const { saveOption = saveNewValue, templateName = saveOption === saveNewValue || !saveOption
@@ -37,9 +37,9 @@ export const ThumbnailCard = memo(props => {
37
37
  // Handlers
38
38
  const handleRemoveThumbnail = e => {
39
39
  e.stopPropagation();
40
- modal.confirm(Object.assign(Object.assign({ title: 'Remove Template', centered: true, icon: React.createElement(Icon, { type: "icon-ants-info", style: { fontSize: 16, lineHeight: '25px' } }), content: (React.createElement("div", null,
40
+ modal.confirm(Object.assign(Object.assign({ title: 'Remove template', centered: true, icon: React.createElement(Icon, { type: "icon-ants-info", style: { fontSize: 16, lineHeight: '25px' } }), content: (React.createElement("div", null,
41
41
  React.createElement("p", null, "Are you sure you want to remove the template?"),
42
- React.createElement("p", null, "This action cant not be undone."))), okText: 'Remove', cancelText: 'Cancel', closable: true }, restOfRemoveTemplateModalProps), { onOk: () => __awaiter(void 0, void 0, void 0, function* () {
42
+ React.createElement("p", null, "This action can not be undone."))), okText: 'Remove', cancelText: 'Cancel', closable: true }, restOfRemoveTemplateModalProps), { onOk: () => __awaiter(void 0, void 0, void 0, function* () {
43
43
  if (onOk)
44
44
  onOk(id);
45
45
  }) }));
@@ -5,7 +5,7 @@ export const ModalContainer = styled(Modal) `
5
5
  width: fit-content !important;
6
6
 
7
7
  .antsomi-modal-content {
8
- width: 1440px;
8
+ width: 1400px;
9
9
  height: auto;
10
10
  }
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.128",
3
+ "version": "1.3.5-beta.129",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",