@strands.gg/accui 2.15.15 → 2.15.16

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.
@@ -25051,8 +25051,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
25051
25051
  emits: ["update:modelValue", "blur", "focus"],
25052
25052
  setup(__props, { emit: __emit }) {
25053
25053
  useCssVars((_ctx) => ({
25054
- "97ca656e": _ctx.minHeight,
25055
- "f3e0924a": _ctx.maxHeight
25054
+ "e662f704": _ctx.minHeight,
25055
+ "5ec36e10": _ctx.maxHeight
25056
25056
  }));
25057
25057
  const props = __props;
25058
25058
  const emit = __emit;
@@ -25456,7 +25456,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
25456
25456
  squircle: "",
25457
25457
  onClick: ($event) => handleControlAction(control),
25458
25458
  disabled: _ctx.disabled,
25459
- title: control.label
25459
+ title: control.tooltip || control.label
25460
25460
  }, createSlots({
25461
25461
  default: withCtx(() => [
25462
25462
  control.label && control.icon ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(control.label), 1)) : control.label ? (openBlock(), createElementBlock(Fragment$1, { key: 1 }, [
@@ -25481,20 +25481,22 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
25481
25481
  squircle: "",
25482
25482
  onClick: ($event) => toggleDropdown(index),
25483
25483
  disabled: _ctx.disabled,
25484
- title: control.label,
25484
+ title: control.tooltip || control.label,
25485
25485
  class: normalizeClass({ "input-richtext-dropdown-open": activeDropdownIndex.value === index })
25486
25486
  }, createSlots({
25487
- default: withCtx(() => [
25488
- control.label ? (openBlock(), createElementBlock("span", _hoisted_10, toDisplayString(control.label), 1)) : createCommentVNode("", true),
25487
+ "trailing-icon": withCtx(() => [
25489
25488
  createVNode(unref(ChevronDown), {
25490
25489
  size: 14,
25491
25490
  class: "input-richtext-dropdown-arrow"
25492
25491
  })
25493
25492
  ]),
25493
+ default: withCtx(() => [
25494
+ control.label ? (openBlock(), createElementBlock("span", _hoisted_10, toDisplayString(control.label), 1)) : createCommentVNode("", true)
25495
+ ]),
25494
25496
  _: 2
25495
25497
  }, [
25496
25498
  control.icon ? {
25497
- name: "icon",
25499
+ name: "leading-icon",
25498
25500
  fn: withCtx(() => [
25499
25501
  (openBlock(), createBlock(resolveDynamicComponent(control.icon), { size: 16 }))
25500
25502
  ]),
@@ -25543,7 +25545,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
25543
25545
  };
25544
25546
  }
25545
25547
  });
25546
- const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-b531e240"]]);
25548
+ const UiInputRichText = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-09a16a56"]]);
25547
25549
  const _hoisted_1$2 = { class: "pincode-inputs" };
25548
25550
  const _hoisted_2$2 = {
25549
25551
  key: 0,
@@ -26142,11 +26144,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
26142
26144
  error: props.error,
26143
26145
  "min-height": props.minHeight,
26144
26146
  "max-height": props.maxHeight,
26147
+ "custom-controls": props.customControls,
26145
26148
  tabindex: _ctx.tabindex,
26146
26149
  "onUpdate:modelValue": handleInput,
26147
26150
  onBlur: handleBlur,
26148
26151
  onFocus: handleFocus
26149
- }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "input-id", "error", "min-height", "max-height", "tabindex"])) : _ctx.type === "pincode" ? (openBlock(), createBlock(UiInputPincode, {
26152
+ }, null, 8, ["model-value", "placeholder", "disabled", "readonly", "input-id", "error", "min-height", "max-height", "custom-controls", "tabindex"])) : _ctx.type === "pincode" ? (openBlock(), createBlock(UiInputPincode, {
26150
26153
  key: 8,
26151
26154
  "model-value": currentValue.value,
26152
26155
  "max-length": props.maxLength || 6,
@@ -26201,7 +26204,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
26201
26204
  };
26202
26205
  }
26203
26206
  });
26204
- const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-bbde0259"]]);
26207
+ const StrandsUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-faec04e1"]]);
26205
26208
  const _hoisted_1 = ["disabled", "aria-disabled"];
26206
26209
  const _hoisted_2 = ["href", "target", "rel", "aria-disabled"];
26207
26210
  const _sfc_main = /* @__PURE__ */ defineComponent({