Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
feat(gallery): gallery component
Browse files Browse the repository at this point in the history
*ambient backdrop,
* refactoring
* bugfixes
---
updated project site
  • Loading branch information
garygrossgarten committed Apr 16, 2019
1 parent c89f1fa commit 4027fc1
Show file tree
Hide file tree
Showing 60 changed files with 555 additions and 1,141 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ This package is under active construction.

## Components
1. <a href="https://github.com/garygrossgarten/component-library/tree/master/projects/ionic-material-loading"> Loading</a>
1. <a href="https://github.com/garygrossgarten/component-library/tree/master/projects/ionic-material-dialog"> Dialogs || Alerts || Sheets</a>
1. <a href="https://github.com/garygrossgarten/component-library/tree/master/projects/ionic-material-dialog"> Dialogs || Alerts || Sheets</a>
90 changes: 30 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"@angular/pwa": "0.13.6",
"@angular/router": "7.2.9",
"@angular/service-worker": "7.2.9",
"@ctrl/ngx-github-buttons": "^2.1.1",
"@ionic-native/core": "5.2.0",
"@ionic-native/google-maps": "5.0.0-beta.24",
"@ionic-native/splash-screen": "5.2.0",
Expand Down Expand Up @@ -133,4 +134,4 @@
"platforms": [
"android"
]
}
}
3 changes: 1 addition & 2 deletions projects/core/src/lib/bottom-sheet/bottom-sheet.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ export class FivBottomSheet implements AfterViewInit, OnChanges {
private _element: ElementRef,
private _renderer: Renderer2,
private _domCtrl: DomController,
private _platform: Platform,
private sanitizer: DomSanitizer
private _platform: Platform
) { }


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ export class FivCollapsableMenu {
collapsed = false;
hovering = false;
@Input() hoverMenu = true;
@Input() width = 64;
@Input() minWidth = 270;
@Input() maxWidth = this.platform.width() * 0.28;



constructor(private sanitizer: DomSanitizer, private platform: Platform) { }
Expand All @@ -21,9 +25,12 @@ export class FivCollapsableMenu {
if (this.collapsed && (this.platform.is('tablet') || this.platform.is('electron') || this.platform.is('desktop'))) {

return this.sanitizer
.bypassSecurityTrustStyle('min-width: 64px; max-width: 64px; --border: 0; transition: all cubic-bezier(.55,0,.1,1) 200ms;');
// tslint:disable-next-line:max-line-length
.bypassSecurityTrustStyle(`min-width: ${this.width}px; max-width: ${this.width}px; --border: 0; transition: all cubic-bezier(.55,0,.1,1) 200ms;`);
} else {
return this.sanitizer.bypassSecurityTrustStyle('--border: 0; transition: all cubic-bezier(.55,0,.1,1) 250ms;');
return this.sanitizer
// tslint:disable-next-line:max-line-length
.bypassSecurityTrustStyle(`min-width: ${this.minWidth}px; max-width: ${this.maxWidth}px; --border: 0; transition: all cubic-bezier(.55,0,.1,1) 200ms;`);
}
}

Expand Down
Loading

0 comments on commit 4027fc1

Please sign in to comment.