@designbyadrian/react-interactive-input 2.0.1 → 2.0.2

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.
Files changed (1) hide show
  1. package/package.json +12 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designbyadrian/react-interactive-input",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Adjust values in numeric input boxes by clicking and dragging horizontally, just like in Blender and similar 3D applications.",
5
5
  "keywords": [
6
6
  "react",
@@ -29,11 +29,19 @@
29
29
  "prepublishOnly": "npm run build",
30
30
  "deploy-storybook": "npm run build-storybook && touch ./storybook-static/.nojekyll && gh-pages -d storybook-static -t true"
31
31
  },
32
- "main": "dist/react-interactive-input.cjs.js",
33
- "module": "dist/react-interactive-input.es.js",
34
32
  "types": "dist/types/index.d.ts",
33
+ "exports": {
34
+ ".": {
35
+ "require": "./dist/react-interactive-input.cjs.js",
36
+ "import": "./dist/react-interactive-input.es.js",
37
+ "types": "./dist/types/index.d.ts"
38
+ }
39
+ },
40
+ "main": "./dist/react-interactive-input.cjs.js",
41
+ "module": "./dist/react-interactive-input.es.js",
35
42
  "files": [
36
- "dist"
43
+ "dist",
44
+ "dist/types"
37
45
  ],
38
46
  "peerDependencies": {
39
47
  "react": "^18.2.0",