@elliemae/ds-menu-items-separator 3.49.0-rc.9 → 3.49.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.
@@ -51,6 +51,7 @@ const DSMenuItemsSeparator = (props) => {
51
51
  tabIndex: void 0,
52
52
  ...globalProps,
53
53
  ...xstyledProps,
54
+ "aria-hidden": "true",
54
55
  children: Render ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Render, { ...propsWithDefault }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ds_menu_items_commons.StyledSeparator, {})
55
56
  }
56
57
  );
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/DSMenuItemsSeparator.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { StyledSeparatorWrapper, StyledSeparator } from '@elliemae/ds-menu-items-commons';\nimport { type DSMenuItemsSeparatorT, DSMenuItemsSeparatorPropTypesSchema } from './react-desc-prop-types.js';\nimport { useMenuItemsSeparator } from './config/useMenuItemsSeparator.js';\n\nconst DSMenuItemsSeparator: React.ComponentType<DSMenuItemsSeparatorT.Props> = (props) => {\n const { propsWithDefault, globalProps, xstyledProps } = useMenuItemsSeparator(props);\n const { wrapperStyles, innerRef, render: Render } = propsWithDefault;\n return (\n <StyledSeparatorWrapper\n style={wrapperStyles}\n innerRef={innerRef}\n aria-label=\"separator\"\n role=\"option\"\n tabIndex={undefined}\n {...globalProps}\n {...xstyledProps}\n >\n {Render ? <Render {...propsWithDefault} /> : <StyledSeparator />}\n </StyledSeparatorWrapper>\n );\n};\n\n// this is `'DSMenuItemSeparator'` for legacy reasons, when moving to inheritance pattern this has been kept as it was to avoid complications\nDSMenuItemsSeparator.displayName = 'DSMenuItemSeparator';\nconst DSMenuItemsSeparatorWithSchema = describe(DSMenuItemsSeparator);\nDSMenuItemsSeparatorWithSchema.propTypes = DSMenuItemsSeparatorPropTypesSchema;\n\nexport { DSMenuItemsSeparator, DSMenuItemsSeparatorWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADmBP;AAlBhB,8BAAyB;AACzB,mCAAwD;AACxD,mCAAgF;AAChF,mCAAsC;AAEtC,MAAM,uBAAyE,CAAC,UAAU;AACxF,QAAM,EAAE,kBAAkB,aAAa,aAAa,QAAI,oDAAsB,KAAK;AACnF,QAAM,EAAE,eAAe,UAAU,QAAQ,OAAO,IAAI;AACpD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO;AAAA,MACP;AAAA,MACA,cAAW;AAAA,MACX,MAAK;AAAA,MACL,UAAU;AAAA,MACT,GAAG;AAAA,MACH,GAAG;AAAA,MAEH,mBAAS,4CAAC,UAAQ,GAAG,kBAAkB,IAAK,4CAAC,gDAAgB;AAAA;AAAA,EAChE;AAEJ;AAGA,qBAAqB,cAAc;AACnC,MAAM,qCAAiC,kCAAS,oBAAoB;AACpE,+BAA+B,YAAY;",
4
+ "sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { StyledSeparatorWrapper, StyledSeparator } from '@elliemae/ds-menu-items-commons';\nimport { type DSMenuItemsSeparatorT, DSMenuItemsSeparatorPropTypesSchema } from './react-desc-prop-types.js';\nimport { useMenuItemsSeparator } from './config/useMenuItemsSeparator.js';\n\nconst DSMenuItemsSeparator: React.ComponentType<DSMenuItemsSeparatorT.Props> = (props) => {\n const { propsWithDefault, globalProps, xstyledProps } = useMenuItemsSeparator(props);\n const { wrapperStyles, innerRef, render: Render } = propsWithDefault;\n return (\n <StyledSeparatorWrapper\n style={wrapperStyles}\n innerRef={innerRef}\n aria-label=\"separator\"\n role=\"option\"\n tabIndex={undefined}\n {...globalProps}\n {...xstyledProps}\n aria-hidden=\"true\"\n >\n {Render ? <Render {...propsWithDefault} /> : <StyledSeparator />}\n </StyledSeparatorWrapper>\n );\n};\n\n// this is `'DSMenuItemSeparator'` for legacy reasons, when moving to inheritance pattern this has been kept as it was to avoid complications\nDSMenuItemsSeparator.displayName = 'DSMenuItemSeparator';\nconst DSMenuItemsSeparatorWithSchema = describe(DSMenuItemsSeparator);\nDSMenuItemsSeparatorWithSchema.propTypes = DSMenuItemsSeparatorPropTypesSchema;\n\nexport { DSMenuItemsSeparator, DSMenuItemsSeparatorWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADoBP;AAnBhB,8BAAyB;AACzB,mCAAwD;AACxD,mCAAgF;AAChF,mCAAsC;AAEtC,MAAM,uBAAyE,CAAC,UAAU;AACxF,QAAM,EAAE,kBAAkB,aAAa,aAAa,QAAI,oDAAsB,KAAK;AACnF,QAAM,EAAE,eAAe,UAAU,QAAQ,OAAO,IAAI;AACpD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO;AAAA,MACP;AAAA,MACA,cAAW;AAAA,MACX,MAAK;AAAA,MACL,UAAU;AAAA,MACT,GAAG;AAAA,MACH,GAAG;AAAA,MACJ,eAAY;AAAA,MAEX,mBAAS,4CAAC,UAAQ,GAAG,kBAAkB,IAAK,4CAAC,gDAAgB;AAAA;AAAA,EAChE;AAEJ;AAGA,qBAAqB,cAAc;AACnC,MAAM,qCAAiC,kCAAS,oBAAoB;AACpE,+BAA+B,YAAY;",
6
6
  "names": []
7
7
  }
@@ -17,6 +17,7 @@ const DSMenuItemsSeparator = (props) => {
17
17
  tabIndex: void 0,
18
18
  ...globalProps,
19
19
  ...xstyledProps,
20
+ "aria-hidden": "true",
20
21
  children: Render ? /* @__PURE__ */ jsx(Render, { ...propsWithDefault }) : /* @__PURE__ */ jsx(StyledSeparator, {})
21
22
  }
22
23
  );
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/DSMenuItemsSeparator.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { StyledSeparatorWrapper, StyledSeparator } from '@elliemae/ds-menu-items-commons';\nimport { type DSMenuItemsSeparatorT, DSMenuItemsSeparatorPropTypesSchema } from './react-desc-prop-types.js';\nimport { useMenuItemsSeparator } from './config/useMenuItemsSeparator.js';\n\nconst DSMenuItemsSeparator: React.ComponentType<DSMenuItemsSeparatorT.Props> = (props) => {\n const { propsWithDefault, globalProps, xstyledProps } = useMenuItemsSeparator(props);\n const { wrapperStyles, innerRef, render: Render } = propsWithDefault;\n return (\n <StyledSeparatorWrapper\n style={wrapperStyles}\n innerRef={innerRef}\n aria-label=\"separator\"\n role=\"option\"\n tabIndex={undefined}\n {...globalProps}\n {...xstyledProps}\n >\n {Render ? <Render {...propsWithDefault} /> : <StyledSeparator />}\n </StyledSeparatorWrapper>\n );\n};\n\n// this is `'DSMenuItemSeparator'` for legacy reasons, when moving to inheritance pattern this has been kept as it was to avoid complications\nDSMenuItemsSeparator.displayName = 'DSMenuItemSeparator';\nconst DSMenuItemsSeparatorWithSchema = describe(DSMenuItemsSeparator);\nDSMenuItemsSeparatorWithSchema.propTypes = DSMenuItemsSeparatorPropTypesSchema;\n\nexport { DSMenuItemsSeparator, DSMenuItemsSeparatorWithSchema };\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACmBP;AAlBhB,SAAS,gBAAgB;AACzB,SAAS,wBAAwB,uBAAuB;AACxD,SAAqC,2CAA2C;AAChF,SAAS,6BAA6B;AAEtC,MAAM,uBAAyE,CAAC,UAAU;AACxF,QAAM,EAAE,kBAAkB,aAAa,aAAa,IAAI,sBAAsB,KAAK;AACnF,QAAM,EAAE,eAAe,UAAU,QAAQ,OAAO,IAAI;AACpD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO;AAAA,MACP;AAAA,MACA,cAAW;AAAA,MACX,MAAK;AAAA,MACL,UAAU;AAAA,MACT,GAAG;AAAA,MACH,GAAG;AAAA,MAEH,mBAAS,oBAAC,UAAQ,GAAG,kBAAkB,IAAK,oBAAC,mBAAgB;AAAA;AAAA,EAChE;AAEJ;AAGA,qBAAqB,cAAc;AACnC,MAAM,iCAAiC,SAAS,oBAAoB;AACpE,+BAA+B,YAAY;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { StyledSeparatorWrapper, StyledSeparator } from '@elliemae/ds-menu-items-commons';\nimport { type DSMenuItemsSeparatorT, DSMenuItemsSeparatorPropTypesSchema } from './react-desc-prop-types.js';\nimport { useMenuItemsSeparator } from './config/useMenuItemsSeparator.js';\n\nconst DSMenuItemsSeparator: React.ComponentType<DSMenuItemsSeparatorT.Props> = (props) => {\n const { propsWithDefault, globalProps, xstyledProps } = useMenuItemsSeparator(props);\n const { wrapperStyles, innerRef, render: Render } = propsWithDefault;\n return (\n <StyledSeparatorWrapper\n style={wrapperStyles}\n innerRef={innerRef}\n aria-label=\"separator\"\n role=\"option\"\n tabIndex={undefined}\n {...globalProps}\n {...xstyledProps}\n aria-hidden=\"true\"\n >\n {Render ? <Render {...propsWithDefault} /> : <StyledSeparator />}\n </StyledSeparatorWrapper>\n );\n};\n\n// this is `'DSMenuItemSeparator'` for legacy reasons, when moving to inheritance pattern this has been kept as it was to avoid complications\nDSMenuItemsSeparator.displayName = 'DSMenuItemSeparator';\nconst DSMenuItemsSeparatorWithSchema = describe(DSMenuItemsSeparator);\nDSMenuItemsSeparatorWithSchema.propTypes = DSMenuItemsSeparatorPropTypesSchema;\n\nexport { DSMenuItemsSeparator, DSMenuItemsSeparatorWithSchema };\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACoBP;AAnBhB,SAAS,gBAAgB;AACzB,SAAS,wBAAwB,uBAAuB;AACxD,SAAqC,2CAA2C;AAChF,SAAS,6BAA6B;AAEtC,MAAM,uBAAyE,CAAC,UAAU;AACxF,QAAM,EAAE,kBAAkB,aAAa,aAAa,IAAI,sBAAsB,KAAK;AACnF,QAAM,EAAE,eAAe,UAAU,QAAQ,OAAO,IAAI;AACpD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO;AAAA,MACP;AAAA,MACA,cAAW;AAAA,MACX,MAAK;AAAA,MACL,UAAU;AAAA,MACT,GAAG;AAAA,MACH,GAAG;AAAA,MACJ,eAAY;AAAA,MAEX,mBAAS,oBAAC,UAAQ,GAAG,kBAAkB,IAAK,oBAAC,mBAAgB;AAAA;AAAA,EAChE;AAEJ;AAGA,qBAAqB,cAAc;AACnC,MAAM,iCAAiC,SAAS,oBAAoB;AACpE,+BAA+B,YAAY;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-menu-items-separator",
3
- "version": "3.49.0-rc.9",
3
+ "version": "3.49.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Menu Items Separator",
6
6
  "files": [
@@ -25,8 +25,8 @@
25
25
  "url": "https://git.elliemae.io/platform-ui/dimsum.git"
26
26
  },
27
27
  "engines": {
28
- "pnpm": ">=6",
29
- "node": ">=16"
28
+ "pnpm": ">=9",
29
+ "node": ">=22"
30
30
  },
31
31
  "author": "ICE MT",
32
32
  "jestSonar": {
@@ -37,16 +37,18 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@xstyled/styled-components": "~3.6.0",
40
- "@elliemae/ds-button": "3.49.0-rc.9",
41
- "@elliemae/ds-grid": "3.49.0-rc.9",
42
- "@elliemae/ds-menu-items-commons": "3.49.0-rc.9",
43
- "@elliemae/ds-props-helpers": "3.49.0-rc.9",
44
- "@elliemae/ds-system": "3.49.0-rc.9"
40
+ "@elliemae/ds-button": "3.49.0",
41
+ "@elliemae/ds-system": "3.49.0",
42
+ "@elliemae/ds-props-helpers": "3.49.0",
43
+ "@elliemae/ds-menu-items-commons": "3.49.0",
44
+ "@elliemae/ds-grid": "3.49.0"
45
45
  },
46
46
  "devDependencies": {
47
+ "jest": "~29.7.0",
48
+ "jest-cli": "~29.7.0",
47
49
  "lodash": "^4.17.21",
48
50
  "styled-components": "~5.3.9",
49
- "@elliemae/ds-monorepo-devops": "3.49.0-rc.9"
51
+ "@elliemae/ds-monorepo-devops": "3.49.0"
50
52
  },
51
53
  "peerDependencies": {
52
54
  "@testing-library/jest-dom": "~5.16.4",