forked from chakra-ui/zag
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3caa64b
commit d9daa0d
Showing
185 changed files
with
430 additions
and
1,098 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ | |
"author": "Segun Adebayo <[email protected]>", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "preconstruct build", | ||
"bundle": "esr scripts/build.ts --watch", | ||
"build": "parcel build", | ||
"start:react": "cd examples/next-ts && yarn dev", | ||
"start:vue": "cd examples/vue-ts && yarn dev", | ||
"start:solid": "cd examples/solid-ts && yarn dev", | ||
|
@@ -28,9 +29,7 @@ | |
"lint:validate": "preconstruct validate", | ||
"pkg": "manypkg run", | ||
"postinstall": "patch-package", | ||
"prepare": "npm-run-all -s prepare:**", | ||
"prepare:husky": "husky install", | ||
"prepare:preconstruct": "preconstruct dev", | ||
"prepare:": "husky install", | ||
"release": "changeset publish", | ||
"start": "preconstruct watch", | ||
"test": "jest --maxWorkers=50%", | ||
|
@@ -50,7 +49,6 @@ | |
"@commitlint/cli": "^12.1.4", | ||
"@commitlint/config-conventional": "^12.1.4", | ||
"@manypkg/cli": "^0.17.0", | ||
"@preconstruct/cli": "^2.1.0", | ||
"@swc-node/jest": "^1.3.3", | ||
"@testing-library/cypress": "^8.0.1", | ||
"@testing-library/jest-dom": "^5.14.1", | ||
|
@@ -67,6 +65,7 @@ | |
"cypress-plugin-tab": "^1.0.5", | ||
"cypress-real-events": "^1.5.1", | ||
"esbuild": "^0.13.14", | ||
"esbuild-runner": "^2.2.1", | ||
"eslint": "^7.26.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-cypress": "^2.11.3", | ||
|
@@ -76,6 +75,7 @@ | |
"eslint-plugin-prettier": "^3.4.0", | ||
"eslint-plugin-testing-library": "^4.4.0", | ||
"form-serialize": "^0.7.2", | ||
"gzip-size": "6.0.0", | ||
"husky": "^6.0.0", | ||
"jest": "^26.6.3", | ||
"jest-environment-jsdom": "^26.6.2", | ||
|
@@ -86,28 +86,19 @@ | |
"npm-run-all": "^4.1.5", | ||
"patch-package": "^6.4.7", | ||
"prettier": "^2.3.0", | ||
"pretty-bytes": "^5.6.0", | ||
"rimraf": "^3.0.2", | ||
"shelljs": "^0.8.4", | ||
"start-server-and-test": "^1.14.0", | ||
"ts-node": "^9.1.1", | ||
"typescript": "4.4.3" | ||
}, | ||
"preconstruct": { | ||
"packages": [ | ||
"packages/prop-types", | ||
"packages/core", | ||
"packages/machines/*", | ||
"packages/utilities/*", | ||
"packages/frameworks/*" | ||
] | ||
}, | ||
"workspaces": { | ||
"packages": [ | ||
"packages/prop-types", | ||
"packages/core", | ||
"packages/machines/*", | ||
"packages/frameworks/*", | ||
"packages/utilities/*", | ||
"packages/utilities", | ||
"examples/*" | ||
] | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,14 @@ | |
"author": "Segun Adebayo <[email protected]>", | ||
"homepage": "https://github.com/chakra-ui/core#readme", | ||
"license": "MIT", | ||
"main": "dist/ui-machines-core.cjs.js", | ||
"module": "dist/ui-machines-core.esm.js", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "src/index.ts", | ||
"repository": "https://github.com/chakra-ui/core/tree/main/packages/machine", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
|
@@ -25,9 +27,7 @@ | |
"url": "https://github.com/chakra-ui/core/issues" | ||
}, | ||
"dependencies": { | ||
"klona": "^2.0.4", | ||
"tiny-fn": "^0.0.2", | ||
"tiny-guard": "^0.0.3", | ||
"valtio": "^1.2.5" | ||
"valtio": "^1.2.5", | ||
"klona": "^2.0.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,13 @@ | |
"author": "Segun Adebayo <[email protected]>", | ||
"homepage": "https://github.com/chakra-ui/ui-machines#readme", | ||
"license": "MIT", | ||
"main": "dist/ui-machines-react.cjs.js", | ||
"module": "dist/ui-machines-react.esm.js", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"repository": "https://github.com/chakra-ui/ui-machines/tree/main/packages/frameworks/react", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
|
@@ -34,5 +35,7 @@ | |
}, | ||
"peerDependencies": { | ||
"react": ">=16.8.6" | ||
} | ||
}, | ||
"types": "dist/index.d.ts", | ||
"source": "src/index.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,13 @@ | |
"author": "Segun Adebayo <[email protected]>", | ||
"homepage": "https://github.com/chakra-ui/ui-machines#readme", | ||
"license": "MIT", | ||
"main": "dist/ui-machines-solid.cjs.js", | ||
"module": "dist/ui-machines-solid.esm.js", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"repository": "https://github.com/chakra-ui/ui-machines/tree/main/packages/frameworks/solid", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
|
@@ -26,7 +27,6 @@ | |
}, | ||
"dependencies": { | ||
"@ui-machines/core": "0.0.0", | ||
"@ui-machines/types": "0.0.0", | ||
"hyphenate-style-name": "^1.0.4", | ||
"tiny-guard": "^0.0.3", | ||
"valtio": "^1.2.5" | ||
|
@@ -36,5 +36,7 @@ | |
}, | ||
"peerDependencies": { | ||
"solid-js": ">=1.1.3" | ||
} | ||
}, | ||
"types": "dist/index.d.ts", | ||
"source": "src/index.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,13 @@ | |
"author": "Segun Adebayo <[email protected]>", | ||
"homepage": "https://github.com/chakra-ui/ui-machines#readme", | ||
"license": "MIT", | ||
"main": "dist/ui-machines-svelte.cjs.js", | ||
"module": "dist/ui-machines-svelte.esm.js", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"repository": "https://github.com/chakra-ui/ui-machines/tree/main/packages/core/svelte", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
|
@@ -32,5 +33,7 @@ | |
}, | ||
"peerDependencies": { | ||
"svelte": "^3.38.2" | ||
} | ||
}, | ||
"types": "dist/index.d.ts", | ||
"source": "src/index.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,13 @@ | |
"author": "Segun Adebayo <[email protected]>", | ||
"homepage": "https://github.com/chakra-ui/ui-machines#readme", | ||
"license": "MIT", | ||
"main": "dist/ui-machines-vue.cjs.js", | ||
"module": "dist/ui-machines-vue.esm.js", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"repository": "https://github.com/chakra-ui/ui-machines/tree/main/packages/frameworks/vue", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
|
@@ -26,13 +27,14 @@ | |
}, | ||
"dependencies": { | ||
"@ui-machines/core": "0.0.0", | ||
"@ui-machines/types": "0.0.0", | ||
"valtio": "^1.2.5" | ||
}, | ||
"devDependencies": { | ||
"vue": "^3.0.5" | ||
}, | ||
"peerDependencies": { | ||
"vue": ">=3.0.5" | ||
} | ||
}, | ||
"types": "dist/index.d.ts", | ||
"source": "src/index.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,14 @@ | |
"author": "Segun Adebayo <[email protected]>", | ||
"homepage": "https://github.com/chakra-ui/ui-machines#readme", | ||
"license": "MIT", | ||
"main": "dist/ui-machines-accordion.cjs.js", | ||
"types": "dist/ui-machines-accordion.cjs.d.ts", | ||
"module": "dist/ui-machines-accordion.esm.js", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"module": "dist/index.mjs", | ||
"repository": "https://github.com/chakra-ui/ui-machines/tree/main/packages/accordion", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
|
@@ -29,9 +30,7 @@ | |
"url": "https://github.com/chakra-ui/ui-machines/issues" | ||
}, | ||
"dependencies": { | ||
"@ui-machines/array-utils": "^0.0.0", | ||
"@ui-machines/core": "^0.0.0", | ||
"@ui-machines/dom-utils": "^0.0.0", | ||
"@ui-machines/types": "^0.0.0" | ||
} | ||
"@ui-machines/core": "^0.0.0" | ||
}, | ||
"source": "src/index.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.