{"_id":"@aleesaan/ng-siema","_rev":"4-2ac75f95fbae043b0b618242b9c80939","name":"@aleesaan/ng-siema","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@aleesaan/ng-siema","version":"1.0.0","description":"A lightweight Angular library to detect the active section.","author":{"name":"aleesaan"},"repository":{"type":"git","url":"git+https://github.com/aleesaan/ng-scrollspy.git"},"bugs":{"url":"https://github.com/aleesaan/ng-scrollspy/issues"},"homepage":"https://github.com/aleesaan/ng-scrollspy","keywords":["angular","siema","carousel","touch"],"peerDependencies":{"@angular/core":"^7.2.0","siema":"^1.5.1"},"main":"bundles/aleesaan-ng-siema.umd.js","module":"fesm5/aleesaan-ng-siema.js","es2015":"fesm2015/aleesaan-ng-siema.js","esm5":"esm5/aleesaan-ng-siema.js","esm2015":"esm2015/aleesaan-ng-siema.js","fesm5":"fesm5/aleesaan-ng-siema.js","fesm2015":"fesm2015/aleesaan-ng-siema.js","typings":"aleesaan-ng-siema.d.ts","metadata":"aleesaan-ng-siema.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@aleesaan/ng-siema@1.0.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-agA+Gg1sdNK5B5O5907/3fi9IdD5yIeakDNhkzImbk0Mwr8lxIFfR9KPCbqpxEtxM70TSWKUd5V5VR9ZlTSKtQ==","shasum":"b039f1311fce4f718723a32163efd0b8b034aefe","tarball":"https://registry.npmjs.org/@aleesaan/ng-siema/-/ng-siema-1.0.0.tgz","fileCount":23,"unpackedSize":114576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6IE5CRA9TVsSAnZWagAAe+QP/0C7ul6DMKYSrsqoFNrt\n5ueIsQxbVTd9GE+4oC/p2trgeyBWebjhfd14CMgywYYfn/OFQNzDpfyjRABz\n2aP8La/b09iN82XQHeQ+UKkU93Gsh5giicJrwybgtDhdhAqT5ahyRqJlmjIk\nGVLiDV+6Fx0vVMco6B4/KOmTd0jRN6dg0nwAXOw7lbZBW37HgQ6SU7IjD0qj\n4lvMxantZgchwhgesCpJ0VcjxPAKoiXYLLZ7ArDtFIHEzIM5KqyABVW7VQq6\nql9y6e/OP0of7Okl4jhEK31lualnjxo1V9XqmgT5skptDxY5zV1RMs5+9oew\nJON482ADdNeKm9gnIm0PuL7z0LKqFj8fUWb15i1QLHupvs1S0RpynVXgKCnH\n4CgHlunnUUtB9Y4NT33iZtFGDtVzRYEpL1RMERox+Tz7uRTodRIVI8XdEmpw\ncAYjNBNFWPE7fHOI4UvPzrwWm8YvJyeycXwWL4TJ0zjnLKyjz4pSX73LTUfH\nuzEAcRodnYcrqB0SXAqyjiESl2iv+xzw76uf+iH8OiaQ4NwiK8XXAwro3P+h\nq5HhpzSeQeuSqBeeJbcbExSi0WxcXr3EZU8CeMsNizxHAeqwCBKQkSxB3J9P\nM7t7v9n0Azr4b4+d703R84Orz9692pm+QSMfsPZror6v7wuLHMAby2aWkbHc\ncehU\r\n=h1aT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4dQ3cZWPPPAmjfCbYH+EiPS4KVbYWzwCbUZePG+fPeAIgZFb1ooCcKyxfwLiWLcj/FCfO1mDCGiItCqF+jInMWeM="}]},"maintainers":[{"name":"aleesaan","email":"alesan.t90@gmail.com"}],"_npmUser":{"name":"aleesaan","email":"alesan.t90@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-siema_1.0.0_1558741304510_0.9715403224401173"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aleesaan/ng-siema","version":"1.0.1","description":"A lightweight Angular library to detect the active section.","author":{"name":"aleesaan"},"repository":{"type":"git","url":"git+https://github.com/aleesaan/ng-scrollspy.git"},"bugs":{"url":"https://github.com/aleesaan/ng-scrollspy/issues"},"homepage":"https://github.com/aleesaan/ng-scrollspy","keywords":["angular","siema","carousel","touch"],"peerDependencies":{"@angular/core":"^7.2.0","siema":"^1.5.1"},"main":"bundles/aleesaan-ng-siema.umd.js","module":"fesm5/aleesaan-ng-siema.js","es2015":"fesm2015/aleesaan-ng-siema.js","esm5":"esm5/aleesaan-ng-siema.js","esm2015":"esm2015/aleesaan-ng-siema.js","fesm5":"fesm5/aleesaan-ng-siema.js","fesm2015":"fesm2015/aleesaan-ng-siema.js","typings":"aleesaan-ng-siema.d.ts","metadata":"aleesaan-ng-siema.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@aleesaan/ng-siema@1.0.1","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Nve3CSmqp2454CxzSFDt7rHFXN1v6Zf2kgHDRhNisRVr8FkDO4Ou/vCoMhhpYUFT+wNVK+DxooRHeGAhHpeGXw==","shasum":"6881c8da09e3a02b56d408a22d5e6fd025e2f433","tarball":"https://registry.npmjs.org/@aleesaan/ng-siema/-/ng-siema-1.0.1.tgz","fileCount":23,"unpackedSize":114560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6ItXCRA9TVsSAnZWagAAhxEP+gNdbflE7cZ6GPwRA7gb\nIqXI+SHMuH9pYOsGnMn/YzfG4zECt2CY+IbXhuf7L53LIV8lTcSogWNfk+Fa\nxwSL4LqcYMXsd/dveKVWH+q0AxOO7M1OXuyT6k7Q8NAhSE+0nAEKAcQ/kaq7\njrKeVHWwwSma1cxtfwGvW37kkJRIPsx/pmfC9zBqASVvuu6UBhuh15zlknna\nmYkz1q/0St6h/Z970Hv9W6feu8SYp5sZW+1IajYAqghRyCgjuy51hBTCCU8n\n28RPhgngi1lCe0qxP4JU323OUjNBwDhO+Uvx0nS/OgqIeixyhjoD0BIYUenP\nMTlJz7BBR4SufkyPN/xg/ATmuRaMZKeq48jGWXIBXDiSDBByGwbgM1rwwBN4\nQOpy3umhEU6h/wrPql1rJV29C8jSCt6h3SB2GV2ZbI/hYU2wjhrdSwfNoNzr\nIP5MccMjGFpWglIdgMoDJx+QfKvNzlgFeOab1RJF3IHLpSbuHSVPXt/dtFSG\nMzPOxLW+TiKuAuKVj8xacRrf6EsY3P3ATLEi4ck6ZgrXYAQ79igltgaQohRy\nFZOTxPmU/OR9dmEGDSPOEZpX8GVKCfamJOHO/ShMYUzYH8inHvEPU89lL6ED\n5HEBdjSWmNWkHpSWaCzCdWoJeDk/nCmLcLAZ0yOnBgeR/0eswl+ToJ1HnZea\n2crC\r\n=b/UK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC4uVjtdGXUAQTripptSIcCizuBaW7ubwe8UVNPlCCamAiB1JQG3OBHMv3NwIXEMrEKaxDf6OBYe3xS74gPfHNS93w=="}]},"maintainers":[{"name":"aleesaan","email":"alesan.t90@gmail.com"}],"_npmUser":{"name":"aleesaan","email":"alesan.t90@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-siema_1.0.1_1558743895286_0.848625123742728"},"_hasShrinkwrap":false},"1.0.2":{"name":"@aleesaan/ng-siema","version":"1.0.2","description":"A lightweight Angular library to detect the active section.","author":{"name":"aleesaan"},"repository":{"type":"git","url":"git+https://github.com/aleesaan/ng-siema.git"},"bugs":{"url":"https://github.com/aleesaan/ng-siema/issues"},"homepage":"https://github.com/aleesaan/ng-siema","keywords":["angular","siema","carousel","touch"],"peerDependencies":{"@angular/core":"^7.2.0","siema":"^1.5.1"},"main":"bundles/aleesaan-ng-siema.umd.js","module":"fesm5/aleesaan-ng-siema.js","es2015":"fesm2015/aleesaan-ng-siema.js","esm5":"esm5/aleesaan-ng-siema.js","esm2015":"esm2015/aleesaan-ng-siema.js","fesm5":"fesm5/aleesaan-ng-siema.js","fesm2015":"fesm2015/aleesaan-ng-siema.js","typings":"aleesaan-ng-siema.d.ts","metadata":"aleesaan-ng-siema.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@aleesaan/ng-siema@1.0.2","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-fuXFqSj5tBqj4Mu4VmOBIY3qj7yxqzfAbNibCH2nMUYx3hrJeUiyXAcHDPvcDVrr8rEYCigCDBNCGmmwpF8ISQ==","shasum":"5aab887e2fce146c45006c67754874559c1343b3","tarball":"https://registry.npmjs.org/@aleesaan/ng-siema/-/ng-siema-1.0.2.tgz","fileCount":23,"unpackedSize":114548,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6IvyCRA9TVsSAnZWagAAxbAQAJk8V9xmtW9kyw9Y9rK1\nVIbEAbdCqs8Xmr2p4m03gBJpDBw3wKeSC0BUT4NMAa7XLgcM0JYSuPY6M1uM\nB1+s61Y+Kxiwm0F6hUttn3xc/QPlNpe/2xg5rWK84SmRgjmxgrirJ7Zo66Nt\n1n/WvEZO7q93YPi4KkgIYvbFG2yt2qSu2sM2amhTbQe2fwZd+3D2bNUe/d03\n/ynT7JvrrY5COnp5UwIf0jyB4KIg76Xgd+YNpwLjUOZf6XJu7a9IqcOvu60C\nsoQCblX9+1voKTNsi3raClYZWUo9E+5HXhXGS3wjRBDfGAJvp5uAiB9oFZQ/\nLn8EiB3KpjFNSz6N8JLtMZ7T5fIwUaNrjLb6M5ffr/llijfulHbjNlZysPwu\nA+sARnIdCVrLOcgfR6VRezYcsGmCDyq2OU+48IvzufJrZAwgbpySAETp6nXI\nEYIgFglN/NFglFCNP/rEUPxPzzziICzcrJJ14uUgcTA1yjV2gI+2hNWJAuiY\nO/dP4AhAg7dY0Ma4a25Y0nSmK2eZQoaEjbru/G20GpVbJbNInRtJ7NOdpkrx\nexrqRj4MIJGIaw4u4qO/Rxa5hzDxH0mLaZmgFfLH56Kc33cqA659GDkuPXmQ\nP/PzpBJRHOqoZO0JvSbELF01mtyskm1mqjUN4a1UwMCpzRaRXRtHdd74wZp7\nA+ry\r\n=Vkb+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEyQ8jeYCiR4ahbNv1LUbAWxJkDy3BozQgvUCy1iWb7jAiEAgfdJ+59Nn7ZcMpIoN5aiVq0A8dp1A7N+LymZBLBMK1g="}]},"maintainers":[{"name":"aleesaan","email":"alesan.t90@gmail.com"}],"_npmUser":{"name":"aleesaan","email":"alesan.t90@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-siema_1.0.2_1558744049708_0.27339945379194197"},"_hasShrinkwrap":false},"1.0.3":{"name":"@aleesaan/ng-siema","version":"1.0.3","description":"A lightweight Angular library to detect the active section.","author":{"name":"aleesaan"},"repository":{"type":"git","url":"git+https://github.com/aleesaan/ng-siema.git"},"bugs":{"url":"https://github.com/aleesaan/ng-siema/issues"},"homepage":"https://github.com/aleesaan/ng-siema","keywords":["angular","siema","carousel","touch"],"peerDependencies":{"@angular/core":"7.2.15","siema":"1.5.1"},"main":"bundles/aleesaan-ng-siema.umd.js","module":"fesm5/aleesaan-ng-siema.js","es2015":"fesm2015/aleesaan-ng-siema.js","esm5":"esm5/aleesaan-ng-siema.js","esm2015":"esm2015/aleesaan-ng-siema.js","fesm5":"fesm5/aleesaan-ng-siema.js","fesm2015":"fesm2015/aleesaan-ng-siema.js","typings":"aleesaan-ng-siema.d.ts","metadata":"aleesaan-ng-siema.metadata.json","sideEffects":false,"dependencies":{"tslib":"^1.9.0"},"_id":"@aleesaan/ng-siema@1.0.3","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-RINw85Vjv6LHm9lWj1FYM6sGZTPOIA5e5MoJ8eRwBt01lhO+sjZpCvmG+Nj5LznS9b9Sw09RVTa6tWfTpngGVg==","shasum":"2f4894c747a89503ea92cc82d602302243a47423","tarball":"https://registry.npmjs.org/@aleesaan/ng-siema/-/ng-siema-1.0.3.tgz","fileCount":23,"unpackedSize":114585,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc65GeCRA9TVsSAnZWagAAZGoQAKNRKiXA98BxQbGe7GLY\nn525LRy0HEEyXe361EoYWRHduBbboVGMm20pCUYGn62YnwrfgURPl0FdRfkI\nIbABvVXGzkisYtBILMkJO3g7rEWc/CG07EZexlS5u5RjM7CzHwwjfgI0zMv3\nUEmtdvX7nQpzqlDrfMKLnxrN1G9Hs3ubrNgaWA7mw5yyP8pbPUsWmt53cv+b\nFJX4F6VucWb+WnMsR9Td8R5FyIlIo5Ej5axEUtqr2GjfcUZEL8P8snfBEjMl\nYvtGf6Ex8lEykoL/vYRVP1hT1jLJTRn5nssvQwQ+ZNeVcFMPcpqhkTMpZHip\nMMC7h4trak3KyHa5rM/t2/Z6yS92+1KNdUHRMVZK0Nj/5iYaAS+flQ3LibXO\nKO/qaC3GqUpRYrbKM+H7rGJUrj6iNzYI97/tNXaPtAB4Lne7brTidaWdVNjw\nvdNHVatL30oMf2xmEw+Twek5JBvA1JuMKgovQd0N7I9kWOxfBiTvoALJSNbL\nZ7KvbGzNb7RaQwEt4cdQd/Sl3+d0WJEP5BsZk8saC8Wk85LXVnJQJD/+fLqS\n83jjyHl6OhGGNCvb3xcHBpBznzZ8V8PNno1xd5PjKQJyAKe6bBuxRheoX5nc\nBMZ9DOgS3Im3tMAAOv7V+MPq1G+jFVi1aki6TRj9xt6geQtdUsRpccFeHb1D\ngJzE\r\n=JYPs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9sWaDCqIgLVmsuFS16U5membNjO2Pxs4sP+5QpxmRlwIgOdbt10tFiq8kKtNqrdgu2W18LPUJZHhG25JnLVk1ohE="}]},"maintainers":[{"name":"aleesaan","email":"alesan.t90@gmail.com"}],"_npmUser":{"name":"aleesaan","email":"alesan.t90@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-siema_1.0.3_1558942109638_0.5958019067702687"},"_hasShrinkwrap":false}},"time":{"created":"2019-05-24T23:41:44.470Z","1.0.0":"2019-05-24T23:41:44.700Z","modified":"2022-04-04T12:37:01.577Z","1.0.1":"2019-05-25T00:24:55.485Z","1.0.2":"2019-05-25T00:27:29.878Z","1.0.3":"2019-05-27T07:28:29.852Z"},"maintainers":[{"name":"aleesaan","email":"alesan.t90@gmail.com"}],"description":"A lightweight Angular library to detect the active section.","homepage":"https://github.com/aleesaan/ng-siema","keywords":["angular","siema","carousel","touch"],"repository":{"type":"git","url":"git+https://github.com/aleesaan/ng-siema.git"},"author":{"name":"aleesaan"},"bugs":{"url":"https://github.com/aleesaan/ng-siema/issues"},"readme":"# Angular carousel\nA super lightweight carousel component that acts as a wrapper for [Siema](https://pawelgrzybek.github.io/siema/). I created it for personal use but thought to share it.\n\n[See the demo here](https://aleesaan.github.io/ng-siema/).\n\n### Installation\n\nFirst install the library.\n```\nnpm install @aleesaan/ng-siema\n```\nThen import the **NgSiemaModule** in your module.\n```ts\nimport { NgSiemaModule } from  'ng-siema';\n\n@NgModule({\n  ...\n  imports: [\n    NgSiemaModule,\n  ],\n  ...\n})\nexport class AppModule {}\n```  \n\n### Usage:\n\nThe **NgSiemaModule** comes just with a `siema` component. Inside, put the images you want as slides.\n```html\n<siema>\n  <img  src=\"assets/siema-pink.svg\">\n  <img  src=\"assets/siema-yellow.svg\">\n  ...\n</siema>\n```\n\n#### Inputs:\n\n- [`options`](#Options);\n- `enableArrows` (default `false`): if `true` the arrow keys can be used to change slides;\n- `enableClickOutside` (default `false`): if `true`, the component will emit a `close()` event when clicking outside the carousel;\n- `enableEscape` (default `false`): if `true`, the component will emit a `close()` event when pressing escape.\n```html\n<siema\n  [enableArrows]=\"true\"\n  [enableEscape]=\"true\"\n  (close)=\"closeCarousel()\">\n  <img  src=\"assets/siema-pink.svg\">\n  <img  src=\"assets/siema-yellow.svg\">\n  ...\n</siema>\n```\n\n#### Options\n\n```ts\ninterface  NgSiemaOptions {\n  duration: number;\n  easing: string;\n  perPage: number;\n  startIndex: number;\n  draggable: boolean;\n  multipleDrag: boolean;\n  threshold: number;\n  loop: boolean;\n}\n```\n\n### Styling\n\nThe slides will be placed inside the following html structure, which you can use to style the carousel as you wish.\n```html\n<siema>\n  <div class=\"siema-container\">\n    <div class=\"siema\">\n      <img src=\"assets/siema-pink.svg\">\n      <img src=\"assets/siema-yellow.svg\">\n      ...\n    </div>\n  </div>\n</siema>\n```\n","readmeFilename":"README.md"}