@commercetools-uikit/calendar-time-utils 14.0.1 → 14.0.2

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.
@@ -94,9 +94,7 @@ var createItemDateTimeToString = function createItemDateTimeToString(locale, tim
94
94
  return item ? formatDate(item, locale, timeZone) : '';
95
95
  };
96
96
  };
97
- var createCalendarItems = function createCalendarItems(day, timeString, // @deprecated
98
- // @ts-ignore
99
- intl, timeZone) {
97
+ var createCalendarItems = function createCalendarItems(day, timeString, timeZone) {
100
98
  var _context3;
101
99
 
102
100
  var parsedTime = utils.parseTime(timeString);
@@ -143,7 +141,7 @@ var parseInputText = function parseInputText(text, locale, timeZone) {
143
141
  };
144
142
 
145
143
  // NOTE: This string will be replaced on build time with the package version.
146
- var version = "14.0.1";
144
+ var version = "14.0.2";
147
145
 
148
146
  exports.changeDateInMonth = changeDateInMonth;
149
147
  exports.changeMonth = changeMonth;
@@ -94,9 +94,7 @@ var createItemDateTimeToString = function createItemDateTimeToString(locale, tim
94
94
  return item ? formatDate(item, locale, timeZone) : '';
95
95
  };
96
96
  };
97
- var createCalendarItems = function createCalendarItems(day, timeString, // @deprecated
98
- // @ts-ignore
99
- intl, timeZone) {
97
+ var createCalendarItems = function createCalendarItems(day, timeString, timeZone) {
100
98
  var _context3;
101
99
 
102
100
  var parsedTime = utils.parseTime(timeString);
@@ -143,7 +141,7 @@ var parseInputText = function parseInputText(text, locale, timeZone) {
143
141
  };
144
142
 
145
143
  // NOTE: This string will be replaced on build time with the package version.
146
- var version = "14.0.1";
144
+ var version = "14.0.2";
147
145
 
148
146
  exports.changeDateInMonth = changeDateInMonth;
149
147
  exports.changeMonth = changeMonth;
@@ -81,9 +81,7 @@ var createItemDateTimeToString = function createItemDateTimeToString(locale, tim
81
81
  return item ? formatDate(item, locale, timeZone) : '';
82
82
  };
83
83
  };
84
- var createCalendarItems = function createCalendarItems(day, timeString, // @deprecated
85
- // @ts-ignore
86
- intl, timeZone) {
84
+ var createCalendarItems = function createCalendarItems(day, timeString, timeZone) {
87
85
  var _context3;
88
86
 
89
87
  var parsedTime = parseTime(timeString);
@@ -130,6 +128,6 @@ var parseInputText = function parseInputText(text, locale, timeZone) {
130
128
  };
131
129
 
132
130
  // NOTE: This string will be replaced on build time with the package version.
133
- var version = "14.0.1";
131
+ var version = "14.0.2";
134
132
 
135
133
  export { changeDateInMonth, changeMonth, changeTime, createCalendarItems, createItemDateTimeToString, createSuggestedItems, formatDate, formatTime, getCalendarDayLabel, getDateInMonth, getDaysInMonth, getMonthCalendarLabel, getPaddingDayCount, getPreviousDay, getStartOf, getToday, getWeekdayNames, getYearCalendarLabel, isSameDay, parseInputText, version };
@@ -22,7 +22,7 @@ export declare const getYearCalendarLabel: (day: MomentInput, locale: string) =>
22
22
  export declare const isSameDay: (a: MomentInput, b: MomentInput) => boolean;
23
23
  export declare const getCalendarDayLabel: (day: MomentInput, timeZone: string) => string;
24
24
  export declare const createItemDateTimeToString: (locale: string, timeZone: string) => (item: string | null) => string;
25
- export declare const createCalendarItems: (day: MomentInput, timeString: string, intl: any, timeZone: string) => string[];
25
+ export declare const createCalendarItems: (day: MomentInput, timeString: string, 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;
28
28
  export {};
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": "14.0.1",
4
+ "version": "14.0.2",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",