@diabolic/hangover 0.1.7 → 0.2.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 +2 -2
- package/dist/index.cjs.js +1 -0
- package/dist/index.esm.js +1 -0
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -36,7 +36,6 @@ npm install @diabolic/hangover
|
|
|
36
36
|
|
|
37
37
|
```jsx
|
|
38
38
|
import { Dropdown } from '@diabolic/hangover'
|
|
39
|
-
import '@diabolic/hangover/styles'
|
|
40
39
|
|
|
41
40
|
export default function App() {
|
|
42
41
|
return (
|
|
@@ -59,7 +58,8 @@ export default function App() {
|
|
|
59
58
|
}
|
|
60
59
|
```
|
|
61
60
|
|
|
62
|
-
|
|
61
|
+
Styles are imported automatically with the component. Do not import from
|
|
62
|
+
`dist/...` directly.
|
|
63
63
|
|
|
64
64
|
---
|
|
65
65
|
|
package/dist/index.cjs.js
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import './hangover.css';
|
|
1
2
|
import { useContext, createContext, Children, cloneElement, useState, useRef, useCallback, useEffect, isValidElement, createElement, useMemo, forwardRef, useImperativeHandle } from 'react';
|
|
2
3
|
import { createPortal } from 'react-dom';
|
|
3
4
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diabolic/hangover",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "A headless-style, compound React dropdown/field-picker component library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "bugrakaan",
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
".": {
|
|
27
27
|
"import": "./dist/index.esm.js",
|
|
28
28
|
"require": "./dist/index.cjs.js"
|
|
29
|
-
}
|
|
30
|
-
"./styles": "./dist/hangover.css"
|
|
29
|
+
}
|
|
31
30
|
},
|
|
32
31
|
"files": [
|
|
33
32
|
"dist"
|