@theroutingcompany/components 0.0.139-alpha.3 → 0.0.139-alpha.4
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 +3 -5
- 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/src/components/SearchableSelect/SearchableSelect.d.ts +1 -1
|
@@ -30633,12 +30633,10 @@ function jB(e) {
|
|
|
30633
30633
|
inputValue: h,
|
|
30634
30634
|
onInputChange: b,
|
|
30635
30635
|
usePortal: m = !1,
|
|
30636
|
-
|
|
30636
|
+
isInvalid: y = !1,
|
|
30637
30637
|
required: v = !1,
|
|
30638
30638
|
..._
|
|
30639
|
-
} = e
|
|
30640
|
-
console.log("SearchableSelect received isValid:", y, "errorMessage:", g);
|
|
30641
|
-
const S = h !== void 0, [D, E] = te(!1), [I, $] = te(() => !S && u ? c(u) : ""), [T, M] = te(-1), [w, N] = te({ top: 0, left: 0, width: 0 }), R = S ? h : I, P = S ? (W) => b == null ? void 0 : b(W) : $, j = K(null), A = K(null), ee = K(null), { labelProps: V, inputProps: Z } = _o(
|
|
30639
|
+
} = e, S = h !== void 0, [D, E] = te(!1), [I, $] = te(() => !S && u ? c(u) : ""), [T, M] = te(-1), [w, N] = te({ top: 0, left: 0, width: 0 }), R = S ? h : I, P = S ? (W) => b == null ? void 0 : b(W) : $, j = K(null), A = K(null), ee = K(null), { labelProps: V, inputProps: Z } = _o(
|
|
30642
30640
|
{
|
|
30643
30641
|
..._,
|
|
30644
30642
|
inputElementType: "input",
|
|
@@ -30758,7 +30756,7 @@ function jB(e) {
|
|
|
30758
30756
|
...U,
|
|
30759
30757
|
ref: j,
|
|
30760
30758
|
isFocused: B,
|
|
30761
|
-
isInvalid:
|
|
30759
|
+
isInvalid: y || !!g,
|
|
30762
30760
|
placeholder: a && !R ? "Loading..." : r,
|
|
30763
30761
|
onKeyDown: H,
|
|
30764
30762
|
onFocus: le,
|