@vectoriox/iox-ui 4.0.3 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/vectoriox-iox-ui.mjs +376 -35
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/index.d.ts +95 -6
- package/package.json +11 -5
- package/.github/workflows/publish-iox-ui.yml +0 -68
- package/.github/workflows/release-iox-ui.yml.disabled +0 -77
- package/angular.json +0 -150
- package/karma.conf.js +0 -44
- package/projects/iox-ui/.github/copilot-instructions.md +0 -32
- package/projects/iox-ui/.releaserc.json +0 -42
- package/projects/iox-ui/README.md +0 -149
- package/projects/iox-ui/karma.conf.js +0 -44
- package/projects/iox-ui/ng +0 -0
- package/projects/iox-ui/ng-package.json +0 -12
- package/projects/iox-ui/package-lock.json +0 -93
- package/projects/iox-ui/package.json +0 -13
- package/projects/iox-ui/src/lib/iox-aos/iox-aos-animations.ts +0 -45
- package/projects/iox-ui/src/lib/iox-aos/iox-aos-container.component.ts +0 -46
- package/projects/iox-ui/src/lib/iox-aos/iox-aos.directive.ts +0 -133
- package/projects/iox-ui/src/lib/iox-aos/iox-aos.module.ts +0 -33
- package/projects/iox-ui/src/lib/iox-aos/iox-aos.service.ts +0 -21
- package/projects/iox-ui/src/lib/iox-masonry/iox-masonry-item.directive.ts +0 -24
- package/projects/iox-ui/src/lib/iox-masonry/iox-masonry.component.spec.ts +0 -25
- package/projects/iox-ui/src/lib/iox-masonry/iox-masonry.component.ts +0 -71
- package/projects/iox-ui/src/lib/iox-masonry/iox-masonry.module.ts +0 -15
- package/projects/iox-ui/src/lib/iox-masonry/iox-masonry.service.spec.ts +0 -16
- package/projects/iox-ui/src/lib/iox-masonry/iox-masonry.service.ts +0 -9
- package/projects/iox-ui/src/lib/iox-page/iox-page.module.ts +0 -13
- package/projects/iox-ui/src/lib/iox-page/page-component/page-component.component.html +0 -5
- package/projects/iox-ui/src/lib/iox-page/page-component/page-component.component.scss +0 -19
- package/projects/iox-ui/src/lib/iox-page/page-component/page-component.component.ts +0 -60
- package/projects/iox-ui/src/lib/iox-ui.module.ts +0 -11
- package/projects/iox-ui/src/lib/services/page-scroll.provider.ts +0 -45
- package/projects/iox-ui/src/lib/view-position/view-position.directive.ts +0 -98
- package/projects/iox-ui/src/lib/view-position/view-position.module.ts +0 -16
- package/projects/iox-ui/src/public-api.ts +0 -25
- package/projects/iox-ui/src/test.ts +0 -15
- package/projects/iox-ui/tsconfig.lib.json +0 -15
- package/projects/iox-ui/tsconfig.lib.prod.json +0 -10
- package/projects/iox-ui/tsconfig.spec.json +0 -17
- package/src/app/app-routing.module.ts +0 -15
- package/src/app/app.component.html +0 -17
- package/src/app/app.component.scss +0 -31
- package/src/app/app.component.spec.ts +0 -33
- package/src/app/app.component.ts +0 -21
- package/src/app/app.module.ts +0 -36
- package/src/app/pages/aos/aos.component.html +0 -35
- package/src/app/pages/aos/aos.component.scss +0 -49
- package/src/app/pages/aos/aos.component.ts +0 -30
- package/src/app/pages/masonry/masonry.component.html +0 -10
- package/src/app/pages/masonry/masonry.component.scss +0 -23
- package/src/app/pages/masonry/masonry.component.ts +0 -73
- package/src/app/styles/abstracts/functions.scss +0 -0
- package/src/app/styles/abstracts/mixins.scss +0 -0
- package/src/app/styles/abstracts/variables.scss +0 -5
- package/src/app/styles/base/fonts/heebo-black/Heebo-Black.eot +0 -0
- package/src/app/styles/base/fonts/heebo-black/Heebo-Black.svg +0 -1163
- package/src/app/styles/base/fonts/heebo-black/Heebo-Black.ttf +0 -0
- package/src/app/styles/base/fonts/heebo-black/Heebo-Black.woff +0 -0
- package/src/app/styles/base/fonts/heebo-black/Heebo-Black.woff2 +0 -0
- package/src/app/styles/base/fonts/heebo-bold/Heebo-Bold.eot +0 -0
- package/src/app/styles/base/fonts/heebo-bold/Heebo-Bold.svg +0 -1163
- package/src/app/styles/base/fonts/heebo-bold/Heebo-Bold.ttf +0 -0
- package/src/app/styles/base/fonts/heebo-bold/Heebo-Bold.woff +0 -0
- package/src/app/styles/base/fonts/heebo-bold/Heebo-Bold.woff2 +0 -0
- package/src/app/styles/base/fonts/heebo-extrabold/Heebo-ExtraBold.eot +0 -0
- package/src/app/styles/base/fonts/heebo-extrabold/Heebo-ExtraBold.svg +0 -1152
- package/src/app/styles/base/fonts/heebo-extrabold/Heebo-ExtraBold.ttf +0 -0
- package/src/app/styles/base/fonts/heebo-extrabold/Heebo-ExtraBold.woff +0 -0
- package/src/app/styles/base/fonts/heebo-extrabold/Heebo-ExtraBold.woff2 +0 -0
- package/src/app/styles/base/fonts/heebo-extralight/Heebo-ExtraLight.eot +0 -0
- package/src/app/styles/base/fonts/heebo-extralight/Heebo-ExtraLight.svg +0 -1152
- package/src/app/styles/base/fonts/heebo-extralight/Heebo-ExtraLight.ttf +0 -0
- package/src/app/styles/base/fonts/heebo-extralight/Heebo-ExtraLight.woff +0 -0
- package/src/app/styles/base/fonts/heebo-extralight/Heebo-ExtraLight.woff2 +0 -0
- package/src/app/styles/base/fonts/heebo-light/Heebo-Light.eot +0 -0
- package/src/app/styles/base/fonts/heebo-light/Heebo-Light.svg +0 -1151
- package/src/app/styles/base/fonts/heebo-light/Heebo-Light.ttf +0 -0
- package/src/app/styles/base/fonts/heebo-light/Heebo-Light.woff +0 -0
- package/src/app/styles/base/fonts/heebo-light/Heebo-Light.woff2 +0 -0
- package/src/app/styles/base/fonts/heebo-medium/Heebo-Medium.eot +0 -0
- package/src/app/styles/base/fonts/heebo-medium/Heebo-Medium.svg +0 -1158
- package/src/app/styles/base/fonts/heebo-medium/Heebo-Medium.ttf +0 -0
- package/src/app/styles/base/fonts/heebo-medium/Heebo-Medium.woff +0 -0
- package/src/app/styles/base/fonts/heebo-medium/Heebo-Medium.woff2 +0 -0
- package/src/app/styles/base/fonts/heebo-regular/Heebo-Regular.eot +0 -0
- package/src/app/styles/base/fonts/heebo-regular/Heebo-Regular.svg +0 -1150
- package/src/app/styles/base/fonts/heebo-regular/Heebo-Regular.ttf +0 -0
- package/src/app/styles/base/fonts/heebo-regular/Heebo-Regular.woff +0 -0
- package/src/app/styles/base/fonts/heebo-regular/Heebo-Regular.woff2 +0 -0
- package/src/app/styles/base/fonts/heebo-semibold/Heebo-SemiBold.eot +0 -0
- package/src/app/styles/base/fonts/heebo-semibold/Heebo-SemiBold.svg +0 -1155
- package/src/app/styles/base/fonts/heebo-semibold/Heebo-SemiBold.ttf +0 -0
- package/src/app/styles/base/fonts/heebo-semibold/Heebo-SemiBold.woff +0 -0
- package/src/app/styles/base/fonts/heebo-semibold/Heebo-SemiBold.woff2 +0 -0
- package/src/app/styles/base/fonts/heebo-thin/Heebo-Thin.eot +0 -0
- package/src/app/styles/base/fonts/heebo-thin/Heebo-Thin.svg +0 -1143
- package/src/app/styles/base/fonts/heebo-thin/Heebo-Thin.ttf +0 -0
- package/src/app/styles/base/fonts/heebo-thin/Heebo-Thin.woff +0 -0
- package/src/app/styles/base/fonts/heebo-thin/Heebo-Thin.woff2 +0 -0
- package/src/app/styles/base/fonts/iox.eot +0 -0
- package/src/app/styles/base/fonts/iox.svg +0 -35
- package/src/app/styles/base/fonts/iox.ttf +0 -0
- package/src/app/styles/base/fonts/iox.woff +0 -0
- package/src/app/styles/base/iox-font.scss +0 -102
- package/src/app/styles/base/reset.scss +0 -0
- package/src/app/styles/base/typography.scss +0 -104
- package/src/app/styles/layout/flex.scss +0 -183
- package/src/app/styles/layout/grid.scss +0 -0
- package/src/app/styles/main.scss +0 -17
- package/src/assets/.gitkeep +0 -0
- package/src/assets/images/1.jfif +0 -0
- package/src/assets/images/2.jfif +0 -0
- package/src/assets/images/3.jfif +0 -0
- package/src/assets/images/4.png +0 -0
- package/src/assets/images/5.jfif +0 -0
- package/src/assets/images/6.jfif +0 -0
- package/src/assets/images/7.jfif +0 -0
- package/src/assets/images/8.jfif +0 -0
- package/src/assets/images/9.jfif +0 -0
- package/src/environments/environment.prod.ts +0 -3
- package/src/environments/environment.ts +0 -16
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -13
- package/src/main.ts +0 -12
- package/src/polyfills.ts +0 -53
- package/src/styles.scss +0 -15
- package/src/test.ts +0 -14
- package/temp/unused-iox-projects/README.md +0 -10
- package/temp/unused-iox-projects/iox-aos-KEEP.md +0 -1
- package/temp/unused-iox-projects/iox-aos_KEEP.md +0 -5
- package/temp/unused-iox-projects/iox-masonry-KEEP.md +0 -1
- package/temp/unused-iox-projects/iox-masonry_KEEP.md +0 -5
- package/tsconfig.app.json +0 -15
- package/tsconfig.json +0 -54
- package/tsconfig.spec.json +0 -18
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../out-tsc/lib",
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"declarationMap": true,
|
|
8
|
-
"inlineSources": true,
|
|
9
|
-
"types": []
|
|
10
|
-
},
|
|
11
|
-
"exclude": [
|
|
12
|
-
"src/test.ts",
|
|
13
|
-
"**/*.spec.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"extends": "../../tsconfig.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../out-tsc/spec",
|
|
6
|
-
"types": [
|
|
7
|
-
"jasmine"
|
|
8
|
-
]
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"src/test.ts"
|
|
12
|
-
],
|
|
13
|
-
"include": [
|
|
14
|
-
"**/*.spec.ts",
|
|
15
|
-
"**/*.d.ts"
|
|
16
|
-
]
|
|
17
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { RouterModule, Routes } from '@angular/router';
|
|
3
|
-
import { AOSComponent } from './pages/aos/aos.component';
|
|
4
|
-
import { MasonryComponent } from './pages/masonry/masonry.component';
|
|
5
|
-
|
|
6
|
-
const routes: Routes = [
|
|
7
|
-
{ path: 'aos', component: AOSComponent,pathMatch: 'full' },
|
|
8
|
-
{ path: 'masonry', component: MasonryComponent,pathMatch: 'full' }
|
|
9
|
-
]
|
|
10
|
-
|
|
11
|
-
@NgModule({
|
|
12
|
-
imports: [RouterModule.forRoot(routes)],
|
|
13
|
-
exports: [RouterModule]
|
|
14
|
-
})
|
|
15
|
-
export class AppRoutingModule { }
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<iox-page-component>
|
|
2
|
-
<div id="main">
|
|
3
|
-
<aside>
|
|
4
|
-
|
|
5
|
-
<nav>
|
|
6
|
-
<ul>
|
|
7
|
-
<li><i class="icon-iox"></i></li>
|
|
8
|
-
<li><a href="aos">aos</a></li>
|
|
9
|
-
<li><a href="masonry">Masonry Gallery</a></li>
|
|
10
|
-
</ul>
|
|
11
|
-
</nav>
|
|
12
|
-
</aside>
|
|
13
|
-
<div class="iox-module">
|
|
14
|
-
<router-outlet></router-outlet>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
</iox-page-component>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
@import './styles/main.scss';
|
|
2
|
-
#test{
|
|
3
|
-
width: 200px;
|
|
4
|
-
height: 500px;
|
|
5
|
-
border: 1px solid #fff;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
#main{
|
|
9
|
-
aside{
|
|
10
|
-
width: 15vw;
|
|
11
|
-
position: fixed;
|
|
12
|
-
top:0;
|
|
13
|
-
bottom:0;
|
|
14
|
-
background-color: #333;
|
|
15
|
-
ul{
|
|
16
|
-
padding: 2vh 2vw 0 2vw;
|
|
17
|
-
li{
|
|
18
|
-
margin-bottom: 3vh;
|
|
19
|
-
a{
|
|
20
|
-
@include font-medium(0.8vw,#fff)
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
.iox-module{
|
|
27
|
-
padding-top: 10vh;
|
|
28
|
-
padding-left: 20vw;
|
|
29
|
-
background: #1E1E1E;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { TestBed } from '@angular/core/testing';
|
|
2
|
-
import { RouterTestingModule } from '@angular/router/testing';
|
|
3
|
-
import { AppComponent } from './app.component';
|
|
4
|
-
|
|
5
|
-
describe('AppComponent', () => {
|
|
6
|
-
beforeEach(async () => {
|
|
7
|
-
await TestBed.configureTestingModule({
|
|
8
|
-
imports: [
|
|
9
|
-
RouterTestingModule,
|
|
10
|
-
AppComponent
|
|
11
|
-
]
|
|
12
|
-
}).compileComponents();
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('should create the app', () => {
|
|
16
|
-
const fixture = TestBed.createComponent(AppComponent);
|
|
17
|
-
const app = fixture.componentInstance;
|
|
18
|
-
expect(app).toBeTruthy();
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
it(`should have as title 'iox-libs'`, () => {
|
|
22
|
-
const fixture = TestBed.createComponent(AppComponent);
|
|
23
|
-
const app = fixture.componentInstance;
|
|
24
|
-
expect(app.title).toEqual('iox-libs');
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
it('should render title', () => {
|
|
28
|
-
const fixture = TestBed.createComponent(AppComponent);
|
|
29
|
-
fixture.detectChanges();
|
|
30
|
-
const compiled = fixture.nativeElement as HTMLElement;
|
|
31
|
-
expect(compiled.querySelector('.content span')?.textContent).toContain('iox-libs app is running!');
|
|
32
|
-
});
|
|
33
|
-
});
|
package/src/app/app.component.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { RouterModule } from '@angular/router';
|
|
4
|
-
declare const require:any;
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'app-root',
|
|
8
|
-
standalone: false,
|
|
9
|
-
templateUrl: './app.component.html',
|
|
10
|
-
styleUrls: ['./app.component.scss']
|
|
11
|
-
})
|
|
12
|
-
export class AppComponent {
|
|
13
|
-
title = 'iox-libs';
|
|
14
|
-
|
|
15
|
-
constructor(){
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
test(event:any){
|
|
19
|
-
console.log(event);
|
|
20
|
-
}
|
|
21
|
-
}
|
package/src/app/app.module.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { BrowserModule } from '@angular/platform-browser';
|
|
3
|
-
|
|
4
|
-
import { AppRoutingModule } from './app-routing.module';
|
|
5
|
-
import { MasonryComponent } from './pages/masonry/masonry.component';
|
|
6
|
-
import { AOSComponent } from './pages/aos/aos.component';
|
|
7
|
-
import { AppComponent } from './app.component';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import { ViewPositionModule,
|
|
11
|
-
IoxMasonryModule,
|
|
12
|
-
IoxPageModule,
|
|
13
|
-
IoxAosModule } from 'iox-ui';
|
|
14
|
-
|
|
15
|
-
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
@NgModule({
|
|
19
|
-
imports: [
|
|
20
|
-
BrowserModule,
|
|
21
|
-
AppRoutingModule,
|
|
22
|
-
IoxMasonryModule,
|
|
23
|
-
IoxAosModule,
|
|
24
|
-
IoxPageModule,
|
|
25
|
-
ViewPositionModule,
|
|
26
|
-
BrowserAnimationsModule,
|
|
27
|
-
],
|
|
28
|
-
declarations: [
|
|
29
|
-
AppComponent,
|
|
30
|
-
MasonryComponent,
|
|
31
|
-
AOSComponent
|
|
32
|
-
],
|
|
33
|
-
providers: [],
|
|
34
|
-
bootstrap: [AppComponent]
|
|
35
|
-
})
|
|
36
|
-
export class AppModule { }
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
<div ioxAnimate class="box fixed">
|
|
4
|
-
fade up fixed out side ioxAnimateContainer
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<div class="page-mask" ioxAnimateContainer [kickIn]="kickIn">
|
|
8
|
-
|
|
9
|
-
<h2 >Animation On Scroll</h2>
|
|
10
|
-
|
|
11
|
-
<div ioxAnimate class="box" animationDuration="1s" animationIn="fade-right">
|
|
12
|
-
Fade In Right
|
|
13
|
-
</div>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<div ioxAnimate class="box" animationDuration="1s" animationOut="fade-out-right">
|
|
17
|
-
Fade Out Right
|
|
18
|
-
</div>
|
|
19
|
-
|
|
20
|
-
<div class="relative">
|
|
21
|
-
<div ioxAnimate animationIn="flip-left" class="box">
|
|
22
|
-
flip up
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
<div ioxAnimate animationIn="flip-up" class="box">
|
|
26
|
-
zoom in
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
<div ioxAnimate animationIn="zoom-in-up" class="box">
|
|
30
|
-
fade up
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
@import '../../styles/main.scss';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
.page{
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
.grid{
|
|
8
|
-
max-width: 800px;
|
|
9
|
-
margin: 0 auto;
|
|
10
|
-
}
|
|
11
|
-
.gutter-sizer{
|
|
12
|
-
width: 1%;
|
|
13
|
-
}
|
|
14
|
-
.grid-sizer,
|
|
15
|
-
.grid-item {
|
|
16
|
-
width: 24%;
|
|
17
|
-
}
|
|
18
|
-
.grid-item{
|
|
19
|
-
margin-bottom: 10px;
|
|
20
|
-
img{
|
|
21
|
-
background: #D8D5D2;
|
|
22
|
-
width: 100%;
|
|
23
|
-
border-radius: 5px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
h2{
|
|
28
|
-
@include font-bold(1.8vw,#fff);
|
|
29
|
-
}
|
|
30
|
-
.box{
|
|
31
|
-
padding: 4vw;
|
|
32
|
-
width: 350px;
|
|
33
|
-
margin: 20vh 0;
|
|
34
|
-
color: #fff;
|
|
35
|
-
background: #015BA4;
|
|
36
|
-
font-family: monospace;
|
|
37
|
-
display: flex;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
align-items: center;
|
|
40
|
-
&.fixed{
|
|
41
|
-
position: fixed;
|
|
42
|
-
right: 5vw;
|
|
43
|
-
top: 15vh;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.relative{
|
|
48
|
-
position: relative;
|
|
49
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { AOSService, IoxAosModule } from 'iox-ui'
|
|
4
|
-
declare const require:any;
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'aos',
|
|
8
|
-
standalone: false,
|
|
9
|
-
templateUrl: './aos.component.html',
|
|
10
|
-
styleUrls: ['./aos.component.scss']
|
|
11
|
-
})
|
|
12
|
-
export class AOSComponent {
|
|
13
|
-
title = 'iox-aos';
|
|
14
|
-
options ={};
|
|
15
|
-
collection =<any>[];
|
|
16
|
-
kickIn = false;
|
|
17
|
-
constructor(private aosService:AOSService){
|
|
18
|
-
this.options= {}
|
|
19
|
-
|
|
20
|
-
this.aosService.scrollOffset.subscribe((offset)=>{
|
|
21
|
-
console.log(offset);
|
|
22
|
-
})
|
|
23
|
-
setTimeout(()=>{
|
|
24
|
-
this.kickIn = true;
|
|
25
|
-
},2000)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
@import '../../styles/main.scss';
|
|
2
|
-
.grid{
|
|
3
|
-
max-width: 800px;
|
|
4
|
-
margin: 0 auto;
|
|
5
|
-
}
|
|
6
|
-
.gutter-sizer{
|
|
7
|
-
width: 1%;
|
|
8
|
-
}
|
|
9
|
-
.grid-sizer,
|
|
10
|
-
.grid-item {
|
|
11
|
-
width: 24%;
|
|
12
|
-
}
|
|
13
|
-
.grid-item{
|
|
14
|
-
margin-bottom: 10px;
|
|
15
|
-
img{
|
|
16
|
-
background: #D8D5D2;
|
|
17
|
-
width: 100%;
|
|
18
|
-
border-radius: 5px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
h2{
|
|
22
|
-
@include font-bold(1.8vw,#fff);
|
|
23
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { IoxMasonryModule } from 'iox-ui';
|
|
4
|
-
declare const require:any;
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'masonry',
|
|
8
|
-
standalone: false,
|
|
9
|
-
templateUrl: './masonry.component.html',
|
|
10
|
-
styleUrls: ['./masonry.component.scss']
|
|
11
|
-
})
|
|
12
|
-
export class MasonryComponent {
|
|
13
|
-
title = 'iox-masonary';
|
|
14
|
-
options ={};
|
|
15
|
-
collection =<any>[];
|
|
16
|
-
|
|
17
|
-
constructor(){
|
|
18
|
-
this.options= {}
|
|
19
|
-
|
|
20
|
-
this.collection.push({
|
|
21
|
-
head:"Elvis Presly",
|
|
22
|
-
description:`Elvis Aaron Presley (January 8, 1935 – August 16, 1977), also known mononymously as Elvis, was an American singer and actor. Regarded as one of the most significant cultural icons of the 20th century, he is often referred to as the "King of Rock and Roll" or simply "the King".`,
|
|
23
|
-
img:"./assets/images/1.jfif"
|
|
24
|
-
})
|
|
25
|
-
this.collection.push({
|
|
26
|
-
head:"Lana Del Rey",
|
|
27
|
-
description:`Elizabeth Woolridge Grant (born June 21, 1985), known professionally as Lana Del Rey, is an American singer and songwriter.`,
|
|
28
|
-
img:"./assets/images/2.jfif"
|
|
29
|
-
})
|
|
30
|
-
this.collection.push({
|
|
31
|
-
head:"Amy Winehouse",
|
|
32
|
-
description:`Amy Jade Winehouse (14 September 1983 – 23 July 2011) was an English singer and songwriter. She was known for her deep, expressive contralto vocals and her eclectic mix of musical genres.`,
|
|
33
|
-
img:"./assets/images/3.jfif"
|
|
34
|
-
})
|
|
35
|
-
this.collection.push({
|
|
36
|
-
head:"Kurt Cobain",
|
|
37
|
-
description:`Kurt Donald Cobain (February 20, 1967 – April 5, 1994) was an American singer, songwriter, and musician, best known as the guitarist and frontman of the rock band Nirvana`,
|
|
38
|
-
img:"./assets/images/4.png"
|
|
39
|
-
})
|
|
40
|
-
this.collection.push({
|
|
41
|
-
head:"Kurt Cobain",
|
|
42
|
-
description:`Kurt Donald Cobain (February 20, 1967 – April 5, 1994) was an American singer, songwriter, and musician, best known as the guitarist and frontman of the rock band Nirvana`,
|
|
43
|
-
img:"./assets/images/5.jfif"
|
|
44
|
-
})
|
|
45
|
-
this.collection.push({
|
|
46
|
-
head:"Kurt Cobain",
|
|
47
|
-
description:`Kurt Donald Cobain (February 20, 1967 – April 5, 1994) was an American singer, songwriter, and musician, best known as the guitarist and frontman of the rock band Nirvana`,
|
|
48
|
-
img:"./assets/images/6.jfif"
|
|
49
|
-
})
|
|
50
|
-
this.collection.push({
|
|
51
|
-
head:"Kurt Cobain",
|
|
52
|
-
description:`Kurt Donald Cobain (February 20, 1967 – April 5, 1994) was an American singer, songwriter, and musician, best known as the guitarist and frontman of the rock band Nirvana`,
|
|
53
|
-
img:"./assets/images/7.jfif"
|
|
54
|
-
})
|
|
55
|
-
this.collection.push({
|
|
56
|
-
head:"Kurt Cobain",
|
|
57
|
-
description:`Kurt Donald Cobain (February 20, 1967 – April 5, 1994) was an American singer, songwriter, and musician, best known as the guitarist and frontman of the rock band Nirvana`,
|
|
58
|
-
img:"./assets/images/8.jfif"
|
|
59
|
-
})
|
|
60
|
-
this.collection.push({
|
|
61
|
-
head:"Kurt Cobain",
|
|
62
|
-
description:`Kurt Donald Cobain (February 20, 1967 – April 5, 1994) was an American singer, songwriter, and musician, best known as the guitarist and frontman of the rock band Nirvana`,
|
|
63
|
-
img:"./assets/images/9.jfif"
|
|
64
|
-
})
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
layoutComplete(items:any){
|
|
70
|
-
console.log("layout completed2 !!!");
|
|
71
|
-
console.log(items);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
File without changes
|
|
File without changes
|
|
Binary file
|