@m4l/components 9.86.0-beta-pkg-799-preparar-app-cd-ci.0 → 9.87.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 (68) hide show
  1. package/components/Label/Label.styles.d.ts.map +1 -1
  2. package/components/Label/Label.styles.js +80 -59
  3. package/components/Label/types.d.ts +2 -2
  4. package/components/Label/types.d.ts.map +1 -1
  5. package/components/NumberInput/NumberInput.styles.d.ts.map +1 -1
  6. package/components/NumberInput/NumberInput.styles.js +89 -81
  7. package/components/PropertyValue/PropertyValue.d.ts.map +1 -1
  8. package/components/PropertyValue/PropertyValue.js +76 -74
  9. package/components/PropertyValue/PropertyValue.styles.d.ts.map +1 -1
  10. package/components/PropertyValue/PropertyValue.styles.js +57 -37
  11. package/components/PropertyValue/types.d.ts +3 -1
  12. package/components/PropertyValue/types.d.ts.map +1 -1
  13. package/components/SideBar/SideBar.d.ts +2 -7
  14. package/components/SideBar/SideBar.d.ts.map +1 -1
  15. package/components/SideBar/SideBar.js +54 -48
  16. package/components/SideBar/constants.d.ts +21 -0
  17. package/components/SideBar/constants.d.ts.map +1 -1
  18. package/components/SideBar/constants.js +34 -14
  19. package/components/SideBar/dictionaryDefaults.d.ts +4 -0
  20. package/components/SideBar/dictionaryDefaults.d.ts.map +1 -0
  21. package/components/SideBar/dictionaryDefaults.js +35 -0
  22. package/components/SideBar/helpers/getMenuDataWithState/index.js +4 -4
  23. package/components/SideBar/helpers/resolveSidebarWidth.d.ts +3 -0
  24. package/components/SideBar/helpers/resolveSidebarWidth.d.ts.map +1 -0
  25. package/components/SideBar/helpers/resolveSidebarWidth.js +7 -0
  26. package/components/SideBar/hooks/useSideBarPreferences.d.ts +4 -0
  27. package/components/SideBar/hooks/useSideBarPreferences.d.ts.map +1 -0
  28. package/components/SideBar/hooks/useSideBarPreferences.js +71 -0
  29. package/components/SideBar/index.d.ts +4 -1
  30. package/components/SideBar/index.d.ts.map +1 -1
  31. package/components/SideBar/slots/SideBarSlots.js +1 -1
  32. package/components/SideBar/subcomponents/SideBarNavigation/SideBarNavigation.d.ts +4 -0
  33. package/components/SideBar/subcomponents/SideBarNavigation/SideBarNavigation.d.ts.map +1 -0
  34. package/components/SideBar/subcomponents/SideBarNavigation/SideBarNavigation.js +257 -0
  35. package/components/SideBar/subcomponents/SideBarNavigation/SidebarBranding.d.ts +6 -0
  36. package/components/SideBar/subcomponents/SideBarNavigation/SidebarBranding.d.ts.map +1 -0
  37. package/components/SideBar/subcomponents/SideBarNavigation/SidebarBranding.js +44 -0
  38. package/components/SideBar/subcomponents/SideBarNavigation/SidebarInstances.d.ts +4 -0
  39. package/components/SideBar/subcomponents/SideBarNavigation/SidebarInstances.d.ts.map +1 -0
  40. package/components/SideBar/subcomponents/SideBarNavigation/SidebarInstances.js +77 -0
  41. package/components/SideBar/subcomponents/SideBarNavigation/SidebarItemIcon.d.ts +4 -0
  42. package/components/SideBar/subcomponents/SideBarNavigation/SidebarItemIcon.d.ts.map +1 -0
  43. package/components/SideBar/subcomponents/SideBarNavigation/SidebarItemIcon.js +40 -0
  44. package/components/SideBar/subcomponents/SideBarNavigation/SidebarLabelTooltip.d.ts +4 -0
  45. package/components/SideBar/subcomponents/SideBarNavigation/SidebarLabelTooltip.d.ts.map +1 -0
  46. package/components/SideBar/subcomponents/SideBarNavigation/SidebarLabelTooltip.js +21 -0
  47. package/components/SideBar/subcomponents/SideBarNavigation/SidebarRow.d.ts +4 -0
  48. package/components/SideBar/subcomponents/SideBarNavigation/SidebarRow.d.ts.map +1 -0
  49. package/components/SideBar/subcomponents/SideBarNavigation/SidebarRow.js +62 -0
  50. package/components/SideBar/subcomponents/SideBarNavigation/assets/sidebar-texture.jpg.js +4 -0
  51. package/components/SideBar/subcomponents/SideBarNavigation/constants.d.ts +32 -0
  52. package/components/SideBar/subcomponents/SideBarNavigation/constants.d.ts.map +1 -0
  53. package/components/SideBar/subcomponents/SideBarNavigation/constants.js +17 -0
  54. package/components/SideBar/subcomponents/SideBarNavigation/helpers.d.ts +17 -0
  55. package/components/SideBar/subcomponents/SideBarNavigation/helpers.d.ts.map +1 -0
  56. package/components/SideBar/subcomponents/SideBarNavigation/helpers.js +61 -0
  57. package/components/SideBar/subcomponents/SideBarNavigation/slots/styled.d.ts +75 -0
  58. package/components/SideBar/subcomponents/SideBarNavigation/slots/styled.d.ts.map +1 -0
  59. package/components/SideBar/subcomponents/SideBarNavigation/slots/styled.js +508 -0
  60. package/components/SideBar/subcomponents/SideBarNavigation/types.d.ts +108 -0
  61. package/components/SideBar/subcomponents/SideBarNavigation/types.d.ts.map +1 -0
  62. package/components/SideBar/subcomponents/SideBarNavigation/useSidebarResize.d.ts +16 -0
  63. package/components/SideBar/subcomponents/SideBarNavigation/useSidebarResize.d.ts.map +1 -0
  64. package/components/SideBar/subcomponents/SideBarNavigation/useSidebarResize.js +42 -0
  65. package/components/SideBar/types.d.ts +70 -60
  66. package/components/SideBar/types.d.ts.map +1 -1
  67. package/index.js +200 -194
  68. package/package.json +10 -10
@@ -1,115 +1,117 @@
1
- import { jsxs as y, jsx as t } from "@emotion/react/jsx-runtime";
2
- import f, { useId as D } from "react";
3
- import W from "clsx";
4
- import { TEST_PROP_ID as x } from "../../test/constants_no_mock.js";
5
- import { PROPERTY_VALUE_CLASSNAMES as M, TEST_PROPS_DATA as F, PROPERTY_VALUE_KEY_COMPONENT as s, COMPONENT_PREFIX as L } from "./constants.js";
6
- import { getNameDataTestId as w, getPropDataTestId as Y } from "../../test/getNameDataTestId.js";
7
- import { Icon as $ } from "@m4l/base";
8
- import { PropertyValueRootStyled as j, ContainerStartAdornmentStyled as q, ContainerPropertyAndValueStyled as U, NameStyled as G, ValueStyled as H, TypographyValueStyled as J } from "./slots/PropertyValueSlots.js";
9
- import { getComponentSlotRoot as S } from "../../utils/getComponentSlotRoot.js";
10
- import { getNullGuard as K } from "../../utils/getNullGuard.js";
11
- import { Label as X } from "../Label/Label.js";
12
- import { useComponentSize as k } from "@m4l/graphics";
13
- function me(h) {
1
+ import { jsxs as S, jsx as o } from "@emotion/react/jsx-runtime";
2
+ import v, { useId as W } from "react";
3
+ import x from "clsx";
4
+ import { TEST_PROP_ID as M } from "../../test/constants_no_mock.js";
5
+ import { PROPERTY_VALUE_CLASSNAMES as F, TEST_PROPS_DATA as q, PROPERTY_VALUE_KEY_COMPONENT as d, COMPONENT_PREFIX as Y } from "./constants.js";
6
+ import { getNameDataTestId as $, getPropDataTestId as j } from "../../test/getNameDataTestId.js";
7
+ import { Icon as U } from "@m4l/base";
8
+ import { PropertyValueRootStyled as G, ContainerStartAdornmentStyled as H, ContainerPropertyAndValueStyled as J, NameStyled as K, ValueStyled as X, TypographyValueStyled as k } from "./slots/PropertyValueSlots.js";
9
+ import { getComponentSlotRoot as h } from "../../utils/getComponentSlotRoot.js";
10
+ import { getNullGuard as B } from "../../utils/getNullGuard.js";
11
+ import { Label as Q } from "../Label/Label.js";
12
+ import { useComponentSize as Z } from "@m4l/graphics";
13
+ function ce(E) {
14
14
  const {
15
- property: l,
16
- startAdornment: o,
15
+ property: i,
16
+ startAdornment: t,
17
17
  value: e,
18
- className: E,
18
+ className: P,
19
19
  isForm: n,
20
- labelOverflow: m,
21
- labelWidth: P,
20
+ formLayout: m,
21
+ labelOverflow: N,
22
+ labelWidth: O,
22
23
  dataTestId: p = "",
23
24
  disabled: u = !1,
24
- controlWidth: N,
25
- mandatory: v,
26
- mandatoryMessage: T,
27
- helperMessage: g,
28
- symbol: I,
25
+ controlWidth: T,
26
+ mandatory: b,
27
+ mandatoryMessage: g,
28
+ helperMessage: I,
29
+ symbol: V,
29
30
  semanticWidth: a = "fullWidth",
30
- propertyWidth: O = 200,
31
- size: V = "medium",
31
+ propertyWidth: _ = 200,
32
+ size: R = "medium",
32
33
  direction: c,
33
- valueHeight: _,
34
- iconVariant: b = "outlined",
35
- iconColor: R = "primary",
36
- borderStyle: A = "none"
37
- } = h, d = `property-value-${D()}`, { currentSize: i } = k(V), r = {
38
- propertyWidth: O,
39
- controlWidth: N,
34
+ valueHeight: A,
35
+ iconVariant: C = "outlined",
36
+ iconColor: z = "primary",
37
+ borderStyle: L = "none"
38
+ } = E, s = `property-value-${W()}`, f = n && m === "responsive", y = f ? "wrap" : N, { currentSize: l } = Z(R), r = {
39
+ propertyWidth: _,
40
+ controlWidth: T,
41
+ formLayout: f ? m : void 0,
40
42
  disabled: n && u ? u : !1,
41
43
  isForm: !!n,
42
- labelOverflow: m,
43
- labelWidth: P,
44
+ labelOverflow: y,
45
+ labelWidth: O,
44
46
  semanticWidth: a,
45
- valueHeight: _,
46
- size: i,
47
+ valueHeight: A,
48
+ size: l,
47
49
  direction: n && c === void 0 ? "column" : c ?? "row",
48
- iconVariant: b,
49
- iconColor: R,
50
- borderStyle: A
51
- }, C = () => o ? typeof o == "string" ? /* @__PURE__ */ t(
52
- $,
50
+ iconVariant: C,
51
+ iconColor: z,
52
+ borderStyle: L
53
+ }, w = () => t ? typeof t == "string" ? /* @__PURE__ */ o(
54
+ U,
53
55
  {
54
- src: o,
56
+ src: t,
55
57
  color: "text.secondary"
56
58
  }
57
- ) : o : null, z = () => typeof e == "string" || typeof e == "number" || e === null || e === void 0 ? /* @__PURE__ */ t(
58
- J,
59
+ ) : t : null, D = () => typeof e == "string" || typeof e == "number" || e === null || e === void 0 ? /* @__PURE__ */ o(
60
+ k,
59
61
  {
60
- id: d,
61
- size: i,
62
+ id: s,
63
+ size: l,
62
64
  variant: "bodyDens",
63
65
  ownerState: r,
64
- children: K(e)
66
+ children: B(e)
65
67
  }
66
- ) : f.isValidElement(e) ? f.cloneElement(
68
+ ) : v.isValidElement(e) ? v.cloneElement(
67
69
  e,
68
- { size: i, id: d }
70
+ { size: l, id: s }
69
71
  ) : e;
70
- return /* @__PURE__ */ y(
71
- j,
72
+ return /* @__PURE__ */ S(
73
+ G,
72
74
  {
73
75
  role: n ? "property-value-form-role" : "property-value-role",
74
- className: W(
75
- S(s),
76
- a && `${S(s)}-semanticWidth-${a}`,
77
- E
76
+ className: x(
77
+ h(d),
78
+ a && `${h(d)}-semanticWidth-${a}`,
79
+ P
78
80
  ),
79
- ...Y(s, "root", p),
81
+ ...j(d, "root", p),
80
82
  ownerState: r,
81
83
  ...process.env.NODE_ENV !== "production" ? {
82
- [F]: JSON.stringify([
83
- { property: !!l, value: !!e }
84
+ [q]: JSON.stringify([
85
+ { property: !!i, value: !!e }
84
86
  ]),
85
- [x]: w(
86
- L,
87
+ [M]: $(
88
+ Y,
87
89
  "root",
88
90
  p
89
91
  )
90
92
  } : {},
91
93
  children: [
92
- o && /* @__PURE__ */ t(q, { ownerState: r, children: C() }),
93
- /* @__PURE__ */ y(U, { ownerState: r, children: [
94
- /* @__PURE__ */ t(G, { ownerState: r, className: M.name, children: l && /* @__PURE__ */ t(
95
- X,
94
+ t && /* @__PURE__ */ o(H, { ownerState: r, children: w() }),
95
+ /* @__PURE__ */ S(J, { ownerState: r, children: [
96
+ /* @__PURE__ */ o(K, { ownerState: r, className: F.name, children: i && /* @__PURE__ */ o(
97
+ Q,
96
98
  {
97
- size: i,
98
- label: l,
99
- labelOverflow: m,
100
- mandatory: v,
101
- mandatoryMessage: T,
102
- helperMessage: g,
103
- symbol: I,
104
- htmlFor: d
99
+ size: l,
100
+ label: i,
101
+ labelOverflow: y,
102
+ mandatory: b,
103
+ mandatoryMessage: g,
104
+ helperMessage: I,
105
+ symbol: V,
106
+ htmlFor: s
105
107
  }
106
108
  ) }),
107
- /* @__PURE__ */ t(H, { role: "property-value-value-role", ownerState: r, children: z() })
109
+ /* @__PURE__ */ o(X, { role: "property-value-value-role", ownerState: r, children: D() })
108
110
  ] })
109
111
  ]
110
112
  }
111
113
  );
112
114
  }
113
115
  export {
114
- me as PropertyValue
116
+ ce as PropertyValue
115
117
  };
@@ -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;AAU9C,eAAO,MAAM,mBAAmB,EAAE,mBA0QjC,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;AAW9C,eAAO,MAAM,mBAAmB,EAAE,mBAgSjC,CAAC"}
@@ -1,27 +1,28 @@
1
- import { getPropertyByString as n } from "@m4l/core";
1
+ import { getPropertyByString as t } from "@m4l/core";
2
2
  import { ICON_SVG_SHAPE_SELECTOR as s } from "@m4l/base";
3
- import { getSizeStyles as d } from "../../utils/getSizeStyles/getSizeStyles.js";
4
- import { resolveSemanticWidthPx as p, isFullRowSemanticWidth as b } from "./semanticWidth.js";
5
- const l = "container", h = {
3
+ import { getSizeStyles as p } from "../../utils/getSizeStyles/getSizeStyles.js";
4
+ import { classHelperErrorRoot as b } from "../HelperError/constant.js";
5
+ import { resolveSemanticWidthPx as l, isFullRowSemanticWidth as m } from "./semanticWidth.js";
6
+ const c = "container", h = {
6
7
  /**
7
8
  * Property Value Root Styles
8
9
  */
9
10
  Root: ({ theme: o, ownerState: i }) => {
10
- const r = (a) => ({
11
- maxWidth: `${a}px`,
12
- minWidth: `${a}px`,
13
- [`@container ${l} (max-width: ${a - 1}px)`]: {
11
+ const e = (n) => ({
12
+ maxWidth: `${n}px`,
13
+ minWidth: `${n}px`,
14
+ [`@container ${c} (max-width: ${n - 1}px)`]: {
14
15
  minWidth: "100px",
15
16
  maxWidth: "100%",
16
17
  width: "100%"
17
18
  }
18
- }), e = p(i?.semanticWidth), t = i?.semanticWidth && typeof e == "number" ? r(e) : {}, c = i?.semanticWidth && b(i.semanticWidth) ? {
19
+ }), r = l(i?.semanticWidth), a = i?.semanticWidth && typeof r == "number" ? e(r) : {}, d = i?.semanticWidth && m(i.semanticWidth) ? {
19
20
  maxWidth: "100%",
20
21
  width: "100%",
21
22
  minWidth: i.semanticWidth === "bigDescription" ? "100px" : "0"
22
23
  } : {};
23
24
  return {
24
- containerName: l,
25
+ containerName: c,
25
26
  containerType: "inline-size",
26
27
  display: "flex",
27
28
  flexDirection: "row",
@@ -78,36 +79,34 @@ const l = "container", h = {
78
79
  border: "unset"
79
80
  },
80
81
  minHeight: o.vars.size.baseSpacings.sp5,
81
- ...t,
82
- ...c
82
+ ...i?.formLayout === "responsive" ? { inlineSize: "100%", minInlineSize: 0 } : { ...a, ...d }
83
83
  };
84
84
  },
85
85
  /**
86
86
  * Property Styles
87
87
  */
88
88
  name: ({ theme: o, ownerState: i }) => {
89
- const r = typeof i?.labelWidth == "number" ? `${i.labelWidth}px` : i?.labelWidth;
89
+ const e = typeof i?.labelWidth == "number" ? `${i.labelWidth}px` : i?.labelWidth;
90
90
  return {
91
91
  display: "flex",
92
92
  alignItems: "center",
93
93
  fontSize: o.typography.body2.fontSize,
94
94
  color: o.vars.palette.text.primary,
95
95
  gap: o.vars.size.baseSpacings.sp1,
96
- overflow: i?.labelOverflow === "visible" ? "visible" : "hidden",
97
- // The name slot hugs its content instead of stretching, so the rendered label width is the
98
- // real one rather than whatever the consumer estimated. `labelWidth` survives as the
99
- // ceiling: it still clamps the slot, it just no longer dictates its width.
100
- maxWidth: r ?? "100%",
101
- width: "fit-content"
96
+ overflow: i?.labelOverflow === "ellipsis" || !i?.labelOverflow ? "hidden" : "visible",
97
+ // Keep the intrinsic width used by DynamicForm measurements. Responsive paper forms
98
+ // have an assigned cell and can give that width to the label.
99
+ maxWidth: e ?? "100%",
100
+ width: i?.formLayout === "responsive" ? "100%" : "fit-content"
102
101
  };
103
102
  },
104
103
  /**
105
104
  * Value Styles (Form and No Form Combined)
106
105
  */
107
106
  value: ({ theme: o, ownerState: i }) => {
108
- const r = typeof i?.controlWidth == "number" ? `${i.controlWidth}px` : void 0;
107
+ const e = i?.formLayout === "responsive", r = e ? l(i.semanticWidth) : i?.controlWidth, a = typeof r == "number" ? `${r}px` : void 0;
109
108
  return {
110
- width: r ?? (i?.direction === "column" ? "100%" : "fit-content"),
109
+ width: a ?? (i?.direction === "column" ? "100%" : "fit-content"),
111
110
  display: "flex",
112
111
  justifyContent: "flex-start",
113
112
  alignItems: "flex-start",
@@ -117,7 +116,23 @@ const l = "container", h = {
117
116
  gap: o.vars.size.baseSpacings["sp0-5"],
118
117
  flexDirection: "column"
119
118
  },
120
- ...r && {
119
+ ...e && {
120
+ "--m4l-form-control-block-size": "auto",
121
+ "--m4l-form-control-max-block-size": "none",
122
+ "--m4l-form-stepper-min-height-ratio": "1",
123
+ maxInlineSize: "100%",
124
+ minInlineSize: 0,
125
+ whiteSpace: "normal",
126
+ overflowWrap: "anywhere",
127
+ // Inline errors can use the field cell's width even when the control is compact.
128
+ [`& .${b}`]: {
129
+ inlineSize: "max-content",
130
+ maxInlineSize: "100cqi",
131
+ whiteSpace: "normal",
132
+ overflowWrap: "anywhere"
133
+ }
134
+ },
135
+ ...a && {
121
136
  maxWidth: "100%",
122
137
  "& > *": {
123
138
  width: "100%",
@@ -131,7 +146,7 @@ const l = "container", h = {
131
146
  * Container Start Adornment Styles
132
147
  */
133
148
  containerStartAdornment: ({ theme: o, ownerState: i }) => {
134
- const r = i?.iconColor === "text.primary" || i?.iconColor === "text.secondary" || i?.iconColor === "text.disabled", e = r ? n(o.vars.palette, String(i?.iconColor), o.vars.palette.text.primary) : n(o.vars.palette.chips, String(i?.iconColor), o.vars.palette.chips.primary)?.contained;
149
+ const e = i?.iconColor === "text.primary" || i?.iconColor === "text.secondary" || i?.iconColor === "text.disabled", r = e ? t(o.vars.palette, String(i?.iconColor), o.vars.palette.text.primary) : t(o.vars.palette.chips, String(i?.iconColor), o.vars.palette.chips.primary)?.contained;
135
150
  return {
136
151
  "&&&": {
137
152
  display: "flex",
@@ -139,34 +154,34 @@ const l = "container", h = {
139
154
  justifyContent: "center",
140
155
  overflow: "hidden",
141
156
  borderRadius: o.vars.size.borderRadius["r1-5"],
142
- ...d(
157
+ ...p(
143
158
  o,
144
159
  i?.size || "medium",
145
160
  "base",
146
- (t) => ({
147
- height: `calc(${t} + ${o.vars.size.baseSpacings.sp2})`,
148
- width: `calc(${t} + ${o.vars.size.baseSpacings.sp2})`,
149
- minHeight: `calc(${t} + ${o.vars.size.baseSpacings.sp2})`,
150
- minWidth: `calc(${t} + ${o.vars.size.baseSpacings.sp2})`
161
+ (a) => ({
162
+ height: `calc(${a} + ${o.vars.size.baseSpacings.sp2})`,
163
+ width: `calc(${a} + ${o.vars.size.baseSpacings.sp2})`,
164
+ minHeight: `calc(${a} + ${o.vars.size.baseSpacings.sp2})`,
165
+ minWidth: `calc(${a} + ${o.vars.size.baseSpacings.sp2})`
151
166
  })
152
167
  ),
153
168
  // variente de icono en modalidad outlined o containedOpacity
154
169
  ...(i?.iconVariant === "containedOpacity" || i?.iconVariant === "outlined") && {
155
170
  ...i?.iconVariant === "outlined" && {
156
171
  border: o.vars.size.borderStroke.container,
157
- borderColor: r ? o.vars.palette.border.disabled : e?.backgroundColor,
172
+ borderColor: e ? o.vars.palette.border.disabled : r?.backgroundColor,
158
173
  backgroundColor: "transparent"
159
174
  },
160
175
  ...i?.iconVariant === "containedOpacity" && {
161
- backgroundColor: r ? o.vars.palette.border.disabled : e?.backgroundColor
176
+ backgroundColor: e ? o.vars.palette.border.disabled : r?.backgroundColor
162
177
  },
163
178
  // icon mask strategy
164
179
  "& .M4LIcon-icon": {
165
- backgroundColor: r ? e : e?.color
180
+ backgroundColor: e ? r : r?.color
166
181
  },
167
182
  // 🧪 Experimental m4l/icons strategy
168
183
  [s]: {
169
- fill: r ? e : e?.color,
184
+ fill: e ? r : r?.color,
170
185
  stroke: "none"
171
186
  }
172
187
  },
@@ -174,11 +189,11 @@ const l = "container", h = {
174
189
  backgroundColor: "transparent",
175
190
  // icon mask strategy
176
191
  "& .M4LIcon-icon": {
177
- backgroundColor: r ? e : e?.color
192
+ backgroundColor: e ? r : r?.color
178
193
  },
179
194
  // 🧪 Experimental m4l/icons strategy
180
195
  [s]: {
181
- fill: r ? e : e?.color,
196
+ fill: e ? r : r?.color,
182
197
  stroke: "none"
183
198
  }
184
199
  }
@@ -191,7 +206,8 @@ const l = "container", h = {
191
206
  containerPropertyAndValue: ({ theme: o, ownerState: i }) => ({
192
207
  display: "flex",
193
208
  justifyContent: "space-between",
194
- overflow: i?.labelOverflow === "visible" ? "visible" : "hidden",
209
+ overflow: i?.labelOverflow === "ellipsis" || !i?.labelOverflow ? "hidden" : "visible",
210
+ ...i?.formLayout === "responsive" && { flex: "1 1 0", minInlineSize: 0 },
195
211
  flexDirection: i?.direction || "row",
196
212
  borderColor: o.vars.palette.border.secondary,
197
213
  width: "100%",
@@ -212,7 +228,11 @@ const l = "container", h = {
212
228
  */
213
229
  typographyValue: ({ ownerState: o }) => ({
214
230
  wordBreak: "break-word",
215
- whiteSpace: o?.direction === "column" ? "normal" : "nowrap"
231
+ whiteSpace: o?.direction === "column" ? "normal" : "nowrap",
232
+ ...o?.formLayout === "responsive" && {
233
+ maxInlineSize: "100%",
234
+ overflowWrap: "anywhere"
235
+ }
216
236
  })
217
237
  };
218
238
  export {
@@ -80,6 +80,8 @@ 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
+ /** Use the assigned form cell for text and apply the semantic width to the control. */
84
+ formLayout?: 'responsive';
83
85
  /** Optional width used by adaptive form labels without changing the control width. */
84
86
  labelWidth?: number | string;
85
87
  /** Optional width used to keep form controls fixed to their backend semantic width. */
@@ -193,7 +195,7 @@ export type PropertyValueProps = PropertyValueWithStartAdornment | PropertyValue
193
195
  /**
194
196
  * Estado del propietario para el componente `PropertyValue`, utilizado para personalizar estilos y comportamientos.
195
197
  */
196
- export interface PropertyVaLueOwnerState extends Pick<PropertyValueBaseProps, 'controlWidth' | 'disabled' | 'labelOverflow' | 'labelWidth' | 'propertyWidth' | 'semanticWidth' | 'valueHeight'> {
198
+ export interface PropertyVaLueOwnerState extends Pick<PropertyValueBaseProps, 'controlWidth' | 'disabled' | 'formLayout' | 'labelOverflow' | 'labelWidth' | 'propertyWidth' | 'semanticWidth' | 'valueHeight'> {
197
199
  /**
198
200
  * Indica si el componente está en modo formulario.
199
201
  */
@@ -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,G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{"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,C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;IAE1B;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB;AAED;;GAEG;AACH,KAAK,+BAA+B,GAChC,mCAAmC,GACnC,sCAAsC,GACtC,wCAAwC,CAAC;AAE7C;;GAEG;AACH,UAAU,kCAAmC,SAAQ,sBAAsB;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,uBACf,SAAQ,IAAI,CACV,sBAAsB,EACpB,cAAc,GACd,UAAU,GACV,YAAY,GACZ,eAAe,GACf,YAAY,GACZ,eAAe,GACf,eAAe,GACf,aAAa,CAChB;IACD;;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,11 +1,6 @@
1
1
  import { SideBarProps } from './types';
2
2
  /**
3
- * Componente SideBar, representa una barra lateral que contiene un menú de opciones.
4
- * Este componente se encarga de renderizar el menú de opciones y representar su estado
5
- * de selección y activación. Además, permite alternar la visibilidad y el anclaje de la barra lateral.
6
- * ### Dependencias:
7
- * - **`useMobile:`** Hook que devuelve un valor booleano indicando si la aplicación se está ejecutando en un entorno de escritorio.
8
- * - **`useFirstRender:`** Hook que devuelve un valor booleano indicando si el componente se está renderizando por primera vez.
3
+ * Render the menu and its selection in the configured desktop sidebar or mobile drawer.
9
4
  */
10
- export declare const SideBar: import('react').MemoExoticComponent<(props: SideBarProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
5
+ export declare const SideBar: import('react').NamedExoticComponent<SideBarProps>;
11
6
  //# sourceMappingURL=SideBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SideBar.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/SideBar/SideBar.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAQvC;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,8CAAgB,YAAY,sDAsD9C,CAAC"}
1
+ {"version":3,"file":"SideBar.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/SideBar/SideBar.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAUvC;;GAEG;AACH,eAAO,MAAM,OAAO,oDAIlB,CAAC"}
@@ -1,56 +1,62 @@
1
- import { jsx as e } from "@emotion/react/jsx-runtime";
2
- import { SideBarProvider as b } from "./context/sideBarContext/index.js";
1
+ import { jsx as r } from "@emotion/react/jsx-runtime";
2
+ import { SideBarProvider as d } from "./context/sideBarContext/index.js";
3
3
  import { SideBarMobile as x } from "./subcomponents/SideBarMobile/index.js";
4
- import { SideBarDesktop as v } from "./subcomponents/SideBarDesktop/index.js";
5
- import { memo as y, useMemo as B } from "react";
6
- import { getMenuDataWithState as I } from "./helpers/getMenuDataWithState/index.js";
7
- import { useIsMobile as k } from "@m4l/graphics";
8
- import { getDataToSkeleton as C } from "./helpers/getDataToSkeleton/index.js";
9
- const V = y((r) => {
10
- const {
11
- anchored: m,
12
- visible: a,
13
- onToggleAnchored: n,
14
- onToggleVisible: i,
15
- menuData: t,
16
- onMenuItemClick: l,
17
- companyLogoUrl: p,
18
- companyLogoSmallUrl: d,
19
- moduleSelectedId: o,
20
- expandedWidth: c = "230px",
21
- companyName: s,
22
- companySlogan: u,
23
- urlIconPrefix: f = "",
24
- headerComponent: S,
25
- footerComponent: g,
26
- variant: h = "host"
27
- } = r, D = B(() => I({ menuData: t ?? C(), moduleSelectedId: o }), [t, o]), M = k();
28
- return /* @__PURE__ */ e(
29
- b,
4
+ import { SideBarDesktop as g } from "./subcomponents/SideBarDesktop/index.js";
5
+ import { memo as k, useMemo as l } from "react";
6
+ import { getMenuDataWithState as v } from "./helpers/getMenuDataWithState/index.js";
7
+ import { useIsMobile as W } from "@m4l/graphics";
8
+ import { getDataToSkeleton as j } from "./helpers/getDataToSkeleton/index.js";
9
+ import { SideBarNavigation as N } from "./subcomponents/SideBarNavigation/SideBarNavigation.js";
10
+ const G = k(function({ navigation: o, ...t }) {
11
+ return o ? /* @__PURE__ */ r(N, { ...t, navigation: o }) : /* @__PURE__ */ r(P, { ...t });
12
+ });
13
+ function P({
14
+ anchored: e,
15
+ visible: o,
16
+ onToggleAnchored: t,
17
+ onToggleVisible: a,
18
+ menuData: m,
19
+ onMenuItemClick: n,
20
+ companyLogoUrl: f,
21
+ companyLogoSmallUrl: p,
22
+ moduleSelectedId: i,
23
+ expandedWidth: s = "230px",
24
+ companyName: u,
25
+ companySlogan: S,
26
+ urlIconPrefix: B = "",
27
+ headerComponent: M,
28
+ footerComponent: D,
29
+ variant: c = "host"
30
+ }) {
31
+ const h = l(
32
+ () => v({ menuData: m ?? j(), moduleSelectedId: i }),
33
+ [m, i]
34
+ ), b = W();
35
+ return /* @__PURE__ */ r(
36
+ d,
30
37
  {
31
38
  value: {
32
- // Propiedades y funciones proporcionadas a través del contexto
33
- anchored: m,
34
- visible: a,
35
- onToggleAnchored: n,
36
- onToggleVisible: i,
37
- menuData: D,
38
- onMenuItemClick: l,
39
- companyLogoUrl: p,
40
- companyLogoSmallUrl: d,
41
- moduleSelectedId: o,
42
- expandedWidth: c,
43
- companyName: s,
44
- companySlogan: u,
45
- urlIconPrefix: f,
46
- variant: h,
47
- headerComponent: S,
48
- footerComponent: g
39
+ anchored: e,
40
+ visible: o,
41
+ onToggleAnchored: t,
42
+ onToggleVisible: a,
43
+ menuData: h,
44
+ onMenuItemClick: n,
45
+ companyLogoUrl: f,
46
+ companyLogoSmallUrl: p,
47
+ moduleSelectedId: i,
48
+ expandedWidth: s,
49
+ companyName: u,
50
+ companySlogan: S,
51
+ urlIconPrefix: B,
52
+ variant: c,
53
+ headerComponent: M,
54
+ footerComponent: D
49
55
  },
50
- children: M ? /* @__PURE__ */ e(x, {}) : /* @__PURE__ */ e(v, {})
56
+ children: b ? /* @__PURE__ */ r(x, {}) : /* @__PURE__ */ r(g, {})
51
57
  }
52
58
  );
53
- });
59
+ }
54
60
  export {
55
- V as SideBar
61
+ G as SideBar
56
62
  };
@@ -1,8 +1,29 @@
1
1
  import { HeaderSidebarSlots, ContentGroupsSlots, SideBarDesktopSlots, SideBarFooterSlots, SideBarMobileSlots, ContentComponentSlots } from './slots/SideBarEnum';
2
+ import { SideBarPreferences } from './types';
2
3
  export declare const SIDEBAR_KEY_COMPONENT = "M4LSideBar";
3
4
  export declare const CONTAINER_BTN_ANCHORED = "M4LSideBarButtonAnchored";
4
5
  export declare const LIST_MENU_ITEM = "M4LListMenuItem";
5
6
  export declare const PATH_ICONS = "/frontend/domain/microfrontends/";
7
+ export declare const SIDEBAR_WIDTH: {
8
+ readonly default: 240;
9
+ readonly min: 180;
10
+ readonly max: 310;
11
+ };
12
+ export declare const SIDEBAR_INITIAL_PREFERENCES_WAIT_MS = 1500;
13
+ export declare const DEFAULT_SIDEBAR_PREFERENCES: SideBarPreferences;
14
+ export declare const SIDEBAR_DICTIONARY: {
15
+ readonly navigation: "platform_sidebar.navigation";
16
+ readonly search: "platform_sidebar.search";
17
+ readonly resize: "platform_sidebar.resize";
18
+ readonly favorites: "platform_sidebar.favorites";
19
+ readonly pin: "platform_sidebar.pin";
20
+ readonly unpin: "platform_sidebar.unpin";
21
+ readonly addInstance: "platform_sidebar.add_instance";
22
+ readonly closeInstance: "platform_sidebar.close_instance";
23
+ readonly instances: "platform_sidebar.instances";
24
+ readonly noResults: "platform_sidebar.no_results";
25
+ readonly attribution: "label_powerby";
26
+ };
6
27
  export declare const ALL_SIDEBAR_SLOTS: {
7
28
  contentComponentRoot: ContentComponentSlots.contentComponentRoot;
8
29
  containerTreeItemsHeaderFooter: ContentComponentSlots.containerTreeItemsHeaderFooter;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/SideBar/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE1I,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,qBAAqB,eAAe,CAAC;AAClD,eAAO,MAAM,sBAAsB,6BAA6B,CAAC;AACjE,eAAO,MAAM,cAAc,oBAAoB,CAAC;AAChD,eAAO,MAAM,UAAU,qCAAqC,CAAC;AAG7D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;CAO7B,CAAC;AAGF,eAAO,MAAM,kBAAkB,YAAY,CAAC;AAE5C,eAAO,MAAM,sBAAsB,gBAAgB,CAAC;AAEpD,eAAO,MAAM,8BAA8B,wBAAwB,CAAC;AAEpE,eAAO,MAAM,uBAAuB,iBAAiB,CAAC;AAEtD,eAAO,MAAM,sBAAsB,gBAAgB,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/SideBar/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,E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