Skip to content

Commit

Permalink
experiment: add imports for LitElement-based text-field (#6784)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivirkki authored Nov 14, 2023
1 parent be62fa1 commit 1ad136b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/text-field/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"type": "module",
"files": [
"src",
"!src/vaadin-lit-text-field.d.ts",
"!src/vaadin-lit-text-field.js",
"theme",
"vaadin-*.d.ts",
"vaadin-*.js",
"web-types.json",
"web-types.lit.json"
"web-types.lit.json",
"!vaadin-lit-*.d.ts",
"!vaadin-lit-*.js"
],
"keywords": [
"Vaadin",
Expand Down
7 changes: 7 additions & 0 deletions packages/text-field/theme/lumo/vaadin-lit-text-field.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import './vaadin-text-field-styles.js';
import '../../src/vaadin-lit-text-field.js';
7 changes: 7 additions & 0 deletions packages/text-field/theme/material/vaadin-lit-text-field.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import './vaadin-text-field-styles.js';
import '../../src/vaadin-lit-text-field.js';
1 change: 1 addition & 0 deletions packages/text-field/vaadin-lit-text-field.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './src/vaadin-text-field.js';
3 changes: 3 additions & 0 deletions packages/text-field/vaadin-lit-text-field.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import './theme/lumo/vaadin-lit-text-field.js';

export * from './src/vaadin-lit-text-field.js';

0 comments on commit 1ad136b

Please sign in to comment.