UNPKG

@atlaskit/primitives

Version:

Primitives are token-backed low-level building blocks.

230 lines (229 loc) 5.88 kB
{ "name": "@atlaskit/primitives", "version": "14.7.3", "description": "Primitives are token-backed low-level building blocks.", "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": "Primitives", "category": "Primitives", "status": { "type": "beta" }, "pages": [ { "title": "Overview", "id": "@atlaskit/primitives", "folder": "overview", "slug": "primitives/overview" }, { "title": "Box", "folder": "box", "slug": "primitives/box", "id": "@atlaskit/primitives/box" }, { "title": "Inline", "folder": "inline", "slug": "primitives/inline", "id": "@atlaskit/primitives/inline" }, { "title": "Stack", "folder": "stack", "slug": "primitives/stack", "id": "@atlaskit/primitives/stack" }, { "title": "Flex", "folder": "flex", "slug": "primitives/flex", "id": "@atlaskit/primitives/flex", "status": { "type": "beta" } }, { "title": "Grid", "folder": "grid", "slug": "primitives/grid", "id": "@atlaskit/primitives/grid", "status": { "type": "beta" } }, { "title": "Bleed", "folder": "bleed", "slug": "primitives/bleed", "id": "@atlaskit/primitives/bleed" }, { "title": "XCSS", "folder": "xcss", "slug": "primitives/xcss", "id": "@atlaskit/primitives/xcss", "status": { "type": "intent-to-deprecate", "description": "We are planning on deprecating XCSS. We recommend using @atlaskit/css instead.", "actions": [ { "text": "View @atlaskit/css documentation", "href": "https://atlassian.design/components/css/" } ] } }, { "title": "Responsive", "folder": "responsive", "slug": "primitives/responsive", "id": "@atlaskit/primitives/responsive" }, { "title": "Text", "folder": "text", "slug": "primitives/text", "id": "@atlaskit/primitives/text", "status": { "type": "beta" } }, { "title": "Pressable", "folder": "pressable", "slug": "primitives/pressable", "id": "@atlaskit/primitives/pressable" }, { "title": "Anchor", "folder": "anchor", "slug": "primitives/anchor", "id": "@atlaskit/primitives/anchor" } ] }, "runReact18": true }, "scripts": { "codegen-styles": "ts-node -r tsconfig-paths/register ./scripts/codegen-styles.tsx" }, "dependencies": { "@atlaskit/analytics-next": "^11.0.0", "@atlaskit/app-provider": "^2.1.0", "@atlaskit/css": "^0.10.0", "@atlaskit/ds-lib": "^4.0.0", "@atlaskit/interaction-context": "^3.0.0", "@atlaskit/tokens": "^4.8.0", "@atlaskit/visually-hidden": "^3.0.0", "@babel/runtime": "^7.0.0", "@compiled/react": "^0.18.3", "@emotion/react": "^11.7.1", "@emotion/serialize": "^1.1.0", "bind-event-listener": "^3.0.0", "tiny-invariant": "^1.2.0" }, "peerDependencies": { "react": "^18.2.0" }, "devDependencies": { "@af/accessibility-testing": "workspace:^", "@af/formatting": "workspace:^", "@af/integration-testing": "workspace:^", "@af/visual-regression": "workspace:^", "@atlaskit/avatar": "^25.1.0", "@atlaskit/button": "^23.0.0", "@atlaskit/checkbox": "^17.1.0", "@atlaskit/code": "^17.2.0", "@atlaskit/docs": "^10.0.0", "@atlaskit/dropdown-menu": "^14.2.0", "@atlaskit/flag": "^17.1.0", "@atlaskit/form": "^12.0.0", "@atlaskit/heading": "^5.2.0", "@atlaskit/icon": "^26.0.0", "@atlaskit/icon-object": "^7.1.0", "@atlaskit/image": "^3.0.0", "@atlaskit/link": "^3.1.0", "@atlaskit/logo": "^18.0.0", "@atlaskit/lozenge": "^12.2.0", "@atlaskit/motion": "^5.1.0", "@atlaskit/range": "^9.0.0", "@atlaskit/section-message": "^8.2.0", "@atlaskit/textfield": "^8.0.0", "@atlaskit/toggle": "^15.0.0", "@atlaskit/tooltip": "^20.0.0", "@atlaskit/visual-regression": "workspace:^", "@atlassian/analytics-bridge": "^0.7.0", "@atlassian/codegen": "^0.1.0", "@atlassian/ssr-tests": "^0.2.0", "@testing-library/react": "^13.4.0", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^14.4.3", "csstype": "^3.1.0", "jscodeshift": "^17.0.0", "react-dom": "^18.2.0", "react-resource-router": "^0.20.0", "ts-node": "^10.9.1", "typescript": "~5.4.2" }, "techstack": { "@atlassian/frontend": { "import-structure": [ "atlassian-conventions" ], "circular-dependencies": "file-and-folder-level" }, "@repo/internal": { "design-system": "v1", "dom-events": "use-bind-event-listener", "analytics": "analytics-next", "ui-components": [ "lite-mode" ], "deprecation": "no-deprecated-imports", "styling": [ "static", "emotion" ], "design-tokens": [ "color", "spacing" ] } }, "homepage": "https://atlassian.design/components/primitives/overview/", "typesVersions": { ">=4.5 <4.9": { "*": [ "dist/types-ts4.5/*", "dist/types-ts4.5/index.d.ts" ] } }, "af:exports": { ".": "./src/index.tsx", "./box": "./src/components/box.tsx", "./stack": "./src/components/stack.tsx", "./inline": "./src/components/inline.tsx", "./text": "./src/components/text.tsx", "./pressable": "./src/components/pressable.tsx", "./anchor": "./src/components/anchor.tsx", "./responsive": "./src/responsive/index.tsx", "./compiled": "./src/compiled/index.tsx" } }