Skip to content

Commit

Permalink
2.0.0 (#202)
Browse files Browse the repository at this point in the history
* _template deprecation and custom fields support (#199)

* Update custom-card-helpers

* _template deprecated and custom_fields support

* Update dependencies

* Add npm audit fix to circleci

* Styles support templating

* *_action support templates

* Some linting

* Fixes #200

* Fixing template eval if input is a number

* State values support templating

* Documentation update

* Doc formating issue

* Bump major version
  • Loading branch information
RomRider committed Jul 26, 2019
1 parent 9ef93a2 commit a9f27a6
Show file tree
Hide file tree
Showing 12 changed files with 1,522 additions and 954 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
- restore_cache:
keys:
- deps-{{ .Environment.CACHE_VERSION }}-{{ checksum "package-lock.json" }}
- deps-{{ .Environment.CACHE_VERSION }}-
- run: rm -rf ~/repo/node_modules/custom-card-helpers/.git
- run: npm install
- run: npm install && npm audit fix

- save_cache:
paths:
Expand Down
331 changes: 240 additions & 91 deletions README.md

Large diffs are not rendered by default.

873 changes: 451 additions & 422 deletions dist/button-card.js

Large diffs are not rendered by default.

Binary file added examples/custom_fields_1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/custom_fields_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
913 changes: 607 additions & 306 deletions package-lock.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "button-card",
"version": "1.11.1",
"version": "2.0.0",
"description": "Button card for lovelace",
"main": "dist/button-card.js",
"pre-commit": [
Expand Down Expand Up @@ -32,33 +32,33 @@
},
"homepage": "https://github.com/custom-cards/button-card#readme",
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-decorators": "^7.4.4",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"@typescript-eslint/eslint-plugin": "^1.12.0",
"@typescript-eslint/parser": "^1.12.0",
"babel-cli": "^6.26.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.2",
"npm": "^6.9.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-plugin-import": "^2.18.2",
"npm": "^6.10.1",
"pre-commit": "^1.2.2",
"prettier": "^1.17.1",
"rollup": "^1.12.2",
"rollup-plugin-babel": "^4.3.2",
"prettier": "^1.18.2",
"rollup": "^1.17.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.2.4",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-typescript2": "^0.20.1",
"ts-lit-plugin": "^1.0.6",
"typescript": "^3.4.4",
"typescript": "^3.5.3",
"typescript-styled-plugin": "^0.14.0"
},
"dependencies": {
"@ctrl/tinycolor": "^2.4.0",
"custom-card-helpers": "github:custom-cards/custom-card-helpers#fix-service-call",
"@ctrl/tinycolor": "^2.5.3",
"custom-card-helpers": "^1.2.2",
"home-assistant-js-websocket": "^3.4.0",
"lit-element": "^2.1.0",
"lit-html": "^1.0.0"
"lit-element": "^2.2.0",
"lit-html": "^1.1.1"
}
}
Loading

0 comments on commit a9f27a6

Please sign in to comment.