-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add dev-tools package with initial configuration and dependencies * feat: implement dev-tools package with core functionalities and types * refactor: move helper functions to a new helpers.ts file * feat: enhance dev-tools with field type resolution and improved tagging * feat: integrate checkbox support in dev-tools with registration * feat: add radio field support to dev-tools with registration * fix: update import paths for dev-tools to use wildcard syntax * refactor: simplify dev-tools registration by removing formId parameter * chore: update package name * refactor: simplify the API * refactor: use the new api calls and add devtools as dep * fix: eliminate circular dependency * feat: hook all fields to devtools * fix: remove standalone tag * chore: test playground forms with no forms * fix: ensure fields appear on mount * fix: added klona and typefest as deps for devtools * chore: ensure klona is external to devtools * chore(playground): remove build failures * chore: match fw version * chore: added changeset * fix: only register fields on mounted * fix: delay registeration logic * feat: branding and form actions * feat: support filtering * feat: render path state * fix: make sure devtools is a dependency --------- Co-authored-by: Abdelrahman Awad <[email protected]>
- Loading branch information
Showing
36 changed files
with
1,151 additions
and
238 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,6 @@ | ||
--- | ||
'@formwerk/devtools': patch | ||
'@formwerk/core': patch | ||
--- | ||
|
||
feat: initial devtools support |
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
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
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "@formwerk/devtools", | ||
"version": "0.8.1", | ||
"description": "Formwerk's Vue devtools plugin", | ||
"author": "Abdelrahman Awad <[email protected]>", | ||
"license": "MIT", | ||
"funding": "https://github.com/sponsors/logaretm", | ||
"module": "dist/devtools.mjs", | ||
"unpkg": "dist/devtools.iife.js", | ||
"jsdelivr": "dist/devtools.iife.js", | ||
"main": "dist/index.mjs", | ||
"types": "dist/devtools.d.ts", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./dist/devtools.mjs", | ||
"require": "./dist/devtools.cjs", | ||
"types": "./dist/devtools.d.ts" | ||
}, | ||
"./dist/index.d.ts": "./dist/devtools.d.ts" | ||
}, | ||
"sideEffects": false, | ||
"keywords": [ | ||
"VueJS", | ||
"Vue", | ||
"validation", | ||
"validator", | ||
"inputs", | ||
"form" | ||
], | ||
"files": [ | ||
"dist/*.js", | ||
"dist/*.mjs", | ||
"dist/*.cjs", | ||
"dist/*.d.ts" | ||
], | ||
"dependencies": { | ||
"klona": "^2.0.6", | ||
"type-fest": "^4.34.1", | ||
"@vue/devtools-api": "^7.7.2", | ||
"@vue/devtools-kit": "^7.7.2" | ||
} | ||
} |
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,20 @@ | ||
export function getPluginColors() { | ||
return { | ||
error: 0xbd4b4b, | ||
success: 0x06d77b, | ||
unknown: 0x54436b, | ||
white: 0xffffff, | ||
black: 0x000000, | ||
blue: 0x035397, | ||
purple: 0xb980f0, | ||
orange: 0xf5a962, | ||
gray: 0xbbbfca, | ||
}; | ||
} | ||
export function getInspectorId() { | ||
return 'formwerk-inspector'; | ||
} | ||
|
||
export function getRootFormId() { | ||
return '~none'; | ||
} |
Oops, something went wrong.