From e028ae45c9766e53b2e3bf2914876e4bcba4931d Mon Sep 17 00:00:00 2001
From: Elliott Marquez <5981958+e111077@users.noreply.github.com>
Date: Fri, 22 Nov 2024 13:22:17 -0800
Subject: [PATCH] [article] Create a lit cheat sheet
---
.../lit-cheat-sheet/add-styles/index.html | 3 +
.../lit-cheat-sheet/add-styles/my-element.ts | 18 +
.../lit-cheat-sheet/add-styles/project.json | 8 +
.../lit-cheat-sheet/bind-tag-name/index.html | 3 +
.../bind-tag-name/input-or-textfield.ts | 35 +
.../bind-tag-name/my-element.ts | 50 +
.../bind-tag-name/project.json | 9 +
.../lit-cheat-sheet/classes/index.html | 3 +
.../lit-cheat-sheet/classes/my-element.ts | 29 +
.../lit-cheat-sheet/classes/project.json | 8 +
.../lit-cheat-sheet/conditionals/index.html | 3 +
.../conditionals/my-element.ts | 26 +
.../lit-cheat-sheet/conditionals/project.json | 8 +
.../constructable-stylesheets/index.html | 3 +
.../constructable-stylesheets/my-element.ts | 20 +
.../constructable-stylesheets/project.json | 9 +
.../trusted-stringified-css-source.ts | 11 +
.../css-shadow-parts/index.html | 24 +
.../css-shadow-parts/my-element.ts | 18 +
.../css-shadow-parts/project.json | 8 +
.../custom-attribute-converter/index.html | 3 +
.../custom-attribute-converter/my-element.ts | 33 +
.../custom-attribute-converter/project.json | 8 +
.../lit-cheat-sheet/data-up/game-player.ts | 18 +
.../lit-cheat-sheet/data-up/index.html | 3 +
.../lit-cheat-sheet/data-up/project.json | 9 +
.../lit-cheat-sheet/data-up/score-board.ts | 20 +
.../lit-cheat-sheet/define/hello-world.ts | 9 +
.../lit-cheat-sheet/define/index.html | 3 +
.../lit-cheat-sheet/define/project.json | 8 +
.../lit-cheat-sheet/dom-qae/index.html | 5 +
.../dom-qae/my-pretty-input.ts | 85 ++
.../lit-cheat-sheet/dom-qae/project.json | 8 +
.../dom-query-async/index.html | 3 +
.../dom-query-async/my-element.ts | 68 ++
.../dom-query-async/project.json | 8 +
.../lit-cheat-sheet/dom-query/index.html | 3 +
.../lit-cheat-sheet/dom-query/my-element.ts | 53 +
.../lit-cheat-sheet/dom-query/project.json | 8 +
.../lit-cheat-sheet/dom-ref/index.html | 3 +
.../lit-cheat-sheet/dom-ref/my-element.ts | 56 +
.../lit-cheat-sheet/dom-ref/project.json | 8 +
.../event-listeners/index.html | 3 +
.../event-listeners/my-element.ts | 24 +
.../event-listeners/project.json | 8 +
.../export-part/another-element.ts | 12 +
.../lit-cheat-sheet/export-part/index.html | 12 +
.../lit-cheat-sheet/export-part/my-element.ts | 10 +
.../lit-cheat-sheet/export-part/project.json | 9 +
.../lit-cheat-sheet/expressions/index.html | 3 +
.../lit-cheat-sheet/expressions/my-element.ts | 62 +
.../lit-cheat-sheet/expressions/project.json | 8 +
.../host-global-listeners/index.html | 3 +
.../host-global-listeners/my-element.ts | 55 +
.../host-global-listeners/project.json | 8 +
.../import-attributes/index.html | 3 +
.../import-attributes/my-element.js | 16 +
.../import-attributes/project.json | 9 +
.../import-attributes/styles.css | 3 +
.../import/another-component.ts | 9 +
.../lit-cheat-sheet/import/hello-world.ts | 10 +
.../lit-cheat-sheet/import/index.html | 3 +
.../lit-cheat-sheet/import/project.json | 9 +
.../inheriting-custom-props/index.html | 21 +
.../inheriting-custom-props/my-element.ts | 17 +
.../inheriting-custom-props/project.json | 8 +
.../lit-cheat-sheet/pass-data-down/id-card.ts | 20 +
.../lit-cheat-sheet/pass-data-down/index.html | 3 +
.../pass-data-down/my-wallet.ts | 12 +
.../pass-data-down/project.json | 9 +
.../reactive-properties/id-card.ts | 30 +
.../reactive-properties/index.html | 3 +
.../reactive-properties/my-wallet.ts | 19 +
.../reactive-properties/project.json | 9 +
.../lit-cheat-sheet/reactive-state/index.html | 3 +
.../reactive-state/my-element.ts | 66 ++
.../reactive-state/project.json | 8 +
.../lit-cheat-sheet/render-lists/index.html | 3 +
.../render-lists/my-element.ts | 25 +
.../lit-cheat-sheet/render-lists/project.json | 8 +
.../lit-cheat-sheet/repeat/index.html | 3 +
.../lit-cheat-sheet/repeat/my-element.ts | 38 +
.../lit-cheat-sheet/repeat/project.json | 8 +
.../rerender-array-change/index.html | 3 +
.../rerender-array-change/my-element.ts | 43 +
.../rerender-array-change/project.json | 8 +
.../lit-cheat-sheet/scope-styles/index.html | 4 +
.../scope-styles/my-element.ts | 15 +
.../lit-cheat-sheet/scope-styles/project.json | 8 +
.../shadow-root-options/index.html | 3 +
.../shadow-root-options/my-element.ts | 28 +
.../shadow-root-options/project.json | 8 +
.../shadow-slotting/index.html | 14 +
.../shadow-slotting/my-card.ts | 66 ++
.../shadow-slotting/project.json | 8 +
.../share-styles-import/another-element.ts | 14 +
.../share-styles-import/index.html | 5 +
.../share-styles-import/my-element.ts | 19 +
.../share-styles-import/project.json | 11 +
.../share-styles-import/shared-styles.ts | 17 +
.../lit-cheat-sheet/signal-watcher/index.html | 3 +
.../signal-watcher/my-element.ts | 21 +
.../signal-watcher/project.json | 8 +
.../signals-computed/index.html | 3 +
.../signals-computed/my-element.ts | 27 +
.../signals-computed/project.json | 8 +
.../lit-cheat-sheet/signals-effect/index.html | 3 +
.../signals-effect/my-element.ts | 40 +
.../signals-effect/project.json | 8 +
.../signals-html-tag/index.html | 3 +
.../signals-html-tag/my-element.ts | 26 +
.../signals-html-tag/project.json | 8 +
.../signals-share/game-player.ts | 23 +
.../signals-share/game-state.ts | 4 +
.../lit-cheat-sheet/signals-share/index.html | 3 +
.../signals-share/project.json | 10 +
.../signals-share/score-board.ts | 18 +
.../signals-watch-directive/index.html | 3 +
.../signals-watch-directive/my-element.ts | 22 +
.../signals-watch-directive/project.json | 8 +
.../styling-slotted/index.html | 20 +
.../styling-slotted/my-element.ts | 17 +
.../styling-slotted/project.json | 8 +
.../articles/lit-cheat-sheet/task/index.html | 4 +
.../articles/lit-cheat-sheet/task/poke-dex.ts | 73 ++
.../lit-cheat-sheet/task/poke-types.ts | 10 +
.../lit-cheat-sheet/task/project.json | 9 +
.../turn-off-shadow-dom/index.html | 7 +
.../turn-off-shadow-dom/my-element.ts | 16 +
.../turn-off-shadow-dom/project.json | 8 +
.../lit-cheat-sheet/unsafe-html/index.html | 3 +
.../lit-cheat-sheet/unsafe-html/my-element.ts | 16 +
.../lit-cheat-sheet/unsafe-html/project.json | 9 +
.../unsafe-html/trusted-rendering-library.ts | 16 +
.../lit-cheat-sheet/unsafe-static/index.html | 3 +
.../unsafe-static/my-button.ts | 49 +
.../unsafe-static/project.json | 9 +
.../trusted-rendering-library.ts | 59 +
.../update-complete/index.html | 3 +
.../update-complete/my-element.ts | 34 +
.../update-complete/project.json | 8 +
.../lit-cheat-sheet/virtualizer/index.html | 3 +
.../lit-cheat-sheet/virtualizer/my-element.ts | 23 +
.../lit-cheat-sheet/virtualizer/project.json | 8 +
.../context-consume-provide/project.json | 3 +-
.../site/_includes/articles.html | 1 +
.../site/articles/article/lit-cheat-sheet.md | 1041 +++++++++++++++++
.../lit-dev-content/site/css/articles.css | 7 +
packages/lit-dev-content/site/css/docs.css | 4 +-
.../site/docs/v3/templates/expressions.md | 4 +-
.../site/images/articles/lit_cheat_sheet.jpg | Bin 0 -> 12249 bytes
.../images/articles/lit_cheat_sheet_2x.jpg | Bin 0 -> 21484 bytes
.../src/components/litdev-example.ts | 69 +-
packages/lit-dev-server/src/server.ts | 10 +
.../learnCatalog-dark-darwin.png | Bin 299498 -> 283028 bytes
.../learnCatalog-darwin.png | Bin 287706 -> 269877 bytes
.../src/playground-plugin/plugin.ts | 46 +-
157 files changed, 3399 insertions(+), 34 deletions(-)
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/add-styles/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/add-styles/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/add-styles/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/bind-tag-name/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/bind-tag-name/input-or-textfield.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/bind-tag-name/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/bind-tag-name/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/classes/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/classes/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/classes/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/conditionals/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/conditionals/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/conditionals/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/constructable-stylesheets/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/constructable-stylesheets/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/constructable-stylesheets/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/constructable-stylesheets/trusted-stringified-css-source.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/css-shadow-parts/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/css-shadow-parts/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/css-shadow-parts/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/custom-attribute-converter/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/custom-attribute-converter/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/custom-attribute-converter/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/data-up/game-player.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/data-up/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/data-up/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/data-up/score-board.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/define/hello-world.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/define/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/define/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-qae/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-qae/my-pretty-input.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-qae/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-query-async/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-query-async/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-query-async/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-query/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-query/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-query/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-ref/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-ref/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/dom-ref/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/event-listeners/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/event-listeners/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/event-listeners/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/export-part/another-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/export-part/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/export-part/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/export-part/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/expressions/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/expressions/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/expressions/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/host-global-listeners/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/host-global-listeners/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/host-global-listeners/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/import-attributes/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/import-attributes/my-element.js
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/import-attributes/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/import-attributes/styles.css
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/import/another-component.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/import/hello-world.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/import/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/import/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/inheriting-custom-props/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/inheriting-custom-props/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/inheriting-custom-props/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/pass-data-down/id-card.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/pass-data-down/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/pass-data-down/my-wallet.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/pass-data-down/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/reactive-properties/id-card.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/reactive-properties/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/reactive-properties/my-wallet.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/reactive-properties/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/reactive-state/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/reactive-state/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/reactive-state/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/render-lists/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/render-lists/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/render-lists/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/repeat/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/repeat/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/repeat/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/rerender-array-change/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/rerender-array-change/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/rerender-array-change/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/scope-styles/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/scope-styles/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/scope-styles/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/shadow-root-options/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/shadow-root-options/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/shadow-root-options/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/shadow-slotting/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/shadow-slotting/my-card.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/shadow-slotting/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/share-styles-import/another-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/share-styles-import/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/share-styles-import/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/share-styles-import/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/share-styles-import/shared-styles.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signal-watcher/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signal-watcher/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signal-watcher/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-computed/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-computed/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-computed/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-effect/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-effect/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-effect/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-html-tag/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-html-tag/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-html-tag/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-share/game-player.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-share/game-state.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-share/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-share/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-share/score-board.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-watch-directive/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-watch-directive/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-watch-directive/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/styling-slotted/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/styling-slotted/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/styling-slotted/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/task/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/task/poke-dex.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/task/poke-types.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/task/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/turn-off-shadow-dom/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/turn-off-shadow-dom/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/turn-off-shadow-dom/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-html/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-html/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-html/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-html/trusted-rendering-library.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-static/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-static/my-button.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-static/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-static/trusted-rendering-library.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/update-complete/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/update-complete/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/update-complete/project.json
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/virtualizer/index.html
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/virtualizer/my-element.ts
create mode 100644 packages/lit-dev-content/samples/articles/lit-cheat-sheet/virtualizer/project.json
create mode 100644 packages/lit-dev-content/site/articles/article/lit-cheat-sheet.md
create mode 100644 packages/lit-dev-content/site/images/articles/lit_cheat_sheet.jpg
create mode 100644 packages/lit-dev-content/site/images/articles/lit_cheat_sheet_2x.jpg
diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/add-styles/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/add-styles/index.html
new file mode 100644
index 000000000..57a0c9aca
--- /dev/null
+++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/add-styles/index.html
@@ -0,0 +1,3 @@
+
+
+
I'm blue
Hello!
`; + } + + static styles = css` + .red { + color: red; + } + .blue { + color: blue; + } + `; +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/classes/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/classes/project.json new file mode 100644 index 000000000..816404c3d --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/classes/project.json @@ -0,0 +1,8 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-element.ts": {}, + "index.html": {} + }, + "previewHeight": "100px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/conditionals/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/conditionals/index.html new file mode 100644 index 000000000..57a0c9aca --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/conditionals/index.html @@ -0,0 +1,3 @@ + + +Some text
`; + + if (this.someBoolean) { + someText = html`Some other text
`; + } + + return html` + +Some other text
` : html`Some text
`} +This is in a shadow root!
`; + } +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/css-shadow-parts/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/css-shadow-parts/project.json new file mode 100644 index 000000000..875a71aaf --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/css-shadow-parts/project.json @@ -0,0 +1,8 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-element.ts": {}, + "index.html": {} + }, + "previewHeight": "120px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/custom-attribute-converter/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/custom-attribute-converter/index.html new file mode 100644 index 000000000..d0fdb30d1 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/custom-attribute-converter/index.html @@ -0,0 +1,3 @@ + + +Hello, world!
`; + } +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/define/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/define/index.html new file mode 100644 index 000000000..c53974764 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/define/index.html @@ -0,0 +1,3 @@ + + +${this.htmlText}+
Something in this component was focused
` : ''} + ${this.clickedOutside ? html`Something was clicked OUTSIDE this component
` : ''} + `; + } + + connectedCallback(): void { + super.connectedCallback(); + + // Only want to do this in the browser since the server doesn't have the + // concept of events or document. + if (!isServer) { + document.addEventListener('click', this.onDocumentClick); + this.addEventListener('focusin', this.onFocusin); + this.addEventListener('focusout', this.onFocusout); + } + } + + disconnectedCallback() { + super.disconnectedCallback(); + + if (!isServer) { + // clean up to prevent memory leaks + document.removeEventListener('click', this.onDocumentClick); + // Garbage should also take care of removing these, but it's good practice + this.removeEventListener('focusin', this.onFocusin); + this.removeEventListener('focusout', this.onFocusout); + } + } + + // Should be an arrow function and not a class method to ensure `this` is + // bound correctly. + private onFocusin = () => { + this.focusedWithin = true; + }; + + private onFocusout = () => { + this.focusedWithin = false; + }; + + private onDocumentClick = (e: MouseEvent) => { + const path = e.composedPath(); + this.clickedOutside = !path.includes(this); + }; +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/host-global-listeners/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/host-global-listeners/project.json new file mode 100644 index 000000000..875a71aaf --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/host-global-listeners/project.json @@ -0,0 +1,8 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-element.ts": {}, + "index.html": {} + }, + "previewHeight": "120px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/import-attributes/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/import-attributes/index.html new file mode 100644 index 000000000..57a0c9aca --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/import-attributes/index.html @@ -0,0 +1,3 @@ + + +This is in a shadow root!
`; + } +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/inheriting-custom-props/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/inheriting-custom-props/project.json new file mode 100644 index 000000000..875a71aaf --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/inheriting-custom-props/project.json @@ -0,0 +1,8 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-element.ts": {}, + "index.html": {} + }, + "previewHeight": "120px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/pass-data-down/id-card.ts b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/pass-data-down/id-card.ts new file mode 100644 index 000000000..b7a427e95 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/pass-data-down/id-card.ts @@ -0,0 +1,20 @@ +import { html, LitElement } from 'lit'; +import { customElement, property } from 'lit/decorators.js'; + +@customElement('id-card') +export class IdCard extends LitElement { + @property() name = ''; + @property({ type: Number }) age = 0; + @property({ type: Boolean }) programmer = false; + + render() { + return html` +Age: ${this.age}
+ + `; + } +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/pass-data-down/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/pass-data-down/index.html new file mode 100644 index 000000000..d5f0f24d5 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/pass-data-down/index.html @@ -0,0 +1,3 @@ + + +Age: ${this.age}
+ + + `; + } +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/reactive-properties/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/reactive-properties/index.html new file mode 100644 index 000000000..d5f0f24d5 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/reactive-properties/index.html @@ -0,0 +1,3 @@ + + +A list of names that include the letter "e" (rendering an Array)
+My unique fruits (rendering a Set)
+Things to do today:
+ + +I'm also a p, but I'm not blue.
\ No newline at end of file diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/scope-styles/my-element.ts b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/scope-styles/my-element.ts new file mode 100644 index 000000000..65dae1c97 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/scope-styles/my-element.ts @@ -0,0 +1,15 @@ +import { html, LitElement, css } from 'lit'; +import { customElement } from 'lit/decorators.js'; + +@customElement('my-element') +export class MyElement extends LitElement { + render() { + return html`I'm blue
`; + } + + static styles = css` + p { + color: blue; + } + `; +} \ No newline at end of file diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/scope-styles/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/scope-styles/project.json new file mode 100644 index 000000000..816404c3d --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/scope-styles/project.json @@ -0,0 +1,8 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-element.ts": {}, + "index.html": {} + }, + "previewHeight": "100px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/shadow-root-options/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/shadow-root-options/index.html new file mode 100644 index 000000000..57a0c9aca --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/shadow-root-options/index.html @@ -0,0 +1,3 @@ + + +
+ Calling focus on this element will focus the first focusable element in
+ its shadow root thanks to delegatesFocus: true
. Just try
+ clicking on this text and see how the input is focused instead.
+
+ Lorem, ipsum dolor sit amet consectetur adipisicing elit. Minus soluta atque + blanditiis maxime ex veritatis accusantium, ea sequi deleniti expedita + recusandae totam obcaecati ipsum dicta cum et. Consequuntur, autem + consectetur. +
+<code>
element shares styles with the <my-element>
element.
+ `;
+ }
+}
\ No newline at end of file
diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/share-styles-import/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/share-styles-import/index.html
new file mode 100644
index 000000000..239e0f7ef
--- /dev/null
+++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/share-styles-import/index.html
@@ -0,0 +1,5 @@
+
+
+
+<code>
element shares styles with the <another-element>
element.
+ I am overriding the <code>
element in this <p>
tag.
The count is ${count.get()}
+ + `; + } + + #onClick() { + count.set(count.get() + 1); + } +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signal-watcher/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signal-watcher/project.json new file mode 100644 index 000000000..b9827ff53 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signal-watcher/project.json @@ -0,0 +1,8 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-element.ts": {}, + "index.html": {} + }, + "previewHeight": "90px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-computed/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-computed/index.html new file mode 100644 index 000000000..57a0c9aca --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-computed/index.html @@ -0,0 +1,3 @@ + + ++ The count is ${watch(count)}. Double the count is + ${watch(this.#doubleCount)} +
+ + `; + } + + #onClick() { + count.set(count.get() + 1); + } +} + diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-computed/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-computed/project.json new file mode 100644 index 000000000..b9827ff53 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-computed/project.json @@ -0,0 +1,8 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-element.ts": {}, + "index.html": {} + }, + "previewHeight": "90px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-effect/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-effect/index.html new file mode 100644 index 000000000..57a0c9aca --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-effect/index.html @@ -0,0 +1,3 @@ + + ++ The count is: ${count.get()} + +
++ Try changing this reactive property: ${this.reactiveProp} + +
+ `; + } + + #onClick() { + count.set(count.get() + 1); + } +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-effect/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-effect/project.json new file mode 100644 index 000000000..b9827ff53 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-effect/project.json @@ -0,0 +1,8 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-element.ts": {}, + "index.html": {} + }, + "previewHeight": "90px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-html-tag/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-html-tag/index.html new file mode 100644 index 000000000..57a0c9aca --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-html-tag/index.html @@ -0,0 +1,3 @@ + + +The count is ${count}
+ + `; + } + + #onClick() { + count.set(count.get() + 1); + } +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-html-tag/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-html-tag/project.json new file mode 100644 index 000000000..b9827ff53 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-html-tag/project.json @@ -0,0 +1,8 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-element.ts": {}, + "index.html": {} + }, + "previewHeight": "90px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-share/game-player.ts b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-share/game-player.ts new file mode 100644 index 000000000..25d76e11e --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-share/game-player.ts @@ -0,0 +1,23 @@ +import { html, LitElement } from 'lit'; +import { customElement, property } from 'lit/decorators.js'; +import { playerOneScore, playerTwoScore } from './game-state.js'; + +export type ScoreEvent = CustomEventThe count is ${watch(count)}
+ + `; + } + + #onClick() { + count.set(count.get() + 1); + } +} + diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-watch-directive/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-watch-directive/project.json new file mode 100644 index 000000000..b9827ff53 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/signals-watch-directive/project.json @@ -0,0 +1,8 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-element.ts": {}, + "index.html": {} + }, + "previewHeight": "90px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/styling-slotted/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/styling-slotted/index.html new file mode 100644 index 000000000..758ab401d --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/styling-slotted/index.html @@ -0,0 +1,20 @@ + + + +::slotted(*)
.
+
+ ::slotted(*)
. Therefore my-element
should
+ style known CSS custom properties which should be applied in the light DOM.
+ Enter a pokemon ID and click "Fetch"
`, + pending: () => html`Loading ID ${this.pokemonId}...
`, + complete: (pokemon) => html` +Height: ${pokemon.height}
+Weight: ${pokemon.weight}
+Types: ${pokemon.types.map(({type}) => type.name).join(', ')}
+ + `, + error: (error) => html`Error fetching ID ${this.pokemonId}: ${error}
`, + }) + } + `; + } + + #updateId() { + /* playground-fold */ + this.pokemonId = Number(this.input.value); + } + + #renderControls() { + return html` +This is not rendered in a shadow root
+Styles from index.html
will leak in and static styles
do not apply
Hello static!
+ ${unsafeStatic(tag)}>` + } + + + `; + } + + /* playground-fold */ + #toggleActive(e: InputEvent) { + this.active = (e.target as HTMLInputElement).checked + } + + + constructor() { + super(); + (MyButton.styles as any).replaceSync(getPluginStyles()); + } + /* playground-fold-end */ + + static styles = new CSSStyleSheet(); +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-static/project.json b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-static/project.json new file mode 100644 index 000000000..08695bb70 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-static/project.json @@ -0,0 +1,9 @@ +{ + "extends": "/samples/v3-base.json", + "files": { + "my-button.ts": {}, + "trusted-rendering-library.ts": {}, + "index.html": {} + }, + "previewHeight": "150px" +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-static/trusted-rendering-library.ts b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-static/trusted-rendering-library.ts new file mode 100644 index 000000000..b27503d69 --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/unsafe-static/trusted-rendering-library.ts @@ -0,0 +1,59 @@ +export function getTagName() { + return 'div'; +} + +export function getActiveAttribute() { + return 'fancy-button--active'; +} + +export function getClasses() { + return 'fancy-button'; +} + +export function getPluginStyles() { + return ` + .fancy-button { + position: relative; + display: inline-flex; + background-color: lightblue; + border: 1px solid blue; + border-radius: 4px; + padding: 8px; + cursor: pointer; + outline: none; + justify-content: center; + align-items: center; + } + + .fancy-button:hover { + background-color: lightgreen; + } + + .fancy-button::before { + position: absolute; + inset: -5px; + } + + .fancy-button:focus::before { + content: ''; + border: 2px solid green; + } + + .fancy-button:focus { + background-color: green; + } + + .fancy-button:active { + background-color: lightcoral; + } + + .fancy-button[fancy-button--active]::before { + content: ''; + border: 2px solid lightcoral; + } + + .fancy-button > * { + margin: 0; + } +`; +} diff --git a/packages/lit-dev-content/samples/articles/lit-cheat-sheet/update-complete/index.html b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/update-complete/index.html new file mode 100644 index 000000000..57a0c9aca --- /dev/null +++ b/packages/lit-dev-content/samples/articles/lit-cheat-sheet/update-complete/index.html @@ -0,0 +1,3 @@ + + +${this.sizeInfo}
+@customElement
customElements.define
@customElement
customElements.define
@property
decoratorstatic properties = { propertyName: {...}}
code block and initializing them in the constructor()
@state
decoratorstatic properties = { propertyName: {state: true, ...}}
code block and setting the state: true
flag in the property's info. You can initialize them in the constructor()
@property()
instead of
+@state()
static properties = {propName: {state: false}}
@queryAssignedElements
decoratorHTMLSlotElement.assignedElements()
method${this.caption}
@@ -595,6 +596,7 @@ class MyButton extends LitElement { // These strings MUST be trusted, otherwise this is an XSS vulnerability const tag = getTagName(); const activeAttribute = getActiveAttribute(); + // html should be imported from `lit/static-html.js` return html` <${unsafeStatic(tag)} ${unsafeStatic(activeAttribute)}=${this.active}>${this.caption}
diff --git a/packages/lit-dev-content/site/images/articles/lit_cheat_sheet.jpg b/packages/lit-dev-content/site/images/articles/lit_cheat_sheet.jpg new file mode 100644 index 0000000000000000000000000000000000000000..432687ec13cd1f33401027cba900a4e1f89a9497 GIT binary patch literal 12249 zcmc(F2{;s7+we$58>*+Y4P$9%3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E_ z^(5xjBhr^=V~yQA(ox<+t^2+~;Rw5IAsy*+U>(~z@CN&w-posd )0){Wn9M}q(_y6hFX#VM|I+g3f vbt^`7Kmrs~@8(g%JrjN?`0(Oo)uO0T--GiblDps|0%4$cR5xe8P4NE$(?2*| literal 0 HcmV?d00001 diff --git a/packages/lit-dev-content/site/images/articles/lit_cheat_sheet_2x.jpg b/packages/lit-dev-content/site/images/articles/lit_cheat_sheet_2x.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e8d88d89d8cb1a532a77b69f745744de23d4951a GIT binary patch literal 21484 zcmeIac{tT=_b9%}kSL-QnKKnKhHXyDl%e5aM`7D!w%O*H%w!0u$j~4>61zfWYM@OS z%9M=JM&@~*&ibh5dEf8(z3=(H*YBL`I{%!m>v`Ir&*#3^z3w%yb+5Z l5BiE-)H}Qd0GH!QvdO-FYmnZS0(t`KHUO`FQNCl=+NL>PhIioVK>L z)AA))U-Z?#g!6U4p{@8-Rd|%V6##&fwL6x_+sV<{O~G54ZwIad{6=1j^YQEqad%MW zJB2LBgV8hOIgKY+^Po>iis2+Aq k8|-LIPNTNg%h`Sw05#~c6WoZl7Ei{Lh0%KJ^WvSb#nT9w43`G zPr&H+-u~riw@W@Q*5Vhe-S8d+ob?$`Sn=pzh`G66u>J>W{)6c-{O`%`cGv#RT;$7t zA%L~F-M<-%eEBa!U2O60csE=8zaj14pZ}iZqHvmEjdjNpF5&Txe~FLbUr>0Atu1+k z5otLAl5|3X=Oj*E#_F1kwX~$vF&<$}Jl@99n&-4F0q Si;R(Kr1_?xN >NZnzW3Bm87J+EY|wh-T@l}f*sfZtm8jJMX<6$u(FiG;iTlG#H?^u zQeral(twquv;^R1i3NDFR#rG!J|09+5HNre7SS?gKFQxNF^IrAdi;7RCnW)Y#3hmc z|NegYzxn=;&wn`E0V$>Uco0!jIE{D26E1=c1Lne7JMRqbysaHE8g@V#w_iv|$-+AS z_;&f9z5y @)6@ZgQ%*KxTDrnicfk68FHbfV#U4Q>_wBy;)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AG`TaXmDej Z`#@o{LzZ3L2v82CeMVp7sk+7W{{d(&h;IM@ literal 0 HcmV?d00001 diff --git a/packages/lit-dev-content/src/components/litdev-example.ts b/packages/lit-dev-content/src/components/litdev-example.ts index 705d58556..6dbc2d222 100644 --- a/packages/lit-dev-content/src/components/litdev-example.ts +++ b/packages/lit-dev-content/src/components/litdev-example.ts @@ -5,7 +5,7 @@ */ import {LitElement, html, css, nothing} from 'lit'; -import {property} from 'lit/decorators.js'; +import {property, state} from 'lit/decorators.js'; import {styleMap} from 'lit/directives/style-map.js'; import {ifDefined} from 'lit/directives/if-defined.js'; import { @@ -110,6 +110,23 @@ export class LitDevExample extends LitElement { @property() project?: string; + /** + * Whether to load the project on intersection with the viewport. + */ + @property({type: Boolean}) + lazy = false; + + /** + * Whether or not to load the project. Setting Lazy to true will re-initialize + * this value to `false`. We would want to do this so that we do not load the + * large TS worker file until the user has scrolled to the example. This is + * something we would want to do if we want to have the server cache the + * worker. Otherwise every example on the page would load the worker at the + * same time and none of them would be cached. + */ + @state() + private loadProject = true; + /** * Name of file in project to display. * If no file is provided, we show the tab-bar with all project files. @@ -143,6 +160,12 @@ export class LitDevExample extends LitElement { this.requestUpdate(); }; + willUpdate() { + if (!this.hasUpdated) { + this.loadProject = !this.lazy; + } + } + render() { if (!this.project) { return nothing; @@ -162,17 +185,23 @@ export class LitDevExample extends LitElement { mode === 'ts' ? this.filename : this.filename?.replace(/.ts$/, '.js'); return html` - - + ${this.loadProject + ? // We need to conditionally render this because playground-project + // will load its serviceworker on firstUpdated + html`+ ` + : nothing}${showTabBar ? html`` : nothing} @@ -184,15 +213,35 @@ export class LitDevExample extends LitElement { - + `; } + + firstUpdated() { + if (this.lazy) { + const io = new IntersectionObserver( + (entries) => { + if (entries[0].isIntersecting) { + this.loadProject = true; + io.disconnect(); + } + }, + { + rootMargin: '40px', + } + ); + + io.observe(this); + } + } } customElements.define('litdev-example', LitDevExample); diff --git a/packages/lit-dev-server/src/server.ts b/packages/lit-dev-server/src/server.ts index c3b71cf67..23da80b89 100644 --- a/packages/lit-dev-server/src/server.ts +++ b/packages/lit-dev-server/src/server.ts @@ -92,6 +92,16 @@ app.use( if (path.includes('/fonts/')) { res.setHeader('Cache-Control', 'max-age=31536000'); } + if (path.includes('/playground-typescript-worker.js')) { + // This is a huge file, so we want to cache the request for 2 minutes + // which should basically handle a page with multiple playgrounds. + // Then after those two minutes, it will use the same cached file for a + // day while it revalidates the cache in the background. + res.setHeader( + 'Cache-Control', + 'max-age=120, stale-while-revalidate=86400' + ); + } }, }) ); diff --git a/packages/lit-dev-tests/src/playwright/learn.spec.js-snapshots/learnCatalog-dark-darwin.png b/packages/lit-dev-tests/src/playwright/learn.spec.js-snapshots/learnCatalog-dark-darwin.png index 90cd3065cbb11c45a2ad9cbf550e40a01ca9ddb9..92f4d767b51a83f0795c8c791d57a4fd64544a9e 100644 GIT binary patch literal 283028 zcmce;Wk8f&+cr9YbPGs>h(U*RBOn+IDM+V+baxC5iiCn7ARyf(-3<$M;GKa`-q@I4~Ft|M@c+6&MWD2L`((h=l 7A6t=d$uUj>mLmHsB)Bq2n1G&i6#-zkX 35C8q5dmHyDU?jx<{&BjE=kxyGZxbSnjnVX9 zZzGd<3(era-X>KcRrOX=U|`@^F%Rebg#W%;QdL@U7zZ0$8!l&^&+zcDhCtwdy+2c? zup`Veu+hxSti&4U-`7H{{M%_9_H}{tzaIR=CO(S)4kxJb-xo#OU2NDI85 d)tw zwmbDFM$27aTyL&Ul(n^~kq=cwOw%(n<4de%(xn0$L+`M+q&^Kb>Sy`il{U`}D6Ahq z{EX;7shc7upW_?tG2=F+R!rMRk{7!mclvG5mGTp$hga}go8SU70SwYX^G9R)ohv;F z#xv;zHmAD_RqL4vN?KYU#`F=inG=Th#LbOqHz=DVuJ c zui9Onw-$%q1UUp>lEWBBdl<}}t}aeGr>hu1lOKarA>O4x2p zNkPd{NNjme@<>TpnRw(?dfe)4$U)FmI+^xZ14WSULC_7}krSC<)y1-gKydcR;m#a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