@m4l/components 9.69.1-beta-updated-accordion-component-endaddorment.0 → 9.69.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/extended/mui/Accordion/Accordion.d.ts.map +1 -1
- package/components/extended/mui/Accordion/Accordion.js +63 -65
- package/components/extended/mui/Accordion/slots/AccordionEnum.d.ts +0 -1
- package/components/extended/mui/Accordion/slots/AccordionEnum.d.ts.map +1 -1
- package/components/extended/mui/Accordion/slots/AccordionEnum.js +2 -2
- package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts +0 -3
- package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts.map +1 -1
- package/components/extended/mui/Accordion/slots/AccordionSlots.js +15 -19
- package/components/extended/mui/Accordion/styles.d.ts.map +1 -1
- package/components/extended/mui/Accordion/styles.js +0 -8
- package/components/extended/mui/Accordion/types.d.ts +0 -4
- package/components/extended/mui/Accordion/types.d.ts.map +1 -1
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAgCzC;;GAEG;AACH,eAAO,MAAM,SAAS,2GA2GpB,CAAC"}
|
|
@@ -1,112 +1,110 @@
|
|
|
1
|
-
import { jsxs as c, jsx as
|
|
2
|
-
import { TEST_PROP_ID as
|
|
3
|
-
import { getNameDataTestId as
|
|
4
|
-
import { ACCORDION_KEY as
|
|
5
|
-
import { getComponentSlotRoot as
|
|
6
|
-
import { AccordionRootStyled as
|
|
7
|
-
import { forwardRef as
|
|
8
|
-
import { useComponentSize as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
function
|
|
12
|
-
return
|
|
1
|
+
import { jsxs as c, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { TEST_PROP_ID as b } from "../../../../test/constants_no_mock.js";
|
|
3
|
+
import { getNameDataTestId as A } from "../../../../test/getNameDataTestId.js";
|
|
4
|
+
import { ACCORDION_KEY as S } from "./constants.js";
|
|
5
|
+
import { getComponentSlotRoot as T } from "../../../../utils/getComponentSlotRoot.js";
|
|
6
|
+
import { AccordionRootStyled as v, AccordionSummaryStyled as N, IconLabelStyled as R, LabelGroupStyled as O, LabelStyled as w, DescriptionStyled as L, IconExpandedStyled as P, AccordionDetailsStyled as _ } from "./slots/AccordionSlots.js";
|
|
7
|
+
import { forwardRef as k, useState as j, useEffect as W } from "react";
|
|
8
|
+
import { useComponentSize as B } from "../../../../hooks/useComponentSize/index.js";
|
|
9
|
+
import G from "clsx";
|
|
10
|
+
import { ArrowChevronMdDownOutlined as K } from "@m4l/icons";
|
|
11
|
+
function M(a) {
|
|
12
|
+
return a.replace(/\\r\\n/g, `
|
|
13
13
|
`).replace(/\\n/g, `
|
|
14
14
|
`).replace(/\\t/g, " ").replace(/\r\n/g, `
|
|
15
15
|
`).replace(/\r/g, `
|
|
16
16
|
`);
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const $ = k((a, x) => {
|
|
19
19
|
const {
|
|
20
|
-
label:
|
|
21
|
-
description:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
f((l) => !l);
|
|
20
|
+
label: h,
|
|
21
|
+
description: i,
|
|
22
|
+
children: l,
|
|
23
|
+
accordionProps: d,
|
|
24
|
+
summaryProps: g,
|
|
25
|
+
icon: s,
|
|
26
|
+
className: y,
|
|
27
|
+
dataTestId: z = "",
|
|
28
|
+
skeletonLabelWidth: C = "100px",
|
|
29
|
+
size: p,
|
|
30
|
+
expanded: n,
|
|
31
|
+
variant: D = "outlined"
|
|
32
|
+
} = a, { currentSize: t } = B(p), E = T(S), [m, u] = j(n ?? d?.defaultExpanded ?? !0), f = typeof l == "string" ? M(l) : null, I = () => {
|
|
33
|
+
u((r) => !r);
|
|
35
34
|
};
|
|
36
|
-
|
|
37
|
-
let
|
|
38
|
-
return
|
|
39
|
-
|
|
35
|
+
W(() => {
|
|
36
|
+
let r = !0;
|
|
37
|
+
return r && n !== void 0 && u(n), () => {
|
|
38
|
+
r = !1;
|
|
40
39
|
};
|
|
41
|
-
}, [
|
|
40
|
+
}, [n]);
|
|
42
41
|
const e = {
|
|
43
|
-
size:
|
|
44
|
-
variant:
|
|
45
|
-
expanded:
|
|
46
|
-
hasTextContent:
|
|
47
|
-
hasDescription: !!
|
|
42
|
+
size: t,
|
|
43
|
+
variant: D,
|
|
44
|
+
expanded: m,
|
|
45
|
+
hasTextContent: f !== null,
|
|
46
|
+
hasDescription: !!i
|
|
48
47
|
};
|
|
49
48
|
return /* @__PURE__ */ c(
|
|
50
|
-
|
|
49
|
+
v,
|
|
51
50
|
{
|
|
52
51
|
ownerState: e,
|
|
53
52
|
ref: x,
|
|
54
53
|
role: "contentinfo",
|
|
55
|
-
className:
|
|
56
|
-
expanded:
|
|
57
|
-
...
|
|
58
|
-
...process.env.NODE_ENV !== "production" ? { [
|
|
54
|
+
className: G(E, y),
|
|
55
|
+
expanded: m,
|
|
56
|
+
...d,
|
|
57
|
+
...process.env.NODE_ENV !== "production" ? { [b]: A(S, "root", z) } : {},
|
|
59
58
|
children: [
|
|
60
59
|
/* @__PURE__ */ c(
|
|
61
|
-
|
|
60
|
+
N,
|
|
62
61
|
{
|
|
63
62
|
ownerState: e,
|
|
64
63
|
role: "heading",
|
|
65
64
|
"aria-controls": "expanded-content",
|
|
66
|
-
onClick:
|
|
67
|
-
expandIcon: /* @__PURE__ */
|
|
68
|
-
|
|
65
|
+
onClick: I,
|
|
66
|
+
expandIcon: /* @__PURE__ */ o(
|
|
67
|
+
P,
|
|
69
68
|
{
|
|
70
69
|
ownerState: e,
|
|
71
|
-
size:
|
|
70
|
+
size: t,
|
|
72
71
|
"aria-label": "settings",
|
|
73
|
-
src: /* @__PURE__ */
|
|
72
|
+
src: /* @__PURE__ */ o(K, {})
|
|
74
73
|
}
|
|
75
74
|
),
|
|
76
|
-
...
|
|
75
|
+
...g,
|
|
77
76
|
children: [
|
|
78
|
-
|
|
79
|
-
/* @__PURE__ */ c(
|
|
80
|
-
/* @__PURE__ */
|
|
81
|
-
|
|
77
|
+
s && /* @__PURE__ */ o(R, { ownerState: e, src: s, size: p }),
|
|
78
|
+
/* @__PURE__ */ c(O, { ownerState: e, children: [
|
|
79
|
+
/* @__PURE__ */ o(
|
|
80
|
+
w,
|
|
82
81
|
{
|
|
83
82
|
ownerState: e,
|
|
84
|
-
size:
|
|
83
|
+
size: t,
|
|
85
84
|
variant: "captionDens",
|
|
86
|
-
skeletonWidth:
|
|
87
|
-
children:
|
|
85
|
+
skeletonWidth: C,
|
|
86
|
+
children: h
|
|
88
87
|
}
|
|
89
88
|
),
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
i ? /* @__PURE__ */ o(
|
|
90
|
+
L,
|
|
92
91
|
{
|
|
93
92
|
ownerState: e,
|
|
94
|
-
size:
|
|
93
|
+
size: t,
|
|
95
94
|
color: "text.secondary",
|
|
96
95
|
variant: "caption",
|
|
97
|
-
children:
|
|
96
|
+
children: i
|
|
98
97
|
}
|
|
99
98
|
) : null
|
|
100
|
-
] })
|
|
101
|
-
I ? /* @__PURE__ */ n(k, { ownerState: e, children: o }) : null
|
|
99
|
+
] })
|
|
102
100
|
]
|
|
103
101
|
}
|
|
104
102
|
),
|
|
105
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ o(_, { ownerState: e, children: f ?? l })
|
|
106
104
|
]
|
|
107
105
|
}
|
|
108
106
|
);
|
|
109
107
|
});
|
|
110
108
|
export {
|
|
111
|
-
|
|
109
|
+
$ as Accordion
|
|
112
110
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionEnum.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Accordion/slots/AccordionEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,aAAa,kBAAkB;IAC/B,gBAAgB,qBAAqB;IACrC,
|
|
1
|
+
{"version":3,"file":"AccordionEnum.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Accordion/slots/AccordionEnum.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,aAAa,kBAAkB;IAC/B,gBAAgB,qBAAqB;IACrC,kBAAkB,cAAc;IAChC,mBAAmB,eAAe;IAClC,cAAc,UAAU;IACxB,oBAAoB,gBAAgB;IACpC,qBAAqB,iBAAiB;IACtC,gBAAgB,qBAAqB;CACtC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var
|
|
1
|
+
var c = /* @__PURE__ */ ((a) => (a.accordionRoot = "accordionRoot", a.accordionSummary = "accordionSummary", a.accordionIconLabel = "iconLabel", a.accordionLabelGroup = "labelGroup", a.accordionLabel = "label", a.accordionDescription = "description", a.accordionIconExpanded = "iconExpanded", a.accordionDetails = "accordionDetails", a))(c || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
c as AccordionSlots
|
|
4
4
|
};
|
|
@@ -17,9 +17,6 @@ export declare const AccordionRootStyled: import('@emotion/styled').StyledCompon
|
|
|
17
17
|
export declare const AccordionSummaryStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').AccordionSummaryOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "action" | "classes" | "children" | "className" | "sx" | "style" | "tabIndex" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon">, "color" | "content" | "translate" | "action" | "classes" | "children" | "className" | "sx" | "slot" | "style" | "title" | "ref" | "key" | "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" | "disabled" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
18
18
|
ownerState?: (Partial<import('../types').AccordionOwnerState> & Record<string, unknown>) | undefined;
|
|
19
19
|
}, {}, {}>;
|
|
20
|
-
export declare const EndAdornmentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
21
|
-
ownerState?: (Partial<import('../types').AccordionOwnerState> & Record<string, unknown>) | undefined;
|
|
22
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
23
20
|
export declare const IconLabelStyled: import('@emotion/styled').StyledComponent<Pick<import('@m4l/base').IconProps, "src" | "icon" | keyof import('@m4l/base').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
24
21
|
ownerState?: (Partial<import('../types').AccordionOwnerState> & Record<string, unknown>) | undefined;
|
|
25
22
|
}, {}, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Accordion/slots/AccordionSlots.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,mBAAmB;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"AccordionSlots.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Accordion/slots/AccordionSlots.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,mBAAmB;;;;;;;;;;gBAgCi7C,CAAC;;;;;UA7Bh7C,CAAC;AACnC,eAAO,MAAM,sBAAsB;;UAGE,CAAC;AACtC,eAAO,MAAM,eAAe;;UAGW,CAAC;AACxC,eAAO,MAAM,gBAAgB;;6NAGW,CAAC;AACzC,eAAO,MAAM,WAAW;;UAGW,CAAC;AACpC,eAAO,MAAM,iBAAiB;;UAGW,CAAC;AAC1C,eAAO,MAAM,kBAAkB;;UAGW,CAAC;AAC3C,eAAO,MAAM,sBAAsB;;UAGE,CAAC"}
|
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
import { Accordion as
|
|
1
|
+
import { Accordion as i, AccordionSummary as d, AccordionDetails as e } from "@mui/material";
|
|
2
2
|
import { styled as o } from "@mui/material/styles";
|
|
3
3
|
import { ACCORDION_KEY as c } from "../constants.js";
|
|
4
4
|
import { AccordionSlots as n } from "./AccordionEnum.js";
|
|
5
5
|
import { accordionStyles as r } from "../styles.js";
|
|
6
|
-
import { Icon as
|
|
7
|
-
const
|
|
6
|
+
import { Icon as a, Typography as t } from "@m4l/base";
|
|
7
|
+
const b = o(i, {
|
|
8
8
|
name: c,
|
|
9
9
|
slot: n.accordionRoot
|
|
10
|
-
})(r?.accordionRoot),
|
|
10
|
+
})(r?.accordionRoot), L = o(d, {
|
|
11
11
|
name: c,
|
|
12
12
|
slot: n.accordionSummary
|
|
13
|
-
})(r?.accordionSummary),
|
|
14
|
-
name: c,
|
|
15
|
-
slot: n.accordionEndAdornment
|
|
16
|
-
})(r?.accordionEndAdornment), D = o(d, {
|
|
13
|
+
})(r?.accordionSummary), A = o(a, {
|
|
17
14
|
name: c,
|
|
18
15
|
slot: n.accordionIconLabel
|
|
19
|
-
})(r?.accordionIconLabel),
|
|
16
|
+
})(r?.accordionIconLabel), D = o("div", {
|
|
20
17
|
name: c,
|
|
21
18
|
slot: n.accordionLabelGroup
|
|
22
|
-
})(r?.accordionLabelGroup),
|
|
19
|
+
})(r?.accordionLabelGroup), I = o(t, {
|
|
23
20
|
name: c,
|
|
24
21
|
slot: n.accordionLabel
|
|
25
|
-
})(r?.accordionLabel),
|
|
22
|
+
})(r?.accordionLabel), u = o(t, {
|
|
26
23
|
name: c,
|
|
27
24
|
slot: n.accordionDescription
|
|
28
|
-
})(r?.accordionDescription), f = o(
|
|
25
|
+
})(r?.accordionDescription), f = o(a, {
|
|
29
26
|
name: c,
|
|
30
27
|
slot: n.accordionIconExpanded
|
|
31
28
|
})(r?.accordionIconExpanded), x = o(e, {
|
|
@@ -34,12 +31,11 @@ const A = o(a, {
|
|
|
34
31
|
})(r?.accordionDetails);
|
|
35
32
|
export {
|
|
36
33
|
x as AccordionDetailsStyled,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
L as EndAdornmentStyled,
|
|
34
|
+
b as AccordionRootStyled,
|
|
35
|
+
L as AccordionSummaryStyled,
|
|
36
|
+
u as DescriptionStyled,
|
|
41
37
|
f as IconExpandedStyled,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
A as IconLabelStyled,
|
|
39
|
+
D as LabelGroupStyled,
|
|
40
|
+
I as LabelStyled
|
|
45
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Accordion/styles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,eAAO,MAAM,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Accordion/styles.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC1C,eAAO,MAAM,eAAe,EAAE,eA6J7B,CAAC"}
|
|
@@ -84,14 +84,6 @@ const s = {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
}),
|
|
87
|
-
/**
|
|
88
|
-
* Styles for optional informational content displayed at the end of the header.
|
|
89
|
-
*/
|
|
90
|
-
accordionEndAdornment: () => ({
|
|
91
|
-
display: "inline-flex",
|
|
92
|
-
alignItems: "center",
|
|
93
|
-
flexShrink: 0
|
|
94
|
-
}),
|
|
95
87
|
/**
|
|
96
88
|
* *************************************************
|
|
97
89
|
* Styles for the icon displayed next to the Accordion label.
|
|
@@ -14,10 +14,6 @@ export interface AccordionProps {
|
|
|
14
14
|
* Optional description displayed below the accordion label.
|
|
15
15
|
*/
|
|
16
16
|
description?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Optional informational content displayed at the end of the accordion header.
|
|
19
|
-
*/
|
|
20
|
-
endAdornment?: ReactNode;
|
|
21
17
|
/**
|
|
22
18
|
* Optional class name for the Accordion component
|
|
23
19
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Accordion/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,qBAAqB,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Accordion/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,qBAAqB,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC,iBAAiB,EAAE,IAAI,GAAG,UAAU,CAAC,CAAC;IAE5D;;OAEG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC;IAErC;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;IAExB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAErC;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAE9B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAE1C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AACD,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,cAAc,CAAC;AAC7D,MAAM,MAAM,eAAe,GAAG,sBAAsB,CAAC,kBAAkB,EAAE,OAAO,aAAa,EAAE,KAAK,CAAC,CAAC;AACtG,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;IACnF,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;CACzB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "9.69.1
|
|
3
|
+
"version": "9.69.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -53,24 +53,24 @@
|
|
|
53
53
|
"@hookform/resolvers": "2.9.11",
|
|
54
54
|
"nprogress": "0.2.0",
|
|
55
55
|
"react-transition-group": "4.4.5",
|
|
56
|
-
"react-
|
|
56
|
+
"@tanstack/react-virtual": "3.13.23",
|
|
57
57
|
"@mui/x-date-pickers": "6.20.2",
|
|
58
58
|
"react-color": "2.19.3",
|
|
59
|
-
"@tanstack/react-virtual": "3.13.23",
|
|
60
|
-
"react-draggable": "4.5.0",
|
|
61
59
|
"react-dropzone": "14.4.1",
|
|
62
60
|
"react-spinners": "0.13.8",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"qrcode.react": "3.2.0",
|
|
61
|
+
"react-draggable": "4.5.0",
|
|
62
|
+
"react-rnd": "10.5.2",
|
|
66
63
|
"simplebar-react": "3.2.6",
|
|
67
64
|
"react-resizable-panels": "2.1.9",
|
|
68
65
|
"react-simple-code-editor": "0.14.1",
|
|
66
|
+
"chart.js": "4.5.1",
|
|
67
|
+
"chartjs-chart-error-bars": "4.4.5",
|
|
68
|
+
"qrcode.react": "3.2.0",
|
|
69
69
|
"react-data-grid": "7.0.0-beta.47",
|
|
70
70
|
"react-dnd": "16.0.1",
|
|
71
71
|
"react-dnd-html5-backend": "16.0.1",
|
|
72
|
-
"date-fns": "2.30.0",
|
|
73
72
|
"react-resizable": "3.1.3",
|
|
74
|
-
"react-window": "1.8.11"
|
|
73
|
+
"react-window": "1.8.11",
|
|
74
|
+
"date-fns": "2.30.0"
|
|
75
75
|
}
|
|
76
76
|
}
|