@trackunit/react-date-and-time-components 1.9.9 → 1.9.13

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/index.cjs.js CHANGED
@@ -628,7 +628,7 @@ const DayRangeSelect = ({ className, dataTestId, disabled, selectedDateRange, on
628
628
  * The DayPicker component is used when the user needs to select a date.
629
629
 
630
630
  * @param {DayPickerProps} props - The props for the DayPicker component
631
- * @returns {React.ReactElement} DayPicker component
631
+ * @returns {ReactElement} DayPicker component
632
632
  */
633
633
  const DayPicker = ({ onDaySelect, disabledDays, selectedDay, language, className, dataTestId, }) => {
634
634
  const { subtract } = reactDateAndTimeHooks.useDateAndTime();
package/index.esm.js CHANGED
@@ -626,7 +626,7 @@ const DayRangeSelect = ({ className, dataTestId, disabled, selectedDateRange, on
626
626
  * The DayPicker component is used when the user needs to select a date.
627
627
 
628
628
  * @param {DayPickerProps} props - The props for the DayPicker component
629
- * @returns {React.ReactElement} DayPicker component
629
+ * @returns {ReactElement} DayPicker component
630
630
  */
631
631
  const DayPicker = ({ onDaySelect, disabledDays, selectedDay, language, className, dataTestId, }) => {
632
632
  const { subtract } = useDateAndTime();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-date-and-time-components",
3
- "version": "1.9.9",
3
+ "version": "1.9.13",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -8,15 +8,15 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "react": "19.0.0",
11
- "@trackunit/react-components": "1.7.8",
12
- "@trackunit/date-and-time-utils": "1.6.6",
13
- "@trackunit/react-date-and-time-hooks": "1.6.6",
14
- "@trackunit/css-class-variance-utilities": "1.6.6",
15
- "@trackunit/ui-icons": "1.6.6",
16
- "@trackunit/shared-utils": "1.8.6",
17
- "@trackunit/i18n-library-translation": "1.6.6",
18
- "@trackunit/react-test-setup": "1.3.6",
19
- "@trackunit/react-form-components": "1.6.9",
11
+ "@trackunit/react-components": "1.7.12",
12
+ "@trackunit/date-and-time-utils": "1.6.10",
13
+ "@trackunit/react-date-and-time-hooks": "1.6.10",
14
+ "@trackunit/css-class-variance-utilities": "1.6.10",
15
+ "@trackunit/ui-icons": "1.6.9",
16
+ "@trackunit/shared-utils": "1.8.10",
17
+ "@trackunit/i18n-library-translation": "1.6.10",
18
+ "@trackunit/react-test-setup": "1.3.10",
19
+ "@trackunit/react-form-components": "1.6.13",
20
20
  "string-ts": "^2.0.0",
21
21
  "tailwind-merge": "^2.0.0",
22
22
  "react-calendar": "^6.0.0"
@@ -1,4 +1,5 @@
1
1
  import { CommonProps } from "@trackunit/react-components";
2
+ import { ReactElement } from "react";
2
3
  export type FurtherBackThanDays = {
3
4
  /**
4
5
  * This disables dates that are further back than the number of days specified from today.
@@ -31,6 +32,6 @@ export interface DayPickerProps extends CommonProps {
31
32
  * The DayPicker component is used when the user needs to select a date.
32
33
 
33
34
  * @param {DayPickerProps} props - The props for the DayPicker component
34
- * @returns {React.ReactElement} DayPicker component
35
+ * @returns {ReactElement} DayPicker component
35
36
  */
36
- export declare const DayPicker: ({ onDaySelect, disabledDays, selectedDay, language, className, dataTestId, }: DayPickerProps) => import("react/jsx-runtime").JSX.Element;
37
+ export declare const DayPicker: ({ onDaySelect, disabledDays, selectedDay, language, className, dataTestId, }: DayPickerProps) => ReactElement;