Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/atomic/scripts/check-light-dom-host-selectors.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {dirname, extname, join, resolve} from 'node:path';
const ATOMIC_SRC = new URL('../src', import.meta.url).pathname;

const STATIC_STYLES_PATTERN = /static\s+(?:(?:override\s+)?styles)\s*[=:]/;
const HOST_SELECTOR_PATTERN = /:host(?:\s*\(|[\s{,]|$)/;
const HOST_SELECTOR_PATTERN = /:host(?![a-z-])/;
const IMPORT_PATTERN = /import\s+(?:[\w{}\s,*]+\s+from\s+)?['"]([^'"]+)['"]/g;
const CSS_IMPORT_PATTERN =
/import\s+\w+\s+from\s+['"]([^'"]+\.tw\.css(?:\.ts|\.js)?)['"]/g;
Expand Down
Loading