@acusti/dropdown 0.21.0 → 0.23.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/README.md +1 -1
- package/dist/Dropdown.d.ts +2 -2
- package/dist/Dropdown.js +420 -319
- package/dist/Dropdown.js.flow +44 -44
- package/dist/helpers.d.ts +47 -32
- package/dist/helpers.js +35 -36
- package/dist/helpers.js.flow +37 -37
- package/dist/styles.d.ts +1 -1
- package/dist/styles.js +1 -1
- package/dist/styles.js.flow +2 -2
- package/package.json +27 -9
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @acusti/dropdown
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@acusti/dropdown)
|
|
4
|
-
[](https://npms.io/search?q=%40acusti%2Fdropdown)
|
|
5
5
|
[](https://bundlephobia.com/package/@acusti/dropdown)
|
|
6
6
|
[](https://www.npmjs.com/package/@acusti/dropdown)
|
|
7
7
|
|
package/dist/Dropdown.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type Item = {
|
|
3
3
|
element: HTMLElement | null;
|
|
4
4
|
value: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type Props = {
|
|
7
7
|
/** Boolean indicating if the user can submit an empty value (i.e. clear the value); defaults to true */
|
|
8
8
|
allowEmpty?: boolean;
|
|
9
9
|
/** Can take a single React element (e.g. ReactChild) or exactly two renderable children */
|