{"_id":"@ax-design/acrylic","_rev":"3-ab3cf57a4b7fba59c3cfe3ddfed00efc","name":"@ax-design/acrylic","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@ax-design/acrylic","version":"0.0.1","description":"Web component that implement acrylic texture of Axiom Design System.","main":"build/main.js","module":"es/index.js","typings":"es/index.d.ts","repository":{"type":"git","url":"git+https://github.com/ax-design/acrylic.git"},"license":"MIT","sideEffects":false,"devDependencies":{"npm-run-all":"^4.1.5","rimraf":"^2.6.3","rollup":"^1.11.3","rollup-plugin-babel-minify":"^8.0.0","rollup-plugin-typescript2":"^0.21.0","typescript":"^3.4.5"},"scripts":{"start":"npm-run-all --parallel start-tsc start-rollup","start-tsc":"tsc --watch","start-rollup":"rollup -c -w","build":"npm-run-all --parallel clean build-main build-tsc","build-tsc":"tsc","build-main":"rollup -c","build-rollup":"npm-run-all build-worklet build-main","clean":"rimraf ./es ./build","prepublishOnly":"npm run build"},"gitHead":"0a29006a1c194ab05fcb244b1667e7af9af56277","bugs":{"url":"https://github.com/ax-design/acrylic/issues"},"homepage":"https://github.com/ax-design/acrylic#readme","_id":"@ax-design/acrylic@0.0.1","_nodeVersion":"11.14.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-yp0C59nWOt9i/4HPYVQB6b5N1Bz55kgCNoespLtBN0bAJIKMTNlBkh0dK0/KLmIhM+peHQYh+oUXyXpXqWPUZw==","shasum":"28f37c707c561fc48b35fe8566049e7869d90a66","tarball":"https://registry.npmjs.org/@ax-design/acrylic/-/acrylic-0.0.1.tgz","fileCount":39,"unpackedSize":1624066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdDhxQCRA9TVsSAnZWagAAlsgQAIfTnO7AqdltAsbqWXJA\nCCU4VOPflhf1AnFGhDpcYxcOYxMPCZmr/WvI0Jf+Cp/KwNMc968cwL1wKCdI\nirawncC4iftMjTgJFdL6F3KYJ1wTEwa1npiz5aZ6Vk0tL2YR1V9uVda/kwRn\nRbXbFke2KnV+W8BO/JhUWGh/flmHDYTXzGq5bC8vK4D5hg8hOGEiouRl23Fy\nlIL8T4c4r7cgGWN6/DjzLjU3aooR4dIzPSFoAql5uwfn1IfMTjgQ1kX+gKyf\ntUDIfs51X8zSlB83hW3RlOB9dzqWjsKWAb62w4Jo/7ZBiH96UPWrIouHEJfm\ndd4E6yjDnanGaQ52dzIobU3Lv9cE0vo9HTCtQRlpv2/wnTaJz4HdE97oGY6L\nCW5bCaqfGJ5Bx81EAl35zCkh2tbUUxs11i8Mq9C5s0eUC9I56wCBHY0uX7GW\n/ME9z3MEVDzrgMenNtf9J8FtDLc8hZP0pY8eHEdl0C5v1d1VCj7LG2IH4/Qj\nUtkB7sp62yZCadFH46wrKosa3+H3oxqi2tMhoF623MxQCfZBiz5JCBRUemB4\nVLUg3fjntq2gyFW1Iq1gkAqp3vP530aaF/FN1y3bZHxb3UHtySWOngRX3DTE\nm2ES/l5D8buNffQYqyLiPotkMREl7DYVaQ6yXvgzUITFUVOTK5TxLHxUnKmK\nTgTb\r\n=8GRn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDt/JtGFzT/NUtaUIdnKmGQvacLBcX05gXoqFs0CeEpaAIhAPenH7IA8Nb2FxvzsUplKkvZCqGsdFfWZIhxpJZ14zsA"}]},"maintainers":[{"name":"jackworks","email":"zjwpeter@gmail.com"},{"name":"losses","email":"losses.don@gmail.com"}],"_npmUser":{"name":"losses","email":"losses.don@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acrylic_0.0.1_1561205839485_0.6519808137350753"},"_hasShrinkwrap":false},"0.0.2":{"name":"@ax-design/acrylic","version":"0.0.2","description":"Web component that implement acrylic texture of Axiom Design System.","main":"build/main.js","module":"es/index.js","typings":"es/index.d.ts","repository":{"type":"git","url":"https://github.com/ax-design/acrylic"},"license":"MIT","sideEffects":false,"devDependencies":{"npm-run-all":"^4.1.5","rimraf":"^3.0.2","rollup":"^2.62.0","rollup-plugin-babel-minify":"^10.0.0","rollup-plugin-typescript2":"^0.31.1","typescript":"^4.5.4"},"scripts":{"start":"npm-run-all --parallel start-tsc start-rollup","start-tsc":"tsc --watch","start-rollup":"rollup -c -w","build":"npm-run-all --parallel clean build-main build-tsc","build-tsc":"tsc","build-main":"rollup -c","build-rollup":"npm-run-all build-worklet build-main","clean":"rimraf ./es ./build","prepublishOnly":"npm run build"},"licenseText":"MIT License\n\nCopyright (c) 2019 ax-design\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@ax-design/acrylic@0.0.2","dist":{"shasum":"fe33d6197d10c28ccc9795cfb100b5c9c1f381bc","integrity":"sha512-X78nibVUqR9fN5S9CnHphRia+fOD6F4+LmJaadOKoBKi3RFHHzPLjObGYq9wweq+Vpgm8pPTt1M4+tudIdVIlg==","tarball":"https://registry.npmjs.org/@ax-design/acrylic/-/acrylic-0.0.2.tgz","fileCount":46,"unpackedSize":1555396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhx9TJCRA9TVsSAnZWagAAD94P/3U4JKhcLpHjaFyx+K5u\naiNILMPtPAF5ihnPKGuYRaSLJ4CKyiaoXGpjqpN3JbyCNpBznI00Hd83tjJO\npZ50ohBCs70cPC5czsPkYMTUidaCqjnFfqH2OnFmmnzoPfaghKg7rx0ymAL0\nkfyFjLsrmZg/tmzw96RqJDXQN5eUnIOXMs2gvtiTWwJxU/TEnBB7mop9/Hqh\n6bOvnTHcaom1C8zflVWhaO+9GDwxrOan/KZP0T87LfQdUrhHy6mSaUEEjocs\n+5pnSpT4nIgvaugIyJqOvF6BohEtc2+OQ3fX+kGgu+2wswm+TJlYXF0aRgiw\n/TbV0+tkl/kyce+xFZ3pyMCcY5rC6oArPguGBao6Bm18jXi5azsMSjn02wTA\nVkQCqFcKCgr8yht4f4/ep6hxxvAlethA/rIBKMnLgaS9h7atLga+By+nKdX1\nOpxrpfBnmF2XjLSPRTXTPAfqxO5dgQNhPxwfntrci6RjmUPj8wf3aZkQgTay\nL2EV43/kgODfOy/412r8zH+13kX89IXVu/UsfJ401kO/LBEMxURq+B9PIdq4\nP3f6jUPORo5wrkUQLpyxug5CcTB0TSRelQ9BUHy1n/1KS9YSuiXWlCyEaWd5\nDgzoJyd+s4eA/EXDH3NwJp2I52Ebkds8V6aDzHeJyi+iwOHKDx5cC9hxkjzg\nY87C\r\n=f32O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICDDDHKaJoPth8lFhy0cQljMVoJhlJ/8pme3fAHZ8rWRAiAwsOm+amrJMMk0P/ImxGBM61GYXRpge95c+HyUlC9SDQ=="}]},"_npmUser":{"name":"jackworks","email":"zjwpeter@gmail.com"},"directories":{},"maintainers":[{"name":"losses","email":"losses.don@gmail.com"},{"name":"jackworks","email":"zjwpeter@gmail.com"},{"name":"balthild","email":"stingzz.go@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/acrylic_0.0.2_1640486089744_0.1037188024299589"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-22T12:17:19.287Z","0.0.1":"2019-06-22T12:17:19.685Z","modified":"2022-04-04T17:06:06.183Z","0.0.2":"2021-12-26T02:34:49.981Z"},"maintainers":[{"name":"losses","email":"losses.don@gmail.com"},{"name":"jackworks","email":"zjwpeter@gmail.com"},{"name":"balthild","email":"stingzz.go@gmail.com"}],"description":"Web component that implement acrylic texture of Axiom Design System.","repository":{"type":"git","url":"https://github.com/ax-design/acrylic"},"license":"MIT","readme":"<h1 align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/ax-design/acrylic/master/docs/logo.png\" alt=\"acrylic\">\n</h1>\n\n<p align=\"center\">\n  Web component that implements Acrylic texture of Axiom Design System.\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@ax-design/acrylic\"><img src=\"https://img.shields.io/npm/v/@ax-design/acrylic.svg\" alt=\"npm version\"></a>\n  <a href=\"https://travis-ci.com/ax-design/acrylic\"><img src=\"https://travis-ci.com/ax-design/acrylic.svg?branch=master\" alt=\"CI Status\"></a>\n  <img src=\"https://img.shields.io/badge/license-MIT-green.svg\" alt=\"MIT Licence\" />\n</p>\n\n<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/ax-design/acrylic/master/docs/screenshot.png\" alt=\"Screenshot\">\n</p>\n\n## Installation\n\n```bash\n// with npm\nnpm install @ax-design/acrylic\n\n// with yarn\nyarn add @ax-design/acrylic\n```\n\nand import it:\n\n```javascript\n//CommonJS\nrequire('@ax-design/acrylic').register();\n\n//ESModule\nimport { register } from '@ax-design/acrylic';\nregister();\n```\n\n## Usage\n\nTo add a reveal effect on your web application, you need to wrap a `ax-acrylic` component with the component you want to add tile effect.\nHere's an example:\n\n```html\n<ax-acrylic>\n  Acrylic!\n</ax-acrylic>\n```\n\n## Style Controlling\n\nAcrylic component uses custom properties to manage the style of the tile effect.\n\n\n### --acrylic-tint-color\n\n**Type:** `<color>`\n\n**Default:** `black`\n\n**Description:** The base color of your Acrylic texture if `dropback-filter` is available for your user.\n\n\n### --acrylic-tint-opacity\n\n**Type:** `number`\n\n**Default:** `0.6`\n\n**Description:** The opacity of your Actylic texture if `dropback-filter` is available for your user.\n\n\n### --acrylic-fallback-color\n\n**Type:** `<color>`\n\n**Default:** `black`\n\n**Description:** The color of the Acrylic texture if `dropback-filter` is not available for your user, PLEASE NOTICE THAT there isn't an option called `--acrylic-fallback-opacity`, the opacity of fallback Acrylic texture is always 1 for the concern of a11y.\n\n### --acrylic-noise-opacity\n\n**Type:** `number`\n\n**Default:** `0.03`\n\n**Description:** The opacity of the noise layer, please notice that while in fallback mode, the noise layer will be removed.\n\n### --acrylic-blur\n\n**Type:** `<length>`\n\n**Default:** `20px`\n\n**Description:** The radius of blur filter, The greater the radius means the deeper blur effect.","readmeFilename":"README.md"}