@strands.gg/accui 2.6.3 → 2.6.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.
- package/dist/accui.css +1 -1
- package/dist/strands-auth-ui.cjs.js +1 -1
- package/dist/strands-auth-ui.es.js +51 -51
- package/package.json +1 -1
|
@@ -27683,7 +27683,7 @@ const _hoisted_20$9 = {
|
|
|
27683
27683
|
};
|
|
27684
27684
|
const _hoisted_21$9 = ["cx", "fill"];
|
|
27685
27685
|
const _hoisted_22$7 = { class: "ui-color-picker-inputs" };
|
|
27686
|
-
const _hoisted_23$
|
|
27686
|
+
const _hoisted_23$6 = {
|
|
27687
27687
|
key: 0,
|
|
27688
27688
|
class: "ui-color-picker-input-row"
|
|
27689
27689
|
};
|
|
@@ -29542,7 +29542,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
29542
29542
|
}, null, 4)
|
|
29543
29543
|
], 544)) : createCommentVNode("", true),
|
|
29544
29544
|
createElementVNode("div", _hoisted_22$7, [
|
|
29545
|
-
currentColorFormat.value === "hex" ? (openBlock(), createElementBlock("div", _hoisted_23$
|
|
29545
|
+
currentColorFormat.value === "hex" ? (openBlock(), createElementBlock("div", _hoisted_23$6, [
|
|
29546
29546
|
createElementVNode("div", _hoisted_24$6, [
|
|
29547
29547
|
_cache[24] || (_cache[24] = createElementVNode("label", { class: "ui-color-picker-label" }, "Hex", -1)),
|
|
29548
29548
|
withDirectives(createElementVNode("input", {
|
|
@@ -30281,7 +30281,7 @@ const _hoisted_19$a = { class: "ui-table-group-count" };
|
|
|
30281
30281
|
const _hoisted_20$8 = ["onClick"];
|
|
30282
30282
|
const _hoisted_21$8 = ["onClick"];
|
|
30283
30283
|
const _hoisted_22$6 = { class: "ui-table-subrow-content" };
|
|
30284
|
-
const _hoisted_23$
|
|
30284
|
+
const _hoisted_23$5 = { class: "ui-table-subrow-default" };
|
|
30285
30285
|
const _hoisted_24$5 = {
|
|
30286
30286
|
key: 0,
|
|
30287
30287
|
class: "ui-table-empty"
|
|
@@ -30731,7 +30731,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
30731
30731
|
row,
|
|
30732
30732
|
rowIndex
|
|
30733
30733
|
}, () => [
|
|
30734
|
-
createElementVNode("div", _hoisted_23$
|
|
30734
|
+
createElementVNode("div", _hoisted_23$5, [
|
|
30735
30735
|
createElementVNode("pre", null, toDisplayString(JSON.stringify(row, null, 2)), 1)
|
|
30736
30736
|
])
|
|
30737
30737
|
], true)
|
|
@@ -32272,7 +32272,7 @@ const _hoisted_19$8 = { class: "mfa-hardware-prompt" };
|
|
|
32272
32272
|
const _hoisted_20$6 = { class: "mfa-hardware-prompt-content" };
|
|
32273
32273
|
const _hoisted_21$6 = { class: "mfa-hardware-prompt-icon" };
|
|
32274
32274
|
const _hoisted_22$5 = { class: "mfa-hardware-prompt-text" };
|
|
32275
|
-
const _hoisted_23$
|
|
32275
|
+
const _hoisted_23$4 = { class: "mfa-hardware-prompt-title" };
|
|
32276
32276
|
const _hoisted_24$4 = { class: "mfa-hardware-prompt-description" };
|
|
32277
32277
|
const _hoisted_25$4 = { class: "mfa-backup-option" };
|
|
32278
32278
|
const _hoisted_26$4 = {
|
|
@@ -32781,7 +32781,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
32781
32781
|
}))
|
|
32782
32782
|
]),
|
|
32783
32783
|
createElementVNode("div", _hoisted_22$5, [
|
|
32784
|
-
createElementVNode("h4", _hoisted_23$
|
|
32784
|
+
createElementVNode("h4", _hoisted_23$4, toDisplayString(selectedMethod.value.device_type === "passkey" ? "Use your passkey" : "Touch your hardware key"), 1),
|
|
32785
32785
|
createElementVNode("p", _hoisted_24$4, toDisplayString(selectedMethod.value.device_type === "passkey" ? "Use biometrics, PIN, or device security to authenticate" : "Insert and touch your hardware key to authenticate"), 1)
|
|
32786
32786
|
])
|
|
32787
32787
|
])
|
|
@@ -33221,64 +33221,63 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
33221
33221
|
};
|
|
33222
33222
|
}
|
|
33223
33223
|
});
|
|
33224
|
-
const _hoisted_1$l = {
|
|
33225
|
-
const _hoisted_2$h = {
|
|
33224
|
+
const _hoisted_1$l = {
|
|
33226
33225
|
key: 0,
|
|
33227
33226
|
class: "auth-logo-header"
|
|
33228
33227
|
};
|
|
33229
|
-
const
|
|
33230
|
-
const
|
|
33228
|
+
const _hoisted_2$h = { class: "auth-header" };
|
|
33229
|
+
const _hoisted_3$g = {
|
|
33231
33230
|
key: 0,
|
|
33232
33231
|
class: "auth-success-text"
|
|
33233
33232
|
};
|
|
33234
|
-
const
|
|
33235
|
-
const
|
|
33236
|
-
const
|
|
33237
|
-
const
|
|
33233
|
+
const _hoisted_4$g = { key: 1 };
|
|
33234
|
+
const _hoisted_5$e = { key: 2 };
|
|
33235
|
+
const _hoisted_6$d = { key: 3 };
|
|
33236
|
+
const _hoisted_7$d = {
|
|
33238
33237
|
key: 0,
|
|
33239
33238
|
class: "auth-tabs-container"
|
|
33240
33239
|
};
|
|
33241
|
-
const
|
|
33240
|
+
const _hoisted_8$c = {
|
|
33242
33241
|
key: 0,
|
|
33243
33242
|
class: "auth-oauth-providers"
|
|
33244
33243
|
};
|
|
33245
|
-
const
|
|
33246
|
-
const
|
|
33244
|
+
const _hoisted_9$c = { class: "auth-oauth-icon-container" };
|
|
33245
|
+
const _hoisted_10$c = {
|
|
33247
33246
|
key: 0,
|
|
33248
33247
|
class: "auth-oauth-icon"
|
|
33249
33248
|
};
|
|
33250
|
-
const
|
|
33251
|
-
const
|
|
33249
|
+
const _hoisted_11$c = ["src", "alt"];
|
|
33250
|
+
const _hoisted_12$c = {
|
|
33252
33251
|
key: 1,
|
|
33253
33252
|
viewBox: "0 0 24 24",
|
|
33254
33253
|
class: "auth-oauth-icon"
|
|
33255
33254
|
};
|
|
33256
|
-
const
|
|
33255
|
+
const _hoisted_13$c = {
|
|
33257
33256
|
key: 2,
|
|
33258
33257
|
class: "auth-oauth-icon auth-oauth-github",
|
|
33259
33258
|
viewBox: "0 0 24 24"
|
|
33260
33259
|
};
|
|
33261
|
-
const
|
|
33260
|
+
const _hoisted_14$c = {
|
|
33262
33261
|
key: 3,
|
|
33263
33262
|
class: "auth-oauth-generic-icon"
|
|
33264
33263
|
};
|
|
33265
|
-
const
|
|
33266
|
-
const
|
|
33267
|
-
const
|
|
33264
|
+
const _hoisted_15$a = { class: "auth-oauth-generic-text" };
|
|
33265
|
+
const _hoisted_16$a = { class: "auth-oauth-text" };
|
|
33266
|
+
const _hoisted_17$9 = {
|
|
33268
33267
|
key: 0,
|
|
33269
33268
|
class: "auth-divider"
|
|
33270
33269
|
};
|
|
33271
|
-
const
|
|
33272
|
-
const
|
|
33270
|
+
const _hoisted_18$8 = { class: "auth-divider-text" };
|
|
33271
|
+
const _hoisted_19$7 = {
|
|
33273
33272
|
key: 0,
|
|
33274
33273
|
class: "auth-password-field"
|
|
33275
33274
|
};
|
|
33276
|
-
const
|
|
33277
|
-
const
|
|
33275
|
+
const _hoisted_20$5 = { class: "auth-password-header" };
|
|
33276
|
+
const _hoisted_21$5 = {
|
|
33278
33277
|
key: 0,
|
|
33279
33278
|
class: "auth-back-link-container"
|
|
33280
33279
|
};
|
|
33281
|
-
const
|
|
33280
|
+
const _hoisted_22$4 = { class: "auth-support-text" };
|
|
33282
33281
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
33283
33282
|
__name: "StrandsAuth",
|
|
33284
33283
|
props: {
|
|
@@ -33531,18 +33530,19 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33531
33530
|
element.style.overflow = "";
|
|
33532
33531
|
};
|
|
33533
33532
|
return (_ctx, _cache) => {
|
|
33534
|
-
return openBlock(), createElementBlock(
|
|
33533
|
+
return openBlock(), createElementBlock(Fragment$1, null, [
|
|
33535
33534
|
createVNode(unref(StrandsUiCard), {
|
|
33536
33535
|
variant: props.inModal ? "simple" : "modern",
|
|
33537
33536
|
color: props.inModal ? "default" : "secondary",
|
|
33537
|
+
padding: "sm",
|
|
33538
33538
|
class: normalizeClass(props.inModal ? "auth-full-width auth-min-width" : "auth-full-width auth-min-width auth-max-width auth-center auth-slide-up")
|
|
33539
33539
|
}, {
|
|
33540
33540
|
default: withCtx(() => [
|
|
33541
33541
|
createElementVNode("div", null, [
|
|
33542
|
-
!props.inModal ? (openBlock(), createElementBlock("div",
|
|
33542
|
+
!props.inModal ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
33543
33543
|
createVNode(_sfc_main$o)
|
|
33544
33544
|
])) : createCommentVNode("", true),
|
|
33545
|
-
createElementVNode("div",
|
|
33545
|
+
createElementVNode("div", _hoisted_2$h, [
|
|
33546
33546
|
createVNode(Transition, {
|
|
33547
33547
|
name: "fade",
|
|
33548
33548
|
mode: "out-in"
|
|
@@ -33564,7 +33564,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33564
33564
|
key: currentMode.value,
|
|
33565
33565
|
class: "auth-subtitle"
|
|
33566
33566
|
}, [
|
|
33567
|
-
isPasswordResetSubmitted.value ? (openBlock(), createElementBlock("span",
|
|
33567
|
+
isPasswordResetSubmitted.value ? (openBlock(), createElementBlock("span", _hoisted_3$g, " We've sent a password reset link to your email ")) : isPasswordReset.value ? (openBlock(), createElementBlock("span", _hoisted_4$g, " Enter your email to reset your password ")) : isSignUp.value ? (openBlock(), createElementBlock("span", _hoisted_5$e, " Create an account to get started ")) : (openBlock(), createElementBlock("span", _hoisted_6$d, [..._cache[6] || (_cache[6] = [
|
|
33568
33568
|
createTextVNode(" Sign in or register a ", -1),
|
|
33569
33569
|
createElementVNode("b", null, "Strands account", -1),
|
|
33570
33570
|
createTextVNode(" to continue ", -1)
|
|
@@ -33583,7 +33583,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33583
33583
|
onAfterLeave
|
|
33584
33584
|
}, {
|
|
33585
33585
|
default: withCtx(() => [
|
|
33586
|
-
!isPasswordReset.value ? (openBlock(), createElementBlock("div",
|
|
33586
|
+
!isPasswordReset.value ? (openBlock(), createElementBlock("div", _hoisted_7$d, [
|
|
33587
33587
|
createVNode(unref(StrandsUiTabs), {
|
|
33588
33588
|
modelValue: currentMode.value,
|
|
33589
33589
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => currentMode.value = $event),
|
|
@@ -33606,7 +33606,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33606
33606
|
onAfterLeave
|
|
33607
33607
|
}, {
|
|
33608
33608
|
default: withCtx(() => [
|
|
33609
|
-
!isPasswordReset.value && displayProviders.value?.length ? (openBlock(), createElementBlock("div",
|
|
33609
|
+
!isPasswordReset.value && displayProviders.value?.length ? (openBlock(), createElementBlock("div", _hoisted_8$c, [
|
|
33610
33610
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(displayProviders.value, (provider) => {
|
|
33611
33611
|
return openBlock(), createBlock(unref(CompoundUiButton), {
|
|
33612
33612
|
key: provider.id,
|
|
@@ -33617,16 +33617,16 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33617
33617
|
class: "auth-oauth-button"
|
|
33618
33618
|
}, {
|
|
33619
33619
|
default: withCtx(() => [
|
|
33620
|
-
createElementVNode("div",
|
|
33621
|
-
provider.icon || provider.iconUrl ? (openBlock(), createElementBlock("div",
|
|
33620
|
+
createElementVNode("div", _hoisted_9$c, [
|
|
33621
|
+
provider.icon || provider.iconUrl ? (openBlock(), createElementBlock("div", _hoisted_10$c, [
|
|
33622
33622
|
createElementVNode("img", {
|
|
33623
33623
|
src: provider.icon || provider.iconUrl,
|
|
33624
33624
|
alt: `${provider.displayName || provider.name} icon`,
|
|
33625
33625
|
class: "auth-oauth-icon",
|
|
33626
33626
|
width: "20",
|
|
33627
33627
|
height: "20"
|
|
33628
|
-
}, null, 8,
|
|
33629
|
-
])) : provider.id === "google" ? (openBlock(), createElementBlock("svg",
|
|
33628
|
+
}, null, 8, _hoisted_11$c)
|
|
33629
|
+
])) : provider.id === "google" ? (openBlock(), createElementBlock("svg", _hoisted_12$c, [..._cache[7] || (_cache[7] = [
|
|
33630
33630
|
createElementVNode("path", {
|
|
33631
33631
|
fill: "#4285F4",
|
|
33632
33632
|
d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"
|
|
@@ -33643,13 +33643,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33643
33643
|
fill: "#EA4335",
|
|
33644
33644
|
d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"
|
|
33645
33645
|
}, null, -1)
|
|
33646
|
-
])])) : provider.id === "github" ? (openBlock(), createElementBlock("svg",
|
|
33646
|
+
])])) : provider.id === "github" ? (openBlock(), createElementBlock("svg", _hoisted_13$c, [..._cache[8] || (_cache[8] = [
|
|
33647
33647
|
createElementVNode("path", { d: "M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z" }, null, -1)
|
|
33648
|
-
])])) : (openBlock(), createElementBlock("div",
|
|
33649
|
-
createElementVNode("span",
|
|
33648
|
+
])])) : (openBlock(), createElementBlock("div", _hoisted_14$c, [
|
|
33649
|
+
createElementVNode("span", _hoisted_15$a, toDisplayString((provider.displayName || provider.name).charAt(0).toUpperCase()), 1)
|
|
33650
33650
|
]))
|
|
33651
33651
|
]),
|
|
33652
|
-
createElementVNode("span",
|
|
33652
|
+
createElementVNode("span", _hoisted_16$a, " Continue with " + toDisplayString(provider.displayName || provider.name.charAt(0).toUpperCase() + provider.name.slice(1)), 1)
|
|
33653
33653
|
]),
|
|
33654
33654
|
_: 2
|
|
33655
33655
|
}, 1032, ["disabled", "onClick"]);
|
|
@@ -33667,8 +33667,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33667
33667
|
onAfterLeave
|
|
33668
33668
|
}, {
|
|
33669
33669
|
default: withCtx(() => [
|
|
33670
|
-
!isPasswordReset.value && displayProviders.value?.length ? (openBlock(), createElementBlock("div",
|
|
33671
|
-
createElementVNode("span",
|
|
33670
|
+
!isPasswordReset.value && displayProviders.value?.length ? (openBlock(), createElementBlock("div", _hoisted_17$9, [
|
|
33671
|
+
createElementVNode("span", _hoisted_18$8, "Or " + toDisplayString(isSignUp.value ? "create account" : "sign in") + " with email", 1)
|
|
33672
33672
|
])) : createCommentVNode("", true)
|
|
33673
33673
|
]),
|
|
33674
33674
|
_: 1
|
|
@@ -33701,8 +33701,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33701
33701
|
onAfterLeave
|
|
33702
33702
|
}, {
|
|
33703
33703
|
default: withCtx(() => [
|
|
33704
|
-
!isPasswordReset.value && !isSignUp.value ? (openBlock(), createElementBlock("div",
|
|
33705
|
-
createElementVNode("div",
|
|
33704
|
+
!isPasswordReset.value && !isSignUp.value ? (openBlock(), createElementBlock("div", _hoisted_19$7, [
|
|
33705
|
+
createElementVNode("div", _hoisted_20$5, [
|
|
33706
33706
|
_cache[10] || (_cache[10] = createElementVNode("span", { class: "auth-password-label" }, "Password", -1)),
|
|
33707
33707
|
createVNode(unref(StrandsUiLink), {
|
|
33708
33708
|
variant: "primary",
|
|
@@ -33766,7 +33766,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33766
33766
|
onAfterLeave
|
|
33767
33767
|
}, {
|
|
33768
33768
|
default: withCtx(() => [
|
|
33769
|
-
isPasswordReset.value ? (openBlock(), createElementBlock("div",
|
|
33769
|
+
isPasswordReset.value ? (openBlock(), createElementBlock("div", _hoisted_21$5, [
|
|
33770
33770
|
createVNode(unref(StrandsUiLink), {
|
|
33771
33771
|
onClick: _cache[4] || (_cache[4] = ($event) => currentMode.value = "signin"),
|
|
33772
33772
|
class: "auth-back-link"
|
|
@@ -33810,7 +33810,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33810
33810
|
name: "support-fade"
|
|
33811
33811
|
}, {
|
|
33812
33812
|
default: withCtx(() => [
|
|
33813
|
-
createElementVNode("p",
|
|
33813
|
+
createElementVNode("p", _hoisted_22$4, [
|
|
33814
33814
|
_cache[13] || (_cache[13] = createTextVNode(" Need help? ", -1)),
|
|
33815
33815
|
createVNode(unref(StrandsUiLink), {
|
|
33816
33816
|
variant: "primary",
|
|
@@ -33839,11 +33839,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
33839
33839
|
onClose: handleMfaClose,
|
|
33840
33840
|
onError: handleMfaError
|
|
33841
33841
|
}, null, 8, ["show", "available-mfa-methods"])
|
|
33842
|
-
]);
|
|
33842
|
+
], 64);
|
|
33843
33843
|
};
|
|
33844
33844
|
}
|
|
33845
33845
|
});
|
|
33846
|
-
const StrandsAuth = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
33846
|
+
const StrandsAuth = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-31b99c9b"]]);
|
|
33847
33847
|
const _hoisted_1$k = {
|
|
33848
33848
|
viewBox: "0 0 24 24",
|
|
33849
33849
|
class: "accui-w-5 accui-h-5"
|