Skip to content

Commit

Permalink
Merge pull request #1 from santoshyadav198613/master
Browse files Browse the repository at this point in the history
Taking remote latest
  • Loading branch information
kedar9444 authored Oct 12, 2019
2 parents 0f1727b + ece1a7c commit 8785255
Show file tree
Hide file tree
Showing 22 changed files with 162 additions and 58 deletions.
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

## I would be willing to submit a PR to fix this issue

[ ] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

## I would be willing to submit a PR to fix this issue

[ ] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No
26 changes: 26 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Node CI

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install
npm run build:lib
npm run build --bulma-app
env:
CI: true
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
![](https://github.com/santoshyadav198613/ngx-bulma/workflows/Node%20CI/badge.svg)
# NgxBulma

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.2.
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 3 additions & 0 deletions projects/ngx-bulma/src/lib/panel/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
export * from './panel.component';
export * from './panel.module';
export * from './panel-block/panel-block.component';
export * from './panel-heading/panel-heading.component';
export * from './panel-tabs/panel-tabs.component';
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { BulmaPanelBlockComponent } from './bulma-panel-block.component';
import { BulmaPanelBlockComponent } from './panel-block.component';

describe('BulmaPanelBlockComponent', () => {
let component: BulmaPanelBlockComponent;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';

@Component({
selector: 'bu-panel-block',
templateUrl: './panel-block.component.html',
styleUrls: ['./panel-block.component.css'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class BulmaPanelBlockComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { BulmaPanelHeadingComponent } from './bulma-panel-heading.component';
import { BulmaPanelHeadingComponent } from './panel-heading.component';

describe('BulmaPanelHeadingComponent', () => {
let component: BulmaPanelHeadingComponent;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Component, OnInit , ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';

@Component({
selector: 'bu-panel-heading',
templateUrl: './panel-heading.component.html',
styleUrls: ['./panel-heading.component.css'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class BulmaPanelHeadingComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p class="panel-tabs">
<ng-content></ng-content>
</p>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { BulmaPanelTabsComponent } from './bulma-panel-tabs.component';
import { BulmaPanelTabsComponent } from './panel-tabs.component';

describe('BulmaPanelTabsComponent', () => {
let component: BulmaPanelTabsComponent;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';

@Component({
selector: 'bu-panel-tabs',
templateUrl: './panel-tabs.component.html',
styleUrls: ['./panel-tabs.component.css'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class BulmaPanelTabsComponent implements OnInit {

constructor() { }

ngOnInit() {
}

}
14 changes: 7 additions & 7 deletions projects/ngx-bulma/src/lib/panel/panel.module.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { BulmaPanelHeadingComponent } from './bulma-panel-heading/bulma-panel-heading.component';
import { BulmaPanelBlockComponent } from './bulma-panel-block/bulma-panel-block.component';
import { BulmaPanelTabsComponent } from './bulma-panel-tabs/bulma-panel-tabs.component';
import { BulmaPanelHeadingComponent } from './panel-heading/panel-heading.component';
import { BulmaPanelBlockComponent } from './panel-block/panel-block.component';
import { BulmaPanelTabsComponent } from './panel-tabs/panel-tabs.component';
import { BulmaPanelComponent } from './panel.component';



@NgModule({
declarations: [BulmaPanelComponent, BulmaPanelHeadingComponent, BulmaPanelBlockComponent, BulmaPanelTabsComponent],
declarations: [BulmaPanelComponent, BulmaPanelHeadingComponent,
BulmaPanelBlockComponent, BulmaPanelTabsComponent],
imports: [
CommonModule
],
exports: [BulmaPanelComponent, BulmaPanelHeadingComponent, BulmaPanelBlockComponent, BulmaPanelTabsComponent]
exports: [BulmaPanelComponent, BulmaPanelHeadingComponent,
BulmaPanelBlockComponent, BulmaPanelTabsComponent]
})
export class BulmaPanelModule { }

0 comments on commit 8785255

Please sign in to comment.