Skip to content
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

Feature/dialog #688

Merged
merged 41 commits into from
Sep 11, 2018
Merged

Feature/dialog #688

merged 41 commits into from
Sep 11, 2018

Conversation

Tibing
Copy link
Member

@Tibing Tibing commented Aug 30, 2018

Please read and mark the following check list before creating a pull request:

Short description of what this resolves:

Closes #666, Closes #665

Tibing and others added 30 commits August 27, 2018 16:52
@Tibing Tibing requested a review from yggg August 30, 2018 12:39
@codecov
Copy link

codecov bot commented Sep 11, 2018

Codecov Report

Merging #688 into master will increase coverage by 0.76%.
The diff coverage is 83.64%.

@@            Coverage Diff             @@
##           master     #688      +/-   ##
==========================================
+ Coverage   72.88%   73.64%   +0.76%     
==========================================
  Files         161      169       +8     
  Lines        4385     4542     +157     
  Branches      338      348      +10     
==========================================
+ Hits         3196     3345     +149     
- Misses       1122     1125       +3     
- Partials       67       72       +5
Impacted Files Coverage Δ
src/framework/theme/components/dialog/index.ts 100% <100%> (ø)
src/framework/theme/components/cdk/index.ts 100% <100%> (ø) ⬆️
...framework/theme/components/cdk/a11y/a11y.module.ts 100% <100%> (ø)
.../framework/theme/components/cdk/overlay/mapping.ts 96.55% <100%> (+0.55%) ⬆️
...rc/framework/theme/components/dialog/dialog-ref.ts 100% <100%> (ø)
...framework/theme/components/dialog/dialog-config.ts 100% <100%> (ø)
.../framework/theme/components/cdk/a11y/focus-trap.ts 57.69% <57.69%> (ø)
...mework/theme/components/dialog/dialog-container.ts 66.66% <66.66%> (ø)
...ramework/theme/components/dialog/dialog.service.ts 88.52% <88.52%> (ø)
...framework/theme/components/dialog/dialog.module.ts 90% <90%> (ø)
... and 13 more

docs/structure.ts Show resolved Hide resolved
package-lock.json Show resolved Hide resolved
scripts/gulp/tasks/bundle/rollup-config.ts Show resolved Hide resolved
open() {
this.dialogService.open(NbDialogComponent, {
context: {
title: 'This is title passed to the dialog component',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a title

</ng-template>
<button class="btn btn-primary" (click)="open(dialog)">Open Dialog</button>
`,
styles: [` /deep/ nb-layout-column {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new lines

src/playground/dialog/dialog-scroll.component.ts Outdated Show resolved Hide resolved
import { NbDialogRef } from '@nebular/theme';

@Component({
selector: 'nb-dialog',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copy to the each of the examples

@nnixaa nnixaa merged commit 2edd9b3 into akveo:master Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New component - Dialog New component - modal
3 participants