@m4l/components 9.2.56-beta.5 → 9.2.56-beta.6

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.
Files changed (37) hide show
  1. package/components/Chip/Chip.js +1 -1
  2. package/components/CommonActions/components/ActionCancel/ActionCancel.js +1 -1
  3. package/components/CommonActions/components/ActionIntro/ActionIntro.js +1 -1
  4. package/components/CommonActions/components/ActionsContainer/ActionsContainerStyles.js +1 -1
  5. package/components/DataGrid/Datagrid.styles.js +5 -2
  6. package/components/Label/Label.js +1 -1
  7. package/components/Label/Label.styles.js +11 -2
  8. package/components/LoadingError/LoadingError.styles.js +6 -3
  9. package/components/NoItemSelected/NoItemSelected.js +20 -2
  10. package/components/PropertyValue/PropertyValue.styles.js +29 -28
  11. package/components/WindowBase/WindowBase.styles.js +1 -1
  12. package/components/WindowConfirm/WindowConfirm.styles.js +1 -3
  13. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -1
  14. package/components/formatters/BooleanFormatter/BooleanFormatter.styles.js +2 -2
  15. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.js +1 -1
  16. package/components/hook-form/RHFColorPicker/RFHColorPicker.js +1 -1
  17. package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
  18. package/components/hook-form/RHFTextField/RHFTextField.js +2 -0
  19. package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
  20. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  21. package/components/hook-form/RHFormContext/styles.js +2 -1
  22. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
  23. package/components/mui_extended/Button/Button.js +4 -5
  24. package/components/mui_extended/Button/ButtonStyles.js +13 -2
  25. package/components/mui_extended/LoadingButton/LoadingButton.js +1 -1
  26. package/components/mui_extended/TabContent/TabContent.styles.js +5 -2
  27. package/components/mui_extended/TabContent/index.d.ts +1 -0
  28. package/components/mui_extended/TextField/TextField.js +4 -2
  29. package/components/mui_extended/TextField/TextField.styles.js +63 -60
  30. package/components/mui_extended/TextField/constants.d.ts +1 -0
  31. package/components/mui_extended/TextField/slots/TextFieldEnum.d.ts +2 -1
  32. package/components/mui_extended/TextField/slots/TextFieldEnum.js +1 -0
  33. package/components/mui_extended/TextField/types.d.ts +12 -0
  34. package/package.json +3 -3
  35. package/storybook/components/NoItemSelect/NoItemSelect.stories.d.ts +4 -0
  36. package/storybook/components/PropertyValue/PropertyValue.stories.d.ts +5 -1
  37. package/storybook/components/extended/mui/TextField/TextFieldText.stories.d.ts +11 -0
@@ -13,7 +13,7 @@ const Chip = forwardRef((props, ref) => {
13
13
  startIcon,
14
14
  color = "default",
15
15
  externalColor,
16
- size = "small",
16
+ size,
17
17
  variant = "contained",
18
18
  skeletonWidth = "100%",
19
19
  opacity = false,
@@ -12,7 +12,7 @@ const ActionCancel = forwardRef((props, ref) => {
12
12
  skeletonWidth = props.size === "small" ? "60px" : "80px",
13
13
  dataTestid,
14
14
  disabled = false,
15
- size = "small",
15
+ size,
16
16
  variant = "outlined",
17
17
  ...others
18
18
  } = props;
@@ -11,7 +11,7 @@ const ActionIntro = forwardRef((props, ref) => {
11
11
  skeletonWidth = props.size === "small" ? "80px" : "100px",
12
12
  startIcon,
13
13
  disabled = false,
14
- size = "small",
14
+ size,
15
15
  variant = "contained",
16
16
  ...others
17
17
  } = props;
@@ -10,7 +10,7 @@ const actionsContainerStyles = {
10
10
  width: "100%",
11
11
  gap: theme.vars.size.baseSpacings.sp3,
12
12
  paddingTop: theme.vars.size.baseSpacings.sp3,
13
- paddingBottom: theme.vars.size.baseSpacings.sp3,
13
+ paddingBottom: "0",
14
14
  paddingLeft: "0",
15
15
  height: "auto",
16
16
  borderRadius: theme.vars.size.borderRadius.r1,
@@ -117,11 +117,11 @@ const dataGridStyles = {
117
117
  /**
118
118
  * container de los botones de acciones
119
119
  */
120
- actionsConfigContainer: ({ theme, ownerState }) => ({
120
+ actionsConfigContainer: ({ theme }) => ({
121
121
  width: "100%",
122
122
  display: "flex",
123
123
  flexDirection: "row",
124
- justifyContent: ownerState?.withPager ? "space-between" : "flex-end",
124
+ justifyContent: "space-between",
125
125
  gap: theme.vars.size.baseSpacings.sp3,
126
126
  alignItems: "center"
127
127
  }),
@@ -303,6 +303,9 @@ const dataGridStyles = {
303
303
  }
304
304
  },
305
305
  "& .rdg-row": {
306
+ "& .rdg-cell": {
307
+ backgroundColor: theme.vars.palette.background.default
308
+ },
306
309
  '&[aria-selected="false"] .rdg-cell': {
307
310
  backgroundColor: theme.vars.palette.background.default
308
311
  },
@@ -48,7 +48,7 @@ const Label = (props) => {
48
48
  hasHelperIcon && /* @__PURE__ */ jsx(
49
49
  IconHelperMessageStyled,
50
50
  {
51
- tooltip: helperMessage,
51
+ tooltipContent: helperMessage,
52
52
  ownerState: { ...ownerState },
53
53
  placement: "right",
54
54
  size: adjustedSize,
@@ -7,11 +7,10 @@ const labelStyles = {
7
7
  * @returns {object} - Los estilos aplicados al root del Label.
8
8
  */
9
9
  root: ({ theme, ownerState }) => ({
10
+ width: "100%",
10
11
  display: "flex",
11
12
  flexDirection: "row",
12
13
  alignItems: "center",
13
- flexWrap: "wrap",
14
- width: "fit-content",
15
14
  ...getHeightSizeStyles(
16
15
  theme.generalSettings.isMobile,
17
16
  ownerState?.size || "small",
@@ -36,6 +35,11 @@ const labelStyles = {
36
35
  */
37
36
  typographyStyled: ({ theme, ownerState }) => ({
38
37
  "&.MuiTypography-root": {
38
+ width: "fit-content",
39
+ minWidth: theme.vars.size.baseSpacings.sp2,
40
+ overflow: "hidden",
41
+ textOverflow: "ellipsis",
42
+ whiteSpace: "nowrap",
39
43
  "&.M4lclassCssSpecificity": {
40
44
  color: theme.vars.palette.text.secondary,
41
45
  ...ownerState?.disabled === true && {
@@ -49,6 +53,11 @@ const labelStyles = {
49
53
  */
50
54
  typographyMandatoryMessageStyled: ({ theme, ownerState }) => ({
51
55
  "&.MuiTypography-root": {
56
+ width: "fit-content",
57
+ overflow: "hidden",
58
+ textOverflow: "ellipsis",
59
+ whiteSpace: "nowrap",
60
+ minWidth: theme.vars.size.baseSpacings.sp2,
52
61
  "&.M4lclassCssSpecificity": {
53
62
  color: theme.vars.palette.text.primary,
54
63
  ...ownerState?.disabled && {
@@ -2,7 +2,7 @@ const loadingErrorStyles = {
2
2
  /**
3
3
  * Styles for Root.
4
4
  */
5
- root: () => ({
5
+ root: ({ theme }) => ({
6
6
  display: "flex",
7
7
  flexDirection: "column",
8
8
  justifyContent: "center",
@@ -11,7 +11,9 @@ const loadingErrorStyles = {
11
11
  inset: "0",
12
12
  overflow: "hidden",
13
13
  width: "100%",
14
- height: "100%"
14
+ height: "100%",
15
+ paddingLeft: theme.vars.size.baseSpacings.sp4,
16
+ paddingRight: theme.vars.size.baseSpacings.sp4
15
17
  }),
16
18
  /**
17
19
  * Styles for LoadingError.
@@ -113,7 +115,8 @@ const loadingErrorStyles = {
113
115
  * Styles for LinearProgressIndeterminateStyled.
114
116
  */
115
117
  linearProgressIndeterminate: () => ({
116
- top: "unset"
118
+ top: "unset",
119
+ position: "relative"
117
120
  })
118
121
  };
119
122
  export {
@@ -47,8 +47,26 @@ function NoItemSelected(props) {
47
47
  }
48
48
  ) }),
49
49
  !message ? /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(WrapperTpography, { size: adjustedSize, children: [
50
- /* @__PURE__ */ jsx(TypographyStyledTitle, { ownerState: { ...ownerState }, size: adjustedSize, children: getLabel(DICTIONARY.LABEL_TITLE) }),
51
- /* @__PURE__ */ jsx(TypographyStyledDetail, { ownerState: { ...ownerState }, size: adjustedSize, children: getLabel(DICTIONARY.LABEL_DETAIL) })
50
+ /* @__PURE__ */ jsx(
51
+ TypographyStyledTitle,
52
+ {
53
+ ownerState: { ...ownerState },
54
+ skeletonWidth: 100,
55
+ size: adjustedSize,
56
+ "data-testid": getPropDataTestId(NO_ITEM_SELECT_KEY_COMPONENT, NoItemSelectedSlots.typographyStyledTitle, dataTestId),
57
+ children: getLabel(DICTIONARY.LABEL_TITLE)
58
+ }
59
+ ),
60
+ /* @__PURE__ */ jsx(
61
+ TypographyStyledDetail,
62
+ {
63
+ ownerState: { ...ownerState },
64
+ skeletonWidth: 200,
65
+ size: adjustedSize,
66
+ "data-testid": getPropDataTestId(NO_ITEM_SELECT_KEY_COMPONENT, NoItemSelectedSlots.typographyStyledDetail, dataTestId),
67
+ children: getLabel(DICTIONARY.LABEL_DETAIL)
68
+ }
69
+ )
52
70
  ] }) }) : /* @__PURE__ */ jsx(LabelDetail, { children: message })
53
71
  ]
54
72
  }
@@ -4,44 +4,46 @@ const propertyValueStyles = {
4
4
  * Property Value Root Styles
5
5
  */
6
6
  Root: ({ theme, ownerState }) => {
7
- const createSemanticStyle = (minWidth, maxWidth) => ({
8
- minWidth,
9
- maxWidth,
10
- [`@container ${CONTAINER_QUERY_NAME} (max-width: ${parseInt(minWidth, 10)}px)`]: {
11
- minWidth: "100%",
7
+ const createSemanticStyle = (maxWidth) => ({
8
+ maxWidth: `${maxWidth}px`,
9
+ minWidth: `${maxWidth}px`,
10
+ [`@container ${CONTAINER_QUERY_NAME} (max-width: ${maxWidth - 1}px)`]: {
11
+ minWidth: "100px",
12
12
  maxWidth: "100%"
13
13
  }
14
14
  });
15
15
  const semanticStylesMap = {
16
- email: createSemanticStyle("260px", "400px"),
17
- shortName: createSemanticStyle("40px", "90px"),
18
- mediumName: createSemanticStyle("80px", "260px"),
19
- bigName: createSemanticStyle("330px", "520px"),
20
- shortId: createSemanticStyle("16px", "44px"),
21
- mediumId: createSemanticStyle("28px", "60px"),
22
- bigId: createSemanticStyle("36px", "200px"),
23
- shortDescription: createSemanticStyle("324px", "796px"),
24
- mediumDescription: createSemanticStyle("796px", "1500px"),
16
+ email: createSemanticStyle(400),
17
+ shortName: createSemanticStyle(90),
18
+ mediumName: createSemanticStyle(260),
19
+ bigName: createSemanticStyle(520),
20
+ shortId: createSemanticStyle(44),
21
+ mediumId: createSemanticStyle(60),
22
+ bigId: createSemanticStyle(200),
23
+ shortDescription: createSemanticStyle(796),
24
+ mediumDescription: createSemanticStyle(1500),
25
25
  bigDescription: {
26
- minWidth: "100%",
27
- maxWidth: "100%"
26
+ width: "100%"
28
27
  },
29
- shortNumber: createSemanticStyle("30px", "50px"),
30
- mediumNumber: createSemanticStyle("44px", "60px"),
31
- bigNumber: createSemanticStyle("61px", "162px"),
32
- percentNumber: createSemanticStyle("30px", "50px"),
28
+ shortNumber: createSemanticStyle(50),
29
+ mediumNumber: createSemanticStyle(60),
30
+ bigNumber: createSemanticStyle(162),
31
+ percentNumber: createSemanticStyle(50),
33
32
  fullWidth: {
34
- minWidth: "100%",
35
- maxWidth: "100%"
33
+ width: "100%"
36
34
  }
37
35
  };
38
36
  const semanticStyle = ownerState?.semanticWidth && semanticStylesMap[ownerState?.semanticWidth] ? semanticStylesMap[ownerState?.semanticWidth] : {};
39
37
  return {
38
+ containerName: CONTAINER_QUERY_NAME,
39
+ containerType: "inline-size",
40
40
  display: "flex",
41
41
  flexDirection: ownerState?.isForm ? "column" : "row",
42
42
  justifyContent: ownerState?.isForm ? "space-between" : "left",
43
43
  alignItems: "flex-start",
44
44
  gap: theme.vars.size.baseSpacings["sp1"],
45
+ width: ownerState?.semanticWidth ? "auto" : "200px",
46
+ overflow: "hidden",
45
47
  color: theme.palette.text.primary,
46
48
  paddingTop: !ownerState?.isForm ? theme.vars.size.baseSpacings.sp1 : void 0,
47
49
  paddingBottom: !ownerState?.isForm ? theme.vars.size.baseSpacings.sp1 : void 0,
@@ -49,27 +51,26 @@ const propertyValueStyles = {
49
51
  "&:hover": !ownerState?.isForm && {
50
52
  background: theme.vars.palette.default?.hoverOpacity
51
53
  },
52
- ...semanticStyle,
53
54
  [`@container ${CONTAINER_QUERY_NAME} (min-width: 0px) and (max-width: 400px)`]: {
54
55
  flexDirection: "column"
55
56
  },
56
57
  ...theme.generalSettings.isMobile && {
57
58
  flexDirection: "column"
58
- }
59
+ },
60
+ ...semanticStyle
59
61
  };
60
62
  },
61
63
  /**
62
64
  * Property Styles
63
65
  */
64
- name: ({ theme, ownerState }) => ({
66
+ name: ({ theme }) => ({
65
67
  display: "flex",
66
68
  alignItems: "center",
67
- minWidth: ownerState?.propertyWidth,
68
- width: ownerState?.semanticWidth ? "auto" : "200px",
69
69
  fontSize: theme.typography.body2.fontSize,
70
70
  color: theme.palette.text.primary,
71
71
  gap: theme.vars.size.baseSpacings["sp1"],
72
- overflow: "hidden"
72
+ overflow: "hidden",
73
+ width: "100%"
73
74
  }),
74
75
  /**
75
76
  * Value Styles (Form and No Form Combined)
@@ -23,7 +23,7 @@ const windowBaseStyles = {
23
23
  "&::before": {
24
24
  content: '""',
25
25
  position: "absolute",
26
- inset: "1px",
26
+ inset: "2px",
27
27
  background: theme.vars.palette.background.default,
28
28
  borderRadius: "6.7px"
29
29
  }
@@ -92,9 +92,7 @@ const windowConfirmStyles = {
92
92
  /**
93
93
  * Actions Container Styles
94
94
  */
95
- actionsContainer: ({ theme }) => ({
96
- padding: theme.vars.size.baseSpacings.sp3
97
- }),
95
+ actionsContainer: {},
98
96
  windowBaseRoot: {},
99
97
  messageIllustration: {},
100
98
  actionCancel: {},
@@ -113,7 +113,7 @@ const AreaChip = (props) => {
113
113
  ChipAreasStyled,
114
114
  {
115
115
  opacity: selected ? false : true,
116
- color: selected ? "info" : "default",
116
+ color: selected ? "primary" : "default",
117
117
  ownerState: { ...ownerState },
118
118
  onClick: () => selectArea(areaId),
119
119
  size,
@@ -11,9 +11,9 @@ const booleanFormatterStyles = {
11
11
  /**
12
12
  * Styled del icono
13
13
  */
14
- icon: ({ theme, ownerState }) => ({
14
+ icon: ({ theme }) => ({
15
15
  "& .M4LIcon-icon": {
16
- backgroundColor: ownerState?.value ? theme.vars.palette.primary.enabled : theme.vars.palette.text.secondary
16
+ backgroundColor: theme.vars.palette.chips.default.contained.backgroundColorTone
17
17
  }
18
18
  }),
19
19
  chip: {}
@@ -21,7 +21,7 @@ function RHFAutocomplete(props) {
21
21
  loading,
22
22
  variant,
23
23
  helperMessage,
24
- size = "small",
24
+ size,
25
25
  onChangeFilterParmsLocal,
26
26
  mandatory,
27
27
  mandatoryMessage,
@@ -14,7 +14,7 @@ import { H as HelperError } from "../../HelperError/HelperError.js";
14
14
  const RHFColorPicker = (props) => {
15
15
  const {
16
16
  name,
17
- size = "small",
17
+ size,
18
18
  label,
19
19
  mandatory,
20
20
  mandatoryMessage,
@@ -1,4 +1,4 @@
1
1
  export declare const RHFPeriodRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
2
2
  export declare const PeriodRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
3
- export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
3
+ export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "dataTestId" | "autoComplete" | "placeholder" | "readOnly" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
4
4
  export declare const SelectStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/Select').SelectProps<string | number, boolean | undefined>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "onClose" | "title" | "name" | "error" | "input" | "options" | "rows" | "id" | "type" | "disabled" | "components" | "hidden" | "content" | "style" | "open" | "multiple" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "slots" | "slotProps" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentsProps" | "onOpen" | "dataTestId" | "autoComplete" | "placeholder" | "readOnly" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "renderSuffix" | "startAdornment" | "disableUnderline" | "autoWidth" | "defaultOpen" | "displayEmpty" | "IconComponent" | "labelId" | "MenuProps" | "native" | "renderValue" | "SelectDisplayProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown>, {}, {}>;
@@ -28,6 +28,7 @@ const RHFTextField = forwardRef((props, ref) => {
28
28
  helperText = true,
29
29
  className,
30
30
  htmlFor,
31
+ readOnly,
31
32
  ...other
32
33
  } = props;
33
34
  const id = useId();
@@ -86,6 +87,7 @@ const RHFTextField = forwardRef((props, ref) => {
86
87
  InputLabelProps: { shrink: true },
87
88
  autoComplete,
88
89
  onChange: onInternalChange,
90
+ ...readOnly ? { readOnly: true } : {},
89
91
  value: type === "number" ? isNaN(parseFloat(value)) ? "" : value : value || "",
90
92
  inputProps: {
91
93
  name,
@@ -4,7 +4,7 @@ export declare const RHFTextFieldRootStyled: import('@emotion/styled').StyledCom
4
4
  export declare const LabelStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Label').LabelProps, keyof import('../../../Label').LabelProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
5
5
  ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
6
6
  }, {}, {}>;
7
- export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
7
+ export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "dataTestId" | "autoComplete" | "placeholder" | "readOnly" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
8
8
  ownerState: Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown>;
9
9
  }, {}, {}>;
10
10
  export declare const HelperErrorStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../HelperError').HelperErrorProps & import('react').RefAttributes<HTMLLabelElement>, keyof import('../../../HelperError').HelperErrorProps | keyof import('react').RefAttributes<HTMLLabelElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').RHFTextFieldOwnerState> & Record<string, unknown> & {
@@ -1,7 +1,7 @@
1
1
  export declare const RHFTextFieldPasswordRoot: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
2
2
  ownerState?: (Partial<import('../..').RHFTextFieldOwnerState> & Record<string, unknown>) | undefined;
3
3
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
4
- export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
4
+ export declare const TextFieldStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "dataTestId" | "autoComplete" | "placeholder" | "readOnly" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
5
5
  ownerState?: (Partial<import('../..').RHFTextFieldOwnerState> & Record<string, unknown>) | undefined;
6
6
  }, {}, {}>;
7
7
  export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
@@ -1,6 +1,7 @@
1
1
  import { styled } from "@mui/material";
2
2
  const FormProviderRoot = styled("form")(({ theme }) => ({
3
- ...theme.components?.M4LRHFormProvider?.styleOverrides || {}
3
+ ...theme.components?.M4LRHFormProvider?.styleOverrides || {},
4
+ width: "100%"
4
5
  }));
5
6
  export {
6
7
  FormProviderRoot as F
@@ -18,7 +18,7 @@ export declare const MenuListStyled: import('@emotion/styled').StyledComponent<P
18
18
  export declare const CircularProgressStyled: import('@emotion/styled').StyledComponent<Pick<import('../../CircularProgress/types').CircularProgressProps, keyof import('../../CircularProgress/types').CircularProgressProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
19
19
  ownerState?: (Partial<import('../types').AutocompleteOwnerState> & Record<string, unknown>) | undefined;
20
20
  }, {}, {}>;
21
- export declare const RenderInputStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "dataTestId" | "autoComplete" | "placeholder" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
21
+ export declare const RenderInputStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../TextField/types').TextFieldProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "value" | "size" | "children" | "title" | "component" | "name" | "error" | "select" | "rows" | "id" | "type" | "disabled" | "hidden" | "content" | "style" | "variant" | "margin" | "translate" | "className" | "classes" | "sx" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "dataTestId" | "autoComplete" | "placeholder" | "readOnly" | "required" | keyof import('react').RefAttributes<HTMLDivElement> | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "minRows" | "SelectProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
22
22
  ownerState?: (Partial<import('../types').AutocompleteOwnerState> & Record<string, unknown>) | undefined;
23
23
  }, {}, {}>;
24
24
  export declare const TypographyStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Typography/types').TypographyProps, keyof import('../../Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
@@ -13,7 +13,7 @@ const Button = forwardRef((props, ref) => {
13
13
  startIcon,
14
14
  color = "default",
15
15
  disabled = false,
16
- size = "small",
16
+ size,
17
17
  variant = "contained",
18
18
  skeletonWidth = "15%",
19
19
  ...others
@@ -21,14 +21,13 @@ const Button = forwardRef((props, ref) => {
21
21
  const { currentSize } = useComponentSize(size);
22
22
  const isSkeleton = useModuleSkeleton();
23
23
  const theme = useTheme();
24
- const adjustedSize = currentSize === "small" || currentSize === "medium" ? currentSize : "medium";
25
24
  const paletteColor = getPropertyByString(
26
25
  theme.vars.palette,
27
26
  disabled ? "default" : color || "default",
28
27
  theme.vars.palette.default
29
28
  );
30
29
  const ownerState = {
31
- size,
30
+ size: currentSize,
32
31
  variant,
33
32
  disabled,
34
33
  paletteColor,
@@ -55,7 +54,7 @@ const Button = forwardRef((props, ref) => {
55
54
  ownerState: { ...ownerState },
56
55
  src: icon,
57
56
  alt: "icon",
58
- size: adjustedSize,
57
+ size: currentSize,
59
58
  disabled,
60
59
  instaceDataTestId
61
60
  }
@@ -79,7 +78,7 @@ const Button = forwardRef((props, ref) => {
79
78
  ref,
80
79
  ...others,
81
80
  children: [
82
- /* @__PURE__ */ jsx(TextButtonStyled, { ownerState: { ...ownerState }, color: adjustedColor, size: adjustedSize, children: label }),
81
+ /* @__PURE__ */ jsx(TextButtonStyled, { ownerState: { ...ownerState }, color: adjustedColor, size: currentSize, children: label }),
83
82
  props.children
84
83
  ]
85
84
  }
@@ -64,8 +64,17 @@ const buttonStyles = {
64
64
  "& span": {
65
65
  margin: "0px"
66
66
  },
67
- height: "auto !important",
68
- minHeight: theme.generalSettings?.isMobile ? theme.vars.size.mobile[ownerState?.size || "medium"].action : theme.vars.size.desktop[ownerState?.size || "medium"].action
67
+ ...getSizeStyles(
68
+ theme,
69
+ ownerState?.size || "medium",
70
+ "action",
71
+ (size) => {
72
+ return {
73
+ height: "auto!important",
74
+ minHeight: size
75
+ };
76
+ }
77
+ )
69
78
  }),
70
79
  /**
71
80
  * Styles for the text of the button component.
@@ -79,6 +88,8 @@ const buttonStyles = {
79
88
  whiteSpace: "nowrap",
80
89
  overflow: "hidden",
81
90
  textOverflow: "ellipsis",
91
+ paddingLeft: theme.vars.size.baseSpacings.sp1,
92
+ paddingRight: theme.vars.size.baseSpacings.sp1,
82
93
  "&.MuiButton-label": {
83
94
  width: "100%",
84
95
  minWidth: "0",
@@ -13,7 +13,7 @@ const LoadingButton = (props) => {
13
13
  startIcon,
14
14
  color = "primary",
15
15
  disabled = false,
16
- size = "small",
16
+ size,
17
17
  variant = "contained",
18
18
  skeletonWidth = "100%",
19
19
  loading = false,
@@ -8,7 +8,7 @@ const tabContentStyles = {
8
8
  paddingLeft: 0,
9
9
  paddingRight: 0,
10
10
  display: "flex",
11
- overflow: "hidden",
11
+ overflow: "auto",
12
12
  // height: '100%',
13
13
  flexDirection: "column",
14
14
  gap: theme.vars.size.baseSpacings.sp2,
@@ -21,7 +21,10 @@ const tabContentStyles = {
21
21
  zIndex: "0",
22
22
  top: "-1px",
23
23
  ...ownerState?.background ? {
24
- backgroundColor: theme.vars.palette.background.default
24
+ backgroundColor: theme.vars.palette.background.neutral,
25
+ paddingLeft: theme.vars.size.baseSpacings.sp2,
26
+ paddingRight: theme.vars.size.baseSpacings.sp2,
27
+ paddingBottom: theme.vars.size.baseSpacings.sp2
25
28
  } : {},
26
29
  "& .M4LStack-root": {
27
30
  gap: `${theme.vars.size.baseSpacings.sp2} !important`
@@ -1 +1,2 @@
1
1
  export { TabContent } from './TabContent';
2
+ export type { TabContentProps } from './types';
@@ -19,6 +19,7 @@ const TextField = forwardRef(function TextField2(props, ref) {
19
19
  inputProps,
20
20
  autoComplete = "off",
21
21
  className,
22
+ readOnly = false,
22
23
  ...others
23
24
  } = props;
24
25
  const { currentSize } = useComponentSize(size);
@@ -31,7 +32,8 @@ const TextField = forwardRef(function TextField2(props, ref) {
31
32
  paletteColor,
32
33
  variant,
33
34
  error,
34
- color: error ? "error" : "default"
35
+ color: error ? "error" : "default",
36
+ readOnly
35
37
  };
36
38
  const isSkeleton = useModuleSkeleton();
37
39
  if (isSkeleton) {
@@ -50,7 +52,7 @@ const TextField = forwardRef(function TextField2(props, ref) {
50
52
  {
51
53
  ref,
52
54
  ownerState: { ...ownerState },
53
- className: clsx(TEXT_FIELD_CLASSES.root, TEXT_FIELD_CLASSES[variant], className),
55
+ className: clsx(TEXT_FIELD_CLASSES.root, TEXT_FIELD_CLASSES[variant], className, readOnly && TEXT_FIELD_CLASSES.readOnly),
54
56
  ...getPropDataTestId(TEXT_FIELD_KEY_COMPONENT, TextFieldSlots.root, dataTestId),
55
57
  autoComplete,
56
58
  value,
@@ -11,8 +11,8 @@ const textFieldStyles = {
11
11
  padding: 0,
12
12
  borderRadius: theme.vars.size.borderRadius.r1,
13
13
  display: "flex",
14
- // Estilos globales del TextField 🌎
15
14
  "& .MuiInputBase-root": {
15
+ // Estilos globales del TextField 🌎
16
16
  // Paddings
17
17
  paddingLeft: theme.vars.size.baseSpacings.sp1,
18
18
  paddingRight: 0,
@@ -20,7 +20,7 @@ const textFieldStyles = {
20
20
  paddingBottom: 0,
21
21
  // Estilo de los bordes
22
22
  border: theme.vars.size.borderStroke.actionInput,
23
- borderColor: ownerState?.error ? `${ownerState?.paletteColor?.enabled}!important` : `${theme.vars.palette.border.default}!important`,
23
+ borderColor: ownerState?.error && !ownerState?.readOnly ? `${ownerState?.paletteColor?.enabled}!important` : `${theme.vars.palette.border.default}!important`,
24
24
  // Redondeado de los bordes
25
25
  borderRadius: theme.vars.size.borderRadius.r1,
26
26
  // Altura
@@ -39,68 +39,71 @@ const textFieldStyles = {
39
39
  };
40
40
  }
41
41
  ),
42
+ ...ownerState?.readOnly ? {
43
+ backgroundColor: theme.vars.palette.background.neutral
44
+ } : {}
45
+ },
46
+ // ↴ Overrides ❌
47
+ // Estilos del input
48
+ "& .MuiInputBase-input": {
42
49
  // ↴ Overrides ❌
43
- // Estilos del input
44
- "& > .MuiInputBase-input": {
45
- // ↴ Overrides ❌
46
- paddingLeft: theme.vars.size.baseSpacings.sp1,
47
- paddingRight: theme.vars.size.baseSpacings.sp1,
48
- paddingTop: 0,
49
- paddingBottom: 0,
50
- fontFamily: theme.typography.fontFamily,
51
- color: ownerState?.disabled ? theme.vars.palette.text.disabled : theme.vars.palette.text.primary,
52
- ...getTypographyStyles(
53
- theme.generalSettings.isMobile,
54
- ownerState?.size || "medium",
55
- "body"
56
- ),
57
- "&::placeholder": {
58
- color: theme.palette.text.disabled
59
- },
60
- "&:-webkit-autofill": {
61
- backgroundColor: "transparent!important"
62
- }
50
+ paddingLeft: theme.vars.size.baseSpacings.sp1,
51
+ paddingRight: theme.vars.size.baseSpacings.sp1,
52
+ paddingTop: 0,
53
+ paddingBottom: 0,
54
+ fontFamily: theme.typography.fontFamily,
55
+ color: ownerState?.disabled ? theme.vars.palette.text.disabled : theme.vars.palette.text.primary,
56
+ ...getTypographyStyles(
57
+ theme.generalSettings.isMobile,
58
+ ownerState?.size || "medium",
59
+ "body"
60
+ ),
61
+ "&::placeholder": {
62
+ color: theme.palette.text.disabled
63
63
  },
64
- // Estilos de cuando esta deshabilitado
64
+ "&:-webkit-autofill": {
65
+ backgroundColor: "transparent!important"
66
+ }
67
+ },
68
+ // Estilos de cuando esta deshabilitado
69
+ ...ownerState?.disabled && {
70
+ borderColor: `${theme.vars.palette.border.disabled}!important`,
71
+ pointerEvents: ownerState?.disabled ? "none" : "auto"
72
+ },
73
+ // Estilos del los adorments
74
+ "& .MuiInputAdornment-root": {
75
+ height: "auto",
76
+ width: "auto",
77
+ // ↴ Overrides ❌
78
+ margin: 0
79
+ },
80
+ // Estilos de la mascara fieldset, es un elemento interno del textfield, material lo usa como mascara para el estilo.
81
+ // por practicidad se oculta en nuestra versión, sin embargo no se elimina porque es parte de la semántica del componente.
82
+ "& .MuiOutlinedInput-notchedOutline": {
83
+ all: "unset",
84
+ display: "none"
85
+ },
86
+ "& .MuiInputAdornment-root .M4LIcon-icon": {
87
+ backgroundColor: ownerState?.error ? ownerState?.paletteColor?.enabled : theme.vars.palette.text.primary,
65
88
  ...ownerState?.disabled && {
66
- borderColor: `${theme.vars.palette.border.disabled}!important`,
67
- pointerEvents: ownerState?.disabled ? "none" : "auto"
68
- },
69
- // Estilos del los adorments
70
- "& .MuiInputAdornment-root": {
71
- height: "auto",
72
- width: "auto",
73
- // ↴ Overrides ❌
74
- margin: 0
75
- },
76
- // Estilos de la mascara fieldset, es un elemento interno del textfield, material lo usa como mascara para el estilo.
77
- // por practicidad se oculta en nuestra versión, sin embargo no se elimina porque es parte de la semántica del componente.
78
- "& .MuiOutlinedInput-notchedOutline": {
79
- all: "unset",
80
- display: "none"
81
- },
82
- "& .MuiInputAdornment-root .M4LIcon-icon": {
83
- backgroundColor: ownerState?.error ? ownerState?.paletteColor?.enabled : theme.vars.palette.text.primary,
84
- ...ownerState?.disabled && {
85
- backgroundColor: theme.vars.palette.text.disabled
86
- }
87
- },
88
- "&:hover": {
89
- backgroundColor: ownerState?.paletteColor?.hoverOpacity,
90
- ...ownerState?.error && {
91
- borderColor: `${ownerState?.paletteColor?.hover}!important`,
92
- "& .MuiInputAdornment-root .M4LIcon-icon": {
93
- backgroundColor: ownerState?.paletteColor?.hover
94
- }
95
- }
96
- },
97
- "&:focus-within": {
98
- borderColor: `${ownerState?.paletteColor?.enabled}!important`,
89
+ backgroundColor: theme.vars.palette.text.disabled
90
+ }
91
+ },
92
+ "&:not(.M4LTextField-readOnly ) .MuiInputBase-root:hover": {
93
+ backgroundColor: ownerState?.paletteColor?.hoverOpacity,
94
+ ...ownerState?.error && {
95
+ borderColor: `${ownerState?.paletteColor?.hover}!important`,
99
96
  "& .MuiInputAdornment-root .M4LIcon-icon": {
100
- backgroundColor: ownerState?.paletteColor?.focus
97
+ backgroundColor: ownerState?.paletteColor?.hover
101
98
  }
102
99
  }
103
100
  },
101
+ "&:not(.M4LTextField-readOnly ) .MuiInputBase-root:focus-within": {
102
+ borderColor: `${ownerState?.paletteColor?.enabled}!important`,
103
+ "& .MuiInputAdornment-root .M4LIcon-icon": {
104
+ backgroundColor: ownerState?.paletteColor?.focus
105
+ }
106
+ },
104
107
  // Variant Outlined TextField
105
108
  ...ownerState?.variant === "outlined" && {
106
109
  [`&.${TEXT_FIELD_CLASSES.outlined} .MuiInputBase-root`]: {
@@ -122,13 +125,13 @@ const textFieldStyles = {
122
125
  ...ownerState?.variant === "contained" && {
123
126
  [`&.${TEXT_FIELD_CLASSES.contained} .MuiInputBase-root`]: {
124
127
  border: "none",
125
- backgroundColor: theme.vars.palette[ownerState?.color || "default"][ownerState?.error ? "toneOpacity" : "enabled"]
128
+ backgroundColor: ownerState?.readOnly ? theme.vars.palette.background.neutral : theme.vars.palette[ownerState?.color || "default"][ownerState?.error ? "toneOpacity" : "enabled"]
126
129
  },
127
- ...ownerState?.error && {
130
+ ...ownerState?.error && !ownerState?.readOnly && {
128
131
  border: theme.vars.size.borderStroke.actionInput,
129
132
  borderColor: `${ownerState?.paletteColor?.enabled}!important`
130
133
  },
131
- "&:focus-within": {
134
+ "&:not(.M4LTextField-readOnly ) .MuiInputBase-root:focus-within": {
132
135
  border: theme.vars.size.borderStroke.actionInput,
133
136
  borderColor: `${ownerState?.paletteColor?.enabled}!important`
134
137
  }
@@ -4,6 +4,7 @@ export declare const COMBINATED_TEXTFIELD_ENUMS: {
4
4
  outlined: TexFieldComplementaryClasses.outlined;
5
5
  text: TexFieldComplementaryClasses.text;
6
6
  contained: TexFieldComplementaryClasses.contained;
7
+ readOnly: TexFieldComplementaryClasses.readOnly;
7
8
  root: TextFieldSlots.root;
8
9
  skeleton: TextFieldSlots.skeleton;
9
10
  };
@@ -5,5 +5,6 @@ export declare enum TextFieldSlots {
5
5
  export declare enum TexFieldComplementaryClasses {
6
6
  outlined = "outlined",
7
7
  text = "text",
8
- contained = "contained"
8
+ contained = "contained",
9
+ readOnly = "readOnly"
9
10
  }
@@ -7,6 +7,7 @@ var TexFieldComplementaryClasses = /* @__PURE__ */ ((TexFieldComplementaryClasse
7
7
  TexFieldComplementaryClasses2["outlined"] = "outlined";
8
8
  TexFieldComplementaryClasses2["text"] = "text";
9
9
  TexFieldComplementaryClasses2["contained"] = "contained";
10
+ TexFieldComplementaryClasses2["readOnly"] = "readOnly";
10
11
  return TexFieldComplementaryClasses2;
11
12
  })(TexFieldComplementaryClasses || {});
12
13
  export {
@@ -36,6 +36,11 @@ export interface TextFieldProps extends Omit<MUITextFieldProps, 'size' | 'color'
36
36
  * size="medium"
37
37
  */
38
38
  size?: Extract<Sizes, 'small' | 'medium'>;
39
+ /**
40
+ * Indica si el campo de texto está en modo de solo lectura.
41
+ * readOnly={true}
42
+ */
43
+ readOnly?: boolean;
39
44
  }
40
45
  /**
41
46
  * Estado del propietario del campo de texto.
@@ -61,7 +66,14 @@ export interface TextFieldOwnerState {
61
66
  * Indica si el campo de texto es error.
62
67
  */
63
68
  error?: boolean;
69
+ /**
70
+ * Color del campo de texto.
71
+ */
64
72
  color?: Extract<ComponentPalletColor, 'default' | 'error'>;
73
+ /**
74
+ * Indica si el campo de texto está en modo de solo lectura.
75
+ */
76
+ readOnly?: boolean;
65
77
  }
66
78
  export type TextFieldSlotsType = keyof typeof TextFieldSlots;
67
79
  export type TextFieldStyles = M4LOverridesStyleRules<TextFieldSlotsType, typeof TEXT_FIELD_KEY_COMPONENT, Theme>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.2.56-beta.5",
3
+ "version": "9.2.56-beta.6",
4
4
  "license": "UNLICENSED",
5
5
  "description": "M4L Components",
6
6
  "lint-staged": {
@@ -11,8 +11,8 @@
11
11
  "@googlemaps/js-api-loader": "^1.16.6",
12
12
  "@hookform/resolvers": "^2.9.5",
13
13
  "@m4l/core": "^2.0.0",
14
- "@m4l/graphics": "7.1.1-beta.5",
15
- "@m4l/styles": "7.1.28-beta.5",
14
+ "@m4l/graphics": "7.1.1-beta.6",
15
+ "@m4l/styles": "7.1.28-beta.6",
16
16
  "@microlink/react-json-view": "^1.23.3",
17
17
  "@mui/lab": "5.0.0-alpha.173",
18
18
  "@mui/material": "5.16.7",
@@ -5,4 +5,8 @@ export default meta;
5
5
  type Story = StoryObj<typeof NoItemSelected>;
6
6
  /** Base component */
7
7
  export declare const NoItemSelectedComponent: Story;
8
+ /**
9
+ * Version skeleton del componente
10
+ */
11
+ export declare const Skeleton: Story;
8
12
  export declare const WithSplitLayout: Story;
@@ -1,5 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
- import { PropertyValue } from '../../../src/components/PropertyValue/PropertyValue';
2
+ import { PropertyValue } from '../../../src/components/PropertyValue';
3
3
  declare const meta: Meta<typeof PropertyValue>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof PropertyValue>;
@@ -59,3 +59,7 @@ export declare const LargeProperty: Story;
59
59
  * Historia sin formulario con valor largo.
60
60
  */
61
61
  export declare const LargeValue: Story;
62
+ /**
63
+ * Historia que muestra todos los estados semánticos de semanticWidth de manera vertical.
64
+ */
65
+ export declare const SemanticWidths: Story;
@@ -8,6 +8,17 @@ import { TextField } from '../../../../../src/components/mui_extended/TextField/
8
8
  declare const meta: Meta<typeof TextField>;
9
9
  type Story = StoryObj<typeof TextField>;
10
10
  export declare const Default: Story;
11
+ /**
12
+ * Se aplica cuando el input está en modo de solo lectura y no puede ser interactuado por el usuario.
13
+ *
14
+ * readOnly
15
+ */
16
+ export declare const ReadOnly: Story;
17
+ /**
18
+ * Se aplica cuando el input tiene adornos.
19
+ *
20
+ * disabled
21
+ */
11
22
  export declare const WhitAdorment: Story;
12
23
  export declare const WithSkeleton: Story;
13
24
  export default meta;