@elliemae/ds-menu-items 3.27.0-next.9 → 3.27.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.
Files changed (101) hide show
  1. package/dist/cjs/components/ActionMenuItem/index.js +6 -61
  2. package/dist/cjs/components/ActionMenuItem/index.js.map +2 -2
  3. package/dist/cjs/components/MultiMenuItem/index.js +6 -79
  4. package/dist/cjs/components/MultiMenuItem/index.js.map +2 -2
  5. package/dist/cjs/components/Section/index.js +6 -29
  6. package/dist/cjs/components/Section/index.js.map +2 -2
  7. package/dist/cjs/components/Separator/index.js +6 -32
  8. package/dist/cjs/components/Separator/index.js.map +2 -2
  9. package/dist/cjs/components/SingleMenuItem/index.js +6 -84
  10. package/dist/cjs/components/SingleMenuItem/index.js.map +3 -3
  11. package/dist/cjs/components/SingleWithSubmenuItem/index.js +5 -124
  12. package/dist/cjs/components/SingleWithSubmenuItem/index.js.map +2 -2
  13. package/dist/cjs/components/SkeletonMenuItem/index.js +5 -26
  14. package/dist/cjs/components/SkeletonMenuItem/index.js.map +2 -2
  15. package/dist/cjs/components/SubmenuItem/index.js +5 -128
  16. package/dist/cjs/components/SubmenuItem/index.js.map +2 -2
  17. package/dist/cjs/components/index.js +51 -9
  18. package/dist/cjs/components/index.js.map +2 -2
  19. package/dist/cjs/exported-related/index.js +9 -2
  20. package/dist/cjs/exported-related/index.js.map +2 -2
  21. package/dist/cjs/index.js +45 -4
  22. package/dist/cjs/index.js.map +2 -2
  23. package/dist/esm/components/ActionMenuItem/index.js +11 -65
  24. package/dist/esm/components/ActionMenuItem/index.js.map +3 -3
  25. package/dist/esm/components/MultiMenuItem/index.js +12 -79
  26. package/dist/esm/components/MultiMenuItem/index.js.map +3 -3
  27. package/dist/esm/components/Section/index.js +12 -29
  28. package/dist/esm/components/Section/index.js.map +3 -3
  29. package/dist/esm/components/Separator/index.js +11 -37
  30. package/dist/esm/components/Separator/index.js.map +3 -3
  31. package/dist/esm/components/SingleMenuItem/index.js +11 -88
  32. package/dist/esm/components/SingleMenuItem/index.js.map +3 -3
  33. package/dist/esm/components/SingleWithSubmenuItem/index.js +9 -131
  34. package/dist/esm/components/SingleWithSubmenuItem/index.js.map +3 -3
  35. package/dist/esm/components/SkeletonMenuItem/index.js +10 -26
  36. package/dist/esm/components/SkeletonMenuItem/index.js.map +3 -3
  37. package/dist/esm/components/SubmenuItem/index.js +9 -135
  38. package/dist/esm/components/SubmenuItem/index.js.map +3 -3
  39. package/dist/esm/components/index.js +92 -8
  40. package/dist/esm/components/index.js.map +2 -2
  41. package/dist/esm/exported-related/index.js +5 -1
  42. package/dist/esm/exported-related/index.js.map +2 -2
  43. package/dist/esm/index.js +77 -3
  44. package/dist/esm/index.js.map +2 -2
  45. package/dist/types/components/ActionMenuItem/index.d.ts +1 -5
  46. package/dist/types/components/MultiMenuItem/index.d.ts +1 -5
  47. package/dist/types/components/Section/index.d.ts +1 -5
  48. package/dist/types/components/Separator/index.d.ts +1 -5
  49. package/dist/types/components/SingleMenuItem/index.d.ts +1 -5
  50. package/dist/types/components/SingleWithSubmenuItem/index.d.ts +1 -5
  51. package/dist/types/components/SkeletonMenuItem/index.d.ts +1 -4
  52. package/dist/types/components/SubmenuItem/index.d.ts +1 -5
  53. package/dist/types/components/index.d.ts +8 -8
  54. package/dist/types/exported-related/index.d.ts +1 -1
  55. package/dist/types/index.d.ts +2 -3
  56. package/package.json +11 -12
  57. package/dist/cjs/TempTreeviewItem.js +0 -133
  58. package/dist/cjs/TempTreeviewItem.js.map +0 -7
  59. package/dist/cjs/components/SingleWithSubmenuItem/useGetSubmenuHandlers.js +0 -87
  60. package/dist/cjs/components/SingleWithSubmenuItem/useGetSubmenuHandlers.js.map +0 -7
  61. package/dist/cjs/components/SubmenuItem/getChevronHandlers.js +0 -72
  62. package/dist/cjs/components/SubmenuItem/getChevronHandlers.js.map +0 -7
  63. package/dist/cjs/components/SubmenuItem/getEllipsisHandlers.js +0 -64
  64. package/dist/cjs/components/SubmenuItem/getEllipsisHandlers.js.map +0 -7
  65. package/dist/cjs/components/SubmenuItem/useGetSubmenuHandlers.js +0 -46
  66. package/dist/cjs/components/SubmenuItem/useGetSubmenuHandlers.js.map +0 -7
  67. package/dist/cjs/components/styled.js +0 -192
  68. package/dist/cjs/components/styled.js.map +0 -7
  69. package/dist/cjs/components/useGetGlobalsAndXStyledProps.js +0 -42
  70. package/dist/cjs/components/useGetGlobalsAndXStyledProps.js.map +0 -7
  71. package/dist/cjs/exported-related/constants.js +0 -51
  72. package/dist/cjs/exported-related/constants.js.map +0 -7
  73. package/dist/cjs/react-desc-prop-types.js +0 -169
  74. package/dist/cjs/react-desc-prop-types.js.map +0 -7
  75. package/dist/esm/TempTreeviewItem.js +0 -103
  76. package/dist/esm/TempTreeviewItem.js.map +0 -7
  77. package/dist/esm/components/SingleWithSubmenuItem/useGetSubmenuHandlers.js +0 -57
  78. package/dist/esm/components/SingleWithSubmenuItem/useGetSubmenuHandlers.js.map +0 -7
  79. package/dist/esm/components/SubmenuItem/getChevronHandlers.js +0 -42
  80. package/dist/esm/components/SubmenuItem/getChevronHandlers.js.map +0 -7
  81. package/dist/esm/components/SubmenuItem/getEllipsisHandlers.js +0 -34
  82. package/dist/esm/components/SubmenuItem/getEllipsisHandlers.js.map +0 -7
  83. package/dist/esm/components/SubmenuItem/useGetSubmenuHandlers.js +0 -16
  84. package/dist/esm/components/SubmenuItem/useGetSubmenuHandlers.js.map +0 -7
  85. package/dist/esm/components/styled.js +0 -162
  86. package/dist/esm/components/styled.js.map +0 -7
  87. package/dist/esm/components/useGetGlobalsAndXStyledProps.js +0 -12
  88. package/dist/esm/components/useGetGlobalsAndXStyledProps.js.map +0 -7
  89. package/dist/esm/exported-related/constants.js +0 -21
  90. package/dist/esm/exported-related/constants.js.map +0 -7
  91. package/dist/esm/react-desc-prop-types.js +0 -139
  92. package/dist/esm/react-desc-prop-types.js.map +0 -7
  93. package/dist/types/TempTreeviewItem.d.ts +0 -16
  94. package/dist/types/components/SingleWithSubmenuItem/useGetSubmenuHandlers.d.ts +0 -7
  95. package/dist/types/components/SubmenuItem/getChevronHandlers.d.ts +0 -7
  96. package/dist/types/components/SubmenuItem/getEllipsisHandlers.d.ts +0 -8
  97. package/dist/types/components/SubmenuItem/useGetSubmenuHandlers.d.ts +0 -8
  98. package/dist/types/components/styled.d.ts +0 -22
  99. package/dist/types/components/useGetGlobalsAndXStyledProps.d.ts +0 -5
  100. package/dist/types/exported-related/constants.d.ts +0 -15
  101. package/dist/types/react-desc-prop-types.d.ts +0 -106
@@ -1,140 +1,14 @@
1
1
  import * as React from "react";
2
- import { jsx, jsxs } from "react/jsx-runtime";
3
- import { useEffect, useMemo, useState } from "react";
4
- import { MoreOptionsVert, ChevronRight } from "@elliemae/ds-icons";
5
- import { describe, useMemoMergePropsWithDefault, useValidateTypescriptPropTypes } from "@elliemae/ds-props-helpers";
6
- import { defaultSubmenuProps, itemProps } from "../../react-desc-prop-types.js";
7
2
  import {
8
- StyleMenuItemLabel,
9
- StyleMenuItemSecondaryLabel,
10
- StyledIconContainer,
11
- StyledEllipsisButton,
12
- StyledGlobalMenuItemWrapper,
13
- StyledVerticalSeparator,
14
- StyledContentWrapper
15
- } from "../styled.js";
16
- import { useGetSubmenuHandlers } from "./useGetSubmenuHandlers.js";
17
- import { DSMenuItemName } from "../../exported-related/index.js";
18
- import { useGetGlobalsAndXStyledProps } from "../useGetGlobalsAndXStyledProps.js";
19
- const SubmenuItem = (props) => {
20
- const propsWithDefault = useMemoMergePropsWithDefault(props, defaultSubmenuProps);
21
- useValidateTypescriptPropTypes(propsWithDefault, itemProps, `${DSMenuItemName}Submenu`);
22
- const {
23
- dsId,
24
- label,
25
- secondaryLabel,
26
- isActive,
27
- disabled,
28
- isSubmenuOpened,
29
- rightAddon,
30
- innerRef,
31
- wrapperStyles,
32
- optionsShouldHavePadding,
33
- render: Render,
34
- Dropdown,
35
- dropdownProps: {
36
- options,
37
- openedSubmenus,
38
- onSubmenuToggle,
39
- selectedOptions,
40
- onKeyDown,
41
- onOptionClick,
42
- onClickOutside,
43
- minWidth,
44
- maxHeight
45
- }
46
- } = propsWithDefault;
47
- const [delayedIsOpened, setDelayedIsOpened] = useState(false);
48
- useEffect(() => {
49
- setTimeout(() => setDelayedIsOpened(isSubmenuOpened));
50
- }, [isSubmenuOpened]);
51
- const { onMouseEnterHandler, onMouseLeaveHandler, onMouseDownHandler, onEllipsisClick } = useGetSubmenuHandlers(propsWithDefault);
52
- const gridLayout = useMemo(() => {
53
- const cols = ["auto"];
54
- if (secondaryLabel !== void 0)
55
- cols.push("min-content");
56
- cols.push("min-content");
57
- return cols;
58
- }, [secondaryLabel]);
59
- const { globalAttributes, xStyledProps } = useGetGlobalsAndXStyledProps(
60
- propsWithDefault,
61
- props.original ? {
62
- onMouseEnter: onMouseEnterHandler,
63
- onMouseLeave: onMouseLeaveHandler,
64
- onMouseDown: onMouseDownHandler
65
- } : void 0
66
- );
67
- const { minWidth: customMinWidth, ...restXStyled } = xStyledProps;
68
- const { onMouseLeave, onMouseEnter, onMouseDown, ...restGlobalAttributes } = globalAttributes;
69
- return /* @__PURE__ */ jsx(
70
- Dropdown,
71
- {
72
- isOpened: delayedIsOpened,
73
- options: options ?? [],
74
- onOptionClick,
75
- startPlacementPreference: "right-start",
76
- placementOrderPreference: ["right-start", "right-end", "left-start", "left-end"],
77
- selectedOptions,
78
- openedSubmenus,
79
- onSubmenuToggle,
80
- onKeyDown,
81
- onClickOutside,
82
- customOffset: [-4, 1],
83
- wrapperStyles: { ...wrapperStyles, w: "100%" },
84
- as: "li",
85
- role: "option",
86
- minWidth,
87
- maxHeight,
88
- "aria-selected": isSubmenuOpened,
89
- "aria-describedby": `dropdownmenu-submenu-${dsId}`,
90
- "data-popover-label": label,
91
- id: dsId,
92
- onMouseEnter: onMouseEnterHandler,
93
- onMouseLeave: onMouseLeaveHandler,
94
- onMouseDown: onMouseDownHandler,
95
- ...restGlobalAttributes,
96
- ...restXStyled,
97
- children: /* @__PURE__ */ jsxs(
98
- StyledGlobalMenuItemWrapper,
99
- {
100
- pr: 0,
101
- isSelected: isSubmenuOpened,
102
- isActive,
103
- onMouseEnter: onMouseEnterHandler,
104
- onMouseLeave: onMouseLeaveHandler,
105
- innerRef,
106
- disabled,
107
- pl: optionsShouldHavePadding ? 40 : 16,
108
- as: "div",
109
- "data-type": "submenu",
110
- children: [
111
- Render !== void 0 ? /* @__PURE__ */ jsx(Render, { ...propsWithDefault }) : /* @__PURE__ */ jsxs(StyledContentWrapper, { cols: gridLayout, gutter: "xxs", alignItems: "center", children: [
112
- /* @__PURE__ */ jsx(StyleMenuItemLabel, { children: label }),
113
- secondaryLabel !== void 0 && /* @__PURE__ */ jsx(StyleMenuItemSecondaryLabel, { children: secondaryLabel }),
114
- /* @__PURE__ */ jsxs(StyledIconContainer, { children: [
115
- /* @__PURE__ */ jsx(StyledVerticalSeparator, {}),
116
- rightAddon === "ellipsis" ? /* @__PURE__ */ jsx(StyledEllipsisButton, { tabIndex: -1, onClick: onEllipsisClick, disabled, children: /* @__PURE__ */ jsx(
117
- MoreOptionsVert,
118
- {
119
- className: "ds-dropdown-menu-v2-more-options",
120
- color: disabled ? ["neutral", "500"] : ["brand-primary", "600"],
121
- size: "s"
122
- }
123
- ) }) : /* @__PURE__ */ jsx(ChevronRight, { color: disabled ? ["neutral", "500"] : ["brand-primary", "600"], size: "s" })
124
- ] })
125
- ] }),
126
- /* @__PURE__ */ jsx("span", { id: `dropdownmenu-submenu-${dsId}`, style: { display: "none" }, children: "submenu, to open this submenu press the Right Arrow key" })
127
- ]
128
- }
129
- )
130
- }
131
- );
132
- };
133
- SubmenuItem.displayName = `${DSMenuItemName}Submenu`;
134
- const SubmenuItemWithSchema = describe(SubmenuItem);
135
- SubmenuItemWithSchema.propTypes = itemProps;
3
+ DSMenuItemsSubmenu,
4
+ DSMenuItemsSubmenuWithSchema,
5
+ DSMenuItemsSubmenu as DSMenuItemsSubmenu2,
6
+ DSMenuItemsSubmenuWithSchema as DSMenuItemsSubmenuWithSchema2
7
+ } from "@elliemae/ds-menu-items-submenu";
136
8
  export {
137
- SubmenuItem,
138
- SubmenuItemWithSchema
9
+ DSMenuItemsSubmenu2 as DSMenuItemsSubmenu,
10
+ DSMenuItemsSubmenuWithSchema2 as DSMenuItemsSubmenuWithSchema,
11
+ DSMenuItemsSubmenu as SubmenuItem,
12
+ DSMenuItemsSubmenuWithSchema as SubmenuItemWithSchema
139
13
  };
140
14
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/components/SubmenuItem/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable no-unused-vars */\n/* eslint-disable max-lines */\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { MoreOptionsVert, ChevronRight } from '@elliemae/ds-icons';\nimport { describe, useMemoMergePropsWithDefault, useValidateTypescriptPropTypes } from '@elliemae/ds-props-helpers';\nimport type { DSMenuItemT } from '../../react-desc-prop-types.js';\nimport { defaultSubmenuProps, itemProps } from '../../react-desc-prop-types.js';\nimport {\n StyleMenuItemLabel,\n StyleMenuItemSecondaryLabel,\n StyledIconContainer,\n StyledEllipsisButton,\n StyledGlobalMenuItemWrapper,\n StyledVerticalSeparator,\n StyledContentWrapper,\n} from '../styled.js';\nimport { useGetSubmenuHandlers } from './useGetSubmenuHandlers.js';\nimport { DSMenuItemName } from '../../exported-related/index.js';\nimport { useGetGlobalsAndXStyledProps } from '../useGetGlobalsAndXStyledProps.js';\n\nconst SubmenuItem: React.ComponentType<DSMenuItemT.SubmenuProps> = (props) => {\n const propsWithDefault = useMemoMergePropsWithDefault<Required<DSMenuItemT.SubmenuProps>>(props, defaultSubmenuProps);\n\n useValidateTypescriptPropTypes(propsWithDefault, itemProps, `${DSMenuItemName}Submenu`);\n\n const {\n dsId,\n label,\n secondaryLabel,\n isActive,\n disabled,\n isSubmenuOpened,\n rightAddon,\n innerRef,\n wrapperStyles,\n optionsShouldHavePadding,\n render: Render,\n Dropdown,\n dropdownProps: {\n options,\n openedSubmenus,\n onSubmenuToggle,\n selectedOptions,\n onKeyDown,\n onOptionClick,\n onClickOutside,\n minWidth,\n maxHeight,\n },\n } = propsWithDefault;\n\n // If we don't delay the opening of the poppers, the position will not be placed correctly\n // That why we delay it for the next render using the useEffect hook\n // TODO -- @carusox move this to utilities as a hook\n const [delayedIsOpened, setDelayedIsOpened] = useState(false);\n\n useEffect(() => {\n setTimeout(() => setDelayedIsOpened(isSubmenuOpened));\n }, [isSubmenuOpened]);\n\n const { onMouseEnterHandler, onMouseLeaveHandler, onMouseDownHandler, onEllipsisClick } =\n useGetSubmenuHandlers(propsWithDefault);\n\n const gridLayout = useMemo(() => {\n const cols = ['auto'];\n if (secondaryLabel !== undefined) cols.push('min-content');\n cols.push('min-content');\n return cols;\n }, [secondaryLabel]);\n const { globalAttributes, xStyledProps } = useGetGlobalsAndXStyledProps(\n propsWithDefault,\n props.original\n ? {\n onMouseEnter: onMouseEnterHandler,\n onMouseLeave: onMouseLeaveHandler,\n onMouseDown: onMouseDownHandler,\n }\n : undefined,\n );\n // We need to exclude minWidth because we have already used it as a key value for the dropdown menu options.\n // i dont think there is a workaround for this at the moment\n // we need a complete refactor in how we build the submenus\n const { minWidth: customMinWidth, ...restXStyled } = xStyledProps;\n const { onMouseLeave, onMouseEnter, onMouseDown, ...restGlobalAttributes } = globalAttributes;\n\n return (\n <Dropdown\n isOpened={delayedIsOpened}\n options={options ?? []}\n onOptionClick={onOptionClick}\n startPlacementPreference=\"right-start\"\n placementOrderPreference={['right-start', 'right-end', 'left-start', 'left-end']}\n selectedOptions={selectedOptions}\n openedSubmenus={openedSubmenus}\n onSubmenuToggle={onSubmenuToggle}\n onKeyDown={onKeyDown}\n onClickOutside={onClickOutside}\n customOffset={[-4, 1]}\n wrapperStyles={{ ...wrapperStyles, w: '100%' }}\n as=\"li\"\n role=\"option\"\n minWidth={minWidth}\n maxHeight={maxHeight}\n aria-selected={isSubmenuOpened}\n aria-describedby={`dropdownmenu-submenu-${dsId}`}\n data-popover-label={label}\n id={dsId}\n onMouseEnter={onMouseEnterHandler}\n onMouseLeave={onMouseLeaveHandler}\n onMouseDown={onMouseDownHandler}\n {...restGlobalAttributes}\n {...restXStyled}\n >\n <StyledGlobalMenuItemWrapper\n pr={0}\n isSelected={isSubmenuOpened}\n isActive={isActive}\n onMouseEnter={onMouseEnterHandler}\n onMouseLeave={onMouseLeaveHandler}\n innerRef={innerRef}\n disabled={disabled}\n pl={optionsShouldHavePadding ? 40 : 16}\n as={'div' as keyof JSX.IntrinsicElements}\n data-type=\"submenu\"\n >\n {Render !== undefined ? (\n <Render {...propsWithDefault} />\n ) : (\n <StyledContentWrapper cols={gridLayout} gutter=\"xxs\" alignItems=\"center\">\n <StyleMenuItemLabel>{label}</StyleMenuItemLabel>\n {secondaryLabel !== undefined && (\n <StyleMenuItemSecondaryLabel>{secondaryLabel}</StyleMenuItemSecondaryLabel>\n )}\n <StyledIconContainer>\n <StyledVerticalSeparator />\n {rightAddon === 'ellipsis' ? (\n <StyledEllipsisButton tabIndex={-1} onClick={onEllipsisClick} disabled={disabled}>\n <MoreOptionsVert\n className=\"ds-dropdown-menu-v2-more-options\"\n color={disabled ? ['neutral', '500'] : ['brand-primary', '600']}\n size=\"s\"\n />\n </StyledEllipsisButton>\n ) : (\n <ChevronRight color={disabled ? ['neutral', '500'] : ['brand-primary', '600']} size=\"s\" />\n )}\n </StyledIconContainer>\n </StyledContentWrapper>\n )}\n <span id={`dropdownmenu-submenu-${dsId}`} style={{ display: 'none' }}>\n submenu, to open this submenu press the Right Arrow key\n </span>\n </StyledGlobalMenuItemWrapper>\n </Dropdown>\n );\n};\n\nSubmenuItem.displayName = `${DSMenuItemName}Submenu`;\nconst SubmenuItemWithSchema = describe(SubmenuItem);\nSubmenuItemWithSchema.propTypes = itemProps;\n\nexport { SubmenuItem, SubmenuItemWithSchema };\n"],
5
- "mappings": "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",
6
- "names": []
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export {\n // legacy exports where renaming like this, keeping around for backwards compatibility.\n DSMenuItemsSubmenu as SubmenuItem,\n DSMenuItemsSubmenuWithSchema as SubmenuItemWithSchema,\n // the \"current\" correctly named export\n DSMenuItemsSubmenu,\n DSMenuItemsSubmenuWithSchema,\n type DSMenuItemsSubmenuT,\n} from '@elliemae/ds-menu-items-submenu';\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB;AAAA,EAEwB;AAAA,EACU;AAAA,EAEhC,sBAAAA;AAAA,EACA,gCAAAC;AAAA,OAEK;",
6
+ "names": ["DSMenuItemsSubmenu", "DSMenuItemsSubmenuWithSchema"]
7
7
  }
@@ -1,10 +1,94 @@
1
1
  import * as React from "react";
2
- export * from "./ActionMenuItem/index.js";
3
- export * from "./MultiMenuItem/index.js";
4
- export * from "./Section/index.js";
5
- export * from "./Separator/index.js";
6
- export * from "./SingleMenuItem/index.js";
7
- export * from "./SingleWithSubmenuItem/index.js";
8
- export * from "./SubmenuItem/index.js";
9
- export * from "./SkeletonMenuItem/index.js";
2
+ import {
3
+ ActionMenuItem,
4
+ DSActionMenuItem,
5
+ ActionMenuItemWithSchema,
6
+ DSMenuItemsAction,
7
+ DSMenuItemsActionWithSchema
8
+ } from "./ActionMenuItem/index.js";
9
+ import {
10
+ MultiMenuItem,
11
+ DSMultiMenuItem,
12
+ MultiMenuItemWithSchema,
13
+ DSMenuItemsMulti,
14
+ DSMenuItemsMultiWithSchema
15
+ } from "./MultiMenuItem/index.js";
16
+ import {
17
+ Section,
18
+ DSSectionMenuItem,
19
+ SectionWithSchema,
20
+ DSMenuItemsSection,
21
+ DSMenuItemsSectionWithSchema
22
+ } from "./Section/index.js";
23
+ import {
24
+ Separator,
25
+ DSSeparatorMenuItem,
26
+ SeparatorWithSchema,
27
+ DSMenuItemsSeparator,
28
+ DSMenuItemsSeparatorWithSchema
29
+ } from "./Separator/index.js";
30
+ import {
31
+ SingleMenuItem,
32
+ DSSingleMenuItem,
33
+ SingleMenuItemWithSchema,
34
+ DSMenuItemsSingle,
35
+ DSMenuItemsSingleWithSchema
36
+ } from "./SingleMenuItem/index.js";
37
+ import {
38
+ SingleWithSubmenuItem,
39
+ SingleWithSubmenuItemWithSchema,
40
+ DSMenuItemsSingleWithSubmenu,
41
+ DSMenuItemsSingleWithSubmenuWithSchema
42
+ } from "./SingleWithSubmenuItem/index.js";
43
+ import {
44
+ SkeletonMenuItem,
45
+ DSSkeletonMenuItem,
46
+ DSMenuItemsSkeleton,
47
+ DSMenuItemsSkeletonWithSchema
48
+ } from "./SkeletonMenuItem/index.js";
49
+ import {
50
+ SubmenuItem,
51
+ SubmenuItemWithSchema,
52
+ DSMenuItemsSubmenu,
53
+ DSMenuItemsSubmenuWithSchema
54
+ } from "./SubmenuItem/index.js";
55
+ export {
56
+ ActionMenuItem,
57
+ ActionMenuItemWithSchema,
58
+ DSActionMenuItem,
59
+ DSMenuItemsAction,
60
+ DSMenuItemsActionWithSchema,
61
+ DSMenuItemsMulti,
62
+ DSMenuItemsMultiWithSchema,
63
+ DSMenuItemsSection,
64
+ DSMenuItemsSectionWithSchema,
65
+ DSMenuItemsSeparator,
66
+ DSMenuItemsSeparatorWithSchema,
67
+ DSMenuItemsSingle,
68
+ DSMenuItemsSingleWithSchema,
69
+ DSMenuItemsSingleWithSubmenu,
70
+ DSMenuItemsSingleWithSubmenuWithSchema,
71
+ DSMenuItemsSkeleton,
72
+ DSMenuItemsSkeletonWithSchema,
73
+ DSMenuItemsSubmenu,
74
+ DSMenuItemsSubmenuWithSchema,
75
+ DSMultiMenuItem,
76
+ DSSectionMenuItem,
77
+ DSSeparatorMenuItem,
78
+ DSSingleMenuItem,
79
+ DSSkeletonMenuItem,
80
+ MultiMenuItem,
81
+ MultiMenuItemWithSchema,
82
+ Section,
83
+ SectionWithSchema,
84
+ Separator,
85
+ SeparatorWithSchema,
86
+ SingleMenuItem,
87
+ SingleMenuItemWithSchema,
88
+ SingleWithSubmenuItem,
89
+ SingleWithSubmenuItemWithSchema,
90
+ SkeletonMenuItem,
91
+ SubmenuItem,
92
+ SubmenuItemWithSchema
93
+ };
10
94
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './ActionMenuItem/index.js';\nexport * from './MultiMenuItem/index.js';\nexport * from './Section/index.js';\nexport * from './Separator/index.js';\nexport * from './SingleMenuItem/index.js';\nexport * from './SingleWithSubmenuItem/index.js';\nexport * from './SubmenuItem/index.js';\nexport * from './SkeletonMenuItem/index.js';\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export {\n ActionMenuItem,\n DSActionMenuItem,\n ActionMenuItemWithSchema,\n DSMenuItemsAction,\n DSMenuItemsActionWithSchema,\n type DSMenuItemsActionT,\n} from './ActionMenuItem/index.js';\nexport {\n MultiMenuItem,\n DSMultiMenuItem,\n MultiMenuItemWithSchema,\n DSMenuItemsMulti,\n DSMenuItemsMultiWithSchema,\n type DSMenuItemsMultiT,\n} from './MultiMenuItem/index.js';\nexport {\n Section,\n DSSectionMenuItem,\n SectionWithSchema,\n DSMenuItemsSection,\n DSMenuItemsSectionWithSchema,\n type DSMenuItemsSectionT,\n} from './Section/index.js';\nexport {\n Separator,\n DSSeparatorMenuItem,\n SeparatorWithSchema,\n DSMenuItemsSeparator,\n DSMenuItemsSeparatorWithSchema,\n type DSMenuItemsSeparatorT,\n} from './Separator/index.js';\nexport {\n SingleMenuItem,\n DSSingleMenuItem,\n SingleMenuItemWithSchema,\n DSMenuItemsSingle,\n DSMenuItemsSingleWithSchema,\n type DSMenuItemsSingleT,\n} from './SingleMenuItem/index.js';\nexport {\n SingleWithSubmenuItem,\n SingleWithSubmenuItemWithSchema,\n DSMenuItemsSingleWithSubmenu,\n DSMenuItemsSingleWithSubmenuWithSchema,\n type DSMenuItemsSingleWithSubmenuT,\n} from './SingleWithSubmenuItem/index.js';\nexport {\n SkeletonMenuItem,\n DSSkeletonMenuItem,\n DSMenuItemsSkeleton,\n DSMenuItemsSkeletonWithSchema,\n type DSMenuItemsSkeletonT,\n} from './SkeletonMenuItem/index.js';\nexport {\n SubmenuItem,\n SubmenuItemWithSchema,\n DSMenuItemsSubmenu,\n DSMenuItemsSubmenuWithSchema,\n type DSMenuItemsSubmenuT,\n} from './SubmenuItem/index.js';\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,7 @@
1
1
  import * as React from "react";
2
- export * from "./constants.js";
2
+ import { DSMenuItemName, DSMenuItemSlots } from "@elliemae/ds-menu-items-commons";
3
+ export {
4
+ DSMenuItemName,
5
+ DSMenuItemSlots
6
+ };
3
7
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/exported-related/index.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './constants.js';\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,cAAc;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { DSMenuItemName, DSMenuItemSlots } from '@elliemae/ds-menu-items-commons';\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,gBAAgB,uBAAuB;",
6
6
  "names": []
7
7
  }
package/dist/esm/index.js CHANGED
@@ -1,5 +1,79 @@
1
1
  import * as React from "react";
2
- export * from "./components/index.js";
3
- export * from "./exported-related/index.js";
4
- export * from "./TempTreeviewItem.js";
2
+ import {
3
+ ActionMenuItem,
4
+ DSActionMenuItem,
5
+ ActionMenuItemWithSchema,
6
+ DSMenuItemsAction,
7
+ DSMenuItemsActionWithSchema,
8
+ MultiMenuItem,
9
+ DSMultiMenuItem,
10
+ MultiMenuItemWithSchema,
11
+ DSMenuItemsMulti,
12
+ DSMenuItemsMultiWithSchema,
13
+ Section,
14
+ DSSectionMenuItem,
15
+ SectionWithSchema,
16
+ DSMenuItemsSection,
17
+ DSMenuItemsSectionWithSchema,
18
+ Separator,
19
+ DSSeparatorMenuItem,
20
+ SeparatorWithSchema,
21
+ DSMenuItemsSeparator,
22
+ DSMenuItemsSeparatorWithSchema,
23
+ SingleMenuItem,
24
+ DSSingleMenuItem,
25
+ SingleMenuItemWithSchema,
26
+ DSMenuItemsSingle,
27
+ DSMenuItemsSingleWithSchema,
28
+ SingleWithSubmenuItem,
29
+ SingleWithSubmenuItemWithSchema,
30
+ DSMenuItemsSingleWithSubmenu,
31
+ DSMenuItemsSingleWithSubmenuWithSchema,
32
+ SkeletonMenuItem,
33
+ DSSkeletonMenuItem,
34
+ DSMenuItemsSkeleton,
35
+ DSMenuItemsSkeletonWithSchema,
36
+ SubmenuItem,
37
+ SubmenuItemWithSchema
38
+ } from "./components/index.js";
39
+ import { DSMenuItemName, DSMenuItemSlots } from "./exported-related/index.js";
40
+ export {
41
+ ActionMenuItem,
42
+ ActionMenuItemWithSchema,
43
+ DSActionMenuItem,
44
+ DSMenuItemName,
45
+ DSMenuItemSlots,
46
+ DSMenuItemsAction,
47
+ DSMenuItemsActionWithSchema,
48
+ DSMenuItemsMulti,
49
+ DSMenuItemsMultiWithSchema,
50
+ DSMenuItemsSection,
51
+ DSMenuItemsSectionWithSchema,
52
+ DSMenuItemsSeparator,
53
+ DSMenuItemsSeparatorWithSchema,
54
+ DSMenuItemsSingle,
55
+ DSMenuItemsSingleWithSchema,
56
+ DSMenuItemsSingleWithSubmenu,
57
+ DSMenuItemsSingleWithSubmenuWithSchema,
58
+ DSMenuItemsSkeleton,
59
+ DSMenuItemsSkeletonWithSchema,
60
+ DSMultiMenuItem,
61
+ DSSectionMenuItem,
62
+ DSSeparatorMenuItem,
63
+ DSSingleMenuItem,
64
+ DSSkeletonMenuItem,
65
+ MultiMenuItem,
66
+ MultiMenuItemWithSchema,
67
+ Section,
68
+ SectionWithSchema,
69
+ Separator,
70
+ SeparatorWithSchema,
71
+ SingleMenuItem,
72
+ SingleMenuItemWithSchema,
73
+ SingleWithSubmenuItem,
74
+ SingleWithSubmenuItemWithSchema,
75
+ SkeletonMenuItem,
76
+ SubmenuItem,
77
+ SubmenuItemWithSchema
78
+ };
5
79
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type {} from '@xstyled/system';\nimport type {} from '@xstyled/util';\n\nexport * from './components/index.js';\nexport * from './exported-related/index.js';\nexport * from './TempTreeviewItem.js';\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACGvB,cAAc;AACd,cAAc;AACd,cAAc;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type {} from '@xstyled/system';\nimport type {} from '@xstyled/util';\n\nexport {\n // legacy names\n ActionMenuItem,\n DSActionMenuItem,\n ActionMenuItemWithSchema,\n // correct convention names\n DSMenuItemsAction,\n DSMenuItemsActionWithSchema,\n type DSMenuItemsActionT,\n\n // legacy names\n MultiMenuItem,\n DSMultiMenuItem,\n MultiMenuItemWithSchema,\n // correct convention names\n DSMenuItemsMulti,\n DSMenuItemsMultiWithSchema,\n type DSMenuItemsMultiT,\n\n // legacy names\n Section,\n DSSectionMenuItem,\n SectionWithSchema,\n // correct convention names\n DSMenuItemsSection,\n DSMenuItemsSectionWithSchema,\n type DSMenuItemsSectionT,\n\n // legacy names\n Separator,\n DSSeparatorMenuItem,\n SeparatorWithSchema,\n // correct convention names\n DSMenuItemsSeparator,\n DSMenuItemsSeparatorWithSchema,\n type DSMenuItemsSeparatorT,\n\n // legacy names\n SingleMenuItem,\n DSSingleMenuItem,\n SingleMenuItemWithSchema,\n // correct convention names\n DSMenuItemsSingle,\n DSMenuItemsSingleWithSchema,\n type DSMenuItemsSingleT,\n\n // legacy names\n SingleWithSubmenuItem,\n SingleWithSubmenuItemWithSchema,\n // correct convention names\n DSMenuItemsSingleWithSubmenu,\n DSMenuItemsSingleWithSubmenuWithSchema,\n type DSMenuItemsSingleWithSubmenuT,\n\n // legacy names\n SkeletonMenuItem,\n DSSkeletonMenuItem,\n // correct convention names\n DSMenuItemsSkeleton,\n DSMenuItemsSkeletonWithSchema,\n type DSMenuItemsSkeletonT,\n\n // legacy names\n SubmenuItem,\n SubmenuItemWithSchema,\n // correct convention names\n} from './components/index.js';\nexport { DSMenuItemName, DSMenuItemSlots } from './exported-related/index.js';\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACGvB;AAAA,EAEE;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EAIA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EAIA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EAIA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EAIA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EAIA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EAIA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EAIA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,gBAAgB,uBAAuB;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1 @@
1
- import React from 'react';
2
- import type { DSMenuItemT } from '../../react-desc-prop-types.js';
3
- declare const ActionMenuItem: React.ComponentType<DSMenuItemT.ActionProps>;
4
- declare const ActionMenuItemWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSMenuItemT.ActionProps>;
5
- export { ActionMenuItem, ActionMenuItem as DSActionMenuItem, ActionMenuItemWithSchema };
1
+ export { DSMenuItemsAction as ActionMenuItem, DSMenuItemsAction as DSActionMenuItem, DSMenuItemsActionWithSchema as ActionMenuItemWithSchema, DSMenuItemsAction, DSMenuItemsActionWithSchema, type DSMenuItemsActionT, } from '@elliemae/ds-menu-items-action';
@@ -1,5 +1 @@
1
- import React from 'react';
2
- import type { DSMenuItemT } from '../../react-desc-prop-types.js';
3
- declare const MultiMenuItem: React.ComponentType<DSMenuItemT.MultiProps>;
4
- declare const MultiMenuItemWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSMenuItemT.MultiProps>;
5
- export { MultiMenuItem, MultiMenuItem as DSMultiMenuItem, MultiMenuItemWithSchema };
1
+ export { DSMenuItemsMulti as MultiMenuItem, DSMenuItemsMulti as DSMultiMenuItem, DSMenuItemsMultiWithSchema as MultiMenuItemWithSchema, DSMenuItemsMulti, DSMenuItemsMultiWithSchema, type DSMenuItemsMultiT, } from '@elliemae/ds-menu-items-multi';
@@ -1,5 +1 @@
1
- import React from 'react';
2
- import type { DSMenuItemT } from '../../react-desc-prop-types.js';
3
- declare const Section: React.ComponentType<DSMenuItemT.SectionProps>;
4
- declare const SectionWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSMenuItemT.SectionProps>;
5
- export { Section, Section as DSSectionMenuItem, SectionWithSchema };
1
+ export { DSMenuItemsSection as Section, DSMenuItemsSection as DSSectionMenuItem, DSMenuItemsSectionWithSchema as SectionWithSchema, DSMenuItemsSection, DSMenuItemsSectionWithSchema, type DSMenuItemsSectionT, } from '@elliemae/ds-menu-items-section';
@@ -1,5 +1 @@
1
- import React from 'react';
2
- import type { DSMenuItemT } from '../../react-desc-prop-types.js';
3
- declare const Separator: React.ComponentType<DSMenuItemT.SeparatorProps>;
4
- declare const SeparatorWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSMenuItemT.SeparatorProps>;
5
- export { Separator, Separator as DSSeparatorMenuItem, SeparatorWithSchema };
1
+ export { DSMenuItemsSeparator as Separator, DSMenuItemsSeparator as DSSeparatorMenuItem, DSMenuItemsSeparatorWithSchema as SeparatorWithSchema, DSMenuItemsSeparator, DSMenuItemsSeparatorWithSchema, type DSMenuItemsSeparatorT, } from '@elliemae/ds-menu-items-separator';
@@ -1,5 +1 @@
1
- import React from 'react';
2
- import type { DSMenuItemT } from '../../react-desc-prop-types.js';
3
- declare const SingleMenuItem: React.ComponentType<DSMenuItemT.SingleProps>;
4
- declare const SingleMenuItemWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSMenuItemT.SingleProps>;
5
- export { SingleMenuItem, SingleMenuItem as DSSingleMenuItem, SingleMenuItemWithSchema };
1
+ export { DSMenuItemsSingle as SingleMenuItem, DSMenuItemsSingle as DSSingleMenuItem, DSMenuItemsSingleWithSchema as SingleMenuItemWithSchema, DSMenuItemsSingle, DSMenuItemsSingleWithSchema, type DSMenuItemsSingleT, } from '@elliemae/ds-menu-items-single';
@@ -1,5 +1 @@
1
- import React from 'react';
2
- import type { DSMenuItemT } from '../../react-desc-prop-types.js';
3
- declare const SingleWithSubmenuItem: React.ComponentType<DSMenuItemT.SingleWithSubmenuProps>;
4
- declare const SingleWithSubmenuItemWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSMenuItemT.SingleWithSubmenuProps>;
5
- export { SingleWithSubmenuItem, SingleWithSubmenuItemWithSchema };
1
+ export { DSMenuItemsSingleWithSubmenu as SingleWithSubmenuItem, DSMenuItemsSingleWithSubmenuWithSchema as SingleWithSubmenuItemWithSchema, DSMenuItemsSingleWithSubmenu, DSMenuItemsSingleWithSubmenuWithSchema, type DSMenuItemsSingleWithSubmenuT, } from '@elliemae/ds-menu-items-single-with-submenu';
@@ -1,4 +1 @@
1
- import React from 'react';
2
- import { type DSMenuItemT } from '../../react-desc-prop-types.js';
3
- declare const SkeletonMenuItem: React.ComponentType<DSMenuItemT.SkeletonProps>;
4
- export { SkeletonMenuItem, SkeletonMenuItem as DSSkeletonMenuItem };
1
+ export { DSMenuItemsSkeleton as SkeletonMenuItem, DSMenuItemsSkeleton as DSSkeletonMenuItem, DSMenuItemsSkeleton, DSMenuItemsSkeletonWithSchema, type DSMenuItemsSkeletonT, } from '@elliemae/ds-menu-items-skeleton';
@@ -1,5 +1 @@
1
- import React from 'react';
2
- import type { DSMenuItemT } from '../../react-desc-prop-types.js';
3
- declare const SubmenuItem: React.ComponentType<DSMenuItemT.SubmenuProps>;
4
- declare const SubmenuItemWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").DocumentedReactComponent<DSMenuItemT.SubmenuProps>;
5
- export { SubmenuItem, SubmenuItemWithSchema };
1
+ export { DSMenuItemsSubmenu as SubmenuItem, DSMenuItemsSubmenuWithSchema as SubmenuItemWithSchema, DSMenuItemsSubmenu, DSMenuItemsSubmenuWithSchema, type DSMenuItemsSubmenuT, } from '@elliemae/ds-menu-items-submenu';
@@ -1,8 +1,8 @@
1
- export * from './ActionMenuItem/index.js';
2
- export * from './MultiMenuItem/index.js';
3
- export * from './Section/index.js';
4
- export * from './Separator/index.js';
5
- export * from './SingleMenuItem/index.js';
6
- export * from './SingleWithSubmenuItem/index.js';
7
- export * from './SubmenuItem/index.js';
8
- export * from './SkeletonMenuItem/index.js';
1
+ export { ActionMenuItem, DSActionMenuItem, ActionMenuItemWithSchema, DSMenuItemsAction, DSMenuItemsActionWithSchema, type DSMenuItemsActionT, } from './ActionMenuItem/index.js';
2
+ export { MultiMenuItem, DSMultiMenuItem, MultiMenuItemWithSchema, DSMenuItemsMulti, DSMenuItemsMultiWithSchema, type DSMenuItemsMultiT, } from './MultiMenuItem/index.js';
3
+ export { Section, DSSectionMenuItem, SectionWithSchema, DSMenuItemsSection, DSMenuItemsSectionWithSchema, type DSMenuItemsSectionT, } from './Section/index.js';
4
+ export { Separator, DSSeparatorMenuItem, SeparatorWithSchema, DSMenuItemsSeparator, DSMenuItemsSeparatorWithSchema, type DSMenuItemsSeparatorT, } from './Separator/index.js';
5
+ export { SingleMenuItem, DSSingleMenuItem, SingleMenuItemWithSchema, DSMenuItemsSingle, DSMenuItemsSingleWithSchema, type DSMenuItemsSingleT, } from './SingleMenuItem/index.js';
6
+ export { SingleWithSubmenuItem, SingleWithSubmenuItemWithSchema, DSMenuItemsSingleWithSubmenu, DSMenuItemsSingleWithSubmenuWithSchema, type DSMenuItemsSingleWithSubmenuT, } from './SingleWithSubmenuItem/index.js';
7
+ export { SkeletonMenuItem, DSSkeletonMenuItem, DSMenuItemsSkeleton, DSMenuItemsSkeletonWithSchema, type DSMenuItemsSkeletonT, } from './SkeletonMenuItem/index.js';
8
+ export { SubmenuItem, SubmenuItemWithSchema, DSMenuItemsSubmenu, DSMenuItemsSubmenuWithSchema, type DSMenuItemsSubmenuT, } from './SubmenuItem/index.js';
@@ -1 +1 @@
1
- export * from './constants.js';
1
+ export { DSMenuItemName, DSMenuItemSlots } from '@elliemae/ds-menu-items-commons';
@@ -1,3 +1,2 @@
1
- export * from './components/index.js';
2
- export * from './exported-related/index.js';
3
- export * from './TempTreeviewItem.js';
1
+ export { ActionMenuItem, DSActionMenuItem, ActionMenuItemWithSchema, DSMenuItemsAction, DSMenuItemsActionWithSchema, type DSMenuItemsActionT, MultiMenuItem, DSMultiMenuItem, MultiMenuItemWithSchema, DSMenuItemsMulti, DSMenuItemsMultiWithSchema, type DSMenuItemsMultiT, Section, DSSectionMenuItem, SectionWithSchema, DSMenuItemsSection, DSMenuItemsSectionWithSchema, type DSMenuItemsSectionT, Separator, DSSeparatorMenuItem, SeparatorWithSchema, DSMenuItemsSeparator, DSMenuItemsSeparatorWithSchema, type DSMenuItemsSeparatorT, SingleMenuItem, DSSingleMenuItem, SingleMenuItemWithSchema, DSMenuItemsSingle, DSMenuItemsSingleWithSchema, type DSMenuItemsSingleT, SingleWithSubmenuItem, SingleWithSubmenuItemWithSchema, DSMenuItemsSingleWithSubmenu, DSMenuItemsSingleWithSubmenuWithSchema, type DSMenuItemsSingleWithSubmenuT, SkeletonMenuItem, DSSkeletonMenuItem, DSMenuItemsSkeleton, DSMenuItemsSkeletonWithSchema, type DSMenuItemsSkeletonT, SubmenuItem, SubmenuItemWithSchema, } from './components/index.js';
2
+ export { DSMenuItemName, DSMenuItemSlots } from './exported-related/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-menu-items",
3
- "version": "3.27.0-next.9",
3
+ "version": "3.27.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Menu Items",
6
6
  "files": [
@@ -37,21 +37,20 @@
37
37
  "dependencies": {
38
38
  "@xstyled/system": "~3.7.3",
39
39
  "@xstyled/util": "3.7.0",
40
- "@elliemae/ds-form-checkbox": "3.27.0-next.9",
41
- "@elliemae/ds-form-radio": "3.27.0-next.9",
42
- "@elliemae/ds-grid": "3.27.0-next.9",
43
- "@elliemae/ds-icons": "3.27.0-next.9",
44
- "@elliemae/ds-props-helpers": "3.27.0-next.9",
45
- "@elliemae/ds-separator": "3.27.0-next.9",
46
- "@elliemae/ds-skeleton": "3.27.0-next.9",
47
- "@elliemae/ds-system": "3.27.0-next.9",
48
- "@elliemae/ds-typography": "3.27.0-next.9",
49
- "@elliemae/ds-button-v2": "3.27.0-next.9"
40
+ "@elliemae/ds-menu-items-action": "3.27.0",
41
+ "@elliemae/ds-menu-items-commons": "3.27.0",
42
+ "@elliemae/ds-menu-items-multi": "3.27.0",
43
+ "@elliemae/ds-menu-items-section": "3.27.0",
44
+ "@elliemae/ds-menu-items-separator": "3.27.0",
45
+ "@elliemae/ds-menu-items-single": "3.27.0",
46
+ "@elliemae/ds-menu-items-skeleton": "3.27.0",
47
+ "@elliemae/ds-menu-items-submenu": "3.27.0",
48
+ "@elliemae/ds-menu-items-single-with-submenu": "3.27.0"
50
49
  },
51
50
  "devDependencies": {
52
51
  "@elliemae/pui-cli": "~9.0.0-next.31",
53
52
  "styled-components": "~5.3.9",
54
- "@elliemae/ds-monorepo-devops": "3.27.0-next.9"
53
+ "@elliemae/ds-monorepo-devops": "3.27.0"
55
54
  },
56
55
  "peerDependencies": {
57
56
  "lodash": "^4.17.21",