@cronocode/react-box 0.1.3 → 0.1.6

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.
@@ -1,4 +1,4 @@
1
- import Box from '../../box';
1
+ import Box from '../box';
2
2
  interface Props extends Omit<React.ComponentProps<typeof Box>> {
3
3
  }
4
4
  export default function Button(props: Props): JSX.Element;
@@ -1,4 +1,4 @@
1
- import Box from '../../box';
1
+ import Box from '../box';
2
2
  declare type BoxProps = React.ComponentProps<typeof Box>;
3
3
  interface BoxFlex {
4
4
  wrap?: BoxProps['flexWrap'];
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@cronocode/react-box",
3
- "version": "0.1.3",
3
+ "version": "0.1.6",
4
4
  "main": "./box.js",
5
5
  "module": "./box.js",
6
6
  "types": "./box.d.ts",
7
7
  "exports": {
8
- "./styles.css": "./styles.css",
9
- "./components/flex": {
10
- "import": "./components/flex.js",
11
- "require": "./components/flex.js",
12
- "types": "./components/flex/index.d.ts"
8
+ ".": {
9
+ "import": "./box.js",
10
+ "require": "./box.js",
11
+ "types": "./box.d.ts"
13
12
  },
14
- "./components/button": {
15
- "import": "./components/button.js",
16
- "require": "./components/button.js",
17
- "types": "./components/button/index.d.ts"
13
+ "./styles.css": "./styles.css",
14
+ "./components/*": {
15
+ "import": "./components/*.js",
16
+ "require": "./components/*.js",
17
+ "types": "./components/*.d.ts"
18
18
  }
19
19
  },
20
20
  "scripts": {