From e4fdeec134df7138e88b5e5630376d74763c53c2 Mon Sep 17 00:00:00 2001 From: inga Date: Fri, 5 Jul 2024 12:08:44 +0200 Subject: [PATCH 1/2] refactor: add fallback close button and update documentation --- .../dialog-sample.component.html | 17 +++++++++++ .../dialog-sample/dialog-sample.component.ts | 2 +- .../components/dialog/dialog-documentation.md | 4 +-- .../components/dialog/dialog.component.css | 12 ++++++++ .../components/dialog/dialog.component.html | 28 ++++++++++++++++++- 5 files changed, 59 insertions(+), 4 deletions(-) diff --git a/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.html b/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.html index 7604518..4b6ad44 100644 --- a/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.html +++ b/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.html @@ -60,6 +60,23 @@ +
+ + + +
+ here comes some content. This is a dialog with the a fallback Close + Button. (when the user don't have a close button) +
+
+
+
+
}
Date: Mon, 26 Aug 2024 16:39:19 +0200 Subject: [PATCH 2/2] refactor: add example for inner close button --- .../dialog-sample.component.html | 19 ++++++++++++++++++- .../dialog-sample/dialog-sample.component.ts | 1 + 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.html b/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.html index 4b6ad44..fb6bbb6 100644 --- a/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.html +++ b/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.html @@ -71,7 +71,24 @@ [showCloseButton]="true" >
- here comes some content. This is a dialog with the a fallback Close + here comes some content. This is a dialog with the fallback Close + Button. (when the user don't have a close button) +
+ +
+ +
+ + + +
+ here comes some content. This is a dialog with the inner fallback Close Button. (when the user don't have a close button)
diff --git a/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.ts b/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.ts index 14bb663..6f26fb3 100644 --- a/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.ts +++ b/apps/demo-app/src/app/pages/dialog-sample/dialog-sample.component.ts @@ -21,6 +21,7 @@ export class DialogSampleComponent { isDialogWithOuterButtonLeftOpen = false; isDialogWithInnerButtonLeftOpen = false; isDialogWithFallbackButtonOpen = false; + isDialogWithInnerFallbackButtonOpen = false; isDialogWithShadowOpen = false; isFullscreenDialogOpen = false; isDialogWithOverflowOpen = false;