@atlaskit/icon
Version:
An icon is a symbol representing a command, device, directory, or common action.
202 lines (201 loc) • 5.77 kB
JSON
{
"name": "@atlaskit/icon",
"version": "27.7.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",
"subPages": [
{
"title": "Icon (legacy)",
"id": "icon-legacy",
"sortKey": 1,
"status": {
"type": "deprecated",
"description": "Legacy icons (`@atlaskit/icon/glyph`) are deprecated. We recommend migrating to our new iconography system.",
"actions": [
{
"text": "View new icons",
"href": "/components/icon/"
},
{
"text": "Migration Guide",
"href": "/components/icon/migration-guide/"
}
]
}
},
{
"title": "Icon tile",
"id": "icon-tile",
"status": {
"type": "open-alpha",
"description": "This is an experiment. We may make frequent breaking changes with limited notice."
},
"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"
}
]
}
}
]
}
},
"scripts": {
"build-glyphs": "ts-node --project ../../../tsconfig.node.json ./build/index.tsx"
},
"dependencies": {
"@atlaskit/platform-feature-flags": "^1.1.0",
"@atlaskit/tokens": "^5.6.0",
"@babel/register": "^7.25.9",
"@babel/runtime": "^7.0.0",
"@compiled/react": "^0.18.3"
},
"peerDependencies": {
"react": "^18.2.0"
},
"devDependencies": {
"@af/accessibility-testing": "workspace:^",
"@af/icon-build-process": "workspace:^",
"@af/integration-testing": "workspace:^",
"@af/visual-regression": "workspace:^",
"@atlaskit/button": "^23.2.0",
"@atlaskit/code": "^17.2.0",
"@atlaskit/css": "^0.12.0",
"@atlaskit/docs": "^11.0.0",
"@atlaskit/ds-lib": "^5.0.0",
"@atlaskit/form": "^12.0.0",
"@atlaskit/heading": "^5.2.0",
"@atlaskit/icon-file-type": "^7.0.0",
"@atlaskit/icon-object": "^7.1.0",
"@atlaskit/link": "^3.2.0",
"@atlaskit/logo": "^19.5.0",
"@atlaskit/menu": "^8.0.0",
"@atlaskit/modal-dialog": "^14.3.0",
"@atlaskit/primitives": "^14.10.0",
"@atlaskit/section-message": "^8.4.0",
"@atlaskit/textfield": "^8.0.0",
"@atlaskit/theme": "^19.0.0",
"@atlaskit/toggle": "^15.0.0",
"@atlaskit/tooltip": "^20.3.0",
"@atlaskit/visual-regression": "workspace:^",
"@atlassian/ssr-tests": "^0.2.0",
"@babel/core": "7.24.9",
"@codeshift/utils": "^0.2.4",
"@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"
],
"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"
},
"platform-visual-refresh-icons-legacy-facade": {
"type": "boolean"
},
"platform-visual-refresh-icons-facade-button-fix": {
"type": "boolean"
}
}
}