@m4l/components 9.57.1-beta-hotfix-semantic-width-dynamicform.0 → 9.57.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CheckableList/slots/styled.d.ts +3 -3
- package/components/DynamicForm/DynamicForm.styles.d.ts.map +1 -1
- package/components/DynamicForm/DynamicForm.styles.js +61 -54
- package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.d.ts.map +1 -1
- package/components/DynamicForm/subcomponents/DynamicFormContent/DynamicFormContent.js +124 -137
- package/components/Label/Label.d.ts.map +1 -1
- package/components/Label/Label.js +26 -40
- package/components/Label/Label.styles.d.ts.map +1 -1
- package/components/Label/Label.styles.js +52 -52
- package/components/Label/types.d.ts +0 -2
- package/components/Label/types.d.ts.map +1 -1
- package/components/PropertyValue/PropertyValue.d.ts.map +1 -1
- package/components/PropertyValue/PropertyValue.js +57 -82
- package/components/PropertyValue/PropertyValue.styles.d.ts.map +1 -1
- package/components/PropertyValue/PropertyValue.styles.js +91 -87
- package/components/PropertyValue/types.d.ts +1 -5
- package/components/PropertyValue/types.d.ts.map +1 -1
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
- package/package.json +7 -7
- package/components/DynamicForm/helpers/resolveAdaptiveFieldLayout/resolveAdaptiveFieldLayout.d.ts +0 -26
- package/components/DynamicForm/helpers/resolveAdaptiveFieldLayout/resolveAdaptiveFieldLayout.d.ts.map +0 -1
- package/components/DynamicForm/helpers/resolveAdaptiveFieldLayout/resolveAdaptiveFieldLayout.js +0 -64
- package/components/PropertyValue/semanticWidth.d.ts +0 -7
- package/components/PropertyValue/semanticWidth.d.ts.map +0 -1
- package/components/PropertyValue/semanticWidth.js +0 -31
|
@@ -22,8 +22,6 @@ export interface LabelProps {
|
|
|
22
22
|
helperMessage?: boolean | string;
|
|
23
23
|
/** Main label text for the component. */
|
|
24
24
|
label?: string;
|
|
25
|
-
/** Controls whether label text is clipped or allowed to occupy its measured single-line width. */
|
|
26
|
-
labelOverflow?: 'ellipsis' | 'visible';
|
|
27
25
|
/**
|
|
28
26
|
* Optional symbol rendered wrapped in parentheses right after the label text,
|
|
29
27
|
* e.g. `symbol="°C"` renders `Temperatura (°C)`. Omitted or empty keeps the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Label/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC;AAEvC;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,CAAC,CAAC;AAExG,MAAM,WAAW,UAAU;IACzB,0GAA0G;IAC1G,aAAa,CAAC,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;IACjD;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACjC,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Label/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,E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AC7D,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sBAAsB;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;CAC3C;AACD,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,UAAU,CAAC;AACrD,MAAM,MAAM,WAAW,GAAG,mBAAmB,CAAC,UAAU,EAAE,OAAO,mBAAmB,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyValue.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/PropertyValue/PropertyValue.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"PropertyValue.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/PropertyValue/PropertyValue.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAWlD;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,oDA2HtD"}
|
|
@@ -1,115 +1,90 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { TEST_PROP_ID as
|
|
5
|
-
import { TEST_PROPS_DATA as
|
|
6
|
-
import { getNameDataTestId as
|
|
7
|
-
import { Icon as
|
|
8
|
-
import { PropertyValueRootStyled as
|
|
9
|
-
import { getComponentSlotRoot as
|
|
10
|
-
import { getNullGuard as
|
|
11
|
-
import { Label as
|
|
12
|
-
import { useComponentSize as
|
|
13
|
-
function
|
|
1
|
+
import { jsxs as c, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import y, { useId as z } from "react";
|
|
3
|
+
import C from "clsx";
|
|
4
|
+
import { TEST_PROP_ID as A } from "../../test/constants_no_mock.js";
|
|
5
|
+
import { TEST_PROPS_DATA as D, COMPONENT_PREFIX as x, PROPERTY_VALUE_KEY_COMPONENT as s } from "./constants.js";
|
|
6
|
+
import { getNameDataTestId as F, getPropDataTestId as M } from "../../test/getNameDataTestId.js";
|
|
7
|
+
import { Icon as W } from "@m4l/base";
|
|
8
|
+
import { PropertyValueRootStyled as $, ContainerStartAdornmentStyled as j, ContainerPropertyAndValueStyled as q, NameStyled as w, ValueStyled as L, TypographyValueStyled as Y } from "./slots/PropertyValueSlots.js";
|
|
9
|
+
import { getComponentSlotRoot as f } from "../../utils/getComponentSlotRoot.js";
|
|
10
|
+
import { getNullGuard as G } from "../../utils/getNullGuard.js";
|
|
11
|
+
import { Label as H } from "../Label/Label.js";
|
|
12
|
+
import { useComponentSize as J } from "@m4l/graphics";
|
|
13
|
+
function le(S) {
|
|
14
14
|
const {
|
|
15
15
|
property: l,
|
|
16
16
|
startAdornment: o,
|
|
17
17
|
value: e,
|
|
18
|
-
className:
|
|
18
|
+
className: h,
|
|
19
19
|
isForm: n,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
mandatoryMessage: T,
|
|
27
|
-
helperMessage: g,
|
|
28
|
-
symbol: I,
|
|
20
|
+
dataTestId: m = "",
|
|
21
|
+
disabled: p = !1,
|
|
22
|
+
mandatory: P,
|
|
23
|
+
mandatoryMessage: v,
|
|
24
|
+
helperMessage: E,
|
|
25
|
+
symbol: N,
|
|
29
26
|
semanticWidth: a = "fullWidth",
|
|
30
|
-
propertyWidth:
|
|
31
|
-
size:
|
|
32
|
-
direction:
|
|
33
|
-
valueHeight:
|
|
34
|
-
iconVariant:
|
|
35
|
-
iconColor:
|
|
36
|
-
borderStyle:
|
|
37
|
-
} = S, d = `property-value-${
|
|
38
|
-
propertyWidth:
|
|
39
|
-
|
|
40
|
-
disabled: n && u ? u : !1,
|
|
27
|
+
propertyWidth: T = 200,
|
|
28
|
+
size: g = "medium",
|
|
29
|
+
direction: u,
|
|
30
|
+
valueHeight: I,
|
|
31
|
+
iconVariant: V = "outlined",
|
|
32
|
+
iconColor: O = "primary",
|
|
33
|
+
borderStyle: _ = "none"
|
|
34
|
+
} = S, d = `property-value-${z()}`, { currentSize: i } = J(g), r = {
|
|
35
|
+
propertyWidth: T,
|
|
36
|
+
disabled: n && p ? p : !1,
|
|
41
37
|
isForm: !!n,
|
|
42
|
-
labelOverflow: m,
|
|
43
|
-
labelWidth: P,
|
|
44
38
|
semanticWidth: a,
|
|
45
|
-
valueHeight:
|
|
39
|
+
valueHeight: I,
|
|
46
40
|
size: i,
|
|
47
|
-
direction: n &&
|
|
48
|
-
iconVariant:
|
|
49
|
-
iconColor:
|
|
50
|
-
borderStyle:
|
|
51
|
-
},
|
|
52
|
-
|
|
41
|
+
direction: n && u === void 0 ? "column" : u ?? "row",
|
|
42
|
+
iconVariant: V,
|
|
43
|
+
iconColor: O,
|
|
44
|
+
borderStyle: _
|
|
45
|
+
}, b = () => o ? typeof o == "string" ? /* @__PURE__ */ t(
|
|
46
|
+
W,
|
|
53
47
|
{
|
|
54
48
|
src: o,
|
|
55
49
|
color: "text.secondary"
|
|
56
50
|
}
|
|
57
|
-
) : o : null,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
id: d,
|
|
61
|
-
size: i,
|
|
62
|
-
variant: "bodyDens",
|
|
63
|
-
ownerState: r,
|
|
64
|
-
children: K(e)
|
|
65
|
-
}
|
|
66
|
-
) : f.isValidElement(e) ? f.cloneElement(
|
|
67
|
-
e,
|
|
68
|
-
{ size: i, id: d }
|
|
69
|
-
) : e;
|
|
70
|
-
return /* @__PURE__ */ y(
|
|
71
|
-
q,
|
|
51
|
+
) : o : null, R = () => typeof e == "string" || typeof e == "number" || e === null || e === void 0 ? /* @__PURE__ */ t(Y, { id: d, size: i, variant: "bodyDens", ownerState: r, children: G(e) }) : y.isValidElement(e) ? y.cloneElement(e, { size: i, id: d }) : e;
|
|
52
|
+
return /* @__PURE__ */ c(
|
|
53
|
+
$,
|
|
72
54
|
{
|
|
73
55
|
role: n ? "property-value-form-role" : "property-value-role",
|
|
74
|
-
className:
|
|
75
|
-
|
|
76
|
-
a && `${
|
|
77
|
-
|
|
56
|
+
className: C(
|
|
57
|
+
f(s),
|
|
58
|
+
a && `${f(s)}-semanticWidth-${a}`,
|
|
59
|
+
h
|
|
78
60
|
),
|
|
79
|
-
|
|
61
|
+
...M(s, "root", m),
|
|
80
62
|
ownerState: r,
|
|
81
63
|
...process.env.NODE_ENV !== "production" ? {
|
|
82
|
-
[
|
|
83
|
-
|
|
84
|
-
]),
|
|
85
|
-
[x]: w(
|
|
86
|
-
M,
|
|
87
|
-
"root",
|
|
88
|
-
p
|
|
89
|
-
)
|
|
64
|
+
[D]: JSON.stringify([{ property: !!l, value: !!e }]),
|
|
65
|
+
[A]: F(x, "root", m)
|
|
90
66
|
} : {},
|
|
91
67
|
children: [
|
|
92
|
-
o && /* @__PURE__ */ t(
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
/* @__PURE__ */ t(
|
|
95
|
-
|
|
68
|
+
o && /* @__PURE__ */ t(j, { ownerState: r, children: b() }),
|
|
69
|
+
/* @__PURE__ */ c(q, { ownerState: r, children: [
|
|
70
|
+
/* @__PURE__ */ t(w, { ownerState: r, children: l && /* @__PURE__ */ t(
|
|
71
|
+
H,
|
|
96
72
|
{
|
|
97
73
|
size: i,
|
|
98
74
|
label: l,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
symbol: I,
|
|
75
|
+
mandatory: P,
|
|
76
|
+
mandatoryMessage: v,
|
|
77
|
+
helperMessage: E,
|
|
78
|
+
symbol: N,
|
|
104
79
|
htmlFor: d
|
|
105
80
|
}
|
|
106
81
|
) }),
|
|
107
|
-
/* @__PURE__ */ t(
|
|
82
|
+
/* @__PURE__ */ t(L, { role: "property-value-value-role", ownerState: r, children: R() })
|
|
108
83
|
] })
|
|
109
84
|
]
|
|
110
85
|
}
|
|
111
86
|
);
|
|
112
87
|
}
|
|
113
88
|
export {
|
|
114
|
-
|
|
89
|
+
le as PropertyValue
|
|
115
90
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyValue.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/PropertyValue/PropertyValue.styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"PropertyValue.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/PropertyValue/PropertyValue.styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAI9C,eAAO,MAAM,mBAAmB,EAAE,mBA2PjC,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { getPropertyByString as n } from "@m4l/core";
|
|
2
2
|
import { ICON_SVG_SHAPE_SELECTOR as s } from "@m4l/base";
|
|
3
3
|
import { getSizeStyles as d } from "../../utils/getSizeStyles/getSizeStyles.js";
|
|
4
|
-
|
|
5
|
-
const l = "container", h = {
|
|
4
|
+
const l = "container", g = {
|
|
6
5
|
/**
|
|
7
6
|
* Property Value Root Styles
|
|
8
7
|
*/
|
|
9
|
-
Root: ({ theme:
|
|
8
|
+
Root: ({ theme: i, ownerState: r }) => {
|
|
10
9
|
const o = (t) => ({
|
|
11
10
|
maxWidth: `${t}px`,
|
|
12
11
|
minWidth: `${t}px`,
|
|
@@ -15,11 +14,31 @@ const l = "container", h = {
|
|
|
15
14
|
maxWidth: "100%",
|
|
16
15
|
width: "100%"
|
|
17
16
|
}
|
|
18
|
-
}), e =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
}), e = {
|
|
18
|
+
email: o(400),
|
|
19
|
+
shortName: o(90),
|
|
20
|
+
mediumName: o(260),
|
|
21
|
+
bigName: o(520),
|
|
22
|
+
shortId: o(44),
|
|
23
|
+
mediumId: o(60),
|
|
24
|
+
bigId: o(200),
|
|
25
|
+
shortDescription: o(796),
|
|
26
|
+
mediumDescription: o(1500),
|
|
27
|
+
bigDescription: {
|
|
28
|
+
maxWidth: "100%",
|
|
29
|
+
width: "100%",
|
|
30
|
+
minWidth: "100px"
|
|
31
|
+
},
|
|
32
|
+
shortNumber: o(50),
|
|
33
|
+
mediumNumber: o(60),
|
|
34
|
+
bigNumber: o(162),
|
|
35
|
+
percentNumber: o(50),
|
|
36
|
+
fullWidth: {
|
|
37
|
+
maxWidth: "100%",
|
|
38
|
+
width: "100%",
|
|
39
|
+
minWidth: "0"
|
|
40
|
+
}
|
|
41
|
+
}, a = r?.semanticWidth && e[r?.semanticWidth] ? e[r?.semanticWidth] : {};
|
|
23
42
|
return {
|
|
24
43
|
containerName: l,
|
|
25
44
|
containerType: "inline-size",
|
|
@@ -27,21 +46,21 @@ const l = "container", h = {
|
|
|
27
46
|
flexDirection: "row",
|
|
28
47
|
justifyContent: "flex-start",
|
|
29
48
|
alignItems: "center",
|
|
30
|
-
gap:
|
|
31
|
-
width:
|
|
32
|
-
height:
|
|
33
|
-
color:
|
|
49
|
+
gap: i.vars.size.baseSpacings.sp2,
|
|
50
|
+
width: r?.semanticWidth ? "auto" : "200px",
|
|
51
|
+
height: r?.valueHeight ? r?.valueHeight : "auto",
|
|
52
|
+
color: i.vars.palette.text.primary,
|
|
34
53
|
/* [`@container ${CONTAINER_QUERY_NAME} (min-width: 0px) and (max-width: 400px)`]: {
|
|
35
54
|
flexDirection: 'column',
|
|
36
55
|
}, */
|
|
37
|
-
...
|
|
56
|
+
...i.generalSettings.isMobile && {
|
|
38
57
|
flexDirection: "column"
|
|
39
58
|
},
|
|
40
|
-
...
|
|
41
|
-
paddingBottom:
|
|
59
|
+
...r?.borderStyle !== "none" && {
|
|
60
|
+
paddingBottom: i.vars.size.baseSpacings.sp2
|
|
42
61
|
},
|
|
43
62
|
// Estilos para borderStyle
|
|
44
|
-
...
|
|
63
|
+
...r?.borderStyle === "dashed" && {
|
|
45
64
|
// Para dashed, usamos un pseudo-elemento para controlar la longitud de los guiones
|
|
46
65
|
position: "relative",
|
|
47
66
|
overflow: "visible",
|
|
@@ -56,8 +75,8 @@ const l = "container", h = {
|
|
|
56
75
|
width: "100%",
|
|
57
76
|
backgroundImage: `repeating-linear-gradient(
|
|
58
77
|
to right,
|
|
59
|
-
${
|
|
60
|
-
${
|
|
78
|
+
${i.vars.palette.border.secondary} 10px,
|
|
79
|
+
${i.vars.palette.border.secondary} 20px,
|
|
61
80
|
transparent 20px,
|
|
62
81
|
transparent 32px
|
|
63
82
|
)`,
|
|
@@ -66,95 +85,80 @@ const l = "container", h = {
|
|
|
66
85
|
pointerEvents: "none"
|
|
67
86
|
}
|
|
68
87
|
},
|
|
69
|
-
...
|
|
88
|
+
...r?.borderStyle === "solid" && {
|
|
70
89
|
borderTop: 0,
|
|
71
90
|
borderLeft: 0,
|
|
72
91
|
borderRight: 0,
|
|
73
|
-
borderBottom:
|
|
74
|
-
borderColor:
|
|
92
|
+
borderBottom: i.vars.size.borderStroke.container,
|
|
93
|
+
borderColor: i.vars.palette.border.secondary,
|
|
75
94
|
borderStyle: "solid"
|
|
76
95
|
},
|
|
77
|
-
...
|
|
96
|
+
...r?.borderStyle === "none" && {
|
|
78
97
|
border: "unset"
|
|
79
98
|
},
|
|
80
|
-
minHeight:
|
|
81
|
-
...a
|
|
82
|
-
...c
|
|
99
|
+
minHeight: i.vars.size.baseSpacings.sp5,
|
|
100
|
+
...a
|
|
83
101
|
};
|
|
84
102
|
},
|
|
85
103
|
/**
|
|
86
104
|
* Property Styles
|
|
87
105
|
*/
|
|
88
|
-
name: ({ theme:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
width: o ?? "100%"
|
|
98
|
-
};
|
|
99
|
-
},
|
|
106
|
+
name: ({ theme: i }) => ({
|
|
107
|
+
display: "flex",
|
|
108
|
+
alignItems: "center",
|
|
109
|
+
fontSize: i.typography.body2.fontSize,
|
|
110
|
+
color: i.vars.palette.text.primary,
|
|
111
|
+
gap: i.vars.size.baseSpacings.sp1,
|
|
112
|
+
overflow: "hidden",
|
|
113
|
+
width: "100%"
|
|
114
|
+
}),
|
|
100
115
|
/**
|
|
101
116
|
* Value Styles (Form and No Form Combined)
|
|
102
117
|
*/
|
|
103
|
-
value: ({ theme:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
},
|
|
116
|
-
...o && {
|
|
117
|
-
maxWidth: "100%",
|
|
118
|
-
"& > *": {
|
|
119
|
-
width: "100%",
|
|
120
|
-
maxWidth: "100%",
|
|
121
|
-
minWidth: 0
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
},
|
|
118
|
+
value: ({ theme: i, ownerState: r }) => ({
|
|
119
|
+
width: r?.direction === "column" ? "100%" : "fit-content",
|
|
120
|
+
display: "flex",
|
|
121
|
+
justifyContent: "flex-start",
|
|
122
|
+
alignItems: "flex-start",
|
|
123
|
+
height: r?.valueHeight ? r?.valueHeight : "auto",
|
|
124
|
+
whiteSpace: "nowrap",
|
|
125
|
+
...r?.isForm && {
|
|
126
|
+
gap: i.vars.size.baseSpacings["sp0-5"],
|
|
127
|
+
flexDirection: "column"
|
|
128
|
+
}
|
|
129
|
+
}),
|
|
126
130
|
/**
|
|
127
131
|
* Container Start Adornment Styles
|
|
128
132
|
*/
|
|
129
|
-
containerStartAdornment: ({ theme:
|
|
130
|
-
const o =
|
|
133
|
+
containerStartAdornment: ({ theme: i, ownerState: r }) => {
|
|
134
|
+
const o = r?.iconColor === "text.primary" || r?.iconColor === "text.secondary" || r?.iconColor === "text.disabled", e = o ? n(i.vars.palette, String(r?.iconColor), i.vars.palette.text.primary) : n(i.vars.palette.chips, String(r?.iconColor), i.vars.palette.chips.primary)?.contained;
|
|
131
135
|
return {
|
|
132
136
|
"&&&": {
|
|
133
137
|
display: "flex",
|
|
134
138
|
alignItems: "center",
|
|
135
139
|
justifyContent: "center",
|
|
136
140
|
overflow: "hidden",
|
|
137
|
-
borderRadius:
|
|
141
|
+
borderRadius: i.vars.size.borderRadius["r1-5"],
|
|
138
142
|
...d(
|
|
139
|
-
|
|
140
|
-
|
|
143
|
+
i,
|
|
144
|
+
r?.size || "medium",
|
|
141
145
|
"base",
|
|
142
146
|
(a) => ({
|
|
143
|
-
height: `calc(${a} + ${
|
|
144
|
-
width: `calc(${a} + ${
|
|
145
|
-
minHeight: `calc(${a} + ${
|
|
146
|
-
minWidth: `calc(${a} + ${
|
|
147
|
+
height: `calc(${a} + ${i.vars.size.baseSpacings.sp2})`,
|
|
148
|
+
width: `calc(${a} + ${i.vars.size.baseSpacings.sp2})`,
|
|
149
|
+
minHeight: `calc(${a} + ${i.vars.size.baseSpacings.sp2})`,
|
|
150
|
+
minWidth: `calc(${a} + ${i.vars.size.baseSpacings.sp2})`
|
|
147
151
|
})
|
|
148
152
|
),
|
|
149
153
|
// variente de icono en modalidad outlined o containedOpacity
|
|
150
|
-
...(
|
|
151
|
-
...
|
|
152
|
-
border:
|
|
153
|
-
borderColor: o ?
|
|
154
|
+
...(r?.iconVariant === "containedOpacity" || r?.iconVariant === "outlined") && {
|
|
155
|
+
...r?.iconVariant === "outlined" && {
|
|
156
|
+
border: i.vars.size.borderStroke.container,
|
|
157
|
+
borderColor: o ? i.vars.palette.border.disabled : e?.backgroundColor,
|
|
154
158
|
backgroundColor: "transparent"
|
|
155
159
|
},
|
|
156
|
-
...
|
|
157
|
-
backgroundColor: o ?
|
|
160
|
+
...r?.iconVariant === "containedOpacity" && {
|
|
161
|
+
backgroundColor: o ? i.vars.palette.border.disabled : e?.backgroundColor
|
|
158
162
|
},
|
|
159
163
|
// icon mask strategy
|
|
160
164
|
"& .M4LIcon-icon": {
|
|
@@ -166,7 +170,7 @@ const l = "container", h = {
|
|
|
166
170
|
stroke: "none"
|
|
167
171
|
}
|
|
168
172
|
},
|
|
169
|
-
...
|
|
173
|
+
...r?.iconVariant === "text" && {
|
|
170
174
|
backgroundColor: "transparent",
|
|
171
175
|
// icon mask strategy
|
|
172
176
|
"& .M4LIcon-icon": {
|
|
@@ -184,33 +188,33 @@ const l = "container", h = {
|
|
|
184
188
|
/**
|
|
185
189
|
* Container Property And Value Styles
|
|
186
190
|
*/
|
|
187
|
-
containerPropertyAndValue: ({ theme:
|
|
191
|
+
containerPropertyAndValue: ({ theme: i, ownerState: r }) => ({
|
|
188
192
|
display: "flex",
|
|
189
193
|
justifyContent: "space-between",
|
|
190
|
-
overflow:
|
|
191
|
-
flexDirection:
|
|
192
|
-
borderColor:
|
|
194
|
+
overflow: "hidden",
|
|
195
|
+
flexDirection: r?.direction || "row",
|
|
196
|
+
borderColor: i.vars.palette.border.secondary,
|
|
193
197
|
width: "100%",
|
|
194
|
-
height:
|
|
198
|
+
height: r?.valueHeight ? r?.valueHeight : "auto",
|
|
195
199
|
"&&& .M4LLabel-root": {
|
|
196
200
|
width: "auto"
|
|
197
201
|
},
|
|
198
|
-
...
|
|
199
|
-
gap:
|
|
202
|
+
...r?.direction === "column" ? {
|
|
203
|
+
gap: i.vars.size.baseSpacings["sp0-5"],
|
|
200
204
|
alignItems: "flex-start"
|
|
201
205
|
} : {
|
|
202
|
-
gap:
|
|
206
|
+
gap: i.vars.size.baseSpacings.sp4,
|
|
203
207
|
alignItems: "center"
|
|
204
208
|
}
|
|
205
209
|
}),
|
|
206
210
|
/**
|
|
207
211
|
* Typography Value Styles
|
|
208
212
|
*/
|
|
209
|
-
typographyValue: ({ ownerState:
|
|
213
|
+
typographyValue: ({ ownerState: i }) => ({
|
|
210
214
|
wordBreak: "break-word",
|
|
211
|
-
whiteSpace:
|
|
215
|
+
whiteSpace: i?.direction === "column" ? "normal" : "nowrap"
|
|
212
216
|
})
|
|
213
217
|
};
|
|
214
218
|
export {
|
|
215
|
-
|
|
219
|
+
g as propertyValueStyles
|
|
216
220
|
};
|
|
@@ -80,10 +80,6 @@ interface PropertyValueBaseProps extends PropertyProps, ValueProps, Omit<LabelPr
|
|
|
80
80
|
* Define el ancho semántico del componente según el contenido.
|
|
81
81
|
*/
|
|
82
82
|
semanticWidth?: SemanticWidthOptions;
|
|
83
|
-
/** Optional width used by adaptive form labels without changing the control width. */
|
|
84
|
-
labelWidth?: number | string;
|
|
85
|
-
/** Optional width used to keep form controls fixed to their backend semantic width. */
|
|
86
|
-
controlWidth?: number;
|
|
87
83
|
/**
|
|
88
84
|
* Propiedad de tamaño para el componente `PropertyValue`.
|
|
89
85
|
*/
|
|
@@ -193,7 +189,7 @@ export type PropertyValueProps = PropertyValueWithStartAdornment | PropertyValue
|
|
|
193
189
|
/**
|
|
194
190
|
* Estado del propietario para el componente `PropertyValue`, utilizado para personalizar estilos y comportamientos.
|
|
195
191
|
*/
|
|
196
|
-
export interface PropertyVaLueOwnerState extends Pick<PropertyValueBaseProps, '
|
|
192
|
+
export interface PropertyVaLueOwnerState extends Pick<PropertyValueBaseProps, 'disabled' | 'semanticWidth' | 'valueHeight' | 'propertyWidth'> {
|
|
197
193
|
/**
|
|
198
194
|
* Indica si el componente está en modo formulario.
|
|
199
195
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/PropertyValue/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,OAAO,kBAAkB,CAAC;AACrE;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;CAE5B;AACD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AACD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,OAAO,GACP,WAAW,GACX,YAAY,GACZ,SAAS,GACT,SAAS,GACT,UAAU,GACV,OAAO,GACP,kBAAkB,GAClB,mBAAmB,GACnB,gBAAgB,GAChB,aAAa,GACb,cAAc,GACd,WAAW,GACX,eAAe,GACf,WAAW,CAAC;AAChB;;GAEG;AACH,UAAU,sBACR,SAAQ,aAAa,EACrB,UAAU,EACV,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;IACnC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/PropertyValue/types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AAsB;IACzE;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,kBAAkB,GAAG,+BAA+B,GAAG,kCAAkC,CAAC;AACtG;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,eAAe,GAAG,aAAa,GAAG,eAAe,CAAC;IAC3I;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C;;OAEG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC;IAChD;;OAEG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AACD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAC7B,sBAAsB,CAAC,sBAAsB,EAAE,OAAO,4BAA4B,EAAE,KAAK,CAAC,CACzF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const RHFCheckboxRoot: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
2
2
|
ownerState?: (Partial<import('..').RHFCheckBoxOwnerState> & 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 CheckBoxStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../extended/mui/CheckBox/types').CheckboxProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "symbol" | "color" | "content" | "translate" | "error" | "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" | "value" | "indeterminate" | "icon" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "checked" | "skeletonWidth" | "htmlFor" | keyof import('react').RefAttributes<HTMLButtonElement> | "mandatory" | "required" | "readOnly" | "inputProps" | "inputRef" | "helperMessage" | "
|
|
4
|
+
export declare const CheckBoxStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../../extended/mui/CheckBox/types').CheckboxProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "symbol" | "color" | "content" | "translate" | "error" | "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" | "value" | "indeterminate" | "icon" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "checked" | "skeletonWidth" | "htmlFor" | keyof import('react').RefAttributes<HTMLButtonElement> | "mandatory" | "required" | "readOnly" | "inputProps" | "inputRef" | "helperMessage" | "mandatoryMessage" | "checkedIcon" | "indeterminateIcon" | "inlineText"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
5
5
|
ownerState?: (Partial<import('..').RHFCheckBoxOwnerState> & Record<string, unknown>) | undefined;
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
export declare const ContainerCheckTypography: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "9.57.1
|
|
3
|
+
"version": "9.57.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"@hookform/resolvers": "2.9.11",
|
|
54
54
|
"nprogress": "0.2.0",
|
|
55
55
|
"react-transition-group": "4.4.5",
|
|
56
|
-
"react-spinners": "0.13.8",
|
|
57
|
-
"react-rnd": "10.5.2",
|
|
58
56
|
"@mui/x-date-pickers": "6.20.2",
|
|
57
|
+
"@tanstack/react-virtual": "3.13.23",
|
|
58
|
+
"react-dropzone": "14.4.1",
|
|
59
59
|
"react-draggable": "4.5.0",
|
|
60
|
+
"react-spinners": "0.13.8",
|
|
60
61
|
"react-color": "2.19.3",
|
|
61
|
-
"react-
|
|
62
|
-
"@tanstack/react-virtual": "3.13.23",
|
|
62
|
+
"react-rnd": "10.5.2",
|
|
63
63
|
"chart.js": "4.5.1",
|
|
64
64
|
"chartjs-chart-error-bars": "4.4.5",
|
|
65
65
|
"qrcode.react": "3.2.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"react-dnd": "16.0.1",
|
|
71
71
|
"react-dnd-html5-backend": "16.0.1",
|
|
72
72
|
"date-fns": "2.30.0",
|
|
73
|
-
"react-
|
|
74
|
-
"react-
|
|
73
|
+
"react-window": "1.8.11",
|
|
74
|
+
"react-resizable": "3.1.3"
|
|
75
75
|
}
|
|
76
76
|
}
|