@trackunit/react-date-and-time-components 1.3.196 → 1.3.198

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
@@ -154,7 +154,7 @@ const useLocale = (language) => {
154
154
 
155
155
  /**
156
156
  * The DayPicker component is used when the user needs to select a date.
157
-
157
+
158
158
  * @param {DayPickerProps} props - The props for the DayPicker component
159
159
  * @returns {ReactElement} DayPicker component
160
160
  */
package/index.esm.js CHANGED
@@ -152,7 +152,7 @@ const useLocale = (language) => {
152
152
 
153
153
  /**
154
154
  * The DayPicker component is used when the user needs to select a date.
155
-
155
+
156
156
  * @param {DayPickerProps} props - The props for the DayPicker component
157
157
  * @returns {ReactElement} DayPicker component
158
158
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-date-and-time-components",
3
- "version": "1.3.196",
3
+ "version": "1.3.198",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -11,16 +11,16 @@
11
11
  "tailwind-merge": "^2.0.0",
12
12
  "react-day-picker": "9.5.1",
13
13
  "react": "19.0.0",
14
- "@trackunit/react-components": "1.4.171",
15
- "@trackunit/react-date-and-time-hooks": "1.3.162",
16
- "@trackunit/react-core-hooks": "1.3.152",
17
- "@trackunit/date-and-time-utils": "1.3.140",
18
- "@trackunit/css-class-variance-utilities": "1.3.140",
19
- "@trackunit/ui-icons": "1.3.140",
20
- "@trackunit/ui-design-tokens": "1.3.138",
21
- "@trackunit/shared-utils": "1.5.140",
22
- "@trackunit/i18n-library-translation": "1.3.159",
23
- "@trackunit/react-test-setup": "1.0.30"
14
+ "@trackunit/react-components": "1.4.172",
15
+ "@trackunit/react-date-and-time-hooks": "1.3.164",
16
+ "@trackunit/react-core-hooks": "1.3.154",
17
+ "@trackunit/date-and-time-utils": "1.3.141",
18
+ "@trackunit/css-class-variance-utilities": "1.3.141",
19
+ "@trackunit/ui-icons": "1.3.141",
20
+ "@trackunit/ui-design-tokens": "1.3.139",
21
+ "@trackunit/shared-utils": "1.5.141",
22
+ "@trackunit/i18n-library-translation": "1.3.161",
23
+ "@trackunit/react-test-setup": "1.0.31"
24
24
  },
25
25
  "module": "./index.esm.js",
26
26
  "main": "./index.cjs.js",
@@ -8,7 +8,7 @@ export interface DayPickerProps extends CommonProps {
8
8
  /**
9
9
  * Define any days which may not be selected
10
10
  */
11
- disabledDays?: Matcher | Matcher[];
11
+ disabledDays?: Matcher | Array<Matcher>;
12
12
  /**
13
13
  * Set any days which are selected
14
14
  */
@@ -24,7 +24,7 @@ export interface DayPickerProps extends CommonProps {
24
24
  }
25
25
  /**
26
26
  * The DayPicker component is used when the user needs to select a date.
27
-
27
+
28
28
  * @param {DayPickerProps} props - The props for the DayPicker component
29
29
  * @returns {ReactElement} DayPicker component
30
30
  */
@@ -17,7 +17,7 @@ export interface DayRangePickerProps extends CommonProps {
17
17
  /**
18
18
  * Define any days which may not be selected
19
19
  */
20
- disabledDays?: Matcher | Matcher[];
20
+ disabledDays?: Matcher | Array<Matcher>;
21
21
  /**
22
22
  * Set any days which are selected
23
23
  */
@@ -6,7 +6,7 @@ import { TimeZone } from "./index";
6
6
  export interface DayRangePickerPopoverProps extends CommonProps {
7
7
  interval: IDateRange;
8
8
  showQuickOptions?: ShowQuickOption;
9
- disabledDays?: Matcher | Matcher[];
9
+ disabledDays?: Matcher | Array<Matcher>;
10
10
  onRangeSelect: (range: IDateRange) => void;
11
11
  placement?: PopoverPlacement;
12
12
  variant?: Extract<ButtonVariant, "secondary">;