Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@

## Features

- [x] Component decorator `Styled`
- [x] Theming with `Theme`
- [x] Server Side Rendering with Angular Universal

## Table of Contents

- [Installation](#installation)
Expand Down
3 changes: 2 additions & 1 deletion libs/angular-jss/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"dest": "../../dist/libs/angular-jss",
"lib": {
"entryFile": "src/index.ts"
}
},
"allowedNonPeerDependencies": ["."]
}
10 changes: 5 additions & 5 deletions libs/angular-jss/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@design4pro/angular-jss",
"version": "0.0.1",
"description": "Angular for JSS",
"description": "JSS integration with Angular",
"license": "MIT",
"keywords": [
"angular",
Expand All @@ -24,13 +24,13 @@
"homepage": "https://github.com/design4pro/angular-jss#readme",
"peerDependencies": {
"@angular/common": "^13.2.0",
"@angular/core": "^13.2.0",
"@angular/core": "^13.2.0"
},
"dependencies": {
"jss": "^10.9.0",
"jss-plugin-camel-case": "^10.9.0",
"jss-plugin-global": "^10.9.0",
"jss-plugin-rule-value-function": "^10.9.0"
},
"dependencies": {
"jss-plugin-rule-value-function": "^10.9.0",
"tslib": "^2.3.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion libs/angular-jss/src/lib/jss/utils/sheets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const getStyles = (options: Options<JssContext, ThemeContext>) => {
return styles;
}

if (styles.length !== 0) {
if (styles.length === 0) {
console.warn(
`[JSS] <${
options.name || 'Hook'
Expand Down