@m4l/components 9.4.38 → 9.4.39
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/Stepper/Stepper.styles.d.ts.map +1 -1
- package/components/Stepper/Stepper.styles.js +36 -5
- package/components/Stepper/slots/StepperEnum.d.ts +1 -0
- package/components/Stepper/slots/StepperEnum.d.ts.map +1 -1
- package/components/Stepper/slots/StepperEnum.js +2 -2
- package/components/Stepper/slots/StepperSlot.d.ts +3 -0
- package/components/Stepper/slots/StepperSlot.d.ts.map +1 -1
- package/components/Stepper/slots/StepperSlot.js +40 -36
- package/components/Stepper/subcomponents/ContentArea/subcomponents/WrapperTitle/index.d.ts.map +1 -1
- package/components/Stepper/subcomponents/ContentArea/subcomponents/WrapperTitle/index.js +11 -11
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Stepper/Stepper.styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,eAAO,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"Stepper.styles.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Stepper/Stepper.styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,eAAO,MAAM,aAAa,EAAE,aAmb3B,CAAC"}
|
|
@@ -44,7 +44,6 @@ const c = {
|
|
|
44
44
|
display: "flex",
|
|
45
45
|
alignItems: "start",
|
|
46
46
|
width: "100%",
|
|
47
|
-
minWidth: "350px",
|
|
48
47
|
overflowX: "auto",
|
|
49
48
|
overflowY: "hidden"
|
|
50
49
|
} : {
|
|
@@ -243,7 +242,10 @@ const c = {
|
|
|
243
242
|
color: i.vars.palette.text.primary,
|
|
244
243
|
display: "flex",
|
|
245
244
|
flexDirection: "column",
|
|
246
|
-
gap: i.vars.size.baseSpacings["sp0-5"]
|
|
245
|
+
gap: i.vars.size.baseSpacings["sp0-5"],
|
|
246
|
+
flex: 1,
|
|
247
|
+
minWidth: 0,
|
|
248
|
+
overflow: "hidden"
|
|
247
249
|
}),
|
|
248
250
|
/**
|
|
249
251
|
* Estilos para el icono del Stepper.
|
|
@@ -255,15 +257,42 @@ const c = {
|
|
|
255
257
|
}))
|
|
256
258
|
}),
|
|
257
259
|
/**
|
|
258
|
-
* Estilos para el título del Stepper.
|
|
260
|
+
* Estilos para el título del Stepper (Typography wrapper, same role as stepName).
|
|
259
261
|
*/
|
|
260
|
-
title: () => ({
|
|
262
|
+
title: () => ({
|
|
263
|
+
minWidth: 0,
|
|
264
|
+
width: "100%",
|
|
265
|
+
overflow: "hidden"
|
|
266
|
+
}),
|
|
267
|
+
/**
|
|
268
|
+
* Text wrapper for title with line-clamp (same as stepNameText: max 2 lines, then ellipsis).
|
|
269
|
+
*/
|
|
270
|
+
titleText: () => ({
|
|
271
|
+
display: "-webkit-box",
|
|
272
|
+
"-webkit-box-orient": "vertical",
|
|
273
|
+
"-webkit-line-clamp": "2",
|
|
274
|
+
overflow: "hidden",
|
|
275
|
+
textOverflow: "ellipsis",
|
|
276
|
+
wordBreak: "break-word",
|
|
277
|
+
whiteSpace: "normal",
|
|
278
|
+
width: "100%",
|
|
279
|
+
direction: "ltr",
|
|
280
|
+
lineHeight: 1.2
|
|
281
|
+
}),
|
|
261
282
|
/**
|
|
262
283
|
* Estilos para la descripción del Stepper.
|
|
263
284
|
*/
|
|
264
285
|
description: ({ theme: i }) => ({
|
|
286
|
+
minWidth: 0,
|
|
287
|
+
overflow: "hidden",
|
|
288
|
+
width: "100%",
|
|
289
|
+
maxWidth: "100%",
|
|
265
290
|
"&.M4LTypography-root": {
|
|
266
|
-
color: i.vars.palette.text.secondary
|
|
291
|
+
color: i.vars.palette.text.secondary,
|
|
292
|
+
overflow: "hidden",
|
|
293
|
+
minWidth: 0,
|
|
294
|
+
textOverflow: "ellipsis",
|
|
295
|
+
whiteSpace: "nowrap"
|
|
267
296
|
}
|
|
268
297
|
}),
|
|
269
298
|
/**
|
|
@@ -273,6 +302,8 @@ const c = {
|
|
|
273
302
|
display: "flex",
|
|
274
303
|
alignItems: "center",
|
|
275
304
|
justifyContent: "space-between",
|
|
305
|
+
flexWrap: "wrap",
|
|
306
|
+
gap: i.vars.size.baseSpacings.sp2,
|
|
276
307
|
paddingTop: i.vars.size.baseSpacings.sp4,
|
|
277
308
|
position: "sticky",
|
|
278
309
|
bottom: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepperEnum.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/Stepper/slots/StepperEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,YAAY;IACtB,cAAc,mBAAmB;IACjC,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,UAAU,eAAe;CAC1B;AAED,oBAAY,gBAAgB;IAC1B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,WAAW,gBAAgB;CAC5B;AAED,oBAAY,kBAAkB;IAC5B,oBAAoB,yBAAyB;IAC7C,wBAAwB,6BAA6B;IACrD,yBAAyB,8BAA8B;IACvD,cAAc,mBAAmB;CAClC"}
|
|
1
|
+
{"version":3,"file":"StepperEnum.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/Stepper/slots/StepperEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,YAAY;IACtB,cAAc,mBAAmB;IACjC,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,UAAU,eAAe;CAC1B;AAED,oBAAY,gBAAgB;IAC1B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,kBAAkB;IAC5B,oBAAoB,yBAAyB;IAC7C,wBAAwB,6BAA6B;IACrD,yBAAyB,8BAA8B;IACvD,cAAc,mBAAmB;CAClC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var r = /* @__PURE__ */ ((e) => (e.stepperRoot = "stepperRoot", e))(r || {}), p = /* @__PURE__ */ ((e) => (e.contentSection = "contentSection", e.stepArea = "stepArea", e.step = "step", e.stepName = "stepName", e.stepNameText = "stepNameText", e.indicator = "indicator", e.textNumber = "textNumber", e))(p || {}), t = /* @__PURE__ */ ((e) => (e.contentArea = "contentArea", e.stepContent = "stepContent", e.contentAreaHeader = "contentAreaHeader", e.contentAreaBody = "contentAreaBody", e.wrapperIcon = "wrapperIcon", e.wrapperTitle = "wrapperTitle", e.icon = "icon", e.title = "title", e.description = "description", e))(t || {}),
|
|
1
|
+
var r = /* @__PURE__ */ ((e) => (e.stepperRoot = "stepperRoot", e))(r || {}), p = /* @__PURE__ */ ((e) => (e.contentSection = "contentSection", e.stepArea = "stepArea", e.step = "step", e.stepName = "stepName", e.stepNameText = "stepNameText", e.indicator = "indicator", e.textNumber = "textNumber", e))(p || {}), t = /* @__PURE__ */ ((e) => (e.contentArea = "contentArea", e.stepContent = "stepContent", e.contentAreaHeader = "contentAreaHeader", e.contentAreaBody = "contentAreaBody", e.wrapperIcon = "wrapperIcon", e.wrapperTitle = "wrapperTitle", e.icon = "icon", e.title = "title", e.titleText = "titleText", e.description = "description", e))(t || {}), i = /* @__PURE__ */ ((e) => (e.stepperFooterSection = "stepperFooterSection", e.stepperFooterLeftActions = "stepperFooterLeftActions", e.stepperFooterRightActions = "stepperFooterRightActions", e.wrapperButtons = "wrapperButtons", e))(i || {});
|
|
2
2
|
export {
|
|
3
3
|
t as ContentAreaSlots,
|
|
4
4
|
p as ContentSlots,
|
|
5
|
-
|
|
5
|
+
i as StepperFooterSlots,
|
|
6
6
|
r as StepperSlots
|
|
7
7
|
};
|
|
@@ -49,6 +49,9 @@ export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<
|
|
|
49
49
|
export declare const TitleStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "title" | "component" | "zIndex" | "size" | "variant" | "color" | "dataTestid" | "paragraph" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "children" | "sx" | "p" | "slot" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "disabled" | "align" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonWidth" | "skeletonRows" | "htmlFor" | "ellipsis" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
50
50
|
ownerState?: (Partial<import('../types').StepperOwnerState> & Record<string, unknown>) | undefined;
|
|
51
51
|
}, {}, {}>;
|
|
52
|
+
export declare const TitleTextStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
53
|
+
ownerState?: (Partial<import('../types').StepperOwnerState> & Record<string, unknown>) | undefined;
|
|
54
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
52
55
|
export declare const DescriptionStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../extended/mui/Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "title" | "component" | "zIndex" | "size" | "variant" | "color" | "dataTestid" | "paragraph" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "children" | "sx" | "p" | "slot" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "disabled" | "align" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonWidth" | "skeletonRows" | "htmlFor" | "ellipsis" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
53
56
|
ownerState?: (Partial<import('../types').StepperOwnerState> & Record<string, unknown>) | undefined;
|
|
54
57
|
}, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepperSlot.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/Stepper/slots/StepperSlot.ts"],"names":[],"mappings":"AAYA;;GAEG;AACH,eAAO,MAAM,iBAAiB;;6NAGD,CAAC;AAE9B,eAAO,MAAM,oBAAoB;;iNAGD,CAAC;AAEjC,eAAO,MAAM,cAAc;;6NAGD,CAAC;AAE3B,eAAO,MAAM,iBAAiB;;6NAGD,CAAC;AAE9B,eAAO,MAAM,iBAAiB;;6NAGD,CAAC;AAE9B,eAAO,MAAM,UAAU;;6NAGD,CAAC;AAEvB,eAAO,MAAM,cAAc;;UAGD,CAAC;AAE3B,eAAO,MAAM,kBAAkB;;6NAGD,CAAC;AAE/B,eAAO,MAAM,eAAe;;6NAGD,CAAC;AAE5B,eAAO,MAAM,gBAAgB;;UAGD,CAAC;AAE7B,eAAO,MAAM,qBAAqB;;6NAGD,CAAC;AAElC,eAAO,MAAM,uBAAuB;;6NAGD,CAAC;AAEpC,eAAO,MAAM,iBAAiB;;6NAGD,CAAC;AAE9B,eAAO,MAAM,kBAAkB;;6NAGD,CAAC;AAE/B,eAAO,MAAM,UAAU;;UAGD,CAAC;AAEvB,eAAO,MAAM,WAAW;;UAGD,CAAC;AAExB,eAAO,MAAM,iBAAiB;;UAGD,CAAC;AAE9B,eAAO,MAAM,0BAA0B;;iNAGD,CAAC;AAEvC,eAAO,MAAM,8BAA8B;;6NAGD,CAAC;AAE3C,eAAO,MAAM,+BAA+B;;6NAGD,CAAC;AAE5C,eAAO,MAAM,oBAAoB;;6NAGD,CAAC"}
|
|
1
|
+
{"version":3,"file":"StepperSlot.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/Stepper/slots/StepperSlot.ts"],"names":[],"mappings":"AAYA;;GAEG;AACH,eAAO,MAAM,iBAAiB;;6NAGD,CAAC;AAE9B,eAAO,MAAM,oBAAoB;;iNAGD,CAAC;AAEjC,eAAO,MAAM,cAAc;;6NAGD,CAAC;AAE3B,eAAO,MAAM,iBAAiB;;6NAGD,CAAC;AAE9B,eAAO,MAAM,iBAAiB;;6NAGD,CAAC;AAE9B,eAAO,MAAM,UAAU;;6NAGD,CAAC;AAEvB,eAAO,MAAM,cAAc;;UAGD,CAAC;AAE3B,eAAO,MAAM,kBAAkB;;6NAGD,CAAC;AAE/B,eAAO,MAAM,eAAe;;6NAGD,CAAC;AAE5B,eAAO,MAAM,gBAAgB;;UAGD,CAAC;AAE7B,eAAO,MAAM,qBAAqB;;6NAGD,CAAC;AAElC,eAAO,MAAM,uBAAuB;;6NAGD,CAAC;AAEpC,eAAO,MAAM,iBAAiB;;6NAGD,CAAC;AAE9B,eAAO,MAAM,kBAAkB;;6NAGD,CAAC;AAE/B,eAAO,MAAM,UAAU;;UAGD,CAAC;AAEvB,eAAO,MAAM,WAAW;;UAGD,CAAC;AAExB,eAAO,MAAM,eAAe;;6NAGD,CAAC;AAE5B,eAAO,MAAM,iBAAiB;;UAGD,CAAC;AAE9B,eAAO,MAAM,0BAA0B;;iNAGD,CAAC;AAEvC,eAAO,MAAM,8BAA8B;;6NAGD,CAAC;AAE3C,eAAO,MAAM,+BAA+B;;6NAGD,CAAC;AAE5C,eAAO,MAAM,oBAAoB;;6NAGD,CAAC"}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { styled as t } from "@mui/material/styles";
|
|
2
2
|
import { STEPPER_PREFIX_NAME as e } from "../constants.js";
|
|
3
|
-
import { StepperSlots as i, ContentSlots as
|
|
3
|
+
import { StepperSlots as i, ContentSlots as s, ContentAreaSlots as n, StepperFooterSlots as r } from "./StepperEnum.js";
|
|
4
4
|
import { stepperStyles as o } from "../Stepper.styles.js";
|
|
5
5
|
import { Typography as p } from "../../extended/mui/Typography/Typography.js";
|
|
6
|
-
import { Icon as
|
|
6
|
+
import { Icon as l } from "../../Icon/Icon.js";
|
|
7
7
|
const A = t("div", {
|
|
8
8
|
name: e,
|
|
9
9
|
slot: i.stepperRoot
|
|
10
10
|
})(o.stepperRoot), v = t("section", {
|
|
11
11
|
name: e,
|
|
12
|
-
slot:
|
|
13
|
-
})(o.contentSection),
|
|
12
|
+
slot: s.contentSection
|
|
13
|
+
})(o.contentSection), T = t("div", {
|
|
14
14
|
name: e,
|
|
15
|
-
slot:
|
|
16
|
-
})(o.stepArea),
|
|
15
|
+
slot: s.stepArea
|
|
16
|
+
})(o.stepArea), F = t("div", {
|
|
17
17
|
name: e,
|
|
18
18
|
slot: n.contentArea
|
|
19
|
-
})(o.contentArea),
|
|
19
|
+
})(o.contentArea), x = t("div", {
|
|
20
20
|
name: e,
|
|
21
21
|
slot: n.stepContent
|
|
22
|
-
})(o.stepContent),
|
|
22
|
+
})(o.stepContent), N = t("div", {
|
|
23
23
|
name: e,
|
|
24
|
-
slot:
|
|
25
|
-
})(o.step),
|
|
24
|
+
slot: s.step
|
|
25
|
+
})(o.step), f = t(p, {
|
|
26
26
|
name: e,
|
|
27
|
-
slot:
|
|
28
|
-
})(o.stepName),
|
|
27
|
+
slot: s.stepName
|
|
28
|
+
})(o.stepName), C = t("div", {
|
|
29
29
|
name: e,
|
|
30
|
-
slot:
|
|
31
|
-
})(o.stepNameText),
|
|
30
|
+
slot: s.stepNameText
|
|
31
|
+
})(o.stepNameText), R = t("div", {
|
|
32
32
|
name: e,
|
|
33
|
-
slot:
|
|
33
|
+
slot: s.indicator
|
|
34
34
|
})(o.indicator), I = t(p, {
|
|
35
35
|
name: e,
|
|
36
|
-
slot:
|
|
36
|
+
slot: s.textNumber
|
|
37
37
|
})(o.textNumber), w = t("div", {
|
|
38
38
|
name: e,
|
|
39
39
|
slot: n.contentAreaBody
|
|
@@ -46,48 +46,52 @@ const A = t("div", {
|
|
|
46
46
|
})(o.wrapperIcon), g = t("div", {
|
|
47
47
|
name: e,
|
|
48
48
|
slot: n.wrapperTitle
|
|
49
|
-
})(o.wrapperTitle), h = t(
|
|
49
|
+
})(o.wrapperTitle), h = t(l, {
|
|
50
50
|
name: e,
|
|
51
51
|
slot: n.icon
|
|
52
52
|
})(o.icon), E = t(p, {
|
|
53
53
|
name: e,
|
|
54
54
|
slot: n.title
|
|
55
|
-
})(o.title), b = t(
|
|
55
|
+
})(o.title), b = t("div", {
|
|
56
|
+
name: e,
|
|
57
|
+
slot: n.titleText
|
|
58
|
+
})(o.titleText), H = t(p, {
|
|
56
59
|
name: e,
|
|
57
60
|
slot: n.description
|
|
58
|
-
})(o.description),
|
|
61
|
+
})(o.description), L = t("section", {
|
|
59
62
|
name: e,
|
|
60
|
-
slot:
|
|
61
|
-
})(o.stepperFooterSection),
|
|
63
|
+
slot: r.stepperFooterSection
|
|
64
|
+
})(o.stepperFooterSection), P = t("div", {
|
|
62
65
|
name: e,
|
|
63
|
-
slot:
|
|
64
|
-
})(o.stepperFooterLeftActions),
|
|
66
|
+
slot: r.stepperFooterLeftActions
|
|
67
|
+
})(o.stepperFooterLeftActions), W = t("div", {
|
|
65
68
|
name: e,
|
|
66
|
-
slot:
|
|
69
|
+
slot: r.stepperFooterRightActions
|
|
67
70
|
})(o.stepperFooterRightActions);
|
|
68
71
|
t("div", {
|
|
69
72
|
name: e,
|
|
70
|
-
slot:
|
|
73
|
+
slot: r.wrapperButtons
|
|
71
74
|
})(o.wrapperButtons);
|
|
72
75
|
export {
|
|
73
76
|
w as ContentAreaBodyStyled,
|
|
74
77
|
u as ContentAreaHeaderStyled,
|
|
75
|
-
|
|
78
|
+
F as ContentAreaStyled,
|
|
76
79
|
v as ContentSectionStyled,
|
|
77
|
-
|
|
80
|
+
H as DescriptionStyled,
|
|
78
81
|
h as IconStyled,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
82
|
+
R as IndicatorStyled,
|
|
83
|
+
T as StepAreaStyled,
|
|
84
|
+
x as StepContentStyled,
|
|
85
|
+
f as StepNameStyled,
|
|
86
|
+
C as StepNameTextStyled,
|
|
87
|
+
N as StepStyled,
|
|
88
|
+
P as StepperFooterLeftActionsStyled,
|
|
89
|
+
W as StepperFooterRightActionsStyled,
|
|
90
|
+
L as StepperFooterSectionStyled,
|
|
88
91
|
A as StepperRootStyled,
|
|
89
92
|
I as TextNumberStyled,
|
|
90
93
|
E as TitleStyled,
|
|
94
|
+
b as TitleTextStyled,
|
|
91
95
|
B as WrapperIconStyled,
|
|
92
96
|
g as WrapperTitleStyled
|
|
93
97
|
};
|
package/components/Stepper/subcomponents/ContentArea/subcomponents/WrapperTitle/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/Stepper/subcomponents/ContentArea/subcomponents/WrapperTitle/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/components/src/components/Stepper/subcomponents/ContentArea/subcomponents/WrapperTitle/index.tsx"],"names":[],"mappings":"AASA;;GAEG;AACH,wBAAgB,YAAY,4DA4B3B"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as p, jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useMemo as o } from "react";
|
|
3
3
|
import { useStepper as s } from "../../../../hooks/useStepper/index.js";
|
|
4
|
-
import { WrapperTitleStyled as
|
|
5
|
-
function
|
|
6
|
-
const { steps:
|
|
7
|
-
steps:
|
|
8
|
-
currentStep:
|
|
9
|
-
})),
|
|
10
|
-
return
|
|
11
|
-
/* @__PURE__ */
|
|
12
|
-
|
|
4
|
+
import { WrapperTitleStyled as l, TitleStyled as c, TitleTextStyled as d, DescriptionStyled as u } from "../../../../slots/StepperSlot.js";
|
|
5
|
+
function h() {
|
|
6
|
+
const { steps: t, currentStep: i } = s((n) => ({
|
|
7
|
+
steps: n.steps,
|
|
8
|
+
currentStep: n.currentStep
|
|
9
|
+
})), e = o(() => t[i], [t, i]);
|
|
10
|
+
return e ? /* @__PURE__ */ p(l, { children: [
|
|
11
|
+
/* @__PURE__ */ r(c, { variant: "paragraphDens", children: /* @__PURE__ */ r(d, { children: e.title }) }),
|
|
12
|
+
e.description && /* @__PURE__ */ r(u, { variant: "body", children: e.description })
|
|
13
13
|
] }) : null;
|
|
14
14
|
}
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
h as WrapperTitle
|
|
17
17
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.39",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -52,19 +52,19 @@
|
|
|
52
52
|
"react-toastify": "10.0.5",
|
|
53
53
|
"date-fns": "^2.30.0",
|
|
54
54
|
"react-transition-group": "^4.4.5",
|
|
55
|
-
"react-draggable": "^4.4.5",
|
|
56
55
|
"react-rnd": "^10.5.2",
|
|
57
|
-
"react-
|
|
56
|
+
"react-draggable": "^4.4.5",
|
|
58
57
|
"react-color": "^2.19.3",
|
|
59
58
|
"@mui/x-date-pickers": "6.20.2",
|
|
60
59
|
"react-data-grid": "7.0.0-beta.47",
|
|
61
60
|
"react-dnd": "^16.0.1",
|
|
62
61
|
"react-dnd-html5-backend": "^16.0.1",
|
|
62
|
+
"react-spinners": "^0.13.8",
|
|
63
63
|
"react-resizable": "^3.0.4",
|
|
64
|
+
"simplebar-react": "3.2.6",
|
|
64
65
|
"chart.js": "^4.4.0",
|
|
65
66
|
"chartjs-chart-error-bars": "^4.3.3",
|
|
66
67
|
"qrcode.react": "^3.1.0",
|
|
67
|
-
"simplebar-react": "3.2.6",
|
|
68
68
|
"react-resizable-panels": "^2.1.8"
|
|
69
69
|
}
|
|
70
70
|
}
|