@m4l/components 9.71.0 → 9.72.0-beta-hotfix-image-button.0

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 (65) hide show
  1. package/@types/types.d.ts +11 -0
  2. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +1 -1
  3. package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +1 -1
  4. package/components/Alert/slots/AlertSlots.d.ts +1 -1
  5. package/components/CheckableList/slots/styled.d.ts +1 -1
  6. package/components/Chip/slots/ChipSlots.d.ts +1 -1
  7. package/components/ColorPicker/slots/ColorPickerSlots.d.ts +1 -1
  8. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +3 -3
  9. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +3 -3
  10. package/components/EditLabel/slots/EditLabelSlots.d.ts +2 -2
  11. package/components/Image/Image.d.ts.map +1 -1
  12. package/components/Image/Image.js +49 -32
  13. package/components/Image/slots/ImageSlots.d.ts +3 -0
  14. package/components/Image/slots/ImageSlots.d.ts.map +1 -1
  15. package/components/Image/slots/ImageSlots.js +6 -2
  16. package/components/Image/subcomponents/ImageResource/index.d.ts +6 -0
  17. package/components/Image/subcomponents/ImageResource/index.d.ts.map +1 -0
  18. package/components/Image/subcomponents/ImageResource/index.js +24 -0
  19. package/components/Image/types.d.ts +25 -2
  20. package/components/Image/types.d.ts.map +1 -1
  21. package/components/Image/utils/getImageResourceElementProps.d.ts +7 -0
  22. package/components/Image/utils/getImageResourceElementProps.d.ts.map +1 -0
  23. package/components/Image/utils/getImageResourceElementProps.js +14 -0
  24. package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
  25. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  26. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +1 -1
  27. package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
  28. package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
  29. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +5 -5
  30. package/components/datagrids/slots/DataGridSlot.d.ts +1 -1
  31. package/components/extended/ReactSimpleCodeEditor/slots/CodeEditorSlots.d.ts +1 -1
  32. package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.d.ts +1 -1
  33. package/components/extended/mui/Clipboard/slots/ClipboardSlots.d.ts +1 -1
  34. package/components/extended/mui/DatePicker/slots/DatePickerSlots.d.ts +1 -1
  35. package/components/extended/mui/DateTimePicker/slots/DateTimePickerSlots.d.ts +1 -1
  36. package/components/extended/mui/IconButton/IconButton.d.ts.map +1 -1
  37. package/components/extended/mui/IconButton/IconButton.js +71 -67
  38. package/components/extended/mui/IconButton/IconButton.styles.d.ts +19 -1
  39. package/components/extended/mui/IconButton/IconButton.styles.d.ts.map +1 -1
  40. package/components/extended/mui/IconButton/IconButton.styles.js +226 -154
  41. package/components/extended/mui/IconButton/types.d.ts +3 -1
  42. package/components/extended/mui/IconButton/types.d.ts.map +1 -1
  43. package/components/extended/mui/ImageButton/ImageButton.d.ts +2 -2
  44. package/components/extended/mui/ImageButton/ImageButton.d.ts.map +1 -1
  45. package/components/extended/mui/ImageButton/ImageButton.js +74 -29
  46. package/components/extended/mui/ImageButton/styles.d.ts +20 -1
  47. package/components/extended/mui/ImageButton/styles.d.ts.map +1 -1
  48. package/components/extended/mui/ImageButton/styles.js +55 -3
  49. package/components/extended/mui/ImageButton/types.d.ts +22 -2
  50. package/components/extended/mui/ImageButton/types.d.ts.map +1 -1
  51. package/components/extended/mui/ImageButton/utils/Clases/index.d.ts +2 -0
  52. package/components/extended/mui/ImageButton/utils/Clases/index.d.ts.map +1 -1
  53. package/components/extended/mui/ImageButton/utils/Clases/index.js +20 -11
  54. package/components/extended/mui/ImageButton/utils/Clases/types.d.ts +6 -0
  55. package/components/extended/mui/ImageButton/utils/Clases/types.d.ts.map +1 -1
  56. package/components/extended/mui/Select/slots/SelectSlots.d.ts +1 -1
  57. package/components/extended/mui/TimePicker/slots/TimePickerSlots.d.ts +1 -1
  58. package/components/extended/mui/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  59. package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +1 -1
  60. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  61. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +1 -1
  62. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +1 -1
  63. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +1 -1
  64. package/package.json +9 -9
  65. package/components/extended/mui/ImageButton/tests/constants.js +0 -4
@@ -1,176 +1,247 @@
1
- import { getSizeStyles as i } from "../../../../utils/getSizeStyles/getSizeStyles.js";
2
- import { getIconButtonColors as l } from "./helpers/getIconButtonColors.js";
3
- const d = {
4
- /**
5
- * 🔘 Estilos generales para el componente IconButton
6
- * Define la apariencia base y todos los estados interactivos
7
- */
8
- styledMUIIconButton: ({ ownerState: o, theme: c }) => {
9
- const r = o?.disabled ? c.vars.palette.default : c.vars.palette[o?.color || "default"];
10
- return {
11
- "&&&": {
12
- // 🔧 Triple & para aumentar la especificidad CSS
13
- overflow: "hidden",
14
- cursor: o?.disabled ? "not-allowed" : "pointer",
15
- color: c.vars.palette.text.primary,
16
- borderRadius: c.size.borderRadius["r1-5"],
17
- pointerEvents: o?.disabled ? "none" : "auto",
18
- display: o?.isSkeleton ? "none" : "flex",
19
- justifyContent: "center",
20
- padding: 0,
21
- // 🖼️ Estilos para el icono dentro del botón
1
+ import { getOriginalSvgIconPaintStyles as p } from "@m4l/base";
2
+ import { getSizeStyles as s } from "../../../../utils/getSizeStyles/getSizeStyles.js";
3
+ import { getIconButtonColors as b } from "./helpers/getIconButtonColors.js";
4
+ function l(o, a) {
5
+ return o ? a : {};
6
+ }
7
+ function g({ ownerState: o, theme: a }, { includeIconColorStyles: i = !0 } = {}) {
8
+ const r = o?.disabled ? a.vars.palette.default : a.vars.palette[o?.color || "default"], u = o?.originalColor === !0, t = o?.variant !== "text", v = o?.color === "default" ? a.vars.palette.border.default : r.enabled, e = o?.color === "default" ? a.vars.palette.border.default : r.hover, c = o?.color === "default" ? a.vars.palette.primary.active : r.active, n = o?.selected ? c : v;
9
+ return {
10
+ "&&&": {
11
+ // 🔧 Triple & para aumentar la especificidad CSS
12
+ overflow: "hidden",
13
+ cursor: o?.disabled ? "not-allowed" : "pointer",
14
+ color: a.vars.palette.text.primary,
15
+ borderRadius: a.size.borderRadius["r1-5"],
16
+ pointerEvents: o?.disabled ? "none" : "auto",
17
+ display: o?.isSkeleton ? "none" : "flex",
18
+ justifyContent: "center",
19
+ padding: 0,
20
+ // 🖼️ Estilos para el icono dentro del botón
21
+ ...l(i, {
22
22
  "&&& .M4LIcon-icon": {
23
23
  backgroundColor: o?.variant === "contained" ? r.contrastText : r.semanticText
24
+ }
25
+ }),
26
+ // 🔍 Estado Focus-visible
27
+ "&:focus-visible": {
28
+ outline: a.vars.size.borderStroke.container,
29
+ outlineColor: a.vars.palette.default.focusVisible,
30
+ outlineOffset: "-1px",
31
+ ...o?.variant === "outline" && {
32
+ backgroundColor: r.hoverOpacity
24
33
  },
25
- // 🔍 Estado Focus-visible
26
- "&:focus-visible": {
27
- outline: c.vars.size.borderStroke.container,
28
- outlineColor: c.vars.palette.default.focusVisible,
29
- outlineOffset: "-1px",
30
- ...o?.variant === "outline" && {
31
- backgroundColor: r.hoverOpacity
32
- },
33
- ...o?.variant === "text" && {
34
- backgroundColor: r.hoverOpacity
35
- }
36
- },
37
- "&:-webkit-any-link:focus-visible": {
38
- outline: c.vars.size.borderStroke.container,
39
- outlineColor: c.vars.palette.default.focusVisible,
40
- outlineOffset: "-1px"
41
- },
42
- /**
43
- * ✅ ESTADO SELECCIONADO
44
- * Maneja la apariencia cuando el botón está seleccionado (selected=true)
45
- */
46
- ...o?.selected === !0 ? {
47
- // Estilos para la variante contained
48
- ...o?.variant === "contained" && {
49
- // 🎯 Color de fondo según variante y color del componente
50
- backgroundColor: o?.variant === "contained" ? o?.color === "error" ? r.active : o?.color === "default" ? c.vars.palette.primary.selected : o?.color === "success" ? c.vars.palette.success.selected : r.selected : o?.color === "error" ? r.activeOpacity : r.selectedOpacity,
34
+ ...o?.variant === "text" && {
35
+ backgroundColor: r.hoverOpacity
36
+ }
37
+ },
38
+ "&:-webkit-any-link:focus-visible": {
39
+ outline: a.vars.size.borderStroke.container,
40
+ outlineColor: a.vars.palette.default.focusVisible,
41
+ outlineOffset: "-1px"
42
+ },
43
+ /**
44
+ * ✅ ESTADO SELECCIONADO
45
+ * Maneja la apariencia cuando el botón está seleccionado (selected=true)
46
+ */
47
+ ...o?.selected === !0 ? {
48
+ // Estilos para la variante contained
49
+ ...o?.variant === "contained" && {
50
+ // 🎯 Color de fondo según variante y color del componente
51
+ backgroundColor: o?.variant === "contained" ? o?.color === "error" ? r.active : o?.color === "default" ? a.vars.palette.primary.selected : o?.color === "success" ? a.vars.palette.success.selected : r.selected : o?.color === "error" ? r.activeOpacity : r.selectedOpacity,
52
+ ...l(i, {
51
53
  "&&& .M4LIcon-icon": {
52
- backgroundColor: o?.variant === "contained" ? c.vars.palette.primary.contrastText : r.semanticText
54
+ backgroundColor: o?.variant === "contained" ? a.vars.palette.primary.contrastText : r.semanticText
53
55
  }
54
- },
55
- // Estilos para la variante text
56
- ...o.variant === "outline" && {
57
- backgroundColor: o.color === "default" ? c.vars.palette.primary.selectedOpacity : r.selectedOpacity,
58
- border: c.vars.size.borderStroke.actionInput,
59
- borderColor: o.color === "default" ? c.vars.palette.primary.active : r.active,
56
+ })
57
+ },
58
+ // Estilos para la variante text
59
+ ...o?.variant === "outline" && {
60
+ backgroundColor: o?.color === "default" ? a.vars.palette.primary.selectedOpacity : r.selectedOpacity,
61
+ border: a.vars.size.borderStroke.actionInput,
62
+ borderColor: o?.color === "default" ? a.vars.palette.primary.active : r.active,
63
+ ...l(i, {
60
64
  "&&& .M4LIcon-icon": {
61
- backgroundColor: o.color === "default" ? c.vars.palette.primary.semanticText : o.color === "warning" ? r.active : r.selected
65
+ backgroundColor: o?.color === "default" ? a.vars.palette.primary.semanticText : o?.color === "warning" ? r.active : r.selected
62
66
  }
63
- },
64
- ...o.variant === "text" && {
65
- backgroundColor: o.color === "default" ? c.vars.palette.primary.selectedOpacity : r.selectedOpacity,
67
+ })
68
+ },
69
+ ...o?.variant === "text" && {
70
+ backgroundColor: o?.color === "default" ? a.vars.palette.primary.selectedOpacity : r.selectedOpacity,
71
+ ...l(i, {
66
72
  "&&& .M4LIcon-icon": {
67
- backgroundColor: o.color === "default" ? c.vars.palette.primary.semanticText : o.color === "warning" ? r.active : r.selected
73
+ backgroundColor: o?.color === "default" ? a.vars.palette.primary.semanticText : o?.color === "warning" ? r.active : r.selected
68
74
  }
69
- }
70
- } : {
71
- /**
72
- * 🔄 ESTADO NORMAL (NO SELECCIONADO)
73
- * Define estilos para los diferentes estados y variantes cuando no está seleccionado
74
- */
75
- /**
76
- * 📝 VARIANTE TEXT
77
- * Apariencia base y estados interactivos para la variante text
78
- */
79
- ...o?.variant === "text" && {
75
+ })
76
+ }
77
+ } : {
78
+ /**
79
+ * 🔄 ESTADO NORMAL (NO SELECCIONADO)
80
+ * Define estilos para los diferentes estados y variantes cuando no está seleccionado
81
+ */
82
+ /**
83
+ * 📝 VARIANTE TEXT
84
+ * Apariencia base y estados interactivos para la variante text
85
+ */
86
+ ...o?.variant === "text" && {
87
+ ...l(i, {
80
88
  "&&& .M4LIcon-icon": {
81
89
  backgroundColor: r.semanticText
82
- },
83
- // 🖱️ Estado Hover
84
- "&:hover": {
85
- backgroundColor: r.hoverOpacity,
90
+ }
91
+ }),
92
+ // 🖱️ Estado Hover
93
+ "&:hover": {
94
+ backgroundColor: r.hoverOpacity,
95
+ ...l(i, {
86
96
  "&&& .M4LIcon-icon": {}
87
- },
88
- // 👇 Estado Active
89
- "&:active": {
90
- backgroundColor: r.activeOpacity,
97
+ })
98
+ },
99
+ // 👇 Estado Active
100
+ "&:active": {
101
+ backgroundColor: r.activeOpacity,
102
+ ...l(i, {
91
103
  "&&& .M4LIcon-icon": {
92
104
  backgroundColor: o?.color === "default" ? r.semanticText : r.active
93
105
  }
94
- }
106
+ })
107
+ }
108
+ },
109
+ /**
110
+ * ⚪ VARIANTE OUTLINE
111
+ * Apariencia base y estados interactivos para la variante outline
112
+ */
113
+ ...o?.variant === "outline" && {
114
+ // 🖋️ Borde diferente según el color del componente
115
+ ...o?.color !== "default" && {
116
+ border: `1px solid ${r.enabled}`
117
+ },
118
+ ...o?.color === "default" && {
119
+ border: `1px solid ${a.vars.palette.border.default}`
95
120
  },
96
- /**
97
- * ⚪ VARIANTE OUTLINE
98
- * Apariencia base y estados interactivos para la variante outline
99
- */
100
- ...o?.variant === "outline" && {
101
- // 🖋️ Borde diferente según el color del componente
102
- ...o?.color !== "default" && {
103
- border: `1px solid ${r.enabled}`
104
- },
105
- ...o?.color === "default" && {
106
- border: `1px solid ${c.vars.palette.border.default}`
107
- },
108
- // 🖱️ Estado Hover
109
- "&:hover": {
110
- background: r.hoverOpacity,
111
- border: o.color === "default" ? `1px solid ${c.vars.palette.border.default}` : `1px solid ${r.hover}`,
121
+ // 🖱️ Estado Hover
122
+ "&:hover": {
123
+ background: r.hoverOpacity,
124
+ border: o?.color === "default" ? `1px solid ${a.vars.palette.border.default}` : `1px solid ${r.hover}`,
125
+ ...l(i, {
112
126
  "&&& .M4LIcon-icon": {}
113
- },
114
- // 👇 Estado Active
115
- "&:active": {
116
- background: r.activeOpacity,
117
- border: o.color === "default" ? `1px solid ${c.vars.palette.border.default}` : `1px solid ${r.active}`,
127
+ })
128
+ },
129
+ // 👇 Estado Active
130
+ "&:active": {
131
+ background: r.activeOpacity,
132
+ border: o?.color === "default" ? `1px solid ${a.vars.palette.border.default}` : `1px solid ${r.active}`,
133
+ ...l(i, {
118
134
  "&&& .M4LIcon-icon": {
119
135
  backgroundColor: o?.color === "default" ? r.semanticText : r.active
120
136
  }
121
- }
122
- },
123
- /**
124
- * 🔵 VARIANTE CONTAINED
125
- * Apariencia base y estados interactivos para la variante contained
126
- */
127
- ...o?.variant === "contained" && {
128
- backgroundColor: r.enabled,
129
- // 🖼️ Color del icono
130
- "&&& .M4LIcon-icon": {
131
- backgroundColor: o?.color === "default" ? r.semanticText : r.contrastText
132
- },
133
- // 🖱️ Estado Hover
134
- "&:hover": {
135
- background: r.hover
136
- },
137
- // 👇 Estado Active
138
- "&:active": {
139
- background: r.active
140
- }
137
+ })
141
138
  }
142
139
  },
143
140
  /**
144
- * 🚫 ESTADO DISABLED
145
- * Estilos específicos para cuando el botón está deshabilitado
141
+ * 🔵 VARIANTE CONTAINED
142
+ * Apariencia base y estados interactivos para la variante contained
146
143
  */
147
- ...o?.disabled === !0 && {
148
- "&&& .M4LIcon-icon": {
149
- color: c.vars.palette.text.disabled
144
+ ...o?.variant === "contained" && {
145
+ backgroundColor: r.enabled,
146
+ // 🖼️ Color del icono
147
+ ...l(i, {
148
+ "&&& .M4LIcon-icon": {
149
+ backgroundColor: o?.color === "default" ? r.semanticText : r.contrastText
150
+ }
151
+ }),
152
+ // 🖱️ Estado Hover
153
+ "&:hover": {
154
+ background: r.hover
155
+ },
156
+ // 👇 Estado Active
157
+ "&:active": {
158
+ background: r.active
150
159
  }
151
- },
152
- /**
153
- * 📏 TAMAÑOS DEL COMPONENTE
154
- * Aplica dimensiones según el tamaño especificado (small, medium, large)
155
- */
156
- ...i(
157
- c,
158
- o?.size || "medium",
159
- "action",
160
- (a) => ({
161
- width: a,
162
- height: a
163
- })
164
- ),
165
- // 🔲 Estilos para el imagen dentro del botón
166
- "&&& .M4LImage-root": {
160
+ }
161
+ },
162
+ /**
163
+ * 🚫 ESTADO DISABLED
164
+ * Estilos específicos para cuando el botón está deshabilitado
165
+ */
166
+ ...o?.disabled === !0 && l(i, {
167
+ "&&& .M4LIcon-icon": {
168
+ color: a.vars.palette.text.disabled
169
+ }
170
+ }),
171
+ /**
172
+ * 📏 TAMAÑOS DEL COMPONENTE
173
+ * Aplica dimensiones según el tamaño especificado (small, medium, large)
174
+ */
175
+ ...s(
176
+ a,
177
+ o?.size || "medium",
178
+ "action",
179
+ (d) => ({
180
+ width: d,
181
+ height: d
182
+ })
183
+ ),
184
+ // 🔲 Estilos para el imagen dentro del botón
185
+ "&&& .M4LImage-root": {
186
+ width: "100%",
187
+ height: "100%",
188
+ minWidth: 0,
189
+ minHeight: 0,
190
+ display: "flex",
191
+ alignItems: "center",
192
+ justifyContent: "center",
193
+ objectFit: "contain",
194
+ overflow: "visible",
195
+ "& .MuiSvgIcon-root, & svg": {
167
196
  width: "100%",
168
197
  height: "100%",
169
- objectFit: "cover"
198
+ maxWidth: "100%",
199
+ maxHeight: "100%",
200
+ display: "block",
201
+ flexShrink: 0
202
+ }
203
+ },
204
+ ...u && {
205
+ background: "transparent",
206
+ backgroundColor: "transparent",
207
+ ...t && {
208
+ border: `1px solid ${n}`,
209
+ borderColor: n
210
+ },
211
+ "&:hover": {
212
+ background: "transparent",
213
+ backgroundColor: "transparent",
214
+ ...t && {
215
+ border: `1px solid ${e}`,
216
+ borderColor: e
217
+ }
218
+ },
219
+ "&:active": {
220
+ background: "transparent",
221
+ backgroundColor: "transparent",
222
+ ...t && {
223
+ border: `1px solid ${c}`,
224
+ borderColor: c
225
+ }
226
+ },
227
+ "&:focus-visible": {
228
+ outline: a.vars.size.borderStroke.container,
229
+ outlineColor: a.vars.palette.default.focusVisible,
230
+ outlineOffset: "-1px",
231
+ background: "transparent",
232
+ backgroundColor: "transparent"
170
233
  }
171
234
  }
172
- };
173
- },
235
+ },
236
+ ...o?.originalColor && p()
237
+ };
238
+ }
239
+ const x = {
240
+ /**
241
+ * 🔘 Estilos generales para el componente IconButton
242
+ * Define la apariencia base y todos los estados interactivos
243
+ */
244
+ styledMUIIconButton: g,
174
245
  /**
175
246
  * 🏷️ Estilos para el badge del IconButton
176
247
  * Actualmente no implementado, pendiente de documentación en Figma
@@ -180,15 +251,15 @@ const d = {
180
251
  * ⌛ Estilos para el estado skeleton del IconButton
181
252
  * Aplicados cuando se muestra un esqueleto de carga
182
253
  */
183
- skeleton: ({ theme: o, ownerState: c }) => ({
254
+ skeleton: ({ theme: o, ownerState: a }) => ({
184
255
  "&.M4lclassCssSpecificity": {
185
- ...i(
256
+ ...s(
186
257
  o,
187
- c?.size || "medium",
258
+ a?.size || "medium",
188
259
  "action",
189
- (r) => ({
190
- width: r,
191
- height: r
260
+ (i) => ({
261
+ width: i,
262
+ height: i
192
263
  })
193
264
  )
194
265
  }
@@ -197,15 +268,16 @@ const d = {
197
268
  * 🎭 Estilos específicos para el icono dentro del IconButton
198
269
  * Personaliza el color del icono según el estado del botón
199
270
  */
200
- icon: ({ theme: o, ownerState: c }) => {
201
- const { iconColor: r } = l(o, c);
271
+ icon: ({ theme: o, ownerState: a }) => {
272
+ const { iconColor: i } = b(o, a);
202
273
  return {
203
274
  '& [class*="M4LIcon-icon"]': {
204
- backgroundColor: r
275
+ backgroundColor: i
205
276
  }
206
277
  };
207
278
  }
208
279
  };
209
280
  export {
210
- d as iconButtonStyles
281
+ g as getIconButtonShellStyles,
282
+ x as iconButtonStyles
211
283
  };
@@ -31,11 +31,13 @@ export interface IconButtonProps extends Partial<Omit<IconProps, 'size' | 'color
31
31
  dataTestId?: string;
32
32
  /** Propiedad que sirve para cambiar al modo seleccionado */
33
33
  selected?: boolean;
34
+ /** Restores authored fills for multicolor SVG component sources. */
35
+ originalColor?: IconProps['originalColor'];
34
36
  /** Propiedades para el componente badge */
35
37
  badgeProps?: BadgeProps;
36
38
  }
37
39
  /** Tipo `IconButtonOwnerState` que define los valores que tendrá el ownerState */
38
- export type IconButtonOwnerState = Pick<IconButtonProps, 'size' | 'variant' | 'selected' | 'color'> & {
40
+ export type IconButtonOwnerState = Pick<IconButtonProps, 'size' | 'variant' | 'selected' | 'color' | 'originalColor'> & {
39
41
  disabled?: boolean;
40
42
  isSkeleton: boolean;
41
43
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/IconButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,eAAe,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,2DAA2D;AAC3D,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC;AAElE,qDAAqD;AACrD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEhD,MAAM,WAAW,eACf,SAAQ,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,iBAAiB,GAAG,SAAS,GAAG,gBAAgB,CAAC,CAAC,EAClH,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,KAAK,CAAC,EAC/D,IAAI,CAAC,YAAY,EAAE,WAAW,CAAC;IAE/B,8DAA8D;IAC9D,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,KAAK,CAAC,EAAE,OAAO,CAAC,oBAAoB,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC,CAAC;IACxG,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qMAAqM;IACrM,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gHAAgH;IAChH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,UAAU,CAAC;CAEzB;AAED,kFAAkF;AAClF,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC,GAAG;IACpG,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,0EAA0E;AAC1E,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,eAAe,CAAC;AAE/D,6EAA6E;AAC7E,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,CAAC,mBAAmB,EAAE,OAAO,yBAAyB,EAAE,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/IconButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,eAAe,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,2DAA2D;AAC3D,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC;AAElE,qDAAqD;AACrD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEhD,MAAM,WAAW,eACf,SAAQ,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,iBAAiB,GAAG,SAAS,GAAG,gBAAgB,CAAC,CAAC,EAClH,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,KAAK,CAAC,EAC/D,IAAI,CAAC,YAAY,EAAE,WAAW,CAAC;IAE/B,8DAA8D;IAC9D,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,KAAK,CAAC,EAAE,OAAO,CAAC,oBAAoB,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC,CAAC;IACxG,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qMAAqM;IACrM,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gHAAgH;IAChH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oEAAoE;IACpE,aAAa,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAC;IAE3C,2CAA2C;IAC3C,UAAU,CAAC,EAAE,UAAU,CAAC;CAEzB;AAED,kFAAkF;AAClF,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,eAAe,CAAC,GAAG;IACtH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,0EAA0E;AAC1E,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,eAAe,CAAC;AAE/D,6EAA6E;AAC7E,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,CAAC,mBAAmB,EAAE,OAAO,yBAAyB,EAAE,KAAK,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ImageButtonProps } from './types';
2
2
  /**
3
- * TODO: Documentar
3
+ * Render an image source inside an icon button with optional tooltip support.
4
4
  */
5
- export declare function ImageButton({ src, width, tooltip, sx, className, dataTestId, alt, ...other }: ImageButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
5
+ export declare function ImageButton({ src, width, tooltip, sx, className, dataTestId, alt, threshold, enableIntersectionObserver, disabled, onClick, size, variant, color, selected, ...other }: ImageButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;
6
6
  //# sourceMappingURL=ImageButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageButton.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/ImageButton/ImageButton.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAO3C;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,KAAK,EACL,OAAO,EACP,EAAqB,EACrB,SAAS,EACT,UAAU,EACV,GAAG,EACH,GAAG,KAAK,EACT,EAAE,gBAAgB,oDAyBlB"}
1
+ {"version":3,"file":"ImageButton.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/ImageButton/ImageButton.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAyB,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAQlE;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,GAAG,EACH,KAAK,EACL,OAAO,EACP,EAAE,EACF,SAAS,EACT,UAAU,EACV,GAAG,EACH,SAAS,EACT,0BAA0B,EAC1B,QAAQ,EACR,OAAO,EACP,IAAe,EACf,OAAgB,EAChB,KAAiB,EACjB,QAAgB,EAChB,GAAG,KAAK,EACT,EAAE,gBAAgB,oDA8DlB"}
@@ -1,41 +1,86 @@
1
1
  import { jsx as o } from "@emotion/react/jsx-runtime";
2
- import { useMemo as E } from "react";
3
- import T from "clsx";
4
- import { IconButton as _, Tooltip as I } from "@mui/material";
5
- import { Image as O } from "../../../Image/Image.js";
6
- import { WrapperImageButton as g } from "./styles.js";
7
- import { useUtilityClasses as B } from "./utils/Clases/index.js";
8
- import { TEST_PROP_ID as p } from "../../../../test/constants_no_mock.js";
9
- import { getNameDataTestId as s } from "../../../../test/getNameDataTestId.js";
10
- import { IMAGE_BUTTON_KEY_COMPONENT as c } from "./tests/constants.js";
11
- function b({
12
- src: t,
13
- width: r,
14
- tooltip: f,
15
- sx: m = { width: r },
16
- className: l,
2
+ import h from "clsx";
3
+ import { useMemo as O } from "react";
4
+ import { Tooltip as w } from "@mui/material";
5
+ import { Image as R } from "../../../Image/Image.js";
6
+ import { StyledMUIImageButton as V, ImageButtonResourceStyled as j, WrapperImageButton as k } from "./styles.js";
7
+ import { useUtilityClasses as v, imageButtonClasses as g } from "./utils/Clases/index.js";
8
+ import { useComponentSize as M } from "../../../../hooks/useComponentSize/index.js";
9
+ import { TEST_PROP_ID as l } from "../../../../test/constants_no_mock.js";
10
+ import { getNameDataTestId as u } from "../../../../test/getNameDataTestId.js";
11
+ import { componentName as a } from "./utils/Clases/constants.js";
12
+ function Q({
13
+ src: d,
14
+ width: P,
15
+ tooltip: S,
16
+ sx: E,
17
+ className: B,
17
18
  dataTestId: e,
18
- alt: u,
19
- ...a
19
+ alt: x,
20
+ threshold: y,
21
+ enableIntersectionObserver: C,
22
+ disabled: t,
23
+ onClick: D,
24
+ size: I = "medium",
25
+ variant: r = "text",
26
+ color: m = "default",
27
+ selected: i = !1,
28
+ ..._
20
29
  }) {
21
- const i = f, N = B(), n = E(() => /* @__PURE__ */ o(
22
- _,
30
+ const n = S, s = v(), { currentSize: p } = M(I), f = p === "small" || p === "medium" ? p : "medium", N = O(() => ({
31
+ variant: r,
32
+ size: f,
33
+ disabled: t,
34
+ color: m,
35
+ selected: i,
36
+ isSkeleton: !1
37
+ }), [r, f, t, m, i]), c = /* @__PURE__ */ o(
38
+ V,
23
39
  {
24
- sx: m,
25
- ...a,
26
- ...process.env.NODE_ENV !== "production" ? { [p]: s(c, "button", e) } : {},
27
- children: /* @__PURE__ */ o(O, { src: t, alt: u })
40
+ sx: E,
41
+ ..._,
42
+ ownerState: N,
43
+ onClick: t ? void 0 : D,
44
+ disableRipple: !0,
45
+ disabled: t,
46
+ color: m,
47
+ className: h(
48
+ s.button,
49
+ g[r],
50
+ i && g.selected
51
+ ),
52
+ ...process.env.NODE_ENV !== "production" ? { [l]: u(a, "button", e) } : {},
53
+ children: /* @__PURE__ */ o(
54
+ j,
55
+ {
56
+ ownerState: N,
57
+ className: s.resource,
58
+ ...process.env.NODE_ENV !== "production" ? { [l]: u(a, "resource", e) } : {},
59
+ children: /* @__PURE__ */ o(
60
+ R,
61
+ {
62
+ src: d,
63
+ alt: x,
64
+ width: "100%",
65
+ height: "100%",
66
+ threshold: y,
67
+ enableIntersectionObserver: C,
68
+ dataTestId: e
69
+ }
70
+ )
71
+ }
72
+ )
28
73
  }
29
- ), [t, r, m]);
74
+ ), z = n && t ? /* @__PURE__ */ o("span", { style: { display: "inline-flex" }, children: c }) : c;
30
75
  return /* @__PURE__ */ o(
31
- g,
76
+ k,
32
77
  {
33
- className: T(N.root, l),
34
- ...process.env.NODE_ENV !== "production" ? { [p]: s(c, "root", e) } : {},
35
- children: i ? /* @__PURE__ */ o(I, { title: i || "", children: n }) : n
78
+ className: h(s.root, B),
79
+ ...process.env.NODE_ENV !== "production" ? { [l]: u(a, "root", e) } : {},
80
+ children: n ? /* @__PURE__ */ o(w, { title: n, children: z }) : c
36
81
  }
37
82
  );
38
83
  }
39
84
  export {
40
- b as ImageButton
85
+ Q as ImageButton
41
86
  };
@@ -1,2 +1,21 @@
1
- export declare const WrapperImageButton: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1
+ import { IconButtonProps as MUIIconButtonProps } from '@mui/material';
2
+ import { ImageButtonOwnerState, ImageButtonStyles } from './types';
3
+ type ImageButtonBaseProps = MUIIconButtonProps & {
4
+ ownerState: ImageButtonOwnerState;
5
+ };
6
+ export declare const imageButtonStyles: ImageButtonStyles;
7
+ export declare const WrapperImageButton: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
8
+ ownerState?: (Partial<ImageButtonOwnerState> & Record<string, unknown>) | undefined;
9
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
10
+ /**
11
+ * Styled ImageButton shell that mirrors M4L IconButton shape styles.
12
+ */
13
+ export declare const StyledMUIImageButton: import('@emotion/styled').StyledComponent<Pick<Omit<ImageButtonBaseProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "color" | "content" | "translate" | "action" | "classes" | "children" | "className" | "sx" | "form" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "component" | "name" | "size" | "type" | "ownerState" | "value" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
14
+ /**
15
+ * Resource area of the ImageButton: the `base` token box the nested Image fills.
16
+ */
17
+ export declare const ImageButtonResourceStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
18
+ ownerState?: (Partial<ImageButtonOwnerState> & Record<string, unknown>) | undefined;
19
+ }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import('react').ClassAttributes<HTMLSpanElement> | keyof import('react').HTMLAttributes<HTMLSpanElement>>, {}>;
20
+ export {};
2
21
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/ImageButton/styles.tsx"],"names":[],"mappings":"AACA,eAAO,MAAM,kBAAkB,6NAC5B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/ImageButton/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,eAAe,IAAI,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAKnG,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAGnE,KAAK,oBAAoB,GAAG,kBAAkB,GAAG;IAC/C,UAAU,EAAE,qBAAqB,CAAC;CACnC,CAAC;AAWF,eAAO,MAAM,iBAAiB,EAAE,iBAmC/B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;6NAGL,CAAC;AAE3B;;GAEG;AACH,eAAO,MAAM,oBAAoB,wkLAQhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;iOAGR,CAAC"}