aq-fe-framework 0.1.408 → 0.1.409
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.
|
@@ -663,7 +663,7 @@ function MySelectFromAPI(_a) {
|
|
|
663
663
|
import { TextInput } from "@mantine/core";
|
|
664
664
|
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
665
665
|
function MyTextInput(_a) {
|
|
666
|
-
var _b = _a, { label, isPhoneNumber
|
|
666
|
+
var _b = _a, { label, isPhoneNumber } = _b, rest = __objRest(_b, ["label", "isPhoneNumber"]);
|
|
667
667
|
return /* @__PURE__ */ jsx13(
|
|
668
668
|
TextInput,
|
|
669
669
|
__spreadValues({
|
|
@@ -688,15 +688,7 @@ function MyTextInput(_a) {
|
|
|
688
688
|
},
|
|
689
689
|
placeholder: label ? `Nh\u1EADp ${label == null ? void 0 : label.toLowerCase()}` : "",
|
|
690
690
|
label,
|
|
691
|
-
|
|
692
|
-
input: __spreadValues({}, disabled && {
|
|
693
|
-
backgroundColor: theme.colors.gray[1],
|
|
694
|
-
color: theme.colors.gray[6],
|
|
695
|
-
borderColor: "transparent",
|
|
696
|
-
cursor: "not-allowed"
|
|
697
|
-
})
|
|
698
|
-
}),
|
|
699
|
-
disabled
|
|
691
|
+
variant: rest.readOnly ? "filled" : "default"
|
|
700
692
|
}, rest)
|
|
701
693
|
);
|
|
702
694
|
}
|
package/dist/core/index.d.mts
CHANGED
|
@@ -116,7 +116,7 @@ interface CoreTextInputProps extends TextInputProps {
|
|
|
116
116
|
defaultValue?: string;
|
|
117
117
|
isPhoneNumber?: boolean;
|
|
118
118
|
}
|
|
119
|
-
declare function MyTextInput({ label, isPhoneNumber,
|
|
119
|
+
declare function MyTextInput({ label, isPhoneNumber, ...rest }: CoreTextInputProps): react_jsx_runtime.JSX.Element;
|
|
120
120
|
|
|
121
121
|
interface IWeeklySession {
|
|
122
122
|
dayOfWeek: number;
|
package/dist/core/index.mjs
CHANGED