@commercetools-uikit/calendar-utils 15.9.0 → 15.11.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/calendar-body.d.ts +3 -3
- package/dist/declarations/src/calendar-body/calendar-body.styles.d.ts +1 -1
- package/dist/declarations/src/calendar-day/calendar-day.d.ts +1 -1
- package/dist/declarations/src/calendar-header/calendar-header.d.ts +1 -1
- package/dist/declarations/src/calendar-menu/calendar-menu.d.ts +1 -1
- package/package.json +12 -12
|
@@ -757,7 +757,7 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
757
757
|
} : {};
|
|
758
758
|
|
|
759
759
|
// NOTE: This string will be replaced on build time with the package version.
|
|
760
|
-
var version = "15.
|
|
760
|
+
var version = "15.11.0";
|
|
761
761
|
|
|
762
762
|
exports.CalendarBody = CalendarBody$1;
|
|
763
763
|
exports.CalendarContent = CalendarContent$1;
|
|
@@ -660,7 +660,7 @@ CalendarMenu.displayName = 'CalendarMenu';
|
|
|
660
660
|
CalendarMenu.propTypes = {};
|
|
661
661
|
|
|
662
662
|
// NOTE: This string will be replaced on build time with the package version.
|
|
663
|
-
var version = "15.
|
|
663
|
+
var version = "15.11.0";
|
|
664
664
|
|
|
665
665
|
exports.CalendarBody = CalendarBody$1;
|
|
666
666
|
exports.CalendarContent = CalendarContent$1;
|
|
@@ -726,6 +726,6 @@ CalendarMenu.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
726
726
|
} : {};
|
|
727
727
|
|
|
728
728
|
// NOTE: This string will be replaced on build time with the package version.
|
|
729
|
-
var version = "15.
|
|
729
|
+
var version = "15.11.0";
|
|
730
730
|
|
|
731
731
|
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,6 +1,6 @@
|
|
|
1
1
|
import { type LegacyRef, type FocusEventHandler, type KeyboardEvent } from 'react';
|
|
2
2
|
import type { Theme } from '@emotion/react';
|
|
3
|
-
export
|
|
3
|
+
export type TClearSection = {
|
|
4
4
|
isDisabled?: boolean;
|
|
5
5
|
hasError?: boolean;
|
|
6
6
|
hasWarning?: boolean;
|
|
@@ -13,14 +13,14 @@ export declare const ClearSection: {
|
|
|
13
13
|
(props: TClearSection): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type TInputProps = {
|
|
17
17
|
'aria-invalid'?: boolean;
|
|
18
18
|
'aria-errormessage'?: string;
|
|
19
19
|
onBlur?: FocusEventHandler;
|
|
20
20
|
onFocus?: FocusEventHandler;
|
|
21
21
|
onKeyDown?: (event: KeyboardEvent<HTMLInputElement | HTMLButtonElement>) => void;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type TCalendarBody = {
|
|
24
24
|
inputRef: LegacyRef<HTMLInputElement>;
|
|
25
25
|
icon?: string;
|
|
26
26
|
id?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TCalendarBody } from './calendar-body';
|
|
2
2
|
declare const getClearSectionStyles: () => import("@emotion/utils").SerializedStyles;
|
|
3
|
-
|
|
3
|
+
type TState = {
|
|
4
4
|
isFocused: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const getCalendarIconContainerStyles: (props: TCalendarBody, state: TState, isNewTheme: boolean) => (false | import("@emotion/utils").SerializedStyles)[];
|
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.
|
|
4
|
+
"version": "15.11.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.19.0",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.19.1",
|
|
24
|
-
"@commercetools-uikit/accessible-button": "15.
|
|
25
|
-
"@commercetools-uikit/design-system": "15.
|
|
26
|
-
"@commercetools-uikit/hooks": "15.
|
|
27
|
-
"@commercetools-uikit/icons": "15.
|
|
28
|
-
"@commercetools-uikit/input-utils": "15.
|
|
29
|
-
"@commercetools-uikit/secondary-icon-button": "15.
|
|
30
|
-
"@commercetools-uikit/spacings-inline": "15.
|
|
31
|
-
"@commercetools-uikit/text": "15.
|
|
32
|
-
"@commercetools-uikit/tooltip": "15.
|
|
33
|
-
"@commercetools-uikit/utils": "15.
|
|
24
|
+
"@commercetools-uikit/accessible-button": "15.11.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "15.11.0",
|
|
26
|
+
"@commercetools-uikit/hooks": "15.11.0",
|
|
27
|
+
"@commercetools-uikit/icons": "15.11.0",
|
|
28
|
+
"@commercetools-uikit/input-utils": "15.11.0",
|
|
29
|
+
"@commercetools-uikit/secondary-icon-button": "15.11.0",
|
|
30
|
+
"@commercetools-uikit/spacings-inline": "15.11.0",
|
|
31
|
+
"@commercetools-uikit/text": "15.11.0",
|
|
32
|
+
"@commercetools-uikit/tooltip": "15.11.0",
|
|
33
|
+
"@commercetools-uikit/utils": "15.11.0",
|
|
34
34
|
"@emotion/react": "^11.4.0",
|
|
35
35
|
"@emotion/styled": "^11.3.0",
|
|
36
36
|
"prop-types": "15.8.1",
|
|
37
|
-
"react-select": "5.
|
|
37
|
+
"react-select": "5.7.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"moment": "2.29.4",
|