@sillsdev/config-r 1.0.0-alpha.2 → 1.0.0-alpha.3
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/ContentPane.d.ts +4 -4
- package/dist/configr.es.js +4 -2
- package/dist/configr.umd.js +1 -1
- package/package.json +1 -1
package/dist/ContentPane.d.ts
CHANGED
|
@@ -50,15 +50,15 @@ export declare const ConfigrCustomNumberInput: React.FunctionComponent<React.Pro
|
|
|
50
50
|
}>>;
|
|
51
51
|
getErrorMessage?: (data: any) => string | undefined;
|
|
52
52
|
}>>;
|
|
53
|
-
export declare
|
|
53
|
+
export declare function ConfigrCustomObjectInput<T>(props: React.PropsWithChildren<{
|
|
54
54
|
path: string;
|
|
55
55
|
label: string;
|
|
56
56
|
control: React.FunctionComponent<React.PropsWithChildren<{
|
|
57
|
-
value:
|
|
58
|
-
onChange: (value:
|
|
57
|
+
value: T;
|
|
58
|
+
onChange: (value: T) => void;
|
|
59
59
|
}>>;
|
|
60
60
|
getErrorMessage?: (data: any) => string | undefined;
|
|
61
|
-
}
|
|
61
|
+
}>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
62
62
|
export declare const ConfigrSelect: React.FunctionComponent<React.PropsWithChildren<{
|
|
63
63
|
path: string;
|
|
64
64
|
label: string;
|
package/dist/configr.es.js
CHANGED
|
@@ -3409,7 +3409,8 @@ ko(t, e.path)) ? null : /* @__PURE__ */ x(X.Fragment, { children: e.children })
|
|
|
3409
3409
|
control: /* @__PURE__ */ x(e.control, { value: a, onChange: i })
|
|
3410
3410
|
}
|
|
3411
3411
|
);
|
|
3412
|
-
}
|
|
3412
|
+
};
|
|
3413
|
+
function wP(e) {
|
|
3413
3414
|
const [t, r, n] = Ot(e.path), { value: a } = r, { setValue: i } = n;
|
|
3414
3415
|
return /* @__PURE__ */ x(
|
|
3415
3416
|
at,
|
|
@@ -3418,7 +3419,8 @@ ko(t, e.path)) ? null : /* @__PURE__ */ x(X.Fragment, { children: e.children })
|
|
|
3418
3419
|
control: /* @__PURE__ */ x(e.control, { value: a, onChange: i })
|
|
3419
3420
|
}
|
|
3420
3421
|
);
|
|
3421
|
-
}
|
|
3422
|
+
}
|
|
3423
|
+
const EP = (e) => {
|
|
3422
3424
|
const t = !Xy(!0, e.enableWhen);
|
|
3423
3425
|
return /* @__PURE__ */ x(
|
|
3424
3426
|
at,
|
package/dist/configr.umd.js
CHANGED
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
input {
|
|
82
82
|
text-align: end;
|
|
83
83
|
}
|
|
84
|
-
`})}),Ub=e=>{const[t,r,n]=yt(e.path),{value:a}=r,{setValue:i}=n;return m.jsx(Ye,{...e,control:m.jsx(e.control,{value:a,onChange:i})})},zb=e=>{const[t,r,n]=yt(e.path),{value:a}=r,{setValue:i}=n;return m.jsx(Ye,{...e,control:m.jsx(e.control,{value:a,onChange:i})})},Wb=e=>{const[t,r,n]=yt(e.path),{value:a}=r,{setValue:i}=n;return m.jsx(Ye,{...e,control:m.jsx(e.control,{value:a,onChange:i})})}
|
|
84
|
+
`})}),Ub=e=>{const[t,r,n]=yt(e.path),{value:a}=r,{setValue:i}=n;return m.jsx(Ye,{...e,control:m.jsx(e.control,{value:a,onChange:i})})},zb=e=>{const[t,r,n]=yt(e.path),{value:a}=r,{setValue:i}=n;return m.jsx(Ye,{...e,control:m.jsx(e.control,{value:a,onChange:i})})},Wb=e=>{const[t,r,n]=yt(e.path),{value:a}=r,{setValue:i}=n;return m.jsx(Ye,{...e,control:m.jsx(e.control,{value:a,onChange:i})})};function Kb(e){const[t,r,n]=yt(e.path),{value:a}=r,{setValue:i}=n;return m.jsx(Ye,{...e,control:m.jsx(e.control,{value:a,onChange:i})})}const qb=e=>{const t=!ay(!0,e.enableWhen);return m.jsx(Ye,{...e,disabled:t,control:m.jsx(wr,{name:e.path,disabled:t,component:Qo,sx:{minWidth:180},css:ce.css`
|
|
85
85
|
.MuiSelect-select {
|
|
86
86
|
padding: 3px !important;
|
|
87
87
|
padding-left: 9px !important;
|