315 Commits

Author SHA1 Message Date
Bram Kragten
aa4acc6572
Use resize polyfill from lit virtualizer (#18886) 2023-12-04 08:34:31 -05:00
renovate[bot]
bb2abe4efc
Update dependency marked to v11 (#18860)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-12-04 13:11:51 +00:00
Bram Kragten
7e74502ba3
Add particles to login, move forgot password link (#18868) 2023-12-04 11:34:42 +01:00
Steve Repsher
b901ecacca
Add missing Intl polyfills to modern build (#18794) 2023-11-28 19:28:10 +00:00
Steve Repsher
075cca5991
Inject polyfills where used (#18719) 2023-11-24 15:57:21 +01:00
wittypluck
b8d4e957e2
Add logarithmic scale option to Statistics and History graph cards (#18637) 2023-11-18 17:31:29 +01:00
Kendell R
aa0419e783
Minify logos (#18542) 2023-11-07 13:39:38 +01:00
Steve Repsher
32edbd7b33
Remove js-yaml resource proxy (#18369) 2023-10-24 14:17:25 +02:00
Josh McCarty
18827db9ba
Add bottom padding to code editor (#18368) 2023-10-24 12:59:14 +02:00
Steve Repsher
77e05decdf
Remove ondemand methods for CodeMirror and SortableJS (#18336) 2023-10-23 10:29:49 +02:00
Steve Repsher
3b2f6d71f5
Minify ha-style/Roboto and load asynchronously (#18226) 2023-10-16 20:37:50 +02:00
Simon Lamon
62d21bea4f
Replace polymer paper-slider (#18168)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-10-16 13:35:13 +02:00
Kendell R
d3fd27910a
Separate outline color (#18109) 2023-10-09 18:29:25 +02:00
Steve Repsher
bf9e2cd404
Move polyfill time zone data out of bundles (#18142) 2023-10-09 14:28:16 +02:00
Steve Repsher
4a4d9a08d5
Load Intl locale data in parallel (#18120)
* Load Intl locale data in parallel

* Switch to check result.ok
2023-10-05 10:26:15 -04:00
Kendell R
c345f41416
Factor out style data to reduce bundle size (#18077) 2023-10-02 11:18:44 +02:00
Bram Kragten
8daff17d6a
Change linear-progress bar background color for dark mode (#18059) 2023-09-29 10:33:26 +02:00
Bram Kragten
5aaf0cd579
Update logo (#17964) 2023-09-26 15:33:40 +02:00
karwosts
099e317d17
Fix zone dialog rendering wider than the window (#17642) 2023-08-30 13:37:50 +02:00
renovate[bot]
5011bba20e
Update dependency typescript to v5.2.2 (#17720)
* Update dependency typescript to v5.2.2

* Remove expect error for URL.canParse

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-08-27 17:43:49 +00:00
Steve Repsher
46a036ddbe
Improve frontend error messages written to system log (#17616) 2023-08-21 13:01:42 +02:00
Michael Arthur
196c15ff3e
Add lawn mower entity state, icon and color (#17558)
* start of lawn mower entity in the frontend

* added colours for states

* remove schedule states as no longer needed

* change mowing to teal

* remove docking as not included in architecture discussion and was missed
2023-08-21 12:19:15 +02:00
Bram Kragten
88721df637
Bump marked (#17609) 2023-08-17 15:56:31 +00:00
Paul Bottein
aa85b87e11
Update water heater more info (#17544) 2023-08-14 09:31:06 +02:00
Paul Bottein
89e96e4681
Add new temperature control in climate more info (#17002)
* Add circular slider as temperature control

* Move climate icons and mode mapping

* Update icon

* Add mode icon

* Improve colors

* Add temperature control buttons

* Call service

* Remove climate control

* Some fixes

* Add current temp and humidity

* Fix default mode

* Swap state and current

* Some adjustments

* prettier

* Simplify color rules

* refactor cool mode

* Color button when dual climate

* Add current temp and humidity

* Fix opacity

* Hide current temp is below min or above max

* Adjust button size

* Add action label

* Better off and unavailable state

* Improve current color

* Add gallery

* Fix dark mode

* Add overflow

* Update src/dialogs/more-info/controls/more-info-climate.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update src/panels/lovelace/cards/hui-thermostat-card.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update src/dialogs/more-info/components/climate/ha-more-info-climate-temperature.ts

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-08-08 12:50:21 +02:00
Paul Bottein
e9e31d51ec
Update circular slider design (#17490) 2023-08-07 11:00:43 +02:00
Steve Repsher
716e68fc5e
Add crosshairs, destroy globals, and tweak updates for code editor (#17302)
* Add crosshairs, destroy globals, and tweak updates for code editor

* Define update listener as arrow function

* Ensure editor is recreated on reconnection

* Don't create code mirror multiple times

* Remove creation in update

* Leverage lit lifecycle for editor creation and destruction

* Bump @codemirror packages

---------

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-08-04 09:16:37 -04:00
Denis Shulyaka
1fe02e8d6c
Add current humidity to humidifier history chart (#17288)
* Add current humidity to humidifier history chart

* state-humidifier-on-color
2023-07-13 17:04:04 +02:00
Philip Allgaier
152ca75499
Adjust codemirror gutter background color (#17018) 2023-06-26 09:58:59 +02:00
Paul Bottein
e9961b93f9
Add circular slider (#16981)
* WIP Create round slider

* Fix interaction on iOS

* Add dual and simple gauge

* Add events

* Rename events

* Use low and high

* Improve dual slider selection

* Add min and max

* Rename component

* Prevents setting a high value lower than low and vice versa

* Add keyboard support

* Fix typings

* Use html

* Update current indicator

* Improve doc

* Fix keyboard focus after mouse interaction

* Don't fallback to value
2023-06-21 15:01:45 +00:00
renovate[bot]
7c15a65bba
Update dependency @lit-labs/virtualizer to v2.0.3 (#16761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-06-19 14:21:08 +00:00
Steve Repsher
fa1a6affa7
Use ES modules and dynamic import for Webpack latest builds (#16849) 2023-06-13 18:12:44 +02:00
Simon Lamon
5fc4e7a95d
Introduce Intl.ListFormat (#16857)
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-06-13 15:22:23 +02:00
renovate[bot]
040d5af0aa
Update dependency eslint to v8.42.0 (#16789)
* Update dependency eslint to v8.42.0

* Update resize-observer.polyfill.ts

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-06-06 19:44:54 +00:00
Philip Allgaier
872d3e4875
Make badge colors use the generic error/warning/success/info colors (#14728) 2023-05-31 12:44:48 +02:00
Bram Kragten
88522ed155
change order 2023-05-30 22:59:34 +02:00
Joakim Sørensen
5006dfc138
Use __STATIC_PATH__ in more places so the supervisor panel can reach paths (#16665)
Use __STATIC_PATH__ in more places so the supervisor panel can reach paths
2023-05-30 10:45:58 +02:00
Paul Bottein
54b4c9f347
Add favorite colors to more info light (#16592)
* Add default favorite colors

* Don't show favorite colors if no entity registry entry

* Move color picker in its own component

* Fix more info dialog width

* Make favorite color editable

* Don't include white mode as favorite

* Add label for favorite color button

* Add support for hs, rgbw and rgbww colors

* Adapt color wheel color according to white value

* Add translation

* Add keyboard control to color temp wheel

* Use bottom sheet style for edit favorite dialog

* Fix listener

* Edit color temp icon

* Disable favorite color when available

* Only admin can edit a color

* Refactor close action

* Clean css

* Use ha button

* Fix ha-border-radius for bottom sheet
2023-05-26 17:23:49 +02:00
Bram Kragten
aa063d0a3e
Replace onboarding inputs with default inputs (#16514) 2023-05-12 13:15:28 +02:00
Steve Repsher
aa3fd70966
Use Babel runtime for helpers and regenerator (33%+ bundle reduction) (#16466) 2023-05-08 14:47:53 +02:00
renovate[bot]
4e390b4c57
Update dependency @lit-labs/virtualizer to v2 (#15932)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-05-05 15:51:12 +00:00
Steve Repsher
d2321b535c
Refactor Intl polyfills and remove from ES5 entrypoints (#16349) 2023-05-04 15:49:56 +02:00
Bram Kragten
8695bbc490
Move globalThis polyfill to compatibility, add more compatibility (#16386) 2023-05-04 15:49:28 +02:00
Bram Kragten
ed19cfeaaa
Fix codemirror selection color (#16409) 2023-05-04 15:13:32 +02:00
Bram Kragten
e793675c47
Fix dialog text colors theme (#16296)
* Fix dialog text colors theme

* fix drawer border
2023-04-25 00:23:08 +02:00
Paul Bottein
65161ce581
Language selector (#16253)
* Add language selector

* Use intl display names

* Use language picker in general settings and profile

* Add nativeName option

* Add format language util

* Add display-name polyfill

* Add native name to selector

* Rename variable
2023-04-20 10:12:49 -04:00
Bram Kragten
6a5568ad4f
Optimize app entrypoint (#16048)
* Optimize app entrypoint

* review

* remove legacy support
2023-04-11 13:16:47 +00:00
Bram Kragten
f5a4affdec
Use mwc-drawer (#10335
* Use mwc-drawer

* Update home-assistant-main.ts

* Implement top-app-bar

* Update home-assistant-main.ts

* update hui-root

* WIP

tabs don't work yet

* migrate most panels

* fixed

* notifications-drawer

* developer tools

* lovelace

* Update hui-root.ts

* Update hui-root.ts

* Update notification-drawer.ts

* fix dev tools

* Update ha-panel-developer-tools.ts
2023-03-29 17:46:34 +02:00
Bram Kragten
0f5320c6fb
Drop polymer from authorize and onboarding entrypoint (#15760)
* Drop polymer from authorize and onboarding entrypoint

* Update ha-icon.ts

* dedupe
2023-03-29 12:17:42 +02:00
Paul Bottein
48c74c8660
Add more info alarm control panel (#15893)
* Add more info alarm control panel

* Improve buttons sizes

* Add triggered, arming and pending state

* Add keypad

* Improve alarm code dialog

* Fix code condition

* Clean code

* Fix mode selection with code

* Use nothing
2023-03-28 16:31:25 +02:00