@commercetools-uikit/calendar-utils 15.2.2 → 15.2.4
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.
|
@@ -452,7 +452,7 @@ var CalendarBody$1 = CalendarBody;
|
|
|
452
452
|
|
|
453
453
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$3() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
454
454
|
|
|
455
|
-
var CalendarContent = _styled__default["default"]("ul", process.env.NODE_ENV === "production" ? {
|
|
455
|
+
var CalendarContent = /*#__PURE__*/_styled__default["default"]("ul", process.env.NODE_ENV === "production" ? {
|
|
456
456
|
target: "e17zfb0v0"
|
|
457
457
|
} : {
|
|
458
458
|
target: "e17zfb0v0",
|
|
@@ -588,7 +588,7 @@ var messages = reactIntl.defineMessages({
|
|
|
588
588
|
|
|
589
589
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$1() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
590
590
|
|
|
591
|
-
var WrapperComponent = _styled__default["default"]("div", process.env.NODE_ENV === "production" ? {
|
|
591
|
+
var WrapperComponent = /*#__PURE__*/_styled__default["default"]("div", process.env.NODE_ENV === "production" ? {
|
|
592
592
|
target: "e1q1nv850"
|
|
593
593
|
} : {
|
|
594
594
|
target: "e1q1nv850",
|
|
@@ -767,7 +767,7 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
767
767
|
} : {};
|
|
768
768
|
|
|
769
769
|
// NOTE: This string will be replaced on build time with the package version.
|
|
770
|
-
var version = "15.2.
|
|
770
|
+
var version = "15.2.4";
|
|
771
771
|
|
|
772
772
|
exports.CalendarBody = CalendarBody$1;
|
|
773
773
|
exports.CalendarContent = CalendarContent$1;
|
|
@@ -411,7 +411,7 @@ CalendarBody.displayName = 'CalendarBody';
|
|
|
411
411
|
CalendarBody.defaultProps = defaultProps;
|
|
412
412
|
var CalendarBody$1 = CalendarBody;
|
|
413
413
|
|
|
414
|
-
var CalendarContent = _styled__default["default"]("ul", {
|
|
414
|
+
var CalendarContent = /*#__PURE__*/_styled__default["default"]("ul", {
|
|
415
415
|
target: "e17zfb0v0"
|
|
416
416
|
} )({
|
|
417
417
|
name: "1en5ct5",
|
|
@@ -520,7 +520,7 @@ var messages = reactIntl.defineMessages({
|
|
|
520
520
|
}
|
|
521
521
|
});
|
|
522
522
|
|
|
523
|
-
var WrapperComponent = _styled__default["default"]("div", {
|
|
523
|
+
var WrapperComponent = /*#__PURE__*/_styled__default["default"]("div", {
|
|
524
524
|
target: "e1q1nv850"
|
|
525
525
|
} )({
|
|
526
526
|
name: "zjik7",
|
|
@@ -670,7 +670,7 @@ CalendarMenu.displayName = 'CalendarMenu';
|
|
|
670
670
|
CalendarMenu.propTypes = {};
|
|
671
671
|
|
|
672
672
|
// NOTE: This string will be replaced on build time with the package version.
|
|
673
|
-
var version = "15.2.
|
|
673
|
+
var version = "15.2.4";
|
|
674
674
|
|
|
675
675
|
exports.CalendarBody = CalendarBody$1;
|
|
676
676
|
exports.CalendarContent = CalendarContent$1;
|
|
@@ -421,7 +421,7 @@ var CalendarBody$1 = CalendarBody;
|
|
|
421
421
|
|
|
422
422
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$3() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
423
423
|
|
|
424
|
-
var CalendarContent = _styled("ul", process.env.NODE_ENV === "production" ? {
|
|
424
|
+
var CalendarContent = /*#__PURE__*/_styled("ul", process.env.NODE_ENV === "production" ? {
|
|
425
425
|
target: "e17zfb0v0"
|
|
426
426
|
} : {
|
|
427
427
|
target: "e17zfb0v0",
|
|
@@ -557,7 +557,7 @@ var messages = defineMessages({
|
|
|
557
557
|
|
|
558
558
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$1() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
559
559
|
|
|
560
|
-
var WrapperComponent = _styled("div", process.env.NODE_ENV === "production" ? {
|
|
560
|
+
var WrapperComponent = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
|
|
561
561
|
target: "e1q1nv850"
|
|
562
562
|
} : {
|
|
563
563
|
target: "e1q1nv850",
|
|
@@ -736,6 +736,6 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
736
736
|
} : {};
|
|
737
737
|
|
|
738
738
|
// NOTE: This string will be replaced on build time with the package version.
|
|
739
|
-
var version = "15.2.
|
|
739
|
+
var version = "15.2.4";
|
|
740
740
|
|
|
741
741
|
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,10 +1,10 @@
|
|
|
1
1
|
import { Theme } from '@emotion/react';
|
|
2
2
|
import type { TCalendarBody } from './calendar-body';
|
|
3
|
-
declare const getClearSectionStyles: (theme: Theme) => import("@emotion/
|
|
3
|
+
declare const getClearSectionStyles: (theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
4
4
|
declare type TState = {
|
|
5
5
|
isFocused: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const getCalendarIconContainerStyles: (props: TCalendarBody, state: TState, theme: Theme) => import("@emotion/
|
|
8
|
-
declare const getInputContainerStyles: (props: TCalendarBody, state: TState, theme: Theme) => import("@emotion/
|
|
9
|
-
declare const getDateTimeInputStyles: (props: TCalendarBody, theme: Theme) => import("@emotion/
|
|
7
|
+
declare const getCalendarIconContainerStyles: (props: TCalendarBody, state: TState, theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
8
|
+
declare const getInputContainerStyles: (props: TCalendarBody, state: TState, theme: Theme) => import("@emotion/utils").SerializedStyles;
|
|
9
|
+
declare const getDateTimeInputStyles: (props: TCalendarBody, theme: Theme) => import("@emotion/utils").SerializedStyles[];
|
|
10
10
|
export { getClearSectionStyles, getInputContainerStyles, getDateTimeInputStyles, getCalendarIconContainerStyles, };
|
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": "15.2.
|
|
4
|
+
"version": "15.2.4",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
"module": "dist/commercetools-uikit-calendar-utils.esm.js",
|
|
20
20
|
"files": ["dist"],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@babel/runtime": "^7.
|
|
23
|
-
"@babel/runtime-corejs3": "^7.
|
|
24
|
-
"@commercetools-uikit/accessible-button": "15.2.
|
|
25
|
-
"@commercetools-uikit/design-system": "15.2.
|
|
26
|
-
"@commercetools-uikit/hooks": "15.2.
|
|
27
|
-
"@commercetools-uikit/icons": "15.2.
|
|
28
|
-
"@commercetools-uikit/input-utils": "15.2.
|
|
29
|
-
"@commercetools-uikit/secondary-icon-button": "15.2.
|
|
30
|
-
"@commercetools-uikit/spacings-inline": "15.2.
|
|
31
|
-
"@commercetools-uikit/text": "15.2.
|
|
32
|
-
"@commercetools-uikit/tooltip": "15.2.
|
|
33
|
-
"@commercetools-uikit/utils": "15.2.
|
|
22
|
+
"@babel/runtime": "^7.19.0",
|
|
23
|
+
"@babel/runtime-corejs3": "^7.19.1",
|
|
24
|
+
"@commercetools-uikit/accessible-button": "15.2.4",
|
|
25
|
+
"@commercetools-uikit/design-system": "15.2.4",
|
|
26
|
+
"@commercetools-uikit/hooks": "15.2.4",
|
|
27
|
+
"@commercetools-uikit/icons": "15.2.4",
|
|
28
|
+
"@commercetools-uikit/input-utils": "15.2.4",
|
|
29
|
+
"@commercetools-uikit/secondary-icon-button": "15.2.4",
|
|
30
|
+
"@commercetools-uikit/spacings-inline": "15.2.4",
|
|
31
|
+
"@commercetools-uikit/text": "15.2.4",
|
|
32
|
+
"@commercetools-uikit/tooltip": "15.2.4",
|
|
33
|
+
"@commercetools-uikit/utils": "15.2.4",
|
|
34
34
|
"@emotion/react": "^11.4.0",
|
|
35
35
|
"@emotion/styled": "^11.3.0",
|
|
36
36
|
"prop-types": "15.8.1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"moment": "2.29.4",
|
|
41
41
|
"react": "17.0.2",
|
|
42
|
-
"react-intl": "^5.
|
|
42
|
+
"react-intl": "^5.25.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"moment": "2.x",
|