{"name":"@atlaskit/tokens","version":"0.0.16","author":{"name":"Atlassian Pty Ltd"},"_id":"@atlaskit/tokens@0.0.16","homepage":"https://bitbucket.org/atlassian/atlassian-frontend#readme","dist":{"shasum":"3321d1f3f176ac893f7c5ab93db505b67776d1a6","tarball":"http://registry-npm.ywwl.com/@atlaskit/tokens/download/@atlaskit/tokens-0.0.16.tgz","fileCount":98,"integrity":"sha512-4yBqg5tLrcCEly2DDiTb6NgxLZzPAaDAshGvr1QlY1JDuvd1db1JOpNo8s9+qGzoUP7fGYsOvvUGDaXiHlHrFA==","signatures":[{"sig":"MEQCIGu1oQL0ObKXJulOXA3qmP7+TNn7P3JSb8kUDoH2YzkOAiBCYiUEQYxw1FHfcUZ6KDjZV/v7x0BjTm5JycxQ5hhMCQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":208071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5PmFCRA9TVsSAnZWagAAqpUP/iErzV0G2IxPjBjQYarb\nhihtFCOOfDSm8clHBUeOoj4yDB3lCrL9nd1d6u/wmb8e98w6d0xOraPf59j3\nlJR8nFdL+lwgh6VF+OqIffsAj+X+VWvoVsxr5wLcoQ0/WpOVTI/6WrD+ZfSy\nhyGlAtyaGM8BdAx6tPS+eaoST72eEjfpydenw66uNgBot+R42HuHqLESserl\n91d5XJf3WhercFbpPQDQdt5uE9D+fwtTVhYTyuQqfKFR1iuins/cEK+z6QlQ\n30P+ktTRFziOt7ywIAGhFIhFFHuaB3PbxKHuDnBchEUprnfZ6Z5j4qOUi/EX\n51i8jlYQJSZ14hVz0OnXcFkC6zontp0MjRRkrzBkFUDO8iqSzcuKXLjYKRRi\nBeeCM0E4S3mNixiQxXz92saEJ44eey3ybilPwAdnP1J2F8Hho671+hx1RVe0\nMBI6x6SJh67uFSg5QgoKBi9jFFYvTFr8ijc6zQ9tm5d4Hfvp7QCeZQEPeIYq\nWAoWywIOEyn+4mFYR0h6jnXAQy7wl0R7kELc7VmjSzK/stVBH6jPhAoUdKjz\nVTyHGlbMi+l6AmZEZwgftN93i5/ZUsM38G2k9ONkbs8mp2fH92dTco+Ru4Xx\n+dngNnhiSR4W8+iLAqnZLAOtm/M0o1K7PYCLP3g1SZ+gn1avn5bPLEzhXWYq\nPC+R\r\n=VXXG\r\n-----END PGP SIGNATURE-----\r\n","size":19387,"noattachment":false,"key":"/@atlaskit/tokens/-/@atlaskit/tokens-0.0.16.tgz"},"main":"dist/cjs/index.js","types":"dist/types/index.d.ts","module":"dist/esm/index.js","scripts":{"ak-postbuild":"yarn codegen-tokens && yarn check-clean-git","codegen-tokens":"ts-node --project ../../../tsconfig.node.json ./scripts/style-dictionary/build","check-clean-git":"git diff --exit-code -- packages/design-system/tokens/ || (echo 'tokens are is out of date, run bolt build tokens' && false)"},"_npmUser":{"name":"atlaskit","email":"afp-repo-bot@atlassian.com"},"prettier":"@atlassian/atlassian-frontend-prettier-config-1.0.1","atlassian":{"team":"Design System Team","releaseModel":"continuous"},"techstack":{"@repo/internal":{"deprecation":"no-deprecated-imports","design-system":"v1","ui-components":"lite-mode"},"@atlassian/frontend":{"import-structure":"atlassian-conventions","circular-dependencies":"file-and-folder-level"}},"af:exports":{".":"./src/index.tsx","./token-names":"./src/entry-points/token-names.tsx"},"repository":{"url":"git+https://bitbucket.org/atlassian/atlassian-frontend.git","type":"git"},"_npmVersion":"6.14.12","description":"This is an internal package with common functionality used in the Atlassian Design System Team. This package comes with no support and semver guarantees, your app will break if you use this directly!","directories":{},"sideEffects":false,"_nodeVersion":"12.22.1","atlaskit:src":"src/index.tsx","dependencies":{"@babel/runtime":"^7.0.0"},"module:es2019":"dist/es2019/index.js","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"lodash":"^4.17.15","ts-node":"^10.0.0","prettier":"^2.1.1","typescript":"3.9.6","style-dictionary":"^3.0.0","@atlassian/atlassian-frontend-prettier-config-1.0.1":"npm:@atlassian/atlassian-frontend-prettier-config@1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tokens_0.0.16_1625618820888_0.09210220809255554","host":"s3://npm-registry-packages"},"readme":"# Tokens\n\nTokens are a single source of truth to name and store Atlassian design decisions.\n\n## Installation\n\n```sh\nyarn add @atlaskit/tokens\n```\n\n## Usage\n\n[View documentation](https://atlassian.design/components/tokens).\n\n# BabelPlugin\n\nA babel plugin to optimise performance and support fallbacks for Design System tokens.\n\nIt replaces any calls to the `@atlaskit/tokens` token() function with the CSS value the function\nwould return (i.e. var(--token-name) or variations with fallbacks).\n\nIf there’s no fallback, the plugin (optionally) finds the token’s value from the default Atlassian\ntheme, and sets it as the fallback.\n\nIf there is a fallback defined in code, it’s inserted into the style (expressions are inserted using\ntemplate strings).\n\n## Usage\n\nAdd the plugin to your babel configuration:\n\n```\n{\n  \"plugins\": [\n    [\"@atlaskit/tokens/babel-plugin\", { \"shouldUseAutoFallback\": true }]\n  ]\n}\n```\n\n### Options\n\nCurrently the plugin supports one option, `shouldUseAutoFallback`. When not disabled, the plugin\nwill fetch the token's value in the default Atlassian theme (currently `atlassian-light`) and use it\nas the fallback value.\n\nThis is useful for cases where tokens are in use, but token definitions aren't guaranteed to be\npresent in the top-level page CSS.\n","publish_time":1625618821049,"maintainers":[{"name":"atlaskit","email":"afp-repo-bot@atlassian.com"}],"_cnpm_publish_time":1625618821049,"dist-tags":{"latest":"20.15.0","next":"1.4.2"}}