From 1434a622770d6abc3ec900219850d41d8e6d1fee Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Tue, 29 Oct 2024 09:44:16 +0000 Subject: [PATCH 1/2] Update API doc --- pnpm-lock.yaml | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 677cd5e2d..681044cb0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -234,7 +234,7 @@ importers: devDependencies: '@nuxt/devtools': specifier: ^0.8.5 - version: 0.8.5(nuxt@3.3.2(@types/node@18.19.60)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2) + version: 0.8.5(nuxt@3.3.2(@types/node@18.19.60)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0)) '@nuxt/eslint-config': specifier: ^0.2.0 version: 0.2.0(eslint@8.57.1) @@ -246,7 +246,7 @@ importers: version: 3.13.2(rollup@4.24.2) '@nuxt/test-utils': specifier: ^3.7.3 - version: 3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vitest@1.6.0(@types/node@18.19.60)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) + version: 3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0))(vitest@1.6.0(@types/node@18.19.60)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) '@primevue/themes': specifier: workspace:* version: link:../themes @@ -8315,12 +8315,13 @@ snapshots: '@nuxt/devalue@2.0.2': {} - '@nuxt/devtools-kit@0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.60)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)': + '@nuxt/devtools-kit@0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.60)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0))': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.24.2) '@nuxt/schema': 3.13.2(rollup@4.24.2) execa: 7.2.0 nuxt: 3.3.2(@types/node@18.19.60)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3) + vite: 5.4.10(@types/node@18.19.60)(terser@5.36.0) transitivePeerDependencies: - magicast - rollup @@ -8340,10 +8341,10 @@ snapshots: rc9: 2.1.2 semver: 7.6.3 - '@nuxt/devtools@0.8.5(nuxt@3.3.2(@types/node@18.19.60)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)': + '@nuxt/devtools@0.8.5(nuxt@3.3.2(@types/node@18.19.60)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0))': dependencies: '@antfu/utils': 0.7.10 - '@nuxt/devtools-kit': 0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.60)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2) + '@nuxt/devtools-kit': 0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.60)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0)) '@nuxt/devtools-wizard': 0.8.5 '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.24.2) birpc: 0.2.19 @@ -8374,8 +8375,9 @@ snapshots: simple-git: 3.27.0 sirv: 2.0.4 unimport: 3.13.1(rollup@4.24.2) - vite-plugin-inspect: 0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.24.2))(rollup@4.24.2) - vite-plugin-vue-inspector: 3.7.2 + vite: 5.4.10(@types/node@18.19.60)(terser@5.36.0) + vite-plugin-inspect: 0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.24.2))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0)) + vite-plugin-vue-inspector: 3.7.2(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0)) wait-on: 7.2.0 which: 3.0.1 ws: 8.18.0 @@ -8685,7 +8687,7 @@ snapshots: - supports-color - webpack-sources - '@nuxt/test-utils@3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vitest@1.6.0(@types/node@18.19.60)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))': + '@nuxt/test-utils@3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0))(vitest@1.6.0(@types/node@18.19.60)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.24.2) '@nuxt/schema': 3.13.2(rollup@4.24.2) @@ -8711,7 +8713,8 @@ snapshots: ufo: 1.5.4 unenv: 1.10.0 unplugin: 1.15.0(webpack-sources@3.2.3) - vitest-environment-nuxt: 1.0.1(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vitest@1.6.0(@types/node@18.19.60)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) + vite: 5.4.10(@types/node@18.19.60)(terser@5.36.0) + vitest-environment-nuxt: 1.0.1(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0))(vitest@1.6.0(@types/node@18.19.60)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) vue: 3.5.12(typescript@5.6.3) vue-router: 4.4.5(vue@3.5.12(typescript@5.6.3)) optionalDependencies: @@ -14231,7 +14234,7 @@ snapshots: optionator: 0.9.4 typescript: 5.6.3 - vite-plugin-inspect@0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.24.2))(rollup@4.24.2): + vite-plugin-inspect@0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.24.2))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.24.2) @@ -14241,13 +14244,14 @@ snapshots: open: 9.1.0 picocolors: 1.1.1 sirv: 2.0.4 + vite: 5.4.10(@types/node@18.19.60)(terser@5.36.0) optionalDependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.24.2) transitivePeerDependencies: - rollup - supports-color - vite-plugin-vue-inspector@3.7.2: + vite-plugin-vue-inspector@3.7.2(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0)): dependencies: '@babel/core': 7.26.0 '@babel/plugin-proposal-decorators': 7.25.9(@babel/core@7.26.0) @@ -14258,6 +14262,7 @@ snapshots: '@vue/compiler-dom': 3.5.12 kolorist: 1.8.0 magic-string: 0.30.12 + vite: 5.4.10(@types/node@18.19.60)(terser@5.36.0) transitivePeerDependencies: - supports-color @@ -14294,9 +14299,9 @@ snapshots: fsevents: 2.3.3 terser: 5.36.0 - vitest-environment-nuxt@1.0.1(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vitest@1.6.0(@types/node@18.19.60)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)): + vitest-environment-nuxt@1.0.1(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0))(vitest@1.6.0(@types/node@18.19.60)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)): dependencies: - '@nuxt/test-utils': 3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vitest@1.6.0(@types/node@18.19.60)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) + '@nuxt/test-utils': 3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.60)(terser@5.36.0))(vitest@1.6.0(@types/node@18.19.60)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) transitivePeerDependencies: - '@cucumber/cucumber' - '@jest/globals' From de31066532c12a942b727226b5367c63be42f11e Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 29 Oct 2024 13:42:31 +0300 Subject: [PATCH 2/2] Update docs --- apps/showcase/assets/menu/menu.json | 25 ++++++------------- apps/showcase/doc/tailwind/OverviewDoc.vue | 6 ++++- apps/showcase/doc/tailwind/PresetsDoc.vue | 15 ----------- .../doc/tailwind/TailwindThemeDoc.vue | 10 ++++++++ .../doc/tailwind/samples/ColorPaletteDoc.vue | 20 +++++++-------- .../theming/unstyled/pure/PureExampleDoc.vue | 3 +-- apps/showcase/pages/tailwind/index.vue | 8 +++--- 7 files changed, 37 insertions(+), 50 deletions(-) delete mode 100644 apps/showcase/doc/tailwind/PresetsDoc.vue create mode 100644 apps/showcase/doc/tailwind/TailwindThemeDoc.vue diff --git a/apps/showcase/assets/menu/menu.json b/apps/showcase/assets/menu/menu.json index 1b532f34d..ffc9acd21 100644 --- a/apps/showcase/assets/menu/menu.json +++ b/apps/showcase/assets/menu/menu.json @@ -504,22 +504,8 @@ }, { "name": "Tailwind CSS", - "icon": "pi pi-heart", - "children": [ - { - "name": "Integration", - "to": "/tailwind" - }, - { - "name": "Presets", - "href": "https://tailwind.primevue.org" - } - ] - }, - { - "name": "Figma UI Kit", - "icon": "pi pi-pencil", - "to": "/uikit" + "icon": "pi pi-star", + "to": "/tailwind" }, { "name": "Icons", @@ -535,9 +521,14 @@ } ] }, + { + "name": "Figma UI Kit", + "icon": "pi pi-pencil", + "to": "/uikit" + }, { "name": "Templates", - "icon": "pi pi-star", + "icon": "pi pi-heart", "to": "/templates" }, { diff --git a/apps/showcase/doc/tailwind/OverviewDoc.vue b/apps/showcase/doc/tailwind/OverviewDoc.vue index c5d8c4319..e044867d3 100644 --- a/apps/showcase/doc/tailwind/OverviewDoc.vue +++ b/apps/showcase/doc/tailwind/OverviewDoc.vue @@ -7,9 +7,13 @@

Tailwind is an outstanding CSS library, however it lacks a true comprehensive UI suite when combined with Vue.js, this is where PrimeVue comes in by providing a wide range of highly accessible and feature rich UI component library. The - core of PrimeVue does not depend on Tailwind CSS, instead we provide the necessary integration points such as the primeui tailwind plugin and the presets for the unstyled mode. + core of PrimeVue does not depend on Tailwind CSS, instead we provide the necessary integration points such as the primeui tailwind plugin and the Tailwind version for the unstyled mode.

+
+ Tailwind CSS and PrimeVue can be used together via two main approaches. Simple approach is using Tailwind CSS around PrimeVue components for layout purposes as demonstrated in the samples section below, the advanced approach takes the + integration a step further by allowing Tailwind CSS within the component internals to style the entire UI suite in unstyled mode. +
diff --git a/apps/showcase/doc/tailwind/PresetsDoc.vue b/apps/showcase/doc/tailwind/PresetsDoc.vue deleted file mode 100644 index 6e30fa344..000000000 --- a/apps/showcase/doc/tailwind/PresetsDoc.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/apps/showcase/doc/tailwind/TailwindThemeDoc.vue b/apps/showcase/doc/tailwind/TailwindThemeDoc.vue new file mode 100644 index 000000000..49868d3af --- /dev/null +++ b/apps/showcase/doc/tailwind/TailwindThemeDoc.vue @@ -0,0 +1,10 @@ + + + diff --git a/apps/showcase/doc/tailwind/samples/ColorPaletteDoc.vue b/apps/showcase/doc/tailwind/samples/ColorPaletteDoc.vue index 5f7c8e8e4..ff07bf6fb 100644 --- a/apps/showcase/doc/tailwind/samples/ColorPaletteDoc.vue +++ b/apps/showcase/doc/tailwind/samples/ColorPaletteDoc.vue @@ -23,6 +23,7 @@ +