@saasmakers/ui 2.0.3 → 2.0.5

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.
@@ -14,7 +14,6 @@ const emit = defineEmits<{
14
14
 
15
15
  const { t } = useI18n()
16
16
  const { isAndroid, platform } = useCapacitor()
17
- const colorMode = useColorMode()
18
17
  const oauthAuthenticating = ref(false)
19
18
 
20
19
  const buttonLoading = computed(() => {
@@ -135,21 +134,19 @@ function processGoogleCallback(event: MessageEvent) {
135
134
  :text="provider === 'apple' ? t('continueWithApple') : t('continueWithGoogle')"
136
135
  @click="onStartAuthentication"
137
136
  >
138
- <ClientOnly>
139
- <img
140
- v-if="provider === 'apple'"
141
- :alt="t('appleLogo')"
142
- class="mr-2.5 w-4.5"
143
- :src="`/images/auth/AppleConnect/apple-${colorMode.value}.svg`"
144
- >
145
-
146
- <img
147
- v-else-if="provider === 'google'"
148
- :alt="t('googleLogo')"
149
- class="mr-2.5 w-5"
150
- src="/images/auth/GoogleConnect/google.svg"
151
- >
152
- </ClientOnly>
137
+ <img
138
+ v-if="provider === 'apple'"
139
+ :alt="t('appleLogo')"
140
+ class="mr-2.5 w-4.5 dark:invert"
141
+ src="/images/auth/AuthSocialConnect/apple.svg"
142
+ >
143
+
144
+ <img
145
+ v-else-if="provider === 'google'"
146
+ :alt="t('googleLogo')"
147
+ class="mr-2.5 w-5"
148
+ src="/images/auth/AuthSocialConnect/google.svg"
149
+ >
153
150
  </BaseButton>
154
151
  </template>
155
152
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "private": false,
5
5
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
6
6
  "license": "MIT",
@@ -1,3 +0,0 @@
1
- <svg width="842" height="1e3" xmlns="http://www.w3.org/2000/svg">
2
- <path fill="#000000" d="M702 960c-54.2 52.6-114 44.4-171 19.6-60.6-25.3-116-26.9-180 0-79.7 34.4-122 24.4-170-19.6-271-279-231-704 77-720 74.7 4 127 41.3 171 44.4 65.4-13.3 128-51.4 198-46.4 84.1 6.8 147 40 189 99.7-173 104-132 332 26.9 396-31.8 83.5-72.6 166-141 227zM423 237C414.9 113 515.4 11 631 1c15.9 143-130 250-208 236z"/>
3
- </svg>