@elliemae/ds-comments 3.29.0 → 3.29.1-rc.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.
|
@@ -35,7 +35,7 @@ var React = __toESM(require("react"));
|
|
|
35
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
36
|
var import_react = require("react");
|
|
37
37
|
var import_ds_button_v2 = require("@elliemae/ds-button-v2");
|
|
38
|
-
var import_ds_dropdownmenu =
|
|
38
|
+
var import_ds_dropdownmenu = require("@elliemae/ds-dropdownmenu");
|
|
39
39
|
var import_ds_icons = require("@elliemae/ds-icons");
|
|
40
40
|
var import_styled = require("./styled.js");
|
|
41
41
|
const DeprecatedMenu = ({
|
|
@@ -57,7 +57,7 @@ const DeprecatedMenu = ({
|
|
|
57
57
|
getOwnerProps,
|
|
58
58
|
getOwnerPropsArguments,
|
|
59
59
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
60
|
-
import_ds_dropdownmenu.
|
|
60
|
+
import_ds_dropdownmenu.DSDropdownMenu,
|
|
61
61
|
{
|
|
62
62
|
...customDropdownMenuProps,
|
|
63
63
|
onClose: handleCloseMenu,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DeprecatedMenu.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport { useCallback, useRef } from 'react';\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport DSDropdownMenu from '@elliemae/ds-dropdownmenu';\nimport { MoreOptionsVert } from '@elliemae/ds-icons';\nimport { CommentCardMenu } from './styled.js';\n\ninterface DeprecatedMenuProps {\n getOwnerProps: () => object;\n getOwnerPropsArguments: () => object;\n options: unknown[];\n selection: unknown;\n customDropdownMenuProps: Record<string, unknown>;\n}\n\nexport const DeprecatedMenu: React.ComponentType<DeprecatedMenuProps> = ({\n getOwnerProps,\n getOwnerPropsArguments,\n customDropdownMenuProps,\n options,\n selection,\n}) => {\n const ref = useRef<HTMLButtonElement | null>(null);\n\n const handleCloseMenu = useCallback(() => {\n ref.current?.focus();\n return null;\n }, []);\n\n return (\n <CommentCardMenu\n className=\"em-ds-comments__comment-card-menu\"\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <DSDropdownMenu\n {...customDropdownMenuProps}\n onClose={handleCloseMenu}\n options={options}\n selection={selection}\n triggerComponent={\n <DSButtonV2 buttonType=\"icon\" innerRef={ref} aria-label=\"More options\" aria-haspopup=\"menu\">\n <MoreOptionsVert />\n </DSButtonV2>\n }\n zIndex={11} // https://jira.elliemae.io/browse/PUI-1664\n />\n </CommentCardMenu>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD2CX;AAzCZ,mBAAoC;AACpC,0BAA2B;AAC3B,
|
|
6
|
-
"names": [
|
|
4
|
+
"sourcesContent": ["// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport { useCallback, useRef } from 'react';\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { DSDropdownMenu } from '@elliemae/ds-dropdownmenu';\nimport { MoreOptionsVert } from '@elliemae/ds-icons';\nimport { CommentCardMenu } from './styled.js';\n\ninterface DeprecatedMenuProps {\n getOwnerProps: () => object;\n getOwnerPropsArguments: () => object;\n options: unknown[];\n selection: unknown;\n customDropdownMenuProps: Record<string, unknown>;\n}\n\nexport const DeprecatedMenu: React.ComponentType<DeprecatedMenuProps> = ({\n getOwnerProps,\n getOwnerPropsArguments,\n customDropdownMenuProps,\n options,\n selection,\n}) => {\n const ref = useRef<HTMLButtonElement | null>(null);\n\n const handleCloseMenu = useCallback(() => {\n ref.current?.focus();\n return null;\n }, []);\n\n return (\n <CommentCardMenu\n className=\"em-ds-comments__comment-card-menu\"\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <DSDropdownMenu\n {...customDropdownMenuProps}\n onClose={handleCloseMenu}\n options={options}\n selection={selection}\n triggerComponent={\n <DSButtonV2 buttonType=\"icon\" innerRef={ref} aria-label=\"More options\" aria-haspopup=\"menu\">\n <MoreOptionsVert />\n </DSButtonV2>\n }\n zIndex={11} // https://jira.elliemae.io/browse/PUI-1664\n />\n </CommentCardMenu>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD2CX;AAzCZ,mBAAoC;AACpC,0BAA2B;AAC3B,6BAA+B;AAC/B,sBAAgC;AAChC,oBAAgC;AAUzB,MAAM,iBAA2D,CAAC;AAAA,EACvE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,UAAM,qBAAiC,IAAI;AAEjD,QAAM,sBAAkB,0BAAY,MAAM;AACxC,QAAI,SAAS,MAAM;AACnB,WAAO;AAAA,EACT,GAAG,CAAC,CAAC;AAEL,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV;AAAA,MACA;AAAA,MAEA;AAAA,QAAC;AAAA;AAAA,UACE,GAAG;AAAA,UACJ,SAAS;AAAA,UACT;AAAA,UACA;AAAA,UACA,kBACE,4CAAC,kCAAW,YAAW,QAAO,UAAU,KAAK,cAAW,gBAAe,iBAAc,QACnF,sDAAC,mCAAgB,GACnB;AAAA,UAEF,QAAQ;AAAA;AAAA,MACV;AAAA;AAAA,EACF;AAEJ;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useCallback, useRef } from "react";
|
|
4
4
|
import { DSButtonV2 } from "@elliemae/ds-button-v2";
|
|
5
|
-
import DSDropdownMenu from "@elliemae/ds-dropdownmenu";
|
|
5
|
+
import { DSDropdownMenu } from "@elliemae/ds-dropdownmenu";
|
|
6
6
|
import { MoreOptionsVert } from "@elliemae/ds-icons";
|
|
7
7
|
import { CommentCardMenu } from "./styled.js";
|
|
8
8
|
const DeprecatedMenu = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/DeprecatedMenu.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport { useCallback, useRef } from 'react';\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport DSDropdownMenu from '@elliemae/ds-dropdownmenu';\nimport { MoreOptionsVert } from '@elliemae/ds-icons';\nimport { CommentCardMenu } from './styled.js';\n\ninterface DeprecatedMenuProps {\n getOwnerProps: () => object;\n getOwnerPropsArguments: () => object;\n options: unknown[];\n selection: unknown;\n customDropdownMenuProps: Record<string, unknown>;\n}\n\nexport const DeprecatedMenu: React.ComponentType<DeprecatedMenuProps> = ({\n getOwnerProps,\n getOwnerPropsArguments,\n customDropdownMenuProps,\n options,\n selection,\n}) => {\n const ref = useRef<HTMLButtonElement | null>(null);\n\n const handleCloseMenu = useCallback(() => {\n ref.current?.focus();\n return null;\n }, []);\n\n return (\n <CommentCardMenu\n className=\"em-ds-comments__comment-card-menu\"\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <DSDropdownMenu\n {...customDropdownMenuProps}\n onClose={handleCloseMenu}\n options={options}\n selection={selection}\n triggerComponent={\n <DSButtonV2 buttonType=\"icon\" innerRef={ref} aria-label=\"More options\" aria-haspopup=\"menu\">\n <MoreOptionsVert />\n </DSButtonV2>\n }\n zIndex={11} // https://jira.elliemae.io/browse/PUI-1664\n />\n </CommentCardMenu>\n );\n};\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;AC2CX;AAzCZ,SAAS,aAAa,cAAc;AACpC,SAAS,kBAAkB;AAC3B,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nimport { useCallback, useRef } from 'react';\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { DSDropdownMenu } from '@elliemae/ds-dropdownmenu';\nimport { MoreOptionsVert } from '@elliemae/ds-icons';\nimport { CommentCardMenu } from './styled.js';\n\ninterface DeprecatedMenuProps {\n getOwnerProps: () => object;\n getOwnerPropsArguments: () => object;\n options: unknown[];\n selection: unknown;\n customDropdownMenuProps: Record<string, unknown>;\n}\n\nexport const DeprecatedMenu: React.ComponentType<DeprecatedMenuProps> = ({\n getOwnerProps,\n getOwnerPropsArguments,\n customDropdownMenuProps,\n options,\n selection,\n}) => {\n const ref = useRef<HTMLButtonElement | null>(null);\n\n const handleCloseMenu = useCallback(() => {\n ref.current?.focus();\n return null;\n }, []);\n\n return (\n <CommentCardMenu\n className=\"em-ds-comments__comment-card-menu\"\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n >\n <DSDropdownMenu\n {...customDropdownMenuProps}\n onClose={handleCloseMenu}\n options={options}\n selection={selection}\n triggerComponent={\n <DSButtonV2 buttonType=\"icon\" innerRef={ref} aria-label=\"More options\" aria-haspopup=\"menu\">\n <MoreOptionsVert />\n </DSButtonV2>\n }\n zIndex={11} // https://jira.elliemae.io/browse/PUI-1664\n />\n </CommentCardMenu>\n );\n};\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;AC2CX;AAzCZ,SAAS,aAAa,cAAc;AACpC,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAUzB,MAAM,iBAA2D,CAAC;AAAA,EACvE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAM;AACJ,QAAM,MAAM,OAAiC,IAAI;AAEjD,QAAM,kBAAkB,YAAY,MAAM;AACxC,QAAI,SAAS,MAAM;AACnB,WAAO;AAAA,EACT,GAAG,CAAC,CAAC;AAEL,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV;AAAA,MACA;AAAA,MAEA;AAAA,QAAC;AAAA;AAAA,UACE,GAAG;AAAA,UACJ,SAAS;AAAA,UACT;AAAA,UACA;AAAA,UACA,kBACE,oBAAC,cAAW,YAAW,QAAO,UAAU,KAAK,cAAW,gBAAe,iBAAc,QACnF,8BAAC,mBAAgB,GACnB;AAAA,UAEF,QAAQ;AAAA;AAAA,MACV;AAAA;AAAA,EACF;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-comments",
|
|
3
|
-
"version": "3.29.0",
|
|
3
|
+
"version": "3.29.1-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Comments",
|
|
6
6
|
"files": [
|
|
@@ -52,17 +52,17 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"moment": "~2.29.4",
|
|
55
|
-
"@elliemae/ds-button-v2": "3.29.0",
|
|
56
|
-
"@elliemae/ds-
|
|
57
|
-
"@elliemae/ds-
|
|
58
|
-
"@elliemae/ds-
|
|
59
|
-
"@elliemae/ds-system": "3.29.0",
|
|
60
|
-
"@elliemae/ds-
|
|
55
|
+
"@elliemae/ds-button-v2": "3.29.1-rc.0",
|
|
56
|
+
"@elliemae/ds-icons": "3.29.1-rc.0",
|
|
57
|
+
"@elliemae/ds-props-helpers": "3.29.1-rc.0",
|
|
58
|
+
"@elliemae/ds-read-more": "3.29.1-rc.0",
|
|
59
|
+
"@elliemae/ds-system": "3.29.1-rc.0",
|
|
60
|
+
"@elliemae/ds-dropdownmenu": "3.29.1-rc.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@elliemae/pui-cli": "~9.0.0-next.31",
|
|
64
64
|
"styled-components": "~5.3.9",
|
|
65
|
-
"@elliemae/ds-monorepo-devops": "3.29.0"
|
|
65
|
+
"@elliemae/ds-monorepo-devops": "3.29.1-rc.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"@xstyled/system": "~3.7.3",
|