17 Commits

Author SHA1 Message Date
Philip Allgaier
c53ec6e12d
Ensure more consistent lovelace config errors (#7755) 2020-11-21 14:08:43 +01:00
Paulus Schoutsen
7d3acc747d
Guard passing invalid tag to customElements.whenDefined (#7696) 2020-11-17 09:40:35 +01:00
Zack Barett
32ff166a74
Entities Card: Add Header & Footer Editor (#6751) 2020-11-09 22:41:59 +01:00
Zack Barett
a2ec878ef0
Entities Card: Entity Row Editor (#7134)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-30 16:20:10 +02:00
Zack Barett
771c7518e6
Custom Lovelace View Layouts (#6557)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-09-30 11:06:03 +02:00
Bram Kragten
cf68f25a03
Don't throw errors in card picker (#6188) 2020-06-18 16:26:31 -07:00
Bram Kragten
e35bd30ed3
Upgrade lazy error card (#5955) 2020-05-20 23:08:49 +02:00
Bram Kragten
28d26065e4
Upgrade lazy loaded elements before setting config (#5944) 2020-05-20 16:23:50 +02:00
Bram Kragten
f3e88f6f2e
Exclude esprima and drop js-yaml from lovelace chunk (#5649) 2020-04-30 20:39:36 +02:00
Bram Kragten
82f80db558
Update typescript, prettier, tslint -> eslint (#5536)
* Update typescript, prettier, tslint -> eslint

* Organize imports

* Use glob for eslint fix react import
2020-04-14 09:05:45 -07:00
Thomas Lovén
a0a4fcaf5f
Allow custom cards in card picker (#5122)
* Allow custom cards in card picker

* Lint. "Custom:" prefix to card names

* Address review comments

* Simplifications. Translation fixes.

* Less magic

* Move CUSTOM_TYPE_PREFIX

* Update hui-card-picker.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-03-31 16:20:09 +02:00
Paulus Schoutsen
22d8ce0fd9
Fix creating card (#4947) 2020-02-20 14:47:28 -08:00
Paulus Schoutsen
52609dded9
Add rebuild support to editor preview (#4932)
* Add rebuild support to editor preview

* getLovelaceCardClass function added

* Use error class

* Tiny cleanup

* Misplaced comment
2020-02-20 09:55:42 +01:00
Paulus Schoutsen
b2243f480c
Add option to lazy load cards (#4857)
* Add option to lazy load cards

* Lazy load header/footer elements

* Lazy load rows

* Clean up params

* Rename last var
2020-02-13 21:13:48 -08:00
Ian Richardson
74c6b9077a add conditional row (#4569)
*  add conditional row

* fix types

* address comments
2020-01-24 09:59:36 +01:00
Paulus Schoutsen
d9e522e4d7 Add header/footer support to entities card (#4496)
* Add header/footer support to entities card

Oops debug radius

Revert change to hui-picture-card

Remove unused import

* Use new createElement helper
2020-01-20 18:13:19 +01:00
Paulus Schoutsen
62654ec598
Refactor create element (#4509)
* Refactor create element

* Move things around

* Fix reference in gallery
2020-01-17 16:19:01 -08:00