wix-design-systems-locale-utils
Advanced tools
Comparing version 1.150.0 to 1.151.0
export declare const dateTimeFormat: { | ||
getShortDate: (locale: "en" | "en-US" | "en-GB" | "en-AU" | "en-CA" | "ar" | "bg" | "ca" | "zh" | "zh-TW" | "zh-HK" | "zh-MO" | "cs" | "da" | "nl" | "fi" | "fr" | "fr-CA" | "fr-CH" | "fr-BE" | "de" | "de-CH" | "de-AT" | "el" | "he" | "hi" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "ms" | "no" | "nb" | "nn" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "es" | "es-419" | "es-AR" | "es-MX" | "es-US" | "sv" | "tl" | "th" | "tr" | "uk" | "vi", date: Date) => string | undefined; | ||
getMediumDate: (locale: "en" | "en-US" | "en-GB" | "en-AU" | "en-CA" | "ar" | "bg" | "ca" | "zh" | "zh-TW" | "zh-HK" | "zh-MO" | "cs" | "da" | "nl" | "fi" | "fr" | "fr-CA" | "fr-CH" | "fr-BE" | "de" | "de-CH" | "de-AT" | "el" | "he" | "hi" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "ms" | "no" | "nb" | "nn" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "es" | "es-419" | "es-AR" | "es-MX" | "es-US" | "sv" | "tl" | "th" | "tr" | "uk" | "vi", date: Date) => string; | ||
getLongDate: (locale: "en" | "en-US" | "en-GB" | "en-AU" | "en-CA" | "ar" | "bg" | "ca" | "zh" | "zh-TW" | "zh-HK" | "zh-MO" | "cs" | "da" | "nl" | "fi" | "fr" | "fr-CA" | "fr-CH" | "fr-BE" | "de" | "de-CH" | "de-AT" | "el" | "he" | "hi" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "ms" | "no" | "nb" | "nn" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "es" | "es-419" | "es-AR" | "es-MX" | "es-US" | "sv" | "tl" | "th" | "tr" | "uk" | "vi", date: Date) => string; | ||
getShortTime: (locale: "en" | "en-US" | "en-GB" | "en-AU" | "en-CA" | "ar" | "bg" | "ca" | "zh" | "zh-TW" | "zh-HK" | "zh-MO" | "cs" | "da" | "nl" | "fi" | "fr" | "fr-CA" | "fr-CH" | "fr-BE" | "de" | "de-CH" | "de-AT" | "el" | "he" | "hi" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "ms" | "no" | "nb" | "nn" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "es" | "es-419" | "es-AR" | "es-MX" | "es-US" | "sv" | "tl" | "th" | "tr" | "uk" | "vi", date: Date) => string | undefined; | ||
getLongTime: (locale: "en" | "en-US" | "en-GB" | "en-AU" | "en-CA" | "ar" | "bg" | "ca" | "zh" | "zh-TW" | "zh-HK" | "zh-MO" | "cs" | "da" | "nl" | "fi" | "fr" | "fr-CA" | "fr-CH" | "fr-BE" | "de" | "de-CH" | "de-AT" | "el" | "he" | "hi" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "ms" | "no" | "nb" | "nn" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "es" | "es-419" | "es-AR" | "es-MX" | "es-US" | "sv" | "tl" | "th" | "tr" | "uk" | "vi", date: Date) => string | undefined; | ||
getYear: (locale: "en" | "en-US" | "en-GB" | "en-AU" | "en-CA" | "ar" | "bg" | "ca" | "zh" | "zh-TW" | "zh-HK" | "zh-MO" | "cs" | "da" | "nl" | "fi" | "fr" | "fr-CA" | "fr-CH" | "fr-BE" | "de" | "de-CH" | "de-AT" | "el" | "he" | "hi" | "hu" | "id" | "it" | "ja" | "ko" | "lt" | "ms" | "no" | "nb" | "nn" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "es" | "es-419" | "es-AR" | "es-MX" | "es-US" | "sv" | "tl" | "th" | "tr" | "uk" | "vi", date: Date) => string; | ||
getShortDate: (locale: import("..").SupportedWixLocales, date: Date) => string; | ||
getMediumDate: (locale: import("..").SupportedWixLocales, date: Date) => string; | ||
getLongDate: (locale: import("..").SupportedWixLocales, date: Date) => string; | ||
getShortTime: (locale: import("..").SupportedWixLocales, date: Date) => string; | ||
getLongTime: (locale: import("..").SupportedWixLocales, date: Date) => string; | ||
getYear: (locale: import("..").SupportedWixLocales, date: Date) => string; | ||
}; | ||
//# sourceMappingURL=dateTimeFormat.d.ts.map |
@@ -7,3 +7,3 @@ import { SupportedWixLocales } from '../../constants'; | ||
*/ | ||
export declare const getLongTime: (locale: SupportedWixLocales, date: Date) => string | undefined; | ||
export declare const getLongTime: (locale: SupportedWixLocales, date: Date) => string; | ||
//# sourceMappingURL=getLongTime.d.ts.map |
@@ -7,3 +7,3 @@ import { SupportedWixLocales } from '../../constants'; | ||
*/ | ||
export declare const getShortDate: (locale: SupportedWixLocales, date: Date) => string | undefined; | ||
export declare const getShortDate: (locale: SupportedWixLocales, date: Date) => string; | ||
//# sourceMappingURL=getShortDate.d.ts.map |
@@ -7,3 +7,3 @@ import { SupportedWixLocales } from '../../constants'; | ||
*/ | ||
export declare const getShortTime: (locale: SupportedWixLocales, date: Date) => string | undefined; | ||
export declare const getShortTime: (locale: SupportedWixLocales, date: Date) => string; | ||
//# sourceMappingURL=getShortTime.d.ts.map |
{ | ||
"name": "wix-design-systems-locale-utils", | ||
"version": "1.150.0", | ||
"version": "1.151.0", | ||
"main": "dist/cjs/index.js", | ||
@@ -20,13 +20,13 @@ "module": "dist/esm/index.js", | ||
"dependencies": { | ||
"@babel/runtime": "^7.24.0" | ||
"@babel/runtime": "^7.25.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^27.5.2", | ||
"@types/node": "^18.19.23", | ||
"@wix/eslint-config-yoshi": "^6.95.2", | ||
"@wix/jest-yoshi-preset": "^6.95.2", | ||
"@wix/yoshi-flow-library": "^6.95.2", | ||
"express": "^4.18.3", | ||
"@types/node": "^18.19.44", | ||
"@wix/eslint-config-yoshi": "^6.97.0", | ||
"@wix/jest-yoshi-preset": "^6.97.0", | ||
"@wix/yoshi-flow-library": "^6.97.0", | ||
"express": "^4.19.2", | ||
"ts-jest": "^27.1.5", | ||
"typescript": "^5.4.2" | ||
"typescript": "^5.5.4" | ||
}, | ||
@@ -45,3 +45,3 @@ "jest": { | ||
}, | ||
"falconPackageHash": "bd1721015b3da431f6a349248e24ec4558e0e0090079daf737b31b02" | ||
"falconPackageHash": "b12974ad77ddb193776e68a37a3e55eb69c263ad3f2a54d949a1f9bb" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
135449
735
Updated@babel/runtime@^7.25.0