@nmorph/nmorph-ui-kit 0.2.100 → 0.2.102
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.es.js +2943 -2856
- package/dist/index.umd.js +5 -5
- package/dist/src/components/data/index.d.ts +1 -1
- package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +1 -1
- package/dist/src/components/data/nmorph-calendar/hooks/index.d.ts +3 -0
- package/dist/src/components/data/nmorph-calendar/hooks/use-calendar-texts.d.ts +4 -0
- package/dist/src/components/data/nmorph-calendar/utils.d.ts +1 -1
- package/dist/src/hooks/use-nmorph-translation.d.ts +2 -1
- package/dist/src/locales/index.d.ts +2 -1
- package/dist/src/locales/zh.d.ts +3 -0
- package/dist/src/types/index.d.ts +2 -1
- package/package.json +1 -1
- package/dist/src/components/data/nmorph-calendar/locale.d.ts +0 -1
|
@@ -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/
|
|
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';
|
|
@@ -5,6 +5,6 @@ export declare const getDecadeYears: (year: number) => any[];
|
|
|
5
5
|
export declare const formatDateIntl: (date: NmorphSelectedDateModelType) => string | string[];
|
|
6
6
|
export declare const hasAnyRangeDateInPrevMonth: (currentDate: Date, prevMonthRange: Date) => boolean;
|
|
7
7
|
export declare const hasAnyRangeDateInNextMonth: (currentDate: Date, nextMonthRange: Date) => boolean;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const isTodayInMonthRange: (range: NmorphCalendarRangeType) => boolean;
|
|
9
9
|
export declare const getMonthName: (monthIndex: number) => string;
|
|
10
10
|
export declare const getMonthDaysByWeek: (selectedDate: Ref<Date>, range: NmorphCalendarRangeType | undefined) => NmorphCalendarDatesType[];
|
|
@@ -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>;
|
|
@@ -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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const monthNames: string[];
|