@atlaskit/icon
Version:
An icon is a symbol representing a command, device, directory, or common action.
206 lines (205 loc) • 5.8 kB
JSON
{
"name": "@atlaskit/icon",
"version": "25.6.0",
"description": "An icon is a symbol representing a command, device, directory, or common action.",
"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": "Icon",
"category": "Images and icons",
"status": {
"type": "beta",
"description": "These icons are part of Atlassian's visual refresh. Use the legacy icons for current product experiences.",
"actions": [
{
"text": "View legacy icons",
"href": "/components/icon/icon-legacy/"
},
{
"text": "Migrate to new icons",
"href": "/components/icon/migration-guide/"
}
]
},
"subPages": [
{
"title": "Icon (legacy)",
"id": "icon-legacy",
"sortKey": 1
},
{
"title": "Icon tile",
"id": "icon-tile",
"status": {
"type": "open-alpha"
},
"sortKey": 2
},
{
"title": "Custom icon (legacy)",
"id": "custom-icon",
"sortKey": 3,
"status": {
"type": "intent-to-deprecate",
"description": "We are planning on deprecating custom icon. We recommend using either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.",
"actions": [
{
"text": "View available icons",
"href": "/components/icon/"
},
{
"text": "Contribute an icon (Atlassians only)",
"href": "https://go.atlassian.com/ads-icon-contribution"
}
]
}
},
{
"title": "Custom SVG",
"id": "custom-svg",
"sortKey": 4,
"status": {
"type": "intent-to-deprecate",
"description": "We are planning on deprecating custom SVG. We recommend using either an existing icon from @atlaskit/icon or @atlaskit/icon-lab, or contributing to @atlaskit/icon-lab directly. For third party logos, use an SVG element along with a label.",
"actions": [
{
"text": "View available icons",
"href": "/components/icon/"
},
{
"text": "Contribute an icon (Atlassians only)",
"href": "https://go.atlassian.com/ads-icon-contribution"
}
]
}
}
]
},
"runReact18": true
},
"scripts": {
"build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
},
"dependencies": {
"@atlaskit/platform-feature-flags": "^1.1.0",
"@atlaskit/tokens": "^4.7.0",
"@babel/register": "^7.25.9",
"@babel/runtime": "^7.0.0",
"@emotion/react": "^11.7.1"
},
"peerDependencies": {
"react": "^18.2.0"
},
"devDependencies": {
"@af/accessibility-testing": "^2.0.0",
"@af/icon-build-process": "^2.4.0",
"@af/integration-testing": "^0.5.0",
"@af/visual-regression": "^1.3.0",
"@atlaskit/button": "^23.0.0",
"@atlaskit/code": "^17.0.0",
"@atlaskit/css": "^0.10.0",
"@atlaskit/docs": "^10.0.0",
"@atlaskit/ds-lib": "^4.0.0",
"@atlaskit/form": "^12.0.0",
"@atlaskit/heading": "^5.2.0",
"@atlaskit/icon-file-type": "^7.0.0",
"@atlaskit/icon-object": "^7.0.0",
"@atlaskit/link": "^3.1.0",
"@atlaskit/logo": "^16.0.0",
"@atlaskit/menu": "^3.2.0",
"@atlaskit/modal-dialog": "^14.1.0",
"@atlaskit/primitives": "^14.4.0",
"@atlaskit/section-message": "^8.2.0",
"@atlaskit/textfield": "^8.0.0",
"@atlaskit/theme": "^18.0.0",
"@atlaskit/toggle": "^15.0.0",
"@atlaskit/tooltip": "^20.0.0",
"@atlaskit/visual-regression": "^0.10.0",
"@atlassian/ssr-tests": "^0.2.0",
"@babel/core": "7.24.9",
"@codeshift/utils": "^0.2.4",
"@compiled/react": "^0.18.3",
"@testing-library/react": "^13.4.0",
"fs-extra": "^4.0.2",
"globby": "^6.1.0",
"jscodeshift": "^17.0.0",
"lodash": "^4.17.21",
"nullthrows": "^1.1.1",
"pkg-dir": "^4.2.0",
"react-dom": "^18.2.0",
"ts-node": "^10.9.1"
},
"keywords": [
"atlaskit",
"ui"
],
"techstack": {
"@repo/internal": {
"dom-events": "use-bind-event-listener",
"design-system": "v1",
"styling": [
"static",
"emotion"
],
"ui-components": "lite-mode",
"analytics": "analytics-next",
"design-tokens": [
"color",
"spacing"
],
"deprecation": "no-deprecated-imports"
}
},
"typesVersions": {
">=4.5 <4.9": {
"*": [
"dist/types-ts4.5/*",
"dist/types-ts4.5/index.d.ts"
]
}
},
"homepage": "https://atlassian.design/components/icon/",
"af:exports": {
"./base": "./src/entry-points/base.tsx",
"./base-new": "./src/entry-points/base-new.tsx",
"./migration-map": "./src/entry-points/migration-map.tsx",
"./constants": "./src/entry-points/constants.tsx",
"./deprecated-map": "./src/entry-points/deprecated-map.tsx",
"./metadata": "./src/entry-points/metadata.tsx",
"./svg": "./src/entry-points/svg.tsx",
"./types": "./src/entry-points/types.tsx",
"./glyph": "./glyph",
"./core": "./core",
"./core/migration": "./core/migration",
"./utility": "./utility",
"./utility/migration": "./utility/migration",
".": "./src/index.tsx"
},
"platform-feature-flags": {
"platform-visual-refresh-icons": {
"type": "boolean",
"showOnWebsiteForTransitiveDependencies": true
},
"platform-visual-refresh-icons-legacy-facade": {
"type": "boolean",
"showOnWebsiteForTransitiveDependencies": true
},
"platform-visual-refresh-icons-facade-button-fix": {
"type": "boolean"
}
}
}