@bagelink/auth 1.6.63 → 1.6.65

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/dist/index.cjs CHANGED
@@ -388,7 +388,7 @@ const _hoisted_3$2 = {
388
388
  };
389
389
  const _hoisted_4$2 = { class: "txt-center my-05" };
390
390
  const _hoisted_5$2 = {
391
- key: 2,
391
+ key: 1,
392
392
  class: "txt-center color-red txt-12 mt-1"
393
393
  };
394
394
  const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
@@ -439,19 +439,19 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
439
439
  facebookButton: "התחברות עם Facebook"
440
440
  };
441
441
  const englishDefaults = {
442
- title: "Login In",
442
+ title: "Login",
443
443
  emailLabel: "Email",
444
444
  passwordLabel: "Password",
445
- forgotPassword: "Forgot Password?",
446
- loginButton: "Login In",
445
+ forgotPassword: "Forgot Password",
446
+ loginButton: "Login",
447
447
  signupButton: "Create Account",
448
448
  orText: "or",
449
- githubButton: "Login with GitHub",
450
- googleButton: "Login with Google",
451
- microsoftButton: "Login with Microsoft",
452
- appleButton: "Login with Apple",
453
- oktaButton: "Login with Okta",
454
- facebookButton: "Login with Facebook"
449
+ githubButton: "Continue with GitHub",
450
+ googleButton: "Continue with Google",
451
+ microsoftButton: "Continue with Microsoft",
452
+ appleButton: "Continue with Apple",
453
+ oktaButton: "Continue with Okta",
454
+ facebookButton: "Continue with Facebook"
455
455
  };
456
456
  const defaults = props.useHebrewDefaults ? hebrewDefaults : englishDefaults;
457
457
  return {
@@ -547,6 +547,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
547
547
  vue.createElementVNode("p", _hoisted_4$2, vue.toDisplayString(texts.value.orText), 1),
548
548
  _cache[11] || (_cache[11] = vue.createElementVNode("div", { class: "line" }, null, -1))
549
549
  ])) : vue.createCommentVNode("", true),
550
+ error.value ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$2, vue.toDisplayString(error.value), 1)) : vue.createCommentVNode("", true),
550
551
  vue.createElementVNode("div", {
551
552
  class: vue.normalizeClass(["gap-05", { "grid grid-wrap-1": props.ssoShowValue, "flex justify-content-center gap-05 flex-wrap": !props.ssoShowValue }])
552
553
  }, [
@@ -635,8 +636,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
635
636
  [_directive_tooltip, !props.ssoShowValue ? texts.value.facebookButton : void 0]
636
637
  ]) : vue.createCommentVNode("", true)
637
638
  ], 2)
638
- ])) : vue.createCommentVNode("", true),
639
- error.value ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$2, vue.toDisplayString(error.value), 1)) : vue.createCommentVNode("", true)
639
+ ])) : vue.createCommentVNode("", true)
640
640
  ], 34);
641
641
  };
642
642
  }
package/dist/index.mjs CHANGED
@@ -386,7 +386,7 @@ const _hoisted_3$2 = {
386
386
  };
387
387
  const _hoisted_4$2 = { class: "txt-center my-05" };
388
388
  const _hoisted_5$2 = {
389
- key: 2,
389
+ key: 1,
390
390
  class: "txt-center color-red txt-12 mt-1"
391
391
  };
392
392
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
@@ -437,19 +437,19 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
437
437
  facebookButton: "התחברות עם Facebook"
438
438
  };
439
439
  const englishDefaults = {
440
- title: "Login In",
440
+ title: "Login",
441
441
  emailLabel: "Email",
442
442
  passwordLabel: "Password",
443
- forgotPassword: "Forgot Password?",
444
- loginButton: "Login In",
443
+ forgotPassword: "Forgot Password",
444
+ loginButton: "Login",
445
445
  signupButton: "Create Account",
446
446
  orText: "or",
447
- githubButton: "Login with GitHub",
448
- googleButton: "Login with Google",
449
- microsoftButton: "Login with Microsoft",
450
- appleButton: "Login with Apple",
451
- oktaButton: "Login with Okta",
452
- facebookButton: "Login with Facebook"
447
+ githubButton: "Continue with GitHub",
448
+ googleButton: "Continue with Google",
449
+ microsoftButton: "Continue with Microsoft",
450
+ appleButton: "Continue with Apple",
451
+ oktaButton: "Continue with Okta",
452
+ facebookButton: "Continue with Facebook"
453
453
  };
454
454
  const defaults = props.useHebrewDefaults ? hebrewDefaults : englishDefaults;
455
455
  return {
@@ -545,6 +545,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
545
545
  createElementVNode("p", _hoisted_4$2, toDisplayString(texts.value.orText), 1),
546
546
  _cache[11] || (_cache[11] = createElementVNode("div", { class: "line" }, null, -1))
547
547
  ])) : createCommentVNode("", true),
548
+ error.value ? (openBlock(), createElementBlock("p", _hoisted_5$2, toDisplayString(error.value), 1)) : createCommentVNode("", true),
548
549
  createElementVNode("div", {
549
550
  class: normalizeClass(["gap-05", { "grid grid-wrap-1": props.ssoShowValue, "flex justify-content-center gap-05 flex-wrap": !props.ssoShowValue }])
550
551
  }, [
@@ -633,8 +634,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
633
634
  [_directive_tooltip, !props.ssoShowValue ? texts.value.facebookButton : void 0]
634
635
  ]) : createCommentVNode("", true)
635
636
  ], 2)
636
- ])) : createCommentVNode("", true),
637
- error.value ? (openBlock(), createElementBlock("p", _hoisted_5$2, toDisplayString(error.value), 1)) : createCommentVNode("", true)
637
+ ])) : createCommentVNode("", true)
638
638
  ], 34);
639
639
  };
640
640
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/auth",
3
3
  "type": "module",
4
- "version": "1.6.63",
4
+ "version": "1.6.65",
5
5
  "description": "Bagelink auth package",
6
6
  "author": {
7
7
  "name": "Bagel Studio",
@@ -90,19 +90,19 @@ const texts = computed(() => {
90
90
  }
91
91
 
92
92
  const englishDefaults = {
93
- title: 'Login In',
93
+ title: 'Login',
94
94
  emailLabel: 'Email',
95
95
  passwordLabel: 'Password',
96
- forgotPassword: 'Forgot Password?',
97
- loginButton: 'Login In',
96
+ forgotPassword: 'Forgot Password',
97
+ loginButton: 'Login',
98
98
  signupButton: 'Create Account',
99
99
  orText: 'or',
100
- githubButton: 'Login with GitHub',
101
- googleButton: 'Login with Google',
102
- microsoftButton: 'Login with Microsoft',
103
- appleButton: 'Login with Apple',
104
- oktaButton: 'Login with Okta',
105
- facebookButton: 'Login with Facebook'
100
+ githubButton: 'Continue with GitHub',
101
+ googleButton: 'Continue with Google',
102
+ microsoftButton: 'Continue with Microsoft',
103
+ appleButton: 'Continue with Apple',
104
+ oktaButton: 'Continue with Okta',
105
+ facebookButton: 'Continue with Facebook'
106
106
  }
107
107
 
108
108
  const defaults = props.useHebrewDefaults ? hebrewDefaults : englishDefaults
@@ -188,7 +188,9 @@ async function handleLogin() {
188
188
  </p>
189
189
  <div class="line" />
190
190
  </div>
191
-
191
+ <p v-if="error" class="txt-center color-red txt-12 mt-1">
192
+ {{ error }}
193
+ </p>
192
194
  <div
193
195
  class="gap-05"
194
196
  :class="{ 'grid grid-wrap-1': props.ssoShowValue, 'flex justify-content-center gap-05 flex-wrap': !props.ssoShowValue }"
@@ -249,9 +251,5 @@ async function handleLogin() {
249
251
  />
250
252
  </div>
251
253
  </div>
252
-
253
- <p v-if="error" class="txt-center color-red txt-12 mt-1">
254
- {{ error }}
255
- </p>
256
254
  </form>
257
255
  </template>
@@ -137,10 +137,16 @@ async function handleResetPassword() {
137
137
  <h1 class="txt20 bold txt-center mb-1">
138
138
  {{ texts.title }}
139
139
  </h1>
140
- <PasswordInput v-model="newPassword" class="mb-05" :label="texts.newPasswordLabel" autocomplete="new-password" />
140
+ <PasswordInput
141
+ v-model="newPassword" class="mb-05" :label="texts.newPasswordLabel"
142
+ autocomplete="new-password"
143
+ />
141
144
  <PasswordInput v-model="confirmPassword" :label="texts.confirmPasswordLabel" autocomplete="new-password" />
142
145
  <Btn type="submit" class="w-100 mt-2" :value="texts.submitButton" />
143
- <Btn thin flat class="txt-12 mt-075 underline block" :value="texts.backToLogin" @click="$emit('switchForm', 'login')" />
146
+ <Btn
147
+ thin flat class="txt-12 mt-075 underline block" :value="texts.backToLogin"
148
+ @click="$emit('switchForm', 'login')"
149
+ />
144
150
  <p v-if="error" class="txt-center color-red txt-12 mt-1" v-text="error" />
145
151
  </form>
146
152
  </template>
@@ -218,7 +218,10 @@ async function handleSignup() {
218
218
  <PasswordInput v-model="form.password" class="mb-05" :label="texts.passwordLabel" />
219
219
  <PasswordInput v-model="form.confirmPassword" :label="texts.confirmPasswordLabel" />
220
220
  <Btn class="w-100 mt-2" :value="texts.signupButton" type="submit" />
221
- <Btn thin flat class="txt-12 mt-075 underline block" :value="texts.alreadyHaveAccount" @click="$emit('switchForm', 'login')" />
221
+ <Btn
222
+ thin flat class="txt-12 mt-075 underline block" :value="texts.alreadyHaveAccount"
223
+ @click="$emit('switchForm', 'login')"
224
+ />
222
225
  <p v-if="error" class="txt-center color-red txt-12 mt-1" v-text="error" />
223
226
  </form>
224
227
  </template>