@rebilly/revel 12.34.9 → 12.34.11

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [12.34.9](https://github.com/Rebilly/rebilly/compare/revel-v12.34.8...revel-v12.34.9) (2026-06-03)
1
+ ## [12.34.11](https://github.com/Rebilly/rebilly/compare/revel-v12.34.10...revel-v12.34.11) (2026-06-03)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * **revel:** Tabs indicator doesn't update on resize ([#22194](https://github.com/Rebilly/rebilly/issues/22194)) ([9cd3f22](https://github.com/Rebilly/rebilly/commit/9cd3f22a675e178399d7518763f41bc63c7116e1))
6
+ * **revel:** omit disabled attribute when button is active ([#22241](https://github.com/Rebilly/rebilly/issues/22241)) ([dbfb75d](https://github.com/Rebilly/rebilly/commit/dbfb75dd12d4b72450bde845fa9d80a6d5ee2c57))
@@ -722,6 +722,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
722
722
  placeholder: string;
723
723
  label: string;
724
724
  disabled: boolean;
725
+ tabindex: number;
725
726
  modelValue: Nullable<OptionItem | Options>;
726
727
  validate: ValidationState;
727
728
  allowEmpty: boolean;
@@ -730,7 +731,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
730
731
  multiple: boolean;
731
732
  helpText: string;
732
733
  autocomplete: string;
733
- tabindex: number;
734
734
  limit: number;
735
735
  asyncFind: AsyncSearchFn;
736
736
  options: Options;
package/dist/revel.mjs CHANGED
@@ -6690,7 +6690,7 @@ const ze = /* @__PURE__ */ D1(Wu, [["render", fu]]), hu = ["data-testid"], gu =
6690
6690
  }, null, 8, gu)
6691
6691
  ], 10, hu));
6692
6692
  }
6693
- }), mu = ["href"], wu = {
6693
+ }), mu = ["href", "aria-disabled", "tabindex", "disabled"], wu = {
6694
6694
  key: 0,
6695
6695
  class: "r-button-inner r-tt-sentencecase"
6696
6696
  }, Lu = ["disabled", "title"], Ru = {
@@ -6717,7 +6717,7 @@ const ze = /* @__PURE__ */ D1(Wu, [["render", fu]]), hu = ["data-testid"], gu =
6717
6717
  loading: "Waiting for response",
6718
6718
  disabled: "Action is disabled"
6719
6719
  }), p = q(() => {
6720
- const t = {
6720
+ const c = {
6721
6721
  "r-has-icon-left": !!b.iconLeft,
6722
6722
  "r-has-icon-right": !!b.iconRight,
6723
6723
  "r-has-icon": !!b.icon,
@@ -6725,20 +6725,23 @@ const ze = /* @__PURE__ */ D1(Wu, [["render", fu]]), hu = ["data-testid"], gu =
6725
6725
  };
6726
6726
  return b.link && b.type === "unstyled" ? {
6727
6727
  "r-button-type-link": !0,
6728
- ...t
6728
+ ...c
6729
6729
  } : {
6730
6730
  [`r-button-size-${b.size}`]: !!b.size,
6731
6731
  [`r-button-type-${b.type}`]: !!b.type,
6732
6732
  "r-button-fluid": !!b.fluid,
6733
6733
  "r-is-active": !!b.active,
6734
- ...t
6734
+ ...c
6735
6735
  };
6736
- }), e = q(() => b.disabled ? z.value.disabled : b.loading ? z.value.loading : ""), o = q(() => b.disabled || b.loading);
6737
- return (t, c) => M.link ? (l(), v("a", {
6736
+ }), e = q(() => b.disabled ? z.value.disabled : b.loading ? z.value.loading : ""), o = q(() => b.disabled || b.loading), t = q(() => o.value ? !0 : void 0);
6737
+ return (c, O) => M.link ? (l(), v("a", {
6738
6738
  key: 0,
6739
6739
  class: U(["r-button", p.value]),
6740
- href: M.href,
6741
- role: "link"
6740
+ href: o.value ? void 0 : M.href,
6741
+ "aria-disabled": o.value ? "true" : "false",
6742
+ tabindex: o.value ? -1 : void 0,
6743
+ role: "link",
6744
+ disabled: t.value
6742
6745
  }, [
6743
6746
  M.iconLeft ? (l(), o0(f0, {
6744
6747
  key: 0,
@@ -6749,11 +6752,11 @@ const ze = /* @__PURE__ */ D1(Wu, [["render", fu]]), hu = ["data-testid"], gu =
6749
6752
  icon: M.icon
6750
6753
  }, null, 8, ["icon"])) : (l(), v(a0, { key: 2 }, [
6751
6754
  M.capitalizeFirstLetter ? (l(), v("div", wu, [
6752
- M0(t.$slots, "default", {}, () => [
6753
- c[0] || (c[0] = q0("Link", -1))
6755
+ M0(c.$slots, "default", {}, () => [
6756
+ O[0] || (O[0] = q0("Link", -1))
6754
6757
  ])
6755
- ])) : M0(t.$slots, "default", { key: 1 }, () => [
6756
- c[1] || (c[1] = q0("Apply", -1))
6758
+ ])) : M0(c.$slots, "default", { key: 1 }, () => [
6759
+ O[1] || (O[1] = q0("Apply", -1))
6757
6760
  ])
6758
6761
  ], 64)),
6759
6762
  M.iconRight ? (l(), o0(f0, {
@@ -6763,7 +6766,7 @@ const ze = /* @__PURE__ */ D1(Wu, [["render", fu]]), hu = ["data-testid"], gu =
6763
6766
  ], 10, mu)) : (l(), v("button", {
6764
6767
  key: 1,
6765
6768
  class: U(["r-button", p.value]),
6766
- disabled: o.value,
6769
+ disabled: t.value,
6767
6770
  title: e.value
6768
6771
  }, [
6769
6772
  M.loading ? (l(), o0(f0, {
@@ -6780,11 +6783,11 @@ const ze = /* @__PURE__ */ D1(Wu, [["render", fu]]), hu = ["data-testid"], gu =
6780
6783
  icon: M.icon
6781
6784
  }, null, 8, ["icon"])) : M.icon ? D("", !0) : (l(), v(a0, { key: 3 }, [
6782
6785
  M.capitalizeFirstLetter ? (l(), v("div", Ru, [
6783
- M0(t.$slots, "default", {}, () => [
6784
- c[2] || (c[2] = q0("Apply", -1))
6786
+ M0(c.$slots, "default", {}, () => [
6787
+ O[2] || (O[2] = q0("Apply", -1))
6785
6788
  ])
6786
- ])) : M0(t.$slots, "default", { key: 1 }, () => [
6787
- c[3] || (c[3] = q0("Apply", -1))
6789
+ ])) : M0(c.$slots, "default", { key: 1 }, () => [
6790
+ O[3] || (O[3] = q0("Apply", -1))
6788
6791
  ])
6789
6792
  ], 64)),
6790
6793
  M.iconRight && !M.loading ? (l(), o0(f0, {