@acusti/dropdown 0.44.1 → 0.45.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 +1 -23
- package/dist/Dropdown.js +333 -467
- package/dist/Dropdown.js.flow +58 -58
- package/dist/Dropdown.js.map +1 -1
- package/dist/Dropdown.test.js +48 -81
- package/dist/Dropdown.test.js.map +1 -1
- package/dist/helpers.d.ts +32 -47
- package/dist/helpers.js +37 -36
- package/dist/helpers.js.flow +36 -36
- package/dist/styles.d.ts +13 -14
- package/dist/styles.js +1 -1
- package/dist/styles.js.flow +12 -12
- package/package.json +6 -7
- package/src/Dropdown.tsx +2 -4
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ The three primary design goals for the existence of this component:
|
|
|
36
36
|
See the [storybook docs and demo][] to get a feel for what it can do.
|
|
37
37
|
|
|
38
38
|
[storybook docs and demo]:
|
|
39
|
-
https://
|
|
39
|
+
https://uikit.acusti.ca/?path=/docs/uikit-controls-Dropdown--docs
|
|
40
40
|
|
|
41
41
|
## Usage
|
|
42
42
|
|
package/dist/Dropdown.d.ts
CHANGED
|
@@ -61,27 +61,5 @@ export type Props = {
|
|
|
61
61
|
value?: string;
|
|
62
62
|
};
|
|
63
63
|
type ChildrenTuple = [React.ReactNode, React.ReactNode];
|
|
64
|
-
export default function Dropdown({
|
|
65
|
-
allowCreate,
|
|
66
|
-
allowEmpty,
|
|
67
|
-
children,
|
|
68
|
-
className,
|
|
69
|
-
disabled,
|
|
70
|
-
hasItems,
|
|
71
|
-
isOpenOnMount,
|
|
72
|
-
isSearchable,
|
|
73
|
-
keepOpenOnSubmit,
|
|
74
|
-
label,
|
|
75
|
-
name,
|
|
76
|
-
onClick,
|
|
77
|
-
onClose,
|
|
78
|
-
onMouseDown,
|
|
79
|
-
onMouseUp,
|
|
80
|
-
onOpen,
|
|
81
|
-
onSubmitItem,
|
|
82
|
-
placeholder,
|
|
83
|
-
style: styleFromProps,
|
|
84
|
-
tabIndex,
|
|
85
|
-
value,
|
|
86
|
-
}: Props): React.JSX.Element;
|
|
64
|
+
export default function Dropdown({ allowCreate, allowEmpty, children, className, disabled, hasItems, isOpenOnMount, isSearchable, keepOpenOnSubmit, label, name, onClick, onClose, onMouseDown, onMouseUp, onOpen, onSubmitItem, placeholder, style: styleFromProps, tabIndex, value, }: Props): React.JSX.Element;
|
|
87
65
|
export {};
|