{"_id":"@carakan-react-native/my-cart","_rev":"4-f53cebe70d176cd10c7970f47fb79139","name":"@carakan-react-native/my-cart","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@carakan-react-native/my-cart","version":"0.1.0","description":"Cart view component","main":"lib\\commonjs\\index.js","module":"lib\\module\\index.js","types":"lib\\typescript\\src\\index.d.ts","react-native":"src\\index.tsx","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"https://gitlab.carakan.id/user/carakan-react-native-my-cart"},"author":{"name":"Muhamad hamdan Arrosyid","email":"hamdanarosyid@gmail.com","url":"https://github.com/Hamdanarrosyid"},"license":"MIT","bugs":{"url":"https://gitlab.carakan.id/user/carakan-react-native-my-cart/issues"},"homepage":"https://gitlab.carakan.id/user/carakan-react-native-my-cart#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.2","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"dependencies":{"@react-native-community/checkbox":"^0.5.8"},"gitHead":"e2e7452b69bee06a9177bf81a2c579313e690c6a","_id":"@carakan-react-native/my-cart@0.1.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-+uHYHBPz5KaJo56lvLVA0Gv1RkAUjrm4Qzoc0bM2j6seU91g2MrOZD4fIe1jYy5lWLstCBQ5cety5+i0819I6A==","shasum":"c0e081210b12b1053d42d18ec32446d17661703f","tarball":"https://registry.npmjs.org/@carakan-react-native/my-cart/-/my-cart-0.1.0.tgz","fileCount":27,"unpackedSize":88713,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPu1dlv+X6RAVAUzUov4Amjov3BMaE85Lzi1AGb/X6/AIhAPSHkyM+y5/0aC8bNkiqt6eCXp4EvEGgUBBrh2grQFKM"}]},"_npmUser":{"name":"carakansadhana","email":"sadhanacarakan@gmail.com"},"directories":{},"maintainers":[{"name":"carakansadhana","email":"sadhanacarakan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/my-cart_0.1.0_1634549482986_0.1240669650014139"},"_hasShrinkwrap":false},"0.1.1":{"name":"@carakan-react-native/my-cart","version":"0.1.1","description":"Cart view component","main":"lib\\commonjs\\index.js","module":"lib\\module\\index.js","types":"lib\\typescript\\src\\index.d.ts","react-native":"src\\index.tsx","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"https://gitlab.carakan.id/user/carakan-react-native-my-cart"},"author":{"name":"Muhamad hamdan Arrosyid","email":"hamdanarosyid@gmail.com","url":"https://github.com/Hamdanarrosyid"},"license":"MIT","bugs":{"url":"https://gitlab.carakan.id/user/carakan-react-native-my-cart/issues"},"homepage":"https://gitlab.carakan.id/user/carakan-react-native-my-cart#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/checkbox":"^0.5.8","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.2","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"dependencies":{},"gitHead":"b95795a58dc0e5e1c59a9d0034f029630915a973","_id":"@carakan-react-native/my-cart@0.1.1","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-iMklVC3z+q9yLSykE13VQgGD9ydr4CMWCtoNqrDiLatKpXQQijoobk4Sg39UlTm3A114uFuQuAFl3Ytl3dG5DQ==","shasum":"8d357064d906d5108ab0317e1c3fc4b62eac47f8","tarball":"https://registry.npmjs.org/@carakan-react-native/my-cart/-/my-cart-0.1.1.tgz","fileCount":27,"unpackedSize":104180,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWVZ4sWPGUNYxAr0kvEC5ZvlRRUHN35/U9XW8i5YRZJQIhAISC6N5DQa239AdWm/W7Sdm65qp7XdpOOjQsSto9myyn"}]},"_npmUser":{"name":"carakansadhana","email":"sadhanacarakan@gmail.com"},"directories":{},"maintainers":[{"name":"carakansadhana","email":"sadhanacarakan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/my-cart_0.1.1_1634745933206_0.3232206560048756"},"_hasShrinkwrap":false},"0.1.2":{"name":"@carakan-react-native/my-cart","version":"0.1.2","description":"Cart view component","main":"lib\\commonjs\\index.js","module":"lib\\module\\index.js","types":"lib\\typescript\\src\\index.d.ts","react-native":"src\\index.tsx","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"https://gitlab.carakan.id/user/carakan-react-native-my-cart"},"author":{"name":"Muhamad hamdan Arrosyid","email":"hamdanarosyid@gmail.com","url":"https://github.com/Hamdanarrosyid"},"license":"MIT","bugs":{"url":"https://gitlab.carakan.id/user/carakan-react-native-my-cart/issues"},"homepage":"https://gitlab.carakan.id/user/carakan-react-native-my-cart#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/checkbox":"^0.5.8","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"16.13.1","react-native":"0.63.4","react-native-builder-bob":"^0.18.2","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"*","react-native":"*"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module","typescript"]},"dependencies":{},"gitHead":"f85fad8ac0c2c977b9c3d3d83770990cfeccc4b2","_id":"@carakan-react-native/my-cart@0.1.2","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-uHd4aiQkLMgqfRSm7MEG8i/r489Yczw/SYK/htxjcdodkRYITrpo1aNVio7tHiUUEb15qCsQ70LWAOb+j/YDnA==","shasum":"5b007b182cd4e362de49afcc2de52d959a654db3","tarball":"https://registry.npmjs.org/@carakan-react-native/my-cart/-/my-cart-0.1.2.tgz","fileCount":27,"unpackedSize":104912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzbS5CRA9TVsSAnZWagAAV2EP/101pS46cfBHq9Q0nrE9\nYqD+/Em6yWuAGgYokoOlb2Y9SHqr71CXJFBe8393VP44aiYj+8Ix5XPivMBa\nYvOu2DPBSSNRYuC9bAaAsLakx57vOXbhHCdgUmwyLnArRBz2B7EHtvqj23yy\nAY22pAM/gqiCMqA+IXAKJy9itcLl3o6tWd6NrLPs61YvFSDQfsoWxEHBKwlC\nOsSyAoR/jaspd1YUg26wH2z+2wWS+dECHVAwyVAjj4VW1mAejuSZJJXJe+OJ\nO447jOSU1iTNqILK9ypfihWZkkij5MXCiOeBI5ODL3dCVNzcLo/0lCZ/LVn3\nZ7F2lWQbaWzQYbPLSM6ZPTjuYbeXn3kA44G4xUuPEil4BbEyIS/oQpLZgAxH\nlGt16F4SNVbLNXZkLybXLhb7ypRwVn9VmQm4uX4tEnAGSRsFJI423hDgSK1D\nGD7v2yPCcTtAYPHOJytfdy/T/JgsDhaw3CmexUKSoWPcfgLfyPcDWK46ez6Z\nc5zau8rdBDSrnmIWFjZ6ptdtZGLuSTOQ2rtieL6T80TaPaPrNOIcUEoRcEF4\nmQ2IFuvi7FzyeUx7htcpA5npNrK4YINXL4yY4KqaO0dnSwcqYL4cvj5n1tjK\n/H7AsWl7qW6KkMq+mN4i4gxdHKZ7GqOQCv7/kjz1VyiRavHbJZfZV8ap+Zq9\nuv17\r\n=r9KE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHcwz1R9xK25Ip3JMbB8X8/KMnBXC3CV/7CvW87HNDH9AiEAtgiBWxmZXuFKIvJEWiIBVRSy7ly21whwr9zs3j5sly8="}]},"_npmUser":{"name":"carakansadhana","email":"sadhanacarakan@gmail.com"},"directories":{},"maintainers":[{"name":"carakansadhana","email":"sadhanacarakan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/my-cart_0.1.2_1634751603938_0.562833338084503"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-18T09:31:22.946Z","0.1.0":"2021-10-18T09:31:23.122Z","modified":"2022-04-04T21:47:30.218Z","0.1.1":"2021-10-20T16:05:33.387Z","0.1.2":"2021-10-20T17:40:04.094Z"},"maintainers":[{"name":"carakansadhana","email":"sadhanacarakan@gmail.com"}],"description":"Cart view component","homepage":"https://gitlab.carakan.id/user/carakan-react-native-my-cart#readme","keywords":["react-native","ios","android"],"repository":{"type":"git","url":"https://gitlab.carakan.id/user/carakan-react-native-my-cart"},"author":{"name":"Muhamad hamdan Arrosyid","email":"hamdanarosyid@gmail.com","url":"https://github.com/Hamdanarrosyid"},"bugs":{"url":"https://gitlab.carakan.id/user/carakan-react-native-my-cart/issues"},"license":"MIT","readme":"# @carakan-react-native/my-cart\r\n\r\nCart view component\r\n\r\n## Installation\r\n\r\n```sh\r\nnpm install @carakan-react-native/my-cart\r\n```\r\n## Installing dependencies\r\n```sh\r\nnpm install @react-native-community/checkbox\r\n```\r\n## Usage\r\n`import MyCart from '@carakan-react-native/my-cart';`\r\n\r\nAll parameters for components are optional except data it must exist and follow the specified format\r\n\r\n#### Basic parameters\r\n\r\n```javascript\r\n<MyCart\r\n  data={[\r\n    {\r\n      id:\"\",\r\n      quantity:{\r\n        product:{\r\n          id:\"\",\r\n          name:\"\",\r\n          price:0,\r\n          // if you don't have image property you can use thumbnail property\r\n          images:\"\",\r\n          thumbnail:\"\",\r\n          stock:0,\r\n          // if the enablestore prop is equal to true you must provide a data store\r\n          store:{\r\n            id:\"\",\r\n            name:\"\"\r\n          }\r\n        }\r\n      }\r\n    }\r\n    ...\r\n  ]}\r\n  style={{}}\r\n  // while enable store is true will display items based on store.Default is false\r\n  enableStore={true}\r\n  // if you want custom items that have been provided you can use contentStyle prop\r\n  contentStyle={{root:{},content:{},textContent:{},image:{}}}\r\n  // if you want to do a custom component but still want to use the provided checkbox you can use the enableCheckbox prop.Default false\r\n  enableCheckbox={true}\r\n  // Specify how item should be rendered\r\n  ItemComponent={(item)=><View/>}\r\n  // Specify how checkout button component should look like\r\n  CheckoutComponent={({items,totalPrice})=><View/>}\r\n  // Callback that gets called on checkout press\r\n  onCheckout={(item)=>console.log('press')}\r\n  // Specify how header component should look like.Default render text All Product\r\n  ListHeaaderComponent={()=><View/>}\r\n  //  Specify how section header component should look like\r\n  SectionHeaderComponent={(section)=><View/>}\r\n/>\r\n```","readmeFilename":"README.md"}