@zap-wunschlachen/wl-shared-components 1.0.34 → 1.0.35
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/App.vue +2 -5
- package/package.json +1 -1
- package/src/utils/index.ts +4 -4
package/App.vue
CHANGED
|
@@ -3,12 +3,9 @@
|
|
|
3
3
|
<div class="element-container">
|
|
4
4
|
<Button
|
|
5
5
|
:color="siteColors['slot-bg']"
|
|
6
|
-
|
|
7
|
-
:text-color="siteColors['slot-text']"
|
|
6
|
+
:label="'Some Text'"
|
|
7
|
+
class="!font-bold mx-2" :text-color="siteColors['slot-text']"
|
|
8
8
|
>
|
|
9
|
-
<template #default>
|
|
10
|
-
<p class="text-wrap">Long text button to showcase wrapping behavior in the button component</p>
|
|
11
|
-
</template>
|
|
12
9
|
</Button>
|
|
13
10
|
</div>
|
|
14
11
|
</div>
|
package/package.json
CHANGED
package/src/utils/index.ts
CHANGED
|
@@ -58,11 +58,11 @@ const generateDynamicDomain = () => {
|
|
|
58
58
|
const domain: any = ref(null);
|
|
59
59
|
const currentDomain = generateDynamicDomain().toLowerCase();
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
if (currentDomain.includes("white-cocoon")) {
|
|
62
62
|
domain.value = "domain-cocoon";
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
} else {
|
|
64
|
+
domain.value = "domain-dental";
|
|
65
|
+
}
|
|
66
66
|
|
|
67
67
|
let siteColors: any = {
|
|
68
68
|
"border-color": "var(--Dental-Blue-0)",
|