@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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. 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.0.0",
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.0",
13
- "@react-types/overlays": "^3.6.1",
14
- "@react-types/shared": "^3.13.1"
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": "715c3f563ccf8c2e0102d3e18403d9db21a05a71"
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 SpectrumTimePickerProps<T extends TimeValue> extends AriaTimeFieldProps<T>, SpectrumLabelableProps, StyleProps {
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>;