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, disabled } = _b, rest = __objRest(_b, ["label", "isPhoneNumber", "disabled"]);
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
- styles: (theme) => ({
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
  }
@@ -116,7 +116,7 @@ interface CoreTextInputProps extends TextInputProps {
116
116
  defaultValue?: string;
117
117
  isPhoneNumber?: boolean;
118
118
  }
119
- declare function MyTextInput({ label, isPhoneNumber, disabled, ...rest }: CoreTextInputProps): react_jsx_runtime.JSX.Element;
119
+ declare function MyTextInput({ label, isPhoneNumber, ...rest }: CoreTextInputProps): react_jsx_runtime.JSX.Element;
120
120
 
121
121
  interface IWeeklySession {
122
122
  dayOfWeek: number;
@@ -13,7 +13,7 @@ import {
13
13
  MyStatsCard,
14
14
  MyTextInput,
15
15
  MyWeeklySessionSchedulerPicker
16
- } from "../chunk-E5GE6EOD.mjs";
16
+ } from "../chunk-EENSTJFN.mjs";
17
17
  import "../chunk-GEYCGM75.mjs";
18
18
  import "../chunk-7ORPZMGL.mjs";
19
19
  import "../chunk-K6S7R6LU.mjs";
@@ -45,7 +45,7 @@ import {
45
45
  MyButton as MyButton2,
46
46
  MyDataTableSelectOne,
47
47
  MyTextInput as MyTextInput2
48
- } from "../chunk-E5GE6EOD.mjs";
48
+ } from "../chunk-EENSTJFN.mjs";
49
49
  import {
50
50
  MyDataTable,
51
51
  MyFlexColumn,
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "types": "./dist/columns/index.d.mts"
43
43
  }
44
44
  },
45
- "version": "0.1.408",
45
+ "version": "0.1.409",
46
46
  "private": false,
47
47
  "files": [
48
48
  "dist"