diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index aace60729c..985f0642de 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -69650,6 +69650,14 @@ "default": "", "description": "Used to pass attributes to the label's DOM element." }, + { + "name": "clearIcon", + "optional": true, + "readonly": false, + "type": "TreeSelectPassThroughOptionType", + "default": "", + "description": "Used to pass attributes to the clear icon's DOM element." + }, { "name": "chipItem", "optional": true, @@ -69845,6 +69853,22 @@ "default": "", "description": "A map of keys to represent the expansion state in controlled mode." }, + { + "name": "showClear", + "optional": true, + "readonly": false, + "type": "boolean", + "default": "false", + "description": "When enabled, a clear icon is displayed to clear the value." + }, + { + "name": "clearIcon", + "optional": true, + "readonly": false, + "type": "string", + "default": "", + "description": "Icon to display in clear button." + }, { "name": "scrollHeight", "optional": true, @@ -70241,6 +70265,19 @@ ], "returnType": "VNode[]", "description": "Custom item checkbox icon template." + }, + { + "name": "clearicon", + "parameters": [ + { + "name": "scope", + "optional": false, + "type": "{\n \t clearCallback: (event: Event) ⇒ void, // Clear icon click function.\n}", + "description": "clear icon slot's params." + } + ], + "returnType": "VNode[]", + "description": "Custom clear icon template." } ] }, @@ -70505,6 +70542,13 @@ "value": "\"p-treeselect-label\"", "description": "Class name of the label element" }, + { + "name": "clearIcon", + "optional": false, + "readonly": false, + "value": "\"p-select-clear-icon\"", + "description": "Class name of the clear icon element" + }, { "name": "chipItem", "optional": false, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 68ec60359d..a2d0828d63 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4628,8 +4628,8 @@ packages: engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - nanoid@5.0.7: - resolution: {integrity: sha512-oLxFY2gd2IqnjcYyOXD8XGCftpGtZP2AbHbOkthDkvRywH5ayNtPVy9YlOPcHckXzbLTCHpkb7FB+yuxKV13pQ==} + nanoid@5.0.8: + resolution: {integrity: sha512-TcJPw+9RV9dibz1hHUzlLVy8N4X9TnwirAjrU08Juo6BNKggzVfP2ZJ/3ZUSq15Xl5i85i+Z89XBO90pB2PghQ==} engines: {node: ^18 || >=20} hasBin: true @@ -8646,7 +8646,7 @@ snapshots: is-docker: 3.0.0 jiti: 1.21.6 mri: 1.2.0 - nanoid: 5.0.7 + nanoid: 5.0.8 ofetch: 1.4.1 package-manager-detector: 0.2.2 parse-git-config: 3.0.0 @@ -8672,7 +8672,7 @@ snapshots: is-docker: 3.0.0 jiti: 1.21.6 mri: 1.2.0 - nanoid: 5.0.7 + nanoid: 5.0.8 ofetch: 1.4.1 package-manager-detector: 0.2.2 parse-git-config: 3.0.0 @@ -11883,7 +11883,7 @@ snapshots: nanoid@3.3.7: {} - nanoid@5.0.7: {} + nanoid@5.0.8: {} natural-compare@1.4.0: {}