From fc049519e4738bfeeaf85f90c2cb49586843e628 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 17 Sep 2024 10:24:33 +0300 Subject: [PATCH 01/31] Update count --- apps/showcase/components/landing/UsersSection.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/showcase/components/landing/UsersSection.vue b/apps/showcase/components/landing/UsersSection.vue index 502308e46..8413dcda1 100644 --- a/apps/showcase/components/landing/UsersSection.vue +++ b/apps/showcase/components/landing/UsersSection.vue @@ -2,7 +2,7 @@
Who Uses

- PrimeTek libraries have reached over 150 Million Downloads on npm! Join the PrimeLand community and experience the difference yourself. + PrimeTek libraries have reached over 200 Million Downloads on npm! Join the PrimeLand community and experience the difference yourself.

From 5332841267cf310b537e4462441cea062b90a854 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 17 Sep 2024 10:27:28 +0300 Subject: [PATCH 02/31] Remove margin --- apps/showcase/components/landing/BlockSection.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/showcase/components/landing/BlockSection.vue b/apps/showcase/components/landing/BlockSection.vue index 943ef83a3..29bf7d921 100644 --- a/apps/showcase/components/landing/BlockSection.vue +++ b/apps/showcase/components/landing/BlockSection.vue @@ -355,7 +355,7 @@
-
+
question mark
From 16b8962fb8cf428fa0a686dfb5e0573109500dc2 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 17 Sep 2024 11:51:45 +0300 Subject: [PATCH 03/31] .d.ts updates --- packages/primevue/src/megamenu/MegaMenu.d.ts | 4 ++++ packages/primevue/src/progressspinner/ProgressSpinner.d.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/primevue/src/megamenu/MegaMenu.d.ts b/packages/primevue/src/megamenu/MegaMenu.d.ts index e29c80220..7717c5a03 100755 --- a/packages/primevue/src/megamenu/MegaMenu.d.ts +++ b/packages/primevue/src/megamenu/MegaMenu.d.ts @@ -114,6 +114,10 @@ export interface MegaMenuPassThroughOptions { * Used to pass attributes to the mobile popup menu button's DOM element. */ button?: MegaMenuPassThroughOptionType; + /** + * Used to pass attributes to the mobile popup menu button icon's DOM element. + */ + buttonIcon?: MegaMenuPassThroughOptionType; /** * Used to pass attributes to the start of the component. */ diff --git a/packages/primevue/src/progressspinner/ProgressSpinner.d.ts b/packages/primevue/src/progressspinner/ProgressSpinner.d.ts index c79a14bcf..a40ea4f3e 100755 --- a/packages/primevue/src/progressspinner/ProgressSpinner.d.ts +++ b/packages/primevue/src/progressspinner/ProgressSpinner.d.ts @@ -51,7 +51,7 @@ export interface ProgressSpinnerPassThroughOptions { /** * Used to pass attributes to the spinner's DOM element. */ - spinner?: ProgressSpinnerPassThroughOptionType; + spin?: ProgressSpinnerPassThroughOptionType; /** * Used to pass attributes to the circle's DOM element. */ From 7b1e86131b008c427432d9afa9b5194daebc4ff8 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Tue, 17 Sep 2024 08:52:55 +0000 Subject: [PATCH 04/31] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 10 +- pnpm-lock.yaml | 103 +++++++++++++-------- 2 files changed, 74 insertions(+), 39 deletions(-) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index e971988c1..ed9530bd8 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -36389,6 +36389,14 @@ "default": "", "description": "Used to pass attributes to the mobile popup menu button's DOM element." }, + { + "name": "buttonIcon", + "optional": true, + "readonly": false, + "type": "MegaMenuPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the mobile popup menu button icon's DOM element." + }, { "name": "start", "optional": true, @@ -48508,7 +48516,7 @@ "description": "Used to pass attributes to the root's DOM element." }, { - "name": "spinner", + "name": "spin", "optional": true, "readonly": false, "type": "ProgressSpinnerPassThroughOptionType", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8699f0ea2..bd8c342b2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -129,7 +129,7 @@ importers: devDependencies: tsup: specifier: ^8.1.0 - version: 8.2.4(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) unplugin-vue-components: specifier: ^0.27.0 version: 0.27.0(@babel/parser@7.25.6)(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3))(rollup@4.21.3)(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) @@ -162,7 +162,7 @@ importers: devDependencies: tsup: specifier: ^8.1.0 - version: 8.2.4(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) + version: 8.3.0(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1) publishDirectory: dist packages/nuxt-module: @@ -194,7 +194,7 @@ importers: devDependencies: '@nuxt/devtools': specifier: ^0.8.5 - version: 0.8.5(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3) + version: 0.8.5(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3) '@nuxt/eslint-config': specifier: ^0.2.0 version: 0.2.0(eslint@8.57.1) @@ -206,7 +206,7 @@ importers: version: 3.13.2(rollup@4.21.3)(webpack-sources@3.2.3) '@nuxt/test-utils': specifier: ^3.7.3 - version: 3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) + version: 3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) '@primevue/themes': specifier: workspace:* version: link:../themes @@ -3454,8 +3454,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.5.23: - resolution: {integrity: sha512-mBhODedOXg4v5QWwl21DjM5amzjmI1zw9EPrPK/5Wx7C8jt33bpZNrC7OhHUG3pxRtbLpr3W2dXT+Ph1SsfRZA==} + electron-to-chromium@1.5.24: + resolution: {integrity: sha512-0x0wLCmpdKFCi9ulhvYZebgcPmHTkFVUfU2wzDykadkslKwT4oAmDTHEKLnlrDsMGZe4B+ksn8quZfZjYsBetA==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -3728,6 +3728,14 @@ packages: fastq@1.17.1: resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + fdir@6.3.0: + resolution: {integrity: sha512-QOnuT+BOtivR77wYvCWHfGt9s4Pz1VIMbD463vegT5MLqNXy8rYFT/lPVEqf/bhYeT6qmqrNHhsX+rWwe3rOCQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -4963,6 +4971,10 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + pify@2.3.0: resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} engines: {node: '>=0.10.0'} @@ -6075,6 +6087,10 @@ packages: tinyexec@0.3.0: resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==} + tinyglobby@0.2.6: + resolution: {integrity: sha512-NbBoFBpqfcgd1tCiO8Lkfdk+xrA7mlLR9zgvZcZWQQwU63XAfUePyd6wZBaU93Hqw347lHnwFzttAkemHzzz4g==} + engines: {node: '>=12.0.0'} + tinypool@0.4.0: resolution: {integrity: sha512-2ksntHOKf893wSAH4z/+JbPpi92esw8Gn9N2deXX+B0EO92hexAVI9GIZZPx7P5aYo5KULfeOSt3kMOmSOy6uA==} engines: {node: '>=14.0.0'} @@ -6151,8 +6167,8 @@ packages: tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} - tsup@8.2.4: - resolution: {integrity: sha512-akpCPePnBnC/CXgRrcy72ZSntgIEUa1jN0oJbbvpALWKNOz1B7aM+UVDWGRGIO/T/PZugAESWDJUAb5FD48o8Q==} + tsup@8.3.0: + resolution: {integrity: sha512-ALscEeyS03IomcuNdFdc0YWGVIkwH1Ws7nfTbAPuoILvEV2hpGQAY72LIOjglGo4ShWpZfpBqP/jpQVCzqYQag==} engines: {node: '>=18'} hasBin: true peerDependencies: @@ -6478,8 +6494,8 @@ packages: terser: optional: true - vite@4.5.3: - resolution: {integrity: sha512-kQL23kMeX92v3ph7IauVkXkikdDRsYMGTVl5KY2E9OY4ONLvkHf04MDTbnfo6NKxZiDLWzVpP5oTa8hQD8U3dg==} + vite@4.5.5: + resolution: {integrity: sha512-ifW3Lb2sMdX+WU91s3R0FyQlAyLxOzCSCP37ujw0+r5POeHPwe6udWVIElKQq8gk3t7b8rkmvqC6IHBpCff4GQ==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -6506,8 +6522,8 @@ packages: terser: optional: true - vite@5.4.5: - resolution: {integrity: sha512-pXqR0qtb2bTwLkev4SE3r4abCNioP3GkjvIDLlzziPpXtHgiJIjuKl+1GN6ESOT3wMjG3JTeARopj2SwYaHTOA==} + vite@5.4.6: + resolution: {integrity: sha512-IeL5f8OO5nylsgzd9tq4qD2QqI0k2CQLGrWD0rCN0EQJZpBK5vJAx0I+GDkMOXxQX/OfFHMuLIx6ddAxGX/k+Q==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -8386,13 +8402,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.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3)': + '@nuxt/devtools-kit@0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3)': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3) '@nuxt/schema': 3.13.2(rollup@4.21.3)(webpack-sources@3.2.3) execa: 7.2.0 nuxt: 3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3) - vite: 5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) + vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) transitivePeerDependencies: - magicast - rollup @@ -8412,10 +8428,10 @@ snapshots: rc9: 2.1.2 semver: 7.6.3 - '@nuxt/devtools@0.8.5(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3)': + '@nuxt/devtools@0.8.5(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3)': dependencies: '@antfu/utils': 0.7.10 - '@nuxt/devtools-kit': 0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3) + '@nuxt/devtools-kit': 0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3) '@nuxt/devtools-wizard': 0.8.5 '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3) birpc: 0.2.17 @@ -8446,9 +8462,9 @@ snapshots: simple-git: 3.26.0 sirv: 2.0.4 unimport: 3.12.0(rollup@4.21.3)(webpack-sources@3.2.3) - vite: 5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) - vite-plugin-inspect: 0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)) - vite-plugin-vue-inspector: 3.7.2(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)) + vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) + vite-plugin-inspect: 0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)) + vite-plugin-vue-inspector: 3.7.2(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)) wait-on: 7.2.0 which: 3.0.1 ws: 8.18.0 @@ -8733,7 +8749,7 @@ snapshots: - supports-color - webpack-sources - '@nuxt/test-utils@3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3)': + '@nuxt/test-utils@3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3)': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3) '@nuxt/schema': 3.13.2(rollup@4.21.3)(webpack-sources@3.2.3) @@ -8759,8 +8775,8 @@ snapshots: ufo: 1.5.4 unenv: 1.10.0 unplugin: 1.14.1(webpack-sources@3.2.3) - vite: 5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) - vitest-environment-nuxt: 1.0.1(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) + vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) + vitest-environment-nuxt: 1.0.1(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) vue: 3.5.6(typescript@5.6.2) vue-router: 4.4.5(vue@3.5.6(typescript@5.6.2)) optionalDependencies: @@ -9866,7 +9882,7 @@ snapshots: browserslist@4.23.3: dependencies: caniuse-lite: 1.0.30001660 - electron-to-chromium: 1.5.23 + electron-to-chromium: 1.5.24 node-releases: 2.0.18 update-browserslist-db: 1.1.0(browserslist@4.23.3) @@ -10473,7 +10489,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.5.23: {} + electron-to-chromium@1.5.24: {} emoji-regex@8.0.0: {} @@ -10905,6 +10921,10 @@ snapshots: dependencies: reusify: 1.0.4 + fdir@6.3.0(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + file-entry-cache@6.0.1: dependencies: flat-cache: 3.2.0 @@ -12489,6 +12509,8 @@ snapshots: picomatch@2.3.1: {} + picomatch@4.0.2: {} + pify@2.3.0: {} pify@5.0.0: {} @@ -13639,6 +13661,11 @@ snapshots: tinyexec@0.3.0: {} + tinyglobby@0.2.6: + dependencies: + fdir: 6.3.0(picomatch@4.0.2) + picomatch: 4.0.2 + tinypool@0.4.0: {} tinypool@0.8.4: {} @@ -13690,7 +13717,7 @@ snapshots: tslib@2.7.0: {} - tsup@8.2.4(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1): + tsup@8.3.0(jiti@1.21.6)(postcss@8.4.47)(typescript@5.6.2)(yaml@2.5.1): dependencies: bundle-require: 5.0.0(esbuild@0.23.1) cac: 6.7.14 @@ -13699,7 +13726,6 @@ snapshots: debug: 4.3.7 esbuild: 0.23.1 execa: 5.1.1 - globby: 11.1.0 joycon: 3.1.1 picocolors: 1.1.0 postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.47)(yaml@2.5.1) @@ -13707,6 +13733,7 @@ snapshots: rollup: 4.21.3 source-map: 0.8.0-beta.0 sucrase: 3.35.0 + tinyglobby: 0.2.6 tree-kill: 1.2.2 optionalDependencies: postcss: 8.4.47 @@ -13994,7 +14021,7 @@ snapshots: mlly: 1.7.1 pathe: 1.1.2 picocolors: 1.1.0 - vite: 4.5.3(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) + vite: 4.5.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) transitivePeerDependencies: - '@types/node' - less @@ -14011,7 +14038,7 @@ snapshots: debug: 4.3.7 pathe: 1.1.2 picocolors: 1.1.0 - vite: 5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) + vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) transitivePeerDependencies: - '@types/node' - less @@ -14047,7 +14074,7 @@ snapshots: optionator: 0.9.4 typescript: 5.6.2 - vite-plugin-inspect@0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)): + vite-plugin-inspect@0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.0(rollup@4.21.3) @@ -14057,14 +14084,14 @@ snapshots: open: 9.1.0 picocolors: 1.1.0 sirv: 2.0.4 - vite: 5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) + vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) optionalDependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3) transitivePeerDependencies: - rollup - supports-color - vite-plugin-vue-inspector@3.7.2(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)): + vite-plugin-vue-inspector@3.7.2(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)): dependencies: '@babel/core': 7.25.2 '@babel/plugin-proposal-decorators': 7.24.7(@babel/core@7.25.2) @@ -14075,7 +14102,7 @@ snapshots: '@vue/compiler-dom': 3.5.6 kolorist: 1.8.0 magic-string: 0.30.11 - vite: 5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) + vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) transitivePeerDependencies: - supports-color @@ -14091,7 +14118,7 @@ snapshots: sass: 1.78.0 terser: 5.32.0 - vite@4.5.3(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0): + vite@4.5.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0): dependencies: esbuild: 0.18.20 postcss: 8.4.47 @@ -14102,7 +14129,7 @@ snapshots: sass: 1.78.0 terser: 5.32.0 - vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0): + vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0): dependencies: esbuild: 0.21.5 postcss: 8.4.47 @@ -14113,9 +14140,9 @@ snapshots: sass: 1.78.0 terser: 5.32.0 - vitest-environment-nuxt@1.0.1(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3): + vitest-environment-nuxt@1.0.1(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3): dependencies: - '@nuxt/test-utils': 3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) + '@nuxt/test-utils': 3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) transitivePeerDependencies: - '@cucumber/cucumber' - '@jest/globals' @@ -14160,7 +14187,7 @@ snapshots: tinybench: 2.9.0 tinypool: 0.4.0 tinyspy: 1.1.1 - vite: 4.5.3(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) + vite: 4.5.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) vite-node: 0.29.8(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) why-is-node-running: 2.3.0 optionalDependencies: @@ -14193,7 +14220,7 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.9.0 tinypool: 0.8.4 - vite: 5.4.5(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) + vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) vite-node: 1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) why-is-node-running: 2.3.0 optionalDependencies: From 26fb30303865987b0f96ae8214e85c816ae8df58 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 17 Sep 2024 11:53:21 +0300 Subject: [PATCH 05/31] Refactor --- packages/primevue/src/megamenu/MegaMenu.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/primevue/src/megamenu/MegaMenu.vue b/packages/primevue/src/megamenu/MegaMenu.vue index 893b5eb36..4744a1bfd 100755 --- a/packages/primevue/src/megamenu/MegaMenu.vue +++ b/packages/primevue/src/megamenu/MegaMenu.vue @@ -21,7 +21,7 @@ > - + @@ -58,10 +58,10 @@ diff --git a/apps/showcase/doc/breadcrumb/pt/index.vue b/apps/showcase/doc/breadcrumb/pt/index.vue index 8d8f8b3dc..b3b9d63dc 100644 --- a/apps/showcase/doc/breadcrumb/pt/index.vue +++ b/apps/showcase/doc/breadcrumb/pt/index.vue @@ -11,16 +11,16 @@ diff --git a/apps/showcase/doc/contextmenu/pt/index.vue b/apps/showcase/doc/contextmenu/pt/index.vue index 7ca9f6a55..119d9ec70 100644 --- a/apps/showcase/doc/contextmenu/pt/index.vue +++ b/apps/showcase/doc/contextmenu/pt/index.vue @@ -11,16 +11,16 @@ diff --git a/apps/showcase/doc/dock/pt/index.vue b/apps/showcase/doc/dock/pt/index.vue index fb7b6deec..94b8ae313 100644 --- a/apps/showcase/doc/dock/pt/index.vue +++ b/apps/showcase/doc/dock/pt/index.vue @@ -11,16 +11,16 @@ diff --git a/apps/showcase/doc/menu/pt/index.vue b/apps/showcase/doc/menu/pt/index.vue index 7e2592428..2e537b0de 100644 --- a/apps/showcase/doc/menu/pt/index.vue +++ b/apps/showcase/doc/menu/pt/index.vue @@ -11,16 +11,16 @@ diff --git a/packages/primevue/src/iftalabel/IftaLabel.d.ts b/packages/primevue/src/iftalabel/IftaLabel.d.ts new file mode 100644 index 000000000..05f26456e --- /dev/null +++ b/packages/primevue/src/iftalabel/IftaLabel.d.ts @@ -0,0 +1,130 @@ +/** + * + * FloatLabel appears on top of the input field when focused. + * + * [Live Demo](https://www.primevue.org/iftalabel/) + * + * @module iftalabel + * + */ +import type { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '@primevue/core'; +import type { ComponentHooks } from '@primevue/core/basecomponent'; +import type { PassThroughOptions } from 'primevue/passthrough'; +import { TransitionProps, VNode } from 'vue'; + +export declare type IftaLabelPassThroughOptionType = IftaLabelPassThroughAttributes | ((options: IftaLabelPassThroughMethodOptions) => IftaLabelPassThroughAttributes | string) | string | null | undefined; + +export declare type IftaLabelPassThroughTransitionType = TransitionProps | ((options: IftaLabelPassThroughMethodOptions) => TransitionProps) | undefined; + +/** + * Custom passthrough(pt) option method. + */ +export interface IftaLabelPassThroughMethodOptions { + /** + * Defines instance. + */ + instance: any; + /** + * Defines valid properties. + */ + props: IftaLabelProps; + /** + * Defines valid attributes. + */ + attrs: any; + /** + * Defines parent options. + */ + parent: any; + /** + * Defines passthrough(pt) options in global config. + */ + global: object | undefined; +} + +/** + * Custom passthrough(pt) options. + * @see {@link IftaLabelProps.pt} + */ +export interface IftaLabelPassThroughOptions { + /** + * Used to pass attributes to the root's DOM element. + */ + root?: IftaLabelPassThroughOptionType; + /** + * Used to manage all lifecycle hooks. + * @see {@link BaseComponent.ComponentHooks} + */ + hooks?: ComponentHooks; +} + +/** + * Custom passthrough attributes for each DOM elements + */ +export interface IftaLabelPassThroughAttributes { + [key: string]: any; +} + +/** + * Defines valid properties in IftaLabel component. + */ +export interface IftaLabelProps { + /** + * It generates scoped CSS variables using design tokens for the component. + */ + dt?: DesignToken; + /** + * Used to pass attributes to DOM elements inside the component. + * @type {IftaLabelPassThroughOptions} + */ + pt?: PassThrough; + /** + * Used to configure passthrough(pt) options of the component. + * @type {PassThroughOptions} + */ + ptOptions?: PassThroughOptions; + /** + * When enabled, it removes component related styles in the core. + * @defaultValue false + */ + unstyled?: boolean; +} + +/** + * Defines valid slots in IftaLabel component. + */ +export interface IftaLabelSlots { + /** + * Default content slot. + */ + default: () => VNode[]; +} + +/** + * Defines valid emits in IftaLabel component. + */ +export interface IftaLabelEmitsOptions {} + +export declare type IftaLabelEmits = EmitFn; + +/** + * **PrimeVue - IftaLabel** + * + * _FloatLabel appears on top of the input field when focused._ + * + * [Live Demo](https://www.primevue.org/inputtext/) + * --- --- + * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png) + * + * @group Component + * + */ +declare const IftaLabel: DefineComponent; + +declare module 'vue' { + export interface GlobalComponents { + IftaLabel: GlobalComponentConstructor; + } +} + +export default IftaLabel; diff --git a/packages/primevue/src/iftalabel/IftaLabel.vue b/packages/primevue/src/iftalabel/IftaLabel.vue new file mode 100644 index 000000000..7b7bf6ca3 --- /dev/null +++ b/packages/primevue/src/iftalabel/IftaLabel.vue @@ -0,0 +1,15 @@ + + + diff --git a/packages/primevue/src/iftalabel/package.json b/packages/primevue/src/iftalabel/package.json new file mode 100644 index 000000000..4bf883240 --- /dev/null +++ b/packages/primevue/src/iftalabel/package.json @@ -0,0 +1,11 @@ +{ + "main": "./IftaLabel.vue", + "module": "./IftaLabel.vue", + "types": "./IftaLabel.d.ts", + "browser": { + "./sfc": "./IftaLabel.vue" + }, + "sideEffects": [ + "*.vue" + ] +} diff --git a/packages/primevue/src/iftalabel/style/IftaLabelStyle.d.ts b/packages/primevue/src/iftalabel/style/IftaLabelStyle.d.ts new file mode 100644 index 000000000..b06f0eeeb --- /dev/null +++ b/packages/primevue/src/iftalabel/style/IftaLabelStyle.d.ts @@ -0,0 +1,19 @@ +/** + * + * FloatLabel appears on top of the input field when focused. + * + * [Live Demo](https://www.primevue.org/floatlabel/) + * + * @module iftalabelstyle + * + */ +import type { BaseStyle } from '@primevue/core/base/style'; + +export enum IftaLabelClasses { + /** + * Class name of the root element + */ + root = 'p-iftalabel' +} + +export interface IftaLabelStyle extends BaseStyle {} diff --git a/packages/primevue/src/iftalabel/style/IftaLabelStyle.js b/packages/primevue/src/iftalabel/style/IftaLabelStyle.js new file mode 100644 index 000000000..72d6aa192 --- /dev/null +++ b/packages/primevue/src/iftalabel/style/IftaLabelStyle.js @@ -0,0 +1,14 @@ +import BaseStyle from '@primevue/core/base/style'; + +const theme = ({ dt }) => ` +`; + +const classes = { + root: 'p-iftalabel' +}; + +export default BaseStyle.extend({ + name: 'iftalabel', + theme, + classes +}); diff --git a/packages/primevue/src/iftalabel/style/package.json b/packages/primevue/src/iftalabel/style/package.json new file mode 100644 index 000000000..a66a89180 --- /dev/null +++ b/packages/primevue/src/iftalabel/style/package.json @@ -0,0 +1,6 @@ +{ + "main": "./IftaLabelStyle.js", + "module": "./IftaLabelStyle.js", + "types": "./IftaLabelStyle.d.ts", + "sideEffects": false +} From 1bdab8ed453b469660f3f5eb8403b39e921da278 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Tue, 17 Sep 2024 10:03:29 +0000 Subject: [PATCH 14/31] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 245 +++++++++++++++++++++ 1 file changed, 245 insertions(+) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index f1a30414a..8d5de38ce 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -29457,6 +29457,251 @@ } } }, + "iftalabel": { + "description": "FloatLabel appears on top of the input field when focused.\n\n[Live Demo](https://www.primevue.org/iftalabel/)", + "components": { + "default": { + "description": "FloatLabel appears on top of the input field when focused.", + "methods": { + "description": "Defines methods that can be accessed by the component's reference.", + "values": [] + } + } + }, + "interfaces": { + "description": "Defines the custom interfaces used by the module.", + "eventDescription": "Defines the custom events used by the component's emit.", + "methodDescription": "Defines methods that can be accessed by the component's reference.", + "typeDescription": "Defines the custom types used by the module.", + "values": { + "IftaLabelPassThroughMethodOptions": { + "description": "Custom passthrough(pt) option method.", + "relatedProp": "", + "props": [ + { + "name": "instance", + "optional": false, + "readonly": false, + "type": "any", + "default": "", + "description": "Defines instance." + }, + { + "name": "props", + "optional": false, + "readonly": false, + "type": "IftaLabelProps", + "default": "", + "description": "Defines valid properties." + }, + { + "name": "attrs", + "optional": false, + "readonly": false, + "type": "any", + "default": "", + "description": "Defines valid attributes." + }, + { + "name": "parent", + "optional": false, + "readonly": false, + "type": "any", + "default": "", + "description": "Defines parent options." + }, + { + "name": "global", + "optional": false, + "readonly": false, + "type": "undefined | object", + "default": "", + "description": "Defines passthrough(pt) options in global config." + } + ], + "methods": [] + }, + "IftaLabelPassThroughOptions": { + "description": "Custom passthrough(pt) options.", + "relatedProp": "IftaLabelProps.pt", + "props": [ + { + "name": "root", + "optional": true, + "readonly": false, + "type": "IftaLabelPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the root's DOM element." + }, + { + "name": "hooks", + "optional": true, + "readonly": false, + "type": "any", + "default": "", + "description": "Used to manage all lifecycle hooks." + } + ], + "methods": [] + }, + "IftaLabelPassThroughAttributes": { + "description": "Custom passthrough attributes for each DOM elements", + "relatedProp": "", + "props": [ + { + "name": "[key: string]", + "optional": false, + "readonly": false, + "type": "any" + } + ], + "methods": [] + }, + "IftaLabelProps": { + "description": "Defines valid properties in IftaLabel component.", + "relatedProp": "", + "props": [ + { + "name": "dt", + "optional": true, + "readonly": false, + "type": "any", + "default": "", + "description": "It generates scoped CSS variables using design tokens for the component." + }, + { + "name": "pt", + "optional": true, + "readonly": false, + "type": "PassThrough", + "default": "", + "description": "Used to pass attributes to DOM elements inside the component." + }, + { + "name": "ptOptions", + "optional": true, + "readonly": false, + "type": "any", + "default": "", + "description": "Used to configure passthrough(pt) options of the component." + }, + { + "name": "unstyled", + "optional": true, + "readonly": false, + "type": "boolean", + "default": "false", + "description": "When enabled, it removes component related styles in the core." + } + ], + "methods": [] + }, + "IftaLabelSlots": { + "description": "Defines valid slots in IftaLabel component.", + "relatedProp": "", + "props": [ + { + "name": "default", + "optional": false, + "readonly": false, + "type": "Function", + "default": "" + } + ], + "methods": [] + }, + "IftaLabelEmitsOptions": { + "description": "Defines valid emits in IftaLabel component.", + "relatedProp": "", + "props": [], + "methods": [] + } + } + }, + "tokens": { + "description": "Define design tokens used by the component.", + "values": { + "IftaLabelPassThroughMethodOptions": { + "description": "Custom passthrough(pt) option method.", + "props": [] + }, + "IftaLabelPassThroughOptions": { + "description": "Custom passthrough(pt) options.", + "props": [] + }, + "IftaLabelPassThroughAttributes": { + "description": "Custom passthrough attributes for each DOM elements", + "props": [] + }, + "IftaLabelProps": { + "description": "Defines valid properties in IftaLabel component.", + "props": [] + }, + "IftaLabelSlots": { + "description": "Defines valid slots in IftaLabel component.", + "props": [] + }, + "IftaLabelEmitsOptions": { + "description": "Defines valid emits in IftaLabel component.", + "props": [] + } + } + }, + "types": { + "description": "Defines the custom types used by the module.", + "values": { + "IftaLabelPassThroughOptionType": { + "values": "IftaLabelPassThroughAttributes | (options: IftaLabelPassThroughMethodOptions) => undefined | string | null | undefined" + }, + "IftaLabelPassThroughTransitionType": { + "values": "TransitionProps | (options: IftaLabelPassThroughMethodOptions) => TransitionProps | undefined" + }, + "IftaLabelEmits": { + "values": "EmitFn" + } + } + } + }, + "iftalabelstyle": { + "description": "FloatLabel appears on top of the input field when focused.\n\n[Live Demo](https://www.primevue.org/floatlabel/)", + "interfaces": { + "description": "Defines the custom interfaces used by the module.", + "eventDescription": "Defines the custom events used by the component's emit.", + "methodDescription": "Defines methods that can be accessed by the component's reference.", + "typeDescription": "Defines the custom types used by the module.", + "values": { + "IftaLabelStyle": { + "relatedProp": "", + "props": [], + "methods": [], + "extendedTypes": "default" + } + } + }, + "tokens": { + "description": "Define design tokens used by the component.", + "values": { + "IftaLabelStyle": { + "props": [] + } + } + }, + "enumerations": { + "values": { + "IftaLabelClasses": { + "members": [ + { + "name": "root", + "optional": false, + "readonly": false, + "value": "\"p-iftalabel\"", + "description": "Class name of the root element" + } + ] + } + } + } + }, "image": { "description": "Displays an image with preview and tranformation options. For multiple image, see Galleria.\n\n[Live Demo](https://www.primevue.org/image/)", "components": { From edae389d35e89b30431dd3d4df90fac3bdd4810a Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 17 Sep 2024 13:20:40 +0300 Subject: [PATCH 15/31] PTViewer visual updates --- apps/showcase/assets/styles/layout/_doc.scss | 11 ++++------- apps/showcase/components/doc/DocPTViewer.vue | 10 ++++++---- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/apps/showcase/assets/styles/layout/_doc.scss b/apps/showcase/assets/styles/layout/_doc.scss index 55dea0f82..cad42da70 100644 --- a/apps/showcase/assets/styles/layout/_doc.scss +++ b/apps/showcase/assets/styles/layout/_doc.scss @@ -442,7 +442,7 @@ display: flex; align-items: center; justify-content: center; - border-color: var(--p-content-border-color); + border-color: var(--border-color); border-width: 0 1px 0 0; padding: 1rem; width: 75%; @@ -461,16 +461,13 @@ display: flex; flex-direction: column; padding: .5rem; - cursor: pointer; &:hover { - background-color: var(--p-content-hover-background); + background-color: var(--hover-background); } - .doc-ptoption-text { - color: var(--p-text-muted-color); - font-size: 0.875rem; - line-height: 1.25rem; + .doc-ptoption-text:hover { + cursor: default; } } } diff --git a/apps/showcase/components/doc/DocPTViewer.vue b/apps/showcase/components/doc/DocPTViewer.vue index 7f5e69b39..0367e68d3 100644 --- a/apps/showcase/components/doc/DocPTViewer.vue +++ b/apps/showcase/components/doc/DocPTViewer.vue @@ -7,8 +7,10 @@ @@ -43,12 +45,12 @@ export default { if (this.hoveredElements.length === 0) this.hoveredElements = find(document.querySelector('body'), selector); //TODO: this.hoveredElements?.forEach((el) => { - addClass(el, '!ring !ring-red-500 !z-10'); + addClass(el, '!ring !ring-blue-500 !z-10'); }); }, leaveSection() { this.hoveredElements.forEach((el) => { - removeClass(el, '!ring !ring-red-500 !z-10'); + removeClass(el, '!ring !ring-blue-500 !z-10'); }); this.hoveredElements = []; From 9c4f33b0c2bf999d106cfbc7794fe7feabf387a9 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 17 Sep 2024 13:26:24 +0300 Subject: [PATCH 16/31] Fixed #6418 - New Float Label Variants --- apps/showcase/assets/menu/menu.json | 3 +- apps/showcase/doc/floatlabel/BasicDoc.vue | 2 +- apps/showcase/doc/floatlabel/InvalidDoc.vue | 113 ++++++++++++++++++ apps/showcase/doc/floatlabel/VariantsDoc.vue | 90 ++++++++++++++ apps/showcase/pages/floatlabel/index.vue | 14 ++- .../src/floatlabel/BaseFloatLabel.vue | 6 + .../src/floatlabel/style/FloatLabelStyle.js | 66 +++++++++- .../src/presets/aura/floatlabel/index.js | 28 ++++- packages/themes/src/presets/aura/index.js | 6 +- .../src/presets/lara/floatlabel/index.js | 28 ++++- packages/themes/src/presets/lara/index.js | 6 +- .../src/presets/nora/floatlabel/index.js | 28 ++++- packages/themes/src/presets/nora/index.js | 6 +- 13 files changed, 378 insertions(+), 18 deletions(-) create mode 100644 apps/showcase/doc/floatlabel/InvalidDoc.vue create mode 100644 apps/showcase/doc/floatlabel/VariantsDoc.vue diff --git a/apps/showcase/assets/menu/menu.json b/apps/showcase/assets/menu/menu.json index bdc8a016b..26e9f9482 100644 --- a/apps/showcase/assets/menu/menu.json +++ b/apps/showcase/assets/menu/menu.json @@ -97,7 +97,8 @@ }, { "name": "FloatLabel", - "to": "/floatlabel" + "to": "/floatlabel", + "badge": "NEW" }, { "name": "IconField", diff --git a/apps/showcase/doc/floatlabel/BasicDoc.vue b/apps/showcase/doc/floatlabel/BasicDoc.vue index 09edcc57b..6ebf82616 100644 --- a/apps/showcase/doc/floatlabel/BasicDoc.vue +++ b/apps/showcase/doc/floatlabel/BasicDoc.vue @@ -4,7 +4,7 @@
- +
diff --git a/apps/showcase/doc/floatlabel/InvalidDoc.vue b/apps/showcase/doc/floatlabel/InvalidDoc.vue new file mode 100644 index 000000000..b6a9ed61a --- /dev/null +++ b/apps/showcase/doc/floatlabel/InvalidDoc.vue @@ -0,0 +1,113 @@ + + + diff --git a/apps/showcase/doc/floatlabel/VariantsDoc.vue b/apps/showcase/doc/floatlabel/VariantsDoc.vue new file mode 100644 index 000000000..9660a2f26 --- /dev/null +++ b/apps/showcase/doc/floatlabel/VariantsDoc.vue @@ -0,0 +1,90 @@ + + + diff --git a/apps/showcase/pages/floatlabel/index.vue b/apps/showcase/pages/floatlabel/index.vue index f5ecb57e0..9d20662d2 100644 --- a/apps/showcase/pages/floatlabel/index.vue +++ b/apps/showcase/pages/floatlabel/index.vue @@ -1,13 +1,15 @@ diff --git a/apps/showcase/doc/iftalabel/ImportDoc.vue b/apps/showcase/doc/iftalabel/ImportDoc.vue new file mode 100644 index 000000000..c54ef52e4 --- /dev/null +++ b/apps/showcase/doc/iftalabel/ImportDoc.vue @@ -0,0 +1,18 @@ + + + diff --git a/apps/showcase/doc/iftalabel/InvalidDoc.vue b/apps/showcase/doc/iftalabel/InvalidDoc.vue new file mode 100644 index 000000000..8f0fd39ed --- /dev/null +++ b/apps/showcase/doc/iftalabel/InvalidDoc.vue @@ -0,0 +1,67 @@ + + + diff --git a/apps/showcase/doc/iftalabel/pt/PTImage.vue b/apps/showcase/doc/iftalabel/pt/PTImage.vue new file mode 100644 index 000000000..9ac50d6b4 --- /dev/null +++ b/apps/showcase/doc/iftalabel/pt/PTImage.vue @@ -0,0 +1,8 @@ + diff --git a/apps/showcase/doc/iftalabel/pt/index.vue b/apps/showcase/doc/iftalabel/pt/index.vue new file mode 100644 index 000000000..dab994c74 --- /dev/null +++ b/apps/showcase/doc/iftalabel/pt/index.vue @@ -0,0 +1,35 @@ + + + diff --git a/apps/showcase/doc/iftalabel/theming/TailwindDoc.vue b/apps/showcase/doc/iftalabel/theming/TailwindDoc.vue new file mode 100644 index 000000000..4daa6c5f8 --- /dev/null +++ b/apps/showcase/doc/iftalabel/theming/TailwindDoc.vue @@ -0,0 +1,8 @@ + diff --git a/apps/showcase/doc/iftalabel/theming/index.vue b/apps/showcase/doc/iftalabel/theming/index.vue new file mode 100644 index 000000000..7439af3b9 --- /dev/null +++ b/apps/showcase/doc/iftalabel/theming/index.vue @@ -0,0 +1,56 @@ + + + diff --git a/apps/showcase/pages/iftalabel/index.vue b/apps/showcase/pages/iftalabel/index.vue new file mode 100644 index 000000000..30acb8cb3 --- /dev/null +++ b/apps/showcase/pages/iftalabel/index.vue @@ -0,0 +1,43 @@ + + + diff --git a/packages/primevue/src/floatlabel/FloatLabel.d.ts b/packages/primevue/src/floatlabel/FloatLabel.d.ts index c40a53cfa..34e9182be 100644 --- a/packages/primevue/src/floatlabel/FloatLabel.d.ts +++ b/packages/primevue/src/floatlabel/FloatLabel.d.ts @@ -1,6 +1,6 @@ /** * - * FloatLabel appears on top of the input field when focused. + * FloatLabel visually integrates a label with its form element. * * [Live Demo](https://www.primevue.org/floatlabel/) * @@ -115,7 +115,7 @@ export declare type FloatLabelEmits = EmitFn; /** * **PrimeVue - FloatLabel** * - * _FloatLabel appears on top of the input field when focused._ + * _FloatLabel visually integrates a label with its form element._ * * [Live Demo](https://www.primevue.org/inputtext/) * --- --- diff --git a/packages/primevue/src/floatlabel/style/FloatLabelStyle.d.ts b/packages/primevue/src/floatlabel/style/FloatLabelStyle.d.ts index b03eae5bc..cd7f0c190 100644 --- a/packages/primevue/src/floatlabel/style/FloatLabelStyle.d.ts +++ b/packages/primevue/src/floatlabel/style/FloatLabelStyle.d.ts @@ -1,6 +1,6 @@ /** * - * FloatLabel appears on top of the input field when focused. + * FloatLabel visually integrates a label with its form element. * * [Live Demo](https://www.primevue.org/floatlabel/) * diff --git a/packages/primevue/src/iftalabel/IftaLabel.d.ts b/packages/primevue/src/iftalabel/IftaLabel.d.ts index 05f26456e..31dee0933 100644 --- a/packages/primevue/src/iftalabel/IftaLabel.d.ts +++ b/packages/primevue/src/iftalabel/IftaLabel.d.ts @@ -1,6 +1,6 @@ /** * - * FloatLabel appears on top of the input field when focused. + * IftaLabel visually integrates a label within its form element. * * [Live Demo](https://www.primevue.org/iftalabel/) * @@ -110,7 +110,7 @@ export declare type IftaLabelEmits = EmitFn; /** * **PrimeVue - IftaLabel** * - * _FloatLabel appears on top of the input field when focused._ + * _IftaLabel visually integrates a label within its form element._ * * [Live Demo](https://www.primevue.org/inputtext/) * --- --- diff --git a/packages/primevue/src/iftalabel/style/IftaLabelStyle.d.ts b/packages/primevue/src/iftalabel/style/IftaLabelStyle.d.ts index b06f0eeeb..1dbafe6da 100644 --- a/packages/primevue/src/iftalabel/style/IftaLabelStyle.d.ts +++ b/packages/primevue/src/iftalabel/style/IftaLabelStyle.d.ts @@ -1,6 +1,6 @@ /** * - * FloatLabel appears on top of the input field when focused. + * IftaLabel visually integrates a label within its form element. * * [Live Demo](https://www.primevue.org/floatlabel/) * diff --git a/packages/primevue/src/iftalabel/style/IftaLabelStyle.js b/packages/primevue/src/iftalabel/style/IftaLabelStyle.js index 72d6aa192..e6519b25c 100644 --- a/packages/primevue/src/iftalabel/style/IftaLabelStyle.js +++ b/packages/primevue/src/iftalabel/style/IftaLabelStyle.js @@ -1,6 +1,59 @@ import BaseStyle from '@primevue/core/base/style'; const theme = ({ dt }) => ` +.p-iftalabel { + display: block; + position: relative; +} + +.p-iftalabel label { + position: absolute; + pointer-events: none; + top: ${dt('iftalabel.top')}; + transition-property: all; + transition-timing-function: ease; + line-height: 1; + font-size: ${dt('iftalabel.font.size')}; + font-weight: ${dt('iftalabel.font.weight')}; + left: ${dt('iftalabel.position.x')}; + color: ${dt('iftalabel.color')}; + transition-duration: ${dt('iftalabel.transition.duration')}; +} + +.p-iftalabel .p-inputtext { + padding-top: ${dt('iftalabel.input.padding.top')}; +} + +.p-iftalabel:has(textarea) label { + top: 1rem; +} + +.p-iftalabel:has(.p-invalid) label { + color: ${dt('iftalabel.invalid.color')}; +} + +.p-iftalabel:has(input:focus) label , +.p-iftalabel:has(input:-webkit-autofill) label, +.p-iftalabel:has(textarea:focus) label , +.p-iftalabel:has(.p-inputwrapper-focus) label { + color: ${dt('iftalabel.focus.color')}; +} + +.p-iftalabel .p-placeholder, +.p-iftalabel input::placeholder, +.p-iftalabel .p-inputtext::placeholder { + opacity: 0; + transition-property: all; + transition-timing-function: ease; +} + +.p-iftalabel .p-focus .p-placeholder, +.p-iftalabel input:focus::placeholder, +.p-iftalabel .p-inputtext:focus::placeholder { + opacity: 1; + transition-property: all; + transition-timing-function: ease; +} `; const classes = { diff --git a/packages/themes/src/presets/aura/iftalabel/index.js b/packages/themes/src/presets/aura/iftalabel/index.js new file mode 100644 index 000000000..5cc6aa652 --- /dev/null +++ b/packages/themes/src/presets/aura/iftalabel/index.js @@ -0,0 +1,15 @@ +export default { + root: { + color: '{form.field.float.label.color}', + focusColor: '{form.field.float.label.focus.color}', + invalidColor: '{form.field.float.label.invalid.color}', + transitionDuration: '0.2s', + positionX: '{form.field.padding.x}', + top: '{form.field.padding.y}', + fontSize: '0.875rem', + fontWeight: '400' + }, + input: { + paddingTop: '1.5rem' + } +}; diff --git a/packages/themes/src/presets/aura/iftalabel/package.json b/packages/themes/src/presets/aura/iftalabel/package.json new file mode 100644 index 000000000..aabb4f24e --- /dev/null +++ b/packages/themes/src/presets/aura/iftalabel/package.json @@ -0,0 +1,5 @@ +{ + "main": "./index.js", + "module": "./index.js", + "types": "../types/iftalabel/index.d.ts" +} diff --git a/packages/themes/src/presets/aura/index.js b/packages/themes/src/presets/aura/index.js index c58df5a3d..c7796c794 100644 --- a/packages/themes/src/presets/aura/index.js +++ b/packages/themes/src/presets/aura/index.js @@ -27,6 +27,7 @@ import fileupload from '@primevue/themes/aura/fileupload'; import floatlabel from '@primevue/themes/aura/floatlabel'; import galleria from '@primevue/themes/aura/galleria'; import iconfield from '@primevue/themes/aura/iconfield'; +import iftalabel from '@primevue/themes/aura/iftalabel'; import image from '@primevue/themes/aura/image'; import inlinemessage from '@primevue/themes/aura/inlinemessage'; import inplace from '@primevue/themes/aura/inplace'; @@ -489,6 +490,7 @@ export default { editor, fieldset, fileupload, + iftalabel, floatlabel, galleria, iconfield, diff --git a/packages/themes/src/presets/lara/iftalabel/index.js b/packages/themes/src/presets/lara/iftalabel/index.js new file mode 100644 index 000000000..3b0a4aae7 --- /dev/null +++ b/packages/themes/src/presets/lara/iftalabel/index.js @@ -0,0 +1,15 @@ +export default { + root: { + color: '{form.field.float.label.color}', + focusColor: '{form.field.float.label.focus.color}', + invalidColor: '{form.field.float.label.invalid.color}', + transitionDuration: '0.2s', + positionX: '{form.field.padding.x}', + top: '{form.field.padding.y}', + fontSize: '0.875rem', + fontWeight: '400' + }, + input: { + paddingTop: '1.875rem' + } +}; diff --git a/packages/themes/src/presets/lara/iftalabel/package.json b/packages/themes/src/presets/lara/iftalabel/package.json new file mode 100644 index 000000000..aabb4f24e --- /dev/null +++ b/packages/themes/src/presets/lara/iftalabel/package.json @@ -0,0 +1,5 @@ +{ + "main": "./index.js", + "module": "./index.js", + "types": "../types/iftalabel/index.d.ts" +} diff --git a/packages/themes/src/presets/lara/index.js b/packages/themes/src/presets/lara/index.js index b5b78fa6f..628afbbae 100644 --- a/packages/themes/src/presets/lara/index.js +++ b/packages/themes/src/presets/lara/index.js @@ -27,6 +27,7 @@ import fileupload from '@primevue/themes/lara/fileupload'; import floatlabel from '@primevue/themes/lara/floatlabel'; import galleria from '@primevue/themes/lara/galleria'; import iconfield from '@primevue/themes/lara/iconfield'; +import iftalabel from '@primevue/themes/lara/iftalabel'; import image from '@primevue/themes/lara/image'; import inlinemessage from '@primevue/themes/lara/inlinemessage'; import inplace from '@primevue/themes/lara/inplace'; @@ -494,6 +495,7 @@ export default { editor, fieldset, fileupload, + iftalabel, floatlabel, galleria, iconfield, diff --git a/packages/themes/src/presets/nora/iftalabel/index.js b/packages/themes/src/presets/nora/iftalabel/index.js new file mode 100644 index 000000000..5cc6aa652 --- /dev/null +++ b/packages/themes/src/presets/nora/iftalabel/index.js @@ -0,0 +1,15 @@ +export default { + root: { + color: '{form.field.float.label.color}', + focusColor: '{form.field.float.label.focus.color}', + invalidColor: '{form.field.float.label.invalid.color}', + transitionDuration: '0.2s', + positionX: '{form.field.padding.x}', + top: '{form.field.padding.y}', + fontSize: '0.875rem', + fontWeight: '400' + }, + input: { + paddingTop: '1.5rem' + } +}; diff --git a/packages/themes/src/presets/nora/iftalabel/package.json b/packages/themes/src/presets/nora/iftalabel/package.json new file mode 100644 index 000000000..aabb4f24e --- /dev/null +++ b/packages/themes/src/presets/nora/iftalabel/package.json @@ -0,0 +1,5 @@ +{ + "main": "./index.js", + "module": "./index.js", + "types": "../types/iftalabel/index.d.ts" +} diff --git a/packages/themes/src/presets/nora/index.js b/packages/themes/src/presets/nora/index.js index fda99dd13..a121ec0be 100644 --- a/packages/themes/src/presets/nora/index.js +++ b/packages/themes/src/presets/nora/index.js @@ -27,6 +27,7 @@ import fileupload from '@primevue/themes/nora/fileupload'; import floatlabel from '@primevue/themes/nora/floatlabel'; import galleria from '@primevue/themes/nora/galleria'; import iconfield from '@primevue/themes/nora/iconfield'; +import iftalabel from '@primevue/themes/nora/iftalabel'; import image from '@primevue/themes/nora/image'; import inlinemessage from '@primevue/themes/nora/inlinemessage'; import inplace from '@primevue/themes/nora/inplace'; @@ -489,6 +490,7 @@ export default { editor, fieldset, fileupload, + iftalabel, floatlabel, galleria, iconfield, From 48bdc9e12428529a0f35ce733b369545737ddd1a Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Tue, 17 Sep 2024 11:36:05 +0000 Subject: [PATCH 21/31] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 12 ++++----- pnpm-lock.yaml | 31 +++++++++------------- 2 files changed, 19 insertions(+), 24 deletions(-) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 416b7bce6..c685fa81d 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -27377,10 +27377,10 @@ } }, "floatlabel": { - "description": "FloatLabel appears on top of the input field when focused.\n\n[Live Demo](https://www.primevue.org/floatlabel/)", + "description": "FloatLabel visually integrates a label with its form element.\n\n[Live Demo](https://www.primevue.org/floatlabel/)", "components": { "default": { - "description": "FloatLabel appears on top of the input field when focused.", + "description": "FloatLabel visually integrates a label with its form element.", "methods": { "description": "Defines methods that can be accessed by the component's reference.", "values": [] @@ -27590,7 +27590,7 @@ } }, "floatlabelstyle": { - "description": "FloatLabel appears on top of the input field when focused.\n\n[Live Demo](https://www.primevue.org/floatlabel/)", + "description": "FloatLabel visually integrates a label with its form element.\n\n[Live Demo](https://www.primevue.org/floatlabel/)", "interfaces": { "description": "Defines the custom interfaces used by the module.", "eventDescription": "Defines the custom events used by the component's emit.", @@ -29466,10 +29466,10 @@ } }, "iftalabel": { - "description": "FloatLabel appears on top of the input field when focused.\n\n[Live Demo](https://www.primevue.org/iftalabel/)", + "description": "IftaLabel visually integrates a label within its form element.\n\n[Live Demo](https://www.primevue.org/iftalabel/)", "components": { "default": { - "description": "FloatLabel appears on top of the input field when focused.", + "description": "IftaLabel visually integrates a label within its form element.", "methods": { "description": "Defines methods that can be accessed by the component's reference.", "values": [] @@ -29671,7 +29671,7 @@ } }, "iftalabelstyle": { - "description": "FloatLabel appears on top of the input field when focused.\n\n[Live Demo](https://www.primevue.org/floatlabel/)", + "description": "IftaLabel visually integrates a label within its form element.\n\n[Live Demo](https://www.primevue.org/floatlabel/)", "interfaces": { "description": "Defines the custom interfaces used by the module.", "eventDescription": "Defines the custom events used by the component's emit.", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bd8c342b2..68ea2827e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -194,7 +194,7 @@ importers: devDependencies: '@nuxt/devtools': specifier: ^0.8.5 - version: 0.8.5(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3) + version: 0.8.5(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(webpack-sources@3.2.3) '@nuxt/eslint-config': specifier: ^0.2.0 version: 0.2.0(eslint@8.57.1) @@ -206,7 +206,7 @@ importers: version: 3.13.2(rollup@4.21.3)(webpack-sources@3.2.3) '@nuxt/test-utils': specifier: ^3.7.3 - version: 3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) + version: 3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) '@primevue/themes': specifier: workspace:* version: link:../themes @@ -8402,13 +8402,12 @@ snapshots: '@nuxt/devalue@2.0.2': {} - '@nuxt/devtools-kit@0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3)': + '@nuxt/devtools-kit@0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(webpack-sources@3.2.3)': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3) '@nuxt/schema': 3.13.2(rollup@4.21.3)(webpack-sources@3.2.3) execa: 7.2.0 nuxt: 3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3) - vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) transitivePeerDependencies: - magicast - rollup @@ -8428,10 +8427,10 @@ snapshots: rc9: 2.1.2 semver: 7.6.3 - '@nuxt/devtools@0.8.5(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3)': + '@nuxt/devtools@0.8.5(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(webpack-sources@3.2.3)': dependencies: '@antfu/utils': 0.7.10 - '@nuxt/devtools-kit': 0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(webpack-sources@3.2.3) + '@nuxt/devtools-kit': 0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.50)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.21.3)(sass@1.78.0)(terser@5.32.0)(typescript@5.6.2)(webpack-sources@3.2.3))(rollup@4.21.3)(webpack-sources@3.2.3) '@nuxt/devtools-wizard': 0.8.5 '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3) birpc: 0.2.17 @@ -8462,9 +8461,8 @@ snapshots: simple-git: 3.26.0 sirv: 2.0.4 unimport: 3.12.0(rollup@4.21.3)(webpack-sources@3.2.3) - vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) - vite-plugin-inspect: 0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)) - vite-plugin-vue-inspector: 3.7.2(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)) + vite-plugin-inspect: 0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3))(rollup@4.21.3) + vite-plugin-vue-inspector: 3.7.2 wait-on: 7.2.0 which: 3.0.1 ws: 8.18.0 @@ -8749,7 +8747,7 @@ snapshots: - supports-color - webpack-sources - '@nuxt/test-utils@3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3)': + '@nuxt/test-utils@3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3)': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3) '@nuxt/schema': 3.13.2(rollup@4.21.3)(webpack-sources@3.2.3) @@ -8775,8 +8773,7 @@ snapshots: ufo: 1.5.4 unenv: 1.10.0 unplugin: 1.14.1(webpack-sources@3.2.3) - vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) - vitest-environment-nuxt: 1.0.1(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) + vitest-environment-nuxt: 1.0.1(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) vue: 3.5.6(typescript@5.6.2) vue-router: 4.4.5(vue@3.5.6(typescript@5.6.2)) optionalDependencies: @@ -14074,7 +14071,7 @@ snapshots: optionator: 0.9.4 typescript: 5.6.2 - vite-plugin-inspect@0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)): + vite-plugin-inspect@0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3))(rollup@4.21.3): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.0(rollup@4.21.3) @@ -14084,14 +14081,13 @@ snapshots: open: 9.1.0 picocolors: 1.1.0 sirv: 2.0.4 - vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) optionalDependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.21.3)(webpack-sources@3.2.3) transitivePeerDependencies: - rollup - supports-color - vite-plugin-vue-inspector@3.7.2(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0)): + vite-plugin-vue-inspector@3.7.2: dependencies: '@babel/core': 7.25.2 '@babel/plugin-proposal-decorators': 7.24.7(@babel/core@7.25.2) @@ -14102,7 +14098,6 @@ snapshots: '@vue/compiler-dom': 3.5.6 kolorist: 1.8.0 magic-string: 0.30.11 - vite: 5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0) transitivePeerDependencies: - supports-color @@ -14140,9 +14135,9 @@ snapshots: sass: 1.78.0 terser: 5.32.0 - vitest-environment-nuxt@1.0.1(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3): + vitest-environment-nuxt@1.0.1(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3): dependencies: - '@nuxt/test-utils': 3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vite@5.4.6(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) + '@nuxt/test-utils': 3.14.2(@vue/test-utils@2.4.6)(h3@1.12.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5)(webpack-sources@3.2.3))(rollup@4.21.3)(vitest@1.6.0(@types/node@18.19.50)(sass@1.78.0)(terser@5.32.0))(vue-router@4.4.5(vue@3.5.6(typescript@5.6.2)))(vue@3.5.6(typescript@5.6.2))(webpack-sources@3.2.3) transitivePeerDependencies: - '@cucumber/cucumber' - '@jest/globals' From 9de9b2a75ca5f6ba2a08e1ac68b9709973b518dc Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 17 Sep 2024 14:55:07 +0300 Subject: [PATCH 22/31] Typo fixes --- apps/showcase/doc/iftalabel/pt/index.vue | 8 ++++---- packages/primevue/src/iftalabel/style/IftaLabelStyle.d.ts | 2 +- packages/themes/scripts/build-tokens.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/showcase/doc/iftalabel/pt/index.vue b/apps/showcase/doc/iftalabel/pt/index.vue index dab994c74..d90c8f5e7 100644 --- a/apps/showcase/doc/iftalabel/pt/index.vue +++ b/apps/showcase/doc/iftalabel/pt/index.vue @@ -1,7 +1,7 @@