From a30fa5508a601faeed6c2c3df23a4950d8fdf222 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Thu, 31 Oct 2024 13:43:37 +0000 Subject: [PATCH 1/3] Rename `@primevue/form` with `@primevue/forms` --- .../components/doc/codeeditor/templates.js | 2 +- apps/showcase/doc/autocomplete/FormsDoc.vue | 6 +-- apps/showcase/doc/cascadeselect/FormsDoc.vue | 4 +- apps/showcase/doc/checkbox/FormsDoc.vue | 6 +-- apps/showcase/doc/colorpicker/FormsDoc.vue | 6 +-- apps/showcase/doc/datepicker/FormsDoc.vue | 6 +-- apps/showcase/doc/editor/FormsDoc.vue | 6 +-- apps/showcase/doc/forms/RegisterDoc.vue | 6 +-- apps/showcase/doc/forms/ResolversDoc.vue | 8 ++-- apps/showcase/doc/forms/SubmitDoc.vue | 6 +-- .../doc/forms/dynamic/DynamicForm.vue | 2 +- apps/showcase/doc/forms/pt/PTViewer.vue | 2 +- apps/showcase/doc/inputmask/FormsDoc.vue | 6 +-- apps/showcase/doc/inputnumber/FormsDoc.vue | 6 +-- apps/showcase/doc/inputotp/FormsDoc.vue | 6 +-- apps/showcase/doc/inputtext/FormsDoc.vue | 6 +-- apps/showcase/doc/knob/FormsDoc.vue | 6 +-- apps/showcase/doc/listbox/FormsDoc.vue | 6 +-- apps/showcase/doc/multiselect/FormsDoc.vue | 6 +-- apps/showcase/doc/password/FormsDoc.vue | 6 +-- apps/showcase/doc/radiobutton/FormsDoc.vue | 6 +-- apps/showcase/doc/rating/FormsDoc.vue | 6 +-- apps/showcase/doc/select/FormsDoc.vue | 6 +-- apps/showcase/doc/selectbutton/FormsDoc.vue | 6 +-- apps/showcase/doc/slider/FormsDoc.vue | 6 +-- apps/showcase/doc/textarea/FormsDoc.vue | 6 +-- apps/showcase/doc/togglebutton/FormsDoc.vue | 6 +-- apps/showcase/doc/toggleswitch/FormsDoc.vue | 6 +-- apps/showcase/doc/treeselect/FormsDoc.vue | 6 +-- apps/showcase/package.json | 4 +- package.json | 4 +- packages/form/README.md | 1 - packages/forms/README.md | 1 + packages/{form => forms}/package.json | 44 ++++++++----------- packages/{form => forms}/rollup.config.mjs | 6 +-- .../{form => forms}/scripts/postbuild.mjs | 0 packages/{form => forms}/scripts/prebuild.mjs | 0 .../{form => forms}/src/form/BaseForm.vue | 2 +- packages/{form => forms}/src/form/Form.d.ts | 0 packages/{form => forms}/src/form/Form.vue | 2 +- .../{form => forms}/src/form/package.json | 0 .../src/form/style/FormStyle.d.ts | 0 .../src/form/style/FormStyle.js | 0 .../src/form/style/package.json | 0 .../src/formfield/BaseFormField.vue | 2 +- .../src/formfield/FormField.d.ts | 0 .../src/formfield/FormField.vue | 0 .../src/formfield/package.json | 0 .../src/formfield/style/FormFieldStyle.d.ts | 0 .../src/formfield/style/FormFieldStyle.js | 0 .../src/formfield/style/package.json | 0 packages/forms/src/index.d.ts | 5 +++ packages/forms/src/index.js | 5 +++ .../{form => forms}/src/resolvers/index.d.ts | 0 .../{form => forms}/src/resolvers/index.js | 0 .../src/resolvers/package.json | 0 .../{form => forms}/src/useform/index.d.ts | 0 packages/{form => forms}/src/useform/index.js | 0 .../{form => forms}/src/useform/package.json | 0 packages/{form => forms}/tsconfig.json | 2 +- packages/metadata/src/components/index.ts | 4 +- packages/primevue/package.json | 2 +- pnpm-lock.yaml | 6 +-- 63 files changed, 127 insertions(+), 125 deletions(-) delete mode 100644 packages/form/README.md create mode 100644 packages/forms/README.md rename packages/{form => forms}/package.json (54%) rename packages/{form => forms}/rollup.config.mjs (96%) rename packages/{form => forms}/scripts/postbuild.mjs (100%) rename packages/{form => forms}/scripts/prebuild.mjs (100%) rename packages/{form => forms}/src/form/BaseForm.vue (94%) rename packages/{form => forms}/src/form/Form.d.ts (100%) rename packages/{form => forms}/src/form/Form.vue (94%) rename packages/{form => forms}/src/form/package.json (100%) rename packages/{form => forms}/src/form/style/FormStyle.d.ts (100%) rename packages/{form => forms}/src/form/style/FormStyle.js (100%) rename packages/{form => forms}/src/form/style/package.json (100%) rename packages/{form => forms}/src/formfield/BaseFormField.vue (95%) rename packages/{form => forms}/src/formfield/FormField.d.ts (100%) rename packages/{form => forms}/src/formfield/FormField.vue (100%) rename packages/{form => forms}/src/formfield/package.json (100%) rename packages/{form => forms}/src/formfield/style/FormFieldStyle.d.ts (100%) rename packages/{form => forms}/src/formfield/style/FormFieldStyle.js (100%) rename packages/{form => forms}/src/formfield/style/package.json (100%) create mode 100644 packages/forms/src/index.d.ts create mode 100644 packages/forms/src/index.js rename packages/{form => forms}/src/resolvers/index.d.ts (100%) rename packages/{form => forms}/src/resolvers/index.js (100%) rename packages/{form => forms}/src/resolvers/package.json (100%) rename packages/{form => forms}/src/useform/index.d.ts (100%) rename packages/{form => forms}/src/useform/index.js (100%) rename packages/{form => forms}/src/useform/package.json (100%) rename packages/{form => forms}/tsconfig.json (93%) diff --git a/apps/showcase/components/doc/codeeditor/templates.js b/apps/showcase/components/doc/codeeditor/templates.js index b45b8897d..ee093288f 100644 --- a/apps/showcase/components/doc/codeeditor/templates.js +++ b/apps/showcase/components/doc/codeeditor/templates.js @@ -16,7 +16,7 @@ const core_dependencies = { primevue: pkg.version || PrimeVue.version || 'latest', '@primevue/themes': pkg.version || PrimeVue.version || 'latest', '@primevue/auto-import-resolver': pkg.version || PrimeVue.version || 'latest', - '@primevue/form': pkg.version || PrimeVue.version || 'latest', + '@primevue/forms': pkg.version || PrimeVue.version || 'latest', primeicons: app_dependencies['primeicons'] || 'latest', tailwindcss: app_dependencies['tailwindcss'] || 'latest', autoprefixer: app_dependencies['autoprefixer'] || 'latest', diff --git a/apps/showcase/doc/autocomplete/FormsDoc.vue b/apps/showcase/doc/autocomplete/FormsDoc.vue index 2ebf50de0..dcf30adcc 100644 --- a/apps/showcase/doc/autocomplete/FormsDoc.vue +++ b/apps/showcase/doc/autocomplete/FormsDoc.vue @@ -16,7 +16,7 @@