@sproutsocial/racine 11.3.0-beta.5 → 11.3.0-beta.6
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/__flow__/Input/index.js
CHANGED
|
@@ -44,7 +44,9 @@ type TypeProps = {
|
|
|
44
44
|
/** Props to spread onto the underlying input element */
|
|
45
45
|
inputProps?: any,
|
|
46
46
|
/** Used to get a reference to the underlying element */
|
|
47
|
-
innerRef?:
|
|
47
|
+
innerRef?:
|
|
48
|
+
| {| current: HTMLInputElement | null | undefined |}
|
|
49
|
+
| ((React.ElementRef<any> | HTMLInputElement) => mixed),
|
|
48
50
|
onBlur?: (e: SyntheticFocusEvent<HTMLInputElement>) => void,
|
|
49
51
|
onChange?: (e: SyntheticInputEvent<HTMLInputElement>, value: string) => void,
|
|
50
52
|
/** Input.ClearButton onClick callback. Required when using <Input type="search"/> or <Input.ClearButton/>.
|
|
@@ -132,6 +134,7 @@ const ClearButton = () => {
|
|
|
132
134
|
py={py}
|
|
133
135
|
px={px}
|
|
134
136
|
title={clearButtonLabel || "Clear"}
|
|
137
|
+
ariaLabel={clearButtonLabel || "Clear"}
|
|
135
138
|
color="icon.base"
|
|
136
139
|
>
|
|
137
140
|
<Icon name="circlex" />
|
package/__flow__/Menu/index.js
CHANGED
package/commonjs/Input/index.js
CHANGED
package/commonjs/Menu/index.js
CHANGED
package/lib/Input/index.js
CHANGED
package/lib/Menu/index.js
CHANGED