UNPKG

@atlaskit/button

Version:

A button triggers an event or action. They let users know what will happen next.

145 lines (144 loc) 4.06 kB
{ "name": "@atlaskit/button", "version": "25.3.5", "description": "A button triggers an event or action. They let users know what will happen next.", "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", "sideEffects": [ "**/*.compiled.css" ], "atlaskit:src": "src/index.tsx", "atlassian": { "react-compiler": { "enabled": true, "gating": { "source": "@atlaskit/react-compiler-gating", "importSpecifierName": "isReactCompilerActivePlatform" } }, "team": "Design System Team", "website": { "tags": [ "platform-labs" ], "name": "Button", "category": "Forms and input", "subPages": [ { "title": "Icon button", "id": "icon-button", "sortKey": 1 }, { "title": "Link button", "id": "link-button", "sortKey": 2 }, { "title": "Link icon button", "id": "link-icon-button", "sortKey": 3 }, { "title": "Split button", "id": "split-button", "sortKey": 4 }, { "title": "Button group", "id": "button-group", "sortKey": 5 }, { "title": "Button (legacy)", "id": "button-legacy", "status": { "type": "intent-to-deprecate", "description": "Legacy buttons will soon be deprecated. Please use the new [button](/components/button), [icon button](/components/button/icon-button), [link button](/components/button/link-button), or [link icon button](/components/button/link-icon-button). Migrate from legacy buttons using our codemod.", "actions": [ { "text": "View the migration guide", "href": "/components/button/button-legacy/migration-guide" } ] }, "sortKey": 6 } ] } }, "dependencies": { "@atlaskit/analytics-next": "^12.5.0", "@atlaskit/css": "^1.1.0", "@atlaskit/ds-lib": "^8.0.0", "@atlaskit/focus-ring": "^5.2.0", "@atlaskit/icon": "^37.7.0", "@atlaskit/interaction-context": "^4.1.0", "@atlaskit/platform-feature-flags": "^2.2.0", "@atlaskit/primitives": "^22.5.0", "@atlaskit/react-compiler-gating": "^0.2.0", "@atlaskit/spinner": "^20.4.0", "@atlaskit/theme": "^28.2.0", "@atlaskit/tokens": "^18.0.0", "@atlaskit/tooltip": "^24.3.0", "@atlaskit/visually-hidden": "^4.4.0", "@babel/runtime": "^7.0.0", "@compiled/react": "^1.0.2", "@emotion/react": "^11.7.1" }, "peerDependencies": { "react": "^18.2.0 || ^19.0.0" }, "devDependencies": { "@af/accessibility-testing": "workspace:^", "@af/integration-testing": "workspace:^", "@af/visual-regression": "workspace:^", "@atlaskit/app-provider": "^7.0.0", "@atlaskit/checkbox": "^19.2.0", "@atlaskit/docs": "^12.2.0", "@atlaskit/dropdown-menu": "^18.3.0", "@atlaskit/form": "^17.2.0", "@atlaskit/heading": "^7.2.0", "@atlaskit/link": "^5.1.0", "@atlaskit/logo": "^23.0.0", "@atlaskit/modal-dialog": "^16.6.0", "@atlaskit/range": "^12.2.0", "@atlaskit/section-message": "^10.2.0", "@atlaskit/select": "^22.11.0", "@atlaskit/toggle": "^17.3.0", "@atlassian/feature-flags-test-utils": "^1.3.0", "@atlassian/ssr-tests": "workspace:^", "@atlassian/structured-docs-types": "workspace:^", "@atlassian/workbench": "workspace:*", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.4.3", "ast-types": "^0.13.3", "jscodeshift": "^17.0.0", "lodash": "^4.17.21", "react": "^19.0.0", "react-dom": "^19.2.0" }, "homepage": "https://atlassian.design/components/button/", "platform-feature-flags": { "platform_dst_button_chevron_sizing": { "type": "boolean" }, "platform-dst-motion-uplift-button": { "type": "boolean" }, "platform-dst-legacy-button-anchor-text-color": { "type": "boolean" }, "platform-dst-tokens-finesse": { "type": "boolean" } } }