@antscorp/antsomi-ui 1.3.5-beta.626 → 1.3.5-beta.627

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.
@@ -1,4 +1,7 @@
1
1
  import React from 'react';
2
+ // Locate
3
+ import i18nInstance from '@antscorp/antsomi-ui/es/locales/i18n';
4
+ import { translations } from '@antscorp/antsomi-ui/es/locales/translations';
2
5
  import { Typography } from '../../../../../../atoms';
3
6
  // Assets
4
7
  import recommendationHumanImage from '@antscorp/antsomi-ui/es/assets/images/components/Layout/recommendation-human.png';
@@ -6,7 +9,7 @@ import recommendationHumanImage from '@antscorp/antsomi-ui/es/assets/images/comp
6
9
  import { ImageWrapper, MessageWrapper, RecommendationImageWrapper } from './styled';
7
10
  export const RecommendationImage = () => (React.createElement(RecommendationImageWrapper, null,
8
11
  React.createElement(MessageWrapper, null,
9
- React.createElement(Typography.Paragraph, null, `Having Trouble Navigating the New Menus? Let's Map Functions Together!`),
12
+ React.createElement(Typography.Paragraph, null, i18nInstance.t(translations.layout.recommendationText).toString()),
10
13
  React.createElement("div", { className: "arrow-triangle-down" })),
11
14
  React.createElement(ImageWrapper, null,
12
15
  React.createElement("img", { src: recommendationHumanImage, alt: "" }))));
@@ -660,6 +660,9 @@
660
660
  "_standard": "Standard"
661
661
  }
662
662
  },
663
+ "layout": {
664
+ "recommendationText": "Having trouble navigating the new menus? Let's map functions together!"
665
+ },
663
666
  "accessDenied": {
664
667
  "title": "Access Denied",
665
668
  "subTitle": "You don’t have permission to access this feature",
@@ -662,6 +662,9 @@ export declare const translationsJson: {
662
662
  _standard: string;
663
663
  };
664
664
  };
665
+ layout: {
666
+ recommendationText: string;
667
+ };
665
668
  accessDenied: {
666
669
  title: string;
667
670
  subTitle: string;
@@ -893,6 +896,9 @@ export declare const translationsJson: {
893
896
  _standard: string;
894
897
  };
895
898
  };
899
+ layout: {
900
+ recommendationText: string;
901
+ };
896
902
  accessDenied: {
897
903
  title: string;
898
904
  subTitle: string;
@@ -662,6 +662,9 @@ export declare const convertLanguageJsonToObject: (json: any, objToConvertTo?: C
662
662
  _standard: string;
663
663
  };
664
664
  };
665
+ layout: {
666
+ recommendationText: string;
667
+ };
665
668
  accessDenied: {
666
669
  title: string;
667
670
  subTitle: string;
@@ -210,6 +210,9 @@
210
210
  "_standard": "Tiêu chuẩn"
211
211
  }
212
212
  },
213
+ "layout": {
214
+ "recommendationText": "Bạn gặp khó khăn trong việc định vị menu? Cùng tôi ánh xạ menu nào!"
215
+ },
213
216
  "accessDenied": {
214
217
  "title": "Truy cập bị từ chối",
215
218
  "subTitle": "Bạn không có quyền truy cập tính năng này",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.626",
3
+ "version": "1.3.5-beta.627",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",