@commercetools-uikit/calendar-utils 16.10.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-utils.cjs.dev.js +1 -1
- package/dist/commercetools-uikit-calendar-utils.cjs.prod.js +1 -1
- package/dist/commercetools-uikit-calendar-utils.esm.js +1 -1
- package/dist/declarations/src/calendar-body/index.d.ts +1 -1
- package/dist/declarations/src/calendar-content/index.d.ts +1 -1
- package/dist/declarations/src/calendar-day/index.d.ts +1 -1
- package/dist/declarations/src/calendar-header/index.d.ts +1 -1
- package/dist/declarations/src/calendar-menu/index.d.ts +1 -1
- package/dist/declarations/src/index.d.ts +7 -7
- package/package.json +12 -12
- package/dist/declarations/src/calendar-body/calendar-body.styles.d.ts +0 -9
- package/dist/declarations/src/calendar-header/messages.d.ts +0 -28
|
@@ -644,7 +644,7 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
644
644
|
} : {};
|
|
645
645
|
|
|
646
646
|
// NOTE: This string will be replaced on build time with the package version.
|
|
647
|
-
var version = "16.
|
|
647
|
+
var version = "16.12.0";
|
|
648
648
|
|
|
649
649
|
exports.CalendarBody = CalendarBody$1;
|
|
650
650
|
exports.CalendarContent = CalendarContent$1;
|
|
@@ -552,7 +552,7 @@ CalendarMenu.displayName = 'CalendarMenu';
|
|
|
552
552
|
CalendarMenu.propTypes = {};
|
|
553
553
|
|
|
554
554
|
// NOTE: This string will be replaced on build time with the package version.
|
|
555
|
-
var version = "16.
|
|
555
|
+
var version = "16.12.0";
|
|
556
556
|
|
|
557
557
|
exports.CalendarBody = CalendarBody$1;
|
|
558
558
|
exports.CalendarContent = CalendarContent$1;
|
|
@@ -613,6 +613,6 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
613
613
|
} : {};
|
|
614
614
|
|
|
615
615
|
// NOTE: This string will be replaced on build time with the package version.
|
|
616
|
-
var version = "16.
|
|
616
|
+
var version = "16.12.0";
|
|
617
617
|
|
|
618
618
|
export { CalendarBody$1 as CalendarBody, CalendarContent$1 as CalendarContent, CalendarDay$1 as CalendarDay, CalendarHeader$1 as CalendarHeader, CalendarMenu, changeMonth, createCalendarItems, createItemRangeToString, createItemToString, formatDate, formatRange, getCalendarDayLabel, getDateInMonth, getDaysInMonth, getExampleDateStrings, getIsDateInRange, getMonthCalendarLabel, getNextDay, getPaddingDayCount, getPreviousDay, getToday, getWeekdayNames, getYearCalendarLabel, isBetween, isSameDay, parseInputToDate, version };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./calendar-body.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./calendar-content.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./calendar-day.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./calendar-header.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./calendar-menu.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export { default as CalendarBody } from
|
|
3
|
-
export { default as CalendarContent } from
|
|
4
|
-
export { default as CalendarDay } from
|
|
5
|
-
export { default as CalendarHeader } from
|
|
6
|
-
export { default as CalendarMenu } from
|
|
7
|
-
export { default as version } from
|
|
1
|
+
export * from "./calendar.js";
|
|
2
|
+
export { default as CalendarBody } from "./calendar-body/index.js";
|
|
3
|
+
export { default as CalendarContent } from "./calendar-content/index.js";
|
|
4
|
+
export { default as CalendarDay } from "./calendar-day/index.js";
|
|
5
|
+
export { default as CalendarHeader } from "./calendar-header/index.js";
|
|
6
|
+
export { default as CalendarMenu } from "./calendar-menu/index.js";
|
|
7
|
+
export { default as version } from "./version.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/calendar-utils",
|
|
3
3
|
"description": "Utilities to work with 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,21 +21,21 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "16.
|
|
25
|
-
"@commercetools-uikit/design-system": "16.
|
|
26
|
-
"@commercetools-uikit/hooks": "16.
|
|
27
|
-
"@commercetools-uikit/icons": "16.
|
|
28
|
-
"@commercetools-uikit/input-utils": "16.
|
|
29
|
-
"@commercetools-uikit/secondary-icon-button": "16.
|
|
30
|
-
"@commercetools-uikit/spacings-inline": "16.
|
|
31
|
-
"@commercetools-uikit/text": "16.
|
|
32
|
-
"@commercetools-uikit/tooltip": "16.
|
|
33
|
-
"@commercetools-uikit/utils": "16.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "16.12.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "16.12.0",
|
|
26
|
+
"@commercetools-uikit/hooks": "16.12.0",
|
|
27
|
+
"@commercetools-uikit/icons": "16.12.0",
|
|
28
|
+
"@commercetools-uikit/input-utils": "16.12.0",
|
|
29
|
+
"@commercetools-uikit/secondary-icon-button": "16.12.0",
|
|
30
|
+
"@commercetools-uikit/spacings-inline": "16.12.0",
|
|
31
|
+
"@commercetools-uikit/text": "16.12.0",
|
|
32
|
+
"@commercetools-uikit/tooltip": "16.12.0",
|
|
33
|
+
"@commercetools-uikit/utils": "16.12.0",
|
|
34
34
|
"@emotion/react": "^11.10.5",
|
|
35
35
|
"@emotion/styled": "^11.10.5",
|
|
36
36
|
"lodash": "4.17.21",
|
|
37
37
|
"prop-types": "15.8.1",
|
|
38
|
-
"react-select": "5.
|
|
38
|
+
"react-select": "5.8.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"moment": "2.29.4",
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { TCalendarBody } from './calendar-body';
|
|
2
|
-
declare const getClearSectionStyles: () => import("@emotion/utils").SerializedStyles;
|
|
3
|
-
type TState = {
|
|
4
|
-
isFocused: boolean;
|
|
5
|
-
};
|
|
6
|
-
declare const getCalendarIconContainerStyles: (props: TCalendarBody, state: TState) => import("@emotion/utils").SerializedStyles[];
|
|
7
|
-
declare const getInputContainerStyles: (props: TCalendarBody, state: TState) => (false | import("@emotion/utils").SerializedStyles | undefined)[];
|
|
8
|
-
declare const getDateTimeInputStyles: (props: TCalendarBody) => import("@emotion/utils").SerializedStyles[];
|
|
9
|
-
export { getClearSectionStyles, getInputContainerStyles, getDateTimeInputStyles, getCalendarIconContainerStyles, };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
todayTooltip: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
previousMonthTooltip: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
nextMonthTooltip: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
previousYearTooltip: {
|
|
18
|
-
id: string;
|
|
19
|
-
description: string;
|
|
20
|
-
defaultMessage: string;
|
|
21
|
-
};
|
|
22
|
-
nextYearTooltip: {
|
|
23
|
-
id: string;
|
|
24
|
-
description: string;
|
|
25
|
-
defaultMessage: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export default _default;
|