diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 435404d000..3a04d3640a 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -28267,7 +28267,7 @@ "readonly": false, "type": "boolean", "default": "true", - "description": "Whether to a modal layer behind the drawer." + "description": "Whether to display a modal layer behind the drawer." }, { "name": "blockScroll", diff --git a/apps/showcase/server/assets/llms/components.json b/apps/showcase/server/assets/llms/components.json index 5d9b5e65b9..da1b3a882a 100644 --- a/apps/showcase/server/assets/llms/components.json +++ b/apps/showcase/server/assets/llms/components.json @@ -12475,7 +12475,7 @@ "name": "modal", "type": "boolean", "default": "true", - "description": "Whether to a modal layer behind the drawer." + "description": "Whether to display a modal layer behind the drawer." }, { "name": "blockScroll", diff --git a/apps/showcase/server/assets/llms/components/drawer.md b/apps/showcase/server/assets/llms/components/drawer.md index 4a31a1404e..4b9112c574 100644 --- a/apps/showcase/server/assets/llms/components/drawer.md +++ b/apps/showcase/server/assets/llms/components/drawer.md @@ -636,7 +636,7 @@ const visible = ref(false); | showCloseIcon | boolean | true | Whether to display a close icon inside the panel. | | closeButtonProps | object | - | Used to pass the custom value to read for the button inside the component. | | closeIcon | string | - | Icon to display in the drawer close button. | -| modal | boolean | true | Whether to a modal layer behind the drawer. | +| modal | boolean | true | Whether to display a modal layer behind the drawer. | | blockScroll | boolean | false | Whether background scroll should be blocked when drawer is visible. | | dt | any | - | It generates scoped CSS variables using design tokens for the component. | | pt | PassThrough | - | Used to pass attributes to DOM elements inside the component. | diff --git a/apps/showcase/server/assets/llms/llms-full.txt b/apps/showcase/server/assets/llms/llms-full.txt index a3b0c5d8ef..8e5a7854c5 100644 --- a/apps/showcase/server/assets/llms/llms-full.txt +++ b/apps/showcase/server/assets/llms/llms-full.txt @@ -17317,7 +17317,7 @@ const visible = ref(false); | showCloseIcon | boolean | true | Whether to display a close icon inside the panel. | | closeButtonProps | object | - | Used to pass the custom value to read for the button inside the component. | | closeIcon | string | - | Icon to display in the drawer close button. | -| modal | boolean | true | Whether to a modal layer behind the drawer. | +| modal | boolean | true | Whether to display a modal layer behind the drawer. | | blockScroll | boolean | false | Whether background scroll should be blocked when drawer is visible. | | dt | any | - | It generates scoped CSS variables using design tokens for the component. | | pt | PassThrough | - | Used to pass attributes to DOM elements inside the component. | diff --git a/packages/mcp/data/components.json b/packages/mcp/data/components.json index 5d9b5e65b9..da1b3a882a 100644 --- a/packages/mcp/data/components.json +++ b/packages/mcp/data/components.json @@ -12475,7 +12475,7 @@ "name": "modal", "type": "boolean", "default": "true", - "description": "Whether to a modal layer behind the drawer." + "description": "Whether to display a modal layer behind the drawer." }, { "name": "blockScroll", diff --git a/packages/primevue/scripts/components/drawer.js b/packages/primevue/scripts/components/drawer.js index 986e790dfc..a8495c0396 100644 --- a/packages/primevue/scripts/components/drawer.js +++ b/packages/primevue/scripts/components/drawer.js @@ -39,7 +39,7 @@ const DrawerProps = [ name: 'modal', type: 'boolean', default: 'true', - description: 'Whether to a modal layer behind the sidebar.' + description: 'Whether to display a modal layer behind the drawer.' }, { name: 'ariaCloseLabel', diff --git a/packages/primevue/scripts/components/sidebar.js b/packages/primevue/scripts/components/sidebar.js index d942aa12dd..650543eeb5 100644 --- a/packages/primevue/scripts/components/sidebar.js +++ b/packages/primevue/scripts/components/sidebar.js @@ -39,7 +39,7 @@ const SidebarProps = [ name: 'modal', type: 'boolean', default: 'true', - description: 'Whether to a modal layer behind the sidebar.' + description: 'Whether to display a modal layer behind the sidebar.' }, { name: 'ariaCloseLabel', diff --git a/packages/primevue/src/drawer/Drawer.d.ts b/packages/primevue/src/drawer/Drawer.d.ts index 46413a3b81..65c2d5c7c2 100755 --- a/packages/primevue/src/drawer/Drawer.d.ts +++ b/packages/primevue/src/drawer/Drawer.d.ts @@ -172,7 +172,7 @@ export interface DrawerProps { */ closeIcon?: string | undefined; /** - * Whether to a modal layer behind the drawer. + * Whether to display a modal layer behind the drawer. * @defaultValue true */ modal?: boolean | undefined;