@strands.gg/accui 2.4.1 → 2.4.2
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 +49 -48
- package/package.json +1 -1
|
@@ -39107,6 +39107,53 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
39107
39107
|
createVNode(SignedIn, {
|
|
39108
39108
|
invert: !!props.user
|
|
39109
39109
|
}, {
|
|
39110
|
+
fallback: withCtx(() => [
|
|
39111
|
+
createVNode(unref(CompoundUiButton), {
|
|
39112
|
+
onClick: openSignIn,
|
|
39113
|
+
"aria-label": "Sign in"
|
|
39114
|
+
}, {
|
|
39115
|
+
default: withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
39116
|
+
createElementVNode("svg", {
|
|
39117
|
+
class: "sign-in-icon",
|
|
39118
|
+
fill: "none",
|
|
39119
|
+
stroke: "currentColor",
|
|
39120
|
+
viewBox: "0 0 24 24"
|
|
39121
|
+
}, [
|
|
39122
|
+
createElementVNode("path", {
|
|
39123
|
+
"stroke-linecap": "round",
|
|
39124
|
+
"stroke-linejoin": "round",
|
|
39125
|
+
"stroke-width": "2",
|
|
39126
|
+
d: "M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"
|
|
39127
|
+
})
|
|
39128
|
+
], -1),
|
|
39129
|
+
createElementVNode("span", null, "Sign In", -1)
|
|
39130
|
+
])]),
|
|
39131
|
+
_: 1
|
|
39132
|
+
}),
|
|
39133
|
+
createVNode(unref(UiModal), {
|
|
39134
|
+
modelValue: showSignInModal.value,
|
|
39135
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => showSignInModal.value = $event),
|
|
39136
|
+
"fullscreen-on-mobile": false
|
|
39137
|
+
}, {
|
|
39138
|
+
default: withCtx(() => [
|
|
39139
|
+
createElementVNode("div", _hoisted_17$1, [
|
|
39140
|
+
createVNode(unref(StrandsAuth), {
|
|
39141
|
+
onSignedIn: handleSignedIn,
|
|
39142
|
+
onError: handleSignInError,
|
|
39143
|
+
"redirect-url": _ctx.redirectUrl,
|
|
39144
|
+
"in-modal": ""
|
|
39145
|
+
}, null, 8, ["redirect-url"])
|
|
39146
|
+
])
|
|
39147
|
+
]),
|
|
39148
|
+
_: 1
|
|
39149
|
+
}, 8, ["modelValue"])
|
|
39150
|
+
]),
|
|
39151
|
+
loading: withCtx(() => [
|
|
39152
|
+
createVNode(StrandsUiLoader, {
|
|
39153
|
+
variant: "circle",
|
|
39154
|
+
size: 30
|
|
39155
|
+
})
|
|
39156
|
+
]),
|
|
39110
39157
|
default: withCtx(() => [
|
|
39111
39158
|
createVNode(unref(CompoundUiButton), {
|
|
39112
39159
|
color: "secondary",
|
|
@@ -39257,6 +39304,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
39257
39304
|
createVNode(unref(UiModal), {
|
|
39258
39305
|
modelValue: showProfileModal.value,
|
|
39259
39306
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showProfileModal.value = $event),
|
|
39307
|
+
size: "lg",
|
|
39260
39308
|
"fullscreen-on-mobile": false
|
|
39261
39309
|
}, {
|
|
39262
39310
|
default: withCtx(() => [
|
|
@@ -39270,60 +39318,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
39270
39318
|
_: 1
|
|
39271
39319
|
}, 8, ["modelValue"])
|
|
39272
39320
|
]),
|
|
39273
|
-
fallback: withCtx(() => [
|
|
39274
|
-
createVNode(unref(CompoundUiButton), {
|
|
39275
|
-
onClick: openSignIn,
|
|
39276
|
-
"aria-label": "Sign in"
|
|
39277
|
-
}, {
|
|
39278
|
-
default: withCtx(() => [..._cache[9] || (_cache[9] = [
|
|
39279
|
-
createElementVNode("svg", {
|
|
39280
|
-
class: "sign-in-icon",
|
|
39281
|
-
fill: "none",
|
|
39282
|
-
stroke: "currentColor",
|
|
39283
|
-
viewBox: "0 0 24 24"
|
|
39284
|
-
}, [
|
|
39285
|
-
createElementVNode("path", {
|
|
39286
|
-
"stroke-linecap": "round",
|
|
39287
|
-
"stroke-linejoin": "round",
|
|
39288
|
-
"stroke-width": "2",
|
|
39289
|
-
d: "M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"
|
|
39290
|
-
})
|
|
39291
|
-
], -1),
|
|
39292
|
-
createElementVNode("span", null, "Sign In", -1)
|
|
39293
|
-
])]),
|
|
39294
|
-
_: 1
|
|
39295
|
-
}),
|
|
39296
|
-
createVNode(unref(UiModal), {
|
|
39297
|
-
modelValue: showSignInModal.value,
|
|
39298
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => showSignInModal.value = $event),
|
|
39299
|
-
"fullscreen-on-mobile": false
|
|
39300
|
-
}, {
|
|
39301
|
-
default: withCtx(() => [
|
|
39302
|
-
createElementVNode("div", _hoisted_17$1, [
|
|
39303
|
-
createVNode(unref(StrandsAuth), {
|
|
39304
|
-
onSignedIn: handleSignedIn,
|
|
39305
|
-
onError: handleSignInError,
|
|
39306
|
-
"redirect-url": _ctx.redirectUrl,
|
|
39307
|
-
"in-modal": ""
|
|
39308
|
-
}, null, 8, ["redirect-url"])
|
|
39309
|
-
])
|
|
39310
|
-
]),
|
|
39311
|
-
_: 1
|
|
39312
|
-
}, 8, ["modelValue"])
|
|
39313
|
-
]),
|
|
39314
|
-
loading: withCtx(() => [
|
|
39315
|
-
createVNode(StrandsUiLoader, {
|
|
39316
|
-
variant: "circle",
|
|
39317
|
-
size: 30
|
|
39318
|
-
})
|
|
39319
|
-
]),
|
|
39320
39321
|
_: 3
|
|
39321
39322
|
}, 8, ["invert"])
|
|
39322
39323
|
], 512);
|
|
39323
39324
|
};
|
|
39324
39325
|
}
|
|
39325
39326
|
});
|
|
39326
|
-
const StrandsUserButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
39327
|
+
const StrandsUserButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3409efe5"]]);
|
|
39327
39328
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
39328
39329
|
__name: "StrandsNav",
|
|
39329
39330
|
props: {
|