@rebilly/revel 6.30.23 → 6.30.25

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 +1,6 @@
1
- ## [6.30.23](https://github.com/Rebilly/rebilly/compare/revel-v6.30.22...revel-v6.30.23) (2024-07-17)
1
+ ## [6.30.25](https://github.com/Rebilly/rebilly/compare/revel-v6.30.24...revel-v6.30.25) (2024-07-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **revel:** Fix duplicated `nanoid` ID generation in case name is not specified ([#6625](https://github.com/Rebilly/rebilly/issues/6625)) ([d59afa9](https://github.com/Rebilly/rebilly/commit/d59afa995ef1d965a72158d2538e751a9220104c))
@@ -18,14 +18,14 @@ interface Props {
18
18
  }
19
19
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
20
20
  label: null;
21
- name: string;
21
+ name: () => string;
22
22
  modelValue: boolean;
23
23
  disabled: boolean;
24
24
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
25
  "update:modelValue": (value: boolean) => void;
26
26
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
27
27
  label: null;
28
- name: string;
28
+ name: () => string;
29
29
  modelValue: boolean;
30
30
  disabled: boolean;
31
31
  }>>> & {
package/dist/revel.mjs CHANGED
@@ -6692,7 +6692,7 @@ const cO = /* @__PURE__ */ E1(bf, [["render", zf]]), pf = ["data-testid"], of =
6692
6692
  }, null, 8, of)
6693
6693
  ], 10, pf));
6694
6694
  }
6695
- }), Of = ["href", "target"], ef = {
6695
+ }), Of = ["href"], ef = {
6696
6696
  key: 0,
6697
6697
  class: "r-button-inner r-tt-sentencecase"
6698
6698
  }, cf = ["disabled", "title"], tf = {
@@ -6740,8 +6740,7 @@ const cO = /* @__PURE__ */ E1(bf, [["render", zf]]), pf = ["data-testid"], of =
6740
6740
  key: 0,
6741
6741
  class: I(["r-button", v(p)]),
6742
6742
  href: M.href,
6743
- role: "link",
6744
- target: e.$attrs.href ? "_target" : String(e.$attrs.target) || ""
6743
+ role: "link"
6745
6744
  }, [
6746
6745
  M.iconLeft ? (i(), z0(E0, {
6747
6746
  key: 0,
@@ -13887,7 +13886,7 @@ const oe = /* @__PURE__ */ y0(gw, [["render", ww]]), $w = ["aria-checked"], Tw =
13887
13886
  __name: "r-toggle",
13888
13887
  props: {
13889
13888
  label: { default: null },
13890
- name: { default: m1() },
13889
+ name: { default: () => m1() },
13891
13890
  modelValue: { type: Boolean, default: !1 },
13892
13891
  disabled: { type: Boolean, default: !1 }
13893
13892
  },