@trackunit/react-date-and-time-components 2.6.72 → 2.6.74
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/package.json +5 -5
- package/src/DayRangeSelect/DayRangeSelect.d.ts +1 -1
- package/src/DayRangeSelect/components/DayRangeSelectOptions.d.ts +1 -1
- package/src/Timeline/Timeline.d.ts +1 -1
- package/src/Timeline/TimelineElement.d.ts +1 -1
- package/src/dateTime/DateTime.d.ts +1 -1
- package/src/dateTime/DateTimeHumanized.d.ts +1 -1
- package/src/translation.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-date-and-time-components",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.74",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=24.x"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@trackunit/react-components": "2.13.
|
|
10
|
+
"@trackunit/react-components": "2.13.26",
|
|
11
11
|
"@trackunit/date-and-time-utils": "1.14.45",
|
|
12
|
-
"@trackunit/react-date-and-time-hooks": "2.6.
|
|
12
|
+
"@trackunit/react-date-and-time-hooks": "2.6.72",
|
|
13
13
|
"@trackunit/css-class-variance-utilities": "2.0.14",
|
|
14
14
|
"@trackunit/ui-icons": "1.14.43",
|
|
15
15
|
"@trackunit/shared-utils": "1.16.49",
|
|
16
|
-
"@trackunit/i18n-library-translation": "2.4.
|
|
17
|
-
"@trackunit/react-form-components": "2.6.
|
|
16
|
+
"@trackunit/i18n-library-translation": "2.4.64",
|
|
17
|
+
"@trackunit/react-form-components": "2.6.74",
|
|
18
18
|
"string-ts": "^2.0.0",
|
|
19
19
|
"tailwind-merge": "^2.0.0",
|
|
20
20
|
"react-calendar": "^6.0.0"
|
|
@@ -96,4 +96,4 @@ export type DayRangeSelectProps = CommonProps & {
|
|
|
96
96
|
* ```
|
|
97
97
|
* @param {DayRangeSelectProps} props - The props for the DayRangeSelect component
|
|
98
98
|
*/
|
|
99
|
-
export declare const DayRangeSelect: ({ className, "data-testid": dataTestId, disabled, selectedDateRange, onRangeSelect, allowedDirection, initialDateRangeOptions, showDateRangeSearch, showResetButton, showCustomDateRangeOption, timezone, maxDaysInRange, disabledDays, size, fullWidth, actionButton, popoverPlacement, }: DayRangeSelectProps) => import("react
|
|
99
|
+
export declare const DayRangeSelect: ({ className, "data-testid": dataTestId, disabled, selectedDateRange, onRangeSelect, allowedDirection, initialDateRangeOptions, showDateRangeSearch, showResetButton, showCustomDateRangeOption, timezone, maxDaysInRange, disabledDays, size, fullWidth, actionButton, popoverPlacement, }: DayRangeSelectProps) => import("react").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export type DayRangeSelectOptionsProps = CommonProps & {
|
|
|
8
8
|
/**
|
|
9
9
|
* Renders a list of options for the DayRangeSelect component.
|
|
10
10
|
*/
|
|
11
|
-
export declare const DayRangeSelectOptions: ({ "data-testid": dataTestId, temporalPeriods, selectedDateRange, onSelect, }: DayRangeSelectOptionsProps) => import("react
|
|
11
|
+
export declare const DayRangeSelectOptions: ({ "data-testid": dataTestId, temporalPeriods, selectedDateRange, onSelect, }: DayRangeSelectOptionsProps) => import("react").JSX.Element | import("react").JSX.Element[];
|
|
@@ -25,4 +25,4 @@ export interface TimelineProps extends CommonProps, Refable<HTMLDivElement>, Sty
|
|
|
25
25
|
* @param {TimelineProps} props - The props for the Timeline component
|
|
26
26
|
* @returns {ReactElement} Timeline component
|
|
27
27
|
*/
|
|
28
|
-
export declare const Timeline: ({ className, style, "data-testid": dataTestId, children, dateHeader, customHeader, toggleButton, ref: refProp, }: TimelineProps) => import("react
|
|
28
|
+
export declare const Timeline: ({ className, style, "data-testid": dataTestId, children, dateHeader, customHeader, toggleButton, ref: refProp, }: TimelineProps) => import("react").JSX.Element;
|
|
@@ -28,5 +28,5 @@ interface TimeLineElementProps extends CommonProps, Styleable {
|
|
|
28
28
|
* @param {TimeLineElementProps} props the props
|
|
29
29
|
* @returns {ReactElement} component
|
|
30
30
|
*/
|
|
31
|
-
export declare const TimelineElement: ({ date, children, className, style, "data-testid": dataTestId, header, onClick, actionButton, selected, customDot, lineStyle, hoverBehavior, timestampFormat, }: TimeLineElementProps) => import("react
|
|
31
|
+
export declare const TimelineElement: ({ date, children, className, style, "data-testid": dataTestId, header, onClick, actionButton, selected, customDot, lineStyle, hoverBehavior, timestampFormat, }: TimeLineElementProps) => import("react").JSX.Element;
|
|
32
32
|
export {};
|
|
@@ -76,4 +76,4 @@ export declare const MS_PER_HOUR: number;
|
|
|
76
76
|
* ```
|
|
77
77
|
* @param {DateTimeProps} props - The props for the DateTime component
|
|
78
78
|
*/
|
|
79
|
-
export declare const DateTime: ({ value, format, className, style, fromNow, withTitle, titleFormat, timezone: timezoneProp, "data-testid": dataTestId, subtle, ref, ...rest }: DateTimeProps) => import("react
|
|
79
|
+
export declare const DateTime: ({ value, format, className, style, fromNow, withTitle, titleFormat, timezone: timezoneProp, "data-testid": dataTestId, subtle, ref, ...rest }: DateTimeProps) => import("react").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export interface RelativeDateTimeProps extends Refable<HTMLTimeElement> {
|
|
|
8
8
|
* @param { RelativeDateTimeProps } props - The properties for the DateTimeHumanized component.
|
|
9
9
|
* @param props.value Date | string | number | null | undefined
|
|
10
10
|
*/
|
|
11
|
-
export declare const DateTimeHumanized: ({ value, ref }: RelativeDateTimeProps) => import("react
|
|
11
|
+
export declare const DateTimeHumanized: ({ value, ref }: RelativeDateTimeProps) => import("react").JSX.Element;
|
package/src/translation.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export type TranslationFunction = TransForLibs<TranslationKeys>;
|
|
|
26
26
|
/**
|
|
27
27
|
* Trans for this specific library.
|
|
28
28
|
*/
|
|
29
|
-
export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => import("react
|
|
29
|
+
export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => import("react").JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* Registers the translations for this library
|
|
32
32
|
*/
|