beyond-system 0.1.0 → 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.
- package/dist/components/react/Checkbox/index.d.ts +1 -0
- package/dist/components/react/Checkbox/index.js +2 -0
- package/dist/components/react/Checkbox/index.js.map +1 -0
- package/dist/components/react/DefaultButton/DefaultButton.d.ts +12 -0
- package/dist/components/react/DefaultButton/DefaultButton.stories.d.ts +7 -0
- package/dist/components/react/DefaultButton/index.d.ts +1 -0
- package/dist/components/react/DefaultButton/index.js +2 -0
- package/dist/components/react/DefaultButton/index.js.map +1 -0
- package/dist/components/react/IconButton/IconButton.d.ts +10 -0
- package/dist/components/react/IconButton/IconButton.stories.d.ts +7 -0
- package/dist/components/react/IconButton/index.d.ts +1 -0
- package/dist/components/react/IconButton/index.js +2 -0
- package/dist/components/react/IconButton/index.js.map +1 -0
- package/dist/components/react/Loader/index.d.ts +3 -0
- package/dist/components/react/Loader/index.js +4 -0
- package/dist/components/react/Loader/index.js.map +1 -0
- package/dist/components/react/OutlineButton/OutlineButton.d.ts +12 -0
- package/dist/components/react/OutlineButton/OutlineButton.stories.d.ts +7 -0
- package/dist/components/react/OutlineButton/index.d.ts +1 -0
- package/dist/components/react/OutlineButton/index.js +2 -0
- package/dist/components/react/OutlineButton/index.js.map +1 -0
- package/dist/components/react/RadioInput/index.d.ts +1 -0
- package/dist/components/react/RadioInput/index.js +2 -0
- package/dist/components/react/RadioInput/index.js.map +1 -0
- package/dist/components/react/Switch/index.d.ts +1 -0
- package/dist/components/react/Switch/index.js +2 -0
- package/dist/components/react/Switch/index.js.map +1 -0
- package/dist/components/react/TransparentButton/index.d.ts +1 -0
- package/dist/components/react/TransparentButton/index.js +2 -0
- package/dist/components/react/TransparentButton/index.js.map +1 -0
- package/dist/components/react/index.d.ts +8 -0
- package/dist/components/react/index.js +9 -0
- package/dist/components/react/index.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/package.json +16 -1
- package/.auto-changelog +0 -10
- package/.editorconfig +0 -9
- package/.eslintrc.js +0 -74
- package/.storybook/growth-theme.js +0 -23
- package/.storybook/main.js +0 -21
- package/.storybook/manager.js +0 -7
- package/.storybook/preview-head.html +0 -13
- package/.storybook/preview.js +0 -29
- package/changelog-template.hbs +0 -19
- package/next.config.js +0 -6
- package/prettier.config.js +0 -5
- package/public/favicon.ico +0 -0
- package/public/next.svg +0 -1
- package/public/thirteen.svg +0 -1
- package/public/vercel.svg +0 -1
- package/setup.js +0 -15
- package/src/colors/base-colors.ts +0 -75
- package/src/colors/gradients.ts +0 -9
- package/src/colors/index.ts +0 -3
- package/src/colors/shadows.ts +0 -9
- package/src/components/react/Checkbox/Checkbox.stories.tsx +0 -59
- package/src/components/react/Checkbox/Checkbox.styles.ts +0 -84
- package/src/components/react/Checkbox/Checkbox.tsx +0 -33
- package/src/components/react/Checkbox/Checkbox.variants.ts +0 -27
- package/src/components/react/DefaultButton/DefaultButton.stories.tsx +0 -98
- package/src/components/react/DefaultButton/DefaultButton.styles.ts +0 -106
- package/src/components/react/DefaultButton/DefaultButton.tsx +0 -67
- package/src/components/react/DefaultButton/DefaultButton.variants.ts +0 -49
- package/src/components/react/IconButton/IconButton.stories.tsx +0 -71
- package/src/components/react/IconButton/IconButton.styles.ts +0 -98
- package/src/components/react/IconButton/IconButton.tsx +0 -55
- package/src/components/react/IconButton/IconButton.variants.ts +0 -40
- package/src/components/react/Loader/Loader.stories.tsx +0 -36
- package/src/components/react/Loader/Loader.tsx +0 -40
- package/src/components/react/Loader/index.tsx +0 -1
- package/src/components/react/OutlineButton/OutlineButton.stories.tsx +0 -98
- package/src/components/react/OutlineButton/OutlineButton.styles.ts +0 -97
- package/src/components/react/OutlineButton/OutlineButton.tsx +0 -67
- package/src/components/react/OutlineButton/OutlineButton.variants.ts +0 -40
- package/src/components/react/RadioInput/RadioInput.stories.tsx +0 -53
- package/src/components/react/RadioInput/RadioInput.styles.ts +0 -69
- package/src/components/react/RadioInput/RadioInput.tsx +0 -23
- package/src/components/react/RadioInput/RadioInput.variants.ts +0 -23
- package/src/components/react/Switch/Switch.stories.tsx +0 -53
- package/src/components/react/Switch/Switch.styles.ts +0 -60
- package/src/components/react/Switch/Switch.tsx +0 -28
- package/src/components/react/Switch/Switch.variants.ts +0 -19
- package/src/components/react/TransparentButton/TransparentButton.stories.tsx +0 -53
- package/src/components/react/TransparentButton/TransparentButton.styles.ts +0 -74
- package/src/components/react/TransparentButton/TransparentButton.tsx +0 -41
- package/src/components/react/TransparentButton/TransparentButton.variants.ts +0 -35
- package/src/stories/base-colors/base-colors.stories.styles.ts +0 -65
- package/src/stories/base-colors/base-colors.stories.tsx +0 -89
- package/src/stories/gradients/gradients.stories.styles.ts +0 -60
- package/src/stories/gradients/gradients.stories.tsx +0 -39
- package/src/stories/shadows/shadows.stories.styles.ts +0 -59
- package/src/stories/shadows/shadows.stories.tsx +0 -37
- package/src/web/border.ts +0 -13
- package/src/web/font.ts +0 -38
- package/src/web/index.ts +0 -2
- package/tsconfig.json +0 -24
- package/vercel.json +0 -8
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Checkbox';
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -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,14 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beyond-system",
|
|
3
|
-
"
|
|
3
|
+
"author": "Growth Machine",
|
|
4
|
+
"version": "0.1.3",
|
|
4
5
|
"private": false,
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"license": "MIT",
|
|
5
10
|
"scripts": {
|
|
6
11
|
"dev": "start-storybook -p 6006",
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"prepare": "npm run build",
|
|
7
14
|
"lint": "eslint .",
|
|
8
15
|
"storybook": "start-storybook -p 6006 -s public",
|
|
9
16
|
"build-storybook": "build-storybook -s public",
|
|
10
17
|
"serve-storybook": "serve storybook-static"
|
|
11
18
|
},
|
|
19
|
+
"peerDependencies": {
|
|
20
|
+
"react": ">=16"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"LICENSE",
|
|
25
|
+
"README.md"
|
|
26
|
+
],
|
|
12
27
|
"resolutions": {
|
|
13
28
|
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0",
|
|
14
29
|
"styled-components": "^5"
|
package/.auto-changelog
DELETED
package/.editorconfig
DELETED
package/.eslintrc.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
env: {
|
|
3
|
-
browser: true,
|
|
4
|
-
es2021: true,
|
|
5
|
-
node: true,
|
|
6
|
-
},
|
|
7
|
-
extends: [
|
|
8
|
-
'next/core-web-vitals',
|
|
9
|
-
'prettier',
|
|
10
|
-
],
|
|
11
|
-
parser: '@typescript-eslint/parser',
|
|
12
|
-
parserOptions: {
|
|
13
|
-
ecmaFeatures: {
|
|
14
|
-
jsx: true,
|
|
15
|
-
},
|
|
16
|
-
ecmaVersion: 12,
|
|
17
|
-
sourceType: 'module',
|
|
18
|
-
},
|
|
19
|
-
plugins: ['react', '@typescript-eslint', 'prettier', 'import'],
|
|
20
|
-
settings: {
|
|
21
|
-
next: {
|
|
22
|
-
rootDir: ['apps/*/', 'packages/*/'],
|
|
23
|
-
},
|
|
24
|
-
'import/parsers': {
|
|
25
|
-
'@typescript-eslint/parser': ['.ts', '.tsx'],
|
|
26
|
-
},
|
|
27
|
-
'import/resolver': {
|
|
28
|
-
node: {
|
|
29
|
-
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
|
30
|
-
},
|
|
31
|
-
typescript: {
|
|
32
|
-
alwaysTryTypes: true,
|
|
33
|
-
project: ['apps/*/tsconfig.json'],
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
rules: {
|
|
38
|
-
'prettier/prettier': [
|
|
39
|
-
'error',
|
|
40
|
-
{
|
|
41
|
-
semi: false,
|
|
42
|
-
singleQuote: true,
|
|
43
|
-
endOfLine: 'auto',
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
'no-unused-vars': 'off',
|
|
47
|
-
'@typescript-eslint/no-unused-vars': 'error',
|
|
48
|
-
'space-before-function-paren': 'off',
|
|
49
|
-
'react/prop-types': 'off',
|
|
50
|
-
'react/jsx-filename-extension': [
|
|
51
|
-
1,
|
|
52
|
-
{ extensions: ['.js', '.jsx', '.tsx'] },
|
|
53
|
-
],
|
|
54
|
-
'no-use-before-define': 'off',
|
|
55
|
-
'@typescript-eslint/no-use-before-define': [1],
|
|
56
|
-
'import/extensions': 'off',
|
|
57
|
-
'no-console': 'off',
|
|
58
|
-
camelcase: 'off',
|
|
59
|
-
'react/jsx-props-no-spreading': 'off',
|
|
60
|
-
'no-underscore-dangle': 'off',
|
|
61
|
-
'jsx-a11y/label-has-associated-control': 'off',
|
|
62
|
-
},
|
|
63
|
-
ignorePatterns: [
|
|
64
|
-
'**/*.js',
|
|
65
|
-
'**/*.json',
|
|
66
|
-
'node_modules',
|
|
67
|
-
'public',
|
|
68
|
-
'styles',
|
|
69
|
-
'.next',
|
|
70
|
-
'coverage',
|
|
71
|
-
'dist',
|
|
72
|
-
'.turbo',
|
|
73
|
-
],
|
|
74
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { create } from "@storybook/theming";
|
|
3
|
-
|
|
4
|
-
export default create({
|
|
5
|
-
base: 'light',
|
|
6
|
-
|
|
7
|
-
colorPrimary: '#ff7d12',
|
|
8
|
-
colorSecondary: '#454545',
|
|
9
|
-
|
|
10
|
-
// Typography
|
|
11
|
-
fontBase: 'Poppins',
|
|
12
|
-
|
|
13
|
-
// Text colors
|
|
14
|
-
textColor: "#454545",
|
|
15
|
-
textInverseColor: "rgba(255,255,255,0.9)",
|
|
16
|
-
|
|
17
|
-
// Toolbar default and active colors
|
|
18
|
-
|
|
19
|
-
brandTitle: "Beyond System",
|
|
20
|
-
brandUrl: "https://growthmachine.com.br/",
|
|
21
|
-
brandImage: "https://uploads-ssl.webflow.com/6074e828c9f2b21cbb760b1b/6074e93d5555461225bac0a6_Logo%20Growth%20Machine%20-%20Normal.svg",
|
|
22
|
-
brandTarget: "_self",
|
|
23
|
-
});
|
package/.storybook/main.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
stories: [
|
|
5
|
-
"../src/**/*.stories.mdx",
|
|
6
|
-
"../src/**/*.stories.@(js|jsx|ts|tsx)"
|
|
7
|
-
],
|
|
8
|
-
addons: [
|
|
9
|
-
"@storybook/addon-links",
|
|
10
|
-
"@storybook/addon-essentials",
|
|
11
|
-
"@storybook/addon-interactions"
|
|
12
|
-
],
|
|
13
|
-
framework: "@storybook/react",
|
|
14
|
-
core: {
|
|
15
|
-
"builder": "@storybook/builder-webpack5"
|
|
16
|
-
},
|
|
17
|
-
webpackFinal: async (config, { configType }) => {
|
|
18
|
-
config.resolve.plugins = [new TsconfigPathsPlugin()];
|
|
19
|
-
return config;
|
|
20
|
-
}
|
|
21
|
-
}
|
package/.storybook/manager.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
2
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
3
|
-
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
|
|
4
|
-
<style type="text/css">
|
|
5
|
-
body {
|
|
6
|
-
font-family: 'Poppins', sans-serif;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
* {
|
|
10
|
-
box-sizing: border-box
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
</style>
|
package/.storybook/preview.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const {COLORS} = require('../src/colors')
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export const parameters = {
|
|
5
|
-
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
6
|
-
backgrounds: {
|
|
7
|
-
default: 'NEUTRAL_HIGH',
|
|
8
|
-
values: [
|
|
9
|
-
{
|
|
10
|
-
name: 'NEUTRAL_HIGH',
|
|
11
|
-
value: COLORS.NEUTRAL_HIGH,
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
name: 'NEUTRAL_DARKER',
|
|
15
|
-
value: COLORS.NEUTRAL_DARKER,
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
name: 'GROWTH_MID',
|
|
19
|
-
value: COLORS.GROWTH_MID,
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
},
|
|
23
|
-
controls: {
|
|
24
|
-
matchers: {
|
|
25
|
-
color: /(background|color)$/i,
|
|
26
|
-
date: /Date$/,
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
}
|
package/changelog-template.hbs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{{#each releases}}
|
|
2
|
-
### [{{title}}]({{href}})
|
|
3
|
-
|
|
4
|
-
{{#commit-list commits heading='### New Features' message='(feat:|add:)'}}
|
|
5
|
-
- {{subject}} [`{{shorthash}}`]({{href}})
|
|
6
|
-
{{/commit-list}}
|
|
7
|
-
|
|
8
|
-
{{#commit-list commits heading='### Fixes' message='fix:'}}
|
|
9
|
-
- {{subject}} [`{{shorthash}}`]({{href}})
|
|
10
|
-
{{/commit-list}}
|
|
11
|
-
|
|
12
|
-
{{#commit-list commits heading='### Performance' message='zap:'}}
|
|
13
|
-
- {{subject}} [`{{shorthash}}`]({{href}})
|
|
14
|
-
{{/commit-list}}
|
|
15
|
-
|
|
16
|
-
{{#commit-list commits heading='### Other Changes' message='(chore:|docs:|style:|refactor:|test:)'}}
|
|
17
|
-
- {{subject}} [`{{shorthash}}`]({{href}})
|
|
18
|
-
{{/commit-list}}
|
|
19
|
-
{{/each}}
|
package/next.config.js
DELETED
package/prettier.config.js
DELETED
package/public/favicon.ico
DELETED
|
Binary file
|
package/public/next.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
|
package/public/thirteen.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="31" fill="none"><g opacity=".9"><path fill="url(#a)" d="M13 .4v29.3H7V6.3h-.2L0 10.5V5L7.2.4H13Z"/><path fill="url(#b)" d="M28.8 30.1c-2.2 0-4-.3-5.7-1-1.7-.8-3-1.8-4-3.1a7.7 7.7 0 0 1-1.4-4.6h6.2c0 .8.3 1.4.7 2 .4.5 1 .9 1.7 1.2.7.3 1.6.4 2.5.4 1 0 1.7-.2 2.5-.5.7-.3 1.3-.8 1.7-1.4.4-.6.6-1.2.6-2s-.2-1.5-.7-2.1c-.4-.6-1-1-1.8-1.4-.8-.4-1.8-.5-2.9-.5h-2.7v-4.6h2.7a6 6 0 0 0 2.5-.5 4 4 0 0 0 1.7-1.3c.4-.6.6-1.3.6-2a3.5 3.5 0 0 0-2-3.3 5.6 5.6 0 0 0-4.5 0 4 4 0 0 0-1.7 1.2c-.4.6-.6 1.2-.6 2h-6c0-1.7.6-3.2 1.5-4.5 1-1.3 2.2-2.3 3.8-3C25 .4 26.8 0 28.8 0s3.8.4 5.3 1.1c1.5.7 2.7 1.7 3.6 3a7.2 7.2 0 0 1 1.2 4.2c0 1.6-.5 3-1.5 4a7 7 0 0 1-4 2.2v.2c2.2.3 3.8 1 5 2.2a6.4 6.4 0 0 1 1.6 4.6c0 1.7-.5 3.1-1.4 4.4a9.7 9.7 0 0 1-4 3.1c-1.7.8-3.7 1.1-5.8 1.1Z"/></g><defs><linearGradient id="a" x1="20" x2="20" y1="0" y2="30.1" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-color="#3D3D3D"/></linearGradient><linearGradient id="b" x1="20" x2="20" y1="0" y2="30.1" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-color="#3D3D3D"/></linearGradient></defs></svg>
|
package/public/vercel.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 283 64"><path fill="black" d="M141 16c-11 0-19 7-19 18s9 18 20 18c7 0 13-3 16-7l-7-5c-2 3-6 4-9 4-5 0-9-3-10-7h28v-3c0-11-8-18-19-18zm-9 15c1-4 4-7 9-7s8 3 9 7h-18zm117-15c-11 0-19 7-19 18s9 18 20 18c6 0 12-3 16-7l-8-5c-2 3-5 4-8 4-5 0-9-3-11-7h28l1-3c0-11-8-18-19-18zm-10 15c2-4 5-7 10-7s8 3 9 7h-19zm-39 3c0 6 4 10 10 10 4 0 7-2 9-5l8 5c-3 5-9 8-17 8-11 0-19-7-19-18s8-18 19-18c8 0 14 3 17 8l-8 5c-2-3-5-5-9-5-6 0-10 4-10 10zm83-29v46h-9V5h9zM37 0l37 64H0L37 0zm92 5-27 48L74 5h10l18 30 17-30h10zm59 12v10l-3-1c-6 0-10 4-10 10v15h-9V17h9v9c0-5 6-9 13-9z"/></svg>
|
package/setup.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// setup.js
|
|
2
|
-
module.exports = function (Handlebars) {
|
|
3
|
-
Handlebars.registerHelper('custom', function (context, options) {
|
|
4
|
-
const { exclude, message, subject, id, href } = context.hash
|
|
5
|
-
const excludeRegex = new RegExp(exclude)
|
|
6
|
-
const messageRegex = new RegExp(message)
|
|
7
|
-
|
|
8
|
-
const matchExclude = exclude && excludeRegex.test(subject)
|
|
9
|
-
const matchMessage = message && messageRegex.test(subject)
|
|
10
|
-
|
|
11
|
-
if (matchExclude || !matchMessage) return
|
|
12
|
-
|
|
13
|
-
return `- ${subject} [${id}](${href})`
|
|
14
|
-
})
|
|
15
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
const BASE_COLORS = {
|
|
2
|
-
GROWTH_DARK: '#EC6E0E',
|
|
3
|
-
GROWTH_MID: '#FF7D12',
|
|
4
|
-
GROWTH_LIGHT: '#FF9A47',
|
|
5
|
-
GROWTH_LIGHTER: '#FCE3CF',
|
|
6
|
-
|
|
7
|
-
NEUTRAL_LOW: '#333333',
|
|
8
|
-
NEUTRAL_DARKER: '#454545',
|
|
9
|
-
NEUTRAL_DARK: '#8E96A2',
|
|
10
|
-
NEUTRAL_MID: '#BFC4C9',
|
|
11
|
-
NEUTRAL_LIGHT: '#E2E5EA',
|
|
12
|
-
NEUTRAL_LIGHTER: '#F7F9FC',
|
|
13
|
-
NEUTRAL_HIGH: '#FFFFFF',
|
|
14
|
-
|
|
15
|
-
INFO_DARK: '#2E65E5',
|
|
16
|
-
INFO_MID: '#5F8EFF',
|
|
17
|
-
|
|
18
|
-
ALERT_DARK: '#cc0000',
|
|
19
|
-
ALERT_MID: '#FC0303',
|
|
20
|
-
|
|
21
|
-
ATTENTION_DARK: '#EBB400',
|
|
22
|
-
ATTENTION_MID: '#FFD600',
|
|
23
|
-
|
|
24
|
-
NICE_DARK: '#2BB048',
|
|
25
|
-
NICE_MID: '#40D05F',
|
|
26
|
-
|
|
27
|
-
BETTER_DARK: '#0D6320',
|
|
28
|
-
BETTER_MID: '#12872C',
|
|
29
|
-
|
|
30
|
-
DASHBOARD: {
|
|
31
|
-
CLOUDY_LIGHT: '#B4DAFB',
|
|
32
|
-
CLOUDY_MID: '#70B2EB',
|
|
33
|
-
|
|
34
|
-
GRASS_LIGHT: '#64DEA2',
|
|
35
|
-
GRASS_MID: '#2E9E67',
|
|
36
|
-
|
|
37
|
-
STRAWBERRY_LIGHT: '#FF6073',
|
|
38
|
-
STRAWBERRY_MID: '#F32039',
|
|
39
|
-
|
|
40
|
-
EVENING_LIGHT: '#808BB5',
|
|
41
|
-
EVENING_MID: '#586184',
|
|
42
|
-
|
|
43
|
-
BUBBLEGUM_LIGHT: '#F39EE9',
|
|
44
|
-
BUBBLEGUM_MID: '#E16BD3',
|
|
45
|
-
|
|
46
|
-
BLUEY_LIGHT: '#88A6FF',
|
|
47
|
-
BLUEY_MID: '#4F6DC4',
|
|
48
|
-
|
|
49
|
-
SUNBEAM_LIGHT: '#FBE15D',
|
|
50
|
-
SUNBEAM_MID: '#FFBA42',
|
|
51
|
-
|
|
52
|
-
POOLPARTY_LIGHT: '#76CDD6',
|
|
53
|
-
POOLPARTY_MID: '#35A5B1',
|
|
54
|
-
|
|
55
|
-
LAVENDER_LIGHT: '#AB9DF7',
|
|
56
|
-
LAVENDER_MID: '#8367E9',
|
|
57
|
-
|
|
58
|
-
PUMPKIN_LIGHT: '#FFB172',
|
|
59
|
-
PUMPKIN_MID: '#FF841F',
|
|
60
|
-
},
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
const COLOR_ALIASES = {
|
|
64
|
-
PRIMARY: BASE_COLORS.GROWTH_MID,
|
|
65
|
-
SECONDARY: BASE_COLORS.NEUTRAL_DARKER,
|
|
66
|
-
|
|
67
|
-
TEXT_PRIMARY: BASE_COLORS.NEUTRAL_DARKER,
|
|
68
|
-
TEXT_SECONDARY: BASE_COLORS.NEUTRAL_DARK,
|
|
69
|
-
TEXT_ACCENT: BASE_COLORS.GROWTH_MID,
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export const COLORS = {
|
|
73
|
-
...BASE_COLORS,
|
|
74
|
-
...COLOR_ALIASES,
|
|
75
|
-
}
|
package/src/colors/gradients.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export const GRADIENTS = {
|
|
2
|
-
GROWTH_BACKGROUND:
|
|
3
|
-
'linear-gradient(212.52deg, #FFFFFF 11.19%, #FDF4ED 66.29%);',
|
|
4
|
-
|
|
5
|
-
ALERT: 'linear-gradient(261.76deg, #FC0303 2.02%, #AF0808 98.77%);',
|
|
6
|
-
ATTENTION: 'linear-gradient(261.76deg, #FFB800 2.02%, #EA7306 98.77%);',
|
|
7
|
-
NICE: 'linear-gradient(261.76deg, #40D05F 2.02%, #159130 98.77%);',
|
|
8
|
-
BETTER: 'linear-gradient(261.76deg, #179733 2.02%, #016016 98.77%);',
|
|
9
|
-
}
|
package/src/colors/index.ts
DELETED
package/src/colors/shadows.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export const SHADOWS = {
|
|
2
|
-
BOXES: '2px 2px 15px rgba(0, 0, 0, 0.08);',
|
|
3
|
-
POPUPS: '0px 0px 5px rgba(0, 0, 0, 0.2);',
|
|
4
|
-
|
|
5
|
-
HOVER: '1px 1px 2px rgba(0, 0, 0, 0.25), 2px 2px 10px rgba(0, 0, 0, 0.15);',
|
|
6
|
-
|
|
7
|
-
NAVBAR: '0px 1px 4px rgba(134, 21, 21, 0.15);',
|
|
8
|
-
SIDEBAR: '1px 0px 4px rgba(134, 21, 21, 0.15);',
|
|
9
|
-
}
|