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.js
CHANGED
|
@@ -6082,13 +6082,13 @@ function useTheme(_a) {
|
|
|
6082
6082
|
var vendor = _a.vendor;
|
|
6083
6083
|
React__default.useEffect(function () {
|
|
6084
6084
|
if (vendor === 'Kisakallio') {
|
|
6085
|
-
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@
|
|
6085
|
+
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@latest/lib/themes/Kisakallio.css');
|
|
6086
6086
|
}
|
|
6087
6087
|
else if (vendor === 'Pajulahti') {
|
|
6088
|
-
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@
|
|
6088
|
+
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@latest/lib/themes/Pajulahti.css');
|
|
6089
6089
|
}
|
|
6090
6090
|
else {
|
|
6091
|
-
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@
|
|
6091
|
+
addCSSFile('https://cdn.jsdelivr.net/npm/willba-component-library@latest/lib/themes/Default.css');
|
|
6092
6092
|
}
|
|
6093
6093
|
}, [vendor]);
|
|
6094
6094
|
return;
|