From 9d1fe018bef95ef75fcafcc163125e8557ca57a8 Mon Sep 17 00:00:00 2001 From: Danny Gleckler Date: Wed, 25 Sep 2024 20:21:12 -0400 Subject: [PATCH] Replace host-context --- .../list/demo/list-drag-and-drop-position.js | 4 ++- components/list/demo/list-drag-and-drop.html | 10 ++++++- components/list/list-item-content.js | 29 ++++++++++--------- components/list/list-item-generic-layout.js | 5 ---- components/list/list-item-mixin.js | 16 +++++++++- 5 files changed, 42 insertions(+), 22 deletions(-) diff --git a/components/list/demo/list-drag-and-drop-position.js b/components/list/demo/list-drag-and-drop-position.js index 6b24852ac5e..c8e23fab54c 100644 --- a/components/list/demo/list-drag-and-drop-position.js +++ b/components/list/demo/list-drag-and-drop-position.js @@ -14,7 +14,8 @@ class ListDemoDragAndDropPosition extends LitElement { // below are for demonstration only grid: { type: Boolean }, hrefs: { type: Boolean }, - selectable: { type: Boolean } + selectable: { type: Boolean }, + linear: { type: Boolean } }; } @@ -77,6 +78,7 @@ class ListDemoDragAndDropPosition extends LitElement { ${repeat(this.list, (item) => item.key, (item) => html` Add Button -

Linear Items

+

Linear Grid

+ + + + + +

Linear Nested Grid