diff --git a/packages/primevue/src/inputgroup/BaseInputGroup.vue b/packages/primevue/src/inputgroup/BaseInputGroup.vue index f3e16c3d0..a6d45bf96 100644 --- a/packages/primevue/src/inputgroup/BaseInputGroup.vue +++ b/packages/primevue/src/inputgroup/BaseInputGroup.vue @@ -5,12 +5,6 @@ import InputGroupStyle from 'primevue/inputgroup/style'; export default { name: 'BaseInputGroup', extends: BaseComponent, - props: { - fluid: { - type: Boolean, - default: null - } - }, style: InputGroupStyle, provide() { return { diff --git a/packages/primevue/src/inputgroup/InputGroup.d.ts b/packages/primevue/src/inputgroup/InputGroup.d.ts index 0c03bbafb..9288d12c0 100644 --- a/packages/primevue/src/inputgroup/InputGroup.d.ts +++ b/packages/primevue/src/inputgroup/InputGroup.d.ts @@ -67,11 +67,6 @@ export interface InputGroupPassThroughAttributes { * Defines valid properties in InputGroup component. */ export interface InputGroupProps { - /** - * Spans 100% width of the container when enabled. - * @defaultValue null - */ - fluid?: boolean | undefined; /** * It generates scoped CSS variables using design tokens for the component. */ diff --git a/packages/primevue/src/inputgroup/InputGroup.vue b/packages/primevue/src/inputgroup/InputGroup.vue index a3f5794ad..2d162da50 100644 --- a/packages/primevue/src/inputgroup/InputGroup.vue +++ b/packages/primevue/src/inputgroup/InputGroup.vue @@ -5,20 +5,11 @@ diff --git a/packages/primevue/src/inputgroup/style/InputGroupStyle.js b/packages/primevue/src/inputgroup/style/InputGroupStyle.js index 3055547e0..d93a294de 100644 --- a/packages/primevue/src/inputgroup/style/InputGroupStyle.js +++ b/packages/primevue/src/inputgroup/style/InputGroupStyle.js @@ -83,12 +83,7 @@ const theme = ({ dt }) => ` `; const classes = { - root: ({ instance }) => [ - 'p-inputgroup', - { - 'p-inputgroup-fluid': instance.hasFluid - } - ] + root: 'p-inputgroup' }; export default BaseStyle.extend({