UNPKG

@atlaskit/toggle

Version:

A toggle is used to view or switch between enabled or disabled states.

104 lines (103 loc) 2.48 kB
{ "name": "@atlaskit/toggle", "version": "15.0.4", "description": "A toggle is used to view or switch between enabled or disabled states.", "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": { "team": "Design System Team", "website": { "name": "Toggle", "category": "Forms and input" }, "runReact18": true }, "dependencies": { "@atlaskit/analytics-next": "^11.0.0", "@atlaskit/css": "^0.10.0", "@atlaskit/ds-lib": "^4.0.0", "@atlaskit/icon": "^25.0.0", "@atlaskit/platform-feature-flags": "^1.1.0", "@atlaskit/primitives": "^14.2.0", "@atlaskit/theme": "^18.0.0", "@atlaskit/tokens": "^4.5.0", "@babel/runtime": "^7.0.0", "@compiled/react": "^0.18.3", "bind-event-listener": "^3.0.0" }, "peerDependencies": { "react": "^18.2.0" }, "devDependencies": { "@af/accessibility-testing": "^2.0.0", "@af/integration-testing": "^0.5.0", "@af/visual-regression": "^1.3.0", "@atlaskit/button": "^21.1.0", "@atlaskit/docs": "^10.0.0", "@atlaskit/form": "^12.0.0", "@atlaskit/link": "^3.0.0", "@atlaskit/section-message": "^8.2.0", "@atlaskit/ssr": "^0.4.0", "@atlaskit/tooltip": "^20.0.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "react-dom": "^18.2.0", "typescript": "~5.4.2" }, "keywords": [ "atlaskit", "react", "ui" ], "techstack": { "@atlassian/frontend": { "import-structure": "atlassian-conventions" }, "@repo/internal": { "design-system": "v1", "dom-events": "use-bind-event-listener", "ui-components": "lite-mode", "analytics": "analytics-next", "design-tokens": [ "color", "spacing" ], "theming": [ "react-context" ], "deprecation": "no-deprecated-imports", "styling": [ "emotion" ] } }, "typesVersions": { ">=4.5 <4.9": { "*": [ "dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts" ] } }, "af:exports": { ".": "./src/index.tsx" }, "homepage": "https://atlassian.design/components/toggle/", "platform-feature-flags": { "platform-visual-refresh-icons": { "type": "boolean" } } }