@vaadin/vaadin-themable-mixin
Advanced tools
Comparing version 24.0.0-alpha7 to 24.0.0-alpha8
{ | ||
"name": "@vaadin/vaadin-themable-mixin", | ||
"version": "24.0.0-alpha7", | ||
"version": "24.0.0-alpha8", | ||
"publishConfig": { | ||
@@ -43,3 +43,3 @@ "access": "public" | ||
}, | ||
"gitHead": "aeb4535336813636736759e0a5de148b26bfc3b6" | ||
"gitHead": "476752249bb12295c500980d98a3256ad3b22b73" | ||
} |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2022 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
*/ | ||
export { registerStyles, css, unsafeCSS } from './vaadin-themable-mixin.js'; |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2022 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
*/ | ||
export { registerStyles, css, unsafeCSS } from './vaadin-themable-mixin.js'; |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2022 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2022 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -80,3 +80,3 @@ */ | ||
return (themeFor || '').split(' ').some((themeForToken) => { | ||
return new RegExp(`^${themeForToken.split('*').join('.*')}$`).test(tagName); | ||
return new RegExp(`^${themeForToken.split('*').join('.*')}$`, 'u').test(tagName); | ||
}); | ||
@@ -83,0 +83,0 @@ } |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2022 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* @license | ||
* Copyright (c) 2017 - 2022 Vaadin Ltd. | ||
* Copyright (c) 2017 - 2023 Vaadin Ltd. | ||
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ | ||
@@ -5,0 +5,0 @@ */ |
24331