@zap-wunschlachen/wl-shared-components 1.0.31 → 1.0.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zap-wunschlachen/wl-shared-components",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -104,4 +104,5 @@
104
104
  --Night-Nude-0: #a1978f;
105
105
  --Dark-Nude-2: #7F7168;
106
106
  --Dark-Nude-3: #453D39;
107
+ --Dark-Nude--3: #F1ECE9;
107
108
  }
@@ -96,7 +96,7 @@ import { siteColors } from "../../utils/index";
96
96
  import { computed } from "vue";
97
97
 
98
98
  const currentDomain = computed(() => {
99
- return props.domain ?? siteColors['domain'] ?? "domain-dental";
99
+ return props.domain || siteColors['domain'] || "domain-dental";
100
100
  });
101
101
 
102
102
  // You can pass props if you need to customize it
@@ -111,7 +111,7 @@ const props = defineProps({
111
111
  },
112
112
  domain: {
113
113
  type: String,
114
- default: "domain-dental",
114
+ default: "",
115
115
  },
116
116
  });
117
117
  </script>
@@ -16,7 +16,7 @@ import { siteColors } from "../../utils/index";
16
16
  import { computed } from "vue";
17
17
 
18
18
  const currentDomain = computed(() => {
19
- return props.domain ?? siteColors['domain'] ?? "domain-dental";
19
+ return props.domain || siteColors['domain'] || "domain-dental";
20
20
  });
21
21
 
22
22
  const props = defineProps({
@@ -30,7 +30,7 @@ const props = defineProps({
30
30
  },
31
31
  domain: {
32
32
  type: String,
33
- default: "domain-dental",
33
+ default: "",
34
34
  },
35
35
  });
36
36
  </script>
@@ -19,7 +19,11 @@
19
19
  :base-color="siteColors['font_color_title_code']"
20
20
  @update:model-value="onResetError"
21
21
  type="number"
22
- />
22
+ >
23
+ <template #loader>
24
+ <Loader :size="40" />
25
+ </template>
26
+ </v-otp-input>
23
27
  </div>
24
28
 
25
29
  <div class="message-container">
@@ -43,6 +47,7 @@
43
47
  import { ref, computed, watch, type CSSProperties, PropType } from 'vue';
44
48
  import './OtpInput.css';
45
49
  import Button from '../Button/Button.vue';
50
+ import Loader from '../Loader/Loader.vue';
46
51
  import { useI18n } from 'vue-i18n';
47
52
  import { siteColors } from "../../utils/index";
48
53
 
@@ -92,6 +92,7 @@ const lightTheme: ThemeDefinition = {
92
92
  'Night-Nude-0': '#a1978f',
93
93
  'Dark-Nude-2': '#7F7168',
94
94
  'Dark-Nude-3': '#453D39',
95
+ 'Dark-Nude--3': '#F1ECE9',
95
96
  },
96
97
  };
97
98
 
@@ -77,6 +77,7 @@ let siteColors: any = {
77
77
  bg_0: "bg-[var(--Dental-Light-Blue--3)]",
78
78
  bg_logo_fill_color: "white",
79
79
  button_rounded: "lg",
80
+ bg_card_title: "bg-[var(--Dental-Blue--1)]",
80
81
  "divider-color": "divide-[var(--Dental-Blue-0)]",
81
82
  domain: domain.value,
82
83
  };
@@ -96,6 +97,7 @@ if (domain.value === "domain-cocoon") {
96
97
  "slot-text": "text-[#4E5257]",
97
98
  "divider-color": "divide-[var(--Dark-Nude-0)]",
98
99
  bg_logo_fill_color: "var(--Warm-Air--3)",
100
+ bg_card_title: "bg-[var(--Dark-Nude--3)]",
99
101
  button_rounded: "0",
100
102
  domain: domain.value,
101
103
  };