@react-types/datepicker 3.0.0 → 3.1.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/package.json +5 -5
- package/src/index.d.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/datepicker",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"url": "https://github.com/adobe/react-spectrum"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@internationalized/date": "^3.0.
|
|
13
|
-
"@react-types/overlays": "^3.6.
|
|
14
|
-
"@react-types/shared": "^3.
|
|
12
|
+
"@internationalized/date": "^3.0.1",
|
|
13
|
+
"@react-types/overlays": "^3.6.2",
|
|
14
|
+
"@react-types/shared": "^3.14.0"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "cd7c0ec917122c7612f653c22f8ed558f8b66ecd"
|
|
23
23
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -127,10 +127,13 @@ export interface TimePickerProps<T extends TimeValue> extends InputBase, Validat
|
|
|
127
127
|
|
|
128
128
|
export interface AriaTimeFieldProps<T extends TimeValue> extends TimePickerProps<T>, AriaLabelingProps, DOMProps {}
|
|
129
129
|
|
|
130
|
-
export interface
|
|
130
|
+
export interface SpectrumTimeFieldProps<T extends TimeValue> extends AriaTimeFieldProps<T>, SpectrumLabelableProps, StyleProps {
|
|
131
131
|
/**
|
|
132
132
|
* Whether the time field should be displayed with a quiet style.
|
|
133
133
|
* @default false
|
|
134
134
|
*/
|
|
135
135
|
isQuiet?: boolean
|
|
136
136
|
}
|
|
137
|
+
|
|
138
|
+
// backward compatibility
|
|
139
|
+
export type SpectrumTimePickerProps<T extends TimeValue> = SpectrumTimeFieldProps<T>;
|