@acusti/dropdown 0.13.0 → 0.16.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  # @acusti/dropdown
2
2
 
3
3
  [![latest version](https://img.shields.io/npm/v/@acusti/dropdown?style=for-the-badge)](https://www.npmjs.com/package/@acusti/dropdown)
4
- [![dependencies status](https://img.shields.io/david/acusti/uikit?path=packages%2Fdropdown&style=for-the-badge)](https://david-dm.org/acusti/uikit?path=packages%2Fdropdown)
4
+ [![dependencies status](https://img.shields.io/librariesio/release/npm/@acusti/dropdown?style=for-the-badge)](https://libraries.io/npm/@acusti%2Fdropdown/sourcerank)
5
5
  [![bundle size](https://img.shields.io/bundlephobia/minzip/@acusti/dropdown?style=for-the-badge)](https://bundlephobia.com/package/@acusti/dropdown)
6
6
  [![downloads per month](https://img.shields.io/npm/dm/@acusti/dropdown?style=for-the-badge)](https://www.npmjs.com/package/@acusti/dropdown)
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acusti/dropdown",
3
- "version": "0.13.0",
3
+ "version": "0.16.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": "./dist/Dropdown.js",
@@ -26,14 +26,14 @@
26
26
  "typescript": "^4.4.3"
27
27
  },
28
28
  "dependencies": {
29
- "@acusti/input-text": "^0.6.0",
29
+ "@acusti/input-text": "^0.9.0",
30
30
  "@acusti/matchmaking": "^0.3.0",
31
- "@acusti/styling": "^0.4.0",
32
- "@acusti/use-is-out-of-bounds": "^0.4.0"
31
+ "@acusti/styling": "^0.5.0",
32
+ "@acusti/use-is-out-of-bounds": "^0.5.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "classnames": "^2",
36
- "react": "^16.8 || ^17",
37
- "react-dom": "^16.8 || ^17"
36
+ "react": "^16.8 || ^17 || ^18",
37
+ "react-dom": "^16.8 || ^17 || ^18"
38
38
  }
39
39
  }
package/src/Dropdown.tsx CHANGED
@@ -1,3 +1,5 @@
1
+ // TODO add mouseout event handler to check event.target and clear active element
2
+ // whenever mouse leaves it
1
3
  import InputText from '@acusti/input-text';
2
4
  import { Style } from '@acusti/styling';
3
5
  import useIsOutOfBounds from '@acusti/use-is-out-of-bounds';