@beryl-ui/react 2.2.2 → 2.2.3

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/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ComponentProps, ElementType, ReactElement, ReactNode } from 'react';
3
+ import { ComponentProps, ElementType, ReactNode, ReactElement } from 'react';
4
4
  import * as styled_components_dist_types from 'styled-components/dist/types';
5
5
  import * as styled_components from 'styled-components';
6
6
  import * as Avatar$1 from '@radix-ui/react-avatar';
@@ -22,6 +22,7 @@ declare const BoxContainer: styled_components_dist_types.IStyledComponentBase<"w
22
22
 
23
23
  interface BoxProps extends ComponentProps<typeof BoxContainer> {
24
24
  as?: ElementType;
25
+ children?: ReactNode;
25
26
  }
26
27
  declare const Box: react.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & react.RefAttributes<HTMLElement>>;
27
28
 
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ComponentProps, ElementType, ReactElement, ReactNode } from 'react';
3
+ import { ComponentProps, ElementType, ReactNode, ReactElement } from 'react';
4
4
  import * as styled_components_dist_types from 'styled-components/dist/types';
5
5
  import * as styled_components from 'styled-components';
6
6
  import * as Avatar$1 from '@radix-ui/react-avatar';
@@ -22,6 +22,7 @@ declare const BoxContainer: styled_components_dist_types.IStyledComponentBase<"w
22
22
 
23
23
  interface BoxProps extends ComponentProps<typeof BoxContainer> {
24
24
  as?: ElementType;
25
+ children?: ReactNode;
25
26
  }
26
27
  declare const Box: react.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & react.RefAttributes<HTMLElement>>;
27
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beryl-ui/react",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "React components for the beryl-ui Design System.",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -29,8 +29,8 @@
29
29
  "styled-components"
30
30
  ],
31
31
  "scripts": {
32
- "build": "tsup src/index.tsx --format esm,cjs --dts --external react,styled-components",
33
- "dev": "tsup src/index.tsx --format esm,cjs --dts --external react --watch",
32
+ "build": "tsup",
33
+ "dev": "tsup",
34
34
  "lint": "eslint src --ext .ts,.tsx --fix"
35
35
  },
36
36
  "peerDependencies": {