@theroutingcompany/components 0.0.26-alpha.10 → 0.0.26-alpha.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/dist/trc-components.es.js +13 -12
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +1 -1
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/types/components/Input/InlineEdit/InlineEdit.d.ts +3 -1
|
@@ -20769,33 +20769,34 @@ const c9 = A(Fr)`
|
|
|
20769
20769
|
fullWidth: a,
|
|
20770
20770
|
textAlign: i = "left",
|
|
20771
20771
|
p: s,
|
|
20772
|
-
|
|
20772
|
+
onChange: l,
|
|
20773
|
+
...c
|
|
20773
20774
|
}) => {
|
|
20774
|
-
const [
|
|
20775
|
-
|
|
20776
|
-
}, [
|
|
20777
|
-
|
|
20778
|
-
}, []);
|
|
20779
|
-
if (
|
|
20775
|
+
const [d, u] = J(!1), [f, m] = J(!1), h = _a(c, si.propNames ?? []), b = _a(c, od.propNames ?? []), g = te(() => {
|
|
20776
|
+
m(!f);
|
|
20777
|
+
}, [f]), $ = te((_) => {
|
|
20778
|
+
l();
|
|
20779
|
+
}, [l]);
|
|
20780
|
+
if (f)
|
|
20780
20781
|
return /* @__PURE__ */ w(
|
|
20781
20782
|
hd,
|
|
20782
20783
|
{
|
|
20783
20784
|
fullWidth: !0,
|
|
20784
|
-
right: /* @__PURE__ */ w(Ro, { ml: p.spacing_100, children: /* @__PURE__ */ w(c9, { onClick:
|
|
20785
|
+
right: /* @__PURE__ */ w(Ro, { ml: p.spacing_100, children: /* @__PURE__ */ w(c9, { onClick: $, disabled: d, children: d ? /* @__PURE__ */ w(s2, {}) : /* @__PURE__ */ w(Za, {}) }) }),
|
|
20785
20786
|
children: e
|
|
20786
20787
|
}
|
|
20787
20788
|
);
|
|
20788
|
-
const
|
|
20789
|
+
const y = {
|
|
20789
20790
|
p: s,
|
|
20790
20791
|
minWidth: n,
|
|
20791
20792
|
fullWidth: a,
|
|
20792
20793
|
textAlign: i,
|
|
20793
|
-
...
|
|
20794
|
-
...
|
|
20794
|
+
...h,
|
|
20795
|
+
...b
|
|
20795
20796
|
};
|
|
20796
20797
|
return (
|
|
20797
20798
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
20798
|
-
/* @__PURE__ */ le(u9, { onClick:
|
|
20799
|
+
/* @__PURE__ */ le(u9, { onClick: g, ...y, "data-id": c["data-id"], children: [
|
|
20799
20800
|
r || /* @__PURE__ */ w(d9, { children: t }),
|
|
20800
20801
|
!o && /* @__PURE__ */ w(f9, {})
|
|
20801
20802
|
] })
|