UNPKG

@atlaskit/toggle

Version:

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

101 lines (100 loc) 2.49 kB
{ "name": "@atlaskit/toggle", "version": "15.2.10", "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" } }, "dependencies": { "@atlaskit/analytics-next": "^11.1.0", "@atlaskit/css": "^0.19.0", "@atlaskit/ds-lib": "^5.3.0", "@atlaskit/icon": "^31.0.0", "@atlaskit/platform-feature-flags": "^1.1.0", "@atlaskit/primitives": "^18.0.0", "@atlaskit/spinner": "^19.0.0", "@atlaskit/theme": "^21.0.0", "@atlaskit/tokens": "^11.0.0", "@atlaskit/visually-hidden": "^3.0.0", "@babel/runtime": "^7.0.0", "@compiled/react": "^0.18.6", "bind-event-listener": "^3.0.0" }, "peerDependencies": { "react": "^18.2.0" }, "devDependencies": { "@af/accessibility-testing": "workspace:^", "@af/integration-testing": "workspace:^", "@af/visual-regression": "workspace:^", "@atlaskit/button": "^23.9.0", "@atlaskit/docs": "^11.3.0", "@atlaskit/form": "^15.3.0", "@atlaskit/link": "^3.3.0", "@atlaskit/section-message": "^8.12.0", "@atlaskit/tooltip": "^20.14.0", "@atlassian/ssr-tests": "workspace:^", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.4.3", "react-dom": "^18.2.0" }, "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" ] } }, "homepage": "https://atlassian.design/components/toggle/", "platform-feature-flags": { "platform-visual-refresh-icons": { "type": "boolean" } } }