From a5e9f12b7eea64eea551d016c066c7657e9eb33c Mon Sep 17 00:00:00 2001 From: web-padawan Date: Wed, 30 Oct 2024 16:07:02 +0200 Subject: [PATCH] experiment: prepare LitElement based radio-group for publishing --- packages/radio-group/package.json | 4 ---- packages/radio-group/theme/lumo/vaadin-lit-radio-button.js | 2 ++ packages/radio-group/theme/lumo/vaadin-lit-radio-group.js | 3 +++ .../radio-group/theme/material/vaadin-lit-radio-button.js | 2 ++ packages/radio-group/theme/material/vaadin-lit-radio-group.js | 3 +++ packages/radio-group/vaadin-lit-radio-button.d.ts | 1 + packages/radio-group/vaadin-lit-radio-button.js | 2 ++ packages/radio-group/vaadin-lit-radio-group.d.ts | 1 + packages/radio-group/vaadin-lit-radio-group.js | 2 ++ 9 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 packages/radio-group/theme/lumo/vaadin-lit-radio-button.js create mode 100644 packages/radio-group/theme/lumo/vaadin-lit-radio-group.js create mode 100644 packages/radio-group/theme/material/vaadin-lit-radio-button.js create mode 100644 packages/radio-group/theme/material/vaadin-lit-radio-group.js create mode 100644 packages/radio-group/vaadin-lit-radio-button.d.ts create mode 100644 packages/radio-group/vaadin-lit-radio-button.js create mode 100644 packages/radio-group/vaadin-lit-radio-group.d.ts create mode 100644 packages/radio-group/vaadin-lit-radio-group.js diff --git a/packages/radio-group/package.json b/packages/radio-group/package.json index 20cecab9ba..9ecac7d73f 100644 --- a/packages/radio-group/package.json +++ b/packages/radio-group/package.json @@ -21,10 +21,6 @@ "type": "module", "files": [ "src", - "!src/vaadin-lit-radio-button.d.ts", - "!src/vaadin-lit-radio-button.js", - "!src/vaadin-lit-radio-group.d.ts", - "!src/vaadin-lit-radio-group.js", "theme", "vaadin-*.d.ts", "vaadin-*.js", diff --git a/packages/radio-group/theme/lumo/vaadin-lit-radio-button.js b/packages/radio-group/theme/lumo/vaadin-lit-radio-button.js new file mode 100644 index 0000000000..7a4fedf4b1 --- /dev/null +++ b/packages/radio-group/theme/lumo/vaadin-lit-radio-button.js @@ -0,0 +1,2 @@ +import './vaadin-radio-button-styles.js'; +import '../../src/vaadin-lit-radio-button.js'; diff --git a/packages/radio-group/theme/lumo/vaadin-lit-radio-group.js b/packages/radio-group/theme/lumo/vaadin-lit-radio-group.js new file mode 100644 index 0000000000..fe8164ebeb --- /dev/null +++ b/packages/radio-group/theme/lumo/vaadin-lit-radio-group.js @@ -0,0 +1,3 @@ +import './vaadin-lit-radio-button.js'; +import './vaadin-radio-group-styles.js'; +import '../../src/vaadin-lit-radio-group.js'; diff --git a/packages/radio-group/theme/material/vaadin-lit-radio-button.js b/packages/radio-group/theme/material/vaadin-lit-radio-button.js new file mode 100644 index 0000000000..7a4fedf4b1 --- /dev/null +++ b/packages/radio-group/theme/material/vaadin-lit-radio-button.js @@ -0,0 +1,2 @@ +import './vaadin-radio-button-styles.js'; +import '../../src/vaadin-lit-radio-button.js'; diff --git a/packages/radio-group/theme/material/vaadin-lit-radio-group.js b/packages/radio-group/theme/material/vaadin-lit-radio-group.js new file mode 100644 index 0000000000..fe8164ebeb --- /dev/null +++ b/packages/radio-group/theme/material/vaadin-lit-radio-group.js @@ -0,0 +1,3 @@ +import './vaadin-lit-radio-button.js'; +import './vaadin-radio-group-styles.js'; +import '../../src/vaadin-lit-radio-group.js'; diff --git a/packages/radio-group/vaadin-lit-radio-button.d.ts b/packages/radio-group/vaadin-lit-radio-button.d.ts new file mode 100644 index 0000000000..dd9f38b3db --- /dev/null +++ b/packages/radio-group/vaadin-lit-radio-button.d.ts @@ -0,0 +1 @@ +export * from './src/vaadin-radio-button.js'; diff --git a/packages/radio-group/vaadin-lit-radio-button.js b/packages/radio-group/vaadin-lit-radio-button.js new file mode 100644 index 0000000000..4d33c07c1f --- /dev/null +++ b/packages/radio-group/vaadin-lit-radio-button.js @@ -0,0 +1,2 @@ +import './theme/lumo/vaadin-lit-radio-button.js'; +export * from './src/vaadin-lit-radio-button.js'; diff --git a/packages/radio-group/vaadin-lit-radio-group.d.ts b/packages/radio-group/vaadin-lit-radio-group.d.ts new file mode 100644 index 0000000000..de1fd0d703 --- /dev/null +++ b/packages/radio-group/vaadin-lit-radio-group.d.ts @@ -0,0 +1 @@ +export * from './src/vaadin-radio-group.js'; diff --git a/packages/radio-group/vaadin-lit-radio-group.js b/packages/radio-group/vaadin-lit-radio-group.js new file mode 100644 index 0000000000..c94840211b --- /dev/null +++ b/packages/radio-group/vaadin-lit-radio-group.js @@ -0,0 +1,2 @@ +import './theme/lumo/vaadin-lit-radio-group.js'; +export * from './src/vaadin-lit-radio-group.js';