@nmorph/nmorph-ui-kit 0.2.99 → 0.2.101

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.
@@ -2,7 +2,7 @@ export { default as NmorphAvatar } from './nmorph-avatar/NmorphAvatar.vue';
2
2
  export { default as NmorphBadge } from './nmorph-badge/NmorphBadge.vue';
3
3
  export { default as NmorphCalendar } from './nmorph-calendar/NmorphCalendar.vue';
4
4
  export * from './nmorph-calendar/types';
5
- export * from './nmorph-calendar/locale';
5
+ export * from './nmorph-calendar/hooks/use-calendar-texts';
6
6
  export * from './nmorph-calendar/utils';
7
7
  export { default as NmorphCalendarHeader } from './nmorph-calendar/components/nmorph-calendar-header/NmorphCalendarHeader.vue';
8
8
  export { default as NmorphCard } from './nmorph-card/NmorphCard.vue';
@@ -0,0 +1,3 @@
1
+ import { useCalendarTexts } from './use-calendar-texts';
2
+
3
+ export { useCalendarTexts };
@@ -0,0 +1,4 @@
1
+ export declare const useCalendarTexts: () => {
2
+ months: string[];
3
+ days: string[];
4
+ };
@@ -4,6 +4,7 @@ import { I18n } from 'vue-i18n';
4
4
  export declare const useNmorphTranslation: (data: INmorphApplyTranslation) => I18n<{
5
5
  en: TranslateMessages;
6
6
  ru: TranslateMessages;
7
+ zh: TranslateMessages;
7
8
  } | {
8
9
  en: TranslateMessages;
9
- }, {}, {}, "en" | "ru" | Locale, true>;
10
+ }, {}, {}, "en" | "ru" | "zh" | Locale, true>;
@@ -1,4 +1,5 @@
1
1
  import { translation as en } from './en';
2
2
  import { translation as ru } from './ru';
3
+ import { translation as zh } from './zh';
3
4
 
4
- export { en, ru };
5
+ export { en, ru, zh };
@@ -0,0 +1,3 @@
1
+ import { TranslateMessages } from '../main';
2
+
3
+ export declare const translation: TranslateMessages;
@@ -364,7 +364,8 @@ export interface INmorphThemeOptions extends INmorphDynamicColors, INmorphStatic
364
364
  export type NmorphThemeMapType = Record<string, INmorphColorVariable[]>;
365
365
  export declare enum Locale {
366
366
  en = "en",
367
- ru = "ru"
367
+ ru = "ru",
368
+ zh = "zh"
368
369
  }
369
370
  export type TranslateType = Record<keyof typeof Locale, TranslateMessages>;
370
371
  export interface TranslateMessages {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@nmorph/nmorph-ui-kit",
3
3
  "type": "module",
4
4
  "private": false,
5
- "version": "0.2.99",
5
+ "version": "0.2.101",
6
6
  "license": "MIT",
7
7
  "engines": {
8
8
  "node": "18.13.0",
@@ -1 +0,0 @@
1
- export declare const monthNames: string[];