@commercetools-uikit/calendar-time-utils 16.11.0 → 16.12.0
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/commercetools-uikit-calendar-time-utils.cjs.dev.js +1 -1
- package/dist/commercetools-uikit-calendar-time-utils.cjs.prod.js +1 -1
- package/dist/commercetools-uikit-calendar-time-utils.esm.js +1 -1
- package/dist/declarations/src/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/declarations/src/formats.d.ts +0 -23
|
@@ -232,7 +232,7 @@ const getLocalizedDateTimeFormatPattern = function (locale) {
|
|
|
232
232
|
};
|
|
233
233
|
|
|
234
234
|
// NOTE: This string will be replaced on build time with the package version.
|
|
235
|
-
var version = "16.
|
|
235
|
+
var version = "16.12.0";
|
|
236
236
|
|
|
237
237
|
exports.changeDateInMonth = changeDateInMonth;
|
|
238
238
|
exports.changeMonth = changeMonth;
|
|
@@ -232,7 +232,7 @@ const getLocalizedDateTimeFormatPattern = function (locale) {
|
|
|
232
232
|
};
|
|
233
233
|
|
|
234
234
|
// NOTE: This string will be replaced on build time with the package version.
|
|
235
|
-
var version = "16.
|
|
235
|
+
var version = "16.12.0";
|
|
236
236
|
|
|
237
237
|
exports.changeDateInMonth = changeDateInMonth;
|
|
238
238
|
exports.changeMonth = changeMonth;
|
|
@@ -216,6 +216,6 @@ const getLocalizedDateTimeFormatPattern = function (locale) {
|
|
|
216
216
|
};
|
|
217
217
|
|
|
218
218
|
// NOTE: This string will be replaced on build time with the package version.
|
|
219
|
-
var version = "16.
|
|
219
|
+
var version = "16.12.0";
|
|
220
220
|
|
|
221
221
|
export { changeDateInMonth, changeMonth, changeTime, createCalendarItems, createItemDateTimeToString, createSuggestedItems, formatDate, formatTime, getCalendarDayLabel, getDateInMonth, getDaysInMonth, getLocalizedDateTimeFormatPattern, getMonthCalendarLabel, getPaddingDayCount, getPreviousDay, getStartOf, getToday, getWeekdayNames, getYearCalendarLabel, isSameDay, parseInputText, version };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export { default as version } from
|
|
1
|
+
export * from "./calendar-time.js";
|
|
2
|
+
export { default as version } from "./version.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/calendar-time-utils",
|
|
3
3
|
"description": "Utilities to work with time values for a calendar.",
|
|
4
|
-
"version": "16.
|
|
4
|
+
"version": "16.12.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/utils": "16.
|
|
24
|
+
"@commercetools-uikit/utils": "16.12.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"moment-timezone": "0.5.43"
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const formatToken: {
|
|
2
|
-
readonly D: "D";
|
|
3
|
-
readonly DD: "DD";
|
|
4
|
-
readonly M: "M";
|
|
5
|
-
readonly MM: "MM";
|
|
6
|
-
readonly YY: "YY";
|
|
7
|
-
readonly YYYY: "YYYY";
|
|
8
|
-
readonly h: "h";
|
|
9
|
-
readonly hh: "hh";
|
|
10
|
-
readonly H: "H";
|
|
11
|
-
readonly HH: "HH";
|
|
12
|
-
readonly m: "m";
|
|
13
|
-
readonly mm: "mm";
|
|
14
|
-
readonly A: "A";
|
|
15
|
-
};
|
|
16
|
-
export type TLocaleDateFormatMapping = {
|
|
17
|
-
[key in keyof typeof formatToken]?: string;
|
|
18
|
-
};
|
|
19
|
-
export type TLocalizedDateFormatMapping = {
|
|
20
|
-
[locale: string]: TLocaleDateFormatMapping;
|
|
21
|
-
};
|
|
22
|
-
export declare const DATE_FORMAT_LOCALIZED_MAPPINGS: TLocalizedDateFormatMapping;
|
|
23
|
-
export {};
|