@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.
|
|
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.
|
|
15
|
-
"@trackunit/react-date-and-time-hooks": "1.3.
|
|
16
|
-
"@trackunit/react-core-hooks": "1.3.
|
|
17
|
-
"@trackunit/date-and-time-utils": "1.3.
|
|
18
|
-
"@trackunit/css-class-variance-utilities": "1.3.
|
|
19
|
-
"@trackunit/ui-icons": "1.3.
|
|
20
|
-
"@trackunit/ui-design-tokens": "1.3.
|
|
21
|
-
"@trackunit/shared-utils": "1.5.
|
|
22
|
-
"@trackunit/i18n-library-translation": "1.3.
|
|
23
|
-
"@trackunit/react-test-setup": "1.0.
|
|
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
|
*/
|
|
@@ -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">;
|