@atlaskit/toggle
Version:
A toggle is used to view or switch between enabled or disabled states.
105 lines (104 loc) • 2.56 kB
JSON
{
"name": "@atlaskit/toggle",
"version": "15.1.3",
"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.12.0",
"@atlaskit/ds-lib": "^5.0.0",
"@atlaskit/icon": "^28.1.0",
"@atlaskit/platform-feature-flags": "^1.1.0",
"@atlaskit/primitives": "^14.12.0",
"@atlaskit/spinner": "^19.0.0",
"@atlaskit/theme": "^20.0.0",
"@atlaskit/tokens": "^6.1.0",
"@atlaskit/visually-hidden": "^3.0.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": "workspace:^",
"@af/integration-testing": "workspace:^",
"@af/visual-regression": "workspace:^",
"@atlaskit/button": "^23.4.0",
"@atlaskit/docs": "^11.0.0",
"@atlaskit/form": "^12.2.0",
"@atlaskit/link": "^3.2.0",
"@atlaskit/section-message": "^8.6.0",
"@atlaskit/ssr": "workspace:^",
"@atlaskit/tooltip": "^20.4.0",
"@atlassian/ssr-tests": "^0.3.0",
"@testing-library/react": "^13.4.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"
]
}
},
"af:exports": {
".": "./src/index.tsx"
},
"homepage": "https://atlassian.design/components/toggle/",
"platform-feature-flags": {
"platform-visual-refresh-icons": {
"type": "boolean"
}
}
}