Skip to content

Commit 8ffd8c9

Browse files
2 parents cfb3f77 + fe16afa commit 8ffd8c9

File tree

305 files changed

+938
-951
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

305 files changed

+938
-951
lines changed

.all-contributorsrc

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,29 @@
4040
"contributions": [
4141
"code"
4242
]
43+
},
44+
{
45+
"login": "fmalcher",
46+
"name": "Ferdinand Malcher",
47+
"avatar_url": "https://avatars1.githubusercontent.com/u/1683147?v=4",
48+
"profile": "https://www.ferdinand-malcher.de",
49+
"contributions": [
50+
"code"
51+
]
52+
},
53+
{
54+
"login": "shanmukhateja",
55+
"name": "shanmukhateja",
56+
"avatar_url": "https://avatars3.githubusercontent.com/u/43369891?v=4",
57+
"profile": "https://github.com/shanmukhateja",
58+
"contributions": [
59+
"code"
60+
]
4361
}
4462
],
4563
"contributorsPerLine": 7,
4664
"projectName": "ngx-bulma",
47-
"projectOwner": "santoshyadav198613",
65+
"projectOwner": "ngx-builders",
4866
"repoType": "github",
4967
"repoHost": "https://github.com",
5068
"skipCi": true

README.md

Lines changed: 33 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,46 +16,58 @@ This guide explains how to setup your Angular project to begin using ngx2-bulma.
1616

1717
# Install ngx2-bulma
1818

19-
Use the npm command to install ngx2-bulma in your application to set up your Angular project with ngx2-bulma by running the following commands:
19+
Use the NPM command to install ngx2-bulma in your application to set up your Angular project with ngx2-bulma by running the following command:
2020

2121
```shell
2222
ng add ngx2-bulma
2323
```
2424

25-
The `ng add` command will install ngx2-bulma and bulma css framework.
26-
It will also do automate the below configuration
25+
The `ng add` command will install ngx2-bulma and the bulma CSS framework.
26+
It will also automate the configuration below.
2727

28-
1. Add your bulma css in your in `angular.json`
28+
1. Add your bulma CSS in your in `angular.json`:
2929

3030
```json
3131
"styles": [
32-
"projects/bulma-app/src/styles.css",
33-
"node_modules/bulma/css/bulma.css"
34-
]
32+
"projects/bulma-app/src/styles.css",
33+
"node_modules/bulma/css/bulma.css"
34+
]
3535
```
3636

3737
## Display a ngx2-bulma component
3838

39-
Let's display a card component in your app and verify that everything works. You need to import the `BulmaCardModule` that you want to display by adding the following lines to your `app.module.ts` file.
39+
Let's display a card component in your app and verify that everything works. You need to import the `BulmaCardModule` that you need to display by adding the following lines to your `app.module.ts` file.
4040

4141
```javascript
42-
import { BulmaCardModule} from 'ngx-bulma';
42+
import { BulmaCardModule } from 'ngx-bulma';
4343

44-
@NgModule({
45-
imports: [BulmaCardModule]
46-
});
44+
@NgModule({
45+
imports: [BulmaCardModule],
46+
// ...
47+
})
48+
export class AppModule {}
4749
```
4850

49-
Once you done all the above setup, now you can use the bulmacard component in your Angular application.
51+
Once you done all the above setup, you can use the Bulma card component in your Angular application as described [in the documentation](https://ngx2-bulma.netlify.app/components/card):
52+
53+
```html
54+
<bu-card>
55+
The content
56+
</bu-card>
57+
```
5058

5159
## Documentation
5260

53-
For complete documentation refer: [ngx2-bulma](https://ngx2-bulma.netlify.com/).
61+
For complete documentation refer to [ngx2-bulma](https://ngx2-bulma.netlify.com/).
5462

5563
## Contributing
5664

5765
ngx2-bulma is a community-driven project. Read our [contributing guidelines](./CONTRIBUTING.md) on how to get involved.
5866

67+
## Images Credits
68+
69+
This library would have been incomplete without the support of Iryn Kasparova. You can connect with her on [LinkedIn](https://www.linkedin.com/in/iryn-kasparova/)
70+
5971
## Contributors ✨
6072

6173
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -65,16 +77,17 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
6577
<!-- markdownlint-disable -->
6678
<table>
6779
<tr>
68-
<td align="center"><a href="https://github.com/haroon786"><img src="https://avatars0.githubusercontent.com/u/20164301?v=4" width="100px;" alt=""/><br /><sub><b>HaroonJ</b></sub></a><br /><a href="https://github.com/santoshyadav198613/ngx-bulma/commits?author=haroon786" title="Code">💻</a></td>
69-
<td align="center"><a href="https://github.com/ankitsaini345"><img src="https://avatars2.githubusercontent.com/u/37847177?v=4" width="100px;" alt=""/><br /><sub><b>Ankit Saini</b></sub></a><br /><a href="https://github.com/santoshyadav198613/ngx-bulma/commits?author=ankitsaini345" title="Code">💻</a></td>
70-
<td align="center"><a href="https://www.santoshyadav.dev"><img src="https://avatars3.githubusercontent.com/u/11923975?v=4" width="100px;" alt=""/><br /><sub><b>Santosh Yadav</b></sub></a><br /><a href="https://github.com/santoshyadav198613/ngx-bulma/commits?author=santoshyadav198613" title="Code">💻</a></td>
71-
<td align="center"><a href="https://ankitsharmablogs.com/"><img src="https://avatars1.githubusercontent.com/u/33789321?v=4" width="100px;" alt=""/><br /><sub><b>Ankit</b></sub></a><br /><a href="https://github.com/santoshyadav198613/ngx-bulma/commits?author=AnkitSharma-007" title="Code">💻</a></td>
80+
<td align="center"><a href="https://github.com/haroon786"><img src="https://avatars0.githubusercontent.com/u/20164301?v=4" width="100px;" alt=""/><br /><sub><b>HaroonJ</b></sub></a><br /><a href="https://github.com/ngx-builders/ngx-bulma/commits?author=haroon786" title="Code">💻</a></td>
81+
<td align="center"><a href="https://github.com/ankitsaini345"><img src="https://avatars2.githubusercontent.com/u/37847177?v=4" width="100px;" alt=""/><br /><sub><b>Ankit Saini</b></sub></a><br /><a href="https://github.com/ngx-builders/ngx-bulma/commits?author=ankitsaini345" title="Code">💻</a></td>
82+
<td align="center"><a href="https://www.santoshyadav.dev"><img src="https://avatars3.githubusercontent.com/u/11923975?v=4" width="100px;" alt=""/><br /><sub><b>Santosh Yadav</b></sub></a><br /><a href="https://github.com/ngx-builders/ngx-bulma/commits?author=santoshyadav198613" title="Code">💻</a></td>
83+
<td align="center"><a href="https://ankitsharmablogs.com/"><img src="https://avatars1.githubusercontent.com/u/33789321?v=4" width="100px;" alt=""/><br /><sub><b>Ankit</b></sub></a><br /><a href="https://github.com/ngx-builders/ngx-bulma/commits?author=AnkitSharma-007" title="Code">💻</a></td>
84+
<td align="center"><a href="https://www.ferdinand-malcher.de"><img src="https://avatars1.githubusercontent.com/u/1683147?v=4" width="100px;" alt=""/><br /><sub><b>Ferdinand Malcher</b></sub></a><br /><a href="https://github.com/ngx-builders/ngx-bulma/commits?author=fmalcher" title="Code">💻</a></td>
85+
<td align="center"><a href="https://github.com/shanmukhateja"><img src="https://avatars3.githubusercontent.com/u/43369891?v=4" width="100px;" alt=""/><br /><sub><b>shanmukhateja</b></sub></a><br /><a href="https://github.com/ngx-builders/ngx-bulma/commits?author=shanmukhateja" title="Code">💻</a></td>
7286
</tr>
7387
</table>
7488

7589
<!-- markdownlint-enable -->
7690
<!-- prettier-ignore-end -->
77-
7891
<!-- ALL-CONTRIBUTORS-LIST:END -->
7992

80-
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
93+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind are welcome!

angular.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"ngx-bulma": {
6+
"@ngx-builders/ngx-bulma": {
77
"projectType": "library",
88
"root": "projects/ngx-bulma",
99
"sourceRoot": "projects/ngx-bulma/src",
@@ -180,7 +180,7 @@
180180
}
181181
}
182182
},
183-
"defaultProject": "ngx-bulma",
183+
"defaultProject": "@ngx-builders/ngx-bulma",
184184
"schematics": {
185185
"@nrwl/angular:application": {
186186
"unitTestRunner": "jest",

package.json

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "ngx-bulma",
3-
"version": "0.0.1-beta3",
2+
"name": "@ngx-builders/ngx-bulma",
3+
"version": "0.0.2",
44
"scripts": {
55
"release": "standard-version",
66
"ng": "ng",
77
"start": "ng serve",
8-
"build:prod:lib": "ng build ngx-bulma --prod && npm run schematics:build",
9-
"build:lib": "ng build ngx-bulma --prod",
8+
"build:prod:lib": "ng build @ngx-builders/ngx-bulma --prod && npm run schematics:build",
9+
"build:lib": "ng build @ngx-builders/ngx-bulma --prod",
1010
"serve:app": "npm run build:lib && ng serve bulma-app -o",
1111
"build:lib:watch": "ng build ngx-bulma --watch",
1212
"build-docs": "npm run build:lib && ng build bulma-app",
@@ -22,59 +22,60 @@
2222
},
2323
"private": true,
2424
"dependencies": {
25-
"@angular/animations": "9.1.11",
26-
"@angular/common": "9.1.11",
27-
"@angular/compiler": "9.1.11",
28-
"@angular/core": "9.1.11",
29-
"@angular/forms": "9.1.11",
30-
"@angular/platform-browser": "9.1.11",
31-
"@angular/platform-browser-dynamic": "9.1.11",
32-
"@angular/router": "9.1.11",
33-
"@fortawesome/fontawesome-svg-core": "1.2.28",
34-
"@fortawesome/free-solid-svg-icons": "5.13.0",
25+
"@angular/animations": "9.1.12",
26+
"@angular/common": "9.1.12",
27+
"@angular/compiler": "9.1.12",
28+
"@angular/core": "9.1.12",
29+
"@angular/forms": "9.1.12",
30+
"@angular/platform-browser": "9.1.12",
31+
"@angular/platform-browser-dynamic": "9.1.12",
32+
"@angular/router": "9.1.12",
33+
"@fortawesome/fontawesome-svg-core": "1.2.30",
34+
"@fortawesome/free-solid-svg-icons": "5.14.0",
3535
"@fortawesome/react-fontawesome": "0.1.11",
36-
"@nrwl/angular": "9.4.4",
37-
"@nrwl/workspace": "9.4.4",
36+
"@nrwl/angular": "9.5.1",
37+
"@nrwl/workspace": "9.5.1",
3838
"bulma": "0.9.0",
3939
"core-js": "3.6.5",
4040
"font-awesome": "4.7.0",
41-
"marked": "1.1.0",
41+
"marked": "1.1.1",
42+
"ng-samurai": "^2.0.5",
4243
"ngx-markdown": "9.1.1",
43-
"ngx-semantic-version": "1.2.1",
44+
"ngx-semantic-version": "2.1.0",
4445
"prism-themes": "1.4.0",
4546
"renamer": "2.0.1",
46-
"rxjs": "6.5.5",
47-
"schematics-utilities": "2.0.1",
47+
"rxjs": "6.6.2",
48+
"schematics-utilities": "2.0.2",
4849
"tslib": "2.0.0",
4950
"zone.js": "0.10.3"
5051
},
5152
"devDependencies": {
52-
"@angular-devkit/build-angular": "0.901.9",
53-
"@angular-devkit/build-ng-packagr": "0.901.9",
54-
"@angular/cli": "9.1.9",
55-
"@angular/compiler-cli": "9.1.11",
56-
"@angular/language-service": "9.1.11",
57-
"@commitlint/cli": "8.3.5",
58-
"@commitlint/config-conventional": "8.3.4",
59-
"@fortawesome/fontawesome-free": "5.13.0",
60-
"@ngx-builders/analyze": "1.0.0",
61-
"@nrwl/cypress": "9.4.4",
62-
"@nrwl/jest": "9.4.4",
53+
"@angular-devkit/build-angular": "0.1000.5",
54+
"@angular-devkit/build-ng-packagr": "0.1000.5",
55+
"@angular/cli": "9.1.12",
56+
"@angular/compiler-cli": "9.1.12",
57+
"@angular/language-service": "9.1.12",
58+
"@commitlint/cli": "9.1.1",
59+
"@commitlint/config-conventional": "9.1.1",
60+
"@fortawesome/fontawesome-free": "5.14.0",
61+
"@ngx-builders/analyze": "2.0.0",
62+
"@nrwl/cypress": "9.5.1",
63+
"@nrwl/jest": "9.5.1",
6364
"@types/jasmine": "3.5.10",
6465
"@types/jasminewd2": "2.0.8",
65-
"@types/jest": "26.0.0",
66-
"@types/node": "12.12.47",
67-
"codelyzer": "5.2.2",
66+
"@types/jest": "26.0.9",
67+
"@types/node": "12.12.54",
68+
"codelyzer": "6.0.0",
6869
"commitizen": "4.1.2",
6970
"copyfiles": "2.3.0",
70-
"cypress": "4.8.0",
71+
"cypress": "4.12.1",
7172
"cz-conventional-changelog": "3.2.0",
7273
"husky": "4.2.5",
73-
"jasmine-core": "3.5.0",
74+
"jasmine-core": "3.6.0",
7475
"jasmine-spec-reporter": "5.0.2",
75-
"jest": "26.0.1",
76-
"jest-preset-angular": "8.2.0",
77-
"karma": "5.1.0",
76+
"jest": "26.4.0",
77+
"jest-preset-angular": "8.2.1",
78+
"karma": "5.1.1",
7879
"karma-chrome-launcher": "3.1.0",
7980
"karma-coverage-istanbul-reporter": "3.0.3",
8081
"karma-jasmine": "3.3.1",
@@ -83,8 +84,8 @@
8384
"prettier": "2.0.5",
8485
"pretty-quick": "2.0.1",
8586
"protractor": "7.0.0",
86-
"standard-version": "8.0.0",
87-
"ts-jest": "26.1.0",
87+
"standard-version": "8.0.2",
88+
"ts-jest": "26.2.0",
8889
"ts-node": "8.10.2",
8990
"tslint": "5.20.1",
9091
"tslint-config-prettier": "1.18.0",

projects/bulma-app/src/app/app.module.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ import { HttpClientModule } from '@angular/common/http';
22
import { NgModule } from '@angular/core';
33
import { BrowserModule } from '@angular/platform-browser';
44

5-
import {
6-
BulmaCardModule,
7-
BulmaContainerModule,
8-
BulmaFooterModule,
9-
BulmaNavbarModule,
10-
} from 'ngx-bulma';
5+
import { BulmaCardModule } from '@ngx-builders/ngx-bulma/card';
6+
7+
import { BulmaContainerModule } from '@ngx-builders/ngx-bulma/container';
8+
import { BulmaFooterModule } from '@ngx-builders/ngx-bulma/footer';
9+
10+
import { BulmaNavbarModule } from '@ngx-builders/ngx-bulma/navbar';
1111

1212
import { AppRoutingModule } from './app-routing.module';
1313
import { AppComponent } from './app.component';

projects/bulma-app/src/app/box/box.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CommonModule } from '@angular/common';
22
import { HttpClient } from '@angular/common/http';
33
import { NgModule } from '@angular/core';
4-
import { BulmaBoxModule } from 'ngx-bulma';
4+
import { BulmaBoxModule } from '@ngx-builders/ngx-bulma/box';
55
import { MarkdownModule } from 'ngx-markdown';
66
import { BoxRoutingModule } from './box-routing.module';
77
import { BoxComponent } from './box/box.component';

projects/bulma-app/src/app/button/button.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CommonModule } from '@angular/common';
22
import { HttpClient } from '@angular/common/http';
33
import { NgModule } from '@angular/core';
4-
import { BulmaButtonModule } from 'ngx-bulma';
4+
import { BulmaButtonModule } from '@ngx-builders/ngx-bulma/button';
55
import { MarkdownModule } from 'ngx-markdown';
66
import { ButtonRoutingModule } from './button-routing.module';
77
import { ButtonComponent } from './button.component';

projects/bulma-app/src/app/card/card.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CommonModule } from '@angular/common';
22
import { HttpClient } from '@angular/common/http';
33
import { NgModule } from '@angular/core';
4-
import { BulmaCardModule } from 'ngx-bulma';
4+
import { BulmaCardModule } from '@ngx-builders/ngx-bulma/card';
55
import { MarkdownModule } from 'ngx-markdown';
66
import { CardRoutingModule } from './card-routing.module';
77
import { CardComponent } from './card.component';
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { CommonModule } from '@angular/common';
22
import { HttpClient } from '@angular/common/http';
33
import { NgModule } from '@angular/core';
4-
import { BulmaContainerModule } from 'ngx-bulma';
4+
import { BulmaContainerModule } from '@ngx-builders/ngx-bulma/container';
55
import { MarkdownModule } from 'ngx-markdown';
66
import { ContainerRoutingModule } from './container-routing.module';
77
import { ContainerComponent } from './container.component';
@@ -12,8 +12,8 @@ import { ContainerComponent } from './container.component';
1212
CommonModule,
1313
ContainerRoutingModule,
1414
BulmaContainerModule,
15-
MarkdownModule.forRoot({ loader: HttpClient })
15+
MarkdownModule.forRoot({ loader: HttpClient }),
1616
],
17-
exports: [ContainerComponent]
17+
exports: [ContainerComponent],
1818
})
19-
export class ContainerModule { }
19+
export class ContainerModule {}

projects/bulma-app/src/app/footer/doc-footer/doc-footer.component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
<p class="bd-footer-link-title">
1010
<a href="https://bulma.io/blog">Blog</a>
1111
</p>
12+
<p class="bd-footer-link-title">
13+
<a href="https://github.com/jgthms/bulma#browser-support">Browser Support</a>
14+
</p>
1215
</div>
1316

1417
<div class="column is-3">

0 commit comments

Comments
 (0)