@commercetools-uikit/calendar-time-utils 12.2.4 → 13.0.1
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 +2 -2
- package/dist/commercetools-uikit-calendar-time-utils.cjs.prod.js +2 -2
- package/dist/commercetools-uikit-calendar-time-utils.esm.js +2 -2
- package/dist/declarations/src/calendar-time.d.ts +1 -1
- package/dist/declarations/src/version.d.ts +1 -1
- package/package.json +5 -9
|
@@ -142,8 +142,8 @@ var parseInputText = function parseInputText(text, locale, timeZone) {
|
|
|
142
142
|
return '';
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
// NOTE: This string will be replaced
|
|
146
|
-
var version =
|
|
145
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
146
|
+
var version = "13.0.1";
|
|
147
147
|
|
|
148
148
|
exports.changeDateInMonth = changeDateInMonth;
|
|
149
149
|
exports.changeMonth = changeMonth;
|
|
@@ -142,8 +142,8 @@ var parseInputText = function parseInputText(text, locale, timeZone) {
|
|
|
142
142
|
return '';
|
|
143
143
|
};
|
|
144
144
|
|
|
145
|
-
// NOTE: This string will be replaced
|
|
146
|
-
var version =
|
|
145
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
146
|
+
var version = "13.0.1";
|
|
147
147
|
|
|
148
148
|
exports.changeDateInMonth = changeDateInMonth;
|
|
149
149
|
exports.changeMonth = changeMonth;
|
|
@@ -129,7 +129,7 @@ var parseInputText = function parseInputText(text, locale, timeZone) {
|
|
|
129
129
|
return '';
|
|
130
130
|
};
|
|
131
131
|
|
|
132
|
-
// NOTE: This string will be replaced
|
|
133
|
-
var version =
|
|
132
|
+
// NOTE: This string will be replaced on build time with the package version.
|
|
133
|
+
var version = "13.0.1";
|
|
134
134
|
|
|
135
135
|
export { changeDateInMonth, changeMonth, changeTime, createCalendarItems, createItemDateTimeToString, createSuggestedItems, formatDate, formatTime, getCalendarDayLabel, getDateInMonth, getDaysInMonth, getMonthCalendarLabel, getPaddingDayCount, getPreviousDay, getStartOf, getToday, getWeekdayNames, getYearCalendarLabel, isSameDay, parseInputText, version };
|
|
@@ -21,7 +21,7 @@ export declare const getMonthCalendarLabel: (day: MomentInput, locale: string) =
|
|
|
21
21
|
export declare const getYearCalendarLabel: (day: MomentInput, locale: string) => string;
|
|
22
22
|
export declare const isSameDay: (a: MomentInput, b: MomentInput) => boolean;
|
|
23
23
|
export declare const getCalendarDayLabel: (day: MomentInput, timeZone: string) => string;
|
|
24
|
-
export declare const createItemDateTimeToString: (locale: string, timeZone: string) => (item: string) => string;
|
|
24
|
+
export declare const createItemDateTimeToString: (locale: string, timeZone: string) => (item: string | null) => string;
|
|
25
25
|
export declare const createCalendarItems: (day: MomentInput, timeString: string, intl: any, timeZone: string) => string[];
|
|
26
26
|
export declare const createSuggestedItems: (inputValue: string, timeZone: string) => string[];
|
|
27
27
|
export declare const parseInputText: (text: string, locale: string, timeZone: string) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "
|
|
1
|
+
declare const _default: "__@UI_KIT_PACKAGE/VERSION_OF_RELEASE__";
|
|
2
2
|
export default _default;
|
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": "
|
|
4
|
+
"version": "13.0.1",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"homepage": "https://uikit.commercetools.com",
|
|
12
12
|
"keywords": ["javascript", "design system", "react", "uikit"],
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"private": false,
|
|
15
14
|
"publishConfig": {
|
|
16
15
|
"access": "public"
|
|
17
16
|
},
|
|
@@ -19,16 +18,13 @@
|
|
|
19
18
|
"main": "dist/commercetools-uikit-calendar-time-utils.cjs.js",
|
|
20
19
|
"module": "dist/commercetools-uikit-calendar-time-utils.esm.js",
|
|
21
20
|
"files": ["dist"],
|
|
22
|
-
"scripts": {
|
|
23
|
-
"prepare": "../../scripts/version.js replace"
|
|
24
|
-
},
|
|
25
21
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "7.
|
|
27
|
-
"@babel/runtime-corejs3": "7.
|
|
28
|
-
"@commercetools-uikit/utils": "12.2.
|
|
22
|
+
"@babel/runtime": "7.17.2",
|
|
23
|
+
"@babel/runtime-corejs3": "7.17.2",
|
|
24
|
+
"@commercetools-uikit/utils": "12.2.9"
|
|
29
25
|
},
|
|
30
26
|
"devDependencies": {
|
|
31
|
-
"moment-timezone": "0.5.
|
|
27
|
+
"moment-timezone": "0.5.34"
|
|
32
28
|
},
|
|
33
29
|
"peerDependencies": {
|
|
34
30
|
"moment-timezone": "0.5.x"
|