Skip to content

Commit

Permalink
experiment: prepare LitElement based upload for publishing (#8062)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Oct 31, 2024
1 parent 8223a10 commit f93f164
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
5 changes: 0 additions & 5 deletions packages/upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
"type": "module",
"files": [
"src",
"!src/vaadin-lit-upload-file-list.js",
"!src/vaadin-lit-upload-file.js",
"!src/vaadin-lit-upload-icon.js",
"!src/vaadin-lit-upload.d.ts",
"!src/vaadin-lit-upload.js",
"theme",
"vaadin-*.d.ts",
"vaadin-*.js",
Expand Down
2 changes: 2 additions & 0 deletions packages/upload/theme/lumo/vaadin-lit-upload.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import './vaadin-upload-styles.js';
import '../../src/vaadin-lit-upload.js';
4 changes: 2 additions & 2 deletions packages/upload/theme/lumo/vaadin-upload-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import '@vaadin/vaadin-lumo-styles/sizing.js';
import '@vaadin/vaadin-lumo-styles/spacing.js';
import '@vaadin/vaadin-lumo-styles/style.js';
import '@vaadin/vaadin-lumo-styles/typography.js';
import '@vaadin/button/theme/lumo/vaadin-button.js';
import '@vaadin/progress-bar/theme/lumo/vaadin-progress-bar.js';
import '@vaadin/button/theme/lumo/vaadin-button-styles.js';
import '@vaadin/progress-bar/theme/lumo/vaadin-progress-bar-styles.js';
import { fieldButton } from '@vaadin/vaadin-lumo-styles/mixins/field-button.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

Expand Down
2 changes: 2 additions & 0 deletions packages/upload/theme/material/vaadin-lit-upload.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import './vaadin-upload-styles.js';
import '../../src/vaadin-lit-upload.js';
4 changes: 2 additions & 2 deletions packages/upload/theme/material/vaadin-upload-styles.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import '@vaadin/vaadin-material-styles/color.js';
import '@vaadin/vaadin-material-styles/font-icons.js';
import '@vaadin/vaadin-material-styles/typography.js';
import '@vaadin/button/theme/material/vaadin-button.js';
import '@vaadin/progress-bar/theme/material/vaadin-progress-bar.js';
import '@vaadin/button/theme/material/vaadin-button-styles.js';
import '@vaadin/progress-bar/theme/material/vaadin-progress-bar-styles.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

registerStyles(
Expand Down
1 change: 1 addition & 0 deletions packages/upload/vaadin-lit-upload.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './src/vaadin-upload.js';
2 changes: 2 additions & 0 deletions packages/upload/vaadin-lit-upload.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import './theme/lumo/vaadin-lit-upload.js';
export * from './src/vaadin-lit-upload.js';

0 comments on commit f93f164

Please sign in to comment.