{"_id":"@bridged.xyz/remote-ui-core","_rev":"4-8d858e7ee34441fa4f59cd1132a3b14d","name":"@bridged.xyz/remote-ui-core","dist-tags":{"latest":"0.0.31"},"versions":{"0.0.29":{"name":"@bridged.xyz/remote-ui-core","version":"0.0.29","private":false,"main":"./dist/index.js","types":"./dist/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/softmarshmallow/remote-ui.git"},"scripts":{"examples":"ts-node lib/examples/routes.ts","prepublish":"tsc"},"dependencies":{"mustache":"^4.0.1","url-pattern":"^1.0.3"},"devDependencies":{"typescript":"^3.8.3","@types/node":"^14.0.27"},"description":"> New to remote-ui? read [this](../README.md) > \"remote-ui is for sending client built-ui-data. yes you can customize the looks, but not a recommanded way.\"","bugs":{"url":"https://github.com/softmarshmallow/remote-ui/issues"},"homepage":"https://github.com/softmarshmallow/remote-ui#readme","_id":"@bridged.xyz/remote-ui-core@0.0.29","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-qYuTTXkti1ggr8wtAL2ASCbTcQIn623rA76+Bpy8aSul9D+Dwh64LcEoxTp0uuYwIL4S5MUhZdCAW4he0vMmww==","shasum":"e6b4eb1d53fe4f0e046068d7b76d02eea6456d0f","tarball":"https://registry.npmjs.org/@bridged.xyz/remote-ui-core/-/remote-ui-core-0.0.29.tgz","fileCount":156,"unpackedSize":291154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPVlYCRA9TVsSAnZWagAAHJkQAKPNKhFCsyP9jFuPLxwI\njL7ZNS2O702EZzsvURtLGLLwSkntyUjlIQw6SD/uNharflbvTRTCNbr/mUIe\nZC3w1QOc/vmwUMP3rm2QOt7eotaf6nYnN9DHsN/iYX+ez+Dy6lPxixHD3eh8\nvU0kKy+FkfVJ2fVx70FV09heRBQgRe6eYt9LNOXqWyJ20TmDKrDjGa74hDmu\nqulS63D4XYwG3ooU/gLkMRyfdDZ+m5mLhV0Fdt4sYJnTJcm2W+YnWbqWfHHE\nmtQnw/QKzRO26Ufo6yB7MPdhAWonQvFCWFmk7jlaEV+RznTfV84mwTrg/RfF\nGTzgXY65q8eU8ZEzhdVkYM/odiOnr86RHm8zSuaEnYeSM3iswdvzrEvCzsQc\nHW2BYKtqM6+A5pa98Lnqg7fZ3S1WFm/tDIHFouAD/ruBzJR8WvcugfwB3Fzn\nXoII+t5/xRUcaAHU+Z4su+xq1wwFVvIQzfpK32FIVnLmaXyB+qEzRzeQI/Lo\n89xIGw0blv219Ki5b5kZ6w2bRnDTBeCU3WC6HYoZs8aHeEpzFJIG/5KsWXLL\nLm57GaxnJGFNUrvs9cAGMJsKpM2J5lrzc9ou50YCIwugbJYaADn2+3Cr28mQ\ngbrRDmz3etQv2yU50c3mgQ1VFdx4YiN57XHytetUicVQxfjg9lo376TlYTKD\nGuOs\r\n=7kxf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcOQRFDs6qwdFBKSn0gZzOrUiZz6XQ/9nxm6lhSxaraAIhANBh6JK7XN0JKu0R7Aq1EDlAzz4Zp12BF9gdJM06rSYD"}]},"maintainers":[{"name":"softmarshmallow","email":"woojoo@softmarshmallow.com"}],"_npmUser":{"name":"softmarshmallow","email":"woojoo@softmarshmallow.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remote-ui-core_0.0.29_1597856088307_0.6291754054230914"},"_hasShrinkwrap":false},"0.0.30":{"name":"@bridged.xyz/remote-ui-core","version":"0.0.30","private":false,"main":"./dist/index.js","types":"./dist/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/softmarshmallow/remote-ui.git"},"scripts":{"examples":"ts-node lib/examples/routes.ts","prepublish":"tsc"},"dependencies":{"mustache":"^4.0.1","url-pattern":"^1.0.3"},"devDependencies":{"typescript":"^3.8.3","@types/node":"^14.0.27"},"description":"> New to remote-ui? read [this](../README.md) > \"remote-ui is for sending client built-ui-data. yes you can customize the looks, but not a recommanded way.\"","bugs":{"url":"https://github.com/softmarshmallow/remote-ui/issues"},"homepage":"https://github.com/softmarshmallow/remote-ui#readme","_id":"@bridged.xyz/remote-ui-core@0.0.30","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-NJqXe/uoklC8XEgXdvmoEWSiLGEHjgwrjEuy7Dx3mH/NaUaAd4LjvaCcQwwfdHJZkK5HD61GhbJgj2oVC7/Meg==","shasum":"e0086f0381956be5995a4d5f0e1e36090c21448a","tarball":"https://registry.npmjs.org/@bridged.xyz/remote-ui-core/-/remote-ui-core-0.0.30.tgz","fileCount":183,"unpackedSize":307302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfb24vCRA9TVsSAnZWagAApA8P/jvR/492l15S8KBaUoXP\nKsxsctun7bGM5imxjSBV1iojvzxx3qLdNlQX15JkBEUHQQE0Ovzg58NTSLHI\n/mmMwruyBsguvJLotRX+iRDTn1KXZyYMFr1a9MovPH/eOEfGzu/MVwG7aG4d\nXW9Xvg3vxWnS/kroogBu5bNW91yYoD+JZGMC4Wmh4PSLnwHQmBtHKql69bsT\nhhdDsBz4pKtrDmP4EfgE2TmHzQGapygrN1e52x3LyMPy/ySudUXgtX767EtH\n81Z65dyp/pGcuC/O2an2ySYgw9+k/4KXsbJPYp7QkfEMgdqCi7NwpXQWPUz7\nrJb9kIpRyLICE8m0pSzSUIycnC1wpfk4csPADKwBsnGzYY0ydfNFxhKgSiN6\nLLtJhYS7243RMtGhhaGJOUFmBE4jfoqHEz7S/fZnc2H4Lm924xEkfyhMMjmO\njIGf8kCHh/kaVwKB8zYnYQx/QaOvrRe3bdcCFAd78t2SoBVZL1Wcfctn/O6c\n7cVIUNKbrPDQKEE9HAoEFqVwXvXLBR34Wko57ea7NiEX2ZttBicJK58Q26Tq\nk5tWGwsJP3aQrUDMB+QprJhmiTw2ndIOyntSlrvIFwnZabdQWmBgrTeW1loc\nBxbHYn8WcYejAWa+Y8msnhfsofMI/Pq6gopXpTqG+826Tcw6GFuIh2zzsQKj\ngbFu\r\n=l7QC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLixEnzMYdKsMaCMvt+hj8zNDCoqh5jLtKQWUNWMaohAIhALl4gpJC8WOJUj624lxmEkx6CE9ADrXA6HKIcG0xdZnX"}]},"maintainers":[{"name":"softmarshmallow","email":"woojoo@softmarshmallow.com"}],"_npmUser":{"name":"softmarshmallow","email":"woojoo@softmarshmallow.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remote-ui-core_0.0.30_1601138223381_0.3541414693403402"},"_hasShrinkwrap":false},"0.0.31":{"name":"@bridged.xyz/remote-ui-core","version":"0.0.31","private":false,"main":"./dist/index.js","types":"./dist/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/softmarshmallow/remote-ui.git"},"scripts":{"examples":"ts-node lib/examples/routes.ts","prepublish":"tsc"},"dependencies":{"mustache":"^4.0.1","url-pattern":"^1.0.3"},"devDependencies":{"typescript":"^3.8.3","@types/node":"^14.0.27"},"description":"> New to remote-ui? read [this](../README.md) > \"remote-ui is for sending client built-ui-data. yes you can customize the looks, but not a recommanded way.\"","bugs":{"url":"https://github.com/softmarshmallow/remote-ui/issues"},"homepage":"https://github.com/softmarshmallow/remote-ui#readme","_id":"@bridged.xyz/remote-ui-core@0.0.31","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-WcNhCYAwY4fy1KxbDeZ38Q+Gpui+NA58lGm+8Ss023gxO1Rug1W1ZakfNS23vgbO+pIiybv6cvjG/w6Hk3OsIA==","shasum":"1103f78a1ab86f435e352fe3ecc5713138d31341","tarball":"https://registry.npmjs.org/@bridged.xyz/remote-ui-core/-/remote-ui-core-0.0.31.tgz","fileCount":183,"unpackedSize":307447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfb3k4CRA9TVsSAnZWagAAfvMP/j21sX/ZEnTRgzFeabeN\npkxgKX3pEmNt+WztdqiXJjdUNH0DAdfGmHZIJR7IbgDw4ibAucVWAdE+HsWT\naanKewA2vlFFd+3wVtr/InXsV1uGK4L2FGZ2yi2bMLl9onBQjsi9JLeM0o1i\n451U226rzB/knGjVuwJtLbpIkIUj4bBcAPOzQ9uAVxbvRxgwa8kCzJK8BaVt\nCp6BZxMNJn/nstOgVIN0UwwCgCmQi7laGQxK4ZH9Ktdhn6HyPg8xzp/CIR7e\nz1sK2DKQag9Fs0HxfjXSybQEdd3nU5aijTw604xK/7ZFxKcqMiiny3Re3n4+\nyfGZz6RBiQ/MF++86xXJ5SqlB2Tme19LjtNvc9mF9x+4kc3cXuYVDcwnQE2y\n9nxVuTSLYgNiG+CZ2R44y41SkZHWXBdmj9fwLIS9rtyQugoAqXgojGhsswPf\nPQ0cYO6FYlKFpj2UYYlSIHotSlMWNgGBAxd4xWLdgQiSlWOxG1gXMrEGvAm+\nql1xwKTCfmKMdzmubbLvOI7nx2BeGiRJq0ttO6b+BPUzLLGUD4x+blgnE8cc\no0McljYATonwPTujbVLTSpLUeOg0lR8iVlldK1cpHuANlBg289OkKQCuB7l3\n0bliNvnxaSDZCjK9M8eLgS6pug4pM3sphG14B//768A5Vlnkb5Woj7FXRFNd\niK/7\r\n=vcCI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4/u7t2yDdiIjhbgQTXO9Ro6pRLCQ1vGVV/v16aDUwTAIhANV/OEwEcmAWQgFBl8SR6je871zS2+HEtaorRc/3+Zkt"}]},"maintainers":[{"name":"softmarshmallow","email":"woojoo@softmarshmallow.com"}],"_npmUser":{"name":"softmarshmallow","email":"woojoo@softmarshmallow.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remote-ui-core_0.0.31_1601141048353_0.48809733569386515"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-19T16:54:48.065Z","0.0.29":"2020-08-19T16:54:48.429Z","modified":"2022-04-04T20:37:34.260Z","0.0.30":"2020-09-26T16:37:03.479Z","0.0.31":"2020-09-26T17:24:08.516Z"},"maintainers":[{"email":"iam@heejun.me","name":"heejun_dev"},{"email":"woojoo@softmarshmallow.com","name":"softmarshmallow"}],"description":"> New to remote-ui? read [this](../README.md) > \"remote-ui is for sending client built-ui-data. yes you can customize the looks, but not a recommanded way.\"","homepage":"https://github.com/softmarshmallow/remote-ui#readme","repository":{"type":"git","url":"git+https://github.com/softmarshmallow/remote-ui.git"},"bugs":{"url":"https://github.com/softmarshmallow/remote-ui/issues"},"license":"MIT","readme":"# remote ui core [![](https://img.shields.io/badge/npm-latest-brightgreen)](https://www.npmjs.com/package/@bridged.xyz/remote-ui-core)\n\n> New to remote-ui? read [this](../README.md)\n> \"remote-ui is for sending client built-ui-data. yes you can customize the looks, but not a recommanded way.\"\n\n## Installation\n```sh\n# install with yarn\nyarn add @bridged.xyz/remote-ui-core\n\n# install with npm\nnpm install @bridged.xyz/remote-ui-core\n```\n\n## UI Importing\n```ts\n// method 1. root import\nimport * as rui from \"@bridged.xyz/remote-ui-core\";\nnew rui.UI.Text(\"remote ui rules  😎\")\n\n// method 2. namespace import\nimport { UI } from \"@bridged.xyz/remote-ui-core\";\nnew UI.Text(\"remote ui rules  😎\")\n\n// method 3. component import\nimport { Text } from \"@bridged.xyz/remote-ui-core/components\";\nnew Text(\"remote ui rules 😎\")\n```\n\n\n\n## Usage: Building Layout / Component\n```ts\nimport { icons, UI, layouts, Actions } from \"@bridged.xyz/remote-ui-core\";\n\nconst cardLayout = new layouts.search.BasicSearchItemLayout({\n    avatar: new UI.Icon(icons.material.add),\n    title: new UI.Text(\"GY\"),\n    chips: [\n        new UI.Chip(\n            new UI.Text(\"wonder\")\n        ),\n        new UI.Chip(\n            new UI.Text(\"what you're\")\n        ),\n        new UI.Chip(\n            new UI.Text(\"doing\")\n        )\n    ],\n    content: new UI.Text(\"i love you gy\"),\n    onTap: new Actions.PushRoute(\"/lovers/gy\")\n})\n\nconsole.log(cardLayout.build());\n```\n\nlogs...\n```json\n{\n  \"avatar\": {\n    \"icon\": {\n      \"uri\": \"material://Icons.add\",\n      \"type\": \"MATERIAL_NATIVE\"\n    }\n  },\n  \"title\": {\n    \"text\": \"GY\"\n  },\n  \"content\": {\n    \"text\": \"i love you gy\"\n  },\n  \"chips\": [\n    {\n      \"label\": {\n        \"text\": \"wonder\"\n      }\n    },\n    {\n      \"label\": {\n        \"text\": \"what you're\"\n      }\n    },\n    {\n      \"label\": {\n        \"text\": \"doing\"\n      }\n    }\n  ],\n  \"onTap\": {\n    \"data\": {\n      \"route\": \"/lovers/gy\"\n    },\n    \"namespace\": \"GENERAL\",\n    \"session\": {\n      \"id\": \"3GaskEig7epzIFTXYfG2Zw==\"\n    },\n    \"type\": \"PUSH_ROUTE\"\n  }\n}\n```\n\n\n## Concepts\n- Actions\n- Components\n- Layouts\n- Screens\n\n\n## Examples\n\n**code**\n[remote-ui-core usage example](../example)\n\n\n\n## dependency\n- mustache\n- url-pattern\n","readmeFilename":"README.md"}