{"_id":"@bliplabs/blipui-react-native","_rev":"18-9a946809d0eed2d14acd96d36ed939e3","time":{"created":"2023-02-28T22:03:23.606Z","1.0.26":"2023-02-03T20:43:06.538Z","modified":"2023-07-27T15:19:52.928Z","1.0.27":"2023-02-03T21:27:55.401Z","1.0.29":"2023-02-06T20:46:36.858Z","1.0.30":"2023-02-06T20:53:45.667Z","1.0.31":"2023-02-06T21:28:02.765Z","1.0.33":"2023-02-13T17:32:26.296Z","1.0.34":"2023-02-13T18:47:55.194Z","1.0.35":"2023-02-14T01:21:10.619Z","1.0.36":"2023-02-14T01:26:07.408Z","0.0.52":"2023-02-28T18:25:51.038Z","0.1.0":"2023-02-28T22:03:23.876Z","0.1.1":"2023-03-01T01:18:44.921Z"},"name":"@bliplabs/blipui-react-native","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@bliplabs/blipui-react-native","version":"0.1.0","description":"React Native Component Library with Blip UI Elements.","author":{"name":"Cai Toy","email":"cai@tryblip.com"},"license":"MIT","homepage":"https://bliplabs.com/","keywords":["javascript","react-native","react","rn","ui-lib"],"devDependencies":{"@babel/cli":"^7.21.0","@babel/core":"^7.21.0","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.21.0","@jest/globals":"^29.4.2","@react-native/eslint-config":"^0.72.1","@types/react-native":"^0.63.25","@typescript-eslint/eslint-plugin":"^5.54.0","@typescript-eslint/parser":"^5.54.0","eslint":"^8.35.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-jest":"^27.2.1","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-native":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","jest":"^29.4.2","metro-react-native-babel-preset":"^0.75.1","npm":"^8.19.3","prettier":"^2.1.2","react-native-svg":"^13.8.0","ts-jest":"^29.0.5","tslib":"^2.5.0","typescript":"^4.0.3"},"scripts":{"build":"npm run build:clean && npm run build:tsc-types-only && npm run build:babel && npm run copy:metadata","build:clean":"rm -rf build","build:tsc-types-only":"cd src && tsc --emitDeclarationOnly --target es5 --removeComments && cd - && rm build/dist/tsconfig.tsbuildinfo","build:babel":"NODE_ENV=production babel --config-file ./babel.config.json --verbose -d build/dist -x '.ts,.tsx' src","copy:metadata":"cp -r src README.md LICENSE package.json build/dist/ && find build/dist/ -name '*test.ts' -delete; find build/dist/ -name '*test.tsx' -delete;","format":"cd src && prettier --write \"src/**/*.ts\"; cd -","lint":"eslint src/","lint:fix":"eslint --fix src/","test":"jest","test-coverage":"jest --coverage"},"peerDependencies":{"react":"^18.2.0","react-native":"^0.71.2"},"licenseText":"MIT License\n\nCopyright (c) 2023 Blip Labs Technologies, Inc\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":"@bliplabs/blipui-react-native@0.1.0","dist":{"shasum":"2103793aa5bb8965eeba906ddbfda58cd3a0f9ce","integrity":"sha512-VJlQ/v2BkUzqQY2PtA4KEii/KJq8qlIu4SAJ7Ltf4rStjxaKK9LzE+ivEFqLq7X3IxhlIXACRafZvvifdKMN+g==","tarball":"https://registry.npmjs.org/@bliplabs/blipui-react-native/-/blipui-react-native-0.1.0.tgz","fileCount":32,"unpackedSize":29021,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGObAyZr34kMdfhVfLlxkAc4NrlJdar1+FO8ikPOlX1zAiEAj6EWIqaEym9mvF9QJ7ukqa3X81Tuc9soUKqFwpSJWk8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/norACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrgTg/+JdQqdUigNT0cO8W0ZZdu1DXpWVKLsKjCPA8RhFJA2UAT/U95\r\nmb37HK48oTVAmw6x3wZ2svKzZTKwaERrUTGGXy/dKMSUv4NVK+odf+LSoOMj\r\ndGCiwaIaq+uT5NPfDj7EfuURXwY4ghPsVnodBiyY0eI5w3RkRe4M5fFHfnlO\r\ntS3qZVjhOxuv6B0FJp7fG3cJXNKtcSzDob7VSGqD6AQu+hZ/yQYTorz0nQem\r\nHoOXmDnb8UeOvUvhLO1QkuTJi/NOKrL6VBQAPbO5WZ17LHcPTKWTTjkjB172\r\nR+9a88InbEU2PTV6oJ4wO/lL6c/MfdAnPLU7mkfL86TKZJJzi2rrdl0/uoAY\r\nYlMClZM68JS2f5WiDRNq4gibu4fgg06/vlWasT/PqbS98Agsk2CW6vWSE3SY\r\nLhYOg+2PH8b5dDKOMVw3K7ol6ixjYx4nXpnxYcF8r8ALnwHRhtDbKFi1EsQu\r\n8iszFrf34dltQfpBsU7m7p6lUQ0UMlNJzshuDKTb0dlfe38hpuUD1vNwWllP\r\nQuuAVQ4bVepiOFGRfdw4hdv95DuYZsX/LCNeoGz4Dd7kyfAcjrvdHEPrhFHd\r\n0qEo3+hkyc7m5rw1G4xmyLFG6Q7KiUW646aBmlN/NoLfzNQS3UgQpv/1zTFa\r\nrw99Pvi8vM/WhZfdh1On0WrIPf6MkYAjDO0=\r\n=9boU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"chuck-blip","email":"chuck@tryblip.com"},"directories":{},"maintainers":[{"name":"chuck-blip","email":"chuck@tryblip.com"},{"name":"cai-toy","email":"cai@tryblip.com"},{"name":"sethtjf","email":"seth@tryblip.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blipui-react-native_0.1.0_1677621803669_0.1805996585123859"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1":{"name":"@bliplabs/blipui-react-native","version":"0.1.1","description":"React Native Component Library with Blip UI Elements.","author":{"name":"Cai Toy","email":"cai@tryblip.com"},"license":"MIT","homepage":"https://bliplabs.com/","keywords":["javascript","react-native","react","rn","ui-lib"],"devDependencies":{"@babel/cli":"^7.21.0","@babel/core":"^7.21.0","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.21.0","@jest/globals":"^29.4.2","@react-native/eslint-config":"^0.72.1","@types/react-native":"^0.63.25","@typescript-eslint/eslint-plugin":"^5.54.0","@typescript-eslint/parser":"^5.54.0","eslint":"^8.35.0","eslint-config-prettier":"^8.6.0","eslint-plugin-import":"^2.27.5","eslint-plugin-jest":"^27.2.1","eslint-plugin-prettier":"^4.2.1","eslint-plugin-promise":"^6.1.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-native":"^4.0.0","eslint-plugin-unused-imports":"^2.0.0","jest":"^29.4.2","metro-react-native-babel-preset":"^0.75.1","npm":"^8.19.3","prettier":"^2.1.2","react-native-svg":"^13.8.0","ts-jest":"^29.0.5","tslib":"^2.5.0","typescript":"^4.0.3"},"scripts":{"build":"npm run build:clean && npm run build:tsc-types-only && npm run build:babel && npm run copy:metadata","build:clean":"rm -rf build","build:tsc-types-only":"cd src && tsc --emitDeclarationOnly --target es5 --removeComments && cd - && rm build/dist/tsconfig.tsbuildinfo","build:babel":"NODE_ENV=production babel --config-file ./babel.config.json --verbose -d build/dist -x '.ts,.tsx' src","copy:metadata":"cp -r src README.md LICENSE package.json build/dist/ && find build/dist/ -name '*test.ts' -delete; find build/dist/ -name '*test.tsx' -delete;","format":"cd src && prettier --write \"src/**/*.ts\"; cd -","lint":"eslint src/","lint:fix":"eslint --fix src/","test":"jest","test-coverage":"jest --coverage"},"peerDependencies":{"react":"^18.2.0","react-native":"^0.71.2"},"licenseText":"MIT License\n\nCopyright (c) 2023 Blip Labs Technologies, Inc\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":"@bliplabs/blipui-react-native@0.1.1","dist":{"shasum":"67e1ac63de299a52612d2897d88806dec2b6046f","integrity":"sha512-2MhQNsfNRfY3STxlER12l8GwapqXyoBjpleE1GJlGkmhjRZ1iL3skVQ3bFu/rVDJwTbnNEmndBXMx58a7hfDEg==","tarball":"https://registry.npmjs.org/@bliplabs/blipui-react-native/-/blipui-react-native-0.1.1.tgz","fileCount":32,"unpackedSize":29213,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH26zh2W+sVwPeHaZE66NhTEhgfWQf253TVzkko606IKAiAFXLV6oZs1/zcEQXk8pNtjkbTp/I9s7GVpB7xbI3Wd9A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/qf0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpAbw//Qs0qUav3//FiEUBTs1qbhjCt870vZSdbh6GlygnhqDT0GUIj\r\nJuUV7w/uybommUqfZzB+g8sh9QINpeAc5GiKf1Mk/7XxOE7jFauwo/spzHVT\r\n+8qoGP5GE3baMaIMTz74h05G8UqDKXbDPWhdoon520k9PGMax3TjbOU9iBdn\r\nh7Hrg5+P0UawdXisUKBQaTGCGTobMchZF29yods3Q36wF6MqvMwYM9PqFebL\r\nb1KwUzjj4HjSJ114E9o5kTG9otBrjgP5OM1YIQBKLIBOL406D2ZHx/Xx0dum\r\nmOtbPhix5xcOwzv95F/5kF5TH75WNV8HSXxreSiJU8sxEwTpk10xjVh6asxI\r\nUIoslQOVirewGmv0hd4RZju6tf9Y+r5rhckDnt6BskAKPDWGWa+RZr4RN1Js\r\nS3CwuzBVSmGpwlwzOLRFq/4qino7pnxrTWnOZtLK5r6ACiCDGx7hSalox4qV\r\nO5UHtHitNWo3td7HpXciZ4s3vGVaRz70s5eyJiYRMW6tz2xP1Ug+6zJvpOp8\r\nfwbpxqeW1TrbTZm6rgwSqixc6nuOAzDaAQd4+AmbCZw84+f/yMAZfv01rbFU\r\nrcn3Gr4vNgvXDGQ0wbhd6hVhMIyZOzVaaEPQaT1vL196VDR4hN5h6fJT77Fp\r\n0u/CkwJ4WDTtYneZqt8XgWaJ7qIeMldUol8=\r\n=ALvE\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"chuck-blip","email":"chuck@tryblip.com"},"directories":{},"maintainers":[{"name":"chuck-blip","email":"chuck@tryblip.com"},{"name":"cai-toy","email":"cai@tryblip.com"},{"name":"sethtjf","email":"seth@tryblip.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/blipui-react-native_0.1.1_1677633524738_0.5230566959182503"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"maintainers":[{"email":"eliot@tryblip.com","name":"eliot-blip"},{"email":"chuck@tryblip.com","name":"chuck-blip"},{"email":"seth@tryblip.com","name":"sethtjf"}],"description":"React Native Component Library with Blip UI Elements.","homepage":"https://bliplabs.com/","keywords":["javascript","react-native","react","rn","ui-lib"],"author":{"name":"Cai Toy","email":"cai@tryblip.com"},"license":"MIT","readme":"# The Blip UI component library for React Native\n\nThis library consists of a pre-built UI component for rendering a list of bills from the Blip API.\n\nThe library currently includes a `BillList` component which can optionally be styled for seamless integration into a React Native project.\n\n## Table of contents\n\n- [The Blip UI component library for React Native](#the-blip-ui-component-library-for-react-native)\n  - [Table of contents](#table-of-contents)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Configure styles](#configure-styles)\n  - [Complete example](#complete-example)\n  - [Developer notes](#developer-notes)\n\n## Installation\n\nFirst, install the npm package using `yarn` or `npm`:\n\n```bash\nnpm i @bliplabs/blipui-react-native\n\n# - OR -\n\nyarn add @bliplabs/blipui-react-native\n```\n\n## Usage\n\nImport Blip's `BillList` component in your project:\n\n```js\nimport { Bill, BillList } from \"@bliplabs/blipui-react-native\";\n```\n\nThe component requires data from the Blip API in order to render actual information. To do this, simply pass an object that contains [an array of bills straight from Blip's API](https://docs.bliplabs.com/reference/bills#get-bills) - we recommend using the [Blip Quickstart](https://github.com/bliplabs/quickstart) to replicate the below data:\n\n```ts\nconst bills: Bill[] = [\n  {\n    name: \"Netflix\",\n    merchant_id: \"c352a66b-c667-4e0a-8a3d-eac3a0f1871b\",\n    amount_mean: 10,\n    transactions_count: 5,\n    categories: [\"subscriptions\"],\n    frequency: 30,\n    expected_due_date: \"2020-01-23\",\n    enduser_oid: \"35f83baa-77d3-4cae-80c1-45d1984a185d\",\n    amount_median: 10,\n    amount_std: 0,\n    amount_total: 50,\n    amount_min: 10,\n    amount_max: 10,\n    first_transaction_date: \"2019-08-24\",\n    last_transaction_date: \"2019-12-24\",\n    is_manual: false,\n    merchant: {\n      name: \"Netflix\",\n      logo_url:\n        \"https://cdn.tryblip.com/logos/billers/blr_kIblcVj74PladXcpVvZGO.jpg\",\n      login_url:\n        \"http://api.bliplabs.com/v2/links/bill/c3480ecc-fdac-48da-bd82-0c32f9137344/merchant/login_url\",\n      billpay_url: null,\n      phone: null,\n      email: null,\n    },\n    id: \"c3480ecc-fdac-48da-bd82-0c32f9137344\",\n    is_bill: true,\n  },\n];\n```\n\nNow, plug it in!\n\n```jsx\n<BillList bills={bills} />\n```\n\n## Configure styles\n\nThe component is built with a default design which can then be customized by passing in a configuration object with variables to override the defaults and style the `BillList` to fit the look and feel of your application.\n\n```ts\nconst config: Partial<BillListConfig> = {\n  billBackgroundColor: \"white\",\n  billBorderRadius: 12,\n  billPadding: 20,\n  logoBorderRadius: 6,\n  iconColorCalendar: \"orange\",\n  iconColorFrequency: \"orange\",\n  iconColorBillpay: \"lightgreen\",\n  colorMerchantName: \"black\",\n  colorAmount: \"black\",\n  colorFrequency: \"orange\",\n  colorDueDate: \"gray\",\n  colorDueDate: \"#7292F4\",\n};\n```\n\nPassing the configuration object into the component will style the list accordingly.\n\n```jsx\n<BillList bills={bills} config={config} />\n```\n\n## Complete example\n\nThis is a fairly simplified example. Depending on your setup, you may need to take some extra steps. For example, with Expo, you may need to correct for internationalization, and on iOS, you may need to ensure that `react-native-svg` is installed in your package's dependencies.\n\n```ts\nimport { StatusBar } from \"expo-status-bar\";\nimport { StyleSheet, Text, View } from \"react-native\";\n\nimport billsList from \"./bills.json\";\n\nimport { BillList } from \"@bliplabs/blipui-react-native\";\n\nexport default function App() {\n  const bills = billsList;\n  const config = {\n    billBackgroundColor: \"white\",\n    billBorderRadius: 12,\n    billPadding: 20,\n    logoBorderRadius: 6,\n    iconColorCalendar: \"orange\",\n    iconColorFrequency: \"orange\",\n    iconColorBillpay: \"lightgreen\",\n    colorMerchantName: \"black\",\n    colorAmount: \"black\",\n    colorFrequency: \"orange\",\n    colorDueDate: \"gray\",\n    colorDueDate: \"#7292F4\",\n  };\n  return (\n    <View style={styles.container}>\n      <Text>Open up App.js to start working on your app!</Text>\n      <BillList bills={bills} config={config} />\n      <StatusBar style=\"auto\" />\n    </View>\n  );\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    backgroundColor: \"#fff\",\n    alignItems: \"center\",\n    justifyContent: \"center\",\n  },\n});\n```\n\n## Developer notes\n\nPushing to the NPM registry is as easy as the following steps:\n\n```bash\n# ensure you've logged in:\nnpm login\n\n# update the package.json version if needed, and run this to update\n# package-lock.json:\nnpm install\n\n# setting NODE_ENV to production is very important below, otherwise\n# local directories may appear in the compiled source code\nNODE_ENV=production npm run build\n\n# push the package - note below that this will include the contents\n# of the src/ directory, so be careful not to upload anything that\n# doesn't belong\nyarn publish build/dist/ --access public\n```\n\n> _Note: Make sure not to use `yarn publish` on its own, because by default it will upload the current working directory, as opposed to `dist` directory._\n>\n> _Additional note: The `src/` directory is **included** as part of the NPM package for transparency, as the compiled package is minified with Babel._\n","readmeFilename":"README.md"}