UNPKG

@atlaskit/profilecard

Version:

A React component to display a card with user information.

171 lines (170 loc) 4.98 kB
{ "name": "@atlaskit/profilecard", "version": "23.8.0", "description": "A React component to display a card with user information.", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror", "author": "Atlassian Pty Ltd", "license": "Apache-2.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "module:es2019": "dist/es2019/index.js", "types": "dist/types/index.d.ts", "typesVersions": { ">=4.5 <4.9": { "*": [ "dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts" ] } }, "atlaskit:src": "src/index.ts", "atlassian": { "runReact18": true, "team": "People and Teams Collective", "website": { "name": "Profilecard" } }, "af:exports": { "./client": "./src/client/index.ts", "./messages": "./src/messages.ts", "./i18n": "./src/i18n/index.ts", "./team": "./src/components/Team/index.ts", "./types": "./src/types.ts", "./user": "./src/components/User/index.ts", "./agent": "./src/components/Agent/index.ts", "./mocks": "./src/mocks/index.ts", ".": "./src/index.ts" }, "scripts": { "lint": "(cd ../../.. && yarn eslint 'packages/people-and-teams/profilecard/**/*.{ts,tsx}')", "test": "(cd ../../.. && yarn test 'packages/people-and-teams/profilecard')", "test:watch": "(cd ../../.. && yarn test 'packages/people-and-teams/profilecard' --watch)", "test:coverage": "(cd ../../.. && yarn test 'packages/people-and-teams/profilecard/src' --coverage --collectCoverageFrom='[\"packages/people-and-teams/profilecard/src/**\", \"!packages/people-and-teams/profilecard/src/__tests__/**\", \"!packages/people-and-teams/profilecard/src/i18n/**\", \"!packages/people-and-teams/profilecard/src/mocks/**\"]')", "typecheck": "NODE_OPTIONS=--max-old-space-size=4096 tsc --noEmit --project ./tsconfig.json" }, "config": { "access": "public" }, "dependencies": { "@atlaskit/analytics-next": "^11.0.0", "@atlaskit/atlassian-context": "^0.2.0", "@atlaskit/avatar": "^25.0.0", "@atlaskit/avatar-group": "^12.0.0", "@atlaskit/button": "^23.0.0", "@atlaskit/css": "^0.10.0", "@atlaskit/dropdown-menu": "^14.0.0", "@atlaskit/empty-state": "^9.0.0", "@atlaskit/focus-ring": "^3.0.0", "@atlaskit/give-kudos": "^4.0.0", "@atlaskit/heading": "^5.2.0", "@atlaskit/icon": "^25.6.0", "@atlaskit/logo": "^16.0.0", "@atlaskit/lozenge": "^12.2.0", "@atlaskit/menu": "^3.2.0", "@atlaskit/modal-dialog": "^14.1.0", "@atlaskit/people-teams-ui-public": "^3.1.0", "@atlaskit/platform-feature-flags": "^1.1.0", "@atlaskit/popup": "^4.1.0", "@atlaskit/primitives": "^14.4.0", "@atlaskit/rovo-agent-components": "^2.7.0", "@atlaskit/rovo-triggers": "^2.10.0", "@atlaskit/spinner": "^18.0.0", "@atlaskit/teams-avatar": "^2.3.0", "@atlaskit/teams-public": "^0.24.0", "@atlaskit/theme": "^18.0.0", "@atlaskit/tokens": "^4.8.0", "@atlaskit/tooltip": "^20.0.0", "@babel/runtime": "^7.0.0", "@compiled/react": "^0.18.3", "@emotion/react": "^11.7.1", "@emotion/styled": "^11.0.0", "date-fns": "^2.17.0", "date-fns-tz": "^2.0.0", "graphql": "^15.8.0", "graphql-tag": "^2.10.1", "lodash": "^4.17.21", "lru_map": "^0.4.1", "react-intl-next": "npm:react-intl@^5.18.1" }, "peerDependencies": { "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@af/visual-regression": "^1.3.0", "@atlassian/feature-flags-test-utils": "^0.3.0", "@atlassian/ptc-test-utils": "^0.8.0", "@testing-library/react": "^13.4.0", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.4.3", "@types/react-router-dom": "^4.3.1", "enzyme": "^3.10.0", "es6-promise": "^4.0.5", "fetch-mock": "^8.0.0", "loader-utils": "^1.1.0", "react-router-dom": "^4.2.2", "sinon": "^2.2.0", "typescript": "~5.4.2", "uid": "^0.0.2" }, "keywords": [ "ui", "profilecard" ], "techstack": { "@atlassian/frontend": { "import-structure": "atlassian-conventions" }, "@repo/internal": { "design-tokens": [ "color", "spacing" ] } }, "platform-feature-flags": { "enable_appropriate_reading_order_in_profile_card": { "type": "boolean" }, "enable_ptc_townsquare_reporting_lines_unsharded": { "type": "boolean" }, "platform_agg_user_query_doc_change": { "type": "boolean" }, "rovo_use_agent_permissions": { "type": "boolean" }, "team_id_to_ari_safe": { "type": "boolean" }, "compiled-migration-profilecard": { "type": "boolean" }, "fix_profilecard_trigger_isvisible": { "type": "boolean" }, "platform_profilecard-enable_reporting_lines_label": { "type": "boolean" }, "ptc_migrate_buttons": { "type": "boolean" }, "enable_team_profilecard_toggletip_a11y_fix": { "type": "boolean" }, "enable_profilecard_h2tag_a11y_fix": { "type": "boolean" }, "enable_userprofilecard_arialabelfix": { "type": "boolean" } }, "sideEffects": [ "*.compiled.css" ] }