willba-component-library 0.0.44 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.esm.js +3 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +3 -3
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/themes/useTheme.tsx +3 -3
package/lib/index.esm.js
CHANGED
|
@@ -6062,13 +6062,13 @@ function useTheme(_a) {
|
|
|
6062
6062
|
var vendor = _a.vendor;
|
|
6063
6063
|
useEffect(function () {
|
|
6064
6064
|
if (vendor === 'Kisakallio') {
|
|
6065
|
-
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@
|
|
6065
|
+
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@latest/lib/themes/Kisakallio.css');
|
|
6066
6066
|
}
|
|
6067
6067
|
else if (vendor === 'Pajulahti') {
|
|
6068
|
-
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@
|
|
6068
|
+
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@latest/lib/themes/Pajulahti.css');
|
|
6069
6069
|
}
|
|
6070
6070
|
else {
|
|
6071
|
-
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@
|
|
6071
|
+
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@latest/lib/themes/Default.css');
|
|
6072
6072
|
}
|
|
6073
6073
|
}, [vendor]);
|
|
6074
6074
|
return;
|