@theroutingcompany/components 0.0.33-alpha.3 → 0.0.33-alpha.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.
@@ -16119,37 +16119,39 @@ function MC(e, t) {
16119
16119
  to: n,
16120
16120
  toTitle: o,
16121
16121
  formId: a,
16122
- children: i,
16123
- variant: s = "primary",
16124
- inverse: l = !1,
16125
- disabled: c,
16126
- size: d,
16127
- onClick: u,
16128
- onFocus: p,
16129
- onBlur: m,
16130
- className: h = "",
16131
- ...b
16132
- } = e, g = r ?? "button", $ = xr(b, Ir.propNames ?? []), v = xr(b, Du.propNames ?? []), _ = {
16133
- variant: s,
16134
- inverse: l,
16135
- className: h,
16136
- disabled: c,
16137
- onClick: u,
16138
- onFocus: p,
16139
- onBlur: m,
16140
- size: d,
16141
- formId: a,
16122
+ type: i,
16123
+ children: s,
16124
+ variant: l = "primary",
16125
+ inverse: c = !1,
16126
+ disabled: d,
16127
+ size: u,
16128
+ onClick: p,
16129
+ onFocus: m,
16130
+ onBlur: h,
16131
+ className: b = "",
16132
+ ...g
16133
+ } = e, $ = r ?? "button", v = xr(g, Ir.propNames ?? []), _ = xr(g, Du.propNames ?? []), w = {
16134
+ variant: l,
16135
+ inverse: c,
16136
+ className: b,
16137
+ disabled: d,
16138
+ onClick: p,
16139
+ onFocus: m,
16140
+ onBlur: h,
16141
+ size: u,
16142
+ form: a,
16143
+ type: i,
16142
16144
  ref: t,
16143
- ...v,
16145
+ ..._,
16144
16146
  // these might be duplicates to boxSystemProps, will have to check
16145
- ...$
16147
+ ...v
16146
16148
  // allow all box properties too - we extend from it :)
16147
- }, w = re(() => /* @__PURE__ */ x(
16149
+ }, P = re(() => /* @__PURE__ */ x(
16148
16150
  OC,
16149
16151
  {
16150
- children: i
16152
+ children: s
16151
16153
  }
16152
- ), [i]);
16154
+ ), [s]);
16153
16155
  return n && !r ? /* @__PURE__ */ x(
16154
16156
  sm,
16155
16157
  {
@@ -16158,11 +16160,11 @@ function MC(e, t) {
16158
16160
  target: "_blank",
16159
16161
  rel: "noopener noreferrer",
16160
16162
  title: o ?? "Opens in a new tab",
16161
- ..._,
16162
- "data-id": b["data-id"],
16163
- children: w
16163
+ ...w,
16164
+ "data-id": g["data-id"],
16165
+ children: P
16164
16166
  }
16165
- ) : /* @__PURE__ */ x(sm, { as: g, ..._, "data-id": b["data-id"], children: w });
16167
+ ) : /* @__PURE__ */ x(sm, { as: $, ...w, "data-id": g["data-id"], children: P });
16166
16168
  }
16167
16169
  const Su = B(
16168
16170
  MC