diff --git a/src/components/sq-modal/sq-modal.component.html b/src/components/sq-modal/sq-modal.component.html index 177b2d6..e87cb33 100644 --- a/src/components/sq-modal/sq-modal.component.html +++ b/src/components/sq-modal/sq-modal.component.html @@ -21,7 +21,7 @@ - diff --git a/src/components/sq-modal/sq-modal.component.ts b/src/components/sq-modal/sq-modal.component.ts index c22ef11..40c1fd0 100644 --- a/src/components/sq-modal/sq-modal.component.ts +++ b/src/components/sq-modal/sq-modal.component.ts @@ -19,11 +19,11 @@ import { Subscription } from 'rxjs' /** * Represents a modal component with customizable options and event handling. - * + * * Look the link about the component in original framework and the appearance * * @see {@link https://css.squidit.com.br/components/modal} - * + * * @example * * @@ -77,6 +77,11 @@ export class SqModalComponent implements OnChanges, OnDestroy { */ @Input() backdrop = 'static' + /** + * Determines whether to display the close button. + */ + @Input() buttonClose = true + /** * Event emitted when the modal is closed. */ diff --git a/src/package.json b/src/package.json index ea8a222..7a6a8c1 100644 --- a/src/package.json +++ b/src/package.json @@ -1,6 +1,6 @@ { "name": "@squidit/ngx-css", - "version": "1.2.25", + "version": "1.2.26", "peerDependencies": { "@angular/common": ">=15.0.0", "@angular/core": ">=15.0.0",