Commit Graph

18 Commits

Author SHA1 Message Date
Petro31 b7f354dae6
Add grid-template-areas explanation (#313)
Adds a quick explanation on the grid-template-areas style attribute.

Co-authored-by: Jérôme W <jerome@wnetworks.org>
2020-04-21 00:58:51 +02:00
Jérôme Wiedemann 84ac418d5c Add CSS injection through extra_styles 2020-03-15 19:59:04 +01: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 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 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 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 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 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
Jérôme W 11b87a5a50 tap_action instead of action, deprecation of color_off and style in state support (#84)
* Support for style definition in state

* Update documentation

* Deprecate color_off and action replaced by tap_action

* Fix documentation

* Fixing documentation

* Fix #71

* Add support for navigation

* Fix documentation

* Fix #71 - better solution

* Default color when off is var(--disabled-text-color)

* location action example

* Fix documentation

* Some bugfix

* Fix documentation

* Disable click when not needed

* Linting and some code fix requested

* Some fix

* renamed location to navigate

* Missing break in switch case

* remove inexisting variable reference

* Fixing button size and font to match default

* Fixing button size on firefox

* Use default entity icon if undefined and add show_icon, Fix #53

* Fix documentation

* Replace default colors to match hass default

* Updating documentation

* Fix isClickable

* Some refactoring

* Blink animation support
2019-04-17 18:03:57 -05:00
Alexandre Garcia 4f62d448a5 0.0.3 release 2018-10-15 22:58:20 -04:00
jxwolstenholme 4872d490a1
Added label card to example readme 2018-10-09 15:16:48 +01:00
jxwolstenholme 550b458979
added example screenshot 2018-10-09 15:11:36 +01:00
Alexandre Garcia 9ef667e407 0.0.2
fix examples readme markdown

add new example to table of contents

changelog + readme tweak

fix fucked up yaml

add capture in changelog
2018-09-03 14:12:51 -04:00