UNPKG

@atlaskit/toggle

Version:

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

112 lines (111 loc) 2.81 kB
{ "name": "@atlaskit/toggle", "version": "15.6.2", "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": { "react-compiler": { "enabled": true, "gating": { "source": "@atlassian/react-compiler-gating", "importSpecifierName": "isReactCompilerActivePlatform" } }, "team": "Design System Team", "website": { "name": "Toggle", "category": "Forms and input" } }, "dependencies": { "@atlaskit/analytics-next": "^11.2.0", "@atlaskit/css": "^0.19.0", "@atlaskit/ds-lib": "^7.0.0", "@atlaskit/icon": "^35.0.0", "@atlaskit/platform-feature-flags": "^1.1.0", "@atlaskit/primitives": "^19.0.0", "@atlaskit/spinner": "^19.1.0", "@atlaskit/tokens": "^13.0.0", "@atlaskit/visually-hidden": "^3.1.0", "@babel/runtime": "^7.0.0", "@compiled/react": "^0.20.0", "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.11.0", "@atlaskit/docs": "^11.8.0", "@atlaskit/form": "^15.5.0", "@atlaskit/link": "^3.4.0", "@atlaskit/section-message": "^8.12.0", "@atlaskit/tooltip": "^22.2.0", "@atlassian/react-compiler-gating": "workspace:^", "@atlassian/ssr-tests": "workspace:^", "@atlassian/structured-docs-types": "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-toggle-atomic-styles": { "type": "boolean" }, "platform-toggle-fix-disabled-zindex": { "type": "boolean" } } }