{"_id":"@cr4zyc4t/native-styled","_rev":"5-41177e437e9fb65c13e2202c70362451","name":"@cr4zyc4t/native-styled","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@cr4zyc4t/native-styled","version":"1.0.0","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/cr4zyc4t/react-native-styled.git"},"author":{"name":"ToanVQ","email":"hunter9xbn@gmail.com"},"license":"MIT","scripts":{"dev":"tsc -w","build":"rimraf dist && tsc"},"peerDependencies":{"react":">=16.8.0","react-native":">=0.59.0"},"dependencies":{"lodash.mapvalues":"^4.6.0","lodash.omitby":"^4.6.0"},"devDependencies":{"@types/lodash.mapvalues":"^4.6.7","@types/lodash.omitby":"^4.6.7","@types/react":"~18.0.24","@types/react-native":"~0.70.6","rimraf":"^3.0.2","typescript":"^4.9.4"},"types":"./dist/index.d.ts","gitHead":"16c6f643d935ad80fe7120b6c365dbda06f262bc","description":"Inspired by [styled-component](https://styled-components.com/), but please to use in React Native.","bugs":{"url":"https://github.com/cr4zyc4t/react-native-styled/issues"},"homepage":"https://github.com/cr4zyc4t/react-native-styled#readme","_id":"@cr4zyc4t/native-styled@1.0.0","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-0uDIn9k2e9A6ABVOPNHyRIiz30xvHpfeQvLqditXpMFblQT3AH5ruIifionqA1k6fOoocLvc9bAmKLk4N5hoCA==","shasum":"ec9bfded52c5e3bef67fcee8d74bb4df4de3c92e","tarball":"https://registry.npmjs.org/@cr4zyc4t/native-styled/-/native-styled-1.0.0.tgz","fileCount":7,"unpackedSize":22075,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9ScrmVY/UAADwF4e06bf4UHIm7Z+21ByRasmg0EnpsQIhAN5wY0jGs+y5z7uMDsN1egqOXrWi8qq0P7ECPFSDcizi"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuQ5zACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmokbw//bALFm2Rg3tpeqWdYwCZ+s30BlGAdJ+Vm6K9tYmm40vP7QTbI\r\nqXg+lQXc5IGvPty0TCb4Y2rcPl/UtpCoyqpBy8x9TLbdhwTLl93xyEQvLw//\r\nM+BCqe11zhTa/o79wHwLWQNihT+l/ErAX5gEGbfMSyJxEOS3sAJ3/9XYNoYd\r\nwDxZ8COtrqpFSd6N/BhcrDMhK318iWgC1B2rql6qdMnBPA/qM7vkHeMMlQdv\r\nmWlMYT8Vf8FMK3ne/066WifBNP3nI2GTAjfaWrHN4q2mQETDAPgw+wkdicze\r\nsdJ6a61Bc8mOMkE5d45KaTmlTR72RJ/khCpgpJzJ6+jE4ANRVXJncopL5Pq3\r\ns5erbSEkY5JtnlHaUGzG6bmcN2q3xtnqFJxr7x76cG9vkxm9EX2xYvhdck3n\r\nCWrWvvGvNaUESZoBGulyP4ce71G7CdlbPppC5qv2D1wOTgVyUgwCBxkQAb/8\r\nZ6cMxsK6ndCQEVk3bnW0uzDqayIYoJr6JTVm2lFg1Uz/JEJeutdd4L3yoZJX\r\nbVAM+0ZfbVuNnZF+h3p9rmH6+kk+ONEodGjFxEirWjtw6OKBgsdC89DsfZlL\r\nL0NH8HKY3wYJkpB5qXgaL/wHJE4lQh2Xh91YOxI3u0kazyY/RycH22W8lGAj\r\n8nHaJxfUNIQJYOSiJINsIYDt3b6FpwgfEGk=\r\n=31Rp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"vqt907","email":"hunter9xbn@gmail.com"},"directories":{},"maintainers":[{"name":"vqt907","email":"hunter9xbn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-styled_1.0.0_1673072243174_0.5642018215505431"},"_hasShrinkwrap":false},"1.0.1":{"name":"@cr4zyc4t/native-styled","description":"An extremely lightweight styling solution for React Native inspired by styled-components","version":"1.0.1","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/cr4zyc4t/react-native-styled.git"},"author":{"name":"ToanVQ","email":"hunter9xbn@gmail.com"},"license":"MIT","scripts":{"dev":"tsc -w","build":"rimraf dist && tsc"},"peerDependencies":{"react":">=16.8.0","react-native":">=0.59.0"},"dependencies":{"lodash.mapvalues":"^4.6.0","lodash.omitby":"^4.6.0"},"devDependencies":{"@types/lodash.mapvalues":"^4.6.7","@types/lodash.omitby":"^4.6.7","@types/react":"~18.0.24","@types/react-native":"~0.70.6","rimraf":"^3.0.2","typescript":"^4.9.4"},"keywords":["styled-components","styled","react-native"],"types":"./dist/index.d.ts","gitHead":"74a5a2dff68f4b9482fb87b0a26e210557831952","bugs":{"url":"https://github.com/cr4zyc4t/react-native-styled/issues"},"homepage":"https://github.com/cr4zyc4t/react-native-styled#readme","_id":"@cr4zyc4t/native-styled@1.0.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-NlDypi4ddTPw3qqBtdHTeya24sBa7budLytYJlnuvwf4BzooSug/6L4WJqtaGHf+e+775rO0k0SRXyh9rMQL4Q==","shasum":"9f070874a1ce1c919de5f7079782fb07e64b6143","tarball":"https://registry.npmjs.org/@cr4zyc4t/native-styled/-/native-styled-1.0.1.tgz","fileCount":7,"unpackedSize":22262,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEV7aytwqz3mvI7xqvAm2wTuu5tLFlr9KzidAZZyr2/5AiEApQoQZSTwddJKQzTJ1LA7OrQ+OhSpHDrLO2GHy1KINYI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuQ/hACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkhhAAmjbL7qUVsGhf9QEEJGBhg7Svv2hvUdpZeLpXeP5qmxzcJzDd\r\nUe8tsEchi5utYXDduM9WXcKPPqhfOyrV17oqRGA4locMFtL59O9Vy8wVO3R4\r\nlxMzSE8jrpp6FukDW4xgy3SN33pkFqXimgMmzVbvePK/9b7frSL6ymkdbfhm\r\nY2eKr3XDC+fvm0j6pGjl0gPgKc7X4VZ/hNZdzHnSlu+S3QzyFZrcHhr4RvTd\r\nfHjHYyAew0FI0063WQN0xSfdRNvMhto6yHojS2qhTxq22Un/jqCN+SbUxDep\r\nR5S84JH/ej8+SFizXSnse8QepyvcoK4YFqNGDaIps0Nj2xlXu3BPB3PAJL01\r\nojPTko514lUeKgKSiwcZBKcg9wxKCt2LX33k08HikYfxLZfHcfSaJTUUrzRY\r\n028A5fc0PzfdsqIcw/ELlO7G28gwbtxt0XMJSgYpMzu+HuGZUWzJFcVjHAOp\r\nnCXvTsWSkuCKw/+81wWgf9M8LqMXdc1BpynKalnzbaID+aLMEHVq4fkTZOxB\r\nvNEEJAp9x8Te3/Bhsy+RDrqCbhLwHCFSu5Pt+FLyfPwUQEbb2ScAY/h5tvjS\r\nZTAO5hO+Qhd2cdVJu9M3jEEr0F++8E/ZpdHpjdhYuCeVx7ceM7MXILt4wiWA\r\n5BI2VweAAwCX3P4NVemj9UdVXxyH0DnPktE=\r\n=UgMi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"vqt907","email":"hunter9xbn@gmail.com"},"directories":{},"maintainers":[{"name":"vqt907","email":"hunter9xbn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-styled_1.0.1_1673072609118_0.5053794447716511"},"_hasShrinkwrap":false},"1.0.2":{"name":"@cr4zyc4t/native-styled","description":"An extremely lightweight styling solution for React Native inspired by styled-components","version":"1.0.2","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/cr4zyc4t/react-native-styled.git"},"author":{"name":"ToanVQ","email":"hunter9xbn@gmail.com"},"license":"MIT","scripts":{"dev":"tsc -w","build":"rimraf dist && tsc"},"peerDependencies":{"react":">=16.8.0","react-native":">=0.59.0"},"dependencies":{},"devDependencies":{"@types/lodash.mapvalues":"^4.6.7","@types/lodash.omitby":"^4.6.7","@types/react":"~18.0.24","@types/react-native":"~0.70.6","rimraf":"^3.0.2","typescript":"^4.9.4"},"keywords":["styled-components","styled","react-native"],"types":"./dist/index.d.ts","gitHead":"3d3f306092ae9f96c73f5d0cf3af517658ec63b9","bugs":{"url":"https://github.com/cr4zyc4t/react-native-styled/issues"},"homepage":"https://github.com/cr4zyc4t/react-native-styled#readme","_id":"@cr4zyc4t/native-styled@1.0.2","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-GkgAxZpJkg1fbu5mW9uwfND8KriHg30ba6rmkTbs60hnI7+b1OU9Jo15pLwHN2uYbka3jI4EdBbtt3b21hOdhQ==","shasum":"a3586b789d132e9bfd2710338f51f52887ae574d","tarball":"https://registry.npmjs.org/@cr4zyc4t/native-styled/-/native-styled-1.0.2.tgz","fileCount":7,"unpackedSize":22285,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXeZF++esdnScpfPOSvoRXe1HF+47yW6RamCvNDYFk4AIgBUwLc8IG9QJqbAAOVN7F6E7BiYZBXWcQwrWTAbaPs9Y="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuRbAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqR3g/+NU1I0xRdiFRYLcPC0mG9ppMXTY3+4g4ozxRDM4O2BMNW+YC/\r\nMGKgCqOGWJsC1dwXMYFSJyL62zGzU3Bdr/Nw1vyRvZ0f3v1QpHayZYJVCxPW\r\nfe1pYJofDskNz3XEPW4ABX7vpyeEu9IPyxPKaEjM172MDFN/XhogDnQ6wI4H\r\nLKtC2kOXIlPViiVVy6XxJP9vTJF1djRYui/eowm8Afxu56gUdqJabhAVakGk\r\nuHn2YYv4I4brCUqD8qS2UAIAqQzMaeqmn7IKEKMzG2XUUljA8LihDKDxDDVu\r\neVwrmqHHgiZEyP2pWYaTHOqLJvg13jw3bBEOI3LVcP/CBppSNnEhlJ+86vun\r\n4x7ynA1M58N6alhN1tBmHGFd3BmoVwdnQjsTmi0qKjvX/TXEnUv0Ips3xk4D\r\nZBtFvpmjYm92cdEXSPtcCJiSh2j1zAtNyX5iwkSrk9LUIVgwHG2anjM4vES3\r\nHRjt62zTBCsQxNAMaHl3P6RGAwDPuEQHMFPQu+PBZy7ARMkO0kiwi8CJWGkg\r\n1hxv9Un/dCzB++goMCnl4g8JcHqz310JnSkxHxXKCHxwv4ZLcyecXKE4X9k9\r\n27uMdXVzodGJ82fgsRvluHV7w0SbA3uQrNGXKFjk5iQroLVezBroOoZ1/5bA\r\nIC+51F136jVgWfYNIaJeC75bp47eaaByGiU=\r\n=dN4j\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"vqt907","email":"hunter9xbn@gmail.com"},"directories":{},"maintainers":[{"name":"vqt907","email":"hunter9xbn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-styled_1.0.2_1673074368152_0.9522561782478816"},"_hasShrinkwrap":false},"1.0.3":{"name":"@cr4zyc4t/native-styled","description":"An extremely lightweight styling solution for React Native inspired by styled-components","version":"1.0.3","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/cr4zyc4t/react-native-styled.git"},"author":{"name":"ToanVQ","email":"hunter9xbn@gmail.com"},"license":"MIT","scripts":{"dev":"tsc -w","build":"rimraf dist && tsc"},"peerDependencies":{"react":">=16.8.0","react-native":">=0.59.0"},"dependencies":{},"devDependencies":{"@types/lodash.mapvalues":"^4.6.7","@types/lodash.omitby":"^4.6.7","@types/react":"~18.0.24","@types/react-native":"~0.70.6","rimraf":"^3.0.2","typescript":"^4.9.4"},"keywords":["styled-components","styled","react-native"],"types":"./dist/index.d.ts","gitHead":"ce1953f040fe3e053b9c20be27e3ce414d0025b8","bugs":{"url":"https://github.com/cr4zyc4t/react-native-styled/issues"},"homepage":"https://github.com/cr4zyc4t/react-native-styled#readme","_id":"@cr4zyc4t/native-styled@1.0.3","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-St6V1iMTK06CUuJ54o08WvyR8sIw7mrFwSsv68E/AAdzFrYtUvH4G6Xm7BuxPlVQABclgVVKxjwaB9kcHHiH5g==","shasum":"fe26bcdf43ee5d465f1c8bd175971b6b7a0e3026","tarball":"https://registry.npmjs.org/@cr4zyc4t/native-styled/-/native-styled-1.0.3.tgz","fileCount":5,"unpackedSize":7899,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHirUs7fHA/ummEaiEaK0TGs2CpJZV+jeGp48XSz6lowIgbCk1Zh+wKGAn/d9eQMjeNCdrV2fVaGAsyKDZzsya/y8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjuRdXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoLQw//fJ7DvorWgVVFhWO9b7VrFniHEj5H7puePFeVvpUGtYLHmome\r\n7K1as2cqf9bNpIigEO4zVhZR9oD42vzeds0cGxP9/JjYMASbV2eAJSO8x/fU\r\no5WNVN65uBD8hA0oSLost9u0RaF2Nzh0Fr1BLhgSjO58AlAXeSbpx1WW5mdJ\r\np4A8PIqexHUF29KtYCXIePpyjg8TMsWWvOGr4aSktiu2Ta/TPfPOi1zRrWNd\r\nX/bpjXcAL/p5Tm8FGLL9VgayvuBHR6Vv6PaNEUY4CoPgbPvoKliKlPVXvnwB\r\nvAjOxQIFB46RVNKd8ciegla4SCrWZQ35PLNKZ2IKRTWeHgybPXIKwL8EPN4K\r\nUbb+avD1nAni/IS0sHWngL9WJOtB8A2jpyive6bp4JMDspTQ4q41q649y8Ue\r\nY5u79lKYnhdH6ICKSnfpj27IYi/CtTFQtUw8urM4INF9BBLS9dm/CvqGe3b+\r\npDtDsbJhy84gT55jMSd9V6btKwt1QFN2joCu7bOs1uqQ9ln4jRgmz0sVDUwD\r\nngSTePDLgCnVNx05FfD9nXTucGtG/Ii/vVcsQ598aKEe9H418a8OYzs1uJY3\r\n2Z3fflEhEKCFVKEiisU+L3Tclxs1abFR0J6QmDIy+wX6p1qkisQjzyoR7rLV\r\n2Siord7WppjjvmpIayg1vbW97n1b2dADn/E=\r\n=qX95\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"vqt907","email":"hunter9xbn@gmail.com"},"directories":{},"maintainers":[{"name":"vqt907","email":"hunter9xbn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-styled_1.0.3_1673074519003_0.6691115112543102"},"_hasShrinkwrap":false},"1.1.0":{"name":"@cr4zyc4t/native-styled","description":"An extremely lightweight styling solution for React Native inspired by styled-components","version":"1.1.0","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/cr4zyc4t/react-native-styled.git"},"author":{"name":"ToanVQ","email":"hunter9xbn@gmail.com"},"license":"MIT","scripts":{"dev":"tsc -w","build":"rimraf dist && tsc"},"peerDependencies":{"react":">=16.8.0","react-native":">=0.59.0"},"dependencies":{},"devDependencies":{"@types/react":"^18.0.26","@types/react-native":"^0.70.8","rimraf":"^3.0.2","typescript":"^4.9.4"},"keywords":["styled-components","styled","react-native"],"types":"./dist/index.d.ts","gitHead":"8c2ab9f6c688d00236d7ed2b1a89db902a28439f","bugs":{"url":"https://github.com/cr4zyc4t/react-native-styled/issues"},"homepage":"https://github.com/cr4zyc4t/react-native-styled#readme","_id":"@cr4zyc4t/native-styled@1.1.0","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-23CH14DJ5yI0QnPuXO47WKFIPW7u7XUHjYVgsGSEHkreLLvUSAz4OT/IuRYemjEjF8UlCLzTo7zVy4xIWg3bgQ==","shasum":"941aeaccf6c2d6613121150b5729e173a2ab0547","tarball":"https://registry.npmjs.org/@cr4zyc4t/native-styled/-/native-styled-1.1.0.tgz","fileCount":5,"unpackedSize":9012,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzVTIuz/V/2r9FzcZkiUHmdjotlAvYcOnzWUobDj6h/QIhAJmI2bqMwscHIhAwJ8YWnVLRaqslyhwActTTAmBSxloM"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjutf6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJLQ//fPlHbX/f+n+PSpL0qyc0SOz+yjYP7mAhCGzLsWYvoDUrbmhb\r\n+RQXsk/Gyrw60MRqG6wjanfA96hrvpVISLr7weRRHc1xijM+y+aqRwZvVW/c\r\nmDWsNYIMRWcI3lVQ8uHxwYIKQySviXTQHFZp8RM3oCj3FQuyXwz+LhP/bFvJ\r\nyqmeqyjc39ObFlF4gioc75vPQNm8tVPbvjNYvZ1B2T9fantEHlPSBMGKU21L\r\nxtVGFWAWMunlhqauN7lAiaFqUGzDfY2RYEVquK3acJjIZVHDDViB2HExlL87\r\nfwIn37ktQWlEbt0AR7ljidAbn4VxjecAbz2IE3OIkysImElrt/s1zOg8EMfE\r\npXvGJWGSe2qSunaGdg25twD+kjNYdqjwhZQNrI7b52+6O/8HZmXbQ+HDfZkA\r\nCOTvSvbxIF1H8hw+fL2oyphMnuQWwi1J9wgkjdJsjHDQtHNZKQAEAZq56fdp\r\ndk+qbBfjBwyDdS0/b+Osui9dAFdaTf49eiNE7lMv2MnueF1xb/2Gowi6EL6T\r\nXPszazwT3o/CBGayQ6JIvqwggzqjpEHmLwDBARWH11ZX3Nq6VxHhSoppJizw\r\nATXuZ0f9WN/qTUB4VF5CbLshr89RKRFrDO5Q8txG8eTztSfW1QZREM7hSAYS\r\ninLfywKj9tlwZ4mTpatBmAMvwplz+Iy0m0Q=\r\n=5np/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"vqt907","email":"hunter9xbn@gmail.com"},"directories":{},"maintainers":[{"name":"vqt907","email":"hunter9xbn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-styled_1.1.0_1673189369958_0.2520723504311322"},"_hasShrinkwrap":false},"1.1.1":{"name":"@cr4zyc4t/native-styled","description":"An extremely lightweight styling solution for React Native inspired by styled-components","version":"1.1.1","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/cr4zyc4t/react-native-styled.git"},"author":{"name":"ToanVQ","email":"hunter9xbn@gmail.com"},"license":"MIT","scripts":{"dev":"tsc -w","build":"rimraf dist && tsc && terser dist/index.js -m -c -o dist/index.js"},"peerDependencies":{"react":">=16.8.0","react-native":">=0.59.0"},"dependencies":{},"devDependencies":{"@types/react":"^18.0.26","@types/react-native":"^0.70.8","rimraf":"^3.0.2","terser":"^5.16.1","typescript":"^4.9.4"},"keywords":["styled-components","styled","react-native"],"types":"./dist/index.d.ts","gitHead":"2b8e20358cbeb37456b5ea7ce15e391f7a085a59","bugs":{"url":"https://github.com/cr4zyc4t/react-native-styled/issues"},"homepage":"https://github.com/cr4zyc4t/react-native-styled#readme","_id":"@cr4zyc4t/native-styled@1.1.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-wAiRDbJmsR6kHRBQFiTD2yZc/UomBAg+iqlNXJSlIboxoC6kydphJtucFYG7zWBnlCVm3Fq8aQp3VsOYHq/vIg==","shasum":"fe02c7e7c6ddf4575c9c0d8087a594592ea12020","tarball":"https://registry.npmjs.org/@cr4zyc4t/native-styled/-/native-styled-1.1.1.tgz","fileCount":5,"unpackedSize":7924,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbCXEksy4DkBl7HPp/tCQyqKUAiIbC2oc+WbcICxvxVwIhAJg6WPTP17rycNkbvoGRfKRAg6bLrrVMC8TtN9wLCZHn"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvEH9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrsyw//eqfB4wuEWhP3FFpXbc/oPiGnu5+ON7HuTQWYam8GAT6mvTa7\r\nz6eH3kGnmGzY91LxPBHIjyw0nripDcAWtYIPAkUWzXcYD5B4BSOHkm3PHmwD\r\ntLC9OFNW23aYAdtuwrssmVU4W7SUSu+/AM6VX8fQ6OXLbv4+vFIwo8S/z10K\r\nfBiLWlDQI9Pm7PNM05l8+UzYAD3bZBGJIDlb4ZZm5+kzhRiO56cLK3u79HJH\r\nuuKkxVP/SeShB2IdC3izToN17gJBKR+Gd7ifm2mXvRhTWf6AInpnYa9DPDST\r\nxXKPhuR9v6KpnoEJy+NyIimjV6q99BL5y8LdLji5Q0R1USgHuI88X0IQSdzM\r\nqH5cBPJ69iUTENoN4NFTWbd56kgITanXXTcriQDGIZuxFm+dA6+mk7X3pTMI\r\nDNLRKw8IOwSmnBiOHCA3Lb0V6TQl0K54WZLc6EUtraIbLTC8tI3Iou5O7zIF\r\nWckmC53FLsyji8cefbyl7Q9AkBl8W3bG8wxnoX+zQjm5a5zvMaNoRVbVPUNw\r\nTqnREuACN+LqI/p+KA5sXxsfWXX2tXA/nIqXme2mcz0f4VuOhkZZN19GcqeL\r\nT29qgU2/Y7wdQEMG1RsQibGuawy8qIqpD/f+YTLDGCBteSx7NgOb2kZuR1js\r\njGJZTuJTIAFXgYmgd+abn+zUdXkH5bZHbJM=\r\n=KAgh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"vqt907","email":"hunter9xbn@gmail.com"},"directories":{},"maintainers":[{"name":"vqt907","email":"hunter9xbn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/native-styled_1.1.1_1673282045180_0.1721171393324008"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-07T06:17:23.096Z","1.0.0":"2023-01-07T06:17:23.430Z","modified":"2023-01-09T16:34:05.484Z","1.0.1":"2023-01-07T06:23:29.364Z","1.0.2":"2023-01-07T06:52:48.283Z","1.0.3":"2023-01-07T06:55:19.173Z","1.1.0":"2023-01-08T14:49:30.129Z","1.1.1":"2023-01-09T16:34:05.347Z"},"maintainers":[{"name":"vqt907","email":"hunter9xbn@gmail.com"}],"description":"An extremely lightweight styling solution for React Native inspired by styled-components","homepage":"https://github.com/cr4zyc4t/react-native-styled#readme","repository":{"type":"git","url":"git+https://github.com/cr4zyc4t/react-native-styled.git"},"author":{"name":"ToanVQ","email":"hunter9xbn@gmail.com"},"bugs":{"url":"https://github.com/cr4zyc4t/react-native-styled/issues"},"license":"MIT","readme":"# React Native Styled\n\nInspired by [styled-component](https://styled-components.com/), but please to use in React Native.\n\n- Extremely lightweight, no overhead, just like using React Native object style\n- Easy to access global theme\n- Isolate style logic from component logic\n- Typescript intellisense fully supported 😀\n- React Native Web support\n\n# Installation\n\n```\nnpm install @cr4zyc4t/native-styled\n```\n\n- Or use yarn instead\n\n```\nyarn add @cr4zyc4t/native-styled\n```\n\n# Basic\n\n- Create styled component\n\n```jsx\nimport { View, Text } from \"react-native\";\nimport styled from \"@cr4zyc4t/native-styled\";\n\nconst StyledView = styled(View)({\n  backgroundColor: \"green\",\n  marginTop: (props) => props.top, // custom styling props\n  marginBottom: (props) => props.$bottom, // custom props start with $ will not be passed down to View component\n  padding: (props) => props.theme.spacing.medium, // access global theme\n});\n\nconst StyledText = styled(Text)(\n  {\n    color: \"black\",\n  },\n  {\n    marginTop: 10,\n  } // you can define as many style object as you want\n);\n```\n\n- Then use it\n\n```js\n<StyledView top={4}>\n```\n\n# Global theme (optional)\nWraper your app in *ThemeProvider* and provide it a default theme value\n```js\nimport { ThemeProvider } from \"@cr4zyc4t/native-styled\";\n\nexport default function App() {\n  return (\n    <ThemeProvider defaultTheme={theme}>\n      <MainApp />\n    </ThemeProvider>\n  );\n}\n```\n\nThen you can access global theme and change it using hooks\n\n```js\nimport { useTheme, useThemeSetter } from \"@cr4zyc4t/native-styled\";\n\nfunction ComponentWithTheme() {\n  const theme = useTheme();\n  const setTheme = useThemeSetter();\n\n  return (\n    <Button\n      style={{ backgroundColor: theme.backgroundColor }}\n      onPress={() => setTheme(awesomeTheme)}\n    />\n  );\n}\n```\n\n# Typescript\n\n_DefaultTheme_ is being used as an interface of props.theme out of the box. By default the interface DefaultTheme is empty so that's why we need to extend it.\n\n```tsx\nimport \"@cr4zyc4t/native-styled\";\n\ndeclare module \"@cr4zyc4t/native-styled\" {\n  export interface DefaultTheme {\n    borderRadius: number;\n\n    colors: {\n      main: string;\n      secondary: string;\n    };\n  }\n}\n```\n\nthen\n\n```tsx\nimport { DefaultTheme } from \"@cr4zyc4t/native-styled\";\n\nconst theme: DefaultTheme = {\n  borderRadius: 10;\n\n  colors: {\n    main: \"red\";\n    secondary: \"greeen\";\n  };\n};\n```\n\nThere is a **NOTE** when using custom props in typescript that you need to separate static style and custom style to avoid typescript assertion\n\n```tsx\nconst StyledView = styled(View)<{ top: number }>(\n  {\n    backgroundColor: \"green\",\n  },\n  {\n    marginTop: (props) => props.top,\n    padding: (props) => props.theme.spacing.medium,\n  }\n);\n```\n\n## License\n\nLicensed under the [MIT](LICENSE) License.\n","readmeFilename":"README.md","keywords":["styled-components","styled","react-native"]}