beyond-system 0.2.0 → 0.2.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.
@@ -0,0 +1,19 @@
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}}
@@ -7,7 +7,7 @@ var RadixCheckbox = tslib_1.__importStar(require("@radix-ui/react-checkbox"));
7
7
  var clsx_1 = tslib_1.__importDefault(require("clsx"));
8
8
  var Checkbox = function (_a) {
9
9
  var _b = _a.size, size = _b === void 0 ? 'MD' : _b, _c = _a.error, error = _c === void 0 ? false : _c, props = tslib_1.__rest(_a, ["size", "error"]);
10
- return (react_1.default.createElement(RadixCheckbox.Root, tslib_1.__assign({}, props, { className: (0, clsx_1.default)('flex items-center justify-center transition aspect-square border rounded-sm bg-NEUTRAL_HIGH border-NEUTRAL_DARK', 'hover:bg-NEUTRAL_LIGHTER', 'data-[state=checked]:bg-INFO_MID data-[state=checked]:border-INFO_MID', 'data-[state=checked]:hover:bg-INFO_DARK data-[state=checked]:hover:border-INFO_DARK', 'disabled:bg-NEUTRAL_LIGHT data-[state=checked]:disabled:bg-NEUTRAL_MID data-[state=checked]:disabled:border-NEUTRAL_DARK disabled:border-NEUTRAL_MID disabled:pointer-events-none', { 'w-3': size === 'SM' }, { 'w-4': size === 'MD' }, {
10
+ return (react_1.default.createElement(RadixCheckbox.Root, tslib_1.__assign({}, props, { className: (0, clsx_1.default)('flex items-center justify-center transition aspect-square border rounded-sm bg-NEUTRAL_HIGH border-NEUTRAL_DARK', 'hover:bg-NEUTRAL_LIGHTER', 'data-[state=checked]:bg-INFO_MID data-[state=checked]:border-INFO_MID', 'data-[state=checked]:hover:bg-INFO_DARK data-[state=checked]:hover:border-INFO_DARK', 'disabled:bg-NEUTRAL_LIGHT data-[state=checked]:disabled:bg-NEUTRAL_MID data-[state=checked]:disabled:border-NEUTRAL_DARK disabled:border-NEUTRAL_MID disabled:pointer-events-none', { 'w-3 h-3': size === 'SM' }, { 'w-4 w-3': size === 'MD' }, {
11
11
  'outline outline-2 outline-ALERT_MID': error === true,
12
12
  }, props.className) }),
13
13
  react_1.default.createElement(RadixCheckbox.Indicator, { className: (0, clsx_1.default)('flex items-center justify-center transition aspect-square', 'data-[state=checked]:text-GROWTH_MID', { 'text-xxs': size === 'SM' }, { 'text-xs': size === 'MD' }) },
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../../src/components/react/Checkbox/Checkbox.tsx"],"names":[],"mappings":";;;AAAA,wDAAyB;AACzB,qCAA+C;AAC/C,8EAAyD;AAEzD,sDAAuB;AAQvB,IAAM,QAAQ,GAAG,UAAC,EAAuD;IAArD,IAAA,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EAAE,aAAa,EAAb,KAAK,mBAAG,KAAK,KAAA,EAAK,KAAK,sBAAtC,iBAAwC,CAAF;IACtD,OAAO,CACL,8BAAC,aAAa,CAAC,IAAI,uBACb,KAAK,IACT,SAAS,EAAE,IAAA,cAAI,EACb,iHAAiH,EACjH,0BAA0B,EAC1B,uEAAuE,EACvE,qFAAqF,EACrF,mLAAmL,EACnL,EAAE,KAAK,EAAE,IAAI,KAAK,IAAI,EAAE,EACxB,EAAE,KAAK,EAAE,IAAI,KAAK,IAAI,EAAE,EACxB;YACE,qCAAqC,EAAE,KAAK,KAAK,IAAI;SACtD,EACD,KAAK,CAAC,SAAS,CAChB;QAED,8BAAC,aAAa,CAAC,SAAS,IACtB,SAAS,EAAE,IAAA,cAAI,EACb,2DAA2D,EAC3D,sCAAsC,EACtC,EAAE,UAAU,EAAE,IAAI,KAAK,IAAI,EAAE,EAC7B,EAAE,SAAS,EAAE,IAAI,KAAK,IAAI,EAAE,CAC7B;YAED,8BAAC,mBAAc,IAAC,SAAS,EAAE,IAAA,cAAI,EAAC,mBAAmB,CAAC,GAAI,CAChC,CACP,CACtB,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"Checkbox.js","sourceRoot":"","sources":["../../../../src/components/react/Checkbox/Checkbox.tsx"],"names":[],"mappings":";;;AAAA,wDAAyB;AACzB,qCAA+C;AAC/C,8EAAyD;AAEzD,sDAAuB;AAQvB,IAAM,QAAQ,GAAG,UAAC,EAAuD;IAArD,IAAA,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EAAE,aAAa,EAAb,KAAK,mBAAG,KAAK,KAAA,EAAK,KAAK,sBAAtC,iBAAwC,CAAF;IACtD,OAAO,CACL,8BAAC,aAAa,CAAC,IAAI,uBACb,KAAK,IACT,SAAS,EAAE,IAAA,cAAI,EACb,iHAAiH,EACjH,0BAA0B,EAC1B,uEAAuE,EACvE,qFAAqF,EACrF,mLAAmL,EACnL,EAAE,SAAS,EAAE,IAAI,KAAK,IAAI,EAAE,EAC5B,EAAE,SAAS,EAAE,IAAI,KAAK,IAAI,EAAE,EAC5B;YACE,qCAAqC,EAAE,KAAK,KAAK,IAAI;SACtD,EACD,KAAK,CAAC,SAAS,CAChB;QAED,8BAAC,aAAa,CAAC,SAAS,IACtB,SAAS,EAAE,IAAA,cAAI,EACb,2DAA2D,EAC3D,sCAAsC,EACtC,EAAE,UAAU,EAAE,IAAI,KAAK,IAAI,EAAE,EAC7B,EAAE,SAAS,EAAE,IAAI,KAAK,IAAI,EAAE,CAC7B;YAED,8BAAC,mBAAc,IAAC,SAAS,EAAE,IAAA,cAAI,EAAC,mBAAmB,CAAC,GAAI,CAChC,CACP,CACtB,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,QAAQ,CAAA"}
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "beyond-system",
3
+ "author": "Growth Machine",
4
+ "version": "0.2.1",
5
+ "private": false,
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "license": "MIT",
10
+ "scripts": {
11
+ "dev": "start-storybook -p 6006",
12
+ "build": "tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
13
+ "prepare": "npm run build",
14
+ "lint": "eslint .",
15
+ "storybook": "start-storybook -p 6006 -s public",
16
+ "build-storybook": "build-storybook -s public",
17
+ "serve-storybook": "serve storybook-static"
18
+ },
19
+ "peerDependencies": {
20
+ "react": ">=16"
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "LICENSE",
25
+ "README.md"
26
+ ],
27
+ "resolutions": {
28
+ "@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0",
29
+ "styled-components": "^5"
30
+ },
31
+ "dependencies": {
32
+ "clsx": "^1.2.1",
33
+ "@radix-ui/react-slot": "^1.0.1",
34
+ "@radix-ui/react-checkbox": "^1.0.3",
35
+ "@radix-ui/react-radio-group": "^1.1.2",
36
+ "@radix-ui/react-switch": "^1.0.2",
37
+ "next": "13.2.4",
38
+ "react": "18.2.0",
39
+ "react-dom": "18.2.0",
40
+ "react-icons": "^4.8.0",
41
+ "styled-components": "^5.3.9",
42
+ "typescript": "5.0.2"
43
+ },
44
+ "devDependencies": {
45
+ "@babel/core": "^7.21.3",
46
+ "@storybook/addon-links": "^6.5.16",
47
+ "@storybook/addon-essentials": "^6.5.16",
48
+ "@storybook/addon-interactions": "^6.5.16",
49
+ "@storybook/addon-actions": "^6.5.16",
50
+ "@storybook/addon-styling": "^0.3.2",
51
+ "@storybook/builder-webpack5": "^6.5.16",
52
+ "@storybook/manager-webpack5": "^6.5.16",
53
+ "@storybook/react": "^6.5.16",
54
+ "@storybook/testing-library": "^0.0.13",
55
+ "@types/node": "18.15.5",
56
+ "@types/react": "18.0.28",
57
+ "@types/react-dom": "18.0.11",
58
+ "@types/styled-components": "^5.1.26",
59
+ "@typescript-eslint/eslint-plugin": "^5.56.0",
60
+ "autoprefixer": "^10.4.14",
61
+ "babel-loader": "^8.3.0",
62
+ "eslint": "8.36.0",
63
+ "eslint-config-next": "13.2.4",
64
+ "eslint-config-prettier": "^8.8.0",
65
+ "eslint-plugin-prettier": "^4.2.1",
66
+ "eslint-plugin-storybook": "^0.6.11",
67
+ "postcss": "^8.4.21",
68
+ "postcss-loader": "^7.1.0",
69
+ "prettier": "^2.8.6",
70
+ "tailwindcss": "^3.2.7",
71
+ "tsconfig-paths": "^4.2.0",
72
+ "tsconfig-paths-webpack-plugin": "^4.0.1",
73
+ "tscpaths": "^0.0.9"
74
+ }
75
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "include": ["src"],
3
+ "exclude": ["dist", "node_modules"],
4
+ "compilerOptions": {
5
+ "target": "es5",
6
+ "module": "commonjs",
7
+ "moduleResolution": "node",
8
+ "declaration": true,
9
+ "importHelpers": true,
10
+ "sourceMap": true,
11
+ "rootDir": "src",
12
+ "outDir": "dist",
13
+ "strict": true,
14
+ "noImplicitReturns": true,
15
+ "noFallthroughCasesInSwitch": true,
16
+ "noUnusedLocals": true,
17
+ "noUnusedParameters": true,
18
+ "jsx": "react",
19
+ "esModuleInterop": true,
20
+ "skipLibCheck": true,
21
+ "forceConsistentCasingInFileNames": true,
22
+ "allowJs": true,
23
+ "noEmit": false,
24
+ "resolveJsonModule": true,
25
+ "isolatedModules": true,
26
+ "incremental": false,
27
+ "baseUrl": ".",
28
+ "paths": {
29
+ "@/*": ["./src/*"]
30
+ }
31
+ }
32
+ }
package/package.json CHANGED
@@ -1,75 +1,76 @@
1
- {
2
- "name": "beyond-system",
3
- "author": "Growth Machine",
4
- "version": "0.2.0",
5
- "private": false,
6
- "main": "./dist/index.js",
7
- "module": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
- "license": "MIT",
10
- "scripts": {
11
- "dev": "start-storybook -p 6006",
12
- "build": "tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
13
- "prepare": "npm run build",
14
- "lint": "eslint .",
15
- "storybook": "start-storybook -p 6006 -s public",
16
- "build-storybook": "build-storybook -s public",
17
- "serve-storybook": "serve storybook-static"
18
- },
19
- "peerDependencies": {
20
- "react": ">=16"
21
- },
22
- "files": [
23
- "dist",
24
- "LICENSE",
25
- "README.md"
26
- ],
27
- "resolutions": {
28
- "@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0",
29
- "styled-components": "^5"
30
- },
31
- "dependencies": {
32
- "clsx": "^1.2.1",
33
- "@radix-ui/react-slot": "^1.0.1",
34
- "@radix-ui/react-checkbox": "^1.0.3",
35
- "@radix-ui/react-radio-group": "^1.1.2",
36
- "@radix-ui/react-switch": "^1.0.2",
37
- "next": "13.2.4",
38
- "react": "18.2.0",
39
- "react-dom": "18.2.0",
40
- "react-icons": "^4.8.0",
41
- "styled-components": "^5.3.9",
42
- "typescript": "5.0.2"
43
- },
44
- "devDependencies": {
45
- "@babel/core": "^7.21.3",
46
- "@storybook/addon-links": "^6.5.16",
47
- "@storybook/addon-essentials": "^6.5.16",
48
- "@storybook/addon-interactions": "^6.5.16",
49
- "@storybook/addon-actions": "^6.5.16",
50
- "@storybook/addon-styling": "^0.3.2",
51
- "@storybook/builder-webpack5": "^6.5.16",
52
- "@storybook/manager-webpack5": "^6.5.16",
53
- "@storybook/react": "^6.5.16",
54
- "@storybook/testing-library": "^0.0.13",
55
- "@types/node": "18.15.5",
56
- "@types/react": "18.0.28",
57
- "@types/react-dom": "18.0.11",
58
- "@types/styled-components": "^5.1.26",
59
- "@typescript-eslint/eslint-plugin": "^5.56.0",
60
- "autoprefixer": "^10.4.14",
61
- "babel-loader": "^8.3.0",
62
- "eslint": "8.36.0",
63
- "eslint-config-next": "13.2.4",
64
- "eslint-config-prettier": "^8.8.0",
65
- "eslint-plugin-prettier": "^4.2.1",
66
- "eslint-plugin-storybook": "^0.6.11",
67
- "postcss": "^8.4.21",
68
- "postcss-loader": "^7.1.0",
69
- "prettier": "^2.8.6",
70
- "tailwindcss": "^3.2.7",
71
- "tsconfig-paths": "^4.2.0",
72
- "tsconfig-paths-webpack-plugin": "^4.0.1",
73
- "tscpaths": "^0.0.9"
74
- }
75
- }
1
+ {
2
+ "name": "beyond-system",
3
+ "author": "Growth Machine",
4
+ "version": "0.2.2",
5
+ "private": false,
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "license": "MIT",
10
+ "scripts": {
11
+ "dev": "start-storybook -p 6006",
12
+ "build": "tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
13
+ "prepare": "npm run build",
14
+ "lint": "eslint .",
15
+ "storybook": "start-storybook -p 6006 -s public",
16
+ "build-storybook": "build-storybook -s public",
17
+ "serve-storybook": "serve storybook-static",
18
+ "publish": "yarn run build && npm publish"
19
+ },
20
+ "peerDependencies": {
21
+ "react": ">=16"
22
+ },
23
+ "files": [
24
+ "dist",
25
+ "LICENSE",
26
+ "README.md"
27
+ ],
28
+ "resolutions": {
29
+ "@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0",
30
+ "styled-components": "^5"
31
+ },
32
+ "dependencies": {
33
+ "clsx": "^1.2.1",
34
+ "@radix-ui/react-slot": "^1.0.1",
35
+ "@radix-ui/react-checkbox": "^1.0.3",
36
+ "@radix-ui/react-radio-group": "^1.1.2",
37
+ "@radix-ui/react-switch": "^1.0.2",
38
+ "next": "13.2.4",
39
+ "react": "18.2.0",
40
+ "react-dom": "18.2.0",
41
+ "react-icons": "^4.8.0",
42
+ "styled-components": "^5.3.9",
43
+ "typescript": "5.0.2"
44
+ },
45
+ "devDependencies": {
46
+ "@babel/core": "^7.21.3",
47
+ "@storybook/addon-links": "^6.5.16",
48
+ "@storybook/addon-essentials": "^6.5.16",
49
+ "@storybook/addon-interactions": "^6.5.16",
50
+ "@storybook/addon-actions": "^6.5.16",
51
+ "@storybook/addon-styling": "^0.3.2",
52
+ "@storybook/builder-webpack5": "^6.5.16",
53
+ "@storybook/manager-webpack5": "^6.5.16",
54
+ "@storybook/react": "^6.5.16",
55
+ "@storybook/testing-library": "^0.0.13",
56
+ "@types/node": "18.15.5",
57
+ "@types/react": "18.0.28",
58
+ "@types/react-dom": "18.0.11",
59
+ "@types/styled-components": "^5.1.26",
60
+ "@typescript-eslint/eslint-plugin": "^5.56.0",
61
+ "autoprefixer": "^10.4.14",
62
+ "babel-loader": "^8.3.0",
63
+ "eslint": "8.36.0",
64
+ "eslint-config-next": "13.2.4",
65
+ "eslint-config-prettier": "^8.8.0",
66
+ "eslint-plugin-prettier": "^4.2.1",
67
+ "eslint-plugin-storybook": "^0.6.11",
68
+ "postcss": "^8.4.21",
69
+ "postcss-loader": "^7.1.0",
70
+ "prettier": "^2.8.6",
71
+ "tailwindcss": "^3.2.7",
72
+ "tsconfig-paths": "^4.2.0",
73
+ "tsconfig-paths-webpack-plugin": "^4.0.1",
74
+ "tscpaths": "^0.0.9"
75
+ }
76
+ }
File without changes