@astral/ui 4.68.0 → 4.68.1

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.
@@ -1,5 +1,5 @@
1
1
  export declare const StyledTextField: import("../styled").StyledComponent<{
2
- variant?: import("@mui/material/TextField").TextFieldVariants | undefined;
3
- } & Omit<import("@mui/material/TextField").OutlinedTextFieldProps | import("@mui/material/TextField").FilledTextFieldProps | import("@mui/material/TextField").StandardTextFieldProps, "variant"> & {
2
+ variant?: import("@mui/material").TextFieldVariants | undefined;
3
+ } & Omit<import("@mui/material").OutlinedTextFieldProps | import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps, "variant"> & {
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
5
  }, {}, {}>;
@@ -1,3 +1,4 @@
1
+ import { formLabelClasses } from '@mui/material';
1
2
  import { formHelperTextClasses } from '@mui/material/FormHelperText';
2
3
  import TextField from '@mui/material/TextField';
3
4
  import { styled } from '../styled';
@@ -17,5 +18,9 @@ export const StyledTextField = styled(TextField) `
17
18
 
18
19
  &.${textFieldClassnames.disabled} {
19
20
  pointer-events: none;
21
+
22
+ & .${formLabelClasses.root} {
23
+ pointer-events: none;
24
+ }
20
25
  }
21
26
  `;
@@ -1,5 +1,5 @@
1
1
  export declare const StyledTextField: import("@emotion/styled/dist/declarations/src/types").StyledComponent<{
2
- variant?: import("@mui/material/TextField").TextFieldVariants | undefined;
3
- } & Omit<import("@mui/material/TextField").OutlinedTextFieldProps | import("@mui/material/TextField").FilledTextFieldProps | import("@mui/material/TextField").StandardTextFieldProps, "variant"> & {
2
+ variant?: import("@mui/material").TextFieldVariants | undefined;
3
+ } & Omit<import("@mui/material").OutlinedTextFieldProps | import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps, "variant"> & {
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
5
  }, {}, {}>;
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.StyledTextField = void 0;
7
+ const material_1 = require("@mui/material");
7
8
  const FormHelperText_1 = require("@mui/material/FormHelperText");
8
9
  const TextField_1 = __importDefault(require("@mui/material/TextField"));
9
10
  const styled_1 = require("../styled");
@@ -23,5 +24,9 @@ exports.StyledTextField = (0, styled_1.styled)(TextField_1.default) `
23
24
 
24
25
  &.${constants_1.textFieldClassnames.disabled} {
25
26
  pointer-events: none;
27
+
28
+ & .${material_1.formLabelClasses.root} {
29
+ pointer-events: none;
30
+ }
26
31
  }
27
32
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/ui",
3
- "version": "4.68.0",
3
+ "version": "4.68.1",
4
4
  "browser": "./index.js",
5
5
  "main": "./node/index.js",
6
6
  "dependencies": {