@theroutingcompany/components 0.0.26-alpha.12 → 0.0.26-alpha.15
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 +27 -29
- 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 +5 -4
|
@@ -20764,43 +20764,41 @@ const c9 = A(Fr)`
|
|
|
20764
20764
|
children: e,
|
|
20765
20765
|
placeholder: t,
|
|
20766
20766
|
defaultValue: r = "",
|
|
20767
|
-
|
|
20768
|
-
|
|
20769
|
-
|
|
20770
|
-
|
|
20771
|
-
|
|
20772
|
-
|
|
20773
|
-
|
|
20767
|
+
value: n = "",
|
|
20768
|
+
minWidth: o,
|
|
20769
|
+
hideIcon: a,
|
|
20770
|
+
fullWidth: i,
|
|
20771
|
+
textAlign: s = "left",
|
|
20772
|
+
p: l,
|
|
20773
|
+
onChange: c,
|
|
20774
|
+
...d
|
|
20774
20775
|
}) => {
|
|
20775
|
-
const [
|
|
20776
|
-
|
|
20777
|
-
}, [
|
|
20778
|
-
|
|
20779
|
-
}, [
|
|
20780
|
-
if (
|
|
20776
|
+
const [u, f] = J(!1), [m, h] = J(!1), b = _a(d, si.propNames ?? []), g = _a(d, od.propNames ?? []), $ = te(() => {
|
|
20777
|
+
h(!m);
|
|
20778
|
+
}, [m]), y = te((k) => {
|
|
20779
|
+
c(), h(!1);
|
|
20780
|
+
}, [c]);
|
|
20781
|
+
if (m)
|
|
20781
20782
|
return /* @__PURE__ */ w(
|
|
20782
20783
|
hd,
|
|
20783
20784
|
{
|
|
20784
20785
|
fullWidth: !0,
|
|
20785
|
-
right: /* @__PURE__ */ w(Ro, { ml: p.spacing_100, children: /* @__PURE__ */ w(c9, { onClick:
|
|
20786
|
+
right: /* @__PURE__ */ w(Ro, { ml: p.spacing_100, children: /* @__PURE__ */ w(c9, { onClick: y, disabled: u, children: u ? /* @__PURE__ */ w(s2, {}) : /* @__PURE__ */ w(Za, {}) }) }),
|
|
20786
20787
|
children: e
|
|
20787
20788
|
}
|
|
20788
20789
|
);
|
|
20789
|
-
const
|
|
20790
|
-
p:
|
|
20791
|
-
minWidth:
|
|
20792
|
-
fullWidth:
|
|
20793
|
-
textAlign:
|
|
20794
|
-
...
|
|
20795
|
-
...
|
|
20796
|
-
};
|
|
20797
|
-
return (
|
|
20798
|
-
|
|
20799
|
-
/* @__PURE__ */
|
|
20800
|
-
|
|
20801
|
-
!o && /* @__PURE__ */ w(f9, {})
|
|
20802
|
-
] })
|
|
20803
|
-
);
|
|
20790
|
+
const _ = {
|
|
20791
|
+
p: l,
|
|
20792
|
+
minWidth: o,
|
|
20793
|
+
fullWidth: i,
|
|
20794
|
+
textAlign: s,
|
|
20795
|
+
...b,
|
|
20796
|
+
...g
|
|
20797
|
+
}, v = n || r;
|
|
20798
|
+
return /* @__PURE__ */ le(u9, { onClick: $, ..._, "data-id": d["data-id"], children: [
|
|
20799
|
+
`${v}` || /* @__PURE__ */ w(d9, { children: t }),
|
|
20800
|
+
!a && /* @__PURE__ */ w(f9, {})
|
|
20801
|
+
] });
|
|
20804
20802
|
};
|
|
20805
20803
|
p9.displayName = "InlineEdit";
|
|
20806
20804
|
function Wy(e) {
|