@strands.gg/accui 2.11.4 → 2.11.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/index.es.js CHANGED
@@ -388,7 +388,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
388
388
  };
389
389
  }
390
390
  });
391
- const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-d7a80269"]]);
391
+ const UiButtonContent = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-97962cf6"]]);
392
392
  const _hoisted_1$Q = ["href", "target", "rel"];
393
393
  const _sfc_main$Y = /* @__PURE__ */ defineComponent({
394
394
  __name: "UiButton.Anchor",
@@ -3146,8 +3146,8 @@ const _hoisted_14$j = {
3146
3146
  class: "datetime-picker-panel datetime-picker-time-panel"
3147
3147
  };
3148
3148
  const _hoisted_15$g = { class: "time-selector" };
3149
- const _hoisted_16$g = { class: "time-column" };
3150
- const _hoisted_17$f = { class: "time-scroll" };
3149
+ const _hoisted_16$f = { class: "time-column" };
3150
+ const _hoisted_17$e = { class: "time-scroll" };
3151
3151
  const _hoisted_18$e = { class: "time-column" };
3152
3152
  const _hoisted_19$d = { class: "time-scroll" };
3153
3153
  const _hoisted_20$b = {
@@ -3624,9 +3624,9 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
3624
3624
  ])) : createCommentVNode("", true),
3625
3625
  showTimePanel.value ? (openBlock(), createElementBlock("div", _hoisted_14$j, [
3626
3626
  createElementVNode("div", _hoisted_15$g, [
3627
- createElementVNode("div", _hoisted_16$g, [
3627
+ createElementVNode("div", _hoisted_16$f, [
3628
3628
  _cache[6] || (_cache[6] = createElementVNode("label", { class: "time-label" }, "Hour", -1)),
3629
- createElementVNode("div", _hoisted_17$f, [
3629
+ createElementVNode("div", _hoisted_17$e, [
3630
3630
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(hours.value, (hour) => {
3631
3631
  return openBlock(), createBlock(StrandsUiButton, {
3632
3632
  key: hour,
@@ -26001,8 +26001,8 @@ const _hoisted_12$k = ["cx", "cy", "r"];
26001
26001
  const _hoisted_13$i = ["width", "height"];
26002
26002
  const _hoisted_14$i = { class: "crop-svg" };
26003
26003
  const _hoisted_15$f = ["cx", "cy", "r"];
26004
- const _hoisted_16$f = { class: "controls" };
26005
- const _hoisted_17$e = { class: "zoom-control" };
26004
+ const _hoisted_16$e = { class: "controls" };
26005
+ const _hoisted_17$d = { class: "zoom-control" };
26006
26006
  const _hoisted_18$d = ["min", "max"];
26007
26007
  const _hoisted_19$c = { class: "action-buttons" };
26008
26008
  const _hoisted_20$a = { class: "preview-section" };
@@ -26376,8 +26376,8 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
26376
26376
  ]))
26377
26377
  ])
26378
26378
  ]),
26379
- createElementVNode("div", _hoisted_16$f, [
26380
- createElementVNode("div", _hoisted_17$e, [
26379
+ createElementVNode("div", _hoisted_16$e, [
26380
+ createElementVNode("div", _hoisted_17$d, [
26381
26381
  createVNode(StrandsUiButton, {
26382
26382
  onClick: _cache[2] || (_cache[2] = ($event) => {
26383
26383
  zoom.value = Math.max(minZoom.value, zoom.value - 0.1);
@@ -28136,8 +28136,8 @@ const _hoisted_12$i = { class: "ui-color-picker-contrast-header" };
28136
28136
  const _hoisted_13$h = { class: "ui-color-picker-contrast-colors" };
28137
28137
  const _hoisted_14$h = { class: "ui-color-picker-contrast-color-demo" };
28138
28138
  const _hoisted_15$e = { class: "ui-color-picker-contrast-ratio" };
28139
- const _hoisted_16$e = { class: "ui-color-picker-contrast-levels" };
28140
- const _hoisted_17$d = { class: "ui-color-picker-contrast-level-value" };
28139
+ const _hoisted_16$d = { class: "ui-color-picker-contrast-levels" };
28140
+ const _hoisted_17$c = { class: "ui-color-picker-contrast-level-value" };
28141
28141
  const _hoisted_18$c = { class: "ui-color-picker-contrast-level-value" };
28142
28142
  const _hoisted_19$b = { class: "ui-color-picker-contrast-graph" };
28143
28143
  const _hoisted_20$9 = {
@@ -29942,7 +29942,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
29942
29942
  createElementVNode("div", _hoisted_15$e, toDisplayString(contrastData.value.ratio.toFixed(2)) + ":1 ", 1)
29943
29943
  ])
29944
29944
  ]),
29945
- createElementVNode("div", _hoisted_16$e, [
29945
+ createElementVNode("div", _hoisted_16$d, [
29946
29946
  createElementVNode("div", {
29947
29947
  class: normalizeClass(["ui-color-picker-contrast-level", {
29948
29948
  "ui-color-picker-contrast-level--pass": contrastData.value.normalText !== "FAIL",
@@ -29953,7 +29953,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
29953
29953
  createElementVNode("div", { class: "ui-color-picker-contrast-level-line ui-color-picker-contrast-level-line--solid" }),
29954
29954
  createElementVNode("span", { class: "ui-color-picker-contrast-level-label" }, "Normal Text")
29955
29955
  ], -1)),
29956
- createElementVNode("span", _hoisted_17$d, toDisplayString(contrastData.value.normalText), 1)
29956
+ createElementVNode("span", _hoisted_17$c, toDisplayString(contrastData.value.normalText), 1)
29957
29957
  ], 2),
29958
29958
  createElementVNode("div", {
29959
29959
  class: normalizeClass(["ui-color-picker-contrast-level", {
@@ -30737,8 +30737,8 @@ const _hoisted_12$h = { class: "ui-table-body" };
30737
30737
  const _hoisted_13$g = { class: "ui-table-group-content" };
30738
30738
  const _hoisted_14$g = { class: "ui-table-group-name" };
30739
30739
  const _hoisted_15$d = { class: "ui-table-group-count" };
30740
- const _hoisted_16$d = ["onClick"];
30741
- const _hoisted_17$c = ["onClick"];
30740
+ const _hoisted_16$c = ["onClick"];
30741
+ const _hoisted_17$b = ["onClick"];
30742
30742
  const _hoisted_18$b = { key: 1 };
30743
30743
  const _hoisted_19$a = { class: "ui-table-subrow-content" };
30744
30744
  const _hoisted_20$8 = { class: "ui-table-subrow-default" };
@@ -31268,9 +31268,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
31268
31268
  } : void 0
31269
31269
  ]), 1032, ["modelValue", "type", "options", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_18$b, toDisplayString(getCellValue(row, column.key, column)), 1))
31270
31270
  ], true)
31271
- ], 14, _hoisted_17$c);
31271
+ ], 14, _hoisted_17$b);
31272
31272
  }), 128))
31273
- ], 10, _hoisted_16$d)),
31273
+ ], 10, _hoisted_16$c)),
31274
31274
  expandedRows.value.has(rowIndex) ? (openBlock(), createElementBlock("div", {
31275
31275
  key: 2,
31276
31276
  class: "ui-table-subrow",
@@ -32205,13 +32205,13 @@ const _hoisted_13$e = {
32205
32205
  };
32206
32206
  const _hoisted_14$e = ["id", "checked", "indeterminate"];
32207
32207
  const _hoisted_15$c = { class: "checkbox-button" };
32208
- const _hoisted_16$c = {
32208
+ const _hoisted_16$b = {
32209
32209
  key: 0,
32210
32210
  class: "checkbox-check",
32211
32211
  viewBox: "0 0 20 20",
32212
32212
  fill: "currentColor"
32213
32213
  };
32214
- const _hoisted_17$b = {
32214
+ const _hoisted_17$a = {
32215
32215
  key: 1,
32216
32216
  class: "checkbox-indeterminate",
32217
32217
  viewBox: "0 0 20 20",
@@ -32403,13 +32403,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
32403
32403
  onChange: handleSelectAll
32404
32404
  }, null, 40, _hoisted_14$e),
32405
32405
  createElementVNode("div", _hoisted_15$c, [
32406
- isAllSelected.value ? (openBlock(), createElementBlock("svg", _hoisted_16$c, [..._cache[2] || (_cache[2] = [
32406
+ isAllSelected.value ? (openBlock(), createElementBlock("svg", _hoisted_16$b, [..._cache[2] || (_cache[2] = [
32407
32407
  createElementVNode("path", {
32408
32408
  "fill-rule": "evenodd",
32409
32409
  d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
32410
32410
  "clip-rule": "evenodd"
32411
32411
  }, null, -1)
32412
- ])])) : isSomeSelected.value ? (openBlock(), createElementBlock("svg", _hoisted_17$b, [..._cache[3] || (_cache[3] = [
32412
+ ])])) : isSomeSelected.value ? (openBlock(), createElementBlock("svg", _hoisted_17$a, [..._cache[3] || (_cache[3] = [
32413
32413
  createElementVNode("path", {
32414
32414
  "fill-rule": "evenodd",
32415
32415
  d: "M4 10a1 1 0 011-1h10a1 1 0 110 2H5a1 1 0 01-1-1z",
@@ -32809,8 +32809,8 @@ const _hoisted_13$d = {
32809
32809
  };
32810
32810
  const _hoisted_14$d = { class: "mfa-single-method-content" };
32811
32811
  const _hoisted_15$b = { class: "mfa-single-method-name" };
32812
- const _hoisted_16$b = { class: "mfa-single-method-type" };
32813
- const _hoisted_17$a = {
32812
+ const _hoisted_16$a = { class: "mfa-single-method-type" };
32813
+ const _hoisted_17$9 = {
32814
32814
  key: 2,
32815
32815
  class: "mfa-email-request"
32816
32816
  };
@@ -33298,11 +33298,11 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
33298
33298
  })),
33299
33299
  createElementVNode("div", null, [
33300
33300
  createElementVNode("h3", _hoisted_15$b, toDisplayString(selectedMethod.value.device_name), 1),
33301
- createElementVNode("p", _hoisted_16$b, toDisplayString(unref(getDeviceTypeName)(selectedMethod.value.device_type)), 1)
33301
+ createElementVNode("p", _hoisted_16$a, toDisplayString(unref(getDeviceTypeName)(selectedMethod.value.device_type)), 1)
33302
33302
  ])
33303
33303
  ])
33304
33304
  ])) : createCommentVNode("", true),
33305
- selectedMethod.value?.device_type === "email" && !emailCodeSent.value ? (openBlock(), createElementBlock("div", _hoisted_17$a, [
33305
+ selectedMethod.value?.device_type === "email" && !emailCodeSent.value ? (openBlock(), createElementBlock("div", _hoisted_17$9, [
33306
33306
  _cache[10] || (_cache[10] = createElementVNode("p", { class: "mfa-email-request-text" }, "Click below to receive your verification code", -1)),
33307
33307
  createVNode(unref(CompoundUiButton), {
33308
33308
  variant: "primary",
@@ -33794,8 +33794,8 @@ const _hoisted_14$c = {
33794
33794
  class: "auth-oauth-generic-icon"
33795
33795
  };
33796
33796
  const _hoisted_15$a = { class: "auth-oauth-generic-text" };
33797
- const _hoisted_16$a = { class: "auth-oauth-text" };
33798
- const _hoisted_17$9 = {
33797
+ const _hoisted_16$9 = { class: "auth-oauth-text" };
33798
+ const _hoisted_17$8 = {
33799
33799
  key: 0,
33800
33800
  class: "auth-divider"
33801
33801
  };
@@ -34180,7 +34180,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
34180
34180
  createElementVNode("span", _hoisted_15$a, toDisplayString((provider.displayName || provider.name).charAt(0).toUpperCase()), 1)
34181
34181
  ]))
34182
34182
  ]),
34183
- createElementVNode("span", _hoisted_16$a, " Continue with " + toDisplayString(provider.displayName || provider.name.charAt(0).toUpperCase() + provider.name.slice(1)), 1)
34183
+ createElementVNode("span", _hoisted_16$9, " Continue with " + toDisplayString(provider.displayName || provider.name.charAt(0).toUpperCase() + provider.name.slice(1)), 1)
34184
34184
  ]),
34185
34185
  _: 2
34186
34186
  }, 1032, ["disabled", "onClick"]);
@@ -34198,7 +34198,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
34198
34198
  onAfterLeave
34199
34199
  }, {
34200
34200
  default: withCtx(() => [
34201
- !isPasswordReset.value && displayProviders.value?.length ? (openBlock(), createElementBlock("div", _hoisted_17$9, [
34201
+ !isPasswordReset.value && displayProviders.value?.length ? (openBlock(), createElementBlock("div", _hoisted_17$8, [
34202
34202
  createElementVNode("span", _hoisted_18$8, "Or " + toDisplayString(isSignUp.value ? "create account" : "sign in") + " with email", 1)
34203
34203
  ])) : createCommentVNode("", true)
34204
34204
  ]),
@@ -34447,8 +34447,8 @@ const _hoisted_13$b = {
34447
34447
  };
34448
34448
  const _hoisted_14$b = { class: "accui-form-group" };
34449
34449
  const _hoisted_15$9 = { class: "accui-input-wrapper" };
34450
- const _hoisted_16$9 = { class: "accui-form-group" };
34451
- const _hoisted_17$8 = { class: "accui-input-wrapper" };
34450
+ const _hoisted_16$8 = { class: "accui-form-group" };
34451
+ const _hoisted_17$7 = { class: "accui-input-wrapper" };
34452
34452
  const _hoisted_18$7 = { class: "accui-auth-links" };
34453
34453
  const _hoisted_19$6 = { class: "accui-auth-link-text" };
34454
34454
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
@@ -34618,9 +34618,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
34618
34618
  ])
34619
34619
  ])
34620
34620
  ]),
34621
- createElementVNode("div", _hoisted_16$9, [
34621
+ createElementVNode("div", _hoisted_16$8, [
34622
34622
  _cache[11] || (_cache[11] = createElementVNode("label", { class: "accui-form-label" }, "Password", -1)),
34623
- createElementVNode("div", _hoisted_17$8, [
34623
+ createElementVNode("div", _hoisted_17$7, [
34624
34624
  _cache[10] || (_cache[10] = createElementVNode("svg", {
34625
34625
  class: "accui-input-icon",
34626
34626
  viewBox: "0 0 20 20",
@@ -34737,8 +34737,8 @@ const _hoisted_15$8 = {
34737
34737
  key: 0,
34738
34738
  class: "oauth-icon"
34739
34739
  };
34740
- const _hoisted_16$8 = ["src", "alt"];
34741
- const _hoisted_17$7 = {
34740
+ const _hoisted_16$7 = ["src", "alt"];
34741
+ const _hoisted_17$6 = {
34742
34742
  key: 1,
34743
34743
  viewBox: "0 0 24 24",
34744
34744
  class: "oauth-icon"
@@ -34951,8 +34951,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
34951
34951
  class: "oauth-icon-image",
34952
34952
  width: "20",
34953
34953
  height: "20"
34954
- }, null, 8, _hoisted_16$8)
34955
- ])) : provider.id === "google" ? (openBlock(), createElementBlock("svg", _hoisted_17$7, [..._cache[6] || (_cache[6] = [
34954
+ }, null, 8, _hoisted_16$7)
34955
+ ])) : provider.id === "google" ? (openBlock(), createElementBlock("svg", _hoisted_17$6, [..._cache[6] || (_cache[6] = [
34956
34956
  createElementVNode("path", {
34957
34957
  fill: "#4285F4",
34958
34958
  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"
@@ -35459,8 +35459,8 @@ const _hoisted_14$8 = {
35459
35459
  class: "totp-setup-step"
35460
35460
  };
35461
35461
  const _hoisted_15$7 = { class: "totp-setup-backup-codes" };
35462
- const _hoisted_16$7 = { class: "totp-setup-backup-grid-wrapper" };
35463
- const _hoisted_17$6 = { class: "totp-setup-backup-grid" };
35462
+ const _hoisted_16$6 = { class: "totp-setup-backup-grid-wrapper" };
35463
+ const _hoisted_17$5 = { class: "totp-setup-backup-grid" };
35464
35464
  const _hoisted_18$5 = { class: "totp-setup-backup-actions" };
35465
35465
  const _hoisted_19$4 = { class: "totp-setup-final-actions" };
35466
35466
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
@@ -35745,8 +35745,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
35745
35745
  createElementVNode("p", { class: "totp-setup-backup-header-description" }, " Store these codes in a safe place. Each code can only be used once. ")
35746
35746
  ])
35747
35747
  ], -1)),
35748
- createElementVNode("div", _hoisted_16$7, [
35749
- createElementVNode("div", _hoisted_17$6, [
35748
+ createElementVNode("div", _hoisted_16$6, [
35749
+ createElementVNode("div", _hoisted_17$5, [
35750
35750
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(totpSetupData.value?.backup_codes, (code, index) => {
35751
35751
  return openBlock(), createElementBlock("div", {
35752
35752
  key: index,
@@ -36136,8 +36136,8 @@ const _hoisted_12$7 = {
36136
36136
  const _hoisted_13$7 = { class: "hardware-key-setup-backup-codes" };
36137
36137
  const _hoisted_14$7 = { class: "hardware-key-setup-codes-container" };
36138
36138
  const _hoisted_15$6 = { class: "hardware-key-setup-codes-grid" };
36139
- const _hoisted_16$6 = { class: "hardware-key-setup-copy-action" };
36140
- const _hoisted_17$5 = { class: "hardware-key-setup-final-action" };
36139
+ const _hoisted_16$5 = { class: "hardware-key-setup-copy-action" };
36140
+ const _hoisted_17$4 = { class: "hardware-key-setup-final-action" };
36141
36141
  const _hoisted_18$4 = {
36142
36142
  key: 4,
36143
36143
  class: "hardware-key-setup-step"
@@ -36598,7 +36598,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
36598
36598
  }), 128))
36599
36599
  ])
36600
36600
  ]),
36601
- createElementVNode("div", _hoisted_16$6, [
36601
+ createElementVNode("div", _hoisted_16$5, [
36602
36602
  createVNode(unref(CompoundUiButton), {
36603
36603
  variant: "secondary",
36604
36604
  size: "sm",
@@ -36611,7 +36611,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
36611
36611
  })
36612
36612
  ])
36613
36613
  ]),
36614
- createElementVNode("div", _hoisted_17$5, [
36614
+ createElementVNode("div", _hoisted_17$4, [
36615
36615
  createVNode(unref(CompoundUiButton), {
36616
36616
  variant: "primary",
36617
36617
  onClick: finish
@@ -36698,7 +36698,7 @@ const _hoisted_14$6 = {
36698
36698
  class: "backup-codes-regenerate-warning"
36699
36699
  };
36700
36700
  const _hoisted_15$5 = { class: "backup-codes-regenerate-content" };
36701
- const _hoisted_16$5 = { class: "backup-codes-regenerate-actions" };
36701
+ const _hoisted_16$4 = { class: "backup-codes-regenerate-actions" };
36702
36702
  const _sfc_main$e = /* @__PURE__ */ defineComponent({
36703
36703
  __name: "StrandsBackupCodesModal",
36704
36704
  props: {
@@ -36909,7 +36909,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
36909
36909
  createElementVNode("div", null, [
36910
36910
  _cache[11] || (_cache[11] = createElementVNode("p", { class: "backup-codes-regenerate-title" }, "Regenerate Backup Codes?", -1)),
36911
36911
  _cache[12] || (_cache[12] = createElementVNode("p", { class: "backup-codes-regenerate-description" }, " This will invalidate all current backup codes. Make sure to save the new ones. ", -1)),
36912
- createElementVNode("div", _hoisted_16$5, [
36912
+ createElementVNode("div", _hoisted_16$4, [
36913
36913
  createVNode(unref(CompoundUiButton), {
36914
36914
  variant: "primary",
36915
36915
  size: "sm",
@@ -37052,8 +37052,8 @@ const _hoisted_12$5 = { class: "mfa-device-option" };
37052
37052
  const _hoisted_13$5 = { class: "mfa-device-option-content" };
37053
37053
  const _hoisted_14$5 = { class: "mfa-device-option-icon" };
37054
37054
  const _hoisted_15$4 = { class: "mfa-device-option" };
37055
- const _hoisted_16$4 = { class: "mfa-device-option-content" };
37056
- const _hoisted_17$4 = { class: "mfa-device-option-icon" };
37055
+ const _hoisted_16$3 = { class: "mfa-device-option-content" };
37056
+ const _hoisted_17$3 = { class: "mfa-device-option-icon" };
37057
37057
  const _hoisted_18$3 = { class: "mfa-device-option" };
37058
37058
  const _hoisted_19$2 = { class: "mfa-device-option-content" };
37059
37059
  const _hoisted_20$2 = { class: "mfa-device-option-icon" };
@@ -37326,8 +37326,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
37326
37326
  })
37327
37327
  ]),
37328
37328
  createElementVNode("div", _hoisted_15$4, [
37329
- createElementVNode("div", _hoisted_16$4, [
37330
- createElementVNode("div", _hoisted_17$4, [
37329
+ createElementVNode("div", _hoisted_16$3, [
37330
+ createElementVNode("div", _hoisted_17$3, [
37331
37331
  createVNode(Mail, { size: 24 })
37332
37332
  ]),
37333
37333
  _cache[16] || (_cache[16] = createElementVNode("div", { class: "mfa-device-option-info" }, [
@@ -37795,11 +37795,11 @@ const _hoisted_12$3 = { class: "sessions-list" };
37795
37795
  const _hoisted_13$3 = { class: "session-header" };
37796
37796
  const _hoisted_14$3 = { class: "session-device-info" };
37797
37797
  const _hoisted_15$3 = { class: "session-device-name" };
37798
- const _hoisted_16$3 = {
37798
+ const _hoisted_16$2 = {
37799
37799
  key: 0,
37800
37800
  class: "session-current-badge"
37801
37801
  };
37802
- const _hoisted_17$3 = { class: "session-location" };
37802
+ const _hoisted_17$2 = { class: "session-location" };
37803
37803
  const _hoisted_18$2 = {
37804
37804
  key: 0,
37805
37805
  class: "session-actions"
@@ -38075,9 +38075,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
38075
38075
  createElementVNode("div", _hoisted_14$3, [
38076
38076
  createElementVNode("h4", _hoisted_15$3, [
38077
38077
  createTextVNode(toDisplayString(getDeviceName(session)) + " ", 1),
38078
- session.is_current ? (openBlock(), createElementBlock("span", _hoisted_16$3, " Current ")) : createCommentVNode("", true)
38078
+ session.is_current ? (openBlock(), createElementBlock("span", _hoisted_16$2, " Current ")) : createCommentVNode("", true)
38079
38079
  ]),
38080
- createElementVNode("div", _hoisted_17$3, [
38080
+ createElementVNode("div", _hoisted_17$2, [
38081
38081
  createVNode(MapPin, { size: 14 }),
38082
38082
  createElementVNode("span", null, toDisplayString(getLocationString(session)), 1)
38083
38083
  ])
@@ -38177,11 +38177,11 @@ const _hoisted_12$2 = { class: "profile-section" };
38177
38177
  const _hoisted_13$2 = { class: "profile-setting-card" };
38178
38178
  const _hoisted_14$2 = { class: "profile-setting-header" };
38179
38179
  const _hoisted_15$2 = { class: "profile-setting-subtitle" };
38180
- const _hoisted_16$2 = {
38180
+ const _hoisted_16$1 = {
38181
38181
  key: 0,
38182
38182
  class: "profile-change-form"
38183
38183
  };
38184
- const _hoisted_17$2 = { class: "profile-field-section" };
38184
+ const _hoisted_17$1 = { class: "profile-field-section" };
38185
38185
  const _hoisted_18$1 = { class: "profile-field-header" };
38186
38186
  const _hoisted_19 = { class: "profile-field-subtitle" };
38187
38187
  const _hoisted_20 = {
@@ -39013,7 +39013,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
39013
39013
  ]),
39014
39014
  createVNode(Transition, { name: "expand" }, {
39015
39015
  default: withCtx(() => [
39016
- showEmailChange.value ? (openBlock(), createElementBlock("div", _hoisted_16$2, [
39016
+ showEmailChange.value ? (openBlock(), createElementBlock("div", _hoisted_16$1, [
39017
39017
  createVNode(unref(StrandsUiInput), {
39018
39018
  modelValue: emailChangeForm.newEmail,
39019
39019
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => emailChangeForm.newEmail = $event),
@@ -39046,7 +39046,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
39046
39046
  _: 1
39047
39047
  })
39048
39048
  ]),
39049
- createElementVNode("div", _hoisted_17$2, [
39049
+ createElementVNode("div", _hoisted_17$1, [
39050
39050
  createElementVNode("div", _hoisted_18$1, [
39051
39051
  createElementVNode("div", null, [
39052
39052
  _cache[16] || (_cache[16] = createElementVNode("h4", { class: "profile-field-title" }, "Username", -1)),
@@ -39758,35 +39758,33 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
39758
39758
  };
39759
39759
  }
39760
39760
  });
39761
- const _hoisted_1$3 = { class: "user-button-content" };
39762
- const _hoisted_2$2 = {
39761
+ const _hoisted_1$3 = {
39763
39762
  key: 0,
39764
39763
  class: "user-info"
39765
39764
  };
39766
- const _hoisted_3$2 = { class: "user-name" };
39767
- const _hoisted_4$2 = { class: "avatar-container" };
39768
- const _hoisted_5$1 = { class: "avatar-wrapper" };
39769
- const _hoisted_6$1 = ["src", "alt"];
39770
- const _hoisted_7$1 = {
39765
+ const _hoisted_2$2 = { class: "user-name" };
39766
+ const _hoisted_3$2 = { class: "avatar-wrapper" };
39767
+ const _hoisted_4$2 = ["src", "alt"];
39768
+ const _hoisted_5$1 = {
39771
39769
  key: 1,
39772
39770
  class: "avatar-default"
39773
39771
  };
39774
- const _hoisted_8$1 = ["onKeydown"];
39775
- const _hoisted_9$1 = { class: "dropdown-content" };
39776
- const _hoisted_10$1 = { class: "dropdown-header" };
39777
- const _hoisted_11$1 = {
39772
+ const _hoisted_6$1 = ["onKeydown"];
39773
+ const _hoisted_7$1 = { class: "dropdown-content" };
39774
+ const _hoisted_8$1 = { class: "dropdown-header" };
39775
+ const _hoisted_9$1 = {
39778
39776
  key: 0,
39779
39777
  class: "dropdown-avatar-container"
39780
39778
  };
39781
- const _hoisted_12$1 = ["src", "alt"];
39782
- const _hoisted_13$1 = {
39779
+ const _hoisted_10$1 = ["src", "alt"];
39780
+ const _hoisted_11$1 = {
39783
39781
  key: 1,
39784
39782
  class: "dropdown-avatar-default"
39785
39783
  };
39786
- const _hoisted_14$1 = { class: "dropdown-user-details" };
39787
- const _hoisted_15$1 = { class: "dropdown-user-name" };
39788
- const _hoisted_16$1 = { class: "dropdown-user-email" };
39789
- const _hoisted_17$1 = { class: "sign-in-auth-wrapper" };
39784
+ const _hoisted_12$1 = { class: "dropdown-user-details" };
39785
+ const _hoisted_13$1 = { class: "dropdown-user-name" };
39786
+ const _hoisted_14$1 = { class: "dropdown-user-email" };
39787
+ const _hoisted_15$1 = { class: "sign-in-auth-wrapper" };
39790
39788
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
39791
39789
  __name: "StrandsUserButton",
39792
39790
  props: {
@@ -39905,7 +39903,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
39905
39903
  onClick: openSignIn,
39906
39904
  "aria-label": "Sign in"
39907
39905
  }, {
39908
- default: withCtx(() => [..._cache[8] || (_cache[8] = [
39906
+ "leading-icon": withCtx(() => [..._cache[8] || (_cache[8] = [
39909
39907
  createElementVNode("svg", {
39910
39908
  class: "sign-in-icon",
39911
39909
  fill: "none",
@@ -39918,9 +39916,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
39918
39916
  "stroke-width": "2",
39919
39917
  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"
39920
39918
  })
39921
- ], -1),
39922
- createElementVNode("span", null, "Sign In", -1)
39919
+ ], -1)
39923
39920
  ])]),
39921
+ default: withCtx(() => [
39922
+ _cache[9] || (_cache[9] = createTextVNode(" Sign In ", -1))
39923
+ ]),
39924
39924
  _: 1
39925
39925
  }),
39926
39926
  createVNode(unref(UiModal), {
@@ -39929,7 +39929,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
39929
39929
  "fullscreen-on-mobile": false
39930
39930
  }, {
39931
39931
  default: withCtx(() => [
39932
- createElementVNode("div", _hoisted_17$1, [
39932
+ createElementVNode("div", _hoisted_15$1, [
39933
39933
  createVNode(unref(StrandsAuth), {
39934
39934
  onSignedIn: handleSignedIn,
39935
39935
  onError: handleSignInError,
@@ -39964,51 +39964,51 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
39964
39964
  "aria-expanded": showDropdown.value,
39965
39965
  "aria-label": "User menu"
39966
39966
  }, {
39967
- default: withCtx(() => [
39968
- createElementVNode("div", _hoisted_1$3, [
39969
- !_ctx.hideUser ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
39970
- createElementVNode("div", _hoisted_3$2, toDisplayString(displayName.value), 1)
39971
- ])) : createCommentVNode("", true),
39972
- createElementVNode("div", _hoisted_4$2, [
39973
- createElementVNode("div", _hoisted_5$1, [
39974
- user.value?.avatar ? (openBlock(), createElementBlock("img", {
39975
- key: 0,
39976
- src: user.value.avatar,
39977
- alt: `${user.value.firstName || user.value.email}'s avatar`,
39978
- class: "avatar-image",
39979
- width: "32",
39980
- height: "32",
39981
- loading: "eager"
39982
- }, null, 8, _hoisted_6$1)) : (openBlock(), createElementBlock("div", _hoisted_7$1, [..._cache[2] || (_cache[2] = [
39983
- createElementVNode("svg", {
39984
- class: "avatar-icon",
39985
- fill: "currentColor",
39986
- viewBox: "0 0 20 20"
39987
- }, [
39988
- createElementVNode("path", {
39989
- "fill-rule": "evenodd",
39990
- d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
39991
- "clip-rule": "evenodd"
39992
- })
39993
- ], -1)
39994
- ])]))
39995
- ])
39996
- ]),
39997
- (openBlock(), createElementBlock("svg", {
39998
- class: normalizeClass(["dropdown-arrow", { "dropdown-arrow-open": showDropdown.value }]),
39999
- fill: "none",
40000
- stroke: "currentColor",
40001
- viewBox: "0 0 24 24"
40002
- }, [..._cache[3] || (_cache[3] = [
40003
- createElementVNode("path", {
40004
- "stroke-linecap": "round",
40005
- "stroke-linejoin": "round",
40006
- "stroke-width": "2",
40007
- d: "M19 9l-7 7-7-7"
40008
- }, null, -1)
40009
- ])], 2))
39967
+ "leading-icon": withCtx(() => [
39968
+ createElementVNode("div", _hoisted_3$2, [
39969
+ user.value?.avatar ? (openBlock(), createElementBlock("img", {
39970
+ key: 0,
39971
+ src: user.value.avatar,
39972
+ alt: `${user.value.firstName || user.value.email}'s avatar`,
39973
+ class: "avatar-image",
39974
+ width: "32",
39975
+ height: "32",
39976
+ loading: "eager"
39977
+ }, null, 8, _hoisted_4$2)) : (openBlock(), createElementBlock("div", _hoisted_5$1, [..._cache[2] || (_cache[2] = [
39978
+ createElementVNode("svg", {
39979
+ class: "avatar-icon",
39980
+ fill: "currentColor",
39981
+ viewBox: "0 0 20 20"
39982
+ }, [
39983
+ createElementVNode("path", {
39984
+ "fill-rule": "evenodd",
39985
+ d: "M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",
39986
+ "clip-rule": "evenodd"
39987
+ })
39988
+ ], -1)
39989
+ ])]))
40010
39990
  ])
40011
39991
  ]),
39992
+ "trailing-icon": withCtx(() => [
39993
+ (openBlock(), createElementBlock("svg", {
39994
+ class: normalizeClass(["dropdown-arrow", { "dropdown-arrow-open": showDropdown.value }]),
39995
+ fill: "none",
39996
+ stroke: "currentColor",
39997
+ viewBox: "0 0 24 24"
39998
+ }, [..._cache[3] || (_cache[3] = [
39999
+ createElementVNode("path", {
40000
+ "stroke-linecap": "round",
40001
+ "stroke-linejoin": "round",
40002
+ "stroke-width": "2",
40003
+ d: "M19 9l-7 7-7-7"
40004
+ }, null, -1)
40005
+ ])], 2))
40006
+ ]),
40007
+ default: withCtx(() => [
40008
+ !_ctx.hideUser ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
40009
+ createElementVNode("div", _hoisted_2$2, toDisplayString(displayName.value), 1)
40010
+ ])) : createCommentVNode("", true)
40011
+ ]),
40012
40012
  _: 1
40013
40013
  }, 8, ["active", "onKeydown", "aria-expanded"]),
40014
40014
  (openBlock(), createBlock(Teleport, { to: "body" }, [
@@ -40028,9 +40028,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
40028
40028
  withKeys(withModifiers(focusLast, ["prevent"]), ["end"])
40029
40029
  ]
40030
40030
  }, [
40031
- createElementVNode("div", _hoisted_9$1, [
40032
- createElementVNode("div", _hoisted_10$1, [
40033
- user.value ? (openBlock(), createElementBlock("div", _hoisted_11$1, [
40031
+ createElementVNode("div", _hoisted_7$1, [
40032
+ createElementVNode("div", _hoisted_8$1, [
40033
+ user.value ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
40034
40034
  createVNode(unref(UiLevelProgress), {
40035
40035
  size: 80,
40036
40036
  value: user.value.xp,
@@ -40047,7 +40047,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
40047
40047
  class: "dropdown-avatar-image",
40048
40048
  width: "64",
40049
40049
  height: "64"
40050
- }, null, 8, _hoisted_12$1)) : (openBlock(), createElementBlock("div", _hoisted_13$1, [..._cache[4] || (_cache[4] = [
40050
+ }, null, 8, _hoisted_10$1)) : (openBlock(), createElementBlock("div", _hoisted_11$1, [..._cache[4] || (_cache[4] = [
40051
40051
  createElementVNode("svg", {
40052
40052
  class: "dropdown-avatar-icon",
40053
40053
  fill: "currentColor",
@@ -40061,9 +40061,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
40061
40061
  ], -1)
40062
40062
  ])]))
40063
40063
  ])) : createCommentVNode("", true),
40064
- createElementVNode("div", _hoisted_14$1, [
40065
- createElementVNode("div", _hoisted_15$1, toDisplayString(displayName.value), 1),
40066
- createElementVNode("div", _hoisted_16$1, toDisplayString(user.value?.email), 1)
40064
+ createElementVNode("div", _hoisted_12$1, [
40065
+ createElementVNode("div", _hoisted_13$1, toDisplayString(displayName.value), 1),
40066
+ createElementVNode("div", _hoisted_14$1, toDisplayString(user.value?.email), 1)
40067
40067
  ])
40068
40068
  ]),
40069
40069
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
@@ -40092,7 +40092,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
40092
40092
  _: 1
40093
40093
  })
40094
40094
  ])
40095
- ], 44, _hoisted_8$1)) : createCommentVNode("", true)
40095
+ ], 44, _hoisted_6$1)) : createCommentVNode("", true)
40096
40096
  ])),
40097
40097
  createVNode(unref(UiModal), {
40098
40098
  modelValue: showProfileModal.value,
@@ -40115,7 +40115,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
40115
40115
  };
40116
40116
  }
40117
40117
  });
40118
- const StrandsUserButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-eb787256"]]);
40118
+ const StrandsUserButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-a0ed0ab9"]]);
40119
40119
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
40120
40120
  __name: "StrandsNav",
40121
40121
  props: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strands.gg/accui",
3
- "version": "2.11.4",
3
+ "version": "2.11.5",
4
4
  "description": "Strands Authentication UI Components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",