@elliemae/ds-menu-items-commons 3.70.0-next.63 → 3.70.0-next.69

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,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/react-desc-prop-types.ts", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\n/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\nimport type React from 'react';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace DSMenuItemsCommonsT {\n export interface RequiredProps {\n dsId: string;\n }\n\n export interface DefaultProps {\n innerRef: React.RefObject<HTMLLIElement> | ((_ref: HTMLLIElement) => void);\n wrapperStyles: React.CSSProperties;\n }\n\n export interface OptionalProps<T> {\n render?: React.ComponentType<T>;\n original?: Record<string, unknown>;\n }\n\n export interface Props<T = unknown>\n extends Partial<DefaultProps>,\n OptionalProps<T>,\n // each single menu-item is in charge of spreading the GlobalAttributesT & XstyledProps\n // they are NOT inherited from a common element from ds-menu-items-commons\n // Omit<\n // GlobalAttributesT<HTMLButtonElement>,\n // keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n // >,\n // XstyledProps,\n RequiredProps {}\n\n export interface InternalProps<T = unknown>\n extends DefaultProps,\n OptionalProps<T>,\n // each single menu-item is in charge of spreading the GlobalAttributesT & XstyledProps\n // they are NOT inherited from a common element from ds-menu-items-commons\n // Omit<\n // GlobalAttributesT<HTMLButtonElement>,\n // keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n // >,\n // XstyledProps,\n RequiredProps {}\n}\n\nexport const DSMenuItemsCommonsDefaultProps: DSMenuItemsCommonsT.DefaultProps = {\n innerRef: () => {},\n wrapperStyles: {},\n} as const;\n\nexport const DSMenuItemsCommonsPropTypes: DSPropTypesSchema<DSMenuItemsCommonsT.Props> = {\n dsId: PropTypes.string.description(\n 'unique identifier that MUST NOT be repeated to ensure all functionalities works as expected',\n ).isRequired,\n wrapperStyles: PropTypes.object\n .description('Styles to be applied to the wrapper element.')\n .defaultValue(DSMenuItemsCommonsDefaultProps.wrapperStyles),\n render: PropTypes.func\n .description('A React component that can be used to render the menu item.')\n .signature('React.ComponentType'),\n innerRef: PropTypes.oneOfType([\n PropTypes.shape({\n current: PropTypes.node,\n }),\n PropTypes.func.description(\n ' A ref object or callback function to access the main underlying DOM element of the menu item.',\n ),\n ]).defaultValue(`(() => {})`),\n original: PropTypes.object.description(''),\n};\n\nexport const DSMenuItemsCommonsPropTypesSchema =\n DSMenuItemsCommonsPropTypes as unknown as WeakValidationMap<DSMenuItemsCommonsT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,8BAA0B;AA4CnB,MAAM,iCAAmE;AAAA,EAC9E,UAAU,MAAM;AAAA,EAAC;AAAA,EACjB,eAAe,CAAC;AAClB;AAEO,MAAM,8BAA4E;AAAA,EACvF,MAAM,kCAAU,OAAO;AAAA,IACrB;AAAA,EACF,EAAE;AAAA,EACF,eAAe,kCAAU,OACtB,YAAY,8CAA8C,EAC1D,aAAa,+BAA+B,aAAa;AAAA,EAC5D,QAAQ,kCAAU,KACf,YAAY,6DAA6D,EACzE,UAAU,qBAAqB;AAAA,EAClC,UAAU,kCAAU,UAAU;AAAA,IAC5B,kCAAU,MAAM;AAAA,MACd,SAAS,kCAAU;AAAA,IACrB,CAAC;AAAA,IACD,kCAAU,KAAK;AAAA,MACb;AAAA,IACF;AAAA,EACF,CAAC,EAAE,aAAa,YAAY;AAAA,EAC5B,UAAU,kCAAU,OAAO,YAAY,EAAE;AAC3C;AAEO,MAAM,oCACX;",
4
+ "sourcesContent": ["/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\n\nimport type { DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\nimport type React from 'react';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace DSMenuItemsCommonsT {\n export interface RequiredProps {\n dsId: string;\n }\n\n export interface DefaultProps {\n innerRef: React.RefObject<HTMLLIElement> | ((_ref: HTMLLIElement) => void);\n wrapperStyles: React.CSSProperties;\n }\n\n export interface OptionalProps<T> {\n render?: React.ComponentType<T>;\n original?: Record<string, unknown>;\n }\n\n export interface Props<T = unknown>\n extends\n Partial<DefaultProps>,\n OptionalProps<T>,\n // each single menu-item is in charge of spreading the GlobalAttributesT & XstyledProps\n // they are NOT inherited from a common element from ds-menu-items-commons\n // Omit<\n // GlobalAttributesT<HTMLButtonElement>,\n // keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n // >,\n // XstyledProps,\n RequiredProps {}\n\n export interface InternalProps<T = unknown>\n extends\n DefaultProps,\n OptionalProps<T>,\n // each single menu-item is in charge of spreading the GlobalAttributesT & XstyledProps\n // they are NOT inherited from a common element from ds-menu-items-commons\n // Omit<\n // GlobalAttributesT<HTMLButtonElement>,\n // keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n // >,\n // XstyledProps,\n RequiredProps {}\n}\n\nexport const DSMenuItemsCommonsDefaultProps: DSMenuItemsCommonsT.DefaultProps = {\n innerRef: () => {},\n wrapperStyles: {},\n} as const;\n\nexport const DSMenuItemsCommonsPropTypes: DSPropTypesSchema<DSMenuItemsCommonsT.Props> = {\n dsId: PropTypes.string.description(\n 'unique identifier that MUST NOT be repeated to ensure all functionalities works as expected',\n ).isRequired,\n wrapperStyles: PropTypes.object\n .description('Styles to be applied to the wrapper element.')\n .defaultValue(DSMenuItemsCommonsDefaultProps.wrapperStyles),\n render: PropTypes.func\n .description('A React component that can be used to render the menu item.')\n .signature('React.ComponentType'),\n innerRef: PropTypes.oneOfType([\n PropTypes.shape({\n current: PropTypes.node,\n }),\n PropTypes.func.description(\n ' A ref object or callback function to access the main underlying DOM element of the menu item.',\n ),\n ]).defaultValue(`(() => {})`),\n original: PropTypes.object.description(''),\n};\n\nexport const DSMenuItemsCommonsPropTypesSchema =\n DSMenuItemsCommonsPropTypes as unknown as WeakValidationMap<DSMenuItemsCommonsT.Props>;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,8BAA0B;AA8CnB,MAAM,iCAAmE;AAAA,EAC9E,UAAU,MAAM;AAAA,EAAC;AAAA,EACjB,eAAe,CAAC;AAClB;AAEO,MAAM,8BAA4E;AAAA,EACvF,MAAM,kCAAU,OAAO;AAAA,IACrB;AAAA,EACF,EAAE;AAAA,EACF,eAAe,kCAAU,OACtB,YAAY,8CAA8C,EAC1D,aAAa,+BAA+B,aAAa;AAAA,EAC5D,QAAQ,kCAAU,KACf,YAAY,6DAA6D,EACzE,UAAU,qBAAqB;AAAA,EAClC,UAAU,kCAAU,UAAU;AAAA,IAC5B,kCAAU,MAAM;AAAA,MACd,SAAS,kCAAU;AAAA,IACrB,CAAC;AAAA,IACD,kCAAU,KAAK;AAAA,MACb;AAAA,IACF;AAAA,EACF,CAAC,EAAE,aAAa,YAAY;AAAA,EAC5B,UAAU,kCAAU,OAAO,YAAY,EAAE;AAC3C;AAEO,MAAM,oCACX;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/react-desc-prop-types.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\n/* eslint-disable @typescript-eslint/no-empty-interface */\nimport type { DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\nimport type React from 'react';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace DSMenuItemsCommonsT {\n export interface RequiredProps {\n dsId: string;\n }\n\n export interface DefaultProps {\n innerRef: React.RefObject<HTMLLIElement> | ((_ref: HTMLLIElement) => void);\n wrapperStyles: React.CSSProperties;\n }\n\n export interface OptionalProps<T> {\n render?: React.ComponentType<T>;\n original?: Record<string, unknown>;\n }\n\n export interface Props<T = unknown>\n extends Partial<DefaultProps>,\n OptionalProps<T>,\n // each single menu-item is in charge of spreading the GlobalAttributesT & XstyledProps\n // they are NOT inherited from a common element from ds-menu-items-commons\n // Omit<\n // GlobalAttributesT<HTMLButtonElement>,\n // keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n // >,\n // XstyledProps,\n RequiredProps {}\n\n export interface InternalProps<T = unknown>\n extends DefaultProps,\n OptionalProps<T>,\n // each single menu-item is in charge of spreading the GlobalAttributesT & XstyledProps\n // they are NOT inherited from a common element from ds-menu-items-commons\n // Omit<\n // GlobalAttributesT<HTMLButtonElement>,\n // keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n // >,\n // XstyledProps,\n RequiredProps {}\n}\n\nexport const DSMenuItemsCommonsDefaultProps: DSMenuItemsCommonsT.DefaultProps = {\n innerRef: () => {},\n wrapperStyles: {},\n} as const;\n\nexport const DSMenuItemsCommonsPropTypes: DSPropTypesSchema<DSMenuItemsCommonsT.Props> = {\n dsId: PropTypes.string.description(\n 'unique identifier that MUST NOT be repeated to ensure all functionalities works as expected',\n ).isRequired,\n wrapperStyles: PropTypes.object\n .description('Styles to be applied to the wrapper element.')\n .defaultValue(DSMenuItemsCommonsDefaultProps.wrapperStyles),\n render: PropTypes.func\n .description('A React component that can be used to render the menu item.')\n .signature('React.ComponentType'),\n innerRef: PropTypes.oneOfType([\n PropTypes.shape({\n current: PropTypes.node,\n }),\n PropTypes.func.description(\n ' A ref object or callback function to access the main underlying DOM element of the menu item.',\n ),\n ]).defaultValue(`(() => {})`),\n original: PropTypes.object.description(''),\n};\n\nexport const DSMenuItemsCommonsPropTypesSchema =\n DSMenuItemsCommonsPropTypes as unknown as WeakValidationMap<DSMenuItemsCommonsT.Props>;\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,iBAAiB;AA4CnB,MAAM,iCAAmE;AAAA,EAC9E,UAAU,MAAM;AAAA,EAAC;AAAA,EACjB,eAAe,CAAC;AAClB;AAEO,MAAM,8BAA4E;AAAA,EACvF,MAAM,UAAU,OAAO;AAAA,IACrB;AAAA,EACF,EAAE;AAAA,EACF,eAAe,UAAU,OACtB,YAAY,8CAA8C,EAC1D,aAAa,+BAA+B,aAAa;AAAA,EAC5D,QAAQ,UAAU,KACf,YAAY,6DAA6D,EACzE,UAAU,qBAAqB;AAAA,EAClC,UAAU,UAAU,UAAU;AAAA,IAC5B,UAAU,MAAM;AAAA,MACd,SAAS,UAAU;AAAA,IACrB,CAAC;AAAA,IACD,UAAU,KAAK;AAAA,MACb;AAAA,IACF;AAAA,EACF,CAAC,EAAE,aAAa,YAAY;AAAA,EAC5B,UAAU,UAAU,OAAO,YAAY,EAAE;AAC3C;AAEO,MAAM,oCACX;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable @typescript-eslint/no-redundant-type-constituents */\n\nimport type { DSPropTypesSchema } from '@elliemae/ds-props-helpers';\nimport { PropTypes } from '@elliemae/ds-props-helpers';\nimport type React from 'react';\nimport type { WeakValidationMap } from 'react';\n\nexport declare namespace DSMenuItemsCommonsT {\n export interface RequiredProps {\n dsId: string;\n }\n\n export interface DefaultProps {\n innerRef: React.RefObject<HTMLLIElement> | ((_ref: HTMLLIElement) => void);\n wrapperStyles: React.CSSProperties;\n }\n\n export interface OptionalProps<T> {\n render?: React.ComponentType<T>;\n original?: Record<string, unknown>;\n }\n\n export interface Props<T = unknown>\n extends\n Partial<DefaultProps>,\n OptionalProps<T>,\n // each single menu-item is in charge of spreading the GlobalAttributesT & XstyledProps\n // they are NOT inherited from a common element from ds-menu-items-commons\n // Omit<\n // GlobalAttributesT<HTMLButtonElement>,\n // keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n // >,\n // XstyledProps,\n RequiredProps {}\n\n export interface InternalProps<T = unknown>\n extends\n DefaultProps,\n OptionalProps<T>,\n // each single menu-item is in charge of spreading the GlobalAttributesT & XstyledProps\n // they are NOT inherited from a common element from ds-menu-items-commons\n // Omit<\n // GlobalAttributesT<HTMLButtonElement>,\n // keyof DefaultProps | keyof OptionalProps | keyof RequiredProps | keyof XstyledProps\n // >,\n // XstyledProps,\n RequiredProps {}\n}\n\nexport const DSMenuItemsCommonsDefaultProps: DSMenuItemsCommonsT.DefaultProps = {\n innerRef: () => {},\n wrapperStyles: {},\n} as const;\n\nexport const DSMenuItemsCommonsPropTypes: DSPropTypesSchema<DSMenuItemsCommonsT.Props> = {\n dsId: PropTypes.string.description(\n 'unique identifier that MUST NOT be repeated to ensure all functionalities works as expected',\n ).isRequired,\n wrapperStyles: PropTypes.object\n .description('Styles to be applied to the wrapper element.')\n .defaultValue(DSMenuItemsCommonsDefaultProps.wrapperStyles),\n render: PropTypes.func\n .description('A React component that can be used to render the menu item.')\n .signature('React.ComponentType'),\n innerRef: PropTypes.oneOfType([\n PropTypes.shape({\n current: PropTypes.node,\n }),\n PropTypes.func.description(\n ' A ref object or callback function to access the main underlying DOM element of the menu item.',\n ),\n ]).defaultValue(`(() => {})`),\n original: PropTypes.object.description(''),\n};\n\nexport const DSMenuItemsCommonsPropTypesSchema =\n DSMenuItemsCommonsPropTypes as unknown as WeakValidationMap<DSMenuItemsCommonsT.Props>;\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,iBAAiB;AA8CnB,MAAM,iCAAmE;AAAA,EAC9E,UAAU,MAAM;AAAA,EAAC;AAAA,EACjB,eAAe,CAAC;AAClB;AAEO,MAAM,8BAA4E;AAAA,EACvF,MAAM,UAAU,OAAO;AAAA,IACrB;AAAA,EACF,EAAE;AAAA,EACF,eAAe,UAAU,OACtB,YAAY,8CAA8C,EAC1D,aAAa,+BAA+B,aAAa;AAAA,EAC5D,QAAQ,UAAU,KACf,YAAY,6DAA6D,EACzE,UAAU,qBAAqB;AAAA,EAClC,UAAU,UAAU,UAAU;AAAA,IAC5B,UAAU,MAAM;AAAA,MACd,SAAS,UAAU;AAAA,IACrB,CAAC;AAAA,IACD,UAAU,KAAK;AAAA,MACb;AAAA,IACF;AAAA,EACF,CAAC,EAAE,aAAa,YAAY;AAAA,EAC5B,UAAU,UAAU,OAAO,YAAY,EAAE;AAC3C;AAEO,MAAM,oCACX;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-menu-items-commons",
3
- "version": "3.70.0-next.63",
3
+ "version": "3.70.0-next.69",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Menu Items Commons",
6
6
  "files": [
@@ -36,16 +36,16 @@
36
36
  "indent": 4
37
37
  },
38
38
  "dependencies": {
39
- "@elliemae/ds-grid": "3.70.0-next.63",
40
- "@elliemae/ds-typography": "3.70.0-next.63",
41
- "@elliemae/ds-props-helpers": "3.70.0-next.63",
42
- "@elliemae/ds-system": "3.70.0-next.63"
39
+ "@elliemae/ds-grid": "3.70.0-next.69",
40
+ "@elliemae/ds-typography": "3.70.0-next.69",
41
+ "@elliemae/ds-system": "3.70.0-next.69",
42
+ "@elliemae/ds-props-helpers": "3.70.0-next.69"
43
43
  },
44
44
  "devDependencies": {
45
45
  "jest": "^30.0.0",
46
46
  "lodash-es": "^4.18.1",
47
47
  "styled-components": "~5.3.11",
48
- "@elliemae/ds-monorepo-devops": "3.70.0-next.63"
48
+ "@elliemae/ds-monorepo-devops": "3.70.0-next.69"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "@testing-library/jest-dom": "^6.6.3",