From 63ab76fa1bc45ac2b0712b291a17299f7a1145a5 Mon Sep 17 00:00:00 2001 From: web-padawan Date: Fri, 8 Nov 2024 10:30:50 +0200 Subject: [PATCH] experiment: prepare LitElement based tabsheet for publishing --- packages/tabsheet/package.json | 3 --- packages/tabsheet/theme/lumo/vaadin-lit-tabsheet.js | 4 ++++ packages/tabsheet/theme/material/vaadin-lit-tabsheet.js | 4 ++++ packages/tabsheet/vaadin-lit-tabsheet.d.ts | 1 + packages/tabsheet/vaadin-lit-tabsheet.js | 2 ++ 5 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 packages/tabsheet/theme/lumo/vaadin-lit-tabsheet.js create mode 100644 packages/tabsheet/theme/material/vaadin-lit-tabsheet.js create mode 100644 packages/tabsheet/vaadin-lit-tabsheet.d.ts create mode 100644 packages/tabsheet/vaadin-lit-tabsheet.js diff --git a/packages/tabsheet/package.json b/packages/tabsheet/package.json index df5a5c9f45..06112d3455 100644 --- a/packages/tabsheet/package.json +++ b/packages/tabsheet/package.json @@ -21,9 +21,6 @@ "type": "module", "files": [ "src", - "!src/vaadin-lit-tabsheet-scroller.js", - "!src/vaadin-lit-tabsheet.d.ts", - "!src/vaadin-lit-tabsheet.js", "theme", "vaadin-*.d.ts", "vaadin-*.js", diff --git a/packages/tabsheet/theme/lumo/vaadin-lit-tabsheet.js b/packages/tabsheet/theme/lumo/vaadin-lit-tabsheet.js new file mode 100644 index 0000000000..f2f1513eab --- /dev/null +++ b/packages/tabsheet/theme/lumo/vaadin-lit-tabsheet.js @@ -0,0 +1,4 @@ +import '@vaadin/tabs/theme/lumo/vaadin-lit-tabs.js'; +import '@vaadin/scroller/theme/lumo/vaadin-lit-scroller.js'; +import './vaadin-tabsheet-styles.js'; +import '../../src/vaadin-lit-tabsheet.js'; diff --git a/packages/tabsheet/theme/material/vaadin-lit-tabsheet.js b/packages/tabsheet/theme/material/vaadin-lit-tabsheet.js new file mode 100644 index 0000000000..d32aed3889 --- /dev/null +++ b/packages/tabsheet/theme/material/vaadin-lit-tabsheet.js @@ -0,0 +1,4 @@ +import '@vaadin/tabs/theme/material/vaadin-lit-tabs.js'; +import '@vaadin/scroller/theme/material/vaadin-lit-scroller.js'; +import './vaadin-tabsheet-styles.js'; +import '../../src/vaadin-lit-tabsheet.js'; diff --git a/packages/tabsheet/vaadin-lit-tabsheet.d.ts b/packages/tabsheet/vaadin-lit-tabsheet.d.ts new file mode 100644 index 0000000000..5bb3881a4c --- /dev/null +++ b/packages/tabsheet/vaadin-lit-tabsheet.d.ts @@ -0,0 +1 @@ +export * from './src/vaadin-tabsheet.js'; diff --git a/packages/tabsheet/vaadin-lit-tabsheet.js b/packages/tabsheet/vaadin-lit-tabsheet.js new file mode 100644 index 0000000000..95f549cd9e --- /dev/null +++ b/packages/tabsheet/vaadin-lit-tabsheet.js @@ -0,0 +1,2 @@ +import './theme/lumo/vaadin-lit-tabsheet.js'; +export * from './src/vaadin-lit-tabsheet.js';