UNPKG

@atlaskit/profilecard

Version:

A React component to display a card with user information.

176 lines (175 loc) 5.31 kB
{ "name": "@atlaskit/profilecard", "version": "24.45.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": { "team": "People and Teams Collective", "website": { "name": "Profilecard" } }, "scripts": { "ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.svg", "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 --coverageProvider=v8 --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/afm-i18n-platform-people-and-teams-profilecard": "2.39.0", "@atlaskit/atlassian-context": "^0.6.0", "@atlaskit/avatar": "^25.10.0", "@atlaskit/avatar-group": "^12.4.0", "@atlaskit/button": "^23.10.0", "@atlaskit/css": "^0.19.0", "@atlaskit/dropdown-menu": "^16.8.0", "@atlaskit/empty-state": "^10.1.0", "@atlaskit/give-kudos": "^4.17.0", "@atlaskit/heading": "^5.3.0", "@atlaskit/icon": "^33.1.0", "@atlaskit/link": "3.3.3", "@atlaskit/lozenge": "^13.5.0", "@atlaskit/menu": "^8.4.0", "@atlaskit/modal-dialog": "^14.13.0", "@atlaskit/people-teams-ui-public": "^3.7.0", "@atlaskit/platform-feature-flags": "^1.1.0", "@atlaskit/popup": "^4.14.0", "@atlaskit/primitives": "^18.1.0", "@atlaskit/rovo-agent-components": "^3.48.0", "@atlaskit/rovo-triggers": "^5.33.0", "@atlaskit/spinner": "^19.0.0", "@atlaskit/teams-app-config": "^1.12.0", "@atlaskit/teams-app-internal-analytics": "^1.27.0", "@atlaskit/teams-avatar": "^2.4.0", "@atlaskit/teams-public": "^0.72.0", "@atlaskit/theme": "^22.0.0", "@atlaskit/tmp-editor-statsig": "^48.0.0", "@atlaskit/tokens": "^11.3.0", "@atlaskit/tooltip": "^21.0.0", "@babel/runtime": "^7.0.0", "@compiled/react": "^0.20.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": "workspace:^", "@atlaskit/feature-gate-js-client": "^5.5.0", "@atlassian/a11y-jest-testing": "^0.10.0", "@atlassian/feature-flags-storybook-utils": "^0.3.0", "@atlassian/feature-flags-test-utils": "^1.0.0", "@atlassian/platform-storybook-helpers": "^0.1.0", "@atlassian/ptc-test-utils": "^0.12.0", "@storybook/addon-actions": "^8.6.14", "@storybook/test": "^8.6.14", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.4.3", "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.9.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" }, "fix_profilecard_trigger_isvisible": { "type": "boolean" }, "pt-deprecate-assistance-service": { "type": "boolean" }, "platform-adopt-teams-nav-config": { "type": "boolean" }, "jfp_a11y_team_profile_card_actions_label": { "type": "boolean" }, "cover-header-image-team-profilecard": { "type": "boolean" }, "jira_ai_profilecard_hide_agent_actions": { "type": "boolean" }, "jira_ai_profilecard_hide_reportinglines": { "type": "boolean" }, "rovo_dev_themed_identity_card": { "type": "boolean" }, "enable_profilecard_text_truncation_tooltip": { "type": "boolean" }, "people-teams-deprecate-profilecard-teams": { "type": "boolean" }, "rovo_display_ai_disclaimer_on_agent_profile_card": { "type": "boolean" }, "rovo_agent_support_a2a_avatar": { "type": "boolean" }, "jira_ai_hide_conversation_starters_profilecard": { "type": "boolean" } }, "sideEffects": [ "*.compiled.css" ] }