@elliemae/ds-dropdownmenu-v2 3.33.0-next.2 → 3.33.0-next.4

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.
@@ -29,6 +29,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
29
29
  var constants_exports = {};
30
30
  __export(constants_exports, {
31
31
  DSDropdownMenuName: () => DSDropdownMenuName,
32
+ DSDropdownMenuPlacements: () => DSDropdownMenuPlacements,
32
33
  DSDropdownMenuSlots: () => DSDropdownMenuSlots
33
34
  });
34
35
  module.exports = __toCommonJS(constants_exports);
@@ -42,4 +43,18 @@ const DSDropdownMenuSlots = {
42
43
  OPTION_LIST_WRAPPER: "option-list-wrapper",
43
44
  EMPTY_STATE_WRAPPER: "empty-state-wrapper"
44
45
  };
46
+ const DSDropdownMenuPlacements = {
47
+ TOP_START: "top-start",
48
+ TOP: "top",
49
+ TOP_END: "top-end",
50
+ RIGHT_START: "right-start",
51
+ RIGHT: "right",
52
+ RIGHT_END: "right-end",
53
+ BOTTOM_END: "bottom-end",
54
+ BOTTOM: "bottom",
55
+ BOTTOM_START: "bottom-start",
56
+ LEFT_END: "left-end",
57
+ LEFT: "left",
58
+ LEFT_START: "left-start"
59
+ };
45
60
  //# sourceMappingURL=constants.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/exported-related/constants.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export const DSDropdownMenuName = 'DSDropdownMenu';\n\nexport const DSDropdownMenuSlots = {\n ROOT: 'root',\n LOADING_WRAPPER: 'loading-wrapper',\n LISTBOX_WRAPPER: 'listbox-wrapper',\n HEADER_WRAPPER: 'header-wrapper',\n OPTION_LIST_WRAPPER: 'option-list-wrapper',\n EMPTY_STATE_WRAPPER: 'empty-state-wrapper',\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,qBAAqB;AAE3B,MAAM,sBAAsB;AAAA,EACjC,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;",
4
+ "sourcesContent": ["export const DSDropdownMenuName = 'DSDropdownMenu';\n\nexport const DSDropdownMenuSlots = {\n ROOT: 'root',\n LOADING_WRAPPER: 'loading-wrapper',\n LISTBOX_WRAPPER: 'listbox-wrapper',\n HEADER_WRAPPER: 'header-wrapper',\n OPTION_LIST_WRAPPER: 'option-list-wrapper',\n EMPTY_STATE_WRAPPER: 'empty-state-wrapper',\n};\n\nexport const DSDropdownMenuPlacements = {\n TOP_START: 'top-start' as const,\n TOP: 'top' as const,\n TOP_END: 'top-end' as const,\n RIGHT_START: 'right-start' as const,\n RIGHT: 'right' as const,\n RIGHT_END: 'right-end' as const,\n BOTTOM_END: 'bottom-end' as const,\n BOTTOM: 'bottom' as const,\n BOTTOM_START: 'bottom-start' as const,\n LEFT_END: 'left-end' as const,\n LEFT: 'left' as const,\n LEFT_START: 'left-start' as const,\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAhB,MAAM,qBAAqB;AAE3B,MAAM,sBAAsB;AAAA,EACjC,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;AAEO,MAAM,2BAA2B;AAAA,EACtC,WAAW;AAAA,EACX,KAAK;AAAA,EACL,SAAS;AAAA,EACT,aAAa;AAAA,EACb,OAAO;AAAA,EACP,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,UAAU;AAAA,EACV,MAAM;AAAA,EACN,YAAY;AACd;",
6
6
  "names": []
7
7
  }
@@ -29,6 +29,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
29
29
  var exported_related_exports = {};
30
30
  __export(exported_related_exports, {
31
31
  DSDropdownMenuName: () => import_constants.DSDropdownMenuName,
32
+ DSDropdownMenuPlacements: () => import_constants.DSDropdownMenuPlacements,
32
33
  DSDropdownMenuSlots: () => import_constants.DSDropdownMenuSlots
33
34
  });
34
35
  module.exports = __toCommonJS(exported_related_exports);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/exported-related/index.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["export { DSDropdownMenuName, DSDropdownMenuSlots } from './constants.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAwD;",
4
+ "sourcesContent": ["export { DSDropdownMenuName, DSDropdownMenuSlots, DSDropdownMenuPlacements } from './constants.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAkF;",
6
6
  "names": []
7
7
  }
package/dist/cjs/index.js CHANGED
@@ -29,6 +29,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
29
29
  var src_exports = {};
30
30
  __export(src_exports, {
31
31
  DSDropdownMenuName: () => import_exported_related.DSDropdownMenuName,
32
+ DSDropdownMenuPlacements: () => import_exported_related.DSDropdownMenuPlacements,
32
33
  DSDropdownMenuSlots: () => import_exported_related.DSDropdownMenuSlots,
33
34
  DSDropdownMenuV2: () => import_DSDropdownMenu.DSDropdownMenuV2,
34
35
  DSDropdownMenuV2WithSchema: () => import_DSDropdownMenu.DSDropdownMenuV2WithSchema,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import type {} from '@xstyled/system';\nexport type { DSDropdownMenuT } from './react-desc-prop-types.js';\n\nexport { DSDropdownMenuV2, DSDropdownMenuV2WithSchema } from './DSDropdownMenu.js';\nexport { DSDropdownMenuName, DSDropdownMenuSlots } from './exported-related/index.js';\nexport {\n actionOptionSchema,\n singleOptionSchema,\n checkboxOptionSchema,\n submenuOptionSchema,\n singleWithSubmenuOptionSchema,\n separatorOptionSchema,\n sectionOptionSchema,\n optionTypesSchemas,\n} from './react-desc-prop-types.js';\nexport { DropdownMenuDataTestId } from './DropdownMenuDataTestId.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,4BAA6D;AAC7D,8BAAwD;AACxD,mCASO;AACP,oCAAuC;",
4
+ "sourcesContent": ["import type {} from '@xstyled/system';\nexport type { DSDropdownMenuT } from './react-desc-prop-types.js';\n\nexport { DSDropdownMenuV2, DSDropdownMenuV2WithSchema } from './DSDropdownMenu.js';\nexport { DSDropdownMenuName, DSDropdownMenuSlots, DSDropdownMenuPlacements } from './exported-related/index.js';\nexport {\n actionOptionSchema,\n singleOptionSchema,\n checkboxOptionSchema,\n submenuOptionSchema,\n singleWithSubmenuOptionSchema,\n separatorOptionSchema,\n sectionOptionSchema,\n optionTypesSchemas,\n} from './react-desc-prop-types.js';\nexport { DropdownMenuDataTestId } from './DropdownMenuDataTestId.js';\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADGvB,4BAA6D;AAC7D,8BAAkF;AAClF,mCASO;AACP,oCAAuC;",
6
6
  "names": []
7
7
  }
@@ -8,8 +8,23 @@ const DSDropdownMenuSlots = {
8
8
  OPTION_LIST_WRAPPER: "option-list-wrapper",
9
9
  EMPTY_STATE_WRAPPER: "empty-state-wrapper"
10
10
  };
11
+ const DSDropdownMenuPlacements = {
12
+ TOP_START: "top-start",
13
+ TOP: "top",
14
+ TOP_END: "top-end",
15
+ RIGHT_START: "right-start",
16
+ RIGHT: "right",
17
+ RIGHT_END: "right-end",
18
+ BOTTOM_END: "bottom-end",
19
+ BOTTOM: "bottom",
20
+ BOTTOM_START: "bottom-start",
21
+ LEFT_END: "left-end",
22
+ LEFT: "left",
23
+ LEFT_START: "left-start"
24
+ };
11
25
  export {
12
26
  DSDropdownMenuName,
27
+ DSDropdownMenuPlacements,
13
28
  DSDropdownMenuSlots
14
29
  };
15
30
  //# sourceMappingURL=constants.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/exported-related/constants.ts"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DSDropdownMenuName = 'DSDropdownMenu';\n\nexport const DSDropdownMenuSlots = {\n ROOT: 'root',\n LOADING_WRAPPER: 'loading-wrapper',\n LISTBOX_WRAPPER: 'listbox-wrapper',\n HEADER_WRAPPER: 'header-wrapper',\n OPTION_LIST_WRAPPER: 'option-list-wrapper',\n EMPTY_STATE_WRAPPER: 'empty-state-wrapper',\n};\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAhB,MAAM,qBAAqB;AAE3B,MAAM,sBAAsB;AAAA,EACjC,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const DSDropdownMenuName = 'DSDropdownMenu';\n\nexport const DSDropdownMenuSlots = {\n ROOT: 'root',\n LOADING_WRAPPER: 'loading-wrapper',\n LISTBOX_WRAPPER: 'listbox-wrapper',\n HEADER_WRAPPER: 'header-wrapper',\n OPTION_LIST_WRAPPER: 'option-list-wrapper',\n EMPTY_STATE_WRAPPER: 'empty-state-wrapper',\n};\n\nexport const DSDropdownMenuPlacements = {\n TOP_START: 'top-start' as const,\n TOP: 'top' as const,\n TOP_END: 'top-end' as const,\n RIGHT_START: 'right-start' as const,\n RIGHT: 'right' as const,\n RIGHT_END: 'right-end' as const,\n BOTTOM_END: 'bottom-end' as const,\n BOTTOM: 'bottom' as const,\n BOTTOM_START: 'bottom-start' as const,\n LEFT_END: 'left-end' as const,\n LEFT: 'left' as const,\n LEFT_START: 'left-start' as const,\n};\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAhB,MAAM,qBAAqB;AAE3B,MAAM,sBAAsB;AAAA,EACjC,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,qBAAqB;AACvB;AAEO,MAAM,2BAA2B;AAAA,EACtC,WAAW;AAAA,EACX,KAAK;AAAA,EACL,SAAS;AAAA,EACT,aAAa;AAAA,EACb,OAAO;AAAA,EACP,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,UAAU;AAAA,EACV,MAAM;AAAA,EACN,YAAY;AACd;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,8 @@
1
1
  import * as React from "react";
2
- import { DSDropdownMenuName, DSDropdownMenuSlots } from "./constants.js";
2
+ import { DSDropdownMenuName, DSDropdownMenuSlots, DSDropdownMenuPlacements } from "./constants.js";
3
3
  export {
4
4
  DSDropdownMenuName,
5
+ DSDropdownMenuPlacements,
5
6
  DSDropdownMenuSlots
6
7
  };
7
8
  //# 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 { DSDropdownMenuName, DSDropdownMenuSlots } from './constants.js';\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,oBAAoB,2BAA2B;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { DSDropdownMenuName, DSDropdownMenuSlots, DSDropdownMenuPlacements } from './constants.js';\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,oBAAoB,qBAAqB,gCAAgC;",
6
6
  "names": []
7
7
  }
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { DSDropdownMenuV2, DSDropdownMenuV2WithSchema } from "./DSDropdownMenu.js";
3
- import { DSDropdownMenuName, DSDropdownMenuSlots } from "./exported-related/index.js";
3
+ import { DSDropdownMenuName, DSDropdownMenuSlots, DSDropdownMenuPlacements } from "./exported-related/index.js";
4
4
  import {
5
5
  actionOptionSchema,
6
6
  singleOptionSchema,
@@ -14,6 +14,7 @@ import {
14
14
  import { DropdownMenuDataTestId } from "./DropdownMenuDataTestId.js";
15
15
  export {
16
16
  DSDropdownMenuName,
17
+ DSDropdownMenuPlacements,
17
18
  DSDropdownMenuSlots,
18
19
  DSDropdownMenuV2,
19
20
  DSDropdownMenuV2WithSchema,
@@ -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';\nexport type { DSDropdownMenuT } from './react-desc-prop-types.js';\n\nexport { DSDropdownMenuV2, DSDropdownMenuV2WithSchema } from './DSDropdownMenu.js';\nexport { DSDropdownMenuName, DSDropdownMenuSlots } from './exported-related/index.js';\nexport {\n actionOptionSchema,\n singleOptionSchema,\n checkboxOptionSchema,\n submenuOptionSchema,\n singleWithSubmenuOptionSchema,\n separatorOptionSchema,\n sectionOptionSchema,\n optionTypesSchemas,\n} from './react-desc-prop-types.js';\nexport { DropdownMenuDataTestId } from './DropdownMenuDataTestId.js';\n"],
5
- "mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,kBAAkB,kCAAkC;AAC7D,SAAS,oBAAoB,2BAA2B;AACxD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,8BAA8B;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import type {} from '@xstyled/system';\nexport type { DSDropdownMenuT } from './react-desc-prop-types.js';\n\nexport { DSDropdownMenuV2, DSDropdownMenuV2WithSchema } from './DSDropdownMenu.js';\nexport { DSDropdownMenuName, DSDropdownMenuSlots, DSDropdownMenuPlacements } from './exported-related/index.js';\nexport {\n actionOptionSchema,\n singleOptionSchema,\n checkboxOptionSchema,\n submenuOptionSchema,\n singleWithSubmenuOptionSchema,\n separatorOptionSchema,\n sectionOptionSchema,\n optionTypesSchemas,\n} from './react-desc-prop-types.js';\nexport { DropdownMenuDataTestId } from './DropdownMenuDataTestId.js';\n"],
5
+ "mappings": "AAAA,YAAY,WAAW;ACGvB,SAAS,kBAAkB,kCAAkC;AAC7D,SAAS,oBAAoB,qBAAqB,gCAAgC;AAClF;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,8BAA8B;",
6
6
  "names": []
7
7
  }
@@ -7,3 +7,17 @@ export declare const DSDropdownMenuSlots: {
7
7
  OPTION_LIST_WRAPPER: string;
8
8
  EMPTY_STATE_WRAPPER: string;
9
9
  };
10
+ export declare const DSDropdownMenuPlacements: {
11
+ TOP_START: "top-start";
12
+ TOP: "top";
13
+ TOP_END: "top-end";
14
+ RIGHT_START: "right-start";
15
+ RIGHT: "right";
16
+ RIGHT_END: "right-end";
17
+ BOTTOM_END: "bottom-end";
18
+ BOTTOM: "bottom";
19
+ BOTTOM_START: "bottom-start";
20
+ LEFT_END: "left-end";
21
+ LEFT: "left";
22
+ LEFT_START: "left-start";
23
+ };
@@ -1 +1 @@
1
- export { DSDropdownMenuName, DSDropdownMenuSlots } from './constants.js';
1
+ export { DSDropdownMenuName, DSDropdownMenuSlots, DSDropdownMenuPlacements } from './constants.js';
@@ -1,5 +1,5 @@
1
1
  export type { DSDropdownMenuT } from './react-desc-prop-types.js';
2
2
  export { DSDropdownMenuV2, DSDropdownMenuV2WithSchema } from './DSDropdownMenu.js';
3
- export { DSDropdownMenuName, DSDropdownMenuSlots } from './exported-related/index.js';
3
+ export { DSDropdownMenuName, DSDropdownMenuSlots, DSDropdownMenuPlacements } from './exported-related/index.js';
4
4
  export { actionOptionSchema, singleOptionSchema, checkboxOptionSchema, submenuOptionSchema, singleWithSubmenuOptionSchema, separatorOptionSchema, sectionOptionSchema, optionTypesSchemas, } from './react-desc-prop-types.js';
5
5
  export { DropdownMenuDataTestId } from './DropdownMenuDataTestId.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-dropdownmenu-v2",
3
- "version": "3.33.0-next.2",
3
+ "version": "3.33.0-next.4",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Dropdown Menu V2",
6
6
  "files": [
@@ -37,19 +37,19 @@
37
37
  "dependencies": {
38
38
  "@xstyled/system": "~3.7.3",
39
39
  "react-virtual": "~2.10.4",
40
- "@elliemae/ds-circular-progress-indicator": "3.33.0-next.2",
41
- "@elliemae/ds-form-input-text": "3.33.0-next.2",
42
- "@elliemae/ds-grid": "3.33.0-next.2",
43
- "@elliemae/ds-menu-items": "3.33.0-next.2",
44
- "@elliemae/ds-popperjs": "3.33.0-next.2",
45
- "@elliemae/ds-props-helpers": "3.33.0-next.2",
46
- "@elliemae/ds-system": "3.33.0-next.2",
47
- "@elliemae/ds-utilities": "3.33.0-next.2"
40
+ "@elliemae/ds-form-input-text": "3.33.0-next.4",
41
+ "@elliemae/ds-props-helpers": "3.33.0-next.4",
42
+ "@elliemae/ds-system": "3.33.0-next.4",
43
+ "@elliemae/ds-grid": "3.33.0-next.4",
44
+ "@elliemae/ds-menu-items": "3.33.0-next.4",
45
+ "@elliemae/ds-popperjs": "3.33.0-next.4",
46
+ "@elliemae/ds-utilities": "3.33.0-next.4",
47
+ "@elliemae/ds-circular-progress-indicator": "3.33.0-next.4"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@elliemae/pui-cli": "~9.0.0-next.31",
51
51
  "styled-components": "~5.3.9",
52
- "@elliemae/ds-monorepo-devops": "3.33.0-next.2"
52
+ "@elliemae/ds-monorepo-devops": "3.33.0-next.4"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@xstyled/styled-components": "~3.6.0",