@strands.gg/accui 2.15.1 → 2.15.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/index.cjs.js +1 -1
- package/dist/index.es.js +7 -11
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5702,12 +5702,7 @@ function useDarkMode() {
|
|
|
5702
5702
|
mediaQuery.addListener(handleSystemThemeChange);
|
|
5703
5703
|
}
|
|
5704
5704
|
const storedTheme = getStoredTheme();
|
|
5705
|
-
|
|
5706
|
-
currentTheme.value = "light";
|
|
5707
|
-
setStoredTheme("light");
|
|
5708
|
-
} else {
|
|
5709
|
-
currentTheme.value = storedTheme;
|
|
5710
|
-
}
|
|
5705
|
+
currentTheme.value = storedTheme;
|
|
5711
5706
|
applyTheme(isDark.value);
|
|
5712
5707
|
watch(isDark, (newIsDark) => {
|
|
5713
5708
|
applyTheme(newIsDark);
|
|
@@ -13995,7 +13990,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
13995
13990
|
redirectUrl: { default: "/" },
|
|
13996
13991
|
user: { default: void 0 },
|
|
13997
13992
|
menuAlign: { default: "right" },
|
|
13998
|
-
menuVerticalAlign: { default: "bottom" }
|
|
13993
|
+
menuVerticalAlign: { default: "bottom" },
|
|
13994
|
+
fullWidth: { type: Boolean, default: false }
|
|
13999
13995
|
},
|
|
14000
13996
|
emits: ["profile-updated", "signed-out", "signed-in"],
|
|
14001
13997
|
setup(__props, { emit: __emit }) {
|
|
@@ -14187,7 +14183,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14187
14183
|
key: 0,
|
|
14188
14184
|
ref_key: "triggerRef",
|
|
14189
14185
|
ref: triggerRef,
|
|
14190
|
-
class: normalizeClass(["mini-profile-static-card", `user-button-size-${_ctx.size}`, { "mini-profile-active": showDropdown.value }]),
|
|
14186
|
+
class: normalizeClass(["mini-profile-static-card", `user-button-size-${_ctx.size}`, { "mini-profile-active": showDropdown.value, "full-width": _ctx.fullWidth }]),
|
|
14191
14187
|
onClick: toggleDropdown,
|
|
14192
14188
|
onKeydown: [
|
|
14193
14189
|
withKeys(toggleDropdown, ["enter"]),
|
|
@@ -14254,7 +14250,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14254
14250
|
key: 1,
|
|
14255
14251
|
ref_key: "triggerRef",
|
|
14256
14252
|
ref: triggerRef,
|
|
14257
|
-
class: "user-button-wrapper"
|
|
14253
|
+
class: normalizeClass(["user-button-wrapper", { "full-width": _ctx.fullWidth }])
|
|
14258
14254
|
}, [
|
|
14259
14255
|
createVNode(unref(CompoundUiButton), {
|
|
14260
14256
|
color: "secondary",
|
|
@@ -14314,7 +14310,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14314
14310
|
]),
|
|
14315
14311
|
_: 1
|
|
14316
14312
|
}, 8, ["size", "active", "onKeydown", "aria-expanded"])
|
|
14317
|
-
],
|
|
14313
|
+
], 2)),
|
|
14318
14314
|
(openBlock(), createBlock(Teleport, { to: "body" }, [
|
|
14319
14315
|
showDropdown.value ? (openBlock(), createElementBlock("div", {
|
|
14320
14316
|
key: 0,
|
|
@@ -14419,7 +14415,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14419
14415
|
};
|
|
14420
14416
|
}
|
|
14421
14417
|
});
|
|
14422
|
-
const StrandsUserButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
14418
|
+
const StrandsUserButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-11f7829e"]]);
|
|
14423
14419
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
14424
14420
|
__name: "StrandsNav",
|
|
14425
14421
|
props: {
|