feat: migrate form builder to shadcn/ui + Huge Icons

- Replace @wordpress/components with shadcn Input, Button, Switch, Select, Textarea, Label
- Replace @wordpress/icons with @hugeicons/core-free-icons and @hugeicons/react
- Update fieldTypes config with Huge Icons component references
- Migrate FormFieldOptions, FieldSettingsPanel, FormField, FormCanvas, FieldPalette
This commit is contained in:
dwindown
2026-04-19 13:44:10 +07:00
parent 99912a9335
commit c103e368be
8 changed files with 160 additions and 106 deletions

7
package-lock.json generated
View File

@@ -9,6 +9,7 @@
"version": "2.0.0",
"license": "GPL-2.0-or-later",
"dependencies": {
"@hugeicons/core-free-icons": "^4.1.1",
"@hugeicons/react": "^1.1.6",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dialog": "^1.1.15",
@@ -2413,6 +2414,12 @@
"@hapi/hoek": "^9.0.0"
}
},
"node_modules/@hugeicons/core-free-icons": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/@hugeicons/core-free-icons/-/core-free-icons-4.1.1.tgz",
"integrity": "sha512-teqIBvPHl90ygIwKyJwTxOH8aNp1X1PjDTcMvLkEwdPxPD+8mssrZ5kXKIAJJFYPsz69a8LYQY0UPid4PAdavg==",
"license": "MIT"
},
"node_modules/@hugeicons/react": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/@hugeicons/react/-/react-1.1.6.tgz",