@react-types/shared 3.0.0-nightly.1500 → 3.0.0-nightly.1505
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 +2 -2
- package/src/inputs.d.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/shared",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.1505+378582d60",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "378582d606bf55c9937d74c82eb5a9f4fcb82018"
|
|
18
18
|
}
|
package/src/inputs.d.ts
CHANGED
|
@@ -45,6 +45,15 @@ export interface TextInputBase {
|
|
|
45
45
|
placeholder?: string
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
export interface SpectrumTextInputBase {
|
|
49
|
+
/**
|
|
50
|
+
* Temporary text that occupies the text input when it is empty.
|
|
51
|
+
* Please use help text instead.
|
|
52
|
+
* @deprecated
|
|
53
|
+
**/
|
|
54
|
+
placeholder?: string
|
|
55
|
+
}
|
|
56
|
+
|
|
48
57
|
export interface RangeValue<T> {
|
|
49
58
|
/** The start value of the range. */
|
|
50
59
|
start: T,
|