@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.
@@ -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;AAiCzC;;GAEG;AACH,eAAO,MAAM,SAAS,2GAkHpB,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 n } from "@emotion/react/jsx-runtime";
2
- import { TEST_PROP_ID as v } from "../../../../test/constants_no_mock.js";
3
- import { getNameDataTestId as T } from "../../../../test/getNameDataTestId.js";
4
- import { ACCORDION_KEY as h } from "./constants.js";
5
- import { getComponentSlotRoot as N } from "../../../../utils/getComponentSlotRoot.js";
6
- import { AccordionRootStyled as R, AccordionSummaryStyled as O, IconLabelStyled as w, LabelGroupStyled as L, LabelStyled as P, DescriptionStyled as _, EndAdornmentStyled as k, IconExpandedStyled as j, AccordionDetailsStyled as W } from "./slots/AccordionSlots.js";
7
- import { forwardRef as B, useState as G, useEffect as K } from "react";
8
- import { useComponentSize as M } from "../../../../hooks/useComponentSize/index.js";
9
- import { ArrowChevronMdDownOutlined as V } from "@m4l/icons";
10
- import Y from "clsx";
11
- function q(d) {
12
- return d.replace(/\\r\\n/g, `
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 oe = B((d, x) => {
18
+ const $ = k((a, x) => {
19
19
  const {
20
- label: g,
21
- description: a,
22
- endAdornment: o,
23
- children: i,
24
- accordionProps: s,
25
- summaryProps: y,
26
- icon: p,
27
- className: A,
28
- dataTestId: E = "",
29
- skeletonLabelWidth: z = "100px",
30
- size: m,
31
- expanded: t,
32
- variant: C = "outlined"
33
- } = d, { currentSize: r } = M(m), D = N(h), [u, f] = G(t ?? s?.defaultExpanded ?? !0), S = typeof i == "string" ? q(i) : null, I = o != null && o !== !1, b = () => {
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
- K(() => {
37
- let l = !0;
38
- return l && t !== void 0 && f(t), () => {
39
- l = !1;
35
+ W(() => {
36
+ let r = !0;
37
+ return r && n !== void 0 && u(n), () => {
38
+ r = !1;
40
39
  };
41
- }, [t]);
40
+ }, [n]);
42
41
  const e = {
43
- size: r,
44
- variant: C,
45
- expanded: u,
46
- hasTextContent: S !== null,
47
- hasDescription: !!a
42
+ size: t,
43
+ variant: D,
44
+ expanded: m,
45
+ hasTextContent: f !== null,
46
+ hasDescription: !!i
48
47
  };
49
48
  return /* @__PURE__ */ c(
50
- R,
49
+ v,
51
50
  {
52
51
  ownerState: e,
53
52
  ref: x,
54
53
  role: "contentinfo",
55
- className: Y(D, A),
56
- expanded: u,
57
- ...s,
58
- ...process.env.NODE_ENV !== "production" ? { [v]: T(h, "root", E) } : {},
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
- O,
60
+ N,
62
61
  {
63
62
  ownerState: e,
64
63
  role: "heading",
65
64
  "aria-controls": "expanded-content",
66
- onClick: b,
67
- expandIcon: /* @__PURE__ */ n(
68
- j,
65
+ onClick: I,
66
+ expandIcon: /* @__PURE__ */ o(
67
+ P,
69
68
  {
70
69
  ownerState: e,
71
- size: r,
70
+ size: t,
72
71
  "aria-label": "settings",
73
- src: /* @__PURE__ */ n(V, {})
72
+ src: /* @__PURE__ */ o(K, {})
74
73
  }
75
74
  ),
76
- ...y,
75
+ ...g,
77
76
  children: [
78
- p && /* @__PURE__ */ n(w, { ownerState: e, src: p, size: m }),
79
- /* @__PURE__ */ c(L, { ownerState: e, children: [
80
- /* @__PURE__ */ n(
81
- P,
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: r,
83
+ size: t,
85
84
  variant: "captionDens",
86
- skeletonWidth: z,
87
- children: g
85
+ skeletonWidth: C,
86
+ children: h
88
87
  }
89
88
  ),
90
- a ? /* @__PURE__ */ n(
91
- _,
89
+ i ? /* @__PURE__ */ o(
90
+ L,
92
91
  {
93
92
  ownerState: e,
94
- size: r,
93
+ size: t,
95
94
  color: "text.secondary",
96
95
  variant: "caption",
97
- children: a
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__ */ n(W, { ownerState: e, children: S ?? i })
103
+ /* @__PURE__ */ o(_, { ownerState: e, children: f ?? l })
106
104
  ]
107
105
  }
108
106
  );
109
107
  });
110
108
  export {
111
- oe as Accordion
109
+ $ as Accordion
112
110
  };
@@ -1,7 +1,6 @@
1
1
  export declare enum AccordionSlots {
2
2
  accordionRoot = "accordionRoot",
3
3
  accordionSummary = "accordionSummary",
4
- accordionEndAdornment = "endAdornment",
5
4
  accordionIconLabel = "iconLabel",
6
5
  accordionLabelGroup = "labelGroup",
7
6
  accordionLabel = "label",
@@ -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,qBAAqB,iBAAiB;IACtC,kBAAkB,cAAc;IAChC,mBAAmB,eAAe;IAClC,cAAc,UAAU;IACxB,oBAAoB,gBAAgB;IACpC,qBAAqB,iBAAiB;IACtC,gBAAgB,qBAAqB;CACtC"}
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 n = /* @__PURE__ */ ((a) => (a.accordionRoot = "accordionRoot", a.accordionSummary = "accordionSummary", a.accordionEndAdornment = "endAdornment", a.accordionIconLabel = "iconLabel", a.accordionLabelGroup = "labelGroup", a.accordionLabel = "label", a.accordionDescription = "description", a.accordionIconExpanded = "iconExpanded", a.accordionDetails = "accordionDetails", a))(n || {});
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
- n as AccordionSlots
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;;;;;;;;;;gBAoC8wC,CAAC;;;;;UAjC7wC,CAAC;AACnC,eAAO,MAAM,sBAAsB;;UAGE,CAAC;AACtC,eAAO,MAAM,kBAAkB;;6NAGW,CAAC;AAC3C,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
+ {"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 a, AccordionSummary as i, AccordionDetails as e } from "@mui/material";
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 d, Typography as t } from "@m4l/base";
7
- const A = o(a, {
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), b = o(i, {
10
+ })(r?.accordionRoot), L = o(d, {
11
11
  name: c,
12
12
  slot: n.accordionSummary
13
- })(r?.accordionSummary), L = o("div", {
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), I = o("div", {
16
+ })(r?.accordionIconLabel), D = o("div", {
20
17
  name: c,
21
18
  slot: n.accordionLabelGroup
22
- })(r?.accordionLabelGroup), u = o(t, {
19
+ })(r?.accordionLabelGroup), I = o(t, {
23
20
  name: c,
24
21
  slot: n.accordionLabel
25
- })(r?.accordionLabel), E = o(t, {
22
+ })(r?.accordionLabel), u = o(t, {
26
23
  name: c,
27
24
  slot: n.accordionDescription
28
- })(r?.accordionDescription), f = o(d, {
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
- A as AccordionRootStyled,
38
- b as AccordionSummaryStyled,
39
- E as DescriptionStyled,
40
- L as EndAdornmentStyled,
34
+ b as AccordionRootStyled,
35
+ L as AccordionSummaryStyled,
36
+ u as DescriptionStyled,
41
37
  f as IconExpandedStyled,
42
- D as IconLabelStyled,
43
- I as LabelGroupStyled,
44
- u as LabelStyled
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,eAqK7B,CAAC"}
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,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;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"}
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-beta-updated-accordion-component-endaddorment.0",
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-rnd": "10.5.2",
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
- "chart.js": "4.5.1",
64
- "chartjs-chart-error-bars": "4.4.5",
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
  }