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
Steve Repsher
aac28efd32
Streamline HTML generation and consolidate templates ( #16117 )
2023-04-20 11:10:12 +02:00
Steve Repsher
22f5d6cacb
Migrate Babel loose options to assumptions ( #16245 )
2023-04-20 10:59:08 +02:00
renovate[bot]
1a9b99dd72
Update dependency glob to v10 ( #16153 )
...
* Update dependency glob to v10
* Use named export in gallery pages task
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-04-13 03:50:02 +00:00
renovate[bot]
da58aed64c
Update dependency core-js to v3.30.0 ( #16105 )
...
* Update dependency core-js to v3.30.0
* Update babel preset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-04-10 13:21:35 +00:00
Steve Repsher
d9b0d5765a
Add automatic retries to translation fetches ( #16020 )
2023-04-02 21:03:18 +02:00
Steve Repsher
91caffc4e1
Improve bundle chunk hashes and names ( #15991 )
2023-03-31 12:49:25 -04:00
Steve Repsher
1f1898fa46
Make module types explicit and convert some to ESM ( #15964 )
2023-03-30 11:23:43 +02:00
Bram Kragten
4ba7e5cf0f
Fix css minifying ( #15912 )
2023-03-23 18:28:23 +01:00
Steve Repsher
4abc2a65cb
Migrate to html-minifier-terser and improve some minification ( #15864 )
2023-03-22 11:42:16 +01:00
Jesse Moody
b0f3006c4b
Update rollup links ( #15835 )
2023-03-17 16:17:55 +01:00
renovate[bot]
c5be2acd46
Update dependency glob to v9 ( #15726 )
...
* Update dependency glob to v9
* Adjust to new API
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-03-17 13:28:51 +00:00
Steve Repsher
aeb7f8ff36
Fix webpack source maps ( #15663 )
2023-03-16 14:38:55 +01:00
Bram Kragten
0cde0fc9a9
Remove deprecated and removed icons ( #15762 )
2023-03-08 12:28:34 +01:00
Steve Repsher
a0033d9112
Fix minification of SVG template literals ( #15670 )
2023-03-01 23:57:11 -05:00
Bram Kragten
f803bbadc9
Set css optimise level to 0 ( #15652 )
2023-03-01 14:24:00 +00:00
Bram Kragten
7b4850b5d6
Bump core js, replace serve with serve-handler ( #15637 )
...
* Bump core js, remove serve from deps
* resplace serve with serve-handler
2023-03-01 09:08:56 -05:00
Paulus Schoutsen
6af57fa2cd
Temp patch to fix Rollup build ( #15631 )
2023-02-28 10:54:27 +01:00
Steve Repsher
17e6e132d1
Minify HTML and CSS template literals ( #15624 )
2023-02-28 00:02:04 -05:00
dependabot[bot]
94dd3c95ff
Bump core-js from 3.27.2 to 3.28.0 ( #15441 )
...
* Bump core-js from 3.27.2 to 3.28.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js ) from 3.27.2 to 3.28.0.
- [Release notes](https://github.com/zloirock/core-js/releases )
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zloirock/core-js/commits/v3.28.0/packages/core-js )
---
updated-dependencies:
- dependency-name: core-js
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update core-js version in babel preset
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-02-15 18:41:34 +00:00
Bram Kragten
f0d53aab7b
Fix ES5 build and fix polyfill of Intl.Locale ( #15322 )
2023-02-02 20:20:23 +01:00
dependabot[bot]
014ae06e85
Bump del from 4.1.1 to 7.0.0 ( #15120 )
...
* Bump del from 4.1.1 to 7.0.0
Bumps [del](https://github.com/sindresorhus/del ) from 4.1.1 to 7.0.0.
- [Release notes](https://github.com/sindresorhus/del/releases )
- [Commits](https://github.com/sindresorhus/del/compare/v4.1.1...v7.0.0 )
---
updated-dependencies:
- dependency-name: del
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Deduplicate dependencies
* Adjust to ESM-only and API changes
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-01-18 18:21:41 +00:00
Steve Repsher
dff7f653b1
Fix checking existence of downloaded translations ( #14493 )
2022-11-30 16:53:26 -05:00
Steve Repsher
ee6f97b802
Fetch nightly translations during build ( #13724 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-11-29 19:33:43 +01:00
Steve Repsher
8444fe0a07
Include backend translations in Lokalise download ( #13981 )
2022-10-10 17:12:25 +02:00
Paulus Schoutsen
9b2dcbdb59
Fix script/size_stats
2022-08-30 21:53:17 -04:00
Michael Irigoyen
6d88d46ce4
Update Material Design Icons to v7.0.96 ( #13175 )
...
* Update Material Design Icons to v7.0.96
* Fetch updated MDI packages
2022-07-21 11:43:48 +02:00
Franck Nijhof
07332bf155
Fix version detection in build env to allow for nightly builds ( #13062 )
2022-07-02 00:22:54 +02:00
Bram Kragten
9324061d05
Add auto completion for mdi icons to code editor ( #13022 )
...
Co-authored-by: Zack Barett <zackbarett@hey.com>
2022-06-29 16:12:16 +00:00
Marc Mueller
f8303bff76
Move metadata to pyproject.toml ( #12770 )
2022-05-25 08:16:09 -05:00
Zack Barett
6b67546daf
Virtualize Media Player Grid ( #11898 )
2022-04-25 12:32:50 +02:00
Bram Kragten
aa831a9adf
bump marked and flatmap ( #11814 )
2022-02-23 22:11:13 +01:00
Zack Barett
460b9003fc
Script Editor to Ha Form ( #11601 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-02-14 11:27:29 -06:00
Paulus Schoutsen
0046252e32
Add selectors to ha-form ( #11534 )
2022-02-04 12:47:21 +01:00
Marc Mueller
ce0ced0b6a
Move to `setup.cfg` and config for `build-system` ( #11484 )
2022-01-28 21:18:17 -08:00
Paulus Schoutsen
3133f9b01f
Use page instead of demo ( #11118 )
...
* Use page instead of demo
* Update netlify script
* Update ci.yml
* Rename demo -> page
2022-01-06 22:32:10 -08:00
Paulus Schoutsen
2c0d330f1f
Reorganize gallery ( #11116 )
...
* Reorganize gallery
* GitHub edit links
* Render sidebar during build
* Auto rebuild when sidebar changes
* Yarn dedupe
* Fixes
* Allow just metadata without text
* Show edit text link if metadata defined
* Update build-scripts/gulp/gallery.js
Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
2022-01-06 20:20:57 -08:00
Paulus Schoutsen
63c113f78d
Gallery: Make sidebar collapsible + more tweaks ( #11104 )
2022-01-06 10:21:17 +01:00
Paulus Schoutsen
a67799a670
Allow markdown readme above the gallery pages ( #11103 )
2022-01-05 23:08:21 +01:00
Paulus Schoutsen
e3d78d6dc5
Convert ha-gallery to TS ( #11102 )
...
* Convert ha-gallery to TS
* Prepare gallery to be design portal
* Import card in introduction
* Clean up demo IDs
* Convert demo-cards
* TypeScript conversion of demo-card
* Fix default demo
2022-01-05 12:49:05 -08:00
Bram Kragten
4b49da58b1
Add SmartStart/QR scan support for Z-Wave JS ( #10726 )
2021-12-01 14:12:52 -08:00
Bram Kragten
4e68383cf7
Remove deprecated icons ( #10622 )
2021-11-15 11:54:59 +01:00
Bram Kragten
9425b943dd
Add separate cast media entrypoint (with ES5) ( #10527 )
2021-11-04 10:09:21 -07:00
Paul Bottein
74533cebc6
Use tags and aliases when filtering icons in Icon Picker ( #10425 )
2021-10-27 20:12:12 +00:00
Bram Kragten
da73b316ff
Remove deprecated icons that where replaced ( #10371 )
2021-10-25 12:12:16 +02:00
Paul Bottein
2770d1f36b
Icon Picker ( #10161 )
2021-10-18 22:45:21 +02:00
Paulus Schoutsen
6f6fc759cc
Add selector demo to gallery ( #10213 )
2021-10-08 20:56:32 +02:00
Bram Kragten
807ce468d6
Dont create icon for supervisor ( #10191 )
2021-10-07 23:27:35 +02:00
Bram Kragten
8022bd2868
Guard icon db check on hassio ( #10181 )
2021-10-07 10:31:47 +00:00
Bram Kragten
25c1156c88
Some code improvements ( #10156 )
2021-10-05 21:21:05 -07:00
Paulus Schoutsen
2ddab4eecc
Fix webpack dev server ( #10130 )
2021-10-01 14:18:53 -07:00
Bram Kragten
257e60a2b1
Don't bundle locale data, but add to static ( #10119 )
2021-10-01 07:58:02 -07:00
Joakim Sørensen
abbfe7200a
Fix supervisor dev translations ( #10113 )
2021-09-30 09:01:36 -07:00
Bram Kragten
1bccbd4173
Use browser default time and number formatting with polyfills if needed ( #9481 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-29 23:34:52 +00:00
Bram Kragten
22f88c59c7
Bump lit and mwc ( #10103 )
2021-09-29 15:09:43 -07:00
Michael Irigoyen
360c2cbfa3
Update Material Design Icons to `v6.1.95` ( #10002 )
...
* Update MDI to v6, add icon deprecation mapping
* Add removed icon path data to build tools
* Resolve incorrect MDI icon import name
2021-09-10 16:49:32 +02:00
Bram Kragten
2bddd151eb
Don't recreate translation meta in watch mode ( #9909 )
2021-08-30 13:13:47 -07:00
Joakim Sørensen
eff48acdf4
Rename snapshot -> backup ( #9393 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-08-12 11:56:13 +02:00
Bram Kragten
3f447bb8a7
Bump Polymer ( #9525 )
...
* Bump Polymer
* Remove formatting from patch
* Cleanup
* Fix Vaadin
* Fix typing
2021-07-16 01:23:09 +02:00
Bram Kragten
21dca3fbf8
Use patch for `@lit-labs/virtualizer` ( #9524 )
...
* Use patch for `@lit-labs/virtualizer`
* Re-organize
* Use original for patch
* Also patch import of EventTarget polyfill
* Delete EventTarget-ponyfill.js
* Prettier
2021-07-16 01:16:24 +02:00
Bram Kragten
2e16127fde
Inline mdi icons with babel plugin + bump build deps ( #9498 )
2021-07-12 09:26:07 -07:00
Joakim Sørensen
30d6c68908
Fix writing supervisor entrypoint ( #9489 )
2021-07-01 11:34:22 +02:00
Bram Kragten
dc781da93a
Use ES5 build for Supervisor on Safari 12 and below ( #9485 )
2021-07-01 09:27:02 +02:00
Bram Kragten
8141f78a92
Use ES5 build for Safari 12 and below ( #9482 )
2021-06-30 12:02:01 +02:00
Bram Kragten
0ef3421fa2
Bump chartjs to version 3 ( #9401 )
2021-06-18 11:15:07 +02:00
Bram Kragten
9fbd594f37
Check if `/proc/version` exists ( #9438 )
2021-06-17 15:23:20 +02:00
Joakim Sørensen
1b1676cecc
Use poll for webpack for WSL ( #9425 )
2021-06-15 15:34:15 +02:00
Bram Kragten
509c5b497a
Disable babel compact option ( #9335 )
2021-06-03 12:34:30 -07:00
Bram Kragten
2427d68aa1
Use local version 0.7 of lit-virtualizer ( #9321 )
2021-06-01 11:39:15 +02:00
Bram Kragten
fdcbb5b432
Bump js-yaml ( #9245 )
2021-05-26 00:13:58 +02:00
Paulus Schoutsen
1b9286db76
Fix lit warnings ( #9204 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-05-18 15:01:43 -07:00
Bram Kragten
bc92c0b052
Upgrade to Lit 2 ( #9199 )
2021-05-18 07:37:53 -07:00
Bram Kragten
9f554f4917
Silence babel warnings ( #9158 )
2021-05-10 22:57:42 +02:00
Joakim Sørensen
bea20d0495
🌐 Add MVP for translation in the Supervisor panel ( #8425 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-02 00:37:39 +01:00
Bram Kragten
54ec81b67d
Fix en-gb translations ( #8502 )
...
Renamed lang key in lokalise
2021-03-01 22:48:36 +01:00
Joakim Sørensen
ef0bfb237a
bump webpack-manifest-plugin to 3.0.0 ( #8426 )
2021-02-22 10:30:02 +01:00
Paulus Schoutsen
607eb6d130
Prefer target over environment ( #8092 )
2021-01-05 16:03:55 +01:00
Paulus Schoutsen
6d92b5651a
Bump @web/dev-server ( #7792 )
2020-11-24 12:04:22 +01:00
Paulus Schoutsen
0049be7feb
Allow developing with @web/dev-server ( #7782 )
2020-11-23 13:05:18 +01:00
Paulus Schoutsen
39ff641be9
Close webpack compiler on prod build ( #7779 )
...
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-23 12:48:21 +01:00
Paulus Schoutsen
cd07553b59
Upgrade Rollup babel plugin ( #7773 )
2020-11-23 10:21:45 +01:00
Paulus Schoutsen
875142373e
Remove unused files and automate translation fragments ( #7764 )
2020-11-21 22:44:44 +01:00
Paulus Schoutsen
4005bc8985
Clarify title
2020-11-18 08:46:42 +00:00
Paulus Schoutsen
62e9792c39
Add note about building the frontend
2020-11-18 08:44:45 +00:00
Paulus Schoutsen
7499892bc2
Don't support safari 10 in minifaction for latest support ( #7719 )
2020-11-17 22:00:28 +01:00
Paulus Schoutsen
c7b747c4fa
Add debug launch conf for VS Code ( #7683 )
2020-11-15 16:36:48 +01:00
Rob McCann
3dedbc5457
Remove minification from translations to reduce build time by 1.5mins ( #7552 )
2020-10-30 15:36:52 +01:00
Bram Kragten
7428731eac
Fix ES5 build, fix virtualizer polyfill ( #7451 )
2020-10-22 22:43:15 +02:00
Bram Kragten
07fc9b98cc
Bump webpack ( #7423 )
2020-10-21 23:39:05 +02:00
Bram Kragten
f6ff652ca4
Fix es5 build ( #7319 )
2020-10-14 22:20:39 +02:00
Paulus Schoutsen
d3ad56a307
Update compatibility and fix polyfills for ES5 ( #7298 )
2020-10-12 10:48:33 +02:00
Paulus Schoutsen
d9ba0e2c46
Upgrade to Webpack 5 ( #6200 )
2020-10-07 10:54:42 +02:00
Joakim Sørensen
96110637d9
Remove deprecated icons ( #6818 )
2020-09-16 21:38:40 +02:00
Michael Irigoyen
92d30a8896
Update Material Design Icons to v5.4.55 ( #6485 )
2020-07-29 16:19:45 +02:00
Bram Kragten
914b47f340
Bump MDI and add warning for removed and renamed icons ( #6357 )
2020-07-11 21:30:02 +02:00
Joakim Sørensen
19e32752bb
Fixes hassio build script for prod ( #6315 )
2020-07-02 17:37:08 +02:00
Paulus Schoutsen
d33f18ecb7
Use hashes for hassio entrypoints ( #6260 )
2020-06-29 09:31:07 +02:00
Paulus Schoutsen
ea410d3af1
Don't transpile object spread in latest build ( #6208 )
2020-06-22 10:25:08 -07:00
Paulus Schoutsen
c53fd0d1e1
Use Gulp to index demos ( #6203 )
2020-06-22 10:24:01 -07:00
Paulus Schoutsen
e384f76ac1
Make two builds of hassio ( #6105 )
2020-06-05 21:56:56 -07:00