-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experimental Fullscreen Modal #2679
Conversation
…it in kirby.module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I absolutely love this Mark, great work!
A first round of suggestions for the documentation here, .component.ts
files etc. look awesome but I will circle back and review the last of the scss later, ran out of time :)
Remember to get an initial UX approval from Henrik, nothing major as we are still experimental, just to make sure it is as close as possible to the correct design.
.../examples/modal-experimental-example/fullscreen/fullscreen-experimental-example.component.ts
Outdated
Show resolved
Hide resolved
...book/src/app/showcase/modal-experimental-showcase/modal-experimental-showcase.component.html
Outdated
Show resolved
Hide resolved
...xamples/modal-experimental-example/fullscreen/fullscreen-experimental-example.component.html
Show resolved
Hide resolved
libs/designsystem/src/lib/components/modal-experimental/fullscreen/fullscreen.component.scss
Show resolved
Hide resolved
...book/src/app/showcase/modal-experimental-showcase/modal-experimental-showcase.component.html
Outdated
Show resolved
Hide resolved
...book/src/app/showcase/modal-experimental-showcase/modal-experimental-showcase.component.html
Outdated
Show resolved
Hide resolved
...book/src/app/showcase/modal-experimental-showcase/modal-experimental-showcase.component.html
Outdated
Show resolved
Hide resolved
…al-experimental-showcase.component.html Co-authored-by: RasmusKjeldgaard <rkk@bankdata.dk>
…al-experimental-showcase.component.html Co-authored-by: RasmusKjeldgaard <rkk@bankdata.dk>
…al-experimental-showcase.component.html Co-authored-by: RasmusKjeldgaard <rkk@bankdata.dk>
…irbydesign/designsystem into component/2585-new-kirby-modal
(willDismiss)="_onWillDismiss($event)" | ||
(didDismiss)="_onDidDismiss($event)" | ||
> | ||
<ng-template> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just out of curiosity - why is this wrapped in <ng-template>
?
I cant find the place where we are actually telling angular to render what is inside, what am I missing 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question! :D It's required by the modal component. It's in the modal component's default slot, so I suspect that it handles the <ng-template>
behind the scenes :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which issue does this PR close?
This PR closes #2585
What is the new behavior?
New Fullscreen Modal both as a component and through a new modal controller
Does this PR introduce a breaking change?
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Reminders
Review
When the pull request has been approved it will be merged to
develop
by Team Kirby.