Commit Graph

131 Commits

Author SHA1 Message Date
Jérôme W c21210f728
Merge branch 'master' into container 2020-01-05 14:32:30 +01:00
Jérôme Wiedemann 6dc0573cf7 Update manual download link 2020-01-03 19:15:27 +01:00
Ian Richardson 3fac761e13
Merge branch 'master' into container 2019-11-08 12:47:32 -06:00
Ian Richardson 04dc8a0fdc add devcontainer and bump deps 2019-11-08 12:46:33 -06:00
Ian Richardson 73a3e1b86c
Update README.md 2019-11-04 09:59:57 -06:00
JRK 3e4d0b3a9d Remove forgotten console log 2019-11-04 06:05:58 +01:00
Jérôme Wiedemann 23fbdeaf61 Fix circleci config 2019-10-21 10:30:28 +02:00
Jérôme Wiedemann bbe19a0530 Bump version 3.0.0 2019-10-21 10:24:49 +02:00
Jérôme W b1fa112fbc Bunch of features (#231)
* Add support for any card in custom_fields

* Fix version script

* Drop support for custom_updater

* confirmation template support and per action confirmation

* Confirmation supports templates and exemptions

* Support for Safari 10

* Using createThing from cch

* Proper events handling for embedded cards

* Lock with exemptions and delay

* Fix locking documentation

* Fix default color documentation

* Updating templates documentation

* Support for different unlock clicks

* Update embedded card documentation
2019-10-21 10:24:49 +02:00
Jérôme Wiedemann 5ef600a6e0 Bump patch 2019-07-31 16:09:54 +02:00
Jérôme Wiedemann 0c6cd9aaae Fixes #210 2019-07-31 16:08:02 +02:00
Jérôme Wiedemann 2d1cab4b1d Fix for Beta IOS App 2019-07-29 20:17:11 +02:00
Jérôme W cac0ccc5be
2.0.3 (#208)
* Fixes #206, Fixes #195 (#207)

* Fixes #206

* Return original value if !value in _getTemplateOrValue

* Fixes #195 IOS 13 tap behaviour

* Bump patch version
2019-07-29 18:06:38 +02:00
Jérôme Wiedemann 62b648e504 Fix documentation 2019-07-28 15:13:07 +02:00
Jérôme W 67fe0de0c9
2.0.2 (#205)
* Fix when _evalTemplate receives a boolean

* Bump patch
2019-07-27 15:13:08 +02:00
Jérôme W 176ee81b86
2.0.1 (#204)
* Fix for 2.0.0 (#203)

* Fix when value in _getTemplateOrString is the number 0

* Fix for *_actions with objects in service_data

* Bump patch
2019-07-27 14:25:18 +02:00
Jérôme W a9f27a64a2
2.0.0 (#202)
* _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
2019-07-26 21:27:18 +02:00
Jérôme W 9ef93a2a35
Merge pull request #186 from custom-cards/dev
1.11.1
2019-06-08 16:39:02 +02:00
Jérôme Wiedemann d5c63600f5 add info.md 2019-06-08 16:36:01 +02:00
Jérôme Wiedemann 670e835b7a Bump version 2019-06-08 16:26:48 +02:00
Jérôme W efcaf7a779 Support for HTML in name (#185) 2019-06-08 16:25:06 +02:00
Jérôme Wiedemann 1a213fac54 Bump version 2019-06-05 00:08:23 +02:00
Jérôme W 965523836f Support for timer entities (#183) 2019-06-05 00:08:23 +02:00
Jérôme W c382ba5d3b Only specific users can disable the lock (#182)
* Allow to unlock the button for specific users only

* Update documentation
2019-06-05 00:08:23 +02:00
Jérôme W f361324ac4 Fix some templates not updating on changes (#181) 2019-06-05 00:08:23 +02:00
Jérôme W f6a3f2b47c New css variable for light color without temperature (#178)
* Add css variable --button-card-light-color-no-temperature

* Update documentation
2019-06-05 00:08:23 +02:00
Jérôme W 36e9e331c8 Fix ripple when lock is true (#176) 2019-06-05 00:08:23 +02:00
Jérôme Wiedemann e84a73b853 1.10.2 2019-05-25 17:49:56 +02:00
Jérôme W 87dd3e7020 Css fixes (#174)
* Fix when aspect_ratio is not defined

* Update circle CI config

* custom-card-helpers latest fix
2019-05-25 17:49:56 +02:00
Jérôme Wiedemann c08e334c47 1.10.1 2019-05-25 14:18:36 +02:00
Jérôme W f801f42224
1.10.1 (#172)
* 1.10.0

* Add circle-ci config

* CSS Fixes (#171)

* Fix some CSS issues

* Temp fix for custom-card-helpers being a git repo

* Fix when entity_id === entity in service calls
2019-05-25 14:05:29 +02:00
Jérôme W ec4d79ce43
Contrinuting guide 2019-05-24 18:10:34 +02:00
Jérôme W 5ec35fd72c
1.10.0 (#166)
* Add an option to ignore light temperature

* Deprecate style in favor of styles.card

* pre-commit hooks

* name_template and entity_picture_template

* Use custom-card-helpers

* Deep merging state by id

* Using latest custom-card-helpers

* Aspect ratio support and auto icon resizing

* Updating documentation
2019-05-24 12:54:42 +02:00
Jérôme Wiedemann 6f12577e15 Fix documentation 2019-05-16 02:48:06 +02:00
Jérôme W 4a2f16e209
Config template support (#154)
* Config template support

* deep merge for templates

* Use terser and fix #157

* Update documentation
2019-05-16 02:43:39 +02:00
apop880 27fb73bfe7 Update with repeat documentation (#151) 2019-05-10 15:23:00 +02:00
Jérôme W 8023fd8265
Repeatable hold_action, double tap & light color in css var (#148)
* Repeatable hold_action

* Cleanup

* lock customization

* CSS reorder

* Support for double click

* light entity css color variable

* doc fix

* css fix
2019-05-10 14:49:44 +02:00
Jérôme W c0f50ff675
Custom layout and refactor (#146)
* Fixes #145

* custom layout support

* Some css fix

* Documentation update

* Doc update

* Update TOC

* Localization support
2019-05-09 16:13:06 +02:00
Jérôme W 880e7e37e1
Add a nice locking mechanism (#139)
* Add a nice locking mecanism

* Update documentation

* Fix typo

* Remove useless styles

* Fix for touch devices

* Disable ripple effect while locked

* fix blank card height

* Show last changed instead of label

* Support for light temperature with color auto

* Style for last_changed

* Update documentation
2019-05-04 13:20:33 +02:00
Jérôme W 364580a281 Update issue templates (#137) 2019-05-01 08:08:03 -05:00
Jérôme W 7f10243f63
Per element style config (#136)
* Fix brightness calculation

* Own longpress was actually never used...

* Style per element

* Delete commented out functions

* Updating documentation

* Little doc update

* Fix doc

* Linting
2019-05-01 13:40:20 +02:00
Jérôme W 56a8fac0fa
Label and templates support (#134)
* Label and templates support

* Fix blank card with fixed width

* Fix some layouts
2019-04-29 18:44:04 +02:00
Jérôme W 21c60bb033
Switch to css grid and code refactor (#132)
* Switch to css grid and code refactor

* Ability to specify the width of the card

* Update documentation

* Fix invalid CSS value

* requested changes and bugfix
2019-04-29 10:50:13 +02:00
Jérôme W 37a8b89256
Some refactor + fix color brightness for light entity (#131)
* Some refactor + fix color brightness for light entity

* Fixes #129

* requested changes
2019-04-27 16:24:28 +02:00
coxtor 25131db8b7 Correct mistake in examples (#126)
changed "service" to "call-service", realizing this error took longer than it should have :)
2019-04-26 10:54:55 -05:00
Jérôme W 55343382ae
entity_picture/custom picture support with style (#119)
* entity_picture/Custom Image support

* Update documentation

* Adding VSCode Debugger support

* Some linting love <3

* Cleanup and Fixes #125

* lit-plugin addition
2019-04-26 01:00:50 +02:00
Alok Saboo a5b4a800af Update button-card.js file path (#124) 2019-04-25 11:38:41 -05:00
Jérôme W 6df003dde9
Haptic (#123)
* Initial haptic support

* Update documentation for haptic
2019-04-25 10:15:57 +02:00
Jérôme W 89c4346358
typescript refactor (#122)
* typescript refactor

* Fix isClickable

* publish build

* Update documentation

* refactor getFontColorBasedOnBackgroundColor

* dist update

* Using babel and defining scripts

* Fix for custom Bot Support

* Removing uneeded code

* Adding babel config

* Requested changes

* Updating documentation

* Actually it's not a js, it's still a module

* Adding contributors

* add shouldUpdate
2019-04-25 09:45:04 +02:00
Jérôme W 0cb256ee46
Layout (#108)
* Add layout, show_units and units options

* Refactor

* Adding 2 new layout options

* Update documentation for layout
2019-04-23 09:13:54 +02:00