{"_id":"@coveops/expanding-result-actions-menu","_rev":"38-b1d3abd4dfe7844195491078218b984b","name":"@coveops/expanding-result-actions-menu","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@coveops/expanding-result-actions-menu","version":"1.0.0","keywords":[],"author":"","license":"Apache-2.0","_id":"@coveops/expanding-result-actions-menu@1.0.0","maintainers":[{"name":"coveoit","email":"itaccounts@coveo.com"},{"name":"yass1408","email":"yassine_lakhdar@hotmail.com"},{"name":"gfoumbi","email":"gfoumbi@coveo.com"},{"name":"rvundavalli","email":"rvundavalli@coveo.com"},{"name":"jwolfe-coveo","email":"jwolfe@coveo.com"},{"name":"sfecteau","email":"sfecteau@coveo.com"},{"name":"mthusscoveo","email":"mthuss@coveo.com"},{"name":"jfleurent","email":"jfleurent@coveo.com"},{"name":"eqcoveo","email":"equinn@coveo.com"},{"name":"jmdro","email":"jmdrolet@coveo.com"},{"name":"davebouffard","email":"dbouffard@coveo.com"},{"name":"jfallaire","email":"jeanfrancois.allaire@gmail.com"},{"name":"achouan","email":"achouan@coveo.com"},{"name":"hsinghcoveo","email":"hsingh@coveo.com"},{"name":"wnijmeijer","email":"wnijmeijer@coveo.com"},{"name":"lgcarrierbedard","email":"lgcarrier@coveo.com"},{"name":"elafleur_coveo","email":"elafleur@coveo.com"},{"name":"plavigueur","email":"plavigueur@coveo.com"},{"name":"eaubin","email":"eaubin@coveo.com"}],"dist":{"shasum":"7d1ea7d3552a024b3b077423e9532a294afc49d2","tarball":"https://registry.npmjs.org/@coveops/expanding-result-actions-menu/-/expanding-result-actions-menu-1.0.0.tgz","fileCount":7,"integrity":"sha512-uMHZ6Br7DBUimXQhi7Ig6V5dY95ajvelte2d7XOW/j8i08onehsvJoJAsXoMiyU65DLhAgYU4QqwL1RAw+DOFA==","signatures":[{"sig":"MEUCIQDxi98OIkok9TuobW36E11hIxoZbCuH4Vez3UgRvGvY+wIgaTsCWduilUV+PpoM0MAIyWXIVm81rTkH3prGUYvUUug=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLp5QCRA9TVsSAnZWagAAZz0P/AmhdeVKIq81kJ/fnEmI\n3F1E9beYKtrZbEf3sC1NuSBjX5hv5Zuvf3f+bDt7PHQ872r1W71ZApiW4T/B\nQHf4kI2XlHZemB8cqqK1DKAFCw80wUJM9fBKu4O/+/Y9OwnSyBwY5WfyOZGD\nosVpjbov9gSdcxE7lqdhllR972aJnco+jGlSNUlEQdcFsJvv0TTDTqWnzUVf\nS5ktIX8+1JtEVB4/z+fZ9Pb6cd1GAeV/r+eQeg7xyOLBgxPQs1ow0s2rnQCh\nu/sb0auFYxyIq7aLYi4lEpV4ui4wzyE5Td6aWMDAr6gZqg0aZfqcrtNTgVK6\nyIWTkyOn02va0nQm5cQ8discIzFfdcJAp/9vmwIqrNhXvFQUYsmq75LjcjON\nt0mggpo8ayozknkJKfFXz0Kyz7ytAb8e476BPV005GEzJEnpcstC8KSUyYlx\nMTRO6YLMbQv4waNQTGqay592DIohQW3o+v2rVABr0/zMkA9JbyElNpU2yvnj\ng2h/b5vPYNBZB4pMxjfz5oWhFTQQLMMkIbrRrbtUGhRDzosrPEApuDzBZU1c\n3mRpguWLE6Zl6ShLSbCdeXqM+Jf4O+vDCEm5sj12OC7tXBfKq5xfOwdsQPUD\ncqSnBhFCY7/aCQ9OLr1S0PqsNfzsyg8VK3LP0TAaTXg1nF+7m8txAL9MOxLW\nCiqE\r\n=4mZB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"421ca5cbe4c73b1bfc426f44200d771da1004b18","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"coveops build ExpandingResultActionsMenu --template typescript","serve":"coveops serve","watch":"coveops build ExpandingResultActionsMenu --template typescript --watch","precompile":"npm run build"},"_npmUser":{"name":"jwolfe-coveo","email":"jwolfe@coveo.com"},"_npmVersion":"6.10.2","description":"A companion component that adds expanding capabilities to the ResultActionsMenu component. This component is used to control whether the hovering ResultActionsMenu is always visible and if so, which components are hidden until the user hovers over the res","directories":{},"_nodeVersion":"12.9.1","dependencies":{"coveo-search-ui":"^2.10082.9","@coveops/turbo-core":"^1.1.1","@coveops/localization-manager":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@coveops/cli":"^0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/expanding-result-actions-menu_1.0.0_1613667919700_0.6426041565214244","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-02-18T17:05:19.477Z","modified":"2026-05-13T17:46:43.806Z","1.0.0":"2021-02-18T17:05:19.866Z"},"license":"Apache-2.0","keywords":[],"description":"A companion component that adds expanding capabilities to the ResultActionsMenu component. This component is used to control whether the hovering ResultActionsMenu is always visible and if so, which components are hidden until the user hovers over the res","maintainers":[{"email":"jfleurent@coveo.com","name":"jfleurent"},{"email":"jmdrolet@coveo.com","name":"jmdro"},{"email":"jeanfrancois.allaire@gmail.com","name":"jfallaire"},{"email":"achouan@coveo.com","name":"achouan"},{"email":"lpblais@coveo.com","name":"lpblais-coveo"},{"email":"watallah@coveo.com","name":"watallah"},{"email":"eshahneh@coveo.com","name":"ehsanshahneh"},{"email":"belbizri@coveo.com","name":"belbizri"},{"email":"jpurohit@coveo.com","name":"jpurohit_coveo"},{"email":"acherney2@coveo.com","name":"acherney2c"},{"email":"jcharron@coveo.com","name":"jcharron-coveo"},{"email":"oa-npmcoveops@oacvo.com","name":"oa-npmcoveops"}],"readme":"# ExpandingResultActionsMenu\n\nA companion component that adds expanding capabilities to the ResultActionsMenu component. This component is used to control whether the hovering ResultActionsMenu is always visible and if so, which components are hidden until the user hovers over the result.\n\nDisclaimer: This component was built by the community at large and is not an official Coveo JSUI Component. Use this component at your own risk.\n\n## Getting Started\n\n1. Install the component into your project.\n\n```\nnpm i @coveops/expanding-result-actions-menu\n```\n\n2. Use the Component or extend it\n\nTypescript:\n\n```javascript\nimport { ExpandingResultActionsMenu, IExpandingResultActionsMenuOptions } from '@coveops/expanding-result-actions-menu';\n```\n\nJavascript\n\n```javascript\nconst ExpandingResultActionsMenu = require('@coveops/expanding-result-actions-menu').ExpandingResultActionsMenu;\n```\n\n3. You can also expose the component alongside other components being built in your project.\n\n```javascript\nexport * from '@coveops/expanding-result-actions-menu'\n```\n\n4. Or for quick testing, you can add the script from unpkg\n\n```html\n<script src=\"https://unpkg.com/@coveops/expanding-result-actions-menu@latest/dist/index.min.js\"></script>\n```\n\n> Disclaimer: Unpkg should be used for testing but not for production.\n\n5. Include the component in your template as follows:\n\nPlace the component in your markup under the `CoveoResultActionsMenu` class:\n\n```html\n<div class=\"CoveoExpandingResultActionsMenu\"></div>\n```\n\nSuch that:\n\n```html\n<div class=\"CoveoResultActionsMenu\">\n    <div class=\"CoveoExpandingResultActionsMenu\" data-always-show=\"true\" data-menu-items-require-hover=\"CopyToClipboard\"></div>\n    <div class=\"CoveoCopyToClipboard\"></div>\n    <div class=\"CoveoSalesforceQuickview\"></div>\n</div>\n```\n\n### Options\n\n| Field | Type | Default | Description |\n| --- | --- | --- | --- |\n| alwaysShow | boolean | false | Show the ResultActionsMenu regardless of which result the user is hovering in |\n| menuItemsRequireHover | string[] | [] | A list of Coveo components within the ResultActionsMenu that should remain hidden until the user is hovering on a result. |\n\nSee `pages/index.html`\n\n## Extending\n\nExtending the component can be done as follows:\n\n```javascript\nimport { ExpandingResultActionsMenu, IExpandingResultActionsMenuOptions } from \"@coveops/expanding-result-actions-menu\";\n\nexport interface IExtendedExpandingResultActionsMenuOptions extends IExpandingResultActionsMenuOptions {}\n\nexport class ExtendedExpandingResultActionsMenu extends ExpandingResultActionsMenu {}\n```\n\n## Contribute\n\n1. Clone the project\n2. Copy `.env.dist` to `.env` and update the COVEO_ORG_ID and COVEO_TOKEN fields in the `.env` file to use your Coveo credentials and SERVER_PORT to configure the port of the sandbox - it will use 8080 by default.\n3. Build the code base: `npm run build`\n4. Serve the sandbox for live development `npm run serve`","readmeFilename":"README.md"}