From 10be4ea47188affbb5f4e4fc176a2183825cf0ef Mon Sep 17 00:00:00 2001 From: web-padawan Date: Wed, 30 Oct 2024 13:11:25 +0200 Subject: [PATCH] experiment: prepare LitElement based combo-box for publishing --- packages/combo-box/package.json | 4 +--- packages/combo-box/src/vaadin-lit-combo-box-item.js | 2 +- packages/combo-box/src/vaadin-lit-combo-box-light.js | 2 +- packages/combo-box/src/vaadin-lit-combo-box.js | 2 +- .../combo-box/theme/material/vaadin-lit-combo-box-light.js | 3 +++ packages/combo-box/theme/material/vaadin-lit-combo-box.js | 4 ++++ packages/combo-box/vaadin-lit-combo-box-light.d.ts | 1 + packages/combo-box/vaadin-lit-combo-box-light.js | 2 ++ packages/combo-box/vaadin-lit-combo-box.d.ts | 1 + packages/combo-box/vaadin-lit-combo-box.js | 2 ++ 10 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 packages/combo-box/theme/material/vaadin-lit-combo-box-light.js create mode 100644 packages/combo-box/theme/material/vaadin-lit-combo-box.js create mode 100644 packages/combo-box/vaadin-lit-combo-box-light.d.ts create mode 100644 packages/combo-box/vaadin-lit-combo-box-light.js create mode 100644 packages/combo-box/vaadin-lit-combo-box.d.ts create mode 100644 packages/combo-box/vaadin-lit-combo-box.js diff --git a/packages/combo-box/package.json b/packages/combo-box/package.json index d3cb277804..5c661b00e7 100644 --- a/packages/combo-box/package.json +++ b/packages/combo-box/package.json @@ -26,9 +26,7 @@ "vaadin-*.d.ts", "vaadin-*.js", "web-types.json", - "web-types.lit.json", - "!vaadin-lit-*.d.ts", - "!vaadin-lit-*.js" + "web-types.lit.json" ], "keywords": [ "Vaadin", diff --git a/packages/combo-box/src/vaadin-lit-combo-box-item.js b/packages/combo-box/src/vaadin-lit-combo-box-item.js index c431685c60..27f0cab012 100644 --- a/packages/combo-box/src/vaadin-lit-combo-box-item.js +++ b/packages/combo-box/src/vaadin-lit-combo-box-item.js @@ -15,7 +15,7 @@ import { ComboBoxItemMixin } from './vaadin-combo-box-item-mixin.js'; * * ## Disclaimer * - * This component is an experiment not intended for publishing to npm. + * This component is an experiment and not yet a part of Vaadin platform. * There is no ETA regarding specific Vaadin version where it'll land. * Feel free to try this code in your apps as per Apache 2.0 license. */ diff --git a/packages/combo-box/src/vaadin-lit-combo-box-light.js b/packages/combo-box/src/vaadin-lit-combo-box-light.js index 248281dfe1..ca7f44ce21 100644 --- a/packages/combo-box/src/vaadin-lit-combo-box-light.js +++ b/packages/combo-box/src/vaadin-lit-combo-box-light.js @@ -18,7 +18,7 @@ import { ComboBoxLightMixin } from './vaadin-combo-box-light-mixin.js'; * * ## Disclaimer * - * This component is an experiment not intended for publishing to npm. + * This component is an experiment and not yet a part of Vaadin platform. * There is no ETA regarding specific Vaadin version where it'll land. * Feel free to try this code in your apps as per Apache 2.0 license. */ diff --git a/packages/combo-box/src/vaadin-lit-combo-box.js b/packages/combo-box/src/vaadin-lit-combo-box.js index 91be31c4fe..b1c1baaf36 100644 --- a/packages/combo-box/src/vaadin-lit-combo-box.js +++ b/packages/combo-box/src/vaadin-lit-combo-box.js @@ -27,7 +27,7 @@ import { ComboBoxMixin } from './vaadin-combo-box-mixin.js'; * * ## Disclaimer * - * This component is an experiment not intended for publishing to npm. + * This component is an experiment and not yet a part of Vaadin platform. * There is no ETA regarding specific Vaadin version where it'll land. * Feel free to try this code in your apps as per Apache 2.0 license. */ diff --git a/packages/combo-box/theme/material/vaadin-lit-combo-box-light.js b/packages/combo-box/theme/material/vaadin-lit-combo-box-light.js new file mode 100644 index 0000000000..349b59903d --- /dev/null +++ b/packages/combo-box/theme/material/vaadin-lit-combo-box-light.js @@ -0,0 +1,3 @@ +import './vaadin-combo-box-item-styles.js'; +import './vaadin-combo-box-overlay-styles.js'; +import '../../src/vaadin-lit-combo-box-light.js'; diff --git a/packages/combo-box/theme/material/vaadin-lit-combo-box.js b/packages/combo-box/theme/material/vaadin-lit-combo-box.js new file mode 100644 index 0000000000..f470c67fd6 --- /dev/null +++ b/packages/combo-box/theme/material/vaadin-lit-combo-box.js @@ -0,0 +1,4 @@ +import './vaadin-combo-box-item-styles.js'; +import './vaadin-combo-box-overlay-styles.js'; +import './vaadin-combo-box-styles.js'; +import '../../src/vaadin-lit-combo-box.js'; diff --git a/packages/combo-box/vaadin-lit-combo-box-light.d.ts b/packages/combo-box/vaadin-lit-combo-box-light.d.ts new file mode 100644 index 0000000000..a9d7c3779e --- /dev/null +++ b/packages/combo-box/vaadin-lit-combo-box-light.d.ts @@ -0,0 +1 @@ +export * from './src/vaadin-combo-box-light.js'; diff --git a/packages/combo-box/vaadin-lit-combo-box-light.js b/packages/combo-box/vaadin-lit-combo-box-light.js new file mode 100644 index 0000000000..9fded6d113 --- /dev/null +++ b/packages/combo-box/vaadin-lit-combo-box-light.js @@ -0,0 +1,2 @@ +import './theme/lumo/vaadin-lit-combo-box-light.js'; +export * from './src/vaadin-lit-combo-box-light.js'; diff --git a/packages/combo-box/vaadin-lit-combo-box.d.ts b/packages/combo-box/vaadin-lit-combo-box.d.ts new file mode 100644 index 0000000000..99322e3af2 --- /dev/null +++ b/packages/combo-box/vaadin-lit-combo-box.d.ts @@ -0,0 +1 @@ +export * from './src/vaadin-combo-box.js'; diff --git a/packages/combo-box/vaadin-lit-combo-box.js b/packages/combo-box/vaadin-lit-combo-box.js new file mode 100644 index 0000000000..d93bd6597d --- /dev/null +++ b/packages/combo-box/vaadin-lit-combo-box.js @@ -0,0 +1,2 @@ +import './theme/lumo/vaadin-lit-combo-box.js'; +export * from './src/vaadin-lit-combo-box.js';