{"_id":"@mattermost/shared","name":"@mattermost/shared","dist-tags":{"prerelease":"11.7.0-0","latest":"11.7.0-0"},"versions":{"11.7.0-0":{"name":"@mattermost/shared","version":"11.7.0-0","description":"Shared components and utilities for use by the Mattermost web app and its plugins","keywords":["mattermost"],"homepage":"https://github.com/mattermost/mattermost/tree/master/webapp/platform/shared#readme","license":"MIT","main":"dist/main.js","module":"dist/module.js","source":"src/**/index.ts","types":"dist/types.d.ts","typesVersions":{">=3.1":{"*":["./dist/*/index.d.ts"]}},"exports":{".":{"types":["./src/index.ts","./dist/types.d.ts"],"source":"./src/index.ts","import":"./dist/module.js","require":"./dist/main.js"},"./build/webpack-web-app-externals":{"source":"./build/webpack-web-app-externals.cjs","require":"./build/webpack-web-app-externals.cjs"},"./*":{"types":["./src/*/index.ts","./dist/*/index.d.ts"],"source":"./src/*/index.ts","import":"./dist/*/index.module.js","require":"./dist/*/index.main.js"}},"repository":{"type":"git","url":"git+https://github.com/mattermost/mattermost.git","directory":"webapp/platform/shared"},"dependencies":{"@floating-ui/react":"^0.26.6","classnames":"^2.3.1"},"devDependencies":{"@mattermost/eslint-plugin":"*","@parcel/bundler-library":"^2.16.3","@parcel/packager-ts":"^2.16.3","@parcel/transformer-typescript-types":"^2.16.3","@stylistic/stylelint-plugin":"^3.1.2","@swc/core":"^1.3.36","@swc/jest":"^0.2.36","@testing-library/dom":"^10.4.1","@testing-library/jest-dom":"^6.8.0","@testing-library/react":"^16.3.0","@testing-library/user-event":"^14.6.1","@types/jest":"^30.0.0","@types/node":"^24.10.4","eslint":"^8.57.0","eslint-plugin-react":"^7.34.0","eslint-plugin-react-hooks":"^4.6.0","jest":"^30.1.3","jest-environment-jsdom":"^30.1.0","parcel":"^2.16.3","react":"^18.2.0","stylelint":"^16.10.0","stylelint-config-idiomatic-order":"^10.0.0","stylelint-config-recommended":"^14.0.1","stylelint-order":"^6.0.4","typescript":"^5.0.0"},"peerDependencies":{"@mattermost/types":"11.7.0-0","@testing-library/react":"^16","react":">=17","react-intl":">=7","typescript":"^4.3.0 || ^5.0.0"},"peerDependenciesMeta":{"@testing-library/react":{"optional":true},"typescript":{"optional":true}},"scripts":{"build":"parcel build --no-optimize","check":"npm run check:eslint && npm run check:stylelint","check:eslint":"eslint --ext .js,.jsx,.tsx,.ts ./src --quiet","check:stylelint":"stylelint \"**/*.{css,scss}\"","check-types":"tsc -b","fix":"eslint --ext .js,.jsx,.tsx,.ts ./src --quiet --fix && stylelint \"**/*.{css,scss}\" --fix","run":"parcel watch","test":"jest","test-ci":"jest --ci --forceExit --detectOpenHandles --maxWorkers=100% --logHeapUsage","clean":"rm -rf dist node_modules *.tsbuildinfo .parcel-cache"},"@parcel/resolver-default":{"packageExports":true},"gitHead":"175cab224a9886eac372b73b48da117f75b2fae8","_id":"@mattermost/shared@11.7.0-0","bugs":{"url":"https://github.com/mattermost/mattermost/issues"},"_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-UVrDfGqkDrO+YnMj14rj7jpYWPXRiTRY2GHxXQiPBl7MDwZ+2WtGf6iBou24lRgO/y9ZpNY0h7vgiRaiN7EPSw==","shasum":"64ac2845aa9c4a0f84d5c5f086834987b35463f1","tarball":"https://registry.npmjs.org/@mattermost/shared/-/shared-11.7.0-0.tgz","fileCount":99,"unpackedSize":193586,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEHV9DBzzoVburuFY0dMNH22NIiKGrZW56yXZ02R/LL9AiAaHMTLC50O2SLFOfuaZ10U/HPCp2dbGuEiHVq3a6X+8g=="}]},"_npmUser":{"name":"hmhealey","email":"harrisonmhealey@gmail.com"},"directories":{},"maintainers":[{"name":"harshil.sharma","email":"harshil.sharma@mattermost.com"},{"name":"mattermost-user","email":"community@mattermost.com"},{"name":"crspeller","email":"crspeller@gmail.com"},{"name":"jwilander","email":"jwawilander@gmail.com"},{"name":"coreyhulen","email":"corey@hulen.com"},{"name":"enahum","email":"nahumhbl@gmail.com"},{"name":"matterbuild","email":"build@mattermost.com"},{"name":"hmhealey","email":"harrisonmhealey@gmail.com"},{"name":"evasarafianou","email":"eva.sarafianou@mattermost.com"},{"name":"danielschalla","email":"daniel@mattermost.com"},{"name":"devinbinnie","email":"devin.binnie@mattermost.com"},{"name":"cpoile","email":"cpoile@gmail.com"},{"name":"danielsischy","email":"daniel.sischy@mattermost.com"},{"name":"phar-mm","email":"paul.harrison@mattermost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shared_11.7.0-0_1776446443451_0.48358217150227656"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-17T17:20:43.269Z","11.7.0-0":"2026-04-17T17:20:43.588Z","modified":"2026-04-17T17:20:44.120Z"},"maintainers":[{"name":"harshil.sharma","email":"harshil.sharma@mattermost.com"},{"name":"mattermost-user","email":"community@mattermost.com"},{"name":"crspeller","email":"crspeller@gmail.com"},{"name":"jwilander","email":"jwawilander@gmail.com"},{"name":"coreyhulen","email":"corey@hulen.com"},{"name":"enahum","email":"nahumhbl@gmail.com"},{"name":"matterbuild","email":"build@mattermost.com"},{"name":"hmhealey","email":"harrisonmhealey@gmail.com"},{"name":"evasarafianou","email":"eva.sarafianou@mattermost.com"},{"name":"danielschalla","email":"daniel@mattermost.com"},{"name":"devinbinnie","email":"devin.binnie@mattermost.com"},{"name":"cpoile","email":"cpoile@gmail.com"},{"name":"danielsischy","email":"daniel.sischy@mattermost.com"},{"name":"phar-mm","email":"paul.harrison@mattermost.com"}],"description":"Shared components and utilities for use by the Mattermost web app and its plugins","homepage":"https://github.com/mattermost/mattermost/tree/master/webapp/platform/shared#readme","keywords":["mattermost"],"repository":{"type":"git","url":"git+https://github.com/mattermost/mattermost.git","directory":"webapp/platform/shared"},"bugs":{"url":"https://github.com/mattermost/mattermost/issues"},"license":"MIT","readme":"# Mattermost Shared Package\n\n[![npm version](https://img.shields.io/npm/v/@mattermost/shared?style=flat)](https://www.npmjs.com/package/@mattermost/shared)\n\nThis package contains shared components and other utilities for use by the Mattermost web app and its plugins.\n\n> [!CAUTION]\n> This is a pre-release package in active development. It is currently for internal use only, and it may change significantly between now and when it is fully released.\n\n## Installation\n\nThis package requires a matching version of the `@mattermost/types` package. It also requires [React](https://react.dev/) and [React Intl](https://formatjs.github.io/docs/react-intl/).\n\n```sh\n$ npm install @mattermost/shared @mattermost/types\n```\n\nAdditionally, if you're writing unit tests involving these components, [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/) is also required.\n\n```sh\n$ npm install @testing-library/react\n```\n\n## Usage\n\nTODO\n\n## Development\n\n### Compilation and Packaging\n\nTODO\n","readmeFilename":"README.md","_rev":"1-7422f8afd8f5d67cd3bd4c690c18bf12"}