@elliemae/ds-accordion 3.52.0-rc.9 → 3.52.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.
@@ -35,7 +35,7 @@ var React = __toESM(require("react"));
35
35
  var import_jsx_runtime = require("react/jsx-runtime");
36
36
  var import_react = __toESM(require("react"));
37
37
  var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
38
- var import_lodash = require("lodash");
38
+ var import_lodash_es = require("lodash-es");
39
39
  var import_DSAccordionCTX = require("../../DSAccordionCTX.js");
40
40
  var import_DSAccordionDefinitions = require("../../exported-related/DSAccordionDefinitions.js");
41
41
  var import_styles = require("./styles.js");
@@ -44,7 +44,7 @@ const AccordionContent = () => {
44
44
  const getOwnerProps = (0, import_react.useCallback)(() => props, [props]);
45
45
  const getOwnerPropsArguments = (0, import_react.useCallback)(() => ({}), []);
46
46
  const { containerProps, children, ...rest } = props;
47
- const restWithoutOnChange = (0, import_lodash.omit)(rest, "onChange");
47
+ const restWithoutOnChange = (0, import_lodash_es.omit)(rest, "onChange");
48
48
  const childrenWithIndex = [];
49
49
  const xstyledAttrs = (0, import_ds_props_helpers.useGetXstyledProps)(restWithoutOnChange);
50
50
  const globalAttrs = (0, import_ds_props_helpers.useGetGlobalAttributes)(restWithoutOnChange);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/parts/accordionContent/AccordionContent.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React, { useCallback, useContext } from 'react';\nimport { useGetGlobalAttributes, useGetXstyledProps } from '@elliemae/ds-props-helpers';\nimport { omit } from 'lodash';\nimport { DSAccordionContext } from '../../DSAccordionCTX.js';\nimport { DSAccordionDataTestid } from '../../exported-related/DSAccordionDefinitions.js';\nimport { StyledContainer } from './styles.js';\nimport type { DSAccordionT } from '../../react-desc-prop-types.js';\n\nexport const AccordionContent = (): JSX.Element => {\n const { props } = useContext(DSAccordionContext);\n\n const getOwnerProps = useCallback(() => props, [props]);\n const getOwnerPropsArguments = useCallback(() => ({}), []);\n\n const { containerProps, children, ...rest } = props;\n\n const restWithoutOnChange = omit(rest, 'onChange');\n\n const childrenWithIndex: React.ReactElement<DSAccordionT.InternalItemProps>[] = [];\n\n const xstyledAttrs = useGetXstyledProps(restWithoutOnChange);\n\n const globalAttrs = useGetGlobalAttributes(restWithoutOnChange);\n\n React.Children.toArray(children)\n .filter((child) => child !== undefined && child !== null)\n .forEach((child, index) =>\n childrenWithIndex.push(\n React.cloneElement(child as React.ReactElement<DSAccordionT.InternalItemProps>, {\n dsIndex: index,\n }),\n ),\n );\n\n return (\n <StyledContainer\n data-testid={DSAccordionDataTestid.CONTAINER}\n {...containerProps}\n {...globalAttrs}\n {...xstyledAttrs}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {childrenWithIndex}\n </StyledContainer>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADmCnB;AAnCJ,mBAA+C;AAC/C,8BAA2D;AAC3D,oBAAqB;AACrB,4BAAmC;AACnC,oCAAsC;AACtC,oBAAgC;AAGzB,MAAM,mBAAmB,MAAmB;AACjD,QAAM,EAAE,MAAM,QAAI,yBAAW,wCAAkB;AAE/C,QAAM,oBAAgB,0BAAY,MAAM,OAAO,CAAC,KAAK,CAAC;AACtD,QAAM,6BAAyB,0BAAY,OAAO,CAAC,IAAI,CAAC,CAAC;AAEzD,QAAM,EAAE,gBAAgB,UAAU,GAAG,KAAK,IAAI;AAE9C,QAAM,0BAAsB,oBAAK,MAAM,UAAU;AAEjD,QAAM,oBAA0E,CAAC;AAEjF,QAAM,mBAAe,4CAAmB,mBAAmB;AAE3D,QAAM,kBAAc,gDAAuB,mBAAmB;AAE9D,eAAAA,QAAM,SAAS,QAAQ,QAAQ,EAC5B,OAAO,CAAC,UAAU,UAAU,UAAa,UAAU,IAAI,EACvD;AAAA,IAAQ,CAAC,OAAO,UACf,kBAAkB;AAAA,MAChB,aAAAA,QAAM,aAAa,OAA6D;AAAA,QAC9E,SAAS;AAAA,MACX,CAAC;AAAA,IACH;AAAA,EACF;AAEF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAa,oDAAsB;AAAA,MAClC,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;",
4
+ "sourcesContent": ["import React, { useCallback, useContext } from 'react';\nimport { useGetGlobalAttributes, useGetXstyledProps } from '@elliemae/ds-props-helpers';\nimport { omit } from 'lodash-es';\nimport { DSAccordionContext } from '../../DSAccordionCTX.js';\nimport { DSAccordionDataTestid } from '../../exported-related/DSAccordionDefinitions.js';\nimport { StyledContainer } from './styles.js';\nimport type { DSAccordionT } from '../../react-desc-prop-types.js';\n\nexport const AccordionContent = (): JSX.Element => {\n const { props } = useContext(DSAccordionContext);\n\n const getOwnerProps = useCallback(() => props, [props]);\n const getOwnerPropsArguments = useCallback(() => ({}), []);\n\n const { containerProps, children, ...rest } = props;\n\n const restWithoutOnChange = omit(rest, 'onChange');\n\n const childrenWithIndex: React.ReactElement<DSAccordionT.InternalItemProps>[] = [];\n\n const xstyledAttrs = useGetXstyledProps(restWithoutOnChange);\n\n const globalAttrs = useGetGlobalAttributes(restWithoutOnChange);\n\n React.Children.toArray(children)\n .filter((child) => child !== undefined && child !== null)\n .forEach((child, index) =>\n childrenWithIndex.push(\n React.cloneElement(child as React.ReactElement<DSAccordionT.InternalItemProps>, {\n dsIndex: index,\n }),\n ),\n );\n\n return (\n <StyledContainer\n data-testid={DSAccordionDataTestid.CONTAINER}\n {...containerProps}\n {...globalAttrs}\n {...xstyledAttrs}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {childrenWithIndex}\n </StyledContainer>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADmCnB;AAnCJ,mBAA+C;AAC/C,8BAA2D;AAC3D,uBAAqB;AACrB,4BAAmC;AACnC,oCAAsC;AACtC,oBAAgC;AAGzB,MAAM,mBAAmB,MAAmB;AACjD,QAAM,EAAE,MAAM,QAAI,yBAAW,wCAAkB;AAE/C,QAAM,oBAAgB,0BAAY,MAAM,OAAO,CAAC,KAAK,CAAC;AACtD,QAAM,6BAAyB,0BAAY,OAAO,CAAC,IAAI,CAAC,CAAC;AAEzD,QAAM,EAAE,gBAAgB,UAAU,GAAG,KAAK,IAAI;AAE9C,QAAM,0BAAsB,uBAAK,MAAM,UAAU;AAEjD,QAAM,oBAA0E,CAAC;AAEjF,QAAM,mBAAe,4CAAmB,mBAAmB;AAE3D,QAAM,kBAAc,gDAAuB,mBAAmB;AAE9D,eAAAA,QAAM,SAAS,QAAQ,QAAQ,EAC5B,OAAO,CAAC,UAAU,UAAU,UAAa,UAAU,IAAI,EACvD;AAAA,IAAQ,CAAC,OAAO,UACf,kBAAkB;AAAA,MAChB,aAAAA,QAAM,aAAa,OAA6D;AAAA,QAC9E,SAAS;AAAA,MACX,CAAC;AAAA,IACH;AAAA,EACF;AAEF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAa,oDAAsB;AAAA,MAClC,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;",
6
6
  "names": ["React"]
7
7
  }
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import React2, { useCallback, useContext } from "react";
4
4
  import { useGetGlobalAttributes, useGetXstyledProps } from "@elliemae/ds-props-helpers";
5
- import { omit } from "lodash";
5
+ import { omit } from "lodash-es";
6
6
  import { DSAccordionContext } from "../../DSAccordionCTX.js";
7
7
  import { DSAccordionDataTestid } from "../../exported-related/DSAccordionDefinitions.js";
8
8
  import { StyledContainer } from "./styles.js";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/accordionContent/AccordionContent.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useCallback, useContext } from 'react';\nimport { useGetGlobalAttributes, useGetXstyledProps } from '@elliemae/ds-props-helpers';\nimport { omit } from 'lodash';\nimport { DSAccordionContext } from '../../DSAccordionCTX.js';\nimport { DSAccordionDataTestid } from '../../exported-related/DSAccordionDefinitions.js';\nimport { StyledContainer } from './styles.js';\nimport type { DSAccordionT } from '../../react-desc-prop-types.js';\n\nexport const AccordionContent = (): JSX.Element => {\n const { props } = useContext(DSAccordionContext);\n\n const getOwnerProps = useCallback(() => props, [props]);\n const getOwnerPropsArguments = useCallback(() => ({}), []);\n\n const { containerProps, children, ...rest } = props;\n\n const restWithoutOnChange = omit(rest, 'onChange');\n\n const childrenWithIndex: React.ReactElement<DSAccordionT.InternalItemProps>[] = [];\n\n const xstyledAttrs = useGetXstyledProps(restWithoutOnChange);\n\n const globalAttrs = useGetGlobalAttributes(restWithoutOnChange);\n\n React.Children.toArray(children)\n .filter((child) => child !== undefined && child !== null)\n .forEach((child, index) =>\n childrenWithIndex.push(\n React.cloneElement(child as React.ReactElement<DSAccordionT.InternalItemProps>, {\n dsIndex: index,\n }),\n ),\n );\n\n return (\n <StyledContainer\n data-testid={DSAccordionDataTestid.CONTAINER}\n {...containerProps}\n {...globalAttrs}\n {...xstyledAttrs}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {childrenWithIndex}\n </StyledContainer>\n );\n};\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useCallback, useContext } from 'react';\nimport { useGetGlobalAttributes, useGetXstyledProps } from '@elliemae/ds-props-helpers';\nimport { omit } from 'lodash-es';\nimport { DSAccordionContext } from '../../DSAccordionCTX.js';\nimport { DSAccordionDataTestid } from '../../exported-related/DSAccordionDefinitions.js';\nimport { StyledContainer } from './styles.js';\nimport type { DSAccordionT } from '../../react-desc-prop-types.js';\n\nexport const AccordionContent = (): JSX.Element => {\n const { props } = useContext(DSAccordionContext);\n\n const getOwnerProps = useCallback(() => props, [props]);\n const getOwnerPropsArguments = useCallback(() => ({}), []);\n\n const { containerProps, children, ...rest } = props;\n\n const restWithoutOnChange = omit(rest, 'onChange');\n\n const childrenWithIndex: React.ReactElement<DSAccordionT.InternalItemProps>[] = [];\n\n const xstyledAttrs = useGetXstyledProps(restWithoutOnChange);\n\n const globalAttrs = useGetGlobalAttributes(restWithoutOnChange);\n\n React.Children.toArray(children)\n .filter((child) => child !== undefined && child !== null)\n .forEach((child, index) =>\n childrenWithIndex.push(\n React.cloneElement(child as React.ReactElement<DSAccordionT.InternalItemProps>, {\n dsIndex: index,\n }),\n ),\n );\n\n return (\n <StyledContainer\n data-testid={DSAccordionDataTestid.CONTAINER}\n {...containerProps}\n {...globalAttrs}\n {...xstyledAttrs}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n {childrenWithIndex}\n </StyledContainer>\n );\n};\n"],
5
5
  "mappings": "AAAA,YAAY,WAAW;ACmCnB;AAnCJ,OAAOA,UAAS,aAAa,kBAAkB;AAC/C,SAAS,wBAAwB,0BAA0B;AAC3D,SAAS,YAAY;AACrB,SAAS,0BAA0B;AACnC,SAAS,6BAA6B;AACtC,SAAS,uBAAuB;AAGzB,MAAM,mBAAmB,MAAmB;AACjD,QAAM,EAAE,MAAM,IAAI,WAAW,kBAAkB;AAE/C,QAAM,gBAAgB,YAAY,MAAM,OAAO,CAAC,KAAK,CAAC;AACtD,QAAM,yBAAyB,YAAY,OAAO,CAAC,IAAI,CAAC,CAAC;AAEzD,QAAM,EAAE,gBAAgB,UAAU,GAAG,KAAK,IAAI;AAE9C,QAAM,sBAAsB,KAAK,MAAM,UAAU;AAEjD,QAAM,oBAA0E,CAAC;AAEjF,QAAM,eAAe,mBAAmB,mBAAmB;AAE3D,QAAM,cAAc,uBAAuB,mBAAmB;AAE9D,EAAAA,OAAM,SAAS,QAAQ,QAAQ,EAC5B,OAAO,CAAC,UAAU,UAAU,UAAa,UAAU,IAAI,EACvD;AAAA,IAAQ,CAAC,OAAO,UACf,kBAAkB;AAAA,MAChBA,OAAM,aAAa,OAA6D;AAAA,QAC9E,SAAS;AAAA,MACX,CAAC;AAAA,IACH;AAAA,EACF;AAEF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAa,sBAAsB;AAAA,MAClC,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACJ;AAAA,MACA;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;",
6
6
  "names": ["React"]
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-accordion",
3
- "version": "3.52.0-rc.9",
3
+ "version": "3.52.1",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Accordion",
6
6
  "files": [
@@ -36,26 +36,26 @@
36
36
  "indent": 4
37
37
  },
38
38
  "dependencies": {
39
- "lodash": "^4.17.21",
40
- "@elliemae/ds-button-v2": "3.52.0-rc.9",
41
- "@elliemae/ds-grid": "3.52.0-rc.9",
42
- "@elliemae/ds-popperjs": "3.52.0-rc.9",
43
- "@elliemae/ds-icons": "3.52.0-rc.9",
44
- "@elliemae/ds-system": "3.52.0-rc.9",
45
- "@elliemae/ds-props-helpers": "3.52.0-rc.9"
39
+ "lodash-es": "^4.17.21",
40
+ "@elliemae/ds-button-v2": "3.52.1",
41
+ "@elliemae/ds-grid": "3.52.1",
42
+ "@elliemae/ds-popperjs": "3.52.1",
43
+ "@elliemae/ds-icons": "3.52.1",
44
+ "@elliemae/ds-props-helpers": "3.52.1",
45
+ "@elliemae/ds-system": "3.52.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@elliemae/pui-cli": "9.0.0-next.55",
48
+ "@elliemae/pui-cli": "9.0.0-next.63",
49
49
  "@xstyled/system": "~3.7.3",
50
50
  "@xstyled/util": "~3.7.0",
51
51
  "jest": "~29.7.0",
52
52
  "react": "^18.3.1",
53
53
  "react-dom": "^18.3.1",
54
54
  "styled-components": "~5.3.9",
55
- "@elliemae/ds-monorepo-devops": "3.52.0-rc.9"
55
+ "@elliemae/ds-monorepo-devops": "3.52.1"
56
56
  },
57
57
  "peerDependencies": {
58
- "lodash": "^4.17.21",
58
+ "lodash-es": "^4.17.21",
59
59
  "react": "^18.3.1",
60
60
  "react-dom": "^18.3.1"
61
61
  },