From 808f410a5535cced50f46f67333ed419f8f2c8dc Mon Sep 17 00:00:00 2001 From: Alexandra Petrova <32033964+Fsss126@users.noreply.github.com> Date: Tue, 21 May 2024 21:05:50 +0300 Subject: [PATCH] Updated Node.js and tsx version to fix Railway build (#4278) * Modal Form for Vuestic UI Landing page (#4265) * Added textarea (#4265) * Show modal based on geolocation (#4265) * Review edits (#4265) * Disable docs build:analysis * Updated Node.js and tsx version to fix Railway build --- .nvmrc | 2 +- package.json | 3 +- packages/create-vuestic/package.json | 3 +- packages/deploy/package.json | 1 - packages/docs/.env.example | 1 + packages/docs/assets/reset.scss | 10 ++ packages/docs/components/Recaptcha.vue | 49 ++++++ packages/docs/components/landing/Footer.vue | 1 + .../landing/banners/VuejsNation.vue | 6 +- .../landing/forms/RequestAuditForm.vue | 164 ++++++++++++++++++ .../landing/icons/IconChromatic.vue | 15 +- .../landing/icons/IconCodeSandbox.vue | 33 ++-- .../components/landing/icons/IconVueForge.vue | 30 +++- .../landing/modals/RequestAuditModal.vue | 63 +++++++ .../landing/partners/icons/Chromatic.vue | 6 +- .../landing/partners/icons/CodeSandbox.vue | 24 +-- .../landing/partners/icons/Epicmax.vue | 6 +- .../landing/partners/icons/JetBrains.vue | 8 +- .../landing/partners/icons/VueForge.vue | 21 ++- .../landing/partners/icons/VueJobs.vue | 6 +- .../landing/partners/icons/VueJsNation.vue | 14 +- .../landing/partners/icons/VueSchool.vue | 12 +- .../layout/icons/CollapseIcon/index.vue | 2 +- packages/docs/composables/useRecaptcha.ts | 41 +++++ .../docs/composables/useRequestAuditModal.ts | 56 ++++++ packages/docs/nuxt.config.ts | 1 + .../introduction/roadmap/images/1.8/menu.vue | 2 +- .../roadmap/images/1.8/pageLayout.vue | 2 +- .../components-config/components/Priority.vue | 8 +- .../avatar/examples/Accessibility.vue | 8 +- .../data-table/examples/Selection.vue | 2 +- .../form-field/examples/default.vue | 2 +- .../ui-elements/menu/examples/Context.vue | 6 +- .../ui-elements/select/examples/Tagging.vue | 2 +- packages/docs/pages/index.vue | 11 +- .../public/landing/modals/request-audit.png | Bin 0 -> 660675 bytes packages/docs/utils/localStorage/index.ts | 1 + packages/github-utilities/package.json | 1 - .../ui/src/components/va-input/VaInput.vue | 2 +- .../src/components/va-textarea/VaTextarea.vue | 14 +- yarn.lock | 59 +++++-- 41 files changed, 595 insertions(+), 103 deletions(-) create mode 100644 packages/docs/assets/reset.scss create mode 100644 packages/docs/components/Recaptcha.vue create mode 100644 packages/docs/components/landing/forms/RequestAuditForm.vue create mode 100644 packages/docs/components/landing/modals/RequestAuditModal.vue create mode 100644 packages/docs/composables/useRecaptcha.ts create mode 100644 packages/docs/composables/useRequestAuditModal.ts create mode 100644 packages/docs/public/landing/modals/request-audit.png create mode 100644 packages/docs/utils/localStorage/index.ts diff --git a/.nvmrc b/.nvmrc index 8409d1b8d0..6a41e95fc6 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18.16.0 +v18.20.2 diff --git a/package.json b/package.json index d90163559a..8f770ebfa9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "devDependencies": { "lerna": "^3.20.2", "syncpack": "^9.8.6", - "yorkie": "^2.0.0" + "yorkie": "^2.0.0", + "tsx": "^4.6.1" }, "private": true, "scripts": { diff --git a/packages/create-vuestic/package.json b/packages/create-vuestic/package.json index fd866e9ac8..1ec874728c 100644 --- a/packages/create-vuestic/package.json +++ b/packages/create-vuestic/package.json @@ -22,7 +22,6 @@ "devDependencies": { "@types/node": "^18.16.0", "@types/prompts": "^2.4.2", - "tsup": "^6.5.0", - "tsx": "^3.12.1" + "tsup": "^6.5.0" } } diff --git a/packages/deploy/package.json b/packages/deploy/package.json index b7d988f530..49cd317ee6 100644 --- a/packages/deploy/package.json +++ b/packages/deploy/package.json @@ -6,7 +6,6 @@ "release": "tsx release-script/release-script.ts" }, "devDependencies": { - "tsx": "^3.12.1", "inquirer": "^9.0.0", "typescript": "^5", "chalk": "^5.2.0" diff --git a/packages/docs/.env.example b/packages/docs/.env.example index f2eafb15c5..eba0371ac8 100644 --- a/packages/docs/.env.example +++ b/packages/docs/.env.example @@ -2,3 +2,4 @@ VITE_STORYBOOK_HOSTNAME=https://ui-storybook.vuestic.dev HOSTNAME=https://ui.vuestic.dev GTM_ENABLED=true GTM_ID=GTM-12345678 +RECAPTCHA_SITE_KEY=6LesGd4pAAAAABkDfsFPwY-LcNbOQezYOKmpJDgG diff --git a/packages/docs/assets/reset.scss b/packages/docs/assets/reset.scss new file mode 100644 index 0000000000..0cae318c5c --- /dev/null +++ b/packages/docs/assets/reset.scss @@ -0,0 +1,10 @@ +button, +input, +optgroup, +select, +textarea { + font-family: inherit; + font-size: 100%; + line-height: 1.15; + margin: 0; +} diff --git a/packages/docs/components/Recaptcha.vue b/packages/docs/components/Recaptcha.vue new file mode 100644 index 0000000000..a30b94506f --- /dev/null +++ b/packages/docs/components/Recaptcha.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/packages/docs/components/landing/Footer.vue b/packages/docs/components/landing/Footer.vue index bdcbd7f76a..5e8ddbfc04 100644 --- a/packages/docs/components/landing/Footer.vue +++ b/packages/docs/components/landing/Footer.vue @@ -204,6 +204,7 @@ const sitemap = computed(() => ([ color: unset; filter: unset; } + &:hover { text-decoration: underline; } diff --git a/packages/docs/components/landing/banners/VuejsNation.vue b/packages/docs/components/landing/banners/VuejsNation.vue index 1ede243cba..78dd3440d0 100644 --- a/packages/docs/components/landing/banners/VuejsNation.vue +++ b/packages/docs/components/landing/banners/VuejsNation.vue @@ -3,14 +3,14 @@ -
- +
+
- +
diff --git a/packages/docs/components/landing/forms/RequestAuditForm.vue b/packages/docs/components/landing/forms/RequestAuditForm.vue new file mode 100644 index 0000000000..5e7b009fe6 --- /dev/null +++ b/packages/docs/components/landing/forms/RequestAuditForm.vue @@ -0,0 +1,164 @@ + + + + + diff --git a/packages/docs/components/landing/icons/IconChromatic.vue b/packages/docs/components/landing/icons/IconChromatic.vue index 64c15b1401..b6e857b2cb 100644 --- a/packages/docs/components/landing/icons/IconChromatic.vue +++ b/packages/docs/components/landing/icons/IconChromatic.vue @@ -1,7 +1,14 @@ diff --git a/packages/docs/components/landing/icons/IconCodeSandbox.vue b/packages/docs/components/landing/icons/IconCodeSandbox.vue index 21c4ab0acf..7fa72ea4c3 100644 --- a/packages/docs/components/landing/icons/IconCodeSandbox.vue +++ b/packages/docs/components/landing/icons/IconCodeSandbox.vue @@ -1,16 +1,23 @@ diff --git a/packages/docs/components/landing/icons/IconVueForge.vue b/packages/docs/components/landing/icons/IconVueForge.vue index ccd23d3337..d217464641 100644 --- a/packages/docs/components/landing/icons/IconVueForge.vue +++ b/packages/docs/components/landing/icons/IconVueForge.vue @@ -1,11 +1,31 @@ + + + + + + diff --git a/packages/docs/components/landing/partners/icons/Chromatic.vue b/packages/docs/components/landing/partners/icons/Chromatic.vue index b482b518fa..c979fa480f 100644 --- a/packages/docs/components/landing/partners/icons/Chromatic.vue +++ b/packages/docs/components/landing/partners/icons/Chromatic.vue @@ -1,8 +1,8 @@ diff --git a/packages/docs/components/landing/partners/icons/CodeSandbox.vue b/packages/docs/components/landing/partners/icons/CodeSandbox.vue index 513af3ff38..039bf649af 100644 --- a/packages/docs/components/landing/partners/icons/CodeSandbox.vue +++ b/packages/docs/components/landing/partners/icons/CodeSandbox.vue @@ -1,17 +1,17 @@ diff --git a/packages/docs/components/landing/partners/icons/Epicmax.vue b/packages/docs/components/landing/partners/icons/Epicmax.vue index 5597c42bb5..498735bbe8 100644 --- a/packages/docs/components/landing/partners/icons/Epicmax.vue +++ b/packages/docs/components/landing/partners/icons/Epicmax.vue @@ -1,7 +1,7 @@