beyond-system 0.1.2 → 0.1.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.
Files changed (38) hide show
  1. package/README.md +38 -0
  2. package/dist/components/react/Checkbox/index.d.ts +1 -0
  3. package/dist/components/react/Checkbox/index.js +2 -0
  4. package/dist/components/react/Checkbox/index.js.map +1 -0
  5. package/dist/components/react/DefaultButton/DefaultButton.d.ts +12 -0
  6. package/dist/components/react/DefaultButton/DefaultButton.stories.d.ts +7 -0
  7. package/dist/components/react/DefaultButton/index.d.ts +1 -0
  8. package/dist/components/react/DefaultButton/index.js +2 -0
  9. package/dist/components/react/DefaultButton/index.js.map +1 -0
  10. package/dist/components/react/IconButton/IconButton.d.ts +10 -0
  11. package/dist/components/react/IconButton/IconButton.stories.d.ts +7 -0
  12. package/dist/components/react/IconButton/index.d.ts +1 -0
  13. package/dist/components/react/IconButton/index.js +2 -0
  14. package/dist/components/react/IconButton/index.js.map +1 -0
  15. package/dist/components/react/Loader/index.d.ts +3 -0
  16. package/dist/components/react/Loader/index.js +4 -0
  17. package/dist/components/react/Loader/index.js.map +1 -0
  18. package/dist/components/react/OutlineButton/OutlineButton.d.ts +12 -0
  19. package/dist/components/react/OutlineButton/OutlineButton.stories.d.ts +7 -0
  20. package/dist/components/react/OutlineButton/index.d.ts +1 -0
  21. package/dist/components/react/OutlineButton/index.js +2 -0
  22. package/dist/components/react/OutlineButton/index.js.map +1 -0
  23. package/dist/components/react/RadioInput/index.d.ts +1 -0
  24. package/dist/components/react/RadioInput/index.js +2 -0
  25. package/dist/components/react/RadioInput/index.js.map +1 -0
  26. package/dist/components/react/Switch/index.d.ts +1 -0
  27. package/dist/components/react/Switch/index.js +2 -0
  28. package/dist/components/react/Switch/index.js.map +1 -0
  29. package/dist/components/react/TransparentButton/index.d.ts +1 -0
  30. package/dist/components/react/TransparentButton/index.js +2 -0
  31. package/dist/components/react/TransparentButton/index.js.map +1 -0
  32. package/dist/components/react/index.d.ts +8 -0
  33. package/dist/components/react/index.js +9 -0
  34. package/dist/components/react/index.js.map +1 -0
  35. package/dist/index.d.ts +3 -0
  36. package/dist/index.js +4 -0
  37. package/dist/index.js.map +1 -0
  38. package/package.json +4 -4
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2
+
3
+ ## Getting Started
4
+
5
+ First, run the development server:
6
+
7
+ ```bash
8
+ npm run dev
9
+ # or
10
+ yarn dev
11
+ # or
12
+ pnpm dev
13
+ ```
14
+
15
+ Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
16
+
17
+ You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
18
+
19
+ [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
20
+
21
+ The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
22
+
23
+ This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
24
+
25
+ ## Learn More
26
+
27
+ To learn more about Next.js, take a look at the following resources:
28
+
29
+ - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
30
+ - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
31
+
32
+ You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
33
+
34
+ ## Deploy on Vercel
35
+
36
+ The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
37
+
38
+ Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
@@ -0,0 +1 @@
1
+ export { default } from './Checkbox';
@@ -0,0 +1,2 @@
1
+ export { default } from './Checkbox';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/Checkbox/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ declare const DefaultButton: React.ForwardRefExoticComponent<{
3
+ text: string;
4
+ variant?: "primary" | "light" | "dark" | undefined;
5
+ size?: "SM" | "MD" | undefined;
6
+ shape?: "square" | "round" | undefined;
7
+ leftIcon?: React.ReactNode;
8
+ rightIcon?: React.ReactNode;
9
+ fullWidth?: boolean | undefined;
10
+ loading?: boolean | undefined;
11
+ } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
12
+ export default DefaultButton;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { Meta } from '@storybook/react/types-6-0';
3
+ import ButtonComponent from './DefaultButton';
4
+ type Props = React.ComponentProps<typeof ButtonComponent>;
5
+ export declare const DefaultButton: (props: Props) => JSX.Element;
6
+ declare const _default: Meta;
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default } from './DefaultButton';
@@ -0,0 +1,2 @@
1
+ export { default } from './DefaultButton';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/DefaultButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ declare const IconButton: React.ForwardRefExoticComponent<{
3
+ children: React.ReactNode;
4
+ variant?: "primary" | "light" | undefined;
5
+ size?: "SM" | "MD" | undefined;
6
+ shape?: "square" | "round" | undefined;
7
+ fullWidth?: boolean | undefined;
8
+ loading?: boolean | undefined;
9
+ } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
10
+ export default IconButton;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { Meta } from '@storybook/react/types-6-0';
3
+ import ButtonComponent from './IconButton';
4
+ type Props = React.ComponentProps<typeof ButtonComponent>;
5
+ export declare const IconButton: (props: Props) => JSX.Element;
6
+ declare const _default: Meta;
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default } from './IconButton';
@@ -0,0 +1,2 @@
1
+ export { default } from './IconButton';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/IconButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './Loader';
2
+ import { Loader } from './Loader';
3
+ export default Loader;
@@ -0,0 +1,4 @@
1
+ export * from './Loader';
2
+ import { Loader } from './Loader';
3
+ export default Loader;
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/Loader/index.tsx"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,eAAe,MAAM,CAAA"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ declare const OutlineButton: React.ForwardRefExoticComponent<{
3
+ text: string;
4
+ variant?: "primary" | "light" | "dark" | undefined;
5
+ size?: "SM" | "MD" | undefined;
6
+ shape?: "square" | "round" | undefined;
7
+ leftIcon?: React.ReactNode;
8
+ rightIcon?: React.ReactNode;
9
+ fullWidth?: boolean | undefined;
10
+ loading?: boolean | undefined;
11
+ } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
12
+ export default OutlineButton;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { Meta } from '@storybook/react/types-6-0';
3
+ import ButtonComponent from './OutlineButton';
4
+ type Props = React.ComponentProps<typeof ButtonComponent>;
5
+ export declare const OutlineButton: (props: Props) => JSX.Element;
6
+ declare const _default: Meta;
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default } from './OutlineButton';
@@ -0,0 +1,2 @@
1
+ export { default } from './OutlineButton';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/OutlineButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA"}
@@ -0,0 +1 @@
1
+ export { default } from './RadioInput';
@@ -0,0 +1,2 @@
1
+ export { default } from './RadioInput';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/RadioInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
@@ -0,0 +1 @@
1
+ export { default } from './Switch';
@@ -0,0 +1,2 @@
1
+ export { default } from './Switch';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/Switch/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
@@ -0,0 +1 @@
1
+ export { default } from './TransparentButton';
@@ -0,0 +1,2 @@
1
+ export { default } from './TransparentButton';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/TransparentButton/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA"}
@@ -0,0 +1,8 @@
1
+ export { default as Loader } from './Loader';
2
+ export { default as DefaultButton } from './DefaultButton';
3
+ export { default as IconButton } from './IconButton';
4
+ export { default as OutlineButton } from './OutlineButton';
5
+ export { default as TransparentButton } from './TransparentButton';
6
+ export { default as Switch } from './Switch';
7
+ export { default as Checkbox } from './Checkbox';
8
+ export { default as RadioInput } from './RadioInput';
@@ -0,0 +1,9 @@
1
+ export { default as Loader } from './Loader';
2
+ export { default as DefaultButton } from './DefaultButton';
3
+ export { default as IconButton } from './IconButton';
4
+ export { default as OutlineButton } from './OutlineButton';
5
+ export { default as TransparentButton } from './TransparentButton';
6
+ export { default as Switch } from './Switch';
7
+ export { default as Checkbox } from './Checkbox';
8
+ export { default as RadioInput } from './RadioInput';
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAE5C,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAElE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './web';
2
+ export * from './colors';
3
+ export * from './components/react';
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ export * from './web';
2
+ export * from './colors';
3
+ export * from './components/react';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA;AAExB,cAAc,oBAAoB,CAAA"}
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "beyond-system",
3
3
  "author": "Growth Machine",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "private": false,
6
- "main": "./dist/cjs/index.js",
7
- "module": "./dist/esm/index.js",
8
- "types": "./dist/esm/index.d.ts",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "dev": "start-storybook -p 6006",