{"_id":"@diddledan/proportional-height-box","_rev":"5-552f541a853d9d27b359c0a8b45131d2","name":"@diddledan/proportional-height-box","dist-tags":{"latest":"3.1.0"},"versions":{"3.0.0":{"description":"Web component to resize child element to proportional height based on the width similar to fitvids","keywords":["web-component","proportional","fitvids","ratio","aspect","aspect ratio"],"homepage":"https://github.com/diddledan/proportional-height-box","repository":{"type":"git","url":"git+https://github.com/diddledan/proportional-height-box.git"},"name":"@diddledan/proportional-height-box","version":"3.0.0","resolutions":{"inherits":"2.0.3","samsam":"1.1.3","supports-color":"3.1.2","type-detect":"1.0.0"},"main":"proportional-height-box.js","author":{"name":"Daniel Llewellyn","email":"daniel@bowlhat.net"},"license":"MIT","dependencies":{"@polymer/polymer":"^3.0.0"},"devDependencies":{"@polymer/iron-component-page":"^3.0.0-pre.18","@polymer/iron-demo-helpers":"^3.0.0-pre.18","wct-browser-legacy":"^1.0.1","@webcomponents/webcomponentsjs":"^2.0.0"},"gitHead":"f928b00d96892162b23ef092c6c4b4198a124f8c","bugs":{"url":"https://github.com/diddledan/proportional-height-box/issues"},"_id":"@diddledan/proportional-height-box@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"diddledan","email":"daniel@bowlhat.net"},"dist":{"integrity":"sha512-WyqgPlGu1TJd6PNMjz1pqNz02CVvvFHfE5m0g/HYdA+4p7tXRGbV0jMemhuKTJTWdMhsZBxmJyz6JrJG0LKbWA==","shasum":"c9759d18b8d74ab60d74bb27c63c989dc305ac33","tarball":"https://registry.npmjs.org/@diddledan/proportional-height-box/-/proportional-height-box-3.0.0.tgz","fileCount":11,"unpackedSize":119100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhc9zCRA9TVsSAnZWagAAIHEP/1XVQ4Ts1JmaQBk5xjKW\nX11btealGlyGUa0+Qw1/DhfmLVfFsLHV9+74dH1JDru99roIoRIYtJoZdmKu\n7cBJlB25Gg/cR/9Vdl8G0GzPIlQ08GSWjUaH+Uho8lVdlZgp8qwVgf5IXwkn\nkaf2ZqZ6mMa0u81pAg6x4xEMHK6flCdAzrkteeuB5BnxKvBJv8lBvQI/fcqy\nUlnbfXmZlo9E71EcSsgbMOWIL7OlaqdAPYmsOTkWcvVFKxw+GMBeahFMB1mD\nI+Cco8nl15SgLMzedKD0P/fHBUcpBbwN8v5UbEH78ogiRV0jPNegdePXeBmP\npAHYuivvfDIMg64c7Mp3K9+1EL6lZnpxi5ZTg/dUc8D6071KJbcpXMWpD/lb\nTTGhSdTty2sfPKevZjlDBw+QI9DqIjHM92nBQgqY/q9AsDqFMovnTIukN0Bt\nWaMbaUowFcCYjaxXU8ugmkeZp7GYvW63f37Z+QyqfxmuiW7sDqMd7c2IMWR3\nJD8QgXRQ8W7hnrpOUKmEO8o34M0qVprHxcCg42P0V8PmVSNDA1N1okN8L39I\nUPzpX20PaoZbdnAoSyL/xIA5TZ8TXB66V0W3OF5bcaSRyeOaRzh/fcOqRYNw\nyYYW8rOjhZ3zX16ZdET5IdUPedpf67TVQZqK8ot/sTeZTXV1jEH0Ki5SA4Ez\nLRsW\r\n=Ma5B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgLzlV79LFiLOcRfu+gV0DGzScE0Tn8JGuPhu4h7bXBAIhALAENBuz3tvPx1kOgPu1lqTlIk7CU9ezs5scLo0b7TAI"}]},"maintainers":[{"name":"diddledan","email":"daniel@bowlhat.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/proportional-height-box_3.0.0_1535496051110_0.6880154198167172"},"_hasShrinkwrap":false},"3.0.1":{"description":"Web component to resize child element to proportional height based on the width similar to fitvids","keywords":["web-component","proportional","fitvids","ratio","aspect","aspect ratio"],"homepage":"https://github.com/diddledan/proportional-height-box","repository":{"type":"git","url":"git+https://github.com/diddledan/proportional-height-box.git"},"name":"@diddledan/proportional-height-box","version":"3.0.1","resolutions":{"inherits":"2.0.3","samsam":"1.1.3","supports-color":"3.1.2","type-detect":"1.0.0"},"main":"proportional-height-box.js","author":{"name":"Daniel Llewellyn","email":"daniel@bowlhat.net"},"license":"MIT","dependencies":{"@polymer/polymer":"^3.0.0"},"devDependencies":{"@polymer/iron-component-page":"^3.0.0-pre.18","@polymer/iron-demo-helpers":"^3.0.0-pre.18","wct-browser-legacy":"^1.0.1","@webcomponents/webcomponentsjs":"^2.0.0"},"gitHead":"240bcd50914b4d97cd1596c5b6f9713fb97f34ae","bugs":{"url":"https://github.com/diddledan/proportional-height-box/issues"},"_id":"@diddledan/proportional-height-box@3.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"diddledan","email":"daniel@bowlhat.net"},"dist":{"integrity":"sha512-RoaCAXJIinS+4DsOaOjfmprlK2rL9Hx97k3rCbxqQU3LFCtxCAey48IcpbU5C3V3hUmdL2gR3w7mJgSle/yUjQ==","shasum":"be20a7adcc6392d96d160bc4041df8579dcacfd5","tarball":"https://registry.npmjs.org/@diddledan/proportional-height-box/-/proportional-height-box-3.0.1.tgz","fileCount":11,"unpackedSize":119158,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqqMkCRA9TVsSAnZWagAAeLsP/0kqnK6XuuujAOmI70F/\nqKTF9jcotz9q7q9ALjw1l0ehRSwWkMBjZOCDPWu/ycIadXfNC/bmTQ0azLtq\nLJv9XL5foOj/32wrwTmEDfLCft1+CtoUhKyi4ReaU2YybFE/ppE3lS3nYrvH\nHOIi0RNFXkSfEt2TEcPm3zwhYjkoBWER+E/nswoMQRK+cfWXfWggljt2x1i7\nuhzHTxXntrpugGyGVjGefFSUwfKfHDx5u+jB4MDodtxUH6wPiYsN6yx+2IYV\nqHBinYRtGuSCa3CKaAbedTDNxeB8zQ+BNwc3PzZYY7smx6yky06aNo++uxE1\nFl2nlcAvSn4U5x1oD8t+RBRMmu37GGqO3VmHsQ5ix789N7EHKRfSH/E1g22z\nWfPsk7opmvoH8lwGn+ffZDq3mmTu+qbkU51483SK+okQ9bZlOnBKYkTspv56\nch6YadgfsdoHn4ig3FMNmGzJQUIFLP3xzofwXKkDIgFqv3SGrWbVGhORWiMY\n8+kRF204HddPkar+g4FsB7Fdf/8mpz+zcAzfms/21ockem0xiD0+XcwFqePE\ndo6uOKt+BdQNq/xwbDtdEzQccu6iYs8p+cZHvYrRi5k/Hu80HaMsRgNKPk+A\n9MEShVcs/waKJEkdsA53eFs922fLfG9OQez6TPb9ldI1tMs7D6j1WX7o6zeO\n5lh6\r\n=xbjJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC695iLewfCxZQv1UmRWabAVfefGMF640Lyb9j5BFXY8wIgKaCf08ECPQfhELEWMnqYF00L2CyjncesNdtUzec7Gt8="}]},"maintainers":[{"name":"diddledan","email":"daniel@bowlhat.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/proportional-height-box_3.0.1_1537909539773_0.12489454191107541"},"_hasShrinkwrap":false},"3.1.0":{"description":"Web component to resize child element to proportional height based on the width similar to fitvids","keywords":["web-component","proportional","fitvids","ratio","aspect","aspect ratio"],"homepage":"https://github.com/diddledan/proportional-height-box","repository":{"type":"git","url":"git+https://github.com/diddledan/proportional-height-box.git"},"name":"@diddledan/proportional-height-box","version":"3.1.0","resolutions":{"inherits":"2.0.3","samsam":"1.1.3","supports-color":"3.1.2","type-detect":"1.0.0"},"main":"proportional-height-box.js","author":{"name":"Daniel Llewellyn","email":"daniel@bowlhat.net"},"license":"MIT","dependencies":{"@polymer/polymer":"^3.2.0","@webcomponents/webcomponentsjs":"^2.0.0","lit-element":"^2.1.0"},"devDependencies":{"@polymer/iron-component-page":"^4.0.1","@polymer/iron-demo-helpers":"^3.1.0","@polymer/paper-checkbox":"^3.1.0","chai":"^4.0.0","sinon":"^4.0.0","web-component-tester":"^6.9.2"},"gitHead":"1583a8f8a18ed21429d17313c0c5242a4846fd3d","bugs":{"url":"https://github.com/diddledan/proportional-height-box/issues"},"_id":"@diddledan/proportional-height-box@3.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-K1C9v7ZV0jLCn0pEUdHZWZ/BpTyvY+yw8DQepxyzeUh2a2KlO+3OznQ7ciT+O/vNmGwABSeYHe9x07JACFjWDw==","shasum":"018802a52a95b22497870ed504a4c917adc0583c","tarball":"https://registry.npmjs.org/@diddledan/proportional-height-box/-/proportional-height-box-3.1.0.tgz","fileCount":13,"unpackedSize":46630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9txQCRA9TVsSAnZWagAAoPIP/2sq1RlRwvftm3WrQaQV\nU/x3f6hl7Hf6et2YJWlcctQDbaWIftzuMak5Vtw1CnrHBF73MgnsEM8pDZ63\nC0d/aeO24aWOxvjWS7/sLSts6TB53DbvN4gIq2pekF7DFgGgKxrwubmZL0Tp\n2twVfj9dvOWhEobkiLxLViqIUEhMDlgPMoC5KLvaKV/Y+gLgLeSMoRui7oMH\nnXHETFT54MlfydWhLqJi0Q7Th4aEqpNM1zHpWxit8ExekNiVH582d0Opj3l8\nNUHk1R5QOWXhBW5CbdKGZ7g+hZUdKtFr+qSgPRV06SmG7uJLH4bMHw+b5abG\nNgMkHUqDziWvBtOuoZWC07B1DdCQyTti0+SHjldMdJgHoRTRMjI3RLfvTTL2\nyQH4jZQLBlIXEEm0BQMUsz5XVrMBo7ofHIyYI7GFRMB0TDwVVl0H5hNOyL+A\n9ysKqXfOK+G1mMY/LsXE9ce/8gr+ur0iXbO6ZeqjNrLJZiroC5bgCyTKTlSu\nfiFEA4oBra/6tpwvdgxOe1SjBw7lUtBDMKCsKBfel9cbNuIMjzdWTzLvA+Jy\nLmQcFdv1QA2YDyM4IPwsDIjnRJtZW/84KWQ7AGZf4np5PUHDzVPd1G5/RZXq\n1bwKoPZ+w8L2xx0Gz2f3KH15off1NljvfWCFetWNJTaewF1gaSfD9O+pME4f\naCNA\r\n=Rdpg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDejhTfXH261aBMQv0W1d2RtMfKzuLrkRw6zVYkEMxfCQIgGYOX38D6r8f020AvRaObey5fN3P37gLHb3Qrsr8R1Lw="}]},"maintainers":[{"name":"diddledan","email":"daniel@bowlhat.net"}],"_npmUser":{"name":"diddledan","email":"daniel@bowlhat.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/proportional-height-box_3.1.0_1559682127457_0.46647776148348563"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-28T22:40:50.954Z","3.0.0":"2018-08-28T22:40:51.258Z","modified":"2022-08-01T17:48:42.938Z","3.0.1":"2018-09-25T21:05:39.955Z","3.1.0":"2019-06-04T21:02:07.567Z"},"maintainers":[{"email":"diddledanillew@gmail.com","name":"diddledani"}],"description":"Web component to resize child element to proportional height based on the width similar to fitvids","homepage":"https://github.com/diddledan/proportional-height-box","keywords":["web-component","proportional","fitvids","ratio","aspect","aspect ratio"],"repository":{"type":"git","url":"git+https://github.com/diddledan/proportional-height-box.git"},"author":{"name":"Daniel Llewellyn","email":"daniel@bowlhat.net"},"bugs":{"url":"https://github.com/diddledan/proportional-height-box/issues"},"license":"MIT","readme":"# proportional-height-box\r\n\r\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg?style=flat-square)](https://beta.webcomponents.org/element/diddledan/proportional-height-box)\r\n![Vaadin Directory availability](https://img.shields.io/badge/Vaadin%20Directory-available-green.svg?style=flat-square&colorB=00b4f0&link=https://vaadin.com/directory)\r\n\r\nAn element to resize child element to proportional height based on the width similar to fitvids.\r\n\r\n## Installation\r\n\r\nInstall into your project with bower:\r\n\r\n`bower install --save proportional-height-box`\r\n\r\n## Usage\r\n\r\n<!--\r\n```\r\n<custom-element-demo>\r\n    <template>\r\n        <link rel=\"import\" href=\"proportional-height-box.html\">\r\n        <proportional-height-box width=\"300\" height=\"200\">\r\n            <img src=\"https://placekitten.com/300/200/\" />\r\n        </proportional-height-box>\r\n    </template>\r\n</custom-element-demo>\r\n```\r\n-->\r\n```\r\n<proportional-height-box width=\"300\" height=\"200\">\r\n    <img src=\"https://placekitten.com/300/200/\" />\r\n</proportional-height-box>\r\n```\r\n\r\nWidth and Height can be any arbitrary values which are used to\r\ncreate the aspect ratio calculation. You can, for example, use\r\nthe original dimensions of the image or video in pixels or the\r\naspect ratio values such as `16:9` where width is set to `16` and\r\nheight is set to `9`.\r\n\r\n## Contributing\r\n\r\n1. Fork it!\r\n2. Create your feature branch: `git checkout -b my-new-feature`\r\n3. Commit your changes: `git commit -am 'Add some feature'`\r\n4. Push to the branch: `git push origin my-new-feature`\r\n5. Submit a pull request :D\r\n\r\n## History\r\n\r\n### Today\r\n* not documented yet.\r\n\r\n## License\r\n\r\nThe MIT License (MIT)\r\n\r\nCopyright (c) 2016 Daniel Llewellyn\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy of\r\nthis software and associated documentation files (the \"Software\"), to deal in\r\nthe Software without restriction, including without limitation the rights to\r\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r\nthe Software, and to permit persons to whom the Software is furnished to do so,\r\nsubject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n","readmeFilename":"README.md"}